CN110134092A - Method and system for dynamic dispatching of rail-type automatic guided vehicles based on harmony search - Google Patents
Method and system for dynamic dispatching of rail-type automatic guided vehicles based on harmony search Download PDFInfo
- Publication number
- CN110134092A CN110134092A CN201910452175.9A CN201910452175A CN110134092A CN 110134092 A CN110134092 A CN 110134092A CN 201910452175 A CN201910452175 A CN 201910452175A CN 110134092 A CN110134092 A CN 110134092A
- Authority
- CN
- China
- Prior art keywords
- harmony
- machine tool
- rgv
- numerically
- controlled machine
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title abstract description 65
- 230000008569 process Effects 0.000 abstract description 44
- 239000013598 vector Substances 0.000 abstract description 35
- 238000005457 optimization Methods 0.000 abstract description 16
- 239000000463 material Substances 0.000 description 21
- 238000004519 manufacturing process Methods 0.000 description 16
- 238000004422 calculation algorithm Methods 0.000 description 15
- 238000010586 diagram Methods 0.000 description 9
- 238000010845 search algorithm Methods 0.000 description 9
- 101100177269 Arabidopsis thaliana HCAR gene Proteins 0.000 description 7
- 238000004590 computer program Methods 0.000 description 7
- 238000003860 storage Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 238000004140 cleaning Methods 0.000 description 4
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000011084 recovery Methods 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 239000011538 cleaning material Substances 0.000 description 2
- 238000013024 troubleshooting Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 210000000078 claw Anatomy 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000002068 genetic effect Effects 0.000 description 1
- 230000009191 jumping Effects 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 238000012067 mathematical method Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000002922 simulated annealing Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
- G05B19/4189—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the transport system
- G05B19/41895—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the transport system using automatic guided vehicles [AGV]
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/32—Operator till task planning
- G05B2219/32252—Scheduling production, machining, job shop
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/60—Electric or hybrid propulsion means for production processes
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本公开提供了一种基于和声搜索的轨道式自动引导车动态调度方法及系统,设置各数控机床的初始状态参数、各种加工参数和优化参数;将RGV小车未来N次提供服务的数控机床的编号编码为一个长度为N的和声向量,根据指定的和声向量长度和编码方案构建多个和声向量构成初始和声记忆库,计算和声记忆库中每个和声向量的适应度值;在变量取值范围内随机地取值组成一个新和声,或通过在HM中选择和声并扰动微调产生一个新的和声,计算新和声的适应度值;根据新和声的适应度值,对和声记忆库进行更新;判断当前迭代次数是否达到最大迭代次数,如果是则从和声记忆库中选择一个质量最好的和声进行解码,解码结果即为RGV小车按照和声向量中数控机床编号的顺序依次为相应的数控机床提供服务的过程,否则返回重新组成新和声。
The present disclosure provides a dynamic scheduling method and system for track-type automatic guided vehicles based on harmony search, which sets the initial state parameters, various processing parameters and optimization parameters of each CNC machine tool; the CNC machine tool that will provide services for the RGV trolley N times in the future The number of is encoded as a harmony vector with a length of N. According to the specified length of the harmony vector and the encoding scheme, multiple harmony vectors are constructed to form the initial harmony memory, and the fitness of each harmony vector in the harmony memory is calculated. value; within the range of variable values, randomly select a value to form a new harmony, or generate a new harmony by selecting a harmony in the HM and disturbing the fine-tuning, and calculate the fitness value of the new harmony; according to the new harmony Fitness value, update the harmony memory; judge whether the current number of iterations reaches the maximum number of iterations, if so, select a harmony with the best quality from the harmony memory for decoding, and the decoding result is the RGV car according to the sum The sequence of CNC machine tool numbers in the acoustic vector is the process of providing services for the corresponding CNC machine tools in turn, otherwise return to recompose a new harmony.
Description
技术领域technical field
本公开涉及智能控制领域,具体涉及一种基于和声搜索的轨道式自动引导车动态调度方法及系统。The present disclosure relates to the field of intelligent control, in particular to a method and system for dynamic scheduling of track-type automatic guided vehicles based on harmony search.
背景技术Background technique
本部分的陈述仅仅是提供了与本公开相关的背景技术信息,不必然构成在先技术。The statements in this section merely provide background information related to the present disclosure and do not necessarily constitute prior art.
智能生产系统通常是由轨道式自动引导车、RGV直线轨道、多台数控机床、上料传送带、下料传送带等附属设备组成,不同的计算机数控机床(Computer NumberController,CNC)安装不同的刀具可以加工物料的不同工序,RGV小车可以根据指令自动控制移动方向和距离,并自带相匹配的工具(如机械臂、机械手等),能够完成相应的作业任务,并且这些操作都需要消耗一定的时间。The intelligent production system is usually composed of rail-type automatic guided vehicles, RGV linear rails, multiple CNC machine tools, feeding conveyor belts, unloading conveyor belts and other auxiliary equipment. Different computer numerical control machine tools (Computer Number Controller, CNC) can be installed with different tools to process For different processes of materials, the RGV trolley can automatically control the moving direction and distance according to the instructions, and comes with matching tools (such as robotic arms, manipulators, etc.) to complete the corresponding tasks, and these operations need to consume a certain amount of time.
RGV小车的动态调度是对生产过程进行作业计划、协调整个制造系统活动的核心,是快速、低耗、高质地生产出用户满意产品的保证,因此如何调度RGV小车使整个系统的生产效率最高,即一个班次时间内加工的物料数量最多是智能生产系统的主要目的。在研究这个问题的过程中出现了越来越多的求解方法,大致可分为精确算法和近似算法两种:精确算法主要是基于运筹学的传统数学方法,它获得的解精度比较高,但是计算比较复杂,进化速度比较慢,只适合用于解决复杂度较低、规模较小的动态调度问题;近似算法主要是指元启发式算法,包括蚁群算法、模拟退火算法、禁忌搜索算法、遗传算法等,这一类算法不需要针对具体的作业车间调度问题,而是以任何一个解作为出发点,通过多次迭代和精英保留策略获得质量较高的解。The dynamic scheduling of RGV trolleys is the core of planning the production process and coordinating the activities of the entire manufacturing system. It is the guarantee for fast, low-consumption, and high-quality production of customer-satisfied products. Therefore, how to dispatch RGV trolleys to maximize the production efficiency of the entire system, That is, the maximum amount of materials processed in one shift is the main purpose of the intelligent production system. In the process of studying this problem, more and more solving methods have appeared, which can be roughly divided into two types: exact algorithm and approximate algorithm: the exact algorithm is mainly based on the traditional mathematical method of operations research, and the solution accuracy obtained by it is relatively high, but The calculation is more complex and the evolution rate is relatively slow, so it is only suitable for solving dynamic scheduling problems with low complexity and small scale; approximate algorithms mainly refer to meta-heuristic algorithms, including ant colony algorithm, simulated annealing algorithm, tabu search algorithm, Genetic algorithm, etc. This type of algorithm does not need to address specific job shop scheduling problems, but takes any solution as a starting point, and obtains a high-quality solution through multiple iterations and elite retention strategies.
优化RGV小车动态调度现存的缺陷是:The existing defects in optimizing the dynamic scheduling of RGV cars are:
1、上面的元启发式算法在收敛速度、进化速度、局部搜索能力等方面的优势不能完美地在一种算法中体现出来,还需要进一步对这类算法进行改进使之可以更好地解决RGV动态调度问题;1. The advantages of the above meta-heuristic algorithm in terms of convergence speed, evolution speed, local search ability, etc. cannot be perfectly reflected in one algorithm, and further improvements to this type of algorithm are needed to better solve RGV Dynamic scheduling problem;
2、实际智能生产系统的生产加工是一个非常复杂的过程,会涉及各种突发事件,比如机器发生故障等,因此如何应用智能算法求解更接近实际生产的调度模型是目前面临的一个问题;2. The production and processing of the actual intelligent production system is a very complicated process, which will involve various emergencies, such as machine failures, etc. Therefore, how to apply intelligent algorithms to solve the scheduling model that is closer to the actual production is a problem currently facing;
3、上面这些元启发式算法不具有通用性,还需要针对具体的车间作业调度问题设计具体的求解方案,这是优化RGV小车的动态调度需要解决的主要问题。3. The above meta-heuristic algorithms are not universal, and specific solutions need to be designed for specific workshop scheduling problems. This is the main problem to be solved in optimizing the dynamic scheduling of RGV cars.
发明内容Contents of the invention
本公开为了解决上述问题,提出了一种基于和声搜索的轨道式自动引导车动态调度方法及系统,本公开通过对标准和声搜索算法进行改进,根据加工系统参数自动优化RGV调度方案,并可以自适应CNC随机故障及故障恢复,从而可以提高智能生产系统的生产加工效率。In order to solve the above problems, this disclosure proposes a dynamic scheduling method and system for track-type automatic guided vehicles based on harmony search. This disclosure improves the standard harmony search algorithm, automatically optimizes the RGV scheduling scheme according to the processing system parameters, and It can adapt to CNC random faults and fault recovery, thereby improving the production and processing efficiency of the intelligent production system.
根据一些实施例,本公开采用如下技术方案:According to some embodiments, the present disclosure adopts the following technical solutions:
一种基于和声搜索的轨道式自动引导车动态调度方法,包括以下步骤:A method for dynamic scheduling of track-type automatic guided vehicles based on harmony search, comprising the following steps:
设置各数控机床的初始状态参数、各种加工参数和优化参数;Set the initial state parameters, various processing parameters and optimization parameters of each CNC machine tool;
将RGV小车未来N次提供服务的数控机床的编号编码为一个长度为N的和声向量,根据指定的和声向量长度和编码方案构建多个和声向量构成初始和声记忆库,计算和声记忆库中每个和声向量的适应度值;Encode the number of the CNC machine tool that the RGV car will provide services for N times in the future into a harmony vector of length N, construct multiple harmony vectors according to the specified harmony vector length and encoding scheme to form an initial harmony memory, and calculate the harmony The fitness value of each harmony vector in the memory bank;
在变量取值范围内随机地取值组成一个新和声,或通过在HM中选择和声并扰动微调产生一个新的和声,计算新和声的适应度值;Randomly take values within the range of variable values to form a new harmony, or generate a new harmony by selecting a harmony in the HM and disturbing the fine-tuning, and calculate the fitness value of the new harmony;
根据新和声的适应度值,对和声记忆库进行更新;According to the fitness value of the new harmony, the harmony memory is updated;
判断当前迭代次数是否达到最大迭代次数K,如果是则从和声记忆库中选择一个质量最好的和声进行解码,解码结果即为RGV小车按照和声向量中数控机床编号的顺序依次为相应的数控机床提供服务的过程,否则返回重新组成新和声。Judging whether the current number of iterations reaches the maximum number of iterations K, if so, select a harmony with the best quality from the harmony memory for decoding, and the decoding result is that the RGV car is in sequence according to the order of the CNC machine number in the harmony vector. The CNC machine provides the service process, otherwise returns to recompose the new harmony.
作为进一步的限定,一轮服务过后,判断RGV小车当前的系统时间是否未达到班次时间,若未达到则循环使用和声搜索算法进行优化,否则优化结束。As a further limitation, after a round of service, it is judged whether the current system time of the RGV car has not reached the shift time, if not, the harmony search algorithm is used for optimization, otherwise the optimization ends.
作为进一步的限定,若在操作过程中出现突发故障,则RGV停止移动,并以当前数控机床编号和各台数控机床的状态信息作为初始信息重新对接下来的N个数控机床编号进行优化。As a further limitation, if a sudden failure occurs during the operation, the RGV stops moving, and uses the current CNC machine number and the status information of each CNC machine tool as initial information to re-optimize the next N CNC machine numbers.
作为进一步的限定,参数初始化的过程包括:设置RGV小车连续移动不同单位所需要的时间,RGV为奇数编号的数控机床上下料需要的时间,RGV为偶数编号的数控机床上下料需要的时间,清洗物料所需要的时间,一个班次加工时间TTotal,数控机床的编号范围,和声搜索算法中的和声记忆库大小为HMS,从和声记忆库中产生一个值的概率为HMCR,微调概率为PAR,扰动步长为bw,最大迭代次数为K。As a further limitation, the parameter initialization process includes: setting the time required for the RGV trolley to continuously move different units, RGV is the time required for loading and unloading of odd-numbered CNC machine tools, RGV is the time required for loading and unloading of even-numbered CNC machine tools, cleaning The time required for materials, the processing time T Total of a shift, the number range of CNC machine tools, the size of the harmony memory in the harmony search algorithm is HMS, the probability of generating a value from the harmony memory is HMCR, and the fine-tuning probability is PAR, the perturbation step size is bw, and the maximum number of iterations is K.
作为进一步的限定,进行和声向量的编码的具体过程包括:As a further limitation, the specific process of encoding the harmony vector includes:
(1)将RGV小车当前正在提供服务的数控机床编号当做第一个数字加入到和声编码中,作为和声编码中第一位编码值;(1) The number of the CNC machine tool that the RGV trolley is currently providing service is added to the harmony code as the first number, as the first code value in the harmony code;
(2)在编号范围内随机产生一个表示数控机床编号的整数x;(2) Randomly generate an integer x representing the number of the CNC machine tool within the number range;
(3)如果和声编码长度达到N,则编码结束,成功生成一个和声,否则继续执行步骤(2);(3) If the harmony encoding length reaches N, the encoding ends, and a harmony is successfully generated, otherwise step (2) is continued;
(4)重复步骤(1)-(3)随机构建和声记忆库,直至和声的个数达到HMS个,则和声记忆库初始化完毕。(4) Repeat steps (1)-(3) to randomly construct a harmony memory until the number of harmony reaches HMS, then the initialization of the harmony memory is completed.
作为进一步的限定,组成一个新和声的具体过程包括:如果新和声的适应度值大于和声记忆库中最差和声的适应度值,则用这个新的和声取代和声记忆库中最差的和声从而实现和声记忆库的更新,否则保持不变。As a further limitation, the specific process of forming a new harmony includes: if the fitness value of the new harmony is greater than the fitness value of the worst harmony in the harmony memory, replace the harmony memory with this new harmony The worst harmony in the chord is used to update the harmony memory, otherwise it remains unchanged.
作为进一步的限定,具体解码方案如下:As a further limitation, the specific decoding scheme is as follows:
(a)从质量最好的和声中取第一位编码数字x,该数字表示数控机床的编号,RGV移动到该CNC处根据需要为其服务,获取RGV小车的系统时间,如果RGV小车当前的系统时间大于班次时间TTotal,则结束;(a) Take the first coded number x from the harmony with the best quality. This number represents the number of the CNC machine tool. RGV moves to the CNC to serve it as needed to obtain the system time of the RGV car. If the RGV car is currently If the system time is greater than the shift time T Total , it ends;
(b)从该和声向量中取下一位编码数字x,该数字表示数控机床的编号,RGV移动到该数控机床处根据需要为其服务,获取RGV小车的系统时间,如果RGV小车当前的系统时间大于班次时间,则结束;(b) Remove a coded number x from the harmony vector, which represents the number of the CNC machine tool. RGV moves to the CNC machine tool to serve it as needed, and obtains the system time of the RGV car. If the current RGV car If the system time is greater than the shift time, it ends;
(c)判断x是不是和声编码的最后一位,如果不是最后一位,则转到步骤(b)继续执行,如果是最后一位编码,则该编码作为下次初始化和声记忆库时各和声编码中的第一位编码;否则解码结束。(c) Judging whether x is the last digit of the harmony code, if it is not the last digit, then go to step (b) to continue execution, if it is the last digit of the code, then this code will be used as the next initialization of the harmony memory bank The first bit of each harmonic code is coded; otherwise decoding ends.
RGV依赖于数控机床的状态提供服务,具体包括:RGV provides services depending on the status of CNC machine tools, including:
(1)如果该数控机床目前处于没有加工任何物料的状态,则根据其加工的工序执行上料操作;(1) If the CNC machine tool is currently in the state of not processing any material, perform the loading operation according to the processing procedure;
(2)如果该数控机床目前处于加工结束的状态并且可以加工第一道工序的话,则RGV执行下料的操作,然后再执行上新的物料的操作;(2) If the CNC machine tool is currently in the state of processing completion and the first process can be processed, the RGV performs the operation of unloading, and then performs the operation of loading new materials;
(3)如果该数控机床目前处于加工结束的状态并且可以加工第二道工序的话,则RGV执行下料操作之后需要记录目前已经加工完成的物料的数量,以便计算和声向量的适应度值;(3) If the CNC machine tool is currently in the state of finishing processing and can process the second process, the RGV needs to record the quantity of materials that have been processed so far after performing the blanking operation, so as to calculate the fitness value of the harmony vector;
(4)如果该数控机床目前处于正在工作的状态,则RGV需要等待,这时需要比较等待的时间Tw和可以为下一个编号的数控机床开始提供服务的时间Tnext,若当前位置等待的时间比较短则继续等待,否则移动RGV为下一个编号的数控机床提供服务,并做好相应记录。(4) If the CNC machine tool is currently in the working state, the RGV needs to wait. At this time, it is necessary to compare the waiting time T w with the time T next that can start providing services for the next numbered CNC machine tool. If the current position is waiting If the time is relatively short, continue to wait, otherwise, move the RGV to provide services for the next numbered CNC machine tool, and make corresponding records.
一种基于和声搜索的轨道式自动引导车动态调度系统,包括:A dynamic dispatching system for track-type automatic guided vehicles based on harmony search, including:
设置模块,被配置为设置各数控机床的初始状态参数、各种加工参数和优化参数;The setting module is configured to set the initial state parameters, various processing parameters and optimization parameters of each CNC machine tool;
编码模块,被配置为将RGV小车未来N次提供服务的数控机床的编号编码为一个长度为N的和声向量,根据指定的和声向量长度和编码方案构建多个和声向量构成初始和声记忆库,计算和声记忆库中每个和声向量的适应度值;The encoding module is configured to encode the number of the CNC machine tool that the RGV car will provide services for N times in the future into a harmony vector with a length of N, and construct multiple harmony vectors according to the specified length of the harmony vector and the encoding scheme to form the initial harmony Memory bank, calculate the fitness value of each harmony vector in the harmony memory bank;
和声构建模块,被配置为在变量取值范围内随机地取值组成一个新和声,或通过在HM中选择和声并扰动微调产生一个新的和声,计算新和声的适应度值;The harmony building module is configured to randomly take values within the range of variable values to form a new harmony, or generate a new harmony by selecting a harmony in the HM and disturbing the fine-tuning, and calculate the fitness value of the new harmony ;
更新模块,被配置为根据新和声的适应度值与和声记忆库中最差和声的适应度值对比,对和声记忆库进行更新;The update module is configured to update the harmony memory according to the fitness value of the new harmony and the fitness value of the worst harmony in the harmony memory;
解码模块,被配置为判断当前迭代次数是否达到最大迭代次数K,如果是则从和声记忆库中选择一个质量最好的和声进行解码,解码结果即为RGV小车按照和声向量中数控机床的编号的顺序依次为数控机床提供服务的过程。The decoding module is configured to judge whether the current number of iterations reaches the maximum number of iterations K, if so, select a harmony with the best quality from the harmony memory for decoding, and the decoding result is the RGV car according to the harmony vector in the CNC machine tool The order of the numbers is the process of providing service for the CNC machine tool in turn.
一种计算机可读存储介质,其中存储有多条指令,所述指令适于由终端设备的处理器加载并执行所述的一种基于和声搜索的轨道式自动引导车动态调度方法。A computer-readable storage medium, in which a plurality of instructions are stored, and the instructions are suitable for being loaded and executed by a processor of a terminal device to execute the method for dynamic scheduling of track-based automatic guided vehicles based on harmony search.
一种终端设备,包括处理器和计算机可读存储介质,处理器用于实现各指令;计算机可读存储介质用于存储多条指令,所述指令适于由处理器加载并执行所述的一种基于和声搜索的轨道式自动引导车动态调度方法。A terminal device, including a processor and a computer-readable storage medium, the processor is used to implement instructions; the computer-readable storage medium is used to store multiple instructions, and the instructions are suitable for being loaded by the processor and executing the described one A dynamic scheduling method for rail-mounted automatic guided vehicles based on harmony search.
与现有技术相比,本公开的有益效果为:Compared with the prior art, the beneficial effects of the present disclosure are:
本公开考虑数控机床出现突发故障时或故障恢复时重新启动优化过程,这样可以自适应数控机床随机故障及故障恢复,从而使该优化方式更适用于实际的生产作业车间。此外,由于一个系统作业时间较长,本公开采取分段优化策略,声编码长度为N,即考虑RGV通过不同的移动轨迹为N个数控机床服务的效率。分段优化可以化繁为简,降低优化时间,适应不同的加工时间。This disclosure considers restarting the optimization process when the CNC machine tool suddenly fails or when the fault recovers, so that it can adapt to the random faults and fault recovery of the CNC machine tool, so that the optimization method is more suitable for the actual production workshop. In addition, due to the long operation time of one system, this disclosure adopts a segmented optimization strategy, and the vocoder length is N, that is, considering the efficiency of the RGV serving N CNC machine tools through different moving trajectories. Segmented optimization can simplify the complexity, reduce the optimization time, and adapt to different processing times.
附图说明Description of drawings
构成本公开的一部分的说明书附图用来提供对本公开的进一步理解,本公开的示意性实施例及其说明用于解释本公开,并不构成对本公开的不当限定。The accompanying drawings constituting a part of the present disclosure are used to provide a further understanding of the present disclosure, and the exemplary embodiments and descriptions of the present disclosure are used to explain the present disclosure, and do not constitute improper limitations to the present disclosure.
图1是本公开的流程图;Figure 1 is a flowchart of the present disclosure;
图2是本公开的智能加工系统简要示意图;Fig. 2 is a brief schematic diagram of the intelligent processing system of the present disclosure;
具体实施方式:Detailed ways:
下面结合附图与实施例对本公开作进一步说明。The present disclosure will be further described below in conjunction with the accompanying drawings and embodiments.
应该指出,以下详细说明都是例示性的,旨在对本公开提供进一步的说明。除非另有指明,本文使用的所有技术和科学术语具有与本公开所属技术领域的普通技术人员通常理解的相同含义。It should be noted that the following detailed description is exemplary and intended to provide further explanation of the present disclosure. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs.
需要注意的是,这里所使用的术语仅是为了描述具体实施方式,而非意图限制根据本公开的示例性实施方式。如在这里所使用的,除非上下文另外明确指出,否则单数形式也意图包括复数形式,此外,还应当理解的是,当在本说明书中使用术语“包含”和/或“包括”时,其指明存在特征、步骤、操作、器件、组件和/或它们的组合。It should be noted that the terminology used herein is only for describing specific embodiments, and is not intended to limit the exemplary embodiments according to the present disclosure. As used herein, unless the context clearly dictates otherwise, the singular is intended to include the plural, and it should also be understood that when the terms "comprising" and/or "comprising" are used in this specification, they mean There are features, steps, operations, means, components and/or combinations thereof.
如图1所示,一种基于和声搜索的轨道式自动引导车动态调度方法,包括以下步骤:As shown in Figure 1, a dynamic scheduling method for track-type automatic guided vehicles based on harmony search includes the following steps:
第一步:设置各台CNC的初始状态参数和各种加工参数,本实施方案中需要设置RGV小车连续移动1个单位、2个单位、3个单位所需要的时间分别记为t1,t2,t3。RGV为奇数编号的CNC上下料需要的时间,RGV为偶数编号的CNC上下料需要的时间,清洗物料所需要的时间,一个班次加工时间为8小时;在执行和声搜索算法前要明确优化参数,其中包括CNC的编号为1~8,第一次优化时设置RGV小车位于编号为1和2的数控机床处,确定各CNC的状态;设置和声搜索算法中的和声记忆库大小为HMS,从和声记忆库中产生一个值的概率为HMCR,微调概率为PAR,扰动步长为bw,最大迭代次数为K。Step 1: Set the initial state parameters and various processing parameters of each CNC. In this embodiment, it is necessary to set the time required for the RGV trolley to continuously move 1 unit, 2 units, and 3 units as t 1 , t 2 , t 3 . RGV is the time required for odd-numbered CNC loading and unloading, RGV is the time required for even-numbered CNC loading and unloading, and the time required for cleaning materials. The processing time for one shift is 8 hours; before executing the harmony search algorithm, the optimization parameters must be specified , which includes CNC numbers 1 to 8. When optimizing for the first time, set the RGV car to be located at the CNC machine tools numbered 1 and 2, and determine the status of each CNC; set the size of the harmony memory library in the harmony search algorithm to HMS , the probability of generating a value from the harmony memory is HMCR, the fine-tuning probability is PAR, the perturbation step is bw, and the maximum number of iterations is K.
第二步:编码,产生初始和声记忆库,并计算和声向量的适应度值。将RGV小车未来N次提供服务的数控机床的编号编码为一个长度为N的和声编码,构建HMS个和声构成初始和声记忆库。具体的编码方案如下:The second step: encoding, generating the initial harmony memory bank, and calculating the fitness value of the harmony vector. Encode the number of the CNC machine tool that the RGV car will provide services for N times in the future into a harmony code with a length of N, and construct the HMS harmony to form the initial harmony memory. The specific coding scheme is as follows:
步骤2.1:将RGV小车当前正在提供服务的CNC编号当做第一个数字加入到和声编码中,作为和声编码中第一位编码值;Step 2.1: Add the CNC number that the RGV trolley is currently serving as the first number to the harmony code as the first code value in the harmony code;
步骤2.2:随机产生一个表示CNC编号的整数x,由于CNC编号为1~8,所以该数字为[1,8]内的任意一个整数,即,但是其不能和前一位编号相同,若相同则舍弃,再重新随机产生一个[1,8]内的整数作为CNC编号加入到和声编码中;Step 2.2: Randomly generate an integer x representing the CNC number. Since the CNC number is 1 to 8, the number is any integer in [1,8], that is, but it cannot be the same as the previous number. If they are the same Then discard it, and then randomly generate an integer in [1,8] as the CNC number and add it to the harmony coding;
步骤2.3:如果和声编码长度达到N,则编码结束,成功生成一个和声,否则继续执行步骤2.2;Step 2.3: If the harmony encoding length reaches N, the encoding ends and a harmony is successfully generated, otherwise, proceed to step 2.2;
重复上面步骤随机构建和声记忆库,直至和声的个数达到HMS个,则和声记忆库初始化完毕。Repeat the above steps to randomly build the harmony memory until the number of harmony reaches HMS, then the initialization of the harmony memory is completed.
第三步:在产生初始和声记忆库之后,需要计算HM中每个和声向量的适应度值,适应度值具体的计算方法如下:Step 3: After generating the initial harmony memory, it is necessary to calculate the fitness value of each harmony vector in the HM. The specific calculation method of the fitness value is as follows:
步骤3.1:取和声向量中第一位编码数字,该数字表示RGV要服务的CNC编号,RGV在该编号的CNC处开始执行操作的系统时间作为开始时间,记作Ts,并获取该CNC目前所处的加工状态信息;Step 3.1: Take the first coded number in the harmony vector, which indicates the number of the CNC that the RGV will serve, and the system time when the RGV starts to execute the operation at the CNC of this number is taken as the start time, recorded as T s , and obtain the CNC Current processing status information;
步骤3.2:RGV移动到该数字对应编号的CNC处执行相应的操作,操作结束后更新RGV的系统时间,如果操作是加工物料的第二道工序,那么完成下料操作后需要记录当前已经完成加工的物料总数量;Step 3.2: RGV moves to the CNC with the number corresponding to the number to perform the corresponding operation. After the operation, update the system time of RGV. If the operation is the second process of processing materials, then after completing the blanking operation, it is necessary to record that the processing has been completed The total quantity of materials;
步骤3.3:如果RGV小车执行操作的CNC编号不是和声编码的最后一个数字,则继续执行步骤3.2,如果执行操作的CNC编号是和声编码的最后一位,则执行完相应操作之后获取系统的时间,记作Tc,并且该编号作为下次初始和声记忆库时和声向量中第一个变量的值;Step 3.3: If the CNC number executed by the RGV car is not the last digit of the harmony code, proceed to step 3.2. If the CNC number executed by the RGV is the last digit of the harmony code, obtain the system’s Time, denoted as T c , and this number is used as the value of the first variable in the harmony vector in the next initial harmony memory;
步骤3.4:在此加工时间内完成加工的物料总数量记为num,和声的适应度(fitness)计算为:fitness=num/(Tc-Ts)。Step 3.4: The total amount of processed materials within this processing time is recorded as num, and the fitness of harmony is calculated as: fitness=num/(T c -T s ).
在上面步骤3.2中,RGV具体执行什么操作要根据当前CNC所处的状态而定:In the above step 3.2, the specific operation performed by RGV depends on the current state of CNC:
(1)如果该CNC目前处于没有加工任何物料的状态,则根据其可以加工的工序执行上料操作;(1) If the CNC is currently in the state of not processing any material, perform the loading operation according to the process it can process;
(2)如果该CNC目前处于加工结束的状态并且可以加工第一道工序的话,则RGV执行下料的操作,然后再执行上新的物料的操作;(2) If the CNC is currently in the state of finishing processing and can process the first process, the RGV performs the operation of unloading, and then performs the operation of loading new materials;
(3)如果该CNC目前处于加工结束的状态并且可以加工第二道工序的话,则RGV执行下料操作并完成清洗工作,记录目前已经加工完成的物料的数量,以便计算和声向量的适应度值;(3) If the CNC is currently in the state of processing and can process the second process, the RGV performs the blanking operation and completes the cleaning work, and records the number of materials that have been processed so far in order to calculate the fitness of the harmony vector value;
(4)如果该CNC目前处于正在工作的状态,则RGV需要等待,这时需要比较等待的时间Tw和可以为下一个编号的CNC开始提供服务的时间Tnext,若当前位置等待的时间比较短则继续等待,否则移动RGV为下一个编号的CNC提供服务,并做好相应记录。(4) If the CNC is currently working, the RGV needs to wait. At this time, it is necessary to compare the waiting time T w with the time T next that can start providing services for the next numbered CNC. If the waiting time of the current position is compared with If it is short, continue to wait, otherwise, the mobile RGV will provide services for the next numbered CNC, and make corresponding records.
当CNC处于上面第(4)种状态中比较等待时间Tw和为下一个编号的CNC开始提供服务的时间Tnext时,需要计算Tnext,Tnext依赖RGV从当前CNC移动到下一个CNC所需要的时间tm以及在下一个CNC处等待的时间tw,可以根据下面定义的位置状态函数求出tm:When the CNC is in the above (4) state and compares the waiting time T w with the time T next to start providing services for the next numbered CNC, T next needs to be calculated, and T next depends on the RGV moving from the current CNC to the next CNC. The required time t m and the waiting time t w at the next CNC can be calculated according to the position state function defined below:
上式中k,j∈[1,8],k表示RGV目前所服务的CNC编号,j表示RGV预计服务的下一个CNC的编号,t1,t2,t3分别表示RGV移动1个、2个、3个位置时所需要的时间。In the above formula, k, j∈[1,8], k represents the number of the CNC currently served by the RGV, j represents the number of the next CNC that the RGV is expected to serve, t 1 , t 2 , and t 3 represent the RGV moving one, The time required for 2 and 3 positions.
第四步:创作一个新的和声向量。通过对和声库中和声进行选择,然后扰动微调产生一个新的和声向量。或者根据和声编码方案直接产生一个新的和声向量。具体操作步骤如下:Step 4: Create a new harmony vector. A new harmony vector is generated by selecting the harmony in the harmony library, and then fine-tuning the disturbance. Or directly generate a new harmony vector according to the harmony coding scheme. The specific operation steps are as follows:
步骤4.1:新和声Xnew的产生过程。生成一个[0,1]内的随机数rand,如果rand<HMCR,则随机从和声记忆库中选择一个和声X作为新产生的和声;如果rand≥HMCR,则按照编码方案产生一个新和声X’,即:Step 4.1: The generation process of the new harmony X new . Generate a random number rand within [0,1]. If rand<HMCR, randomly select a harmony X from the harmony memory as the newly generated harmony; if rand≥HMCR, generate a new one according to the encoding scheme Harmony X', namely:
步骤4.2:若新和声Xnew来自和声记忆库,则需要根据微调概率PAR对和声编码进行有选择性地进行微调。逐一将和声编码值j与其相邻的前一个编码值i进行比较,如果则按微调步长bw=3对后面的编码值进行微调,当微调变量的个数达到PAR*N个时,微调操作结束,转到步骤4.4;若这一轮结束后微调变量个数没有达到PAR*N个,则转到步骤4.3进行第二轮比较微调。Step 4.2: If the new harmony X new comes from the harmony memory, it is necessary to selectively fine-tune the harmony encoding according to the fine-tuning probability PAR. Compare the harmony coded value j with its adjacent previous coded value i one by one, if Then fine-tune the following coded values according to the fine-tuning step size bw=3. When the number of fine-tuning variables reaches PAR*N, the fine-tuning operation ends and goes to step 4.4; if the number of fine-tuning variables does not reach PAR*N after this round ends PAR*N, then go to step 4.3 for the second round of comparison and fine-tuning.
步骤4.3:逐一将和声编码值j与其相邻的前一个编码值i进行比较,如果则按微调步长bw=2对后者变量值进行微调(在第一轮中已经微调过的变量跳过),微调的变量个数达到PAR*N个则停止,转到步骤4.4继续执行。Step 4.3: Compare the harmony coded value j with its adjacent previous coded value i one by one, if Then fine-tune the latter variable value according to the fine-tuning step size bw=2 (the variables that have been fine-tuned in the first round are skipped), stop when the number of fine-tuned variables reaches PAR*N, and go to step 4.4 to continue execution.
步骤4.4:按照步骤3中的方法计算新创作的和声的适应度值。Step 4.4: Follow the method in Step 3 to calculate the fitness value of the newly created harmony.
在上述步骤4.1中,HMCR设置成随迭代次数k的增大而逐渐减小,迭代初期时HMCR较大有助于达到局部最优,HMCR在迭代后期取较小的值可以使种群更加多样化从而跳出局部最优:In the above step 4.1, the HMCR is set to gradually decrease with the increase of the number of iterations k. A larger HMCR at the beginning of the iteration helps to achieve a local optimum, and a smaller value of the HMCR in the later iteration can make the population more diverse. Thus jumping out of the local optimum:
在上述步骤4.2和步骤4.3中,PAR设置成随迭代次数k的增大而逐渐变大,这样迭代初期时PAR值较小,充分对局部进行搜索,挖掘局部的信息,后期时PAR的增大可以加快搜索速度,扩大搜索范围进行全局搜索,有助于跳出局部最优:In the above step 4.2 and step 4.3, the PAR is set to gradually increase with the increase of the number of iterations k, so that the PAR value is small at the initial stage of the iteration, and the local area is fully searched to mine local information, and the PAR increases in the later stage It can speed up the search speed, expand the search range for global search, and help jump out of local optimum:
其中微调的具体操作如下:假设相邻的两个编码值前者是i,后者是j,根据下面公式对后一位进行微调,后一位编码的新值为 The specific operation of the fine-tuning is as follows: Assume that the former of two adjacent coded values is i and the latter is j, fine-tune the latter bit according to the following formula, and the new value of the latter coded value is
第五步:产生新的和声变量之后,根据新和声向量的适应度值与和声记忆库中最差和声的适应度值,对和声记忆库进行更新,更新的具体步骤如下:Step 5: After generating the new harmony variable, update the harmony memory according to the fitness value of the new harmony vector and the fitness value of the worst harmony in the harmony memory. The specific steps for updating are as follows:
步骤5.1:比较新和声向量的适应度值与和声记忆库中最差和声的适应度值,如果新和声向量的适应度值大于和声记忆库中最差和声的适应度值,则用这个新的和声向量取代和声记忆库中最差的和声从而实现和声记忆库的更新,否则保持不变;Step 5.1: Compare the fitness value of the new harmony vector with the fitness value of the worst harmony in the harmony memory, if the fitness value of the new harmony vector is greater than the fitness value of the worst harmony in the harmony memory , then use this new harmony vector to replace the worst harmony in the harmony memory to update the harmony memory, otherwise it remains unchanged;
步骤5.2:判断当前迭代次数是否达到最大迭代次数K,如果达到则从HM中选择一个质量最好的和声向量进行解码;否则转到第四步继续执行。Step 5.2: Determine whether the current number of iterations reaches the maximum number of iterations K, and if so, select a harmony vector with the best quality from the HM for decoding; otherwise, go to step 4 and continue.
第六步:当迭代次数达到最大迭代次数时,选取和声记忆库中适应度值最大的和声向量进行解码,解码即为RGV小车按照和声向量中CNC编号的顺序依次为CNC提供服务的过程,具体解码方案如下:Step 6: When the number of iterations reaches the maximum number of iterations, select the harmony vector with the largest fitness value in the harmony memory for decoding, and the decoding means that the RGV car provides services for the CNC in sequence according to the order of the CNC numbers in the harmony vector The specific decoding scheme is as follows:
步骤6.1:从质量最好的和声中取第一位编码数字x,该数字表示CNC编号,RGV移动到该CNC处根据需要为其服务,然后获取RGV小车的系统时间,如果RGV小车当前的系统时间大于班次时间TTotal,则结束;Step 6.1: Take the first coded number x from the harmony with the best quality. This number represents the CNC number. The RGV moves to the CNC to serve it as needed, and then obtains the system time of the RGV car. If the current RGV car When the system time is greater than the shift time T Total , it ends;
步骤6.2:从该和声向量中取下一位编码数字x,该数字表示CNC编号,RGV移动到该CNC处根据需要为其服务,然后获取RGV小车的系统时间,如果RGV小车当前的系统时间大于班次时间TTotal,则结束;Step 6.2: Remove a coded number x from the harmony vector, this number represents the CNC number, the RGV moves to the CNC to serve it as needed, and then obtains the system time of the RGV car, if the current system time of the RGV car If it is greater than the shift time T Total , it ends;
步骤6.3:判断x是不是和声编码的最后一位,如果不是最后一位,则转到步骤6.2继续执行,如果是最后一位编码,则该编码作为下次初始化和声记忆库时各和声编码中的第一位编码;转到步骤6.4;Step 6.3: Judging whether x is the last digit of the harmony code, if it is not the last digit, go to step 6.2 and continue to execute, if it is the last digit of the code, then this code will be used as the sum when the harmony memory bank is initialized next time First bit encoding in vocoding; go to step 6.4;
步骤6.4:解码结束。Step 6.4: Decoding ends.
第七步:循环使用和声搜索算法分段进行优化。解码结束后,如果RGV小车当前的系统时间未达到班次时间TTotal,则以上一轮优化的最后一个CNC编号作为下一轮优化时和声编码中的第一个数字,转到第二步继续执行。Step 7: Use the Harmony Search Algorithm in a loop to optimize segment by segment. After decoding, if the current system time of the RGV car does not reach the shift time T Total , the last CNC number of the previous round of optimization will be used as the first number in the harmony coding of the next round of optimization, and go to the second step to continue implement.
如果RGV小车按照和声向量中CNC编号顺序执行操作的过程中出现突发故障,则RGV停止移动,并以当前CNC编号和各台CNC的状态信息作为初始信息重新对接下来的N个CNC编号进行优化。If the RGV trolley has a sudden failure during the operation of the CNC number sequence in the harmony vector, the RGV stops moving, and uses the current CNC number and the status information of each CNC as the initial information to re-execute the next N CNC numbers. optimization.
一个班次时间结束后,按照分段优化的结果依次输出TTotal时间内RGV的动态调度策略,按照此方案调度RGV小车为相应CNC提供服务可以使车间生产效率达到最大。After a shift time is over, the dynamic scheduling strategy of RGV within T Total time is sequentially output according to the results of subsection optimization. According to this scheme, dispatching RGV cars to provide services for corresponding CNC can maximize the production efficiency of the workshop.
为了验证本申请技术方案的有效性,下面结合智能生产系统示意图和数据进行优化:In order to verify the effectiveness of the technical solution of this application, the following is optimized in combination with the schematic diagram and data of the intelligent production system:
图2是一个智能加工系统的示意图,由8台计算机数控机床(ComputerNumberController,CNC)、1辆轨道式自动引导车(RailGuideVehicle,RGV)、1条RGV直线轨道、1条上料传送带、1条下料传送带等附属设备组成。RGV是一种无人驾驶、能在固定轨道上自由运行的智能车。它根据指令能自动控制移动方向和距离,并自带一个机械手臂、两只机械手爪和物料清洗槽,能够完成上下料及清洗物料等作业任务。Figure 2 is a schematic diagram of an intelligent processing system, which consists of 8 computer numerical control machine tools (ComputerNumberController, CNC), 1 track-type automatic guided vehicle (RailGuideVehicle, RGV), 1 RGV linear track, 1 feeding conveyor belt, and 1 lower conveyor belt. Conveyor belt and other auxiliary equipment. RGV is an unmanned intelligent vehicle that can run freely on a fixed track. It can automatically control the moving direction and distance according to the instructions, and it comes with a robotic arm, two robotic claws and a material cleaning tank, which can complete tasks such as loading and unloading and cleaning materials.
由于轨道式自动引导车、计算机数控机床的结构等均是现有技术,在此不做过多介绍。Since the structure of the track-type automatic guided vehicle and the computer numerical control machine tool are all prior art, no more introductions will be made here.
RGV带有智能控制功能,根据接收或发送指令信号在直线轨道上移动和停止等待,可连续移动1个单位(两台相邻CNC间的距离)、2个单位(三台相邻CNC间的距离)和3个单位(四台相邻CNC间的距离)。RGV同一时间只能执行移动、停止等待、上下料和清洗作业中的一项。上下料传送都是带由4段组成,在每一台CNC前各有1段,由系统传感器控制,只能向一个方向传动,既能连动,也能独立运动。RGV has an intelligent control function. It moves and stops on a linear track according to receiving or sending command signals. It can continuously move 1 unit (the distance between two adjacent CNCs), 2 units (the distance between three adjacent CNCs) distance) and 3 units (the distance between four adjacent CNCs). RGV can only perform one of the operations of moving, stopping and waiting, loading and unloading and cleaning at the same time. The loading and unloading conveying belt is composed of 4 sections, each of which has 1 section in front of each CNC, which is controlled by the system sensor and can only be driven in one direction, which can be linked or independent.
假设该智能加工系统中加工的物料有两道工序,第一道和第二道工序分别由两台安装不同刀具的CNC依次加工完成,在加工过程中不能更换刀具;CNC在加工过程中有1%的概率可能发生故障,每次故障排除(人工处理,未完成的物料报废)时间介于10~20分钟之间,故障排除后即刻加入作业序列。Assuming that the material processed in the intelligent processing system has two processes, the first and second processes are respectively processed by two CNCs equipped with different tools, and the tools cannot be replaced during the process; the CNC has 1 process during the process. Faults may occur with a 100% probability, and the time for each troubleshooting (manual processing, scrapping of unfinished materials) is between 10 and 20 minutes, and the job sequence will be added immediately after the troubleshooting.
结合上面的智能加工系统的生产背景和以下系统参数对本实施方案提出的优化RGV小车动态调度方法进行验证:Combined with the production background of the above intelligent processing system and the following system parameters, the optimized RGV trolley dynamic scheduling method proposed in this implementation plan is verified:
基于和声搜索算法对RGV小车动态调度进行优化之后,在一个班次时间内RGV小车具体的调度过程和出现的故障信息如下:After optimizing the dynamic scheduling of RGV cars based on the harmony search algorithm, the specific scheduling process and fault information of RGV cars within a shift time are as follows:
第1组数据对应调度过程中的具体信息:The first group of data corresponds to the specific information in the scheduling process:
第1组数据对应RGV调度过程中的故障信息:The first set of data corresponds to the fault information during the RGV scheduling process:
第2组数据对应调度过程中的具体信息:The second group of data corresponds to the specific information in the scheduling process:
第2组数据对应RGV调度过程中的故障信息:The second set of data corresponds to the fault information during the RGV scheduling process:
通过对上面实验数据和结果的分析,可以看出系统参数为第1组数据时,一个班次时间内加工了223件物料,编号为1,3,5的CNC加工物料的第一道工序,编号为2,4,6的CNC加工物料的第二道工序;系统参数为第2组数据时加工了208件物料,编号为1,2,4,5,7,8的CNC加工物料的第一道工序,编号为3,6的CNC加工物料的第二道工序。第1组系统参数中两道工序的加工时长差不多,分配的CNC数量也一样;第2组系统参数中由于第二道加工工序比第一道加工工序所用的时间短,因此分配加工第一道工序的CNC数量较少,并且分配的CNC数量与两道加工工序所用的时间差不多成比例关系的,这是符合实际情况的。两组不同的系统参数和实验数据说明了该算法能够自适应CNC的随机故障及故障恢复,并且可以根据系统参数自动调整RGV动态调度方案,验证了基于和声搜索算法优化RGV小车动态调度方法的有效性。Through the analysis of the above experimental data and results, it can be seen that when the system parameters are the first set of data, 223 pieces of materials are processed in one shift, and the first process of CNC processing materials numbered 1, 3, 5, number The second process of CNC processing materials for 2, 4, 6; when the system parameter is the second set of data, 208 materials are processed, and the first process of CNC processing materials with numbers 1, 2, 4, 5, 7, 8 The first process, the second process of CNC processing materials numbered 3 and 6. The processing time of the two processes in the first group of system parameters is similar, and the number of CNCs allocated is the same; in the second group of system parameters, because the second processing process takes less time than the first processing process, the first processing process is allocated The number of CNCs in the process is small, and the number of CNCs allocated is almost proportional to the time spent in the two processing processes, which is in line with the actual situation. Two sets of different system parameters and experimental data show that the algorithm can adapt to CNC random faults and fault recovery, and can automatically adjust the RGV dynamic scheduling scheme according to the system parameters, which verifies the optimization of the RGV car dynamic scheduling method based on the harmony search algorithm. effectiveness.
本领域内的技术人员应明白,本公开的实施例可提供为方法、系统、或计算机程序产品。因此,本公开可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Accordingly, the present disclosure can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本公开是参照根据本公开实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present disclosure. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.
以上所述仅为本公开的优选实施例而已,并不用于限制本公开,对于本领域的技术人员来说,本公开可以有各种更改和变化。凡在本公开的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本公开的保护范围之内。The above descriptions are only preferred embodiments of the present disclosure, and are not intended to limit the present disclosure. For those skilled in the art, the present disclosure may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present disclosure shall be included within the protection scope of the present disclosure.
上述虽然结合附图对本公开的具体实施方式进行了描述,但并非对本公开保护范围的限制,所属领域技术人员应该明白,在本公开的技术方案的基础上,本领域技术人员不需要付出创造性劳动即可做出的各种修改或变形仍在本公开的保护范围以内。Although the specific implementation of the present disclosure has been described above in conjunction with the accompanying drawings, it does not limit the protection scope of the present disclosure. Those skilled in the art should understand that on the basis of the technical solutions of the present disclosure, those skilled in the art do not need to pay creative work Various modifications or variations that can be made are still within the protection scope of the present disclosure.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910452175.9A CN110134092A (en) | 2019-05-28 | 2019-05-28 | Method and system for dynamic dispatching of rail-type automatic guided vehicles based on harmony search |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910452175.9A CN110134092A (en) | 2019-05-28 | 2019-05-28 | Method and system for dynamic dispatching of rail-type automatic guided vehicles based on harmony search |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110134092A true CN110134092A (en) | 2019-08-16 |
Family
ID=67582371
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910452175.9A Pending CN110134092A (en) | 2019-05-28 | 2019-05-28 | Method and system for dynamic dispatching of rail-type automatic guided vehicles based on harmony search |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110134092A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103955864A (en) * | 2014-04-14 | 2014-07-30 | 武汉大学 | Power system multi-target differentiation planning method based on improved harmony search algorithm |
CN105512954A (en) * | 2015-11-30 | 2016-04-20 | 清华大学 | Integrated search method for large-scale flexible job shop scheduling |
CN105512753A (en) * | 2015-11-30 | 2016-04-20 | 清华大学 | Hybrid harmony search-based flexible job shop scheduling method |
CN105809344A (en) * | 2016-03-07 | 2016-07-27 | 浙江财经大学 | Hyper-heuristic algorithm based ZDT flow shop job scheduling method |
CN109032150A (en) * | 2018-10-16 | 2018-12-18 | 山东师范大学 | Rail mounted automatic guide vehicle dynamic dispatching method based on genetic algorithm subsection optimization |
-
2019
- 2019-05-28 CN CN201910452175.9A patent/CN110134092A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103955864A (en) * | 2014-04-14 | 2014-07-30 | 武汉大学 | Power system multi-target differentiation planning method based on improved harmony search algorithm |
CN105512954A (en) * | 2015-11-30 | 2016-04-20 | 清华大学 | Integrated search method for large-scale flexible job shop scheduling |
CN105512753A (en) * | 2015-11-30 | 2016-04-20 | 清华大学 | Hybrid harmony search-based flexible job shop scheduling method |
CN105809344A (en) * | 2016-03-07 | 2016-07-27 | 浙江财经大学 | Hyper-heuristic algorithm based ZDT flow shop job scheduling method |
CN109032150A (en) * | 2018-10-16 | 2018-12-18 | 山东师范大学 | Rail mounted automatic guide vehicle dynamic dispatching method based on genetic algorithm subsection optimization |
Non-Patent Citations (2)
Title |
---|
冯达: "两种启发式优化算法的研究及其应用", 《中国优秀硕士学位论文全文数据库信息科技辑》 * |
李若平: "关于启发式优化算法及其应用的研究", 《中国博士学位论文全文数据库信息科技辑》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109032150A (en) | Rail mounted automatic guide vehicle dynamic dispatching method based on genetic algorithm subsection optimization | |
Zhang et al. | A Q-learning-based hyper-heuristic evolutionary algorithm for the distributed flexible job-shop scheduling problem with crane transportation | |
CN113671910B (en) | An integrated multi-AGV flexible job shop scheduling method, device and medium | |
US20210334428A1 (en) | Method for prediction of dynamic rescheduling with digital twin workshop for circuit breaker and system using the same | |
CN110070235B (en) | Flexible scheduling method for multiple mobile robots | |
CN111966049B (en) | Scheduling control method for production equipment of mixed flow shop | |
CN116523165B (en) | Collaborative optimization method for AMR path planning and production scheduling in flexible job shop | |
CN114971317B (en) | An optimization method for equipment production scheduling and in-field logistics scheduling based on improved genetic algorithm | |
CN112947319A (en) | Batch scheduling optimization method and system for multiple production lines in cold rolling area of iron and steel enterprise | |
CN113902289A (en) | AGV path planning method based on flexible space-time network model | |
CN110134092A (en) | Method and system for dynamic dispatching of rail-type automatic guided vehicles based on harmony search | |
CN110956325B (en) | Electric vehicle path planning method with time window | |
CN110092158A (en) | The dispatching method of crossed loops one-way circulation handling system | |
CN111813054A (en) | A method and system for dynamic scheduling of tracked guided vehicles | |
CN114971124A (en) | Intelligent scheduling method for electroplating production line based on slime mold algorithm | |
CN116578042A (en) | Multi-machine collaborative position trajectory velocity preprocessing method for industrial robots | |
CN109491342B (en) | A kind of multi-process intelligence RGV dynamic dispatching method, apparatus and system | |
CN118083808A (en) | Dynamic path planning method and device for crown block system | |
KR102180545B1 (en) | Numerical control devices using virtual machine tool to limit machining error | |
CN116149276A (en) | A method and system for collaborative scheduling of AGVs and stations in a bufferless assembly line assembly system | |
CN115903680A (en) | Motion control method for independent planning of each axis of manipulator | |
Yuan et al. | Flexible Assembly Shop Scheduling Based on Improved Genetic Algorithm | |
CN115903716B (en) | A method for implementing AGV scheduling in manufacturing workshop based on NSGA-II | |
CN109850516B (en) | A kind of intelligence RGV dynamic dispatching method, apparatus and system | |
CN112926782A (en) | Subway speed curve optimization method based on coasting-constant speed |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190816 |