Parallel flow shop batch scheduling method considering equipment preventive maintenance
By improving the hybrid discrete fruit fly algorithm and combining equipment preventive maintenance and workpiece batch scheduling, we optimize the preventive maintenance and batch scheduling of the parallel flow workshop, solve the problem of the impact of equipment shutdown maintenance on other equipment and the batch coding of workpieces, and achieve More efficient production scheduling and shorter maximum makespan.
Patent Information
- Application Number
- CN202410799805.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-06-20
AI Technical Summary
Existing research on the integrated optimization of preventive maintenance and production scheduling in parallel flow workshops ignores the impact of equipment shutdown maintenance on other equipment, and does not consider the batch coding of workpieces, resulting in the problem that preventive maintenance frequently affects production scheduling and the production cycle is too long.
An integrated optimization method for preventive maintenance and batch scheduling in parallel flow workshops based on an improved hybrid discrete fruit fly algorithm is proposed. By establishing a mathematical model and using the improved discrete fruit fly algorithm, combined with equipment preventive maintenance and workpiece batch scheduling, the maximum optimization is achieved Completion time, taking into account equipment maintenance and batch coding of workpieces.
It effectively reduces the maximum completion time, improves production efficiency, avoids excessive equipment maintenance and uneven production line busyness, and improves the stability of production scheduling in parallel flow workshops.
Smart Images

Figure CN118760070A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of integrated preventive maintenance and batch scheduling of parallel flow workshops, and specifically to an integrated optimization method for simultaneously considering preventive maintenance and intelligent batch scheduling in production scheduling of parallel flow workshops. Technical Background
[0002] In the process of parallel flow shop scheduling, preventive maintenance is required to prevent excessive equipment degradation, but too frequent preventive maintenance will affect the smooth progress of production scheduling. In addition, in actual production, there are many types of workpieces and the demand varies greatly, so a reasonable batching strategy must be adopted to divide the workpieces to be processed into appropriate batches, otherwise it will lead to uneven busy and idle production lines, too long production cycles, and greatly reduce production efficiency. Therefore, it is of great significance to consider preventive maintenance and workpiece batching in the production scheduling process.
[0003] The current research on the integrated optimization of preventive maintenance and production scheduling of parallel assembly lines does not take into account the "one stop, all stop" characteristic of serial assembly lines, and ignores the maintenance judgment of other equipment when one equipment in a certain assembly line is shut down for maintenance to save maintenance time; at the same time, the existing research on the integrated optimization of scheduling of parallel assembly lines does not consider the batching of workpieces, and only adopts the encoding method based on the workpiece sequence, ignoring the encoding of workpiece batches; in addition, the existing research on parallel assembly lines mostly uses meta-heuristic algorithms for solving problems, but meta-heuristic algorithms are prone to fall into local optimality and are unstable when solving problems. Therefore, in view of the shortcomings of the existing preventive maintenance and batch scheduling models and algorithms of parallel assembly lines, an integrated optimization method for preventive maintenance and batch scheduling of parallel assembly lines based on an improved hybrid discrete fruit fly algorithm is proposed. Summary of the invention
[0004] In view of the shortcomings of the existing joint decision-making methods for preventive maintenance and batch scheduling of parallel flow workshops, the present invention proposes a batch scheduling method for parallel flow workshops that takes into account equipment preventive maintenance. This method aims to solve the problems that the existing methods ignore the characteristics of assembly line series, the encoding method is unreasonable, and the algorithm is prone to fall into local optimality. With the minimization of the maximum completion time as the optimization goal, a mathematical model is established, and the preventive maintenance and batch scheduling joint decision-making of parallel flow workshops is carried out in combination with the improved discrete fruit fly algorithm.
[0005] The technical solution of the present invention is a parallel flow shop batch scheduling method considering equipment preventive maintenance, the method comprising the following steps:
[0006] Step 1: Based on the equipment preventive maintenance age threshold and the opportunistic maintenance age threshold, an integrated optimization model for batch scheduling of parallel flow workshops considering equipment preventive maintenance is established;
[0007] Step 1.1: Determine the constraints of the integrated optimization model;
[0008] (1) The total number of workpieces remains unchanged after batching
[0009]
[0010] Among them, N ju represents the sub-batch size, A j Indicates the demand for each type of workpiece, B j represents the number of sub-batches, j represents the workpiece number, n represents the number of workpiece types, and u represents the batch number;
[0011] (2) All processing positions in the f production lines must correspond to each batch of workpieces and the types of workpieces that can be processed by the f production lines must be
[0012] Classes are limited;
[0013]
[0014] Where m represents the number of devices, X k,l,j,u represents that sub-batch u of workpiece j is processed at position l of assembly line k, β j,k Indicates whether workpiece j can be processed on assembly line k, represents any, k represents the pipeline number;
[0015] (3) The next batch of workpieces cannot be processed before the assembly line has finished processing the current batch of workpieces.
[0016] S k,l ≥C k,l-1
[0017] Among them, S k,l represents the start processing time of the workpiece at processing position l of assembly line k, C k,l-1 represents the completion time of the workpiece at processing position l-1 of assembly line k;
[0018] (4) The relationship between the process start time and completion time of workpieces on the same assembly line;
[0019]
[0020] Among them, C i,k,l The completion time of the workpiece at processing position l of equipment i in assembly line k, S i,k,l The start processing time of the workpiece at processing position l of equipment i in assembly line k, P j.k represents the processing time of each device on assembly line k for workpiece j; (5) before entering the next device for processing the next process, the workpiece must complete the process being processed by the current device.
[0021] Ci,k,l ≤S i+1,k,l
[0022] (6) Constraints on decision variables;
[0023] X k,l,j,u ∈{0,1}
[0024] (7) Equipment preventive maintenance age threshold and opportunity maintenance threshold constraints;
[0025] T o ≤T p
[0026] Among them, T o represents the opportunity maintenance age threshold, T p Indicates the equipment preventive maintenance age threshold.
[0027] Step 1.2: Conduct preventive maintenance modeling;
[0028] when Sometimes, there is Then the assembly line k is shut down for the rth maintenance, and Z is recorded rk =1,Z r,ki =1,t kr = t, make opportunity maintenance judgment for other equipment in the assembly line:
[0029]
[0030] Where t represents the rth preventive maintenance time of production line k, represents the service life of equipment i on pipeline k at time t, Z rk Indicates that the pipeline k is shut down for the rth maintenance, Z r,ki Indicates whether equipment i needs to be maintained when production line k is shut down for the rth maintenance;
[0031] Considering the maintenance capacity limitation, a certain production line can maintain at most limit equipment at the same time during maintenance shutdown. Therefore, the maintenance time of the production line for the rth maintenance shutdown is:
[0032]
[0033] Among them, T kr represents the maintenance time of the rth preventive maintenance of production line k, n kr represents the number of equipment to be maintained for the rth preventive maintenance of production line k, limit represents the limit on the number of equipment to be maintained at the same time during a shutdown, T m Indicates the average maintenance time of equipment;
[0034] The maintenance effect is modeled using the virtual age model. After the rth shutdown maintenance of production line k, according to Z r,ki Update the time t+T after the rth downtime maintenance of pipeline k m The virtual service life of the equipment at a certain time, T m Indicates the average maintenance time of equipment:
[0035] (1) Z r,ki = 0, that is, when the assembly line k is maintained for the rth time, the equipment E ki No maintenance:
[0036] (2) Z r,ki =1, that is, when the assembly line k is maintained for the rth time, the equipment E ki To perform maintenance:
[0037] Among them, ε i is the service life improvement factor, which is used to describe the service life change of equipment after imperfect maintenance, 0<ε i <1 and is a constant value;
[0038] Step 1.3: Update the start time and completion time of the processing:
[0039]
[0040] Step 1.4: Construct the objective function of the integrated optimization model;
[0041] min(C max )
[0042] Among them, C max It means minimizing the maximum completion time;
[0043] Step 2: Divide the workpieces into batches and lots according to the workpiece type, workpiece quantity, and sub-batch upper limit;
[0044] Step 2.1: Use heuristics to calculate the optimal batch partitioning result;
[0045] Step 2.1.1: Determine the upper limit of each type of workpiece sub-batch and randomly generate the number of each type of workpiece sub-batch;
[0046] Step 2.1.2: Use heuristics to determine the optimal batch size for each workpiece;
[0047] First, randomly select a type of workpiece and increase the number of its sub-batches by 1, where the number of sub-batches must not exceed the upper limit of the sub-batches; then, according to the batch division result, use the flexible batch division method described in step 2.2 to divide the batch size of each sub-batch, and use the method described in step 3 to schedule. If the scheduling result becomes better, continue to increase the number of sub-batches. If not, reduce the number of sub-batches by 1 and select the next type of workpiece to determine the batch number;
[0048] Step 2.2: Use the flexible batch partitioning method to calculate the batch size of each sub-batch based on the optimal batch partitioning result obtained in step 2.1;
[0049] Step 2.2.1: According to the number of sub-batches B j , randomly generate sub-batch size N ju , let u=1;
[0050] Step 2.2.2: Determine N ju +B j -u≤A j , if yes, proceed to step 2.2.3, if no, return to step 2.2.1;
[0051] Step 2.2.3: Let A j =A j -N ju , u=u+1;
[0052] Step 2.2.4: Determine if u=B j If so, let N ju =A j , otherwise return to step 2.2.1;
[0053] Step 3: Use the improved discrete fruit fly algorithm to calculate the workpiece scheduling sequence and maintenance plan when the objective function is minimized;
[0054] Step 3.1: Solution encoding;
[0055] Use the two-dimensional array π={π1,π2,…π k …,π f} represents the distribution and processing order of workpieces in each assembly line; where π1 records the batch results of each workpiece obtained in step 2, and each one-dimensional array π k Contains the sub-batch workpieces assigned to the assembly line. The numbers in the array represent the workpiece sub-batch index numbers. The workpieces are processed in the order in the array. According to the equipment preventive maintenance strategy adopted, the workpiece processing order determines the equipment maintenance time.
[0056] Step 3.2: Population initialization;
[0057] The initial population consists of n individuals, two of which are constructed by heuristic methods, and the rest are randomly generated;
[0058] Step 3.3: Population division and olfactory search;
[0059] A population of n individuals is divided into seven subpopulations, each with a relatively uniform number of individuals and performing different olfactory search strategies;
[0060] Step 3.4: Visual search;
[0061] Step 3.5: Merge all subpopulations;
[0062] Step 3.6: Determine whether the current population has reached the maximum number of iterations. If yes, execute step 3.7; otherwise, execute step 3.3.
[0063] Step 3.7: Get the optimal workpiece scheduling sequence and maintenance time point.
[0064] Furthermore, the specific method of step 3.2 is:
[0065] Step 3.2.1: Generate an individual using the following heuristic algorithm;
[0066] All batches of workpieces are classified according to the types of workpieces to be processed by the assembly line; the classified batches of workpieces are first sorted in descending order of total processing time, and then the batches of workpieces are taken out from the sequence in turn and inserted into the optimal position in the processing sequence of the processable assembly line to minimize the completion time of the current processable assembly line;
[0067] Step 3.2.2: Generate an individual using the following heuristic algorithm;
[0068] All batches of workpieces are classified according to the types of workpieces to be processed by the assembly line; the classified batches of workpieces are first sorted in descending order of total processing time, and then the batches of workpieces are taken out from the sequence in turn and inserted into the optimal position in the processing sequence of the processable assembly line to minimize the completion time of the current processable assembly line. After each new batch of workpieces is inserted, a batch of workpieces is randomly removed from the front or back of the insertion position and inserted into the optimal position in the current assembly line again to reduce the completion time of the assembly line;
[0069] Step 3.2.3: Random generation method;
[0070] First, all batches of workpieces are classified according to the different types of workpieces processed by the assembly line; then, the first n workpieces are taken out from the classified batches and inserted into the n assembly lines in sequence, and the n+1th workpiece and subsequent workpieces are inserted into the assembly line with the shortest completion time.
[0071] Furthermore, the specific method of step 3.3 is:
[0072] Step 3.3.1: Classify the assembly lines according to the types of workpieces they process, and classify assembly lines that can process the same workpieces into one category;
[0073] Step 3.3.2: Perform the pipeline insertion operation in subpopulation 1; randomly select two pipelines from the same type of pipelines, if the selected pipelines are the same, perform the pipeline insertion operation, otherwise perform the pipeline insertion operation; randomly select an initial workpiece batch and a target workpiece batch, and the initial workpiece will be transferred to the back of the target workpiece;
[0074] Step 3.3.3: Perform the pipeline exchange operation in subpopulation 2. Randomly select two pipelines from the same type of pipelines. If the selected pipelines are the same, perform the intra-pipeline exchange operation. Otherwise, perform the inter-pipeline exchange operation. Randomly select two batches of workpieces and exchange the positions of the two batches of workpieces.
[0075] Step 3.3.4: Perform the pipeline reversal operation in subpopulation 3, randomly select N positions from the same type of pipeline, and invert the batches of workpieces at these N positions;
[0076] Step 3.3.5: In subpopulations 4 to 7, insert and exchange, insert and inversion, exchange and inversion, and insert, exchange and inversion are combined to implement a multi-level search operation.
[0077] Furthermore, the specific method of step 3.4 is:
[0078] Step 3.4.1: Perform visual search for the best individuals of each type of assembly line in each subpopulation, select a batch of workpieces from the assembly lines with longer completion time, and exchange it with a batch of workpieces from other similar assembly lines;
[0079] Step 3.4.2: Repeat step 3.4.1. If the maximum completion time of the best individual cannot be improved after two consecutive exchanges, select the best individual from the executed exchange process to replace the worst individual in the subpopulation.
[0080] Based on the traditional fruit fly optimization algorithm, the use of a multi-strategy initialization method can effectively improve the overall quality and diversity of the population, thereby improving the performance of the algorithm. And by executing different olfactory search strategies for each subpopulation, each subpopulation can cover a wider area of the solution space, thereby increasing the possibility of finding the global optimal solution. In addition, different olfactory search strategies guide subpopulations to explore in a variety of directions, thereby improving the diversity of the population and reducing the risk of falling into a local optimum. The visual search strategy is improved to ensure that a closer and better local solution is found around the global optimal solution, further improving the quality of the solution. BRIEF DESCRIPTION OF THE DRAWINGS
[0081] Figure 1 Flowchart for batch lot partitioning;
[0082] Figure 2 To improve the discrete fruit fly algorithm flow chart;
[0083] Figure 3 It is a flow chart of a specific implementation method of the method of the present invention;
[0084] Figure 4 Gantt chart of batch scheduling results for exemplary consideration of preventive maintenance. DETAILED DESCRIPTION
[0085] The following is a detailed description of the embodiments of the present invention. Figure 3 ), this embodiment is implemented on the premise of the technical solution of the present invention, and provides a detailed implementation method and a specific operation process, but the protection scope of the present invention is not limited to the following embodiment.
[0086] The implementation process can be divided into the following steps:
[0087] Step 1: Based on the equipment preventive maintenance age threshold and the opportunistic maintenance age threshold, an integrated optimization model for batch scheduling of parallel flow workshops considering equipment preventive maintenance is established;
[0088] Step 1.1: Determine the constraints of the integrated optimization model;
[0089] (1) The total number of workpieces remains unchanged after batching
[0090]
[0091] (2) All processing positions in the f production lines must correspond to each batch of workpieces.
[0092]
[0093] The jth type of workpiece, the uth sub-batch, is at the lth position of the kth production line.
[0094] (3) The next batch of workpieces cannot be processed before the assembly line has finished processing the current batch of workpieces.
[0095] S k,l ≥C k,l-1
[0096] (4) The relationship between the process start time and completion time of the workpieces on the same assembly line;
[0097]
[0098] (5) The workpiece must complete the process being processed by the current equipment before entering the next process on the next equipment
[0099] C i,k,l ≤S i+1,k,l
[0100] (6) Constraints on decision variables
[0101] X k,l,j,u ∈{0,1}
[0102] (7) Equipment preventive maintenance age threshold and opportunity maintenance threshold constraints
[0103] T o ≤T p
[0104] Among them, X k,l,j,u It means that sub-batch u of workpiece j is processed at position l of assembly line k, S i,k,l represents the start processing time of the workpiece at processing position l of equipment i in assembly line k, C i,k,l It represents the completion time of the workpiece at processing position l of equipment i in assembly line k.
[0105] Step 1.2: Conduct preventive maintenance modeling;
[0106] Assume that the equipment preventive maintenance age threshold is T p , the opportunity maintenance age threshold is T o ,when Sometimes, there is Then the assembly line k is shut down for the rth maintenance, and Z is recorded rk =1,Z r,ki =1,t kr = t, make opportunity maintenance judgment for other equipment in the assembly line:
[0107]
[0108] Among them, t kr represents the rth preventive maintenance time of production line k, Represents the service life of equipment i on pipeline k at time t.
[0109] Considering the maintenance capacity limitation, a certain production line can maintain at most limit equipment at the same time during maintenance shutdown. Therefore, the maintenance time of the production line for the rth maintenance shutdown is:
[0110]
[0111] Among them, T kr represents the maintenance time of the rth preventive maintenance of production line k, n kr represents the number of equipment to be maintained for the rth preventive maintenance of production line k, limit represents the limit on the number of equipment to be maintained at the same time during a shutdown, Tm Indicates the average maintenance time of equipment.
[0112] The maintenance effect is modeled using the virtual age model. After the rth shutdown maintenance of production line k, according to Z r,ki Update the rth downtime maintenance of pipeline k to t = t + T m The virtual service life of the equipment at a certain time, T m Indicates the average maintenance time of equipment:
[0113] (1) Z r,ki = 0, that is, when the assembly line k is maintained for the rth time, the equipment E ki No maintenance:
[0114] (2) Z r,ki =1, that is, when the assembly line k is maintained for the rth time, the equipment E ki To perform maintenance:
[0115] Among them, ε i is the service life improvement factor, which is used to describe the service life change of equipment after imperfect maintenance, 0<ε i <1 and is a constant value
[0116] Step 1.3: Update the start time and completion time of the processing:
[0117]
[0118] Step 1.4: Construct the objective function of the integrated optimization model;
[0119] min(C max )
[0120] Step 2: Divide the workpieces into batches and lots according to the workpiece type, workpiece quantity, and sub-batch upper limit ( Figure 1 ), the following are the relevant production data of a TV assembly workshop, where each production line has 12 devices and the processing time is the processing time of the workpiece on a certain device.
[0121] Table 1 Workpiece processing information
[0122] Workpiece Type Number of workpieces Processing production line Processing time Sub-lot limit <![CDATA[j1]]> 9000 <![CDATA[k1-k2]]> 45s 20 <![CDATA[j2]]> 7000 <![CDATA[k1-k2]]> 45s 20 <![CDATA[j3]]> 8000 <![CDATA[k3-k7]]> 57s 20 <![CDATA[j4]]> 6000 <![CDATA[k3-k7]]> 57s 20 <![CDATA[j5]]> 7000 <![CDATA[k3-k7]]> 57s 20 <![CDATA[j6]]> 6000 <![CDATA[k3-k7]]> 57s 20 <![CDATA[j7]]> 2000 <![CDATA[k8-k9]]> 142s 20 <![CDATA[j8]]> 3000 <![CDATA[k8-k9]]> 142s 20
[0123] Step 2.1: Use heuristics to calculate the optimal batch partitioning result;
[0124] Step 2.1.1: Determine the upper limit Max of each type of workpiece sub-batch, and randomly generate the number of each type of workpiece sub-batch;
[0125] Step 2.1.2: Use heuristics to determine the optimal batch size for each workpiece;
[0126] First, a type of workpiece is randomly selected and the number of its sub-batches is increased by 1, where the number of sub-batches shall not exceed the upper limit of the sub-batch; then, the batch size of each sub-batch is divided by the flexible batch partitioning method described in 2.2 according to the batch partitioning result, and the method described in step 3 is used for scheduling. If the scheduling result becomes better, the number of sub-batches will continue to increase. If it does not become better, the number of sub-batches will be reduced by 1 and the next type of workpiece will be selected to continue to determine the batch number.
[0127] Step 2.2: Use the flexible batch partitioning method to calculate the batch size of each sub-batch according to the batch size generated in 2.1;
[0128] Step 2.2.1: Determine the number of sub-batches B according to 3.1 j , and randomly generate sub-batch size N ju , let u=1;
[0129] Step 2.2.2: Determine N ju +B j -u≤A j , if yes, proceed to step 2.2.3, if no, return to step 2.2.1;
[0130] Step 2.2.3: Let A j =A j -N ju , u=u+1;
[0131] Step 2.2.4: Determine if u=B j If so, let N ju =A j , otherwise return to step 2.2.1.
[0132] The batch partitioning results obtained according to this method are:
[0133] Table 2 Batch partition results
[0134]
[0135] Step 3: Use the improved discrete fruit fly algorithm to calculate the workpiece scheduling sequence and maintenance plan when the objective function is minimized ( Figure 2 );
[0136] Step 3.1: Solution encoding;
[0137] Use the two-dimensional array π={π1,π2,……,π f} represents the distribution and processing order of workpieces in each assembly line. Among them, π1 records the batch results of each workpiece obtained in step 3, and each one-dimensional array π kContains the sub-batch workpieces assigned to the assembly line. The numbers in the array represent the workpiece sub-batch index numbers. The workpieces are processed in the order in the array. According to the equipment preventive maintenance strategy adopted, the workpiece processing order determines the maintenance time of the equipment. Therefore, it is not desirable to represent the equipment maintenance work in the two-dimensional array.
[0138] Step 3.2: Population initialization;
[0139] The initialized population consists of n individuals, two of which are constructed by heuristic methods, and the rest are generated randomly.
[0140] Step 3.2.1: Generate an individual using a heuristic algorithm; classify all batches of workpieces according to the types of workpieces to be processed by the assembly line; sort the classified batches of workpieces in descending order of total processing time, then take out the batches of workpieces from the sequence one by one and insert them into the optimal position in the processing sequence of the processable assembly line to minimize the completion time of the current processable assembly line;
[0141] Step 3.2.2: Generate an individual using a heuristic algorithm; classify all batches of workpieces according to the types of workpieces processed by the assembly line; sort the classified batches of workpieces in descending order of total processing time, then take out the batches of workpieces from the sequence one by one, and insert them into the optimal position in the processing sequence of the processable assembly line, so that the completion time of the current processable assembly line is minimized. After each new batch of workpieces is inserted, a batch of workpieces is randomly removed from the front or back of the insertion position, and it is inserted into the optimal position in the current assembly line again, so as to reduce the completion time of the assembly line;
[0142] Step 3.2.3: Random generation method; first, classify all batches of workpieces according to the different types of workpieces processed by the assembly line; then take out the first n workpieces from the classified batches and insert them into the n assembly lines in turn, and insert the n+1th workpiece and subsequent workpieces into the assembly line with the shortest completion time.
[0143] Step 3.3: Population division and olfactory search;
[0144] A population of n individuals is divided into seven subpopulations, each with a relatively uniform number of individuals and performing different olfactory search strategies;
[0145] Step 3.3.1: Classify the assembly lines according to the types of workpieces they process, and classify assembly lines that can process the same workpieces into one category;
[0146] Step 3.3.2: Perform pipeline insertion operation in subpopulation 1. Randomly select two pipelines from the same type of pipelines. If the selected pipelines are the same, perform the intra-pipeline insertion operation, otherwise perform the inter-pipeline insertion operation. Randomly select an initial workpiece batch and a target workpiece batch, and the initial workpiece will be transferred to the back of the target workpiece;
[0147] Step 3.3.3: Perform the pipeline exchange operation in subpopulation 2. Randomly select two pipelines from the same type of pipelines. If the selected pipelines are the same, perform the intra-pipeline exchange operation. Otherwise, perform the inter-pipeline exchange operation. Randomly select two batches of workpieces and exchange the positions of the two batches of workpieces.
[0148] Step 3.3.4: Perform the pipeline reversal operation in subpopulation 3, randomly select N positions from the same type of pipeline, and invert the batches of workpieces at these N positions;
[0149] Step 3.3.5: In subpopulations 4 to 7, respectively combine insertion and exchange, insertion and reversal, exchange and reversal, and insertion, exchange and reversal to implement a multi-level search operation;
[0150] Step 3.4: Visual search;
[0151] Step 3.4.1: Perform visual search for the best individuals of each type of assembly line in each subpopulation, select a batch of workpieces from the assembly lines with longer completion time of each type of assembly line, and exchange it with a batch of workpieces from other similar assembly lines.
[0152] Step 3.4.2: Repeat step 3.4.1. If the maximum completion time of the best individual cannot be improved after two consecutive exchanges, select the best individual from the executed exchange process to replace the worst individual in the subpopulation;
[0153] Step 3.5: Merge all subpopulations;
[0154] Step 3.6: Determine whether the current population has reached the maximum number of iterations. If yes, execute step 3.7; otherwise, execute step 3.3.
[0155] Step 3.7: Get the optimal workpiece scheduling sequence and maintenance time point ( Figure 4 ).
Claims
1. A parallel flow shop batch scheduling method considering equipment preventive maintenance, the method comprising the following steps: Step 1: Based on the equipment preventive maintenance age threshold and the opportunistic maintenance age threshold, an integrated optimization model for batch scheduling of parallel flow workshops considering equipment preventive maintenance is established; Step 1.1: Determine the constraints of the integrated optimization model; (1) The total number of workpieces remains unchanged after batching Among them, Nju represents the sub-batch size, A j Indicates the demand for each type of workpiece, B j represents the number of sub-batches, j represents the workpiece number, n represents the number of workpiece types, and u represents the batch number; (2) All processing positions in the f production lines must correspond one-to-one to each batch of workpieces and the types of workpieces that can be processed by the f production lines are limited; Where m represents the number of equipment, Xk,l,j,u represents the processing of sub-batch u of workpiece j at position l of assembly line k, and βj,k represents whether workpiece j can be processed on assembly line k. represents any, k represents the pipeline number; (3) The next batch of workpieces cannot be processed before the assembly line has finished processing the current batch of workpieces. Sk,l≥Ck,l-1 Among them, S k , l represents the start processing time of the workpiece at processing position l of assembly line k, C k ,l -1 represents the completion time of the workpiece at processing position l-1 of assembly line k; (4) The relationship between the process start time and completion time of workpieces on the same assembly line; Among them, C i ,k,lThe completion time of the workpiece at the processing position l of the equipment i in the assembly line k, S i ,k,l The start processing time of the workpiece at processing position l of equipment i in production line k, P j .k represents the processing time of each device on assembly line k for workpiece j; (5) The workpiece must complete the process being processed by the current equipment before entering the next process on the next equipment C i,k,l ≤S i+1,k,l (6) Constraints on decision variables; X k,l,j,u ∈{0,1} (7) Equipment preventive maintenance age threshold and opportunity maintenance threshold constraints; T o ≤T p Among them, T o represents the opportunity maintenance age threshold, T p Indicates the equipment preventive maintenance age threshold. Step 1.2: Conduct preventive maintenance modeling; when Sometimes, there is Then the assembly line k is shut down for the rth maintenance, and Z is recorded rk =1,Z r,ki =1,t kr = t, make opportunity maintenance judgment for other equipment in the assembly line: Where t represents the rth preventive maintenance time of production line k, represents the service life of equipment i on pipeline k at time t, Z rk Indicates that the pipeline k is shut down for the rth maintenance, Z r,ki Indicates whether equipment i needs to be maintained when production line k is shut down for the rth maintenance; Considering the maintenance capacity limitation, a certain production line can maintain at most limit equipment at the same time during maintenance shutdown. Therefore, the maintenance time of the production line for the rth maintenance shutdown is: Among them, T kr represents the maintenance time of the rth preventive maintenance of production line k, n kr represents the number of equipment to be maintained for the rth preventive maintenance of production line k, limit represents the limit on the number of equipment to be maintained at the same time during a shutdown, T m Indicates the average maintenance time of equipment; The maintenance effect is modeled using the virtual age model. After the rth shutdown maintenance of production line k, according to Z r,ki Update the time t+T after the rth downtime maintenance of pipeline k m The virtual service life of the equipment at a certain time, T m Indicates the average maintenance time of equipment: Z r,ki = 0, that is, when the assembly line k is maintained for the rth time, the equipment E ki No maintenance: Z r,ki =1, that is, when the assembly line k is maintained for the rth time, the equipment E ki To perform maintenance: Among them, ε i is the service life improvement factor, which is used to describe the service life change of equipment after imperfect maintenance, 0<ε i <1 and is a constant value; Step 1.3: Update the start time and completion time of the processing: Step 1.4: Construct the objective function of the integrated optimization model; min(Cm maX Among them, Cma x It means minimizing the maximum completion time; Step 2: Divide the workpieces into batches and lots according to the workpiece type, workpiece quantity, and sub-batch upper limit; Step 2.1: Use heuristics to calculate the optimal batch partitioning result; Step 2.1.1: Determine the upper limit of each type of workpiece sub-batch and randomly generate the number of each type of workpiece sub-batch; Step 2.1.2: Use heuristics to determine the optimal batch size for each workpiece; First, randomly select a type of workpiece and increase the number of its sub-batches by 1, where the number of sub-batches must not exceed the upper limit of the sub-batches; then, according to the batch division result, use the flexible batch division method described in step 2.2 to divide the batch size of each sub-batch, and use the method described in step 3 to schedule. If the scheduling result becomes better, continue to increase the number of sub-batches. If not, reduce the number of sub-batches by 1 and select the next type of workpiece to determine the batch number; Step 2.2: Use the flexible batch partitioning method to calculate the batch size of each sub-batch based on the optimal batch partitioning result obtained in step 2.1; Step 2.2.1: According to the number of sub-batches B j , randomly generate sub-batch size Nju, let u=1; Step 2.2.2: Determine Nju+B j -u≤A j , if yes, proceed to step 2.2.3, if no, return to step 2.2.1; Step 2.2.3: Rei A j = A j -Nju, u = u + 1; Step 2.2.4: Determine if u=B j If so, let Nju=A j , otherwise return to step 2.2.1; Step 3: Use the improved discrete fruit fly algorithm to calculate the workpiece scheduling sequence and maintenance plan when the objective function is minimized; Step 3.1: Solution encoding; Use a two-dimensional array π = {π1, π2, ... πk ..., πf} to represent the distribution and processing order of workpieces in each assembly line; where π1 records the batching results of each workpiece obtained in step 2, and each one-dimensional array πk contains the sub-batch workpieces allocated to the assembly line. The numbers in the array represent the workpiece sub-batch index numbers, and the workpieces are processed in the order in the array; according to the adopted equipment preventive maintenance strategy, the workpiece processing order determines the maintenance time of the equipment; Step 3.2: Population initialization; The initial population consists of n individuals, two of which are constructed by heuristic methods, and the rest are randomly generated; Step 3.3: Population division and olfactory search; A population of n individuals is divided into seven subpopulations, each with a relatively uniform number of individuals and performing different olfactory search strategies; Step 3.4: Visual search; Step 3.5: Merge all subpopulations; Step 3.6: Determine whether the current population has reached the maximum number of iterations. If yes, execute step 3.7; otherwise, execute step 3.
3. Step 3.7: Get the optimal workpiece scheduling sequence and maintenance time point.
2. A parallel flow shop batch scheduling method considering equipment preventive maintenance as claimed in claim 1, characterized in that: The specific method of step 3.2 is: Step 3.2.1: Generate an individual using the following heuristic algorithm; All batches of workpieces are classified according to the types of workpieces to be processed by the assembly line; the classified batches of workpieces are first sorted in descending order of total processing time, and then the batches of workpieces are taken out from the sequence in turn and inserted into the optimal position in the processing sequence of the processable assembly line to minimize the completion time of the current processable assembly line; Step 3.2.2: Generate an individual using the following heuristic algorithm; All batches of workpieces are classified according to the types of workpieces to be processed by the assembly line; the classified batches of workpieces are first sorted in descending order of total processing time, and then the batches of workpieces are taken out from the sequence in turn and inserted into the optimal position in the processing sequence of the processable assembly line to minimize the completion time of the current processable assembly line. After each new batch of workpieces is inserted, a batch of workpieces is randomly removed from the front or back of the insertion position and inserted into the optimal position in the current assembly line again to reduce the completion time of the assembly line; Step 3.2.3: Random generation method; First, all batches of workpieces are classified according to the different types of workpieces processed by the assembly line; then, the first n workpieces are taken out from the classified batches and inserted into the n assembly lines in sequence, and the n+1th workpiece and subsequent workpieces are inserted into the assembly line with the shortest completion time.
3. A parallel flow shop batch scheduling method considering equipment preventive maintenance as claimed in claim 1, characterized in that: The specific method of step 3.3 is: Step 3.3.1: Classify the assembly lines according to the types of workpieces they process, and classify assembly lines that can process the same workpieces into one category; Step 3.3.2: Perform the pipeline insertion operation in subpopulation 1; randomly select two pipelines from the same type of pipelines, if the selected pipelines are the same, perform the pipeline insertion operation, otherwise perform the pipeline insertion operation; randomly select an initial workpiece batch and a target workpiece batch, and the initial workpiece will be transferred to the back of the target workpiece; Step 3.3.3: Perform the pipeline exchange operation in subpopulation 2. Randomly select two pipelines from the same type of pipelines. If the selected pipelines are the same, perform the intra-pipeline exchange operation. Otherwise, perform the inter-pipeline exchange operation. Randomly select two batches of workpieces and exchange the positions of the two batches of workpieces. Step 3.3.4: Perform the pipeline reversal operation in subpopulation 3, randomly select N positions from the same type of pipeline, and reverse the batches of workpieces at these N positions; Step 3.3.5: In subpopulations 4 to 7, respectively combine insertion and exchange, insertion and reversal, exchange and reversal, and insertion, exchange and reversal to implement a multi-level search operation.
4. A parallel flow shop batch scheduling method considering equipment preventive maintenance as claimed in claim 1, characterized in that: The specific method of step 3.4 is: Step 3.4.1: Perform visual search for the best individuals of each type of assembly line in each subpopulation, select a batch of workpieces from the assembly lines with longer completion time, and exchange it with a batch of workpieces from other similar assembly lines; Step 3.4.2: Repeat step 3.4.
1. If the maximum completion time of the best individual cannot be improved after two consecutive exchanges, select the best individual from the executed exchange process to replace the worst individual in the subpopulation.
Citation Information
Patent Citations
Constrained optimization and post-processing heuristics for optimal production scheduling for process manufacturing
CA3207220A1
Flexible job shop order insertion dynamic scheduling optimization method
CN107831745A
Dynamic bus departure scheduling optimization method based on interval calculation
CN110119835A
Equipment optimistic maintenance and production scheduling integrated optimization method under time-varying working condition
CN110865617A
Mixed-flow-batch scheduling optimization method for workshop production of sensors
CN112462704A
