Scheduling method and device for distributed flexible job shop with automatic guided vehicle

By combining the dual deep neural network with the quality-diversity optimization algorithm, factory allocation, machine selection and automatic guided vehicle selection are optimized, which solves the time and energy consumption problems in distributed flexible job shop scheduling and improves production efficiency and resource utilization. Rate.

CN118655840AActive Publication Date: 2024-09-17WEIKE ZHIJIAN (FOSHAN) TECHNOLOGY CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410670337.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-28
Publication Date
2024-09-17
Estimated Expiration
2044-05-28

AI Technical Summary

Technical Problem

Existing technology is difficult to effectively solve the distributed flexible job shop scheduling problem with automatic guided vehicles, especially how to save time cost and energy consumption as much as possible in large-scale production tasks, resulting in increased machine idle time and reduced production efficiency.

Method used

Using dual deep neural networks combined with quality-diversity optimization algorithms, through encoding and decoding rules and local search operators, it optimizes factory allocation, machine selection, process sequencing and automatic guided vehicle selection to generate efficient scheduling plans to meet the maximum completion time and energy consumption targets.

Benefits of technology

It significantly shortens the idle time and completion time of the machine, improves resource utilization, reduces production costs, and improves production efficiency and the utilization efficiency of automatic guided vehicles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118655840A
    Figure CN118655840A
Patent Text Reader

Abstract

The invention discloses a scheduling method and device for a distributed flexible job shop with an automatic guided vehicle, and the method comprises the steps: taking the maximum completion time and energy consumption of a minimum scheduling sequence as optimization targets, and building a coding and decoding rule; two solutions are randomly obtained from the feature space, a crossover-mutation strategy is executed on the two obtained solutions, and two new solutions are generated; selecting a solution, and deciding a used local search operator by using a double deep neural network; executing the selected local search operator to obtain a new scheduling scheme, and updating the feature space; judging whether a termination condition is met or not, and if yes, outputting the current optimal scheduling sequence and two target values; and if not, returning to execute the step of randomly obtaining the two solutions from the feature space. According to the invention, the scheduling problem of the distributed flexible job shop with the automatic guided vehicle is solved, the completion time of the scheduling sequence in workshop production is shortened, and the energy consumption of processing is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of flexible job shop scheduling, and in particular to a scheduling method and device for a distributed flexible job shop with an automatic guided vehicle. Background Art

[0002] Manufacturing is the cornerstone of intelligent manufacturing, and its production scheduling needs to have the functions of autonomous learning and continuous improvement to meet the rapidly changing production environment and social needs of the modern world. The distributed flexible job shop scheduling problem is a common production scheduling problem in the manufacturing industry, and is widely used in steelmaking and continuous casting, glass manufacturing, logistics and transportation, drone scheduling and other fields. The distributed flexible job shop scheduling problem is a complex discrete large-scale combinatorial optimization problem with the characteristics of NP-hardness. When faced with a slightly larger scale problem, it is difficult to solve this problem using precise or traditional mathematical methods. In the actual production process, it is also necessary to consider that different tasks or jobs need to be transported to other machines for processing after a certain process is completed, which makes the problem more complex and difficult to solve. When faced with large-scale production tasks, how to save time costs and energy consumption as much as possible has become a difficult problem that companies urgently need to solve.

[0003] At present, the research on the scheduling problem of distributed flexible job shops with automated guided vehicles is not strong enough. There are almost no inventions or relevant literature to establish corresponding encoding and decoding rules for this problem, and there is no relevant algorithm technology. Therefore, it is very important to establish encoding and decoding rules for the scheduling problem of distributed flexible job shops with automated guided vehicles and design corresponding optimization algorithms. In addition, the task assignment based on personnel's experience is often not the optimal scheduling solution. If the scheduling arrangement is unreasonable, it may cause a lot of idle time for the machine, thereby extending the processing time, increasing ineffective energy consumption, and reducing production efficiency. Summary of the invention

[0004] In order to solve at least one of the technical problems existing in the prior art to a certain extent, the object of the present invention is to provide a scheduling method and device for a distributed flexible job shop with an automatic guided vehicle.

[0005] The technical solution adopted by the present invention is:

[0006] A method for scheduling a distributed flexible job shop with an automated guided vehicle comprises the following steps:

[0007] With the optimization goal of minimizing the maximum completion time and energy consumption of the scheduling sequence, the encoding and decoding rules for the distributed flexible job shop scheduling problem with automated guided vehicles are established.

[0008] Randomly obtain two solutions from the feature space, perform a crossover-mutation strategy on the two solutions obtained, and generate two new solutions;

[0009] If two new solutions dominate complementary, one of them is selected and a dual deep neural network is used to decide the local search operator to use;

[0010] Execute the selected local search operator to obtain a new scheduling scheme and update the feature space;

[0011] Determine whether the termination condition is met. If so, output the current optimal scheduling sequence and two target values. If not, return to the step of randomly obtaining two solutions from the feature space.

[0012] Furthermore, the objective function of the distributed flexible job shop scheduling problem with automated guided vehicles is:

[0013]

[0014]

[0015] Among them, obj1 is the first optimization objective, which is to minimize the maximum completion time of the scheduling sequence; is the wth i The process, w i is the last process of workpiece i; obj2 is the second optimization target, i.e., energy consumption value; I, J i , and M i,j Represent the workpiece set, process set and process O respectively i,j Optional machine set;TP i,j,k For process O i,j Processing energy consumption on machine k, TI k is the idle energy consumption of machine k; TT i,j,k,k , for process O i,j Transport energy consumption from machine k to machine k'.

[0016] Furthermore, the constraints of the distributed flexible job shop scheduling problem with automated guided vehicles include:

[0017] 1) A workpiece can only be assigned to one factory for processing;

[0018] 2) Each process has one and only one direct predecessor and successor in the scheduling sequence. If the process is at the first or last position in the sequence, its predecessor and successor are both empty;

[0019] 3) One machine can only process one process at a time, and one process can only be processed by one machine at a time;

[0020] 4) A certain process of a workpiece can only be transported by one automated guided vehicle, and one automated guided vehicle can only transport a certain process of a workpiece at a time;

[0021] 5) The AGV cannot be preempted or interrupted during transportation;

[0022] 6) Once a process starts, it cannot be preempted or interrupted by other processes;

[0023] 7) The time for setting up, adjusting and testing the machine is included in the processing time;

[0024] 8) At time zero, all machines and automated guided vehicles are available;

[0025] 9) The length of the process processing time is greater than 0.

[0026] Furthermore, the encoding and decoding rules include:

[0027] Generate four integer vectors of factory assignment FA, process sorting OS, machine selection MS and automatic guided vehicle selection AS;

[0028] Traverse the data in the four vectors and extract the numbers of the factory, machine, and AGV assigned to each process;

[0029] Decoding is performed based on the allocation of the code: After determining the process and the workpiece corresponding to the process, the workpiece is first allocated to the corresponding factory, and then the machine to be processed is selected;

[0030] If it is the first process, the AGV goes to the warehouse to get the workpiece, and then transports the workpiece to the preset machine for processing; otherwise, the AGV goes to the machine processed in the previous process to get the workpiece, and then transports the workpiece to the machine determined in this process for processing;

[0031] Calculate the completion time of the entire sequence and obtain the target value, characteristics, and corresponding solutions.

[0032] Furthermore, the scheduling method further comprises the following steps:

[0033] Generate initial solutions under the framework of quality-diversity optimization algorithm and store the solutions in feature space;

[0034] If the corresponding cell in the feature space is empty, the solution is directly stored;

[0035] If the corresponding cell in the feature space is not empty, compare the newly generated solution with the original solution in the cell; if the new solution dominates the original solution, replace the original solution with the new solution; if the new solution and the original solution do not dominate each other, determine the number of Pareto solutions in the cell; if the number of Pareto solutions in the cell exceeds the preset upper limit, randomly select a solution, otherwise, store it directly; in other cases, the new solution is discarded.

[0036] Furthermore, an initial solution is generated under the framework of the quality-diversity optimization algorithm, including:

[0037] According to the presence or absence of corresponding feature units in the behavior space and the size of the target value, the solution in the grid is updated to determine whether the filling conditions are met;

[0038] If there is no solution in the grid, the current solution is saved in the grid;

[0039] If there is a solution in the grid, determine whether the target value of the solution in the grid is less than the target value of the current solution; if so, the newly generated solution replaces the solution in the grid; otherwise, the solution in the grid remains unchanged.

[0040] Furthermore, the crossover-mutation strategy includes a crossover operation and a mutation operation, and the crossover operation adopts a two-point crossover operation;

[0041] Mutation operations include:

[0042] Randomly swap any two positions of one of the four integer vectors: factory assignment FA, operation sequence OS, machine selection MS, and automatic guided vehicle selection AS to generate two new solutions.

[0043] Furthermore, if the two new solutions are complementary, one of the solutions is selected, and a dual deep neural network is used to decide the local search algorithm to be used, including:

[0044] Find a solution with better performance from the two new solutions; if the two new solutions are complementary, randomly select a solution, re-record the solution as x, and store the solution x in the feature space;

[0045] The solution x containing four integer vectors of factory assignment FA, process sequencing OS, machine selection MS and automated guided vehicle selection AS is transmitted as input to the dual deep neural network;

[0046] The dual deep neural network outputs an execution action as a local search operator.

[0047] Further, the local search operators include four types: a first local search operator based on process sequencing design, a second local search operator based on machine allocation design, a third local search operator based on factory allocation design, and a fourth local search operator based on automatic guided vehicle allocation design;

[0048] The operation steps of the first local search operator based on process sequencing design include:

[0049] Find the OS vector of the process order in the current scheduling plan;

[0050] Randomly select two processes O that do not belong to the same workpiece i from the process sorting OS vector i,j and process O i’,j ;

[0051] Exchange process O i,j and process O i’,j Position in the process sorting OS vector;

[0052] Update the information in the process sorting OS vector to obtain a new scheduling plan;

[0053] The operation steps of the second local search operator based on machine allocation design include:

[0054] Find the OS vector of the process order in the current scheduling plan;

[0055] Randomly select a process O from the process ordering OS vector i,j ;

[0056] Find process O i,j Optional processing machine set M i,j ;

[0057] If there are other i,j If the machine is different from the optional machine, then replace process O i,j Processing machines;

[0058] Update the information in the machine selection MS vector to obtain a new scheduling plan;

[0059] The operation steps of the third local search operator based on factory allocation design include:

[0060] Find the critical factory f_critical of the current solution and randomly select a job cri_job from the critical factory f_critical;

[0061] Randomly select a non-critical plant f_rand from the solution;

[0062] Randomly select a job rnd_job from a non-critical factory f_rand;

[0063] Exchange the factories to which the artifacts rnd_job and cri_job are assigned;

[0064] Update the workpiece information in the factory allocation FA vector and get a new solution;

[0065] The operation steps of the fourth local search operator based on the automatic guided vehicle allocation design include:

[0066] Find the OS vector of the process order in the current scheduling plan;

[0067] Randomly select a process O from the process ordering OS vector i,j ;

[0068] Change process O i,j Assigned AGVs;

[0069] Update the information in the AGV selection AS vector and get a new scheduling plan.

[0070] Another technical solution adopted by the present invention is:

[0071] A dispatching device for a distributed flexible workshop with an automatic guided vehicle, comprising:

[0072] at least one processor;

[0073] at least one memory for storing at least one program;

[0074] When the at least one program is executed by the at least one processor, the at least one processor implements the above method.

[0075] Another technical solution adopted by the present invention is:

[0076] A computer-readable storage medium stores a program executable by a processor, wherein the program executable by the processor is used to execute the method described above when executed by the processor.

[0077] The beneficial effects of the present invention include:

[0078] Method level:

[0079] (1) The invention proposes a quality-diversity algorithm that can store Pareto solution sets, based on which the diversity of solutions is greatly improved;

[0080] (2) A four-layer encoding and decoding rule is proposed. According to the four vectors of factory allocation FA, machine selection MS, process sorting OS, and automatic guided vehicle selection AS, appropriate factories, machines, and automatic guided vehicles are assigned to the processes in the scheduling sequence. The decoding rule is then used to obtain the two target values ​​of maximum completion time and energy consumption.

[0081] (3) The combination of dual-depth neural network and quality-diversity algorithm can intelligently help the algorithm make decisions more effectively, thus avoiding the short-term nature of random selection. The intelligent selection of operators by dual-depth neural network exceeds the random selection method, promoting the development of understanding in the optimal direction.

[0082] (4) Four local search operators are designed to take automated guided vehicles into account and work in synergy with the local search operators designed for processes, machines, and factories to comprehensively improve the quality of the solution.

[0083] Application level:

[0084] (1) Compared with the traditional distributed flexible job shop scheduling method, the optimization algorithm provided by the present invention studies the problem from the perspective of feature space, which is convenient for users to design and use;

[0085] (2) It can provide more high-quality scheduling solutions and can learn and improve intelligently;

[0086] (3) It can effectively optimize the scheduling sequence according to user needs, improve the efficiency of the use of machines and automated guided vehicles, and improve the overall productivity of the enterprise;

[0087] (4) By effectively ensuring load balancing among multiple factories, uneven resource allocation during the processing process can be avoided, thereby maximizing the utilization of the machine. Compared with the original plan, the optimized scheduling plan significantly shortens the idle time and completion time of the machine, effectively reduces the waste of resources, and further reduces the production cost of the enterprise. The present invention can not only improve production efficiency, but also optimize the production layout and resource allocation of the factory, thereby bringing greater competitive advantages to the enterprise.

[0088] In general, the present invention provides a scheduling solution for a distributed flexible job shop with an automated guided vehicle, which provides a good solution for the scheduling of distributed flexible job shops, can ensure the resource allocation of the factory, improve the utilization efficiency of machines and automated guided vehicles, and reduce the completion time and energy consumption of the entire scheduling solution. BRIEF DESCRIPTION OF THE DRAWINGS

[0089] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the embodiments of the present invention or the drawings of related technical solutions in the prior art are introduced below. It should be understood that the drawings introduced below are only for the convenience of clearly describing some embodiments of the technical solutions of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0090] Figure 1 is a flow chart of a scheduling method for a distributed flexible job shop with an automatic guided vehicle in an embodiment of the present invention;

[0091] Figure 2 is a performance comparison chart of the present invention and other algorithms;

[0092] Figure 3 It is a comparison diagram of the convergence curves of the present invention and other algorithms. DETAILED DESCRIPTION

[0093] Embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar components or components having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and are not to be construed as limitations of the present invention. For the step numbers in the following embodiments, they are only provided for the convenience of explanation, and the order between the steps is not limited in any way, and the execution order of each step in the embodiment can be adaptively adjusted according to the understanding of those skilled in the art.

[0094] In the description of the present invention, it should be understood that descriptions involving orientations, such as up, down, front, back, left, right, etc., and orientations or positional relationships indicated are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or component referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.

[0095] In the description of the present invention, the meaning of "several" is one or more, the meaning of "more" is two or more, and the meanings of "greater than", "less than", "exceed" and the like are understood as not including the number itself, and the meanings of "above", "below", "within" and the like are understood as including the number itself. If there is a description of the first and the second, it is only used for the purpose of distinguishing the technical features, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features. In addition, "and / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects before and after are in an "or" relationship.

[0096] In the description of the present invention, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the present invention based on the specific content of the technical solution.

[0097] In order to efficiently solve the scheduling problem of distributed flexible job shops with automated guided vehicles, the present invention proposes an optimization algorithm with self-learning and adaptive technology, with the goal of optimizing the maximum completion time and energy consumption at the same time, and establishes reasonable and effective encoding and decoding rules and a quality-diversity algorithm enhanced by dual deep neural networks. Compared with the traditional distributed flexible job shop scheduling method, the optimization algorithm provided by the present invention finds solutions from the behavior space from a completely new perspective, requires fewer algorithm parameters, can be designed according to the specific needs of users, and finds higher quality solutions within a limited time. The optimization algorithm of the present invention can automatically allocate all tasks, effectively balance the loads of machines and automated guided vehicles between multiple factories, avoid unreasonable allocation caused by human factors, improve the stability and reliability of the production line, reduce time and energy waste, and thus reduce the overall production cost. Using the optimization algorithm of the present invention, the completion time and energy consumption of the enterprise's production tasks can be greatly reduced, and the effective utilization rate of machines and automated guided vehicles in the factory can be significantly improved, ultimately improving the productivity level of the enterprise.

[0098] like Figure 1 As shown, this embodiment provides a scheduling method for a distributed flexible job shop with an automated guided vehicle, comprising the following steps:

[0099] Step 1: With the optimization goal of minimizing the maximum completion time and energy consumption of the scheduling sequence at the same time, the encoding and decoding rules of the distributed flexible job shop scheduling problem with automated guided vehicles are established. Based on the four vectors of factory allocation FA, machine selection MS, process sorting OS, and automated guided vehicle selection AS in the four-layer encoding rules, appropriate factories, machines, and automated guided vehicles are allocated to the processes in the scheduling sequence, and the decoding rules are used to initialize the scheduling sequence and calculate the corresponding target values; the objective function of the distributed flexible job shop scheduling problem with automated guided vehicles is:

[0100]

[0101]

[0102] Among them, obj1 is the first optimization objective, which is to minimize the maximum completion time of the scheduling sequence; is the wth i The process, w iis the last process of workpiece i; obj2 is the second optimization target, i.e., energy consumption value; I, J i , and M i,j Represent the workpiece set, process set and process O respectively i,j Optional machine set;TP i,j,k For process O i,j Processing energy consumption on machine k, TI k is the idle energy consumption of machine k; TT i,j,k,k , for process O i,j Transport energy consumption from machine k to machine k'.

[0103] Step 2: Generate the initial solution under the framework of the quality-diversity optimization algorithm and store it in the feature space; if the corresponding cell in the feature space is empty, store it directly; otherwise, compare the newly generated solution with the original solution in the cell: if the new solution dominates the original solution, replace the original solution with the new solution; if the new solution and the original solution do not dominate each other, determine the number of Pareto solutions in the cell: if the number of Pareto solutions in the cell exceeds the upper limit, randomly select a solution, otherwise, store it directly; in other cases, the new solution is discarded.

[0104] Step 3: Randomly select two solutions x and y from the feature space (one of which comes from the global Pareto solution set) and perform a crossover-mutation strategy on them. The crossover uses the traditional two-point crossover operation, and the mutation randomly changes the order of one of the four vectors FA, MS, OS and AS, and then generates two new solutions x′ and y′.

[0105] Step 4: Select the solution with better performance from the two solutions x′ and y′ obtained above, denoted as solution z. If the two solutions are complementary, one of the solutions is randomly selected, and then a dual deep neural network is used to decide the local search operator to be used.

[0106] Step 5: Execute the selected local search operator and update the solution saved in the feature space. The method of updating the feature space is consistent with that described in step 2.

[0107] Step 6: Determine whether the termination condition is met. If so, the evaluation ends and the current optimal scheduling sequence and two target values ​​obj1 and obj2 are output. Otherwise, continue to step 3.

[0108] As an optional implementation, in step 1, the encoding and decoding rules used include the following steps:

[0109] First, four integer vectors are generated: factory assignment FA, process ordering OS, machine selection MS, and automated guided vehicle selection AS;

[0110] Secondly, traverse the data in the four vectors and extract the numbers of the factory, machine, and AGV assigned to each process;

[0111] Next, decoding is performed according to the allocation of the code: after the process and its corresponding workpiece are determined, they are first assigned to the corresponding factory, and then the machine to be processed is selected;

[0112] Subsequently, if it is the first process, the automatic guided vehicle goes to the warehouse to pick up the workpiece, and then transports it to a pre-determined machine for processing; otherwise, the automatic guided vehicle goes to the machine processed in the previous process to pick up the workpiece, and then transports it to the machine determined for this process for processing.

[0113] Finally, the completion time of the entire sequence is calculated to obtain the target value, characteristics and corresponding solutions.

[0114] The constraints of the distributed flexible job shop scheduling problem with automated guided vehicles include:

[0115] 1) Ensure that a workpiece can only be assigned to one factory for processing;

[0116] 2) Ensure that each process has one and only one direct predecessor and successor in the scheduling sequence. If the process is at the first or last position in the sequence, its predecessor and successor are both empty;

[0117] 3) Ensure that one machine can only process one process at a time, and one process can only be processed by one machine at a time;

[0118] 4) Ensure that a certain process of a workpiece can only be transported by one automated guided vehicle, and one automated guided vehicle can only transport a certain process of a workpiece at a time;

[0119] 5) Ensure that the AGV cannot be preempted or interrupted during transportation;

[0120] 6) Ensure that once a process starts, it cannot be preempted or interrupted by other processes;

[0121] 7) Ensure that the machine setting, adjustment and testing time are included in the processing time;

[0122] 8) Ensure that all machines and automated guided vehicles are available at time zero;

[0123] 9) Ensure that the process processing time is greater than 0.

[0124] As an optional implementation, in step 2, the initial solution generated under the quality-diversity optimization algorithm framework includes the following steps:

[0125] First, the solution in the grid is updated according to the presence or absence of the corresponding feature unit in the behavior space and the size of the target value to determine whether the filling condition is met.

[0126] Secondly, if no solution exists in the grid, the current solution is saved in the grid;

[0127] Finally, if there is a solution in the grid, it is determined whether the target value of the solution in the grid is less than the target value of the current solution. If so, the newly generated solution replaces the solution in the grid, otherwise, the solution in the grid remains unchanged.

[0128] As an optional implementation, in step 3, the crossover-mutation strategy step includes:

[0129] First, the crossover operation uses the traditional two-point crossover operation;

[0130] Secondly, the mutation operation randomly swaps any two positions of one of the four vectors FA, MS, OS, and AS;

[0131] Finally, two new solutions are generated and recorded as: x′ and y′.

[0132] As an optional implementation, in step 4, after performing the crossover-mutation operation, using a dual deep neural network to decide the local search operator to use includes the following steps:

[0133] First, find a solution with better performance from the two new solutions x′ and y′. If the two solutions are complementary, randomly select one solution and re-record it as solution z and store it in the feature space.

[0134] Secondly, the solution z containing four vectors of FA, MS, OS and AS is passed as input to the dual deep neural network;

[0135] Finally, the neural network outputs an execution action, which is the local search operator to be executed.

[0136] There are four local search operators to choose from. The first local search operator based on process sorting design has the following operation steps:

[0137] First, find the OS vector in the current scheduling scheme p;

[0138] Secondly, randomly select two processes O from the OS vector that do not belong to the same workpiece i i,j and O i’,j ;

[0139] Then, exchange O i,j and O i’,jPosition in the OS vector;

[0140] Finally, the information in the machine sort vector OS is updated and a new scheduling plan p′ is obtained.

[0141] The operation steps of the second local search operator based on machine allocation design include:

[0142] First, find the OS vector in the current scheduling scheme p;

[0143] Next, randomly select a process O from the OS vector i,j ;

[0144] Then, find process O i,j Optional processing machine set M i,j ;

[0145] Next, if there are other i,j If the machine is different, replace O i,j Processing machines;

[0146] Finally, the information in the machine sort vector MS is updated and a new scheduling plan p′ is obtained.

[0147] The operation steps of the third local search operator based on factory allocation design include:

[0148] First, find the critical factory f_critical of the current solution x and randomly select a job cri_job from f_critical;

[0149] Secondly, randomly select a non-critical factory f_rand from the solution p;

[0150] Then, a job rnd_job is randomly selected from f_rand;

[0151] Next, swap the factories assigned to rnd_job and cri_job;

[0152] Finally, the workpiece information in the factory assignment vector FA is updated and a new solution p′ is obtained.

[0153] The operation steps of the fourth local search operator based on the automatic guided vehicle allocation design include:

[0154] First, find the OS vector in the current scheduling scheme p;

[0155] Next, randomly select a process O from the OS vector i,j ;

[0156] Then, change process O i,jAssigned AGVs;

[0157] Finally, the information in the automatic guided vehicle assignment vector AS is updated and a new scheduling plan p′ is obtained.

[0158] This embodiment improves the global search capability of the algorithm and increases the diversity of solutions by using a quality-diversity framework, and further improves the local search capability of the algorithm and the quality of solutions by using a three-layer local search strategy and a machine idle time saving method.

[0159] This embodiment combines a dual deep neural network and a quality-diversity algorithm, and uses deep reinforcement learning technology to intelligently make strategic decisions for the algorithm, thereby overcoming the shortsightedness of human factors and achieving a balance between search and development capabilities. The present invention is further described below through specific embodiments:

[0160] The simulation experiment uses 20 standard examples, where the number of workpieces j = {10, 20, 30, 40, 50, 100}, the number of machines m = 5, the number of automatic guided vehicles a = 2, the number of factories f = {2, 3, 4, 5, 6, 7}, the workpiece processing time is evenly distributed in the range of [5, 20], and the transportation time is evenly distributed in the range of [2, 12]. In the specific examples of the present invention, detailed descriptions and experimental verifications will be carried out.

[0161] The quality-diversity algorithm based on dual deep neural networks proposed in the present invention, referred to as DQN-QD, is compared with the original multi-objective quality-diversity algorithm QD (MOME), NSGA-II and MOEA / D. In addition, the most effective solution algorithms SPAMA and DQCE are also compared to verify the effectiveness of the present invention. The above-mentioned comparison algorithms are all high-performance optimization algorithms proposed in recent years. In order to reduce the error, each example is repeated 20 times. Hypervolume HV is used as an evaluation index of algorithm performance. HV can simultaneously evaluate the convergence and diversity of the solution. The larger its value, the better the overall performance of the algorithm.

[0162] Figure 2 It is an intuitive representation of the Pareto solution set obtained by all the comparison algorithms. Specifically, Figure 2 The distribution range of the solutions corresponding to the HV values ​​shows that DQN-QD is significantly better than NSGA-II, MOEA / D, MOME, SPAMA and DQCE algorithms. In addition, Figure 3 The distribution of Pareto solutions of the six algorithms in a single run on a case of 100 workpieces and 7 factories is given. Figure 3 It can be seen that the quality of the Pareto solution set obtained by the DQN-QD algorithm of the present invention far exceeds that of other comparative algorithms.

[0163] This embodiment also provides a scheduling device for a distributed flexible job shop with an automatic guided vehicle, including:

[0164] at least one processor;

[0165] at least one memory for storing at least one program;

[0166] When the at least one program is executed by the at least one processor, the at least one processor implements Figure 1 The method shown.

[0167] A scheduling device for a distributed flexible job shop with an automatic guided vehicle in this embodiment can execute a scheduling method for a distributed flexible job shop with an automatic guided vehicle provided by an embodiment of the method of the present invention, can execute any combination of implementation steps of the method embodiment, and has the corresponding functions and beneficial effects of the method.

[0168] The present application also discloses a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device can read the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes Figure 1 The method shown.

[0169] This embodiment also provides a storage medium storing instructions or programs that can execute a scheduling method for a distributed flexible job shop with an automatic guided vehicle provided by an embodiment of the method of the present invention. When the instructions or programs are run, any combination of implementation steps of the method embodiment can be executed, and the corresponding functions and beneficial effects of the method can be obtained.

[0170] In some selectable embodiments, the function / operation mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the function / operation involved, the two boxes shown in succession can actually be executed substantially simultaneously or the boxes can sometimes be executed in reverse order. In addition, the embodiment presented and described in the flow chart of the present invention is provided by way of example, for the purpose of providing a more comprehensive understanding of technology. The disclosed method is not limited to the operation and logic flow presented herein. Selectable embodiments are expected, wherein the order of various operations is changed and the sub-operation of a part for which is described as a larger operation is performed independently.

[0171] In addition, although the present invention is described in the context of functional modules, it should be understood that, unless otherwise specified, one or more of the functions and / or features described may be integrated into a single physical device and / or software module, or one or more functions and / or features may be implemented in separate physical devices or software modules. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the present invention. More specifically, in view of the properties, functions, and internal relationships of the various functional modules in the device disclosed herein, the actual implementation of the module will be understood within the conventional skills of the engineer. Therefore, those skilled in the art can implement the present invention set forth in the claims without excessive experimentation using ordinary techniques. It is also understood that the specific concepts disclosed are merely illustrative and are not intended to limit the scope of the present invention, which is determined by the full scope of the appended claims and their equivalents.

[0172] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, and other media that can store program codes.

[0173] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0174] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0175] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0176] In the above description of this specification, the description with reference to the terms "one embodiment / example", "another embodiment / example" or "certain embodiments / examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0177] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.

[0178] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the above embodiments. Those skilled in the art may make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of this application.

Claims

1. A method for scheduling a distributed flexible job shop with an automated guided vehicle, characterized in that: The following steps are involved: Taking minimizing the maximum completion time and energy consumption of the scheduling sequence as the optimization goal, the encoding and decoding rules of the distributed flexible job shop scheduling problem with automated guided vehicles are established; Randomly obtain two solutions from the feature space, perform a crossover-mutation strategy on the two solutions obtained, and generate two new solutions; If two new solutions dominate complementary, one of them is selected and a dual deep neural network is used to decide the local search operator to use; Execute the selected local search operator to obtain a new scheduling scheme and update the feature space; Determine whether the termination condition is met. If so, output the current optimal scheduling sequence and two target values. If not, return to the step of randomly obtaining two solutions from the feature space.

2. The method for scheduling a distributed flexible job shop with an automated guided vehicle according to claim 1, characterized in that: The objective function of the distributed flexible job shop scheduling problem with automated guided vehicles is: Among them, obj1 is the first optimization objective, which is to minimize the maximum completion time of the scheduling sequence; is the wth i The process, w i is the last process of workpiece i; obj2 is the second optimization target, i.e., energy consumption value; I, J i , and M i,j Represent the workpiece set, process set and process O respectively i,j Optional machine set;TP i,j,k For process O i,j Processing energy consumption on machine k, TI k is the idle energy consumption of machine k; TT i,j,k,k’ For process O i,j Transport energy consumption from machine k to machine k'.

3. The method for scheduling a distributed flexible job shop with an automated guided vehicle according to claim 1, characterized in that: The constraints of the distributed flexible job shop scheduling problem with automated guided vehicles include: 1) A workpiece can only be assigned to one factory for processing; 2) Each process has one and only one direct predecessor and successor in the scheduling sequence. If the process is the first or last in the sequence, the predecessor and successor of the process are both empty; 3) One machine can only process one process at a time, and one process can only be processed by one machine at a time; 4) A certain process of a workpiece can only be transported by one automated guided vehicle, and one automated guided vehicle can only transport a certain process of a workpiece at a time; 5) The AGV cannot be preempted or interrupted during transportation; 6) Once a process starts, it cannot be preempted or interrupted by other processes; 7) The time for setting up, adjusting and testing the machine is included in the processing time; 8) At time zero, all machines and automated guided vehicles are available; 9) The length of the process processing time is greater than 0.

4. The method for scheduling a distributed flexible job shop with an automated guided vehicle according to claim 1, characterized in that: The encoding and decoding rules include: Generate four integer vectors of factory assignment FA, process sorting OS, machine selection MS and automatic guided vehicle selection AS; Traverse the data in the four vectors and extract the numbers of the factory, machine, and AGV assigned to each process; Decoding is performed based on the allocation of the code: After determining the process and the workpiece corresponding to the process, the workpiece is first allocated to the corresponding factory, and then the machine to be processed is selected; If it is the first process, the AGV goes to the warehouse to get the workpiece, and then transports the workpiece to the preset machine for processing; otherwise, the AGV goes to the machine processed in the previous process to get the workpiece, and then transports the workpiece to the machine determined in this process for processing; Calculate the completion time of the entire sequence and obtain the target value, characteristics, and corresponding solutions.

5. The method for scheduling a distributed flexible job shop with an automated guided vehicle according to claim 1, characterized in that: The scheduling method further comprises the following steps: Generate initial solutions under the framework of quality-diversity optimization algorithm and store the solutions in feature space; If the corresponding cell in the feature space is empty, the solution is directly stored; If the corresponding cell in the feature space is not empty, compare the newly generated solution with the original solution in the cell; if the new solution dominates the original solution, replace the original solution with the new solution; if the new solution and the original solution do not dominate each other, determine the number of Pareto solutions in the cell; if the number of Pareto solutions in the cell exceeds the preset upper limit, randomly select a solution, otherwise, store it directly; in other cases, the new solution is discarded.

6. The method for scheduling a distributed flexible job shop with an automated guided vehicle according to claim 5, characterized in that: The initial solution is generated under the framework of the quality-diversity optimization algorithm, including: According to the presence or absence of corresponding feature units in the behavior space and the size of the target value, the solution in the grid is updated to determine whether the filling conditions are met; If there is no solution in the grid, the current solution is saved in the grid; If there is a solution in the grid, determine whether the target value of the solution in the grid is less than the target value of the current solution; if so, the newly generated solution replaces the solution in the grid; otherwise, the solution in the grid remains unchanged.

7. The method for scheduling a distributed flexible job shop with an automated guided vehicle according to claim 1, characterized in that: The crossover-mutation strategy includes a crossover operation and a mutation operation, and the crossover operation adopts a two-point crossover operation; Mutation operations include: Randomly swap any two positions of one of the four integer vectors: factory assignment FA, operation sequence OS, machine selection MS, and automatic guided vehicle selection AS to generate two new solutions.

8. The method for scheduling a distributed flexible job shop with an automated guided vehicle according to claim 1, characterized in that: If two new solutions are complementary, one of the solutions is selected, and a dual deep neural network is used to decide the local search algorithm to be used, including: If the two new solutions are complementary and dominant, a solution is randomly selected, renamed as x, and the solution x is stored in the feature space; The solution x containing four integer vectors of factory assignment FA, process sequencing OS, machine selection MS and automated guided vehicle selection AS is transmitted as input to the dual deep neural network; The dual deep neural network outputs an execution action as a local search operator.

9. The method for scheduling a distributed flexible job shop with an automated guided vehicle according to claim 1, characterized in that: The local search operators include four types: a first local search operator based on process sequencing design, a second local search operator based on machine allocation design, a third local search operator based on factory allocation design, and a fourth local search operator based on automatic guided vehicle allocation design; The operation steps of the first local search operator based on process sequencing design include: Find the OS vector of the process order in the current scheduling plan; Randomly select two processes O that do not belong to the same workpiece i from the process sorting OS vector i,j and process O i’,j ; Exchange process O i,j and process O i’,j Position in the process sorting OS vector; Update the information in the process sorting OS vector to obtain a new scheduling plan; The operation steps of the second local search operator based on machine allocation design include: Find the OS vector of the process order in the current scheduling plan; Randomly select a process O from the process ordering OS vector i,j ; Find process O i,j Optional processing machine set M i,j ; If there are other i,j If the machine is different from the optional machine, then replace process O i,j Processing machines; Update the information in the machine selection MS vector to obtain a new scheduling plan; The operation steps of the third local search operator based on factory allocation design include: Find the critical factory f_critical of the current solution and randomly select a job cri_job from the critical factory f_critical; Randomly select a non-critical plant f_rand from the solution; Randomly select a job rnd_job from a non-critical factory f_rand; Exchange the factories to which the artifacts rnd_job and cri_job are assigned; Update the workpiece information in the factory allocation FA vector and get a new solution; The operation steps of the fourth local search operator based on the automatic guided vehicle allocation design include: Find the OS vector of the process order in the current scheduling plan; Randomly select a process O from the process ordering OS vector i,j ; Change process O i,j Assigned AGVs; Update the information in the AGV selection AS vector and get a new scheduling plan.

10. A dispatching device for a distributed flexible workshop with an automated guided vehicle, characterized in that: include: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Multi-agent job shop negotiation scheduling optimization method

    CN112101613A

  • Integrated multi-AGV flexible job shop scheduling multi-objective optimization method

    CN116991122A

  • Scheduling method and device for distributed flexible job shop

    CN117872979A