Aviation flexible workshop green scheduling method considering transportation and pre-maintenance

Through a flexible workshop scheduling method that considers transportation and pre-maintenance in the production of aviation composite materials, and uses the PQNSGA-II algorithm to optimize the maximum completion time and energy consumption, it solves the problem that the traditional scheduling model cannot meet the needs of composite material production and achieves an improvement in production efficiency. Optimization and reduction of energy consumption.

CN118625752APending Publication Date: 2024-09-10NANJING UNIV OF INFORMATION SCI & TECH
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410637214.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-22
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

The traditional flexible job shop scheduling model cannot meet the multiple needs of aerospace composite production. Especially when there are many varieties, complex processes, multiple models, frequent parallel transportation and frequent machine failures, it is difficult to optimize production efficiency and reduce energy consumption.

Method used

This paper proposes a green scheduling method for aviation flexible workshops that considers transportation and pre-maintenance. By establishing a mathematical model and using the PQNSGA-II algorithm for optimization, it combines the 4-layer coding method and greedy decoding to optimize the maximum completion time, total energy consumption and bottleneck machine load. , using the non-dominated sorting genetic algorithm of population quality to design crossover mutation, machine load balancing and variable neighborhood search strategies.

Benefits of technology

In the complex manufacturing environment of aviation composite materials, transportation time and machine pre-maintenance factors are effectively considered to optimize production efficiency, reduce energy consumption, and verify the feasibility and effectiveness of the algorithm through experiments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118625752A
    Figure CN118625752A
Patent Text Reader

Abstract

The invention discloses an aviation flexible workshop green scheduling method considering transportation and pre-maintenance, and the method comprises the following steps: S1, building a flexible operation green workshop scheduling model considering transportation and pre-maintenance, and enabling an optimization target to be minimum in maximum completion time, minimum in total energy consumption, and minimum in bottleneck machine load; s2, determining constraint conditions of scheduling, wherein the constraint conditions comprise process constraint, machine constraint, structural member transportation time constraint and pre-maintenance constraint; and S3, according to the constraint condition and the optimization target, establishing a flexible job shop scheduling mathematical model considering transportation and pre-maintenance, and optimizing the mathematical model by adopting a PQNSGA-II algorithm to obtain an optimal scheduling scheme. According to the method, the superiority and feasibility of the proposed method are verified through contrastive analysis in an aeronautical manufacturing example.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of green scheduling optimization of aviation flexible workshops, and in particular to a green scheduling method for aviation flexible workshops considering transportation and pre-maintenance. Background Art

[0002] With the rapid development of the aviation manufacturing industry, the production requirements for the quality and energy consumption of aviation composite materials are constantly increasing, and the green scheduling problem of aviation flexible workshops has become one of the research hotspots. Due to the characteristics of aviation composite production such as a wide variety of products, complex processes, multiple models, frequent parallel transportation, and frequent machine failures, the traditional flexible job shop scheduling model cannot meet its production needs. Therefore, it is necessary to combine the actual manufacturing model and characteristics to study the problem of meeting the multiple needs of aviation composite materials. Summary of the invention

[0003] Purpose of the invention: The purpose of the present invention is to provide a green scheduling method for aviation flexible workshops taking into account transportation and pre-maintenance to find the best scheduling solution to optimize production efficiency and reduce energy consumption.

[0004] Technical solution: A green scheduling method for aviation flexible workshops considering transportation and pre-maintenance, including the following steps:

[0005] S1, establish a model for green workshop scheduling of flexible operations considering transportation and pre-maintenance, with the optimization objectives of minimizing the maximum completion time, minimizing the total energy consumption and minimizing the bottleneck machine load;

[0006] S2, determining scheduling constraints, wherein the constraints include process constraints, machine constraints, structural parts transportation time constraints, and pre-maintenance constraints;

[0007] S3, based on the constraints and optimization objectives, a flexible job shop scheduling mathematical model considering transportation and predictive maintenance is established, and the PQNSGA-II algorithm is used to optimize the mathematical model to obtain the optimal scheduling solution; the implementation steps of the PQNSGA-II algorithm are as follows:

[0008] S301, taking the solution set in the scheduling scheme as an individual, all the solution sets constitute a population; evaluating all individuals in the population, sorting all individuals in the population from best to worst according to the population quality and evenly dividing them into three populations: a dominant population, a medium population and a disadvantaged population;

[0009] S302, adopting a neighborhood search strategy for high-quality populations;

[0010] S303, performing crossover mutation and load balancing operations on the medium population;

[0011] S304, for inferior populations, adopt population learning mechanism to exchange excellent genes;

[0012] S305, retaining excellent individuals from each population to external archives to form new offspring populations;

[0013] S306, determine whether the preset number of iterations has been reached, if the condition is met, stop the iteration, otherwise execute S307;

[0014] S307, select the optimal solution from the Pareto front and draw a Gantt chart to illustrate the optimal solution scheduling plan.

[0015] Furthermore, in step S3, in the PQNSGA-II algorithm, a 4-layer coding method is used to represent chromosome information. The first layer is the process coding string OS, which is used to determine the processing order of the structural parts; the second layer is the machine coding string MS, which is used to indicate the machine to which the process is assigned; the third layer is the transportation time coding string TS, which is used to determine the transportation time between machines; the fourth layer is the machine pre-maintenance coding string PS, which is used to determine whether the machine needs pre-maintenance operation after the process is completed;

[0016] OS is determined by the structural part number corresponding to the process. The number of times the structural part number appears represents the process number of the structural part. MS represents the processing machine in the machine set selected for the corresponding process. TS is the transportation time of adjacent processes on different machines. PS is composed of 0 and 1, 0 means that no pre-maintenance operation is required after the process is completed, and 1 means that pre-maintenance operation is performed immediately after the process is completed.

[0017] Through the initialization of the first three layers of coding, according to the processing order of the structural parts process on each device, the service life after processing is calculated and compared with the reliability threshold. If it is lower than the threshold, pre-maintenance is required, otherwise no pre-maintenance is required; a 0 or 1 sequence is generated to form PS, completing the corresponding pre-maintenance initialization.

[0018] Further, in step S301, the individuals are grouped according to the following steps:

[0019] S41, determine the level R(i) of each individual in the population, and calculate the number of individuals H exceeding this level according to the level i-1 :

[0020]

[0021] Among them, N j is the number of individuals of level j;

[0022] S42, calculate the quality Q(i) of individual i:

[0023] Q(i)=NN i -H i-1

[0024] Among them, i is the index of the individual in the population, N is the population size, and Ni is the number of individuals at the same level as individual i, H i-1 is the number of individuals with a level higher than that of individual i;

[0025] S43, based on the quality Q(i), the individuals are grouped and divided into high-quality population, medium-quality population and low-quality population according to the individual quality from high to low.

[0026] Further, in step S302, for the OS layer neighborhood search, the OS layer neighborhood operation is defined as a benchmark exchange, and the following benchmarks are performed on the extracted critical path:

[0027] Benchmark 1: If the starting key block contains two or more processes, the two connected processes at the end are exchanged;

[0028] Benchmark 2: If the tail key block contains two or more processes, the two processes connected at the head of the block are exchanged;

[0029] Benchmark 3, if the intermediate key block contains three or more processes, swap the block head and the second-to-last process, and swap the block tail and the second process;

[0030] Benchmark 4: If the two processes in the exchange process are different processes of the same workpiece, no exchange will be performed;

[0031] For the neighborhood search at the MS layer, a neighborhood search strategy based on key machines is designed. The specific process is as follows:

[0032] S51, calculate the load of each machine, randomly select a process from the key machine, and select other processable machines of the process from the set of available machines for processing;

[0033] S52, calculating a new solution obtained in this way, and comparing the new solution with the current solution: if the new solution can dominate the current solution in the target space, the new solution replaces the current solution.

[0034] Further, in step S303, the OS cross operation process is as follows:

[0035] SC1, parents P1 and P2 generate children C1 and C2, and randomly divide the workpieces into two sets JobSet1 and JobSet2;

[0036] SC2, copies the elements belonging to JobSet1 in the OS of P1 and P2 directly to the corresponding positions of C1 and C2;

[0037] SC3, fill the elements belonging to JobSet2 in the OS of P2 and P1 into C1 and C2 in the original order of P2 and P1;

[0038] SC4, TS and PS change one by one according to the corresponding OS positions;

[0039] The MS crossover operation process is as follows:

[0040] SD1, generates a random number array R consisting of 0 and 1, the length of which is the number of processes;

[0041] SD2, for the current P1' and P2', the same elements at the position of array element 1 are swapped to obtain C1' and C2';

[0042] SD3, the position where the array element is 0 is retained in C1' and C2' in the original order;

[0043] SD4, TS and PS change one by one according to the corresponding MS positions;

[0044] For OS mutation operation, two-point insertion mutation is used to mutate the process layer. The specific operations are as follows:

[0045] SE1, randomly select two non-adjacent locations L1 and L2, where L1 <L2;

[0046] SE2, insert L2 and the following code into L1 to achieve two-point insertion mutation;

[0047] For MS mutation operation, a machine load balancing strategy based on external archive guidance is designed. According to the machine load conditions of all current optimal solutions in the external archive, the load of each machine is balanced through process transfer.

[0048] Further, in step S304, the operation process of the population learning mechanism is as follows:

[0049] SF1, the parent generation P3 of the high-quality population, the parent generation P4 of the low-quality population generates the offspring C4, and two crossover points r1 and r2 are randomly selected on P3 and P4;

[0050] The gene loci of SF2, P3, and P4 between the crossover points r1 and r2 were directly retained in C4;

[0051] SF3, performs illegal value check on the generated C4. If the number of times a certain process of a workpiece in the child generation appears exceeds the total number of processes of the workpiece, a random process is selected from the remaining processable processes for replacement;

[0052] SF4, for the gene position of C4 between the intersections r1 and r2, it is necessary to ensure that the correspondence between TS and PS is the same as P2; according to the transportation and processing time of the workpiece between machines, the transportation and pre-maintenance coding layers are adjusted to generate new daughter chromosomes.

[0053] Compared with the prior art, the present invention has the following significant effects:

[0054] The present invention considers two practical factors, transportation time and machine preventive maintenance, in a complex manufacturing environment of aviation composite materials, and establishes a flexible green workshop scheduling model that takes transportation time and machine preventive maintenance into consideration with the goal of minimizing the maximum completion time, bottleneck machine load and total energy consumption. A non-dominated sorting genetic algorithm based on population quality is proposed, which balances the initialization method of processing time and machine load through a 4-layer encoding method and a greedy decoding method; adopts targeted optimization strategies for populations of different groups to give full play to the search capabilities of individuals in different populations; designs crossover mutation, machine load balancing and variable neighborhood search strategies to improve the algorithm's optimization ability; and applies it in an actual aviation composite material workshop. Experimental results show that the algorithm is feasible. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] Figure 1 is a coding diagram;

[0056] Figure 2 It is a schematic diagram of OS crossover;

[0057] Figure 3 It is a schematic diagram of MS crossover;

[0058] Figure 4 Schematic diagram of OS variation;

[0059] Figure 5 Schematic diagram of the learning mechanism;

[0060] Figure 6 It is the algorithm flow chart of the present invention;

[0061] Figure 7 The present invention solves the example Gantt chart. DETAILED DESCRIPTION

[0062] The present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0063] The present invention not only considers the actual demand of transportation time, but also takes into account the constraints of machine pre-maintenance, and constructs a Flexible Job-shop Green Scheduling Problem with Transportation time and Pre-maintenance (FJGSPTP).

[0064] This paper takes the flexible workshop scheduling of aviation composite materials as the research object, studies the green scheduling problem of flexible workshops considering transportation and pre-maintenance, constructs a scheduling model with completion time, bottleneck machine load and total energy consumption as the target, and finds the optimal scheduling solution to optimize production efficiency and reduce energy consumption. In order to achieve these goals, a non-dominated sorting genetic algorithm based on population quality (PQNSGA-II) is proposed to solve this model. The algorithm flow chart is shown in the figure. Figure 6 As shown, the effectiveness of the present invention is verified by comparative experiments. The following steps are included:

[0065] Step 1: Establish a flexible job shop scheduling model that takes into account transportation time and pre-maintenance. The optimization objectives are to minimize the maximum completion time, minimize the total energy consumption, and minimize the bottleneck machine load. The maximum completion time is minimized. This goal is used to describe the workpiece processing efficiency and is an important indicator for evaluating production efficiency. The total energy consumption is minimized. With the intensification of the global greenhouse effect, the energy consumption generated by the manufacturing industry has attracted much attention. In the actual flexible workshop production process, the total energy consumption includes machine processing energy consumption, no-load energy consumption, and transportation energy consumption; the bottleneck machine load is minimized. The bottleneck machine is the machine that carries the largest load during the processing process. Since long-term high-load operation is prone to machine failure, in order to reduce the number of pre-maintenance times for the machine, it is necessary to balance the machine load to reduce the machine failure rate.

[0066] Step 2: Determine the scheduling constraints. These include process constraints, machine constraints, workpiece transportation time constraints, and pre-maintenance constraints. There are n workpieces processed on m machines. Each workpiece has a different number of processes. Each process can be processed on any machine in the optional machine set. After the process is completed, it is transported to the next machine for processing. Considering the transportation time between machines, the number of equipment used for transportation is unlimited, and transportation can be carried out without delay, regardless of machine failure and workpiece damage. Each machine needs to perform V k In this pre-maintenance plan, each machine has a maximum machine age M. If the machine age reaches M after the current operation, PM (pre-maintenance) operation must be performed immediately after the operation is completed. The length of the maintenance time is related to the machine age. The pre-maintenance time is determined by the reliability function and reliability threshold of the machine. If the machine reliability reaches the threshold after the current process is completed, PM operation is performed immediately. Workpiece processing cannot be performed during PM operation. Assume that the number of transportation tools is sufficient and the transportation time between machines is known. In addition, the following constraints must be met:

[0067] 1) The same machine can only process one process at the same time;

[0068] 2) The workpiece can only be processed on one machine at the same time;

[0069] 3) All workpieces can be processed at time 0;

[0070] 4) Different workpiece processes are independent of each other, but there are sequential constraints between the processes of the same workpiece;

[0071] 5) The workpiece cannot be interrupted during processing;

[0072] 6) The failure rate of the machine conforms to the Weibull distribution. As time goes by, the life of the machine gradually decreases and the failure rate gradually increases;

[0073] 7) The initial service life of each machine is 0, and the predictive maintenance operation is performed immediately after a process is completed and the reliability reaches the threshold.

[0074] Use Weibull distribution to describe the failure pattern of the machine. The machine reliability function can be obtained through the formula, and the reliability threshold can be determined based on the historical maintenance records. Combining the reliability function and the reliability threshold, it is possible to determine the time when the machine reliability drops to the threshold and PM is required.

[0075] When considering the possible failures of the machine during operation, the Weibull distribution is used to describe the initial machine failure law model, and the failure rate is defined as:

[0076]

[0077] Among them, t is the machine operation time (service age), β is the shape parameter, which determines the shape change of the function, and η is the scale parameter, which affects the scaling transformation of the failure rate distribution curve. Parameters β and η can be obtained based on the historical data of equipment failures and do not change over time.

[0078] Calculate the reliability function R(t) according to the machine age:

[0079]

[0080] Among them, e is a natural constant.

[0081] Usually after performing the preventive maintenance, the failure rate and potential failure risk of the machine will be reduced. Therefore, the present invention designs a machine aging factor a to describe the machine status after the preventive maintenance. ad Adjust to formula (3):

[0082]

[0083] Where t is the service life of the current machine, t PMis the time point of pre-maintenance, and a is a factor reflecting the aging of the machine. Since 0<a<1, the failure rate decreases after pre-maintenance, which means that pre-maintenance helps to reduce the failure rate of the machine. As t increases, the exponential part will also increase, indicating that as t increases, the effect of pre-maintenance will gradually weaken and the failure rate of the machine will increase.

[0084] Based on the above analysis, a two-stage reliability model is constructed as shown in (4):

[0085]

[0086] In this model, when t≤t PM When t>t PM After the preventive maintenance is performed, the failure rate is adjusted by introducing the aging factor. The machine is restored to a new state after the preventive maintenance. However, as time goes by, the preventive maintenance effect may gradually weaken, and the machine will gradually age according to its inherent aging process. By analyzing the historical maintenance records, the reliability threshold R of the machine is determined. th When R(t)<R th Preventive maintenance will be carried out in time to effectively extend the service life of the machine and ensure that the production process will not reduce production efficiency due to unexpected downtime or frequent failures.

[0087] The basic parameters in this embodiment are shown in Table 1.

[0088] Table 1 Basic parameters

[0089]

[0090] The constraints are as follows: min f = {f1, f2, f3} (5)

[0091]

[0092] f2=E min =min(PE+TE+IE) (7)

[0093]

[0094] Cijk=Sijk+Pijk (9)

[0095] Sij+Xijk×tijk≤Cij (10)

[0096] Ci ( j- 1) ≤Sij (11)

[0097] Sij+Tijk≤Sxy+L(1-Yijxyk) (12)

[0098] Ci ( j- 1) ≤Sij+L(1-Yijxyk) (13)

[0099]

[0100] Sij≥0,Cij≥0,Ci≥0 (15)

[0101]

[0102]

[0103]

[0104] Among them, formula (5) is the objective function, which means the minimum maximum completion time, the minimum total energy consumption and the minimum total machine load; formula (6) means the minimum maximum completion time; formula (7) means the minimum total energy consumption, including machine processing energy consumption, idle energy consumption and transportation energy consumption; formula (8) means the minimum bottleneck machine load, the bottleneck machine is the machine that bears the maximum load during the processing; formula (9) means the end time of the process is equal to the start time of the process plus the processing time; formula (10) and formula (11) represent the sequence constraint, the processes within the same workpiece must be processed in sequence; formula (12) and (13) mean that one machine can only process one process at the same time; formula (14) means that one process can only be processed by one machine at the same time; formula (15) means that the start and completion time of any process are non-negative, and any workpiece can be processed from time 0; formula (16)-formula (18) are used to calculate the processing energy consumption, idle energy consumption and transportation energy consumption of the machine.

[0105] Step three, according to the constraints and optimization objectives, a flexible job shop scheduling mathematical model considering transportation and predictive maintenance is established, and the PQNSGA-II algorithm is used to optimize the mathematical model to obtain the optimal scheduling solution.

[0106] According to the optimization objectives and constraints, a mathematical optimization model for flexible job shop scheduling considering transportation and predictive maintenance is established. The optimization objectives are to minimize the maximum completion time, minimize the total energy consumption and minimize the bottleneck machine load.

[0107] After the mathematical model is established, the PQNSGA-II algorithm parameters are set. The specific parameters are set as follows: population size population = 200, maximum number of iterations MaxIter = 80, crossover probability pc = 0.8, and mutation probability pm = 0.2.

[0108] In the PQNSGA-II algorithm, a four-layer coding method is used to represent chromosome information. The first layer is the process coding string OS, which is used to determine the processing order of the structural parts; the second layer is the machine coding string MS, which is used to indicate the machine to which the process is assigned; the third layer is the transportation time coding string TS, which is used to determine the transportation time between machines. The fourth layer is the machine pre-maintenance coding string PS, which is used to determine whether the machine needs pre-maintenance operation after the process is completed.

[0109] A 4-layer encoding method is used to represent chromosome information. Figure 1 It is a coding diagram. OS is determined by the structural part number corresponding to the process, and the number of times the structural part number appears represents the process of the structural part; MS represents the processing machine in the machine set selected for the corresponding process; TS is the transportation time of adjacent processes on different machines; PS determines whether the machine needs pre-maintenance after the process is completed, which is composed of 0 and 1. 0 means that no pre-maintenance operation is required after the process is completed, and 1 means that pre-maintenance operation is performed immediately after the process is completed.

[0110] The generation strategy of OS is as follows: 1) Randomly sort the processes; 2) Give priority to the structural parts with more remaining processes. If there are multiple choices, randomly select from the processes to be selected. The two strategies each generate 50% of the population size.

[0111] MS adopts GLR initialization method, and the three strategies of global selection (GS), local selection (LS) and random selection (RS) generate 60%, 30% and 10% of the population size respectively.

[0112] The transportation time is randomly generated according to the code of the corresponding machine. After the initialization of the first three layers of code, according to the processing order of the structural parts process on each device, the service life after processing is calculated and compared with the reliability threshold. If it is lower than the threshold, pre-maintenance is required, otherwise no pre-maintenance is required, and a 0 or 1 sequence is generated to form a PS to complete the corresponding pre-maintenance initialization.

[0113] like Figure 6 As shown, the implementation process of the PQNSGA-II algorithm is as follows:

[0114] Step 301, grouping the population. The solution set in the scheduling is taken as an individual, and all the solution sets form a population. All individuals in the population are evaluated, that is, the solution set in the scheduling is evaluated, and all individuals in the population are sorted from best to worst according to the population quality evaluation and evenly divided into three populations, namely, the dominant population, the medium population and the inferior population.

[0115] Individual selection using non-dominated ranking levels may not accurately distinguish individuals with the same level but different traits. Therefore, a quantitative indicator, namely individual quality, is introduced to evaluate the differences between individuals at the same level. The present invention designs a population grouping mechanism based on individual quality. This grouping mechanism is not only based on the non-dominated ranking level, but also takes into account the comprehensive quality differences between individuals, thereby making the selection process more accurate, effectively distinguishing individuals of different levels during the selection process, and improving the efficiency in the process of solving complex problems. The specific operations are as follows:

[0116] (1) First, determine the level R(i) of each individual in the population, and calculate the number of individuals H that exceed this level based on the level i-1 :

[0117]

[0118] Among them, N j is the number of individuals of level j.

[0119] (2) Calculate the mass Q(i) of individual i, where the calculation formula for Q(i) is:

[0120] Q(i)=NN i -H i-1 (20)

[0121] Among them, i is the index of the individual in the population, N is the population size, and N i is the number of individuals at the same level as individual i, H i-1 is the number of individuals with a level higher than that of individual i.

[0122] (3) Individuals are grouped based on their quality Q(i), and are divided into high-quality populations, medium-quality populations, and low-quality populations from high to low, which ensures that individuals are divided into different groups according to their quality.

[0123] Step 302, for the high-quality population, a variable neighborhood search strategy is adopted to deeply mine the optimal solution of the high-quality population.

[0124] The specific process of high-quality population neighborhood search is as follows:

[0125] OS layer neighborhood search

[0126] The process adjustment on the critical path has a significant impact on the quality of the final solution. The neighborhood operation of the OS layer is defined as the benchmark exchange. The following benchmarks are performed on the extracted critical path:

[0127] (A1) If the starting key block contains two or more processes, swap the two adjacent processes at the end;

[0128] (A2) If the tail key block contains two or more processes, exchange the two processes connected at the beginning of the block;

[0129] (A3) If the intermediate key block contains three or more processes, swap the block head and the second-to-last process, and swap the block tail and the second process;

[0130] (A4) If the two processes in the exchange process are different processes of the same workpiece, no exchange will be performed.

[0131] MS layer neighborhood search

[0132] Key machines usually refer to machines with the heaviest load and the machines that undertake the most tasks, that is, bottleneck machines. This is because when one or a few machines are overloaded, they may become the bottleneck of the overall system performance, limiting the speed and efficiency of task completion. Reducing the load of bottleneck machines can reduce the machine failure rate and improve the efficiency and sustainability of the entire scheduling. In order to enhance the algorithm's optimization ability, a neighborhood search strategy based on key machines is designed for the algorithm. The specific process is as follows:

[0133] (B1) First, calculate the load of each machine, randomly select a process from the key machine, and select other available machines for processing from the set of available machines for the process.

[0134] (B2) Calculate the new solution obtained in this way and compare it with the current solution. If the new solution can dominate the current solution in the goal space, that is, the new solution is either better or not worse than the current solution in all goals, the new solution will replace the current solution.

[0135] Step 303, performing crossover mutation and load balancing operations on the medium population to give full play to the search capability of each individual.

[0136] In the 4-layer coding structure of chromosome OS, MS, TS and PS, OS and MS are dominant genes that participate in crossover and mutation operations. TS and PS are recessive genes that do not participate in the operation, but will be updated and adjusted with the changes of dominant genes. Therefore, the crossover and mutation operations for the medium population are mainly carried out on OS and MS, such as Figure 2 As shown, the OS cross-operation process is as follows:

[0137] (C1) Parent generations P1 and P2 generate children C1 and C2, and randomly divide the workpieces into two sets JobSet1 and JobSet2;

[0138] (C2) Copy the elements belonging to JobSet1 in the OS of P1 and P2 directly to the corresponding positions of C1 and C2;

[0139] (C3) Fill the elements belonging to JobSet2 in the OS of P2 and P1 into C1 and C2 in the original order of P2 and P1;

[0140] (C4) TS and PS change one by one according to the corresponding OS positions.

[0141] like Figure 3 As shown in the figure, the MS cross operation process, the specific steps are as follows:

[0142] (D1) Generate a random number array R consisting of 0 and 1, the length of which is the number of processes;

[0143] (D2) For the current P1' and P2', the same elements at the positions where the array elements are 1 are swapped to obtain C1' and C2'; (D3) The positions where the array elements are 0 are retained in the original order to C1' and C2' respectively;

[0144] (D4) TS and PS change one-to-one according to the corresponding MS positions.

[0145] Different mutation methods are used for the OS layer and MS layer of the medium population. The OS mutation uses a two-point insertion mutation method to mutate the process layer. The specific operation steps are as follows: Figure 4 As shown, the specific operations are as follows:

[0146] (E1) Randomly select two non-adjacent positions L1 and L2 (where L1 <L2);

[0147] (E2) Insert L2 and the subsequent coding into L1, thus achieving two-point insertion mutation.

[0148] This mutation method can increase the diversity of chromosomes, thereby improving the search efficiency of the genetic algorithm. By randomly selecting different positions for insertion, more solution spaces can be explored in the search space, thereby increasing the global search ability of the algorithm. At the same time, since only the code between two positions is inserted, it can be ensured that the mutated chromosome still maintains its original validity.

[0149] For the mutation operation of MS, a machine load balancing strategy based on external archive guidance is designed. By using the machine load conditions of all the current optimal solutions in the external archive, the machines with the largest and smallest average load rates in the external archive are obtained to transfer the process, coordinate the loads of each machine, more accurately guide the local search in the current stage, and improve the search efficiency of the algorithm.

[0150] Through the machine load balancing strategy, the machine load information of the current optimal solution can be collected from the external archive, and the process can be transferred to achieve machine load balance, thereby improving the algorithm's local search ability, avoiding redundant calculations, and improving the algorithm's search efficiency. This strategy can effectively optimize the machine load balancing problem and further improve the algorithm's search ability.

[0151] Step 304, for the inferior population, a population learning mechanism is adopted to exchange excellent genes to improve the quality of the population solution.

[0152] There is a certain degree of blindness in the process of randomly generating chromosomes in the inferior population individuals, and it is very likely to fall into the local optimal solution. Therefore, the present invention proposes a population learning mechanism to improve the search efficiency of inferior individuals. The learning mechanism allows inferior individuals to learn excellent genes from high-quality individuals, thereby improving the quality of inferior individuals. The process codes and machine codes of high-quality population individuals have higher excellent genes. By learning this information, the inferior population individuals can find the global optimal solution faster. The operation process of the population learning mechanism is as follows Figure 5 As shown, the specific operations are as follows:

[0153] (F1) The high-quality parent P3 and the low-quality parent P4 generate the offspring C4, and two crossover points r1 and r2 are randomly selected on P3 and P4;

[0154] (F2) The gene loci of P3 and P4 between the crossover points r1 and r2 were directly retained in C4;

[0155] (F3) Check the generated C4 for illegal values. If the number of times a process of a workpiece in the descendant appears exceeds the total number of processes of the workpiece, a random process is selected from the remaining processable processes for replacement;

[0156] (F4) For the gene position of C4 between the intersections r1 and r2, it is necessary to ensure that the correspondence between TS and PS is the same as P2. According to the transportation and processing time of the workpiece between machines, the transportation and pre-maintenance coding layers are adjusted to generate new daughter chromosomes.

[0157] Through the population learning mechanism, inferior individuals can better inherit the excellent genes of high-quality individuals, speed up the process of solving the global optimal solution, break the limitations of a single population evolution, and thus improve the quality of the population solution.

[0158] Step 305: retain the excellent individuals of each population to external archives to form a new offspring population

[0159] Step 306, determine whether the preset number of iterations has been reached, if so, stop the iteration, otherwise, execute step 307.

[0160] Step 307, select the optimal solution from the Pareto front and draw a Gantt chart to illustrate the optimal solution scheduling plan.

[0161] By sorting and analyzing the data of the production workshop of an aviation structural parts manufacturing company, simplifying the process flow, and extracting the processing information of 6 application examples TPHT01-TPHT05. After sorting, the processing information of example TPHT01 is given, including the structure and process name and processing time. The specific corresponding information is shown in Table 2. The machine-related energy consumption, maintenance information, and transportation time between machines are shown in Table 3. The unit transportation energy consumption is 3kw, and the reliability threshold R th =0.95.

[0162] Table 2 Example DHT01 structural parts process information

[0163]

[0164] Table 3 Optional machine transportation time and energy consumption for the process

[0165]

[0166]

[0167] The PQNSGA-II algorithm proposed in this invention is used to solve the TPHT01 example and obtain the optimal scheduling solution Gantt chart as shown below: Figure 6 As shown in the figure, the processes of the same workpiece are marked with the same color, the number above the process block indicates the workpiece number, and the number below indicates the process number; the orange block above indicates the transportation time; the red block "PM" indicates that the current machine needs pre-maintenance. It can be seen that the algorithm of the present invention can well solve the distributed flexible workshop production scheduling problem considering dual resource constraints in the actual production of aviation structural parts.

[0168] In order to further verify the effectiveness of the PQNSGA-II algorithm proposed in this invention for solving the production scheduling problem of complex aviation structural parts, the algorithm is compared with the classic multi-objective optimization algorithms Jaya, Multiple Objective Genetic Algorithm (MOGA), Imperial Competition Algorithm (ICA) and Hybrid Artificial Bee Colony Algorithm (HABC) in existing studies. The hyper volume (HV), inverse generation distance (IGD) and contribution rate (CR) indicators widely used in multi-objective optimization problems are used to evaluate the comprehensive performance of the algorithm, such as diversity, convergence and distribution. The results are shown in Table 4. The bold data are the optimal results of this indicator.

[0169] Table 4 Comparison results of solving 6 examples

[0170]

[0171]

[0172] As can be seen from Table 4, the PQNSGA-II algorithm is optimal in terms of IGD, HV and CR indicators, indicating that the algorithm has obvious advantages in solving the workshop scheduling problem of aviation composite material production. It can be seen from the CR indicator that the contribution of PQNSGA-II to the final non-dominated frontier is better than other algorithms in 5 instances, indicating that the search strategy based on population division and the local search strategy for population designed by the algorithm fully explore the solution space. It can be seen from the IGD and HV indicators that the PQNSGA-II algorithm is optimal, indicating that the PQNSGA-II algorithm can search for more non-dominated solutions during the search process and has better diversity and convergence.

[0173] It can be seen from the verification of aviation composite production examples that PQNSGA-II has better optimization performance. This is because the PQNSGA-II algorithm designs a population initialization strategy that takes into account processing time and machine load, which improves the quality and diversity of the population; the search mechanism strategy based on population division of PQNSGA-II uses different search strategies according to the characteristics of the population to enhance the global search ability, expand the search range of the population, and improve the optimization ability of the population; the local search strategy of multiple populations strengthens the algorithm's deep mining ability and is not easy to fall into local optimality. The proposed improvement strategy reasonably balances the algorithm's global exploration and local search, which greatly improves the algorithm's stability. The application example results verify the practicability of the proposed PQNSGA-II algorithm, which can effectively solve the actual production scheduling problem of aviation composite materials.

[0174] The above description is only a specific embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A green scheduling method for aviation flexible workshops considering transportation and pre-maintenance, characterized in that: The steps include: S1, establish a model for green workshop scheduling of flexible operations considering transportation and pre-maintenance, with the optimization objectives of minimizing the maximum completion time, minimizing the total energy consumption and minimizing the bottleneck machine load; S2, determining scheduling constraints, wherein the constraints include process constraints, machine constraints, structural parts transportation time constraints, and pre-maintenance constraints; S3, based on the constraints and optimization objectives, a flexible job shop scheduling mathematical model considering transportation and pre-maintenance is established, and the PQNSGA-II algorithm is used to optimize the mathematical model to obtain the optimal scheduling solution; The implementation steps of the PQNSGA-II algorithm are as follows: S301, taking the solution set in the scheduling scheme as an individual, all the solution sets constitute a population; evaluating all individuals in the population, sorting all individuals in the population from best to worst according to the population quality and evenly dividing them into three populations: a dominant population, a medium population and a disadvantaged population; S302, adopting a neighborhood search strategy for high-quality populations; S303, performing crossover mutation and load balancing operations on the medium population; S304, for inferior populations, adopt population learning mechanism to exchange excellent genes; S305, retaining excellent individuals from each population to external archives to form new offspring populations; S306, determining whether the preset number of iterations has been reached, if the condition is met, stopping the iteration, otherwise executing S307; S307, select the optimal solution from the Pareto front and draw a Gantt chart to illustrate the optimal solution scheduling plan.

2. The method for green workshop scheduling based on flexible operation considering transportation and pre-maintenance according to claim 1 is characterized in that: In step S3, in the PQNSGA-II algorithm, a 4-layer coding method is used to represent chromosome information. The first layer is the process coding string OS, which is used to determine the processing order of the structural parts; the second layer is the machine coding string MS, which is used to indicate the machine to which the process is assigned; the third layer is the transportation time coding string TS, which is used to determine the transportation time between machines; the fourth layer is the machine pre-maintenance coding string PS, which is used to determine whether the machine needs pre-maintenance operation after the process is completed; OS is determined by the structural part number corresponding to the process. The number of times the structural part number appears represents the process of the structural part; MS represents the processing machine in the machine set selected for the corresponding process; TS is the transportation time of adjacent processes on different machines; PS is composed of 0 and 1, 0 means that no pre-maintenance operation is required after the process is completed, and 1 means that pre-maintenance operation is performed immediately after the process is completed; Through the initialization of the first three layers of coding, according to the processing order of the structural parts process on each device, the service life after processing is calculated and compared with the reliability threshold. If it is lower than the threshold, pre-maintenance is required, otherwise no pre-maintenance is required; a 0 or 1 sequence is generated to form PS, completing the corresponding pre-maintenance initialization.

3. The method for green workshop scheduling based on flexible operation considering transportation and pre-maintenance according to claim 2 is characterized in that: In step S301, individuals are grouped according to the following steps: S41, determine the level R(i) of each individual in the population, and calculate the number of individuals H exceeding this level according to the level i-1 : Among them, N j is the number of individuals of level j; S42, calculate the quality Q(i) of individual i: Q(i)=N-N i -H i-1 Among them, i is the index of the individual in the population, N is the population size, and N i is the number of individuals at the same level as individual i, H i-1 is the number of individuals with a level higher than that of individual i; S43, based on the quality Q(i), the individuals are grouped and divided into high-quality population, medium-quality population and low-quality population according to the individual quality from high to low.

4. The method for scheduling a flexible green workshop considering transportation and pre-maintenance according to claim 2 is characterized in that: In step S302, for the OS layer neighborhood search, the OS layer neighborhood operation is defined as a benchmark exchange, and the following benchmarks are performed on the extracted critical path: Benchmark 1: If the starting key block contains two or more processes, the two connected processes at the end are exchanged; Benchmark 2: If the tail key block contains two or more processes, the two processes connected at the head of the block are exchanged; Benchmark 3, if the intermediate key block contains three or more processes, swap the block head and the second-to-last process, and swap the block tail and the second process; Benchmark 4: If the two processes in the exchange process are different processes of the same workpiece, no exchange will be performed; For the neighborhood search at the MS layer, a neighborhood search strategy based on key machines is designed. The specific process is as follows: S51, calculate the load of each machine, randomly select a process from the key machine, and select other processable machines of the process from the set of available machines for processing; S52, calculating a new solution obtained in this way, and comparing the new solution with the current solution: if the new solution can dominate the current solution in the target space, the new solution replaces the current solution.

5. The method for flexible operation green workshop scheduling considering transportation and pre-maintenance according to claim 2 is characterized in that: In step S303, the OS crossover operation process is as follows: SC1, parents P1 and P2 generate children C1 and C2, and randomly divide the workpieces into two sets JobSet1 and JobSet2; SC2, copies the elements belonging to JobSet1 in the OS of P1 and P2 directly to the corresponding positions of C1 and C2; SC3, fill the elements belonging to JobSet2 in the OS of P2 and P1 into C1 and C2 in the original order of P2 and P1; SC4, TS and PS change one by one according to the corresponding OS positions; The MS crossover operation process is as follows: SD1, generates a random number array R consisting of 0 and 1, the length of which is the number of processes; SD2, for the current P1' and P2', the same elements at the position of array element 1 are swapped to obtain C1' and C2'; SD3, the position where the array element is 0 is retained in C1' and C2' in the original order; SD4, TS and PS change one by one according to the corresponding MS positions; For OS mutation operation, two-point insertion mutation is used to mutate the process layer. The specific operations are as follows: SE1, randomly select two non-adjacent locations L1 and L2, where L1 <L2; SE2, insert L2 and the following code into L1 to achieve two-point insertion mutation; For MS mutation operation, a machine load balancing strategy based on external archive guidance is designed. According to the machine load conditions of all current optimal solutions in the external archive, the load of each machine is balanced through process transfer.

6. The method for scheduling a flexible green workshop considering transportation and pre-maintenance according to claim 1, characterized in that: In step S304, the operation process of the population learning mechanism is as follows: SF1, the parent generation P3 of the high-quality population, the parent generation P4 of the low-quality population generates the offspring C4, and two crossover points r1 and r2 are randomly selected on P3 and P4; The gene loci of SF2, P3, and P4 between the crossover points r1 and r2 were directly retained in C4; SF3, performs illegal value check on the generated C4. If the number of times a certain process of a workpiece in the child generation appears exceeds the total number of processes of the workpiece, a random process is selected from the remaining processable processes for replacement; SF4, for the gene position of C4 between the intersections r1 and r2, it is necessary to ensure that the correspondence between TS and PS is the same as P2; according to the transportation and processing time of the workpiece between machines, the transportation and pre-maintenance coding layers are adjusted to generate new daughter chromosomes.

Citation Information

Cited By

  • Project scheduling and resource configuration integrated optimization method considering time-resource tradeoff

    CN119515019A

  • Intelligent operation and maintenance method for high-end thin-wall profile extrusion production line with optimized energy efficiency

    CN121213285A