Dynamic scheduling method for spandex head operation based on evolutionary optimization algorithm
Through the dynamic scheduling method based on the evolutionary optimization algorithm, the problem of insufficient staticity of traditional spandex pan head job scheduling is solved, the scheduling status is dynamically updated, and resource utilization and production efficiency are improved.
Patent Information
- Application Number
- CN202211340607.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-29
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2042-10-29
AI Technical Summary
Traditional spandex pan head job scheduling research has static scheduling limitations, and it is difficult to dynamically update the workshop scheduling status in real time, resulting in low resource utilization and production efficiency.
Using a dynamic scheduling method based on evolutionary optimization algorithms, by constructing mathematical models for multiple types of tasks, multi-point, multi-region scheduling and multi-AGV scheduling, combined with reorganization, crossover and insertion scheduling strategies, the scheduling plan is dynamically updated to minimize the maximum completion time.
It improves search efficiency and resource utilization, updates workshop scheduling status in real time, alleviates resource conflicts, and improves production efficiency.
Smart Images

Figure CN115685927B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of dynamic scheduling, and in particular to a method for dynamic scheduling of spandex head operations based on an evolutionary optimization algorithm. Background Art
[0002] Header operation scheduling and multi-AGV scheduling are two indispensable links in the production process of spandex workshop. In traditional research, header operation scheduling and multi-AGV scheduling are regarded as two parts of the sequence. With the in-depth study of scheduling problems, the joint scheduling problem is proposed. The joint scheduling problem considers the relationship between header operation scheduling and multi-AGV scheduling in the spandex scenario. Although the comprehensive study of header operation scheduling and multi-AGV scheduling increases the complexity of the problem and makes the joint scheduling problem more difficult to solve, a large number of literatures show that joint scheduling is conducive to alleviating resource conflicts in spandex header operations, improving equipment utilization, and improving production efficiency.
[0003] The job shop scheduling problem can be defined as allocating service resources to perform a set of jobs within a period of time. This problem can be interpreted as processing n jobs on m machines. Although different jobs may have separate processing sequences, each operation will be processed on a candidate machine within the specified processing time. The job shop scheduling problem can be divided into two parts: job operation sorting, which includes scheduling all job operations on all candidate machines to obtain a feasible and efficient solution; machine allocation, which includes assigning a candidate machine to process one operation among all job operations; therefore, the job shop scheduling problem has been proved to be an NP problem. Summary of the invention
[0004] In view of this, the purpose of the present invention is to provide a dynamic scheduling method for spandex headstock operations based on an evolutionary optimization algorithm, to overcome the limitations and shortcomings of existing research on static scheduling of spandex headstock operations, and to construct a feasible mathematical model based on a rescheduling strategy according to dynamic events, which not only improves the search efficiency, but also can dynamically and real-time update the workshop scheduling status.
[0005] To achieve the above object, the present invention adopts the following technical solution:
[0006] A method for dynamic scheduling of spandex head operations based on an evolutionary optimization algorithm comprises the following steps:
[0007] Step S1: According to the working environment of spandex head operation, a mathematical model of multiple types of tasks, multi-point multi-area scheduling and multi-AGV scheduling is constructed, and constraints of the mathematical model are established;
[0008] Step S2: Based on the constraints of the mathematical model, an evolutionary optimization algorithm is used to obtain a preliminary scheduling plan;
[0009] Step S3: Based on the preliminary scheduling plan, considering the addition of new jobs and the cancellation of old jobs, reorganization scheduling, cross scheduling and insertion scheduling are adopted to complete dynamic scheduling.
[0010] Furthermore, the constraints are:
[0011]
[0012] Among them, ij :Workpiece J i The jth process, Ο ik :Workpiece J i The kth process, μ ij :Process ij The processing station where the processing machine is located, Tr ij :Process i,j-1 and process ij Between the load operation, Tr i′j′ :Process i,j-1 and process ij No-load operation between
[0013] The objective function is to minimize the maximum completion time:
[0014] f=min(C max )(1.1)
[0015] Among them C max To maximize completion time;
[0016] Constraint (1.1) is the objective function:
[0017]
[0018] Among them, Ω i :Workpiece J i A set of process tasks, where n i Indicates workpiece J i The total number of processes, n i +1 is artifact J i Moved back to the full tray rack M m+1 Operation, n i +2 is the operation of returning the trolley to the parking position;
[0019] Ω J : Pan head set, i∈{1, 2, ..., J}, where J is the total number of workpieces;
[0020] Process ij A collection of optional processing machines;
[0021] μ ij :Process ijThe processing station where the processing machine is located;
[0022] Ω M :Processing station set, m=0,1,……,m,m+1,m+2, where M1,……M m Indicates the machining station, M m+2 Indicates parking spaces, M0 and M m+1 Respectively represent empty pan head rack and full pan head rack;
[0023] Constraint (1.2) ensures that only one empty head can be processed on the same machine at the same time:
[0024]
[0025] Among them, Ω R : represents the AGV, r = 1, 2, ..., R, where R is the number of AGVs in the workshop;
[0026] Constraint (1.3) ensures that the same AGV can only carry one pan head at a time:
[0027]
[0028] Among them, P ij For process ij Processing time, ij For workpiece J i The jth process, T ij :Process ij At the processing station ij Completion time; A ij :Process ij Arrival at processing station ij time; t(m+2,0): time from the berth to the empty pan rack.
[0029] Furthermore, the step S2 is specifically as follows:
[0030] Step S21: Initialize parameters, including population number, population size, and number of iterations;
[0031] Step S22: Set the initial time to 0 and wait for the processing event to arrive;
[0032] Step S23: Randomly initialize the population and calculate its fitness value;
[0033] Step S24: Establish a one-to-one mapping relationship between the continuous position of the population and the discrete position, and then obtain the discrete data of the population by sorting;
[0034] Step S25: Improve the crossover operator to form better offspring by combining the genetic alleles of two selected parents in the population with the crossover probability.
[0035] Furthermore, the step S25 is specifically as follows:
[0036] (1) Randomly select job 1 and job 2, and keep subsets of job 3 and job 4 in parent_1 and parent_2;
[0037] (2) Copy the subsets of job 1 and job 2 in parent_1 to the corresponding positions in parent_2 in the same order, and change parent_2 to child_2;
[0038] (3) Copy the subset of job 2 and job 1 in parent_2 to the corresponding positions in parent_1 in the same order and change it to child_1.
[0039] Furthermore, the step S3 is specifically as follows:
[0040] Regarding inserting new jobs and canceling old jobs, when dynamic events arrive, a new schedule will be constructed. When the new job and the previously scheduled job have the same priority, cross scheduling is adopted. If the new job has a higher priority, insertion scheduling is adopted. In the actual manufacturing environment, if the entire operation cannot be changed from the corresponding assigned machine, reorganization scheduling is adopted.
[0041] Compared with the prior art, the present invention has the following beneficial effects:
[0042] The present invention overcomes the limitations and shortcomings of existing research on static scheduling of spandex headstock operations, constructs a feasible mathematical model based on a rescheduling strategy according to dynamic events, improves search efficiency, and can dynamically and real-time update the workshop scheduling status. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 This is a schematic diagram of the dynamic scheduling of spandex head operation based on the evolutionary optimization algorithm of the present invention;
[0044] Figure 2 This is a flow chart of spandex head operation in one embodiment of the present invention;
[0045] Figure 3 This is a schematic diagram of the encoding and decoding principle of the evolutionary algorithm in one embodiment of the present invention.
[0046] Figure 4 It is a schematic diagram of a crossover operator in one embodiment of the present invention. DETAILED DESCRIPTION
[0047] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0048] Please refer to Figure 1-4 The present invention provides a spandex head operation scheduling method based on evolutionary optimization algorithm. The method is aimed at actual spandex head operation, and its operation process is as follows: Figure 2 As shown in the figure, the AGV starts from the parking position to the empty pan head area to carry the empty pan heads and transport them to the machine for processing. After the processing is completed, the AGV moves them to the full pan head area and finally returns to the parking position. If there is a need to clean the pan heads, the empty pan heads need to be moved to the clean pan head area.
[0049] Spandex pan operations include various types of tasks (transporting empty pans and transporting full pans), multi-point and multi-area scheduling (empty pan area, full pan area, berth and clean pan area), and multi-AGV scheduling. An evolutionary optimization algorithm is proposed to solve the scheduling of spandex operation workshops to minimize the completion time, and a rescheduling strategy is introduced to optimize the dynamic scheduling of spandex pan operations.
[0050] The specific steps include:
[0051] Step S1: construct a mathematical model of the optimized environment according to the working environment of the spandex head operation, and establish constraint conditions;
[0052] Step S2: Based on the mathematical model and constraints, an evolutionary optimization algorithm is used to obtain a preliminary scheduling plan;
[0053] Step S3: Based on the preliminary scheduling plan, considering the addition of new jobs and the cancellation of old jobs, reorganization scheduling, cross scheduling and insertion scheduling are adopted to complete dynamic scheduling.
[0054] In this embodiment, a mathematical model for multiple types of tasks, multi-point multi-area scheduling, and multi-AGV scheduling is constructed.
[0055] Where:
[0056] Ω J : Workpiece set, i∈{1, 2, ..., J}, where J is the total number of disk heads
[0057] σ c : Loading time of transport tray
[0058] σ d : Unloading time of transport pan head
[0059] τ rl : The time consumed by the no-load operation from processing station r to processing station l
[0060] P ij :Process ij Processing time
[0061] Ο ij :Workpiece J i The jth process
[0062] Q ij :Process ij At the processing station ij Waiting time
[0063] Constraints:
[0064]
[0065] The objective function of this time is to minimize the maximum completion time:
[0066] f=min(C max ) (1.1)
[0067] Constraint (1.1) is the objective function:
[0068]
[0069] Constraint (1.2) ensures that only one empty head can be processed on the same machine at the same time:
[0070]
[0071] Constraint (1.3) ensures that the same AGV can only carry one pan head at a time:
[0072]
[0073] In this embodiment, the evolutionary optimization algorithm is as follows:
[0074] Step S21: Initialize parameters, including population number, population size, and number of iterations;
[0075] Step S22: Set the initial time to 0 and wait for the processing event to arrive;
[0076] Step S23: Randomly initialize the population and calculate its fitness value;
[0077] Step S24: In the initialization phase, the population has been mapped to the discrete domain. The above update causes it to enter the continuous domain. Therefore, the mechanism needs to be modified. This example proposes a new improved mechanism. First, considering the continuity of the updated population, a one-to-one mapping relationship is established between the continuous position of the population and the discrete position. Then, the discrete data of the population is obtained by sorting, such as Figure 3 As shown;
[0078] Step S25: In order to improve the quality of the population during the calculation process, the crossover operator is improved, and better offspring are formed by combining the genetic alleles of two selected parents in the population with the crossover probability, which can effectively improve the search function of the algorithm.
[0079] Therefore, in this embodiment, preferably, a sequential crossover based on random selection of jobs is adopted, and the process is as follows: Figure 4 As shown, the approximate optimal solution of all solutions in a generation is parent_1, and the corresponding worst solution is parent_2. First, job 1 and job 2 are randomly selected, and a subset of job 3 and job 4 is retained in parent_1 and parent_2.
[0080] Then, Job 1 and Job 2's subsets in parent_1 are copied to the corresponding positions in parent_2 in the same order, and parent_2 is changed to child_2. Finally, Job 2 and Job 1's subsets in parent_2 are copied to the corresponding positions in parent_1 in the same order, and parent_2 is changed to child_1.
[0081] In this embodiment, for inserting new jobs and canceling old jobs, a new schedule will be constructed when dynamic events arrive. When the new job and the previously scheduled job have the same priority, cross scheduling is more effective than reorganization scheduling and insertion scheduling. If the new job has a higher priority, insertion should be selected compared to reorganization scheduling and cross scheduling. In an actual manufacturing environment, if the entire operation cannot be changed from the corresponding assigned machine, reorganization should be selected. Although different rescheduling strategies will lead to different results, each strategy can be selected in different actual environments.
[0082] Rescheduling: The original schedule remains unchanged, and a new schedule suitable for the newly inserted job is constructed for the dynamic event. For this rescheduling strategy, the old schedule will not be affected by the newly inserted job. Since the machines and AGVs are available when all assigned operations are fully processed, the available time of different machines and AGVs may be different in the new schedule.
[0083] Cross-scheduling: refers to combining the unfinished operations of the existing job with the dynamic events to generate a new cross-scheduling, which is applicable to the above two dynamic events and changes the scheduling scheme of the old job. For example, when a new job arrives at time X, there may be unfinished operations. Although the new job is available for rescheduling, the working machine, AGV and the old job are not available at time X.
[0084] Insertion schedule, which states that there must be available time slots for candidate machines that can be used for dynamic events, is similar to reorganization schedule, the original schedule is unchanged, and it applies to new jobs and cancellation of old jobs. However, when an old job is cancelled, the original schedule is usually changed due to the smaller completion time;
[0085] The above description is only a preferred embodiment of the present invention. All equivalent changes and modifications made according to the scope of the patent application of the present invention should fall within the scope of the present invention.
Claims
1. A method for dynamic scheduling of spandex head operations based on evolutionary optimization algorithm, characterized in that: The following steps are involved: Step S1: According to the working environment of spandex head operation, a mathematical model of multiple types of tasks, multi-point multi-area scheduling and multi-AGV scheduling is constructed, and the constraints of the mathematical model are established; Step S2: Based on the constraints of the mathematical model, an evolutionary optimization algorithm is used to obtain a preliminary scheduling plan; Step S3: Based on the preliminary scheduling plan, considering the addition of new jobs and the cancellation of old jobs, reorganization scheduling, cross scheduling and insertion scheduling are adopted to complete dynamic scheduling; The constraints are: Among them, ij :Workpiece J i The jth process, Ο ik :Workpiece J i The kth process, μ ij :Process ij The processing station where the processing machine is located, Tr ij :Process i,j-1 and process ij Between the load operation, Tr i′j′ :Process i,j-1 and process ij No-load operation between The objective function is to minimize the maximum completion time: f=min(C max ) (1.1) Among them C max To maximize completion time; Constraint (1.1) is the objective function: Among them, Ω i :Workpiece J i A set of process tasks, where n i Indicates workpiece J i The total number of processes, n i +1 is artifact J i Moved back to the full tray rack M m+1 Operation, n i +2 is the operation of returning the trolley to the parking position; Ω J : Pan head set, i∈{1, 2, ..., J}, where J is the total number of workpieces; Ω Mij :Process ij A collection of optional processing machines; μ ij :Process ij The processing station where the processing machine is located; Ω M :Processing station set, m=0,1,……,m,m+1,m+2, where M1,……M m Indicates the machining station, M m+2 Indicates parking spaces, M0 and M m+1 Respectively represent empty pan head rack and full pan head rack; Constraint (1.2) ensures that only one empty head can be processed on the same machine at the same time: Among them, Ω R : represents the AGV, r = 1, 2, ..., R, where R is the number of AGVs in the workshop; Constraint (1.3) ensures that the same AGV can only carry one pan head at a time: Among them, P ij For process ij Processing time, ij For workpiece J i The jth process, T ij :Process ij At the processing station ij Completion time; A ij :Process ij Arrival at processing station ij t(m+2,0): time from the berth to the empty tray rack; The step S2 is specifically as follows: Step S21: Initialize parameters, including population number, population size, and number of iterations; Step S22: Set the initial time to 0 and wait for the processing event to arrive; Step S23: Randomly initialize the population and calculate its fitness value; Step S24: Establish a one-to-one mapping relationship between the continuous position of the population and the discrete position, and then obtain the discrete data of the population by sorting; Step S25: improving the crossover operator to form better offspring by combining the genetic alleles of two selected parents in the population with the crossover probability; The step S25 is specifically as follows: (1) Randomly select job 1 and job 2, and keep subsets of job 3 and job 4 in parent_1 and parent_2; (2) Copy the subsets of job 1 and job 2 in parent_1 to the corresponding positions in parent_2 in the same order, and change parent_2 to child_2; (3) Copy the subsets of job 2 and job 1 in parent_2 to the corresponding positions in parent_1 in the same order and change it to child_1; The step S3 is specifically as follows: For inserting new jobs and canceling old jobs, when dynamic events arrive, a new schedule will be constructed. When the new job and the previously scheduled job have the same priority, cross scheduling is adopted. If the new job has a higher priority, insertion scheduling is adopted. In the actual manufacturing environment, if the entire operation cannot be changed from the corresponding assigned machine, reorganization scheduling is adopted. Among them, reorganization scheduling indicates that the original scheduling plan remains unchanged, and a new scheduling plan suitable for the newly inserted job is constructed for the dynamic event; cross scheduling refers to combining the unfinished operations of the existing jobs with the dynamic events to generate a new cross scheduling; insertion scheduling declares that there must be available time slots for candidate machines that can be used for dynamic events, and the original scheduling plan remains unchanged, which is used for new jobs and cancellation of old jobs.
Citation Information
Patent Citations
Dynamic flexible job-shop scheduling method based on multi-objective evolutionary algorithm
CN104268722A
Dynamic multi-target flexible job shop scheduling method based on improved artificial bee colony algorithm
CN113569484A
