A multi-variety variable batch production scheduling method based on disturbance events
By constructing a multi-variety variable batch production data set and identifying bottleneck equipment, combined with the NSGA-III algorithm and the analytic hierarchy process, a workshop production operation plan is generated, which solves the problem of resource utilization and scheduling adjustment in multi-variety variable batch production, and improves the efficiency of diesel engine valves. Production efficiency and overall effectiveness of the transmission workshop.
Patent Information
- Application Number
- CN202210806672.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-08
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2042-07-08
AI Technical Summary
Under the multi-variety and batch production mode, the existing technology makes it difficult to rationally utilize production resources, cannot quickly adjust the workshop scheduling plan to adapt to the production environment of the diesel engine valve transmission mechanism workshop, and fails to fully consider bottleneck equipment factors, affecting production efficiency.
Using a multi-variety variable batch production scheduling method based on disturbance events, by constructing a multi-variety variable batch production data set, identifying bottleneck equipment, setting up a production scheduling optimization model, and using the improved NSGA-Ⅲ algorithm and the analytic hierarchy process to generate a workshop production operation plan , and perform rescheduling in the event of emergency order insertion.
It improves production efficiency, reduces production costs, can quickly adapt to changes in the production environment, shortens the production period, and improves overall efficiency.
Smart Images

Figure CN115145231B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of mechanical manufacturing, and in particular relates to a multi-variety variable batch production scheduling method, which can be used for the production and manufacturing of a diesel engine valve transmission mechanism operation workshop. Background Art
[0002] The workshop scheduling problem is one of the core issues of the production operation of manufacturing enterprises. It refers to the reasonable assignment of workpiece tasks under limited resource constraints to achieve the production scheduling optimization index as much as possible. Production scheduling refers to the dispatch of production tasks to the production workshop. The workshop scheduler arranges the production tasks according to the corresponding processing equipment, which parts are processed by each equipment, the order of processing procedures of each equipment, and the production plan of the start time and completion time of each equipment. In recent years, with the continuous improvement of the degree of automation of enterprises and the multi-variety variable batch production mode of enterprises, the traditional workshop operation scheduling mainly relies on manual experience to formulate workshop operation plans. At the same time, when encountering disturbance events such as emergency insertion orders during the production process, the scheduling is carried out based on the experience and knowledge of the dispatchers. It is easy to lead to low production efficiency, unable to give full play to the overall efficiency, and difficult to adapt to the needs of multi-variety variable batch production. In 2010, Wang Aimin et al. proposed a workshop dynamic scheduling method for process movement, process cancellation, process addition, and process insertion based on disturbance event driven analysis for multi-variety variable batch production mode, but did not adopt intelligent optimization algorithm and did not consider bottleneck equipment factors. In 2020, Li Fang et al. proposed a scheduling optimization method based on inference of production status of production lines for multi-variety and small-batch production mode, but did not consider bottleneck equipment factors. In 2018, Xie Naiming et al. proposed a shop operation planning and rescheduling method based on genetic algorithm for multi-variety and small-batch production mode of complex aviation equipment structural parts, but could not provide guidance for batch selection for dispatchers. In 2013, Zhang Zhouxu et al. proposed a limited capacity scheduling method for multi-variety and small-batch production mode of turnout enterprises, but it was not applicable to the production and manufacturing of valve transmission mechanisms. In 2017, Yang Xiaoying et al. proposed a sub-packaging production method for multi-variety and small-batch production mode of mixed-flow assembly line of tractors, which is not applicable to the production and manufacturing of valve transmission mechanisms.
[0003] In recent years, the research scope of production scheduling problems is mostly typical production workshops such as mixed flow workshops or discrete workshops. However, due to the various types and complex processes of diesel engine valve transmission mechanism parts, there is often a problem of unreasonable use of production resources during production scheduling. There are few studies on job shop scheduling under the production mode of multi-variety variable batch, and related research cannot provide scheduling personnel with appropriate part batch combinations in actual production. The bottleneck equipment factor is not considered in the model construction process, which affects the production efficiency of the production line. It is difficult to quickly adjust the workshop scheduling plan for disturbance events such as emergency insertion, and it cannot adapt well to the actual diesel engine valve transmission mechanism workshop production environment. Summary of the invention
[0004] The purpose of the present invention is to address the deficiencies of the above-mentioned prior art and propose a multi-variety variable batch production scheduling method based on disturbance events, so as to provide scheduling personnel with suitable parts batch combinations in actual production, consider bottleneck equipment factors in the model construction process, improve the production efficiency of the production line, and make rapid adjustments to the workshop operation plan in response to disturbance events such as emergency insertion orders, thereby better adapting to the production environment of the diesel engine valve transmission mechanism workshop.
[0005] To achieve the above object, the technical solution of the present invention includes the following:
[0006] (1) Construct a multi-variety variable batch production dataset for a given part type;
[0007] (1a) Based on the production task data including part types and part quantities assigned by the workshop, an orthogonal set H of part batches under a given part type is constructed using the orthogonal combination method;
[0008] (1b) Construct a production data set of multiple varieties and variable batches by combining these orthogonal sets with the process routes, processing procedures and processing hours of the parts;
[0009] (2) Select the bottleneck device set:
[0010] (2a) Based on the constructed multi-variety variable batch production data set, the production operation network is constructed based on the bottleneck identification method of network structure characteristics, that is, the production operation system is converted into a network for description, and all the equipment involved in the production workshop is regarded as a network node. According to the product processing route, the equipment involved in the processing is connected with directed arrows;
[0011] (2b) Select the node degree D, coupling degree F, and workload W in the production operation network, calculate the importance E of each device based on the node degree D and coupling degree F, and then calculate the bottleneck degree Y of each device required by the importance E and workload W;
[0012] (2c) Selecting equipment with a higher bottleneck degree as the final bottleneck equipment set based on the actual production situation of the workshop;
[0013] (3) According to the production data set of the production workshop, the bottleneck equipment set and other production scheduling resources, combined with the characteristics of the job shop scheduling problem and factors such as products, processes, equipment, and personnel, the load W of the kth equipment is set. k , the number of workpieces to be processed Q i , the jth process of the i-th workpiece can be processed by O ij Equipment set M ij , the i-th workpiece, the h-th batch, the j-th process can be processed by O ihj Equipment set M ihj , the i-th workpiece, the h-th batch, the j-th process on equipment M k Processing completion time CT ihjk , the i-th workpiece, the h-th batch, the j-th process on equipment M k' Processing completion time CT ihjk' , the i-th workpiece, the h-th batch, the j-th process on equipment M k Start processing time ST ihjk These constraints;
[0014] (4) Under the parameter constraints set in (3), the production scheduling optimization model is constructed:
[0015] Objective function: F = min(F1, F2, F3)
[0016] Constraints:
[0017] T ihjk =t ijk ×L ih
[0018]
[0019]
[0020] CT ihjk ≥ST ihjk +T ihjk
[0021] ST ih(j+1)k ≥CT ihjk'
[0022] ST ihjk ≥CT i'h'j'k
[0023] ST ihjk ≥0,CT ihjk ≥0
[0024] Among them, F is the objective function, F1 is the maximum completion time, F2 is the total equipment load, F3 is the maximum equipment load, M is the processing equipment set, α ijhk For the i-th workpiece, the h-th batch, the j-th process on equipment M k The decision parameters for processing, L ih is the number of workpieces processed in the hth batch of the i-th workpiece, T ihjk For the i-th workpiece, the h-th batch, the j-th process on equipment M k Processing time on CT i'h'j'k The time when the previous batch of processing was completed on equipment Mk;
[0025] (5) The improved NSGA-III algorithm is used to solve the production scheduling optimization mathematical model and obtain the Pareto optimal solution set. The final scheduling scheme is selected from the Pareto optimal solution set using the hierarchical analysis method to determine the optimal scheduling of each processed product in the processing step O. ihj The processing equipment required in k , and the start time of processing on the equipment ST ihjk and end time CT ihjk , forming a workshop production operation plan;
[0026] (6) Execute processing tasks according to the production operation plan. If an emergency order disturbance occurs during the execution of the workshop production operation plan, the following production rescheduling is performed:
[0027] (6a) Input the rescheduling time point, extract the completed and unfinished workpiece processes, processing equipment, processing time and process end time, remove the completed parts from the processing stage, input the basic data of the urgent workpiece including the number of processes and the processing time of the processing equipment for each process, and put the original unfinished workpiece and the new order workpiece into the processing stage in sequence;
[0028] (6b) Re-execute operations (1)-(5), optimize the production scheduling for the new processing stage, and generate a new scheduling plan for production.
[0029] Compared with the prior art, the present invention has the following advantages:
[0030] 1. The present invention combines the current status of flexible job shop scheduling problems at home and abroad, analyzes the characteristics of the production workshop of key parts of diesel engine valve transmission mechanism, establishes a multi-objective optimization model for the production mode of multi-variety and variable batch, and uses the multi-layer coding NSGA-Ⅲ algorithm to solve it to obtain the workshop production operation plan. Compared with the traditional workshop operation scheduling, the present invention improves production efficiency, reduces production costs, and gives full play to the overall efficiency of the production line.
[0031] 2. The present invention takes into account the bottleneck equipment constraints when constructing the mathematical model for production scheduling optimization. At the same time, in view of the disturbance factors such as emergency orders and equipment failures in the production process, a production rescheduling model based on disturbance factors is constructed, and the solution is based on the adaptive NSGA-Ⅲ algorithm to obtain the rescheduling production workshop operation plan under the disturbance factors, which helps the dispatchers to quickly formulate reasonable production operation scheduling plans when encountering disturbance events.
[0032] Experimental results show that the method proposed in the present invention can effectively shorten the production period and improve the production efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 It is a flow chart for realizing the present invention;
[0034] Figure 2 It is a schematic diagram of the production operation network in the present invention;
[0035] Figure 3 Plan Gantt charts for unbatched production operations;
[0036] Figure 4 It is a Gantt chart for scheduling before the emergency insertion in the present invention;
[0037] Figure 5 This is a comparison chart of the scheduling Gantt chart before and after the emergency order insertion of the present invention. DETAILED DESCRIPTION
[0038] The embodiments and effects of the present invention are further described in detail below in conjunction with the accompanying drawings, but it should be understood that the embodiments are used to explain the present invention, not to limit the present invention.
[0039] Reference Figure 1 , the implementation steps of this example are as follows:
[0040] Step 1: Build a production dataset.
[0041] 1.1) The type and quantity of parts are used as production order data, and the process route, process and working hours are used as process data:
[0042] 1.2) Construct an orthogonal set of part types and part batches for a given order based on the production order data and part process data:
[0043] Assume there are k different workpieces, and p i Batch selection, resulting in different combinations, and then these combinations are combined into an orthogonal set H: H = {(J i ,B i )|0<i≤k},
[0044] Among them J i is the i-th workpiece, B i is the batch size of the i-th workpiece;
[0045] 1.3) Based on the orthogonal set H, combined with the process route, process and working hours of the parts, a production data set with multiple varieties and variable batches is constructed.
[0046] Step 2: Identify bottleneck equipment that affects production scheduling.
[0047] 2.1) Definition of bottleneck equipment;
[0048] Resource capacity directly affects the performance of the production system. The bottleneck in the production system restricts the effective output of the system. Quickly and effectively identifying bottleneck equipment is the key to reasonable resource allocation, which has an important impact on the overall production efficiency and is also the premise of job shop scheduling. The following is the definition of bottleneck equipment:
[0049] Assume that there are n different products, totaling n pieces, which need to be processed on m pieces of equipment. Let Y i is the bottleneck degree of device i, and for any j-th device, the bottleneck degree Y j , if both satisfy Y i >Y j The condition is that device i is the bottleneck device in the system, where i,j∈M={1,2,...,m}, j≠i;
[0050] 2.2) Identify bottleneck devices based on network structure characteristics;
[0051] 2.2.1) Definition of production operation network:
[0052] The production operation network includes the number of nodes, the number of edges, the workload, the mapping relationship and the processing time, and realizes the network mapping of the operation workshop. Its structure is defined as follows:
[0053] SSNM=[G,E,W r ,M(td),T ij ]
[0054] Where: G represents the set of all nodes, G∈{1,2,..r.,m}; E represents the set of edges; W r represents the workload of node r; M(td) represents the mapping relationship between tasks and nodes; T ij Defined as the i-th part P i The standard processing time required for the j-th process on the equipment.
[0055] Taking Table 1 as an example, for the processing of parts 1, 2, 3, and 4, the processing equipment M1, M2, M3, M4, M5, M6, and M7 are used as network nodes, and turning, milling, and grinding are connected as directed line segments to construct the production operation network of the system. The results are as follows: Figure 2 shown.
[0056] Table 1 Job shop scheduling problem
[0057] Component Process route Processing time (min) Part 1 M1->M4->M5->M2->M6 15-15-5-5-5 Part 2 M1->M4->M6->M3->M2->M7 8-15-5-10-5-5 Part 3 M1->M3->M5->M1->M3 15-12-12-10-12 Part 4 M4->M5->M1 15-10-5
[0058] 2.2.2) Characteristic parameters in the production operation network:
[0059] The characteristic parameters in the production operation network include node degree, coupling degree, and workload.
[0060] The node degree is calculated from the number of nodes, which is composed of two parts: the number of node inputs and the number of node outputs. Its value is the sum of the two, where:
[0061] The node input number indicates the number of upstream nodes connected to the node in the production operation network. The formula is:
[0062] In the formula, G r in represents the number of inputs to the rth node, represents the decision parameter flowing from node l to node h. If it flows from upstream node l to node h, then The value is 1, otherwise it is 0, and m represents the number of nodes;
[0063] The node output number indicates the number of downstream nodes connected to the node in the production operation network, and its formula is expressed as:
[0064]
[0065] Where G r out represents the number of outgoing nodes of the rth node, represents the decision parameter for the outflow from node l to node h. If the outflow from the upstream node l to node h, then The value is 1, otherwise it is 0;
[0066] Number of nodes for the rth node:
[0067] The node degree of the rth node:
[0068] The coupling degree refers to the number of line segments connecting any two nodes r and s. In the production operation network, the coupling degree can be used to indicate the degree of direct association between two nodes. When the nodes are closely connected and the coupling is high, the value is correspondingly larger. Calculate the coupling value between any two nodes to form the global coupling matrix F:
[0069]
[0070] Among them, f rs is the coupling degree between the rth node and the sth node.
[0071] The workload refers to the ratio of the sum of the time that n products to be processed need to occupy on node r to the longest total processing time. The node workload reflects the ability of the node processing capacity to meet the needs of the production system. The larger the node workload, the more difficult it is for the node capacity to meet the actual production needs of the production system. The formula is as follows:
[0072]
[0073] Where W r Indicates the load size of node r; N i For product P i The number of all processes in the entire processing process; B ijr is the node coefficient, if the product P i The jth process of B is processed at node r. ijr =1, otherwise B ijr =0; T ij Defined as product P i The processing time of the j-th process.
[0074] 2.2.3) Calculate the equipment bottleneck degree based on the characteristic parameters in the production operation network;
[0075] 2.2.3.1) Calculate the importance E using the coupling degree F and node degree D in the production operation network:
[0076]
[0077] Where e r is the importance of node r in the network, d r is the node degree of the rth node in the network, f rs is the coupling degree between the rth node and the sth node;
[0078] 2.2.3.2) By the importance of the node e r The bottleneck degree Y of each device required by the workload calculation r :
[0079] Y r =e r ×W r
[0080] Among them, W r is the workload that the rth node needs to bear in the entire production network, e r is the importance of the rth node.
[0081] 2.2.3.3) Select the bottleneck device set:
[0082] Arrange the m processing equipment in the production workshop from high to low according to the bottleneck degree, and take the first k equipment as the final bottleneck equipment set, k∈[1,m].
[0083] Step 3: Construct a mathematical model for production scheduling optimization.
[0084] 3.1) Production operation preset:
[0085] Suppose there are m machine tools and n types of parts to be processed. Each part has multiple processes and needs to be mass-produced. There is at least one machine tool that processes a certain process of each part. The processing time of the process varies with the performance of the machine tool. The processing process of each part is determined in advance.
[0086] Assume that each part can be divided into multiple batches and processed on different equipment, and each batch is processed as a whole. The process flow of each workpiece cannot be changed, and each operation must be processed in the order of the process;
[0087] 3.2) Set the conditions that the scheduling model needs to meet according to the preset requirements of the production operation:
[0088] First, the raw materials and corresponding fixtures are fully prepared before production;
[0089] Second, the time required for equipment startup, material unloading, and workpiece movement between various devices is not taken into account;
[0090] Third, the set of processable equipment for each process of all workpieces is known, and each process cannot be interrupted during the processing;
[0091] Fourth, the process flow of the workpiece cannot be changed, and the order of each workpiece processing procedure is fixed, that is, it is carried out strictly in accordance with the process sequence;
[0092] Fifth, the processing time of the workpiece on each device is fixed, and the processing time of the workpieces in the same batch is determined according to the number of workpieces in the batch and the time it takes for the equipment to process one workpiece;
[0093] Sixth, the workpieces of the same batch are arranged to be processed together, and at time zero, all workpieces can be processed;
[0094] Seventh, there is no order constraint between the processes of different batches of the same workpiece, and different equipment can be selected for processing in the equipment concentration;
[0095] Eighth, there is no order constraint between the processes of different workpieces;
[0096] Ninth, each device can only process one process of a certain batch of workpieces at any one time;
[0097] Ten is that each process of a certain batch of each workpiece can only be processed on one device at any one time.
[0098] 3.3) Set constraints:
[0099] According to the production conditions described in 3.2), set the load W of the kth device k , the number of workpieces to be processed Q i , the jth process of the i-th workpiece can be processed by O ij Equipment set M ij , the i-th workpiece, the h-th batch, the j-th process can be processed by O ihj Equipment set M ihj , the i-th workpiece, the h-th batch, the j-th process on equipment M k Processing completion time CT ihjk , the i-th workpiece, the h-th batch, the j-th process on equipment M k' Processing completion time CT ihjk' , the i-th workpiece, the h-th batch, the j-th process on equipment M k Start processing time ST ihjk These constraints;
[0100] 3.4) Based on the production data set of the production workshop, the bottleneck equipment set and other production scheduling resources, combined with the constraints described in 3.3), the maximum completion time, total equipment load and maximum equipment load are taken as optimization goals, and the following production scheduling mathematical model is constructed:
[0101] Objective function: F = min(F1, F2, F3)
[0102] Maximum completion time: Total equipment load: Maximum equipment load: F3 = max (W k )
[0103] The constraints are as follows:
[0104]
[0105] T ihjk =t ijk ×Lih
[0106]
[0107]
[0108]
[0109] CT ihjk ≥ST ihjk +T ihjk
[0110] ST ih(j+1)k ≥CT ihjk'
[0111] ST ihjk ≥CT i'h'j'k
[0112] ST ihjk ≥0,ET ihjk ≥0
[0113] The parameters in the model are shown in Table 2:
[0114] Table 2 Model parameter symbols and descriptions
[0115]
[0116]
[0117] Step 4: Solve the production scheduling mathematical model based on the improved NSGA-Ⅲ algorithm to obtain the Pareto optimal solution set.
[0118] 4.1) Set algorithm parameters, including number of iterations, population size, number of reference points, crossover probability, and mutation probability;
[0119] 4.2) Encoding and decoding:
[0120] The encoding refers to arranging the information carried by the chromosome in a set manner to form a bit string;
[0121] The decoding refers to restoring the processing order represented by the chromosome before calculating the fitness function;
[0122] This example uses two layers of integer coding to represent chromosomes, where the first section of coding is based on the process and is used to determine the order of workpiece process processing. The second section of coding is based on the equipment and is combined with the bottleneck equipment set to determine the equipment selected for workpiece processing. The left-shift insertion method is used to decode and calculate its fitness, which is the objective function of the optimization model: maximum completion time, total equipment load, and maximum equipment load.
[0123] 4.3) For the parent population P t , through crossover and mutation, the offspring population Q is generated t ;
[0124] 4.3.1) Crossover operation:
[0125] Calculate the crossover probability P c , the formula is as follows:
[0126]
[0127] Where p c is the maximum crossover probability, k c is the minimum crossover probability, t is the number of iterations, t max is the maximum number of iterations, and two different individuals are selected from the crossover pool. The crossover probability is used to determine whether to perform a crossover operation. If the crossover condition is met, a crossover operation is performed on the different coding parts of the two individuals, where:
[0128] IPOX crossover is used for process coding. By crossing the processing order of the processes in the parent chromosome, the machines assigned to the processes in the workpiece are retained in the child generation. The operation process is as follows: all workpiece machines are randomly divided into two sets J1 and J2, and the workpieces contained in chromosome P1 in J1 are copied to C1, and the workpieces contained in chromosome P2 in J2 are copied to C2, retaining their positions, and the workpieces contained in P2 in J2 are copied to C1, and the workpieces contained in P1 in J1 are copied to C2, retaining their order;
[0129] The uniform crossover method is used for the device code part. The specific process is as follows: first, an integer N is randomly generated according to the device code length, and then N different integers are randomly generated according to the integer N. According to the generated N different integers, the gene bits at the corresponding positions of chromosomes P1 and P2 are copied to the daughter chromosomes C1 and C2, and the corresponding positions are maintained. Then, the remaining genes of P1 are copied to C2, and the remaining genes of P2 are copied to C1;
[0130] 4.3.2) Mutation operation:
[0131] Calculate the mutation probability, the formula is as follows:
[0132]
[0133] Where p v is the maximum mutation probability, k v is the minimum mutation probability, t is the number of iterations, t maxis the maximum number of iterations. For individuals in the parent population, the mutation probability is used to determine whether to perform a mutation operation. If the mutation condition is met, the individual is mutated. The main function of the mutation is to enable the algorithm to jump out of the local optimal solution. During the operation, only a small disturbance can be made to the individual to prevent the destruction of good information and its fragments. The specific implementation is:
[0134] For the process coding part, a two-point position mutation method is used, that is, two positions are randomly generated from the process coding segment of a chromosome and the values of these two positions are exchanged. At the same time, the machine coding segment of the chromosome is modified at the corresponding position to generate a new individual.
[0135] For the equipment code part, a position is randomly selected from the equipment code part of a chromosome, the corresponding processing step is found, and a device is randomly selected from the set of selectable processing equipment for the step to replace the original equipment code;
[0136] 4.4) Merge the parent population P t With the offspring population Q t Get a new population R t , for the population R t Decode all individuals in the system and calculate their fitness;
[0137] 4.5) Select an operation:
[0138] According to the population R t The fitness value of each individual in the population is quickly sorted and the population is divided into different non-dominated layers (F1, F2, F3, ..., F L , …, F N ), starting from the non-dominated layer F1, the solutions of each non-dominated layer are added to the new set S t In, until the set S t The number of is greater than or equal to the population size popsize for the first time, let F L is the first solution set that satisfies this condition, then From S t Select the solution to generate the next generation parent population P t+1 , if S t The number of equal to popsize, then P t+1 =S t Otherwise, first change S t The set (F1, F2, F3, ..., F L-1 )P t+1 Then from F L The remaining solutions are selected according to the reference point selection mechanism;
[0139] 4.5.1) Based on the reference point selection mechanism:
[0140] Calculate the population S t The minimum value of each objective function among all solutions is taken as the ideal point; a hierarchical generation strategy is used to generate deterministic reference points, that is, for M targets with equal scores of b, H reference points can be obtained, and the size of H can be determined by the formula For example, for the optimization problem with the number of targets M = 3 and each dimension of the target divided into four equal parts (b = 4), 15 evenly distributed reference points can be generated on the normalized hyperplane; the objective function value of each solution in the population is standardized, and the population S is calculated by t The distance from each solution in to each reference line (the line connecting the ideal point and the reference point in the target space) is sorted, and the shortest distance is selected. The reference point corresponding to the distance is defined as the associated reference point. L The microhabitat strategy is used to select individuals;
[0141] 4.5.2) Microhabitat preservation strategy:
[0142] The purpose of the microhabitat preservation process is to L Individuals that meet certain conditions are retained to the next generation and added to the population P t+1 until the population size is reached. Let the number of habitats I j It is F1 to F L-1 The number of individuals connected to the jth reference point in the layer, find the one with the minimum habitat number I i The reference point i is then determined L Is there an individual connected to this reference point i? If there is an individual connected to the reference point i, then select an individual to enter P according to the distance from the individual to the reference point. t+1 Otherwise, this iteration will not consider this reference point, but repeat the above operation with another reference point with the minimum number of habitats until P t+1 reached population size.
[0143] 4.6) Determine the loop condition. If the loop condition is met, the algorithm loop will be exited to output the final Pareto optimal solution set; if the loop condition is not met, the loop will continue.
[0144] Step 5: Based on the Pareto optimal solution set obtained by the above operation, the final scheduling plan is selected from the Pareto optimal solution set using the hierarchical analysis method to determine the scheduling of each processed product in the processing step O. ihj The processing equipment required in k , and the start time of processing on the equipment ST ihjk and end time CT ihjk , forming a workshop production operation plan for production.
[0145] Step 6: Rescheduling production of disturbance factors.
[0146] During the production process, if an emergency order is encountered, the scheduling plan needs to be adjusted and a new scheduling plan is generated. The implementation is as follows:
[0147] (6a) Input the rescheduling time point, extract the completed and unfinished workpiece processes, processing equipment, processing time and process end time, remove the completed parts from the processing stage, input the basic data of the urgent workpiece including the number of processes and the processing time of the processing equipment for each process, and put the original unfinished workpiece and the new order workpiece into the processing stage in sequence;
[0148] (6b) Re-execute operations (1)-(5), optimize the production scheduling for the new processing stage, and generate a new scheduling plan for production.
[0149] The effect of the present invention can be further illustrated by the following simulation test:
[0150] 1. Experimental data
[0151] This paper uses simulation data for experimental verification. The part types, processes, working hours, and equipment simulation data are shown in Table 3, where M1, M2, M3, M4, M5, M6, and M7 represent the 7 processing equipment in the production workshop.
[0152] Table 3 Parts simulation data
[0153]
[0154] The information of parts type, quantity, working hours, etc. of emergency orders is shown in Table 4:
[0155] Table 4 Parts information for emergency order insertion
[0156]
[0157] 2. Test content
[0158] Test 1: Under the conditions of the parts simulation data in Table 3 above, the scheme of scheduling the workshop staff using the existing technology is as follows: Figure 3 shown.
[0159] Test 2: Under the conditions of the parts simulation data in Table 3 above, the scheduling scheme is generated using the method of the present invention, such as Figure 4 shown.
[0160] Experiment 3: Under the conditions of the urgent order parts data in Table 4 above, the method of the present invention is used to perform production rescheduling and generate a scheduling plan after rescheduling, such as Figure 5 shown.
[0161] 3. Test results
[0162] Comparing Experiment 1 and Experiment 2, the maximum completion time of the scheduling scheme of the existing workshop site is 570 minutes, and the maximum completion time of the scheduling scheme of the present invention is 415 minutes, which significantly reduces the time cost and improves the production efficiency of the workshop.
[0163] It can be seen from Experiment 3 that when the present invention is executed Figure 5 The production rescheduling plan shown in a generates an emergency order at 415 minutes. Figure 5 The production rescheduling shown in b improves the overall efficiency of production compared to traditional manual scheduling.
Claims
1. A multi-variety variable batch production scheduling method based on disturbance events, It is characterized in that include: (1) Construct a multi-variety variable batch production dataset for a given part type; (1a) Based on the production task data including part types and part quantities assigned by the workshop, an orthogonal set H of part batches under a given part type is constructed using the orthogonal combination method; (1b) Construct a production data set of multiple varieties and variable batches by combining these orthogonal sets with the process routes, processing procedures and processing hours of the parts; (2) Select the bottleneck device set: (2a) Based on the constructed multi-variety variable batch production data set, the production operation network is constructed based on the bottleneck identification method of network structure characteristics, that is, the production operation system is converted into a network for description, and all the equipment involved in the production workshop is regarded as a network node. According to the product processing route, the equipment involved in the processing is connected with directed arrows; (2b) Select the node degree D, coupling degree F, and workload W in the production operation network, calculate the importance E of each device based on the node degree D and coupling degree F, and then calculate the bottleneck degree Y of each device required by the importance E and workload W; (2c) selecting bottleneck equipment to form a final bottleneck equipment set based on the actual production situation of the workshop; (3) According to the production data set of the production workshop, the bottleneck equipment set and other production scheduling resources, combined with the characteristics of the job shop scheduling problem and factors such as products, processes, equipment, and personnel, the load W of the kth equipment is set. k , the number of workpieces to be processed Q i , the jth process of the i-th workpiece can be processed by O ij Equipment set M ij , the i-th workpiece, the h-th batch, the j-th process can be processed by O ihj Equipment set M ihj , the i-th workpiece, the h-th batch, the j-th process on equipment M k Processing completion time CT ihjk , the i-th workpiece, the h-th batch, the j-th process on equipment M k' Processing completion time CT ihjk' , the i-th workpiece, the h-th batch, the j-th process on equipment M k Start processing time ST ihjk These constraints; (4) Under the parameter constraints set in (3), the production scheduling optimization model is constructed: Objective function: F = min(F 1 ,F 2 ,F 3 ) Constraints: T ihjk =t ijk ×L ih CT ihjk ≥ST ihjk +T ihjk ST ih(j+1)k ≥CT ihjk' ST ihjk ≥CT i'h'j'k ST ihjk ≥0,CT ihjk ≥0 Among them, F is the objective function, F 1 is the maximum completion time, F 2 is the total equipment load, F 3 is the maximum equipment load, M is the processing equipment set, α ijhk For the i-th workpiece, the h-th batch, the j-th process on equipment M k The decision parameters for processing, L ih is the number of workpieces processed in the hth batch of the i-th workpiece, T ihjk For the i-th workpiece, the h-th batch, the j-th process on equipment M k Processing time on CT i'h'j'k For device M k The time when the previous batch was processed; (5) The improved NSGA-III algorithm is used to solve the production scheduling optimization mathematical model and obtain the Pareto optimal solution set. The final scheduling scheme is selected from the Pareto optimal solution set using the hierarchical analysis method to determine the optimal scheduling of each processed product in the processing step O. ihj The processing equipment required in k , and the start time of processing on the equipment ST ihjk and end time CT ihjk , forming a workshop production operation plan; (6) Execute processing tasks according to the production operation plan. If an emergency order disturbance occurs during the execution of the workshop production operation plan, the following production rescheduling is performed: (6a) Input the rescheduling time point, extract the completed and unfinished workpiece processes, processing equipment, processing time and process end time, remove the completed parts from the processing stage, input the basic data of the urgent workpiece including the number of processes and the processing time of the processing equipment for each process, and put the original unfinished workpiece and the new order workpiece into the processing stage in sequence; (6b) Re-execute operations (1)-(5), optimize the production scheduling for the new processing stage, and generate a new scheduling plan for production.
2. According to the method of claim 1, the orthogonal combination method in (1a) is used to construct the orthogonal set H of the part batch under a given part type, assuming that there are k different workpieces, and p i Batch selection, resulting in different combinations, and then these combinations are organized into an orthogonal set H.
3. According to the method of claim 1, in said (1b) a production data set of multiple varieties and variable batches is constructed, and the processing data of the parts mainly includes the process O of the parts. ij With the processing time T, the demand data of parts mainly include the type n and quantity s of parts. Combined with the orthogonal set H of part type and batch, a multi-variety variable batch production data set is constructed.
4. According to the method of claim 1, said (2a) converting the production operation system into a network for representation is implemented as follows: All the equipment involved in the production workshop is regarded as a network node. According to the product processing route, the equipment involved in the processing is connected with directed arrows. The production constraints and related mapping relationships in the production system are clearly reflected through nodes and directed lines to form a production operation network structure. The production operation network structure is defined as follows: SSNM=[G,E,W r ,M(td),T ij ] Where: G represents the set of all nodes, G∈{1,2,..r.,m}, m is the total number of nodes, r is a node in the network; E represents the set of edges; W r represents the workload of node r; M(td) represents the mapping relationship between tasks and nodes; T ij is the standard processing time required for the j-th process of the ith part on the equipment.
5. According to the method of claim 1, in said (2b), the importance E of each device is calculated according to the node degree D and the coupling degree F, and the formula is as follows: in, e r is the importance of the rth node in the network, f rs is the coupling degree between the rth node and the sth node, d r is the node degree of the rth node in the network.
6. According to the method of claim 1, the (2b) is to calculate the bottleneck degree Y of each device required in the end from the importance E and the workload W, and the formula is as follows: AND r =e r ×W r W r is the workload that the rth node needs to bear in the entire production network, Y r is the bottleneck degree of the rth node, e r is the importance of the rth node in the network.
7. According to the method of claim 1, the improved NSGA-III algorithm is used to solve the production scheduling optimization mathematical model in (5), which is implemented as follows: (5a) Setting algorithm parameters, including number of iterations, population size, number of reference points, crossover probability, and mutation probability; (5b) Coding: The chromosome is represented by two layers of integer coding. The first layer of coding represents the process sequence of the workpiece, which is used to determine the order of the workpiece process processing. The second layer represents the equipment sequence corresponding to the workpiece process, and the equipment selected for workpiece processing is determined in combination with the bottleneck equipment. (5c) Decoding: Restore the processing order represented by the chromosome before calculating the fitness function; (5d) For the parent population Pt, the offspring population Qt is generated through crossover and mutation; (5d1) Calculate the crossover probability P c , the formula is as follows: p c is the maximum crossover probability, k c is the minimum crossover probability, t is the number of iterations, t max is the maximum number of iterations, and two different individuals are selected from the parent population to perform the crossover operation according to the crossover probability. If the crossover condition is met, the IPOX crossover method is used for the process code part of the individual, and the uniform crossover method is used for the equipment code part to generate two individuals; (5d2) Calculate the mutation probability, the formula is as follows: p v is the maximum mutation probability, k v is the minimum mutation probability, t is the number of iterations, t max is the maximum number of iterations, and the mutation operation is performed on the individuals of the parent population according to the mutation probability. If the mutation conditions are met, the two-point position mutation method is used for the individual process code part, and the single-point mutation method is used for the equipment code part to generate mutant individuals; (5e) Merge the parent population P t With the offspring population Q t Get a new population R t , for the population R t Decode all individuals in the system and calculate their fitness; (5f) According to the population R t The fitness value of each individual in the population is quickly sorted and the population is divided into different non-dominated layers (F 1 , F 2 , F 3 , …, F L , …, F N ), from the non-dominated layer F 1 At the beginning, the solutions of each non-dominated layer are added to the new set S one by one t In, until the set S t The number of is greater than or equal to the population size popsize for the first time, let F L is the first solution set that satisfies this condition, then From S t Select the solution to generate the next generation parent population P t+1 , if S t The number of equal to popsize, then P t+1 =S t Otherwise, first change S t The set in (F 1 , F 2 , F 3 , …, F L-1 )P t+1 Then from F L The remaining solutions are selected according to the reference point selection mechanism; (5f1) Calculate the population S t The minimum value of each objective function among all solutions is taken as the ideal point, and a hierarchical generation strategy is used to generate deterministic reference points. That is, for M targets with equal scores of b, H reference points can be obtained. The size of H can be determined by the formula Obtain, standardize the objective function value of each solution in the population, and calculate the population S t The distance from each solution to each reference line in F L The microhabitat strategy is used to select individuals; (5f2) The goal of niche strategy selection is to convert F L Individuals that meet certain conditions are retained to the next generation and added to the population P t+1 until the population size is reached; let the habitat number I j Yes F 1 to F L-1 The number of individuals connected to the jth reference point in the layer, find the one with the minimum habitat number I i The reference point i is then determined as F L Is there an individual connected to this reference point i? If there is an individual connected to the reference point i, then select an individual to enter P according to the distance from the individual to the reference point. t+1 Otherwise, this iteration will not consider this reference point, but repeat the above operation with another reference point with the minimum number of habitats until P t+1 The number of species reaches population size; (5g) Determine the loop condition. If the loop end condition is met, the algorithm loop will be jumped out to output the final Pareto optimal solution set; if the loop end condition is not met, the loop will continue.
