CN113869822A - Task scheduling method of trailer-mounted multi-AGV system based on multi-layer one-way graph - Google Patents
Task scheduling method of trailer-mounted multi-AGV system based on multi-layer one-way graph Download PDFInfo
- Publication number
- CN113869822A CN113869822A CN202111121394.2A CN202111121394A CN113869822A CN 113869822 A CN113869822 A CN 113869822A CN 202111121394 A CN202111121394 A CN 202111121394A CN 113869822 A CN113869822 A CN 113869822A
- Authority
- CN
- China
- Prior art keywords
- trailer
- agv
- task
- node
- nodes
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 25
- 238000009826 distribution Methods 0.000 claims abstract description 60
- 239000000463 material Substances 0.000 claims abstract description 37
- 238000010586 diagram Methods 0.000 claims abstract description 6
- 238000005315 distribution function Methods 0.000 claims description 17
- 230000001186 cumulative effect Effects 0.000 claims description 15
- 239000011159 matrix material Substances 0.000 claims description 14
- 238000002922 simulated annealing Methods 0.000 claims description 7
- 238000005457 optimization Methods 0.000 claims description 6
- 238000013519 translation Methods 0.000 claims description 3
- 238000010276 construction Methods 0.000 claims description 2
- 238000004519 manufacturing process Methods 0.000 abstract description 18
- 230000008569 process Effects 0.000 abstract description 8
- 230000009466 transformation Effects 0.000 abstract description 5
- 238000012360 testing method Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 230000007613 environmental effect Effects 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000013178 mathematical model Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000000704 physical effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
- G06Q10/083—Shipping
- G06Q10/0835—Relationships between shipper or supplier and carriers
- G06Q10/08355—Routing methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
- G06F30/27—Design optimisation, verification or simulation using machine learning, e.g. artificial intelligence, neural networks, support vector machines [SVM] or training a model
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2111/00—Details relating to CAD techniques
- G06F2111/04—Constraint-based CAD
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2111/00—Details relating to CAD techniques
- G06F2111/06—Multi-objective optimisation, e.g. Pareto optimisation using simulated annealing [SA], ant colony algorithms or genetic algorithms [GA]
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Evolutionary Computation (AREA)
- Economics (AREA)
- General Engineering & Computer Science (AREA)
- Human Resources & Organizations (AREA)
- Artificial Intelligence (AREA)
- Computer Hardware Design (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Software Systems (AREA)
- Geometry (AREA)
- Medical Informatics (AREA)
- Entrepreneurship & Innovation (AREA)
- Development Economics (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本发明公开的一种基于多层单向图的拖挂式多AGV系统任务调度方法,属于生产调度技术领域。本发明结合物理空间的布局与几何约束,考虑拖挂式多AGV系统进行物料配送时的特点,构建多层单向图保证拖挂式多AGV系统的无冲突运行,通过平移伽马分布对配送时间的不确定性进行建模,建立任务调度模型,使拖挂式多AGV系统完成所有配送任务的提前滞后惩罚最小,进而得到分配给各拖挂式AGV的任务执行路线。本发明解决拖挂式多AGV系统任务调度决策问题,降低企业在智能化转型过程中的投入成本,保证拖挂式多AGV系统协同无冲突运行,保证物料配送的稳定性与时效性,能够有效地降低生产成本,提高物流效率与生产效率。
The invention discloses a task scheduling method for a trailer-mounted multi-AGV system based on a multi-layer one-way graph, and belongs to the technical field of production scheduling. The invention combines the layout and geometric constraints of the physical space, considers the characteristics of the trailer-mounted multi-AGV system for material distribution, and constructs a multi-layer one-way diagram to ensure the conflict-free operation of the trailer-mounted multi-AGV system. The uncertainty of time is modeled, and a task scheduling model is established to minimize the advance lag penalty for the trailer-mounted multi-AGV system to complete all distribution tasks, and then obtain the task execution route assigned to each trailer-mounted AGV. The invention solves the task scheduling and decision-making problem of the trailer-mounted multi-AGV system, reduces the investment cost of enterprises in the process of intelligent transformation, ensures the coordinated and conflict-free operation of the trailer-mounted multi-AGV system, ensures the stability and timeliness of material distribution, and can effectively To reduce production costs, improve logistics efficiency and production efficiency.
Description
技术领域technical field
本发明涉及一种基于多层单向图的拖挂式多AGV系统任务调度方法,属于生产调度技术领域。The invention relates to a task scheduling method for a trailer-mounted multi-AGV system based on a multi-layer one-way graph, and belongs to the technical field of production scheduling.
背景技术Background technique
随着市场竞争日趋激烈、客户个性化需求日益增加,越来越多的制造企业逐步采用个性化定制的生产模式。为提高系统柔性程度,适应个性化定制生产需要,企业物料配送系统逐渐采用多AGV(Automated Guided Vehicle)系统方案。以高度智能和灵活的AGV作为运输设备,结合相应的智能调度模型与优化算法,搭建的多AGV物料配送系统具备自动行驶、主动避障、及时准确配送物料的能力,能够实现物料配送全过程的高度自动化与智能化。With the increasingly fierce market competition and the increasing personalized needs of customers, more and more manufacturing enterprises are gradually adopting the customized production mode. In order to improve the flexibility of the system and meet the needs of personalized customized production, the material distribution system of the enterprise gradually adopts the multi-AGV (Automated Guided Vehicle) system scheme. Using highly intelligent and flexible AGVs as transportation equipment, combined with corresponding intelligent scheduling models and optimization algorithms, the multi-AGV material distribution system built has the ability to automatically travel, actively avoid obstacles, and timely and accurately distribute materials, and can realize the entire process of material distribution. Highly automated and intelligent.
虽然多AGV系统发展迅速,在技术层面足以支持制造业物料配送系统的智能化升级改造,但传统企业在考虑到购置多台工业AGV的高投入成本后,仍采用传统的人工运输方式,依靠传统的拖挂式车辆进行物料运输。为促进制造企业的升级转型,企业将智能化AGV与传统拖挂式车辆相结合,以激光导航AGV为车头,牵引一定数量的拖车,构成多承载的拖挂式AGV。Although the multi-AGV system has developed rapidly and is technically sufficient to support the intelligent upgrading and transformation of the manufacturing material distribution system, traditional enterprises still use traditional manual transportation methods after considering the high input cost of purchasing multiple industrial AGVs, relying on traditional trailer-mounted vehicles for material transportation. In order to promote the upgrading and transformation of manufacturing enterprises, the enterprise combines intelligent AGVs with traditional trailer-mounted vehicles, and uses laser navigation AGVs as the head to tow a certain number of trailers to form multi-load trailer-mounted AGVs.
在拖挂式多AGV系统中,需要重视车间环境对拖挂式AGV物理属性的约束,拖挂式AGV的长度越长,所需的转弯半径越大,受限于生产车间的通道宽度,不同转弯口所允许通过的拖挂式AGV最大长度也不同,并且拖挂式AGV在物料配送过程中通过连接或卸下末端拖车实现上下料,其长度不断变化。因此,长度动态变化的拖挂式AGV,结合环境约束,进行无冲突路径规划,成为拖挂式多AGV系统需要解决的问题之一。In the trailer-mounted multi-AGV system, it is necessary to pay attention to the constraints of the workshop environment on the physical properties of the trailer-mounted AGV. The longer the length of the trailer-mounted AGV, the larger the required turning radius, which is limited by the channel width of the production workshop. The maximum length of the trailer-mounted AGV allowed to pass through the turning port is also different, and the trailer-mounted AGV realizes loading and unloading by connecting or unloading the end trailer during the material distribution process, and its length is constantly changing. Therefore, a trailer-mounted AGV with a dynamically changing length, combined with environmental constraints, performs conflict-free path planning, which has become one of the problems that the trailer-mounted multi-AGV system needs to solve.
另一方面,考虑到多AGV彼此协同、避免冲突过程中存在的等待或滞后时间,导致其在两任务点之间的配送时间具有不确定性,从而影响任务调度结果。多AGV协同无冲突条件下,考虑时间不确定性,将各已知任务在非严格约束的时间窗内配送至对应需求点,也成为拖挂式多AGV系统的任务调度亟需解决的问题。On the other hand, considering the waiting or lag time in the process of cooperating with each other and avoiding conflicts, the delivery time between two task points is uncertain, which affects the task scheduling results. Under the condition of multi-AGV collaboration and no conflict, considering the time uncertainty, delivering each known task to the corresponding demand point within a non-strictly constrained time window has also become an urgent problem to be solved in the task scheduling of the trailer-mounted multi-AGV system.
发明内容SUMMARY OF THE INVENTION
本发明的目的是提供一种基于多层单向图的拖挂式多AGV系统任务调度方法。本发明结合物理空间的布局与几何约束,考虑拖挂式多AGV系统进行物料配送时的特点,构建多层单向图保证拖挂式多AGV系统的无冲突运行,通过平移伽马分布对配送时间的不确定性进行建模,建立任务调度模型,使拖挂式多AGV系统完成所有配送任务的提前滞后惩罚最小,进而得到分配给各拖挂式AGV的任务执行路线。本发明解决拖挂式多AGV系统任务调度决策问题,降低企业在智能化转型过程中的投入成本,保证拖挂式多AGV系统协同无冲突运行,保证物料配送的稳定性与时效性,能够有效地降低生产成本,提高物流效率与生产效率。The purpose of the present invention is to provide a task scheduling method for a trailer-mounted multi-AGV system based on a multi-layer one-way graph. The invention combines the layout and geometric constraints of the physical space, considers the characteristics of the trailer-mounted multi-AGV system for material distribution, and constructs a multi-layer one-way diagram to ensure the conflict-free operation of the trailer-mounted multi-AGV system. The uncertainty of time is modeled, and a task scheduling model is established to minimize the advance lag penalty for the trailer-mounted multi-AGV system to complete all distribution tasks, and then obtain the task execution route assigned to each trailer-mounted AGV. The invention solves the task scheduling and decision-making problem of the trailer-mounted multi-AGV system, reduces the investment cost of enterprises in the process of intelligent transformation, ensures the coordinated and conflict-free operation of the trailer-mounted multi-AGV system, ensures the stability and timeliness of material distribution, and can effectively To reduce production costs, improve logistics efficiency and production efficiency.
本发明是通过下述具体技术方案实现的:The present invention is achieved through the following specific technical solutions:
基于多层单向图的拖挂式多AGV系统任务调度方法:首先,根据物理空间的实际布局,构建拓扑单向地图,确定各个节点允许转弯通过的拖挂式AGV最大长度表,在此基础上构建多层单向图,保证长度可变的拖挂式AGV能正常运行,并通过等待策略解决拖挂式AGV的冲突与死锁,构建节点之间的距离矩阵;之后,在多层单向图以及节点间距离矩阵的基础上,通过平移伽马分布对配送时间的不确定性进行建模,解决等待策略等因素造成的不确定性影响,得到对拖挂式AGV配送时间的合理估计,确定物料配送的提前滞后惩罚值;最后,建立任务调度模型,使拖挂式多AGV系统完成所有配送任务的提前滞后惩罚最小,得到分配给各拖挂式AGV的任务执行路线。Task scheduling method of trailer-mounted multi-AGV system based on multi-layer one-way map: First, according to the actual layout of the physical space, construct a topology one-way map, and determine the maximum length table of trailer-mounted AGVs that are allowed to turn through each node. Build a multi-layer one-way graph on the top to ensure the normal operation of the trailer-mounted AGV with variable length, and solve the conflict and deadlock of the trailer-mounted AGV through the waiting strategy, and build the distance matrix between nodes; On the basis of the direction graph and the distance matrix between nodes, the uncertainty of the delivery time is modeled by shifting the gamma distribution, and the uncertainty caused by the waiting strategy and other factors is solved, and a reasonable estimate of the delivery time of the trailer-mounted AGV is obtained. , determine the early lag penalty value of material distribution; finally, establish a task scheduling model to minimize the early lag penalty for the trailer-mounted multi-AGV system to complete all distribution tasks, and obtain the task execution route assigned to each trailer-mounted AGV.
本发明的一种基于多层单向图的拖挂式多AGV系统任务调度方法,包括如下步骤:A task scheduling method for a trailer-mounted multi-AGV system based on a multi-layer one-way graph of the present invention includes the following steps:
步骤一、根据物理空间的实际布局,构建拓扑单向地图,确定各个节点允许转弯通过的拖挂式AGV最大长度表,在此基础上构建多层单向图,保证长度可变的拖挂式AGV能在系统中正常运行,并通过等待策略解决拖挂式AGV的冲突与死锁,构建节点之间的距离矩阵;Step 1. According to the actual layout of the physical space, build a topological one-way map, determine the maximum length table of the trailer-mounted AGV that each node is allowed to turn through, and build a multi-layer one-way map on this basis to ensure variable-length trailer-mounted AGVs. The AGV can run normally in the system, and solve the conflict and deadlock of the trailer-mounted AGV through the waiting strategy, and build the distance matrix between the nodes;
步骤1.1:针对物理空间的布局,将重要位置点抽象成节点,以v表示,其中所有通道交叉口节点的集合为Vc,所有任务需求节点的集合为Vk,仓库出入口所在节点的集合为Vp,所有节点集合V=Vp∪Vk∪Vc,将道路抽象成边,以z表示,集合为Z,构建拓扑地图,保证任意两个道路节点之间都存在可达路径,每条边都能让车辆正常驶入与驶出;Step 1.1: For the layout of the physical space, the important location points are abstracted into nodes, represented by v, where the set of all channel intersection nodes is V c , the set of all task demand nodes is V k , and the set of nodes where warehouse entrances and exits are located is V p , the set of all nodes V=V p ∪V k ∪V c , abstract the road into an edge, represented by z, the set is Z, build a topological map, and ensure that there is an accessible path between any two road nodes, each The edges can allow vehicles to enter and exit normally;
步骤1.2:根据步骤1.1构建的拓扑地图,指定每条边的方向均为单向,即任意节点vi与相邻节点vj之间的边zi,j为单向边,构建环境单向图G0;Step 1.2: According to the topology map constructed in Step 1.1, specify that the direction of each edge is one-way, that is, the edge zi , j between any node v i and the adjacent node v j is a one-way edge, and the construction environment is one-way. graph G 0 ;
其中,每条边允许多辆拖挂式AGV同时存在,但是每辆拖挂式AGV的间隔必须大于指定的安全行驶距离,在单向图中,通过等待策略解决所有拖挂式AGV的冲突问题;Among them, each side allows multiple trailer-mounted AGVs to exist at the same time, but the interval between each trailer-mounted AGV must be greater than the specified safe driving distance. In the one-way diagram, the conflict problem of all trailer-mounted AGVs is solved through the waiting strategy ;
步骤1.3:根据步骤1.1构建的拓扑地图,结合实际物理空间的几何约束,确定各个通道交叉口节点允许转弯通过的拖挂式AGV最大长度表;Step 1.3: According to the topology map constructed in step 1.1, combined with the geometric constraints of the actual physical space, determine the maximum length table of the trailer-mounted AGV that is allowed to turn and pass through each channel intersection node;
步骤1.4:根据步骤1.3创建的通道交叉口各个节点允许转弯通过的拖挂式AGV最大长度表,确定拖挂式AGV的最大长度为m,依次考虑长度为n(1≤n≤m)的拖挂式AGV,从通道交叉口节点集合Vc中筛选允许转弯通过的拖挂式AGV最大长度大于等于n的节点构成集合 Step 1.4: Determine the maximum length of the trailer AGV as m according to the maximum length table of the trailer-mounted AGV that each node of the channel intersection is allowed to turn through created in step 1.3, and consider the trailer of length n (1≤n≤m) in turn. For the hanging AGV, the nodes whose maximum length of the trailer-mounted AGV is greater than or equal to n are selected from the set of nodes at the passage intersection V c to form a set.
结合步骤1.2构建的初始单向图G0,删除G0中除集合中节点以外会使拖挂式AGV转弯的边,此时当且仅当集合中节点作为单向边起点时,允许拖挂式AGV进行转弯;Combined with the initial one-way graph G 0 constructed in step 1.2, delete the division set in G 0 The edges other than the middle node that will turn the trailer-mounted AGV, if and only if the set When the middle node is used as the starting point of the one-way edge, the trailer-mounted AGV is allowed to turn;
依次构建单向图Gn,保证长度为n的拖挂式AGV能在此单向图中正常运行;Construct the one-way graph G n in turn to ensure that the trailer-mounted AGV with length n can operate normally in this one-way graph;
步骤1.5:将步骤1.4中所得的m个单向图构建多层单向图G,G={G1,G2,…Gm};Step 1.5: Construct a multi-layer unidirectional graph G from the m unidirectional graphs obtained in step 1.4, G={G 1 , G 2 ,...G m };
为避免死锁以及环境对拖挂式AGV的路径约束,长度为n(1≤n≤m)的拖挂式AGV只允许在单向图Gn上运行;In order to avoid deadlock and the path constraints of the environment on the trailer-mounted AGV, the trailer-mounted AGV with a length of n (1≤n≤m) is only allowed to run on the one-way graph G n ;
步骤1.6:根据步骤1.5中的多层单向图,用dij n表示长度为n(1≤n≤m)的拖挂式AGV从任务节点i到任务节点j(i,j∈Vk)的最短距离,构建任务节点之间的距离矩阵Dn;Step 1.6: According to the multi-layer one-way graph in step 1.5, use d ij n to represent the length of n (1≤n≤m) trailer AGV from task node i to task node j (i, j∈V k ) The shortest distance of , constructs the distance matrix D n between task nodes;
步骤二:根据步骤一构建的多层单向图以及任务节点间距离矩阵,通过平移伽马分布对配送时间的不确定性进行建模,解决等待策略等因素造成的不确定性影响,得到对拖挂式AGV配送时间的合理估计,确定物料配送的提前滞后惩罚值,保证物料运输任务在需求点非严格约束时间窗内完成;Step 2: According to the multi-layer one-way graph constructed in step 1 and the distance matrix between task nodes, the uncertainty of the delivery time is modeled by shifting the gamma distribution, and the uncertainty caused by factors such as the waiting strategy is solved. Reasonable estimation of the delivery time of the trailer-mounted AGV, determine the early lag penalty value of material delivery, and ensure that the material transportation task is completed within the non-strictly constrained time window of the demand point;
步骤2.1:通过引入描述不确定配送时间的分布函数完成时间不确定性建模,设定拖挂式AGV配送单位距离的时间u满足u~gamma(α,β,δ)的平移伽马分布,其中α为形状参数,β为尺度参数,δ为平移量;Step 2.1: Complete the time uncertainty modeling by introducing a distribution function describing the uncertain delivery time, and set the time u of the trailer-mounted AGV delivery unit distance to satisfy the translational gamma distribution of u~gamma (α, β, δ), where α is the shape parameter, β is the scale parameter, and δ is the translation;
平移伽马分布u~gamma(α,β,δ)的概率密度函数如式(1)所示:The probability density function of the translational gamma distribution u~gamma(α,β,δ) is shown in formula (1):
平移伽马分布u~gamma(α,β,δ)的累积分布函数如式(2)所示:The cumulative distribution function of the translational gamma distribution u~gamma(α,β,δ) is shown in formula (2):
步骤2.2:根据步骤2.1构建的u的平移伽马分布,结合平移伽马分布的可加性,拖挂式AGV从任务节点i到任务节点j的随机配送时间Tij,满足Tij~gamma(dijα,β,dijδ);Step 2.2: According to the translational gamma distribution of u constructed in step 2.1, combined with the additivity of the translational gamma distribution, the random delivery time T ij of the trailer-mounted AGV from task node i to task node j satisfies T ij ~ gamma ( d ij α, β, d ij δ);
步骤2.3:根据步骤2.2构建的Tij的平移伽马分布,编号为a的拖挂式AGV从仓库出发到达某一任务节点k(k∈Vk)所需的时间τk(X)如式(3)所示:Step 2.3: According to the translational gamma distribution of T ij constructed in step 2.2, the time τ k (X) required for the trailer-mounted AGV numbered to start from the warehouse to a certain task node k (k∈V k ) is as follows (3) shows:
其中,Rka为编号为a的拖挂式AGV完成任务k之前经过的所有物料需求点集合,包含任务节点k和仓库;xija为决策变量,如果编号为a的拖挂式AGV配送完任务节点i的物料后,下个任务节点编号为j,则xija=1,否则xija=0;X为由所有决策变量xija构成的集合,表示拖挂式多AGV系统的任务调度方案,X={xija|i,j∈VP∪Vk,a∈A},A为拖挂式AGV的集合;Lija(X)为编号为a的拖挂式AGV从节点i配送到节点j时的车辆长度,与拖挂式多AGV系统的任务调度方案有关,Lija(X)如式(4)所示:Among them, R ka is the set of all material demand points that the trailer-mounted AGV numbered a has passed before completing task k, including task node k and warehouse; x ija is the decision variable, if the trailer-mounted AGV numbered a completes the task After the material of node i, the number of the next task node is j, then x ija = 1, otherwise x ija = 0; X is the set composed of all decision variables x ija , representing the task scheduling scheme of the trailer-mounted multi-AGV system, X={x ija |i,j∈V P ∪V k ,a∈A}, A is the set of trailer-mounted AGVs; Lija (X) is the trailer-mounted AGV numbered a delivered from node i to node The length of the vehicle at j is related to the task scheduling scheme of the trailer-mounted multi-AGV system. Lija (X) is shown in formula (4):
其中,|Rka|表示集合Rka中节点的数量;where |R ka | represents the number of nodes in the set R ka ;
将τk(X)转化为如式(5)所示形式:Transform τ k (X) into the form shown in formula (5):
其中,θk表示配送时间的不确定部分,满足θk~gamma(α',β);Among them, θ k represents the uncertain part of the delivery time, which satisfies θ k ~gamma(α',β);
其中, in,
步骤2.4:根据步骤2.3中得到的编号为a的拖挂式AGV从仓库出发到达需求点k所需的时间τk(X),结合其物料送达的时间窗需求[ek,lk],确定拖挂式AGV提前与滞后产生的惩罚值;Step 2.4: According to the time τ k (X) required for the trailer-mounted AGV number a obtained in step 2.3 to arrive at the demand point k from the warehouse, combined with the time window demand [e k ,l k ] for the delivery of its materials , to determine the penalty value generated by the advance and lag of the trailer-mounted AGV;
其中,ek表示时间窗的开始时间,lk表示时间窗的结束时间;Among them, ek represents the start time of the time window, and lk represents the end time of the time window;
作为优选,基于二次损失函数,确定拖挂式AGV提前与滞后产生的惩罚值,包括以下步骤:Preferably, based on the quadratic loss function, determining the penalty value generated by the advance and lag of the trailer-mounted AGV includes the following steps:
编号为a的拖挂式AGV承担物料运输任务k时,提前于时间窗将物理送达的惩罚Eka(X)如式(6)所示:When the trailer-mounted AGV numbered a undertakes the material transportation task k, the penalty E ka (X) for physical delivery in advance of the time window is shown in formula (6):
其中,表示配送时间不确定部分的下界,服从平移伽马分布,根据步骤2.1中公式(1)确定概率密度函数f,根据步骤2.1中公式(2)确定累积分布函数F;in, Represents the lower bound of the uncertain part of the delivery time, which obeys the translational gamma distribution, determines the probability density function f according to formula (1) in step 2.1, and determines the cumulative distribution function F according to formula (2) in step 2.1;
其中,θk服从平移伽马分布,根据步骤2.1中公式(1)确定概率密度函数f,根据步骤2.1中公式(2)确定累积分布函数F;Among them, θ k obeys the translational gamma distribution, the probability density function f is determined according to formula (1) in step 2.1, and the cumulative distribution function F is determined according to formula (2) in step 2.1;
其中,a0、a1、a2为二次损失函数的系数;Among them, a 0 , a 1 , and a 2 are the coefficients of the quadratic loss function;
类似地,滞后于时间窗将物理送达的惩罚Dka(X)如式(7)所示:Similarly, the penalty D ka (X) that will be physically delivered behind the time window is shown in Eq. (7):
其中,表示配送时间不确定部分的上界,服从平移伽马分布,根据步骤2.1中公式(1)确定概率密度函数f,根据步骤2.1中公式(2)确定累积分布函数F;in, Represents the upper bound of the uncertain part of the delivery time, which obeys the translational gamma distribution, determines the probability density function f according to formula (1) in step 2.1, and determines the cumulative distribution function F according to formula (2) in step 2.1;
其中,θk服从平移伽马分布,根据步骤2.1中公式(1)确定概率密度函数f,根据步骤2.1中公式(2)确定累积分布函数F;Among them, θ k obeys the translational gamma distribution, the probability density function f is determined according to formula (1) in step 2.1, and the cumulative distribution function F is determined according to formula (2) in step 2.1;
其中,a0、a1、a2为二次损失函数的系数;Among them, a 0 , a 1 , and a 2 are the coefficients of the quadratic loss function;
步骤三:根据步骤二得到的提前滞后惩罚值,建立任务调度模型使拖挂式多AGV系统完成所有配送任务的提前滞后惩罚最小,确定分配给各拖挂式AGV的任务执行路线;Step 3: According to the early lag penalty value obtained in step 2, establish a task scheduling model to minimize the early lag penalty for the trailer-mounted multi-AGV system to complete all distribution tasks, and determine the task execution route assigned to each trailer-mounted AGV;
步骤3.1:根据步骤1.4中得到的提前滞后惩罚Eka(X)、Dka(X),优化目标为拖挂式多AGV系统完成所有配送任务的提前滞后惩罚最小,约束条件为拖挂式AGV运输限制,建立任务调度模型如下:Step 3.1: According to the early lag penalties E ka (X) and D ka (X) obtained in step 1.4, the optimization objective is that the trailer-mounted multi-AGV system completes all distribution tasks with the smallest early-delay penalty, and the constraint condition is the trailer-mounted AGV Transport constraints, establish a task scheduling model as follows:
目标函数如式(8)所示:The objective function is shown in formula (8):
约束条件分别为式(9)至式(15)所示:The constraints are shown in equations (9) to (15) respectively:
xija∈{0,1},i∈Vp∪Vk,j∈Vp∪Vk,a∈A (15)x ija ∈{0,1},i∈V p ∪V k ,j∈V p ∪V k ,a∈A (15)
其中,Q表示拖挂式AGV能承载的最大任务数量,B表示任意满足的集合,|B|表示B中节点的数量;x0ka、xk0a由xija变化而来,为决策变量,如果编号为a的拖挂式AGV从仓库出发下一个任务节点编号为k,则x0ka=1,否则x0ka=0,如果x0ka编号为a的拖挂式AGV运送完任务节点k的运输任务后返回仓库,则xk0a=1,否则xk0a=0;Among them, Q represents the maximum number of tasks that the trailer AGV can carry, and B represents any satisfaction The set of , |B| represents the number of nodes in B; x 0ka , x k0a are changed from x ija and are decision variables. If the trailer AGV numbered a starts from the warehouse and the next task node number is k, then x 0ka =1, otherwise x 0ka =0, if x 0ka the trailer AGV with the number a of x 0ka returns to the warehouse after transporting the task of the task node k, then x k0a =1, otherwise x k0a =0;
步骤3.2:根据步骤3.1构建的任务调度模型,优选模拟退火算法,用以确定拖挂式多AGV系统的任务调度方案,即分配给各拖挂式AGV的任务执行路线。Step 3.2: According to the task scheduling model constructed in Step 3.1, a simulated annealing algorithm is preferred to determine the task scheduling scheme of the trailer-mounted multi-AGV system, that is, the task execution route assigned to each trailer-mounted AGV.
有益效果:Beneficial effects:
1、本发明公开的一种基于多层单向图的拖挂式多AGV系统任务调度方法,根据物理空间的实际布局构建多层单向图,将长度可变的拖挂式AGV应用到制造车间中,能够降低企业在智能化转型过程中的投入成本,并通过等待策略解决拖挂式AGV的冲突与死锁,保证系统协同无冲突运行;1. A task scheduling method for a trailer-mounted multi-AGV system based on a multi-layer one-way graph disclosed in the present invention constructs a multi-layer one-way graph according to the actual layout of the physical space, and applies the trailer-mounted AGV with variable length to manufacturing In the workshop, it can reduce the investment cost of the enterprise in the process of intelligent transformation, and solve the conflict and deadlock of the trailer-mounted AGV through the waiting strategy, so as to ensure the coordinated operation of the system without conflict;
2、本发明公开的一种基于多层单向图的拖挂式多AGV系统任务调度方法,通过平移伽马分布对配送时间的不确定性进行建模,能够有效解决等待策略等因素造成的不确定性影响,保证任务调度方法的健壮性;2. A task scheduling method for a trailer-mounted multi-AGV system based on a multi-layer one-way graph disclosed in the present invention models the uncertainty of the delivery time by shifting the gamma distribution, which can effectively solve the problems caused by factors such as waiting strategies. Uncertainty affects the robustness of task scheduling methods;
3、本发明公开的一种基于多层单向图的拖挂式多AGV系统任务调度方法,建立任务调度模型,使拖挂式多AGV系统完成所有配送任务的提前滞后惩罚最小,得到分配给各拖挂式AGV的任务执行路线,保证物料配送的稳定性与时效性。3. A task scheduling method for a trailer-mounted multi-AGV system based on a multi-layer one-way graph disclosed in the present invention establishes a task scheduling model, so that the trailer-mounted multi-AGV system completes all delivery tasks with the smallest early lag penalty and is allocated to the multi-AGV system. The task execution route of each trailer AGV ensures the stability and timeliness of material distribution.
附图说明Description of drawings
图1是本发明的一种基于多层单向图的拖挂式多AGV系统任务调度方法流程示意图;1 is a schematic flowchart of a task scheduling method for a trailer-mounted multi-AGV system based on a multi-layer one-way graph of the present invention;
图2是车间实际布局图;Figure 2 is the actual layout of the workshop;
图3是车间关键节点图;Figure 3 is the key node diagram of the workshop;
图4是车间单向图G1;Fig. 4 is a workshop one-way graph G 1 ;
图5是车间单向图G2;Fig. 5 is workshop one-way graph G 2 ;
图6是车间单向图G3;Fig. 6 is workshop one-way graph G 3 ;
图7是车间单向图G4;Fig. 7 is workshop one-way graph G 4 ;
图8是模拟退火算法流程图。Figure 8 is a flowchart of the simulated annealing algorithm.
具体实施方式Detailed ways
为了更好地说明本发明的目的和优点,下面结合附图和实例对发明内容做进一步说明。In order to better illustrate the purpose and advantages of the present invention, the content of the invention will be further described below with reference to the accompanying drawings and examples.
实施例1:Example 1:
如附图1所示,本发明的一种基于多层单向图的拖挂式多AGV系统任务调度方法主要流程为:首先,根据物理空间的实际布局,构建拓扑单向地图,确定各个节点允许转弯通过的拖挂式AGV最大长度表,在此基础上构建多层单向图,保证长度可变的拖挂式AGV能正常运行,并通过等待策略解决拖挂式AGV的冲突与死锁,构建节点之间的距离矩阵;之后,在多层单向图以及节点间距离矩阵的基础上,通过平移伽马分布对配送时间的不确定性进行建模,解决等待策略等因素造成的不确定性影响,得到对拖挂式AGV配送时间的合理估计,确定物料配送的提前滞后惩罚值;最后,建立任务调度模型,使拖挂式多AGV系统完成所有配送任务的提前滞后惩罚最小,得到分配给各拖挂式AGV的任务执行路线。As shown in FIG. 1 , the main process of a task scheduling method for a trailer-mounted multi-AGV system based on a multi-layer one-way map of the present invention is as follows: first, according to the actual layout of the physical space, a topology one-way map is constructed, and each node is determined. The maximum length table of the trailer-mounted AGV that allows turning through, and on this basis, a multi-layer one-way graph is constructed to ensure that the trailer-mounted AGV with variable length can operate normally, and the conflict and deadlock of the trailer-mounted AGV can be resolved through the waiting strategy. , to construct the distance matrix between nodes; then, on the basis of the multi-layer one-way graph and the distance matrix between nodes, the uncertainty of delivery time is modeled by shifting the gamma distribution to solve the inconsistency caused by factors such as waiting strategies. Deterministic impact, obtain a reasonable estimate of the delivery time of the trailer-mounted AGV, and determine the early-lag penalty value of material distribution; finally, establish a task scheduling model to minimize the early-lag penalty for the trailer-mounted multi-AGV system to complete all distribution tasks, and obtain The task execution route assigned to each trailer-mounted AGV.
本实施例为本发明应用于某农机制造企业装配车间的生产布局与物流需求。如附图2所示,该农机制造企业装配车间内,存在总装线和分装线,不同的部件在不同的装配工位进行装配,最终在总装线上进行总装,在产品的装配过程中,大量不同种类的物料需要运输至装配工位。This embodiment is the production layout and logistics requirements of the present invention applied to the assembly workshop of an agricultural machinery manufacturing enterprise. As shown in Figure 2, in the assembly workshop of this agricultural machinery manufacturing enterprise, there are general assembly lines and sub-assembly lines. Different components are assembled at different assembly stations, and finally the final assembly is carried out on the final assembly line. During the product assembly process, A large number of different kinds of materials need to be transported to the assembly station.
本发明应用于该农机制造企业装配车间的具体步骤如下:The concrete steps that the present invention is applied to the assembly workshop of the agricultural machinery manufacturing enterprise are as follows:
步骤一、根据装配车间的实际布局,构建拓扑单向地图,确定各个节点允许转弯通过的拖挂式AGV最大长度表,在此基础上构建多层单向图,保证长度可变的拖挂式AGV能在系统中正常运行,并通过等待策略解决拖挂式AGV的冲突与死锁,构建节点之间的距离矩阵;Step 1. According to the actual layout of the assembly workshop, build a topology one-way map, determine the maximum length table of the trailer-mounted AGV that each node is allowed to turn through, and build a multi-layer one-way map on this basis to ensure variable-length trailer-mounted AGVs. The AGV can run normally in the system, and solve the conflict and deadlock of the trailer-mounted AGV through the waiting strategy, and build the distance matrix between the nodes;
步骤1.1:针对装配车间的布局,如图3所示,将装配车间重要位置点抽象成节点,以v表示,其中所有通道交叉口节点的集合为Vc,所有任务需求节点的集合为Vk,仓库出入口所在节点的集合为Vp,所有节点集合V=Vp∪Vk∪Vc,将道路抽象成边,以z表示,集合为Z,构建拓扑地图:编号1至30的节点表示通道的交叉口节点,编号31至57表示该布局中的上下料点位置即任务需求节点,节点1与节点24分别对应物料仓库的进出口,生产系统的所有物料均从节点1进入装配车间,拖挂式AGV从节点24返回仓库,系统中存在上下料点与通道交叉口重合的情况,如节点21与节点49;Step 1.1: For the layout of the assembly workshop, as shown in Figure 3, the important location points of the assembly workshop are abstracted into nodes, represented by v, where the set of all channel intersection nodes is V c , and the set of all task demand nodes is V k , the set of nodes where the warehouse entrance and exit are located is V p , the set of all nodes is V = V p ∪ V k ∪ V c , the road is abstracted into an edge, represented by z, the set is Z, and a topological map is constructed: the nodes numbered 1 to 30 represent The intersection nodes of the channel, numbered 31 to 57 represent the positions of the loading and unloading points in the layout, that is, the task demand nodes. Node 1 and node 24 correspond to the import and export of the material warehouse respectively. All materials of the production system enter the assembly workshop from node 1. The trailer AGV returns to the warehouse from node 24, and there is a situation in the system that the loading and unloading points overlap with the channel intersection, such as node 21 and node 49;
步骤1.2:根据步骤1.1构建的拓扑地图,指定每条边的方向均为单向,构建环境单向图G0;Step 1.2: According to the topology map constructed in Step 1.1, specify that the direction of each edge is one-way, and construct an environment one-way graph G 0 ;
步骤1.3:根据步骤1.1构建的拓扑地图,结合装配车间的几何约束,确定各个通道交叉口节点允许转弯通过的拖挂式AGV最大长度表,如表1所示:Step 1.3: According to the topology map constructed in step 1.1, combined with the geometric constraints of the assembly workshop, determine the maximum length table of the trailer-mounted AGV that is allowed to turn and pass through each channel intersection node, as shown in Table 1:
表1各通道交叉口节点允许拖挂式AGV转弯通过的最大长度表Table 1 The maximum length of the trailing AGV allowed to turn and pass through the intersection nodes of each channel
步骤1.4:根据步骤1.3创建的各个通道交叉口节点允许转弯通过的拖挂式AGV最大长度表,确定拖挂式多AGV系统内拖挂式AGV的最大长度为4,依次考虑长度为n(1≤n≤4)的拖挂式AGV,从通道交叉口节点集合Vc中筛选允许转弯通过的拖挂式AGV最大长度大于等于n的节点构成集合Vn c;Step 1.4: According to the maximum length table of trailer-mounted AGVs that are allowed to turn through each channel intersection node created in step 1.3, determine the maximum length of trailer-mounted AGVs in the trailer-mounted multi-AGV system as 4, and consider the length as n(1 ≤n≤4) of the trailer-mounted AGV, select the nodes whose maximum length of the trailer-mounted AGV is greater than or equal to n , which is allowed to turn through, to form a set Vnc from the node set Vc of the passage intersection;
结合步骤1.2构建的初始单向图G0,删除G0中集合Vn c节点以外会使拖挂式AGV转弯的边,依次构建单向图G1、G2、G3、G4,各层单向图如附图4至附图7所示;Combined with the initial one-way graph G 0 constructed in step 1.2, delete the edges in G 0 other than the set V n c nodes that will turn the trailer-mounted AGV, and construct one-way graphs G 1 , G 2 , G 3 , G 4 in turn, each The layer one-way diagram is shown in accompanying drawings 4 to 7;
步骤1.5:将步骤1.4中所得的4个单向图构建多层单向图G,G={G1,G2,G3,G4},长度为n(1≤n≤4)的拖挂式AGV只允许在单向图Gn上运行;Step 1.5: Construct a multi-layer unidirectional graph G from the 4 unidirectional graphs obtained in step 1.4, G={G 1 , G 2 , G 3 , G 4 }, a drag of length n (1≤n≤4) The hanging AGV is only allowed to run on the one-way graph G n ;
步骤1.6:根据步骤1.5中的多层单向图,分别对长度为n(1≤n≤4)的拖挂式AGV,构建任务节点之间的距离矩阵Dn,任务节点之间的距离表如表2所示:Step 1.6: According to the multi-layer one-way graph in Step 1.5, build a distance matrix D n between task nodes and a distance table between task nodes for drag-mounted AGVs with a length of n (1≤n≤4). As shown in table 2:
表2任务节点之间的距离表Table 2 Distance table between task nodes
步骤二:根据步骤一构建的多层单向图以及任务节点间距离矩阵,通过平移伽马分布对配送时间的不确定性进行建模,解决等待策略等因素造成的不确定性影响,得到对拖挂式AGV配送时间的合理估计,确定物料配送的提前滞后惩罚值,保证物料运输任务在需求点非严格约束时间窗内完成;Step 2: According to the multi-layer one-way graph constructed in step 1 and the distance matrix between task nodes, the uncertainty of the delivery time is modeled by shifting the gamma distribution, and the uncertainty caused by factors such as the waiting strategy is solved. Reasonable estimation of the delivery time of the trailer-mounted AGV, determine the early lag penalty value of material delivery, and ensure that the material transportation task is completed within the non-strictly constrained time window of the demand point;
步骤2.1:设定拖挂式AGV配送单位距离的时间u满足u~gamma(α,β,δ)的平移伽马分布,对时间不确定性进行建模,经过参数选择与优化验证确定形状参数α取值1,尺度参数β取值0.25,平移量δ取值0.75;Step 2.1: Set the time u of the trailer-mounted AGV delivery unit distance to satisfy the translational gamma distribution of u~gamma (α, β, δ), model the time uncertainty, and determine the shape parameters through parameter selection and optimization verification The value of α is 1, the value of scale parameter β is 0.25, and the value of translation δ is 0.75;
平移伽马分布u~gamma(α,β,δ)的概率密度函数如式(1)所示:The probability density function of the translational gamma distribution u~gamma(α,β,δ) is shown in formula (1):
平移伽马分布u~gamma(α,β,δ)的累积分布函数如式(2)所示:The cumulative distribution function of the translational gamma distribution u~gamma(α,β,δ) is shown in formula (2):
根据式(1)、式(2)得出配送单位距离的时间u~gamma(1,0.25,0.75)的概率密度函数f(u)=16e3-4u,累积分布函数F(u)=1-e3-4u;According to formula (1) and formula (2), the probability density function f(u)=16e 3-4u of the time u~gamma(1,0.25,0.75) of the delivery unit distance is obtained, and the cumulative distribution function F(u)=1 -e 3-4u ;
步骤2.2:根据步骤2.1构建的u的平移伽马分布,结合平移伽马分布的可加性,拖挂式AGV从节点i到节点j的随机配送时间Tij,满足平移伽马分布Tij~gamma(dij,0.25,0.75dij);Step 2.2: According to the translational gamma distribution of u constructed in step 2.1, combined with the additivity of the translational gamma distribution, the random delivery time T ij of the trailer-mounted AGV from node i to node j satisfies the translational gamma distribution T ij ~ gamma(d ij ,0.25,0.75d ij );
步骤2.3:根据步骤2.2构建的Tij的平移伽马分布,得出编号为a的拖挂式AGV从仓库出发到达某一任务节点k(k∈Vk)所需的时间τk(X)如式(3)所示:Step 2.3: According to the translational gamma distribution of T ij constructed in step 2.2, the time τ k (X) required for the trailer-mounted AGV number a to arrive at a certain task node k (k∈V k ) from the warehouse is obtained As shown in formula (3):
其中,Rka为编号为a的拖挂式AGV完成任务k之前经过的所有物料需求点集合,包含任务节点k和仓库;xija为决策变量,如果编号为a的拖挂式AGV配送完任务节点i的物料后,下个任务节点编号为j,则xija=1,否则xija=0;X为由所有决策变量xija构成的集合,表示拖挂式多AGV系统的任务调度方案,X={xija|i,j∈VP∪Vk,a∈A},A为拖挂式AGV的集合;Lija(X)为编号为a的拖挂式AGV从节点i配送到节点j时的车辆长度,与拖挂式多AGV系统的任务调度方案有关,Lija(X)如式(4)所示:Among them, R ka is the set of all material demand points that the trailer-mounted AGV numbered a has passed before completing task k, including task node k and warehouse; x ija is the decision variable, if the trailer-mounted AGV numbered a completes the task After the material of node i, the number of the next task node is j, then x ija = 1, otherwise x ija = 0; X is the set composed of all decision variables x ija , representing the task scheduling scheme of the trailer-mounted multi-AGV system, X={x ija |i,j∈V P ∪V k ,a∈A}, A is the set of trailer-mounted AGVs; Lija (X) is the trailer-mounted AGV numbered a delivered from node i to node The length of the vehicle at j is related to the task scheduling scheme of the trailer-mounted multi-AGV system. Lija (X) is shown in formula (4):
其中,|Rka|表示集合Rka中节点的数量;where |R ka | represents the number of nodes in the set R ka ;
将τk(X)转化为如式(5)所示形式:Transform τ k (X) into the form shown in formula (5):
其中,θk表示配送时间的不确定部分,θk~gamma(α',β);Among them, θ k represents the uncertain part of the delivery time, θ k ~gamma(α',β);
其中, in,
步骤2.4:本实施例根据装配车间实际的物料运输需求,设置一组静态任务调度测试案例,该案例包括20个带有非严格约束时间窗要求的任务,具体任务节点与时间窗约束如表3所示,系统的初始时刻设置为0,系统内有7辆拖挂式AGV,每辆拖挂式AGV最大长度为4;Step 2.4: This embodiment sets up a set of static task scheduling test cases according to the actual material transportation requirements of the assembly workshop. This case includes 20 tasks with non-strictly constrained time window requirements. The specific task nodes and time window constraints are shown in Table 3 As shown, the initial time of the system is set to 0, there are 7 trailer-mounted AGVs in the system, and the maximum length of each trailer-mounted AGV is 4;
表3静态任务调度测试案例表Table 3 Static task scheduling test case table
根据步骤2.3中得到的编号为a的拖挂式AGV从仓库出发到达需求点k所需的时间τk(X),结合其物料送达的时间窗需求[ek,lk],作为优选,基于二次损失函数,确定拖挂式AGV提前与滞后产生的惩罚值;According to the time τ k (X) required for the trailer-mounted AGV number a obtained in step 2.3 to arrive at the demand point k from the warehouse, combined with the time window requirements [e k ,l k ] for its material delivery, as the preferred , based on the quadratic loss function, determine the penalty value of the trailer AGV in advance and lag;
其中,ek表示时间窗的开始时间,lk表示时间窗的结束时间;Among them, ek represents the start time of the time window, and lk represents the end time of the time window;
编号为a的拖挂式AGV承担物料运输任务k时,提前于时间窗将物理送达的惩罚Eka(X)如式(6)所示:When the trailer-mounted AGV numbered a undertakes the material transportation task k, the penalty E ka (X) for physical delivery in advance of the time window is shown in formula (6):
其中,表示配送时间不确定部分的下界,服从平移伽马分布,根据步骤2.1中公式(1)确定概率密度函数f,根据步骤2.1中公式(2)确定累积分布函数F;in, Represents the lower bound of the uncertain part of the delivery time, which obeys the translational gamma distribution, determines the probability density function f according to formula (1) in step 2.1, and determines the cumulative distribution function F according to formula (2) in step 2.1;
其中,θk服从平移伽马分布,根据步骤2.1中公式(1)确定概率密度函数f,根据步骤2.1中公式(2)确定累积分布函数F;Among them, θ k obeys the translational gamma distribution, the probability density function f is determined according to formula (1) in step 2.1, and the cumulative distribution function F is determined according to formula (2) in step 2.1;
其中,a0、a1、a2为二次损失函数的系数,经过参数选择与优化验证确定二次损失函数的系数a0取值为0,a1取值为1,a2取值为0;Among them, a 0 , a 1 , and a 2 are the coefficients of the quadratic loss function. After parameter selection and optimization verification, it is determined that the coefficient a 0 of the quadratic loss function is 0, a 1 is 1, and a 2 is 0;
类似地,滞后于时间窗将物理送达的惩罚Dka(X)如式(7)所示:Similarly, the penalty D ka (X) that will be physically delivered behind the time window is shown in Eq. (7):
其中,表示配送时间不确定部分的上界,服从平移伽马分布,根据步骤2.1中公式(1)确定概率密度函数f,根据步骤2.1中公式(2)确定累积分布函数F;in, Represents the upper bound of the uncertain part of the delivery time, which obeys the translational gamma distribution, determines the probability density function f according to formula (1) in step 2.1, and determines the cumulative distribution function F according to formula (2) in step 2.1;
步骤三:根据步骤二得到的提前滞后惩罚值,建立任务调度模型使拖挂式多AGV系统完成所有配送任务的提前滞后惩罚最小,确定分配给各拖挂式AGV的任务执行路线;Step 3: According to the early lag penalty value obtained in step 2, establish a task scheduling model to minimize the early lag penalty for the trailer-mounted multi-AGV system to complete all distribution tasks, and determine the task execution route assigned to each trailer-mounted AGV;
步骤3.1:根据步骤1.4中得到的提前滞后惩罚Eka(X)、Dka(X),优化目标为拖挂式多AGV系统完成所有配送任务的提前滞后惩罚最小,约束条件为拖挂式AGV运输限制,建立任务调度数学模型如下:Step 3.1: According to the early lag penalties E ka (X) and D ka (X) obtained in step 1.4, the optimization objective is that the trailer-mounted multi-AGV system completes all distribution tasks with the smallest early-delay penalty, and the constraint condition is the trailer-mounted AGV Transport constraints, establish a mathematical model of task scheduling as follows:
目标函数如式(8)所示:The objective function is shown in formula (8):
约束条件分别为式(9)至式(15)所示:The constraints are shown in equations (9) to (15) respectively:
xija∈{0,1},i∈Vp∪Vk,j∈Vp∪Vk,a∈A (15)x ija ∈{0,1},i∈V p ∪V k ,j∈V p ∪V k ,a∈A (15)
其中,Q表示拖挂式AGV能承载的最大任务数量,B表示任意满足的集合,|B|表示B中节点的数量;Among them, Q represents the maximum number of tasks that the trailer AGV can carry, and B represents any satisfaction The set of , |B| represents the number of nodes in B;
步骤3.2:根据步骤3.1构建的任务调度模型,优选模拟退火算法,用以确定任务调度方案,即分配给各拖挂式AGV的任务执行路线;Step 3.2: According to the task scheduling model constructed in Step 3.1, a simulated annealing algorithm is preferred to determine the task scheduling scheme, that is, the task execution route assigned to each trailer-mounted AGV;
模拟退火算法流程如图8所示,具体实现步骤为:The flow chart of the simulated annealing algorithm is shown in Figure 8, and the specific implementation steps are as follows:
(1)设置模拟退火主要控制参数,包括初始温度T0、结束温度Tend、温度等比例下降速率κ(0<κ<1)以及最大迭代次数Itermax;令温度T=T0、迭代次数Iter=1;(1) Set the main control parameters of simulated annealing, including the initial temperature T 0 , the end temperature T end , the proportional temperature decrease rate κ (0<κ<1), and the maximum number of iterations Iter max ; let the temperature T=T 0 , the number of iterations iter = 1;
(2)随机产生初始输入值X0,令X=X0,确定初始值的能量值,即目标函数值f(X);(2) Randomly generate the initial input value X 0 , let X=X 0 , determine the energy value of the initial value, that is, the objective function value f(X);
(3)对当前输入值X进行变换,产生新输入值X′,新输入值X′即对应拖挂式多AGV系统新的任务分配方案;(3) Transform the current input value X to generate a new input value X', and the new input value X' corresponds to the new task allocation scheme of the trailer-mounted multi-AGV system;
(4)计算新目标函数值f(X′),新输入值与当前输入值的能量值之差△f=f(X′)-f(X);(4) Calculate the new objective function value f(X′), the difference between the energy value of the new input value and the current input value Δf=f(X′)-f(X);
(5)如果△f<0,则X=X′;否则, (5) If Δf<0, then X=X'; otherwise,
(6)在范围(0,1)取随机数R=random(0,1),如果P>R,则X=X′。(6) Take a random number R=random(0,1) in the range (0,1), if P>R, then X=X′.
(7)如果Iter<Itermax,则Iter=Iter+1,并重复(3)至(8),否则,转至(8);(7) If Iter<Iter max , then Iter=Iter+1, and repeat (3) to (8), otherwise, go to (8);
(8)如果T>Tend,则T=κT,并重复(2)至(6),否则,转至(9);(8) If T>T end , then T=κT, and repeat (2) to (6), otherwise, go to (9);
(9)输出X和目标函数值f(X);(9) Output X and objective function value f(X);
通过模拟退火算法求得结果为任务调度方案,以步骤2.4中的任务调度测试案例为例,求得结果为:The result obtained by the simulated annealing algorithm is the task scheduling scheme. Taking the task scheduling test case in step 2.4 as an example, the obtained results are:
X=[0 8 16 19 20 0 2 0 1 9 11 17 0 3 10 0 5 7 0 6 13 15 18 0 4 12 140];X=[0 8 16 19 20 0 2 0 1 9 11 17 0 3 10 0 5 7 0 6 13 15 18 0 4 12 140];
其中的数字表示步骤2.4案例中的任务编号,对应每个拖挂式AGV任务执行路线如下表4所示:The numbers in it represent the task numbers in the case of step 2.4, and the execution route for each trailer-mounted AGV task is shown in Table 4 below:
表4拖挂式AGV任务执行路线Table 4 Trailer AGV task execution route
以上所述的具体描述,对发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施例而已,并不用于限定本发明的保护范围,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above-mentioned specific descriptions further describe the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above-mentioned descriptions are only specific embodiments of the present invention, and are not intended to limit the protection of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111121394.2A CN113869822B (en) | 2021-09-24 | 2021-09-24 | Task scheduling method for towed multi-AGV system based on multi-layer unidirectional graph |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111121394.2A CN113869822B (en) | 2021-09-24 | 2021-09-24 | Task scheduling method for towed multi-AGV system based on multi-layer unidirectional graph |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113869822A true CN113869822A (en) | 2021-12-31 |
CN113869822B CN113869822B (en) | 2024-12-24 |
Family
ID=78993780
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111121394.2A Active CN113869822B (en) | 2021-09-24 | 2021-09-24 | Task scheduling method for towed multi-AGV system based on multi-layer unidirectional graph |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113869822B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4827423A (en) * | 1987-01-20 | 1989-05-02 | R. J. Reynolds Tobacco Company | Computer integrated manufacturing system |
CN111459108A (en) * | 2020-04-08 | 2020-07-28 | 北京理工大学 | Task allocation and conflict-free path planning method for trailer-mounted multi-AGV system |
CN111474926A (en) * | 2020-03-24 | 2020-07-31 | 浙江中烟工业有限责任公司 | Waste smoke recovery method based on multiple AGV time window path optimization algorithm |
CN112418497A (en) * | 2020-11-10 | 2021-02-26 | 河南科技大学 | Material distribution path optimization method for manufacturing Internet of things |
WO2021042827A1 (en) * | 2019-09-05 | 2021-03-11 | 苏宁云计算有限公司 | Multi-agv path planning method and system |
-
2021
- 2021-09-24 CN CN202111121394.2A patent/CN113869822B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4827423A (en) * | 1987-01-20 | 1989-05-02 | R. J. Reynolds Tobacco Company | Computer integrated manufacturing system |
WO2021042827A1 (en) * | 2019-09-05 | 2021-03-11 | 苏宁云计算有限公司 | Multi-agv path planning method and system |
CN111474926A (en) * | 2020-03-24 | 2020-07-31 | 浙江中烟工业有限责任公司 | Waste smoke recovery method based on multiple AGV time window path optimization algorithm |
CN111459108A (en) * | 2020-04-08 | 2020-07-28 | 北京理工大学 | Task allocation and conflict-free path planning method for trailer-mounted multi-AGV system |
CN112418497A (en) * | 2020-11-10 | 2021-02-26 | 河南科技大学 | Material distribution path optimization method for manufacturing Internet of things |
Also Published As
Publication number | Publication date |
---|---|
CN113869822B (en) | 2024-12-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11886191B2 (en) | Scheduling method and system for fully autonomous waterborne inter terminal transportation | |
Fazlollahtabar et al. | Hybrid cost and time path planning for multiple autonomous guided vehicles | |
CN114489062B (en) | Distributed dynamic path planning method for multiple automatic guided vehicles for workshop logistics | |
KR102624441B1 (en) | Server, method and computer program for providing route information for logistics | |
CN109063899A (en) | Vehicle transport method and device for planning, electronic equipment and readable storage medium storing program for executing | |
US12130609B2 (en) | Industrial Internet of Things for determining material transportation paths, control methods and media thereof | |
Du et al. | Research on multi-load AGV path planning of weaving workshop based on time priority | |
Zhang et al. | Application of Automated Guided Vehicles in Smart Automated Warehouse Systems: A Survey. | |
CN114595607B (en) | A digital twin textile can conveying method and system | |
CN104504459A (en) | Method and system for optimizing logistics transportation | |
CN111047087A (en) | Intelligent optimization method and device for path under cooperation of unmanned aerial vehicle and vehicle | |
CN104021664B (en) | The dynamic path planning method of forming into columns and travelling worked in coordination with by automobile | |
CN110956851A (en) | A method for cooperative scheduling and lane changing of intelligent networked vehicles | |
CN104537446B (en) | Two layers of band fuzzy stochastic time window vehicle routing optimization method | |
Farahani et al. | Online multimodal transportation planning using deep reinforcement learning | |
CN116523165A (en) | A Collaborative Optimization Method for AMR Path Planning and Production Scheduling in Flexible Job Shop | |
CN109919359A (en) | A Vehicle Path Planning Method Based on ADP Algorithm | |
Pagès et al. | Real-time mass passenger transport network optimization problems | |
Zheng | Solving vehicle routing problem: A big data analytic approach | |
CN113869822A (en) | Task scheduling method of trailer-mounted multi-AGV system based on multi-layer one-way graph | |
CN108921326A (en) | A kind of intelligent cultural gene Logistics Distribution Method based on similarity study | |
Powell | The optimizing-simulator: Merging simulation and optimization using approximate dynamic programming | |
Lin et al. | Multi-task assignment of logistics distribution based on modified ant colony optimization | |
Li et al. | An integrated model for coordinating adaptive platoons and parking decision-making based on deep reinforcement learning | |
CN113029144A (en) | Sub-heuristic algorithm path planning method for collaborative transportation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |