Comprehensive scheduling method for sequencing processes of the same equipment based on root subtree vertical and horizontal pre-scheduling
Through vertical and horizontal pre-scheduling and equipment sequence sorting of the root sub-tree, combined with the dynamic start time strategy, the problem of neglecting the internal structural characteristics of the product process tree in the existing technology is solved, and the product processing time is minimized and the scheduling efficiency is improved.
Patent Information
- Application Number
- CN202110701388.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-24
- Publication Date
- 2024-10-18
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing comprehensive workshop scheduling method ignores the vertical and horizontal structural characteristics of each sub-tree within the product process tree, resulting in an uncompacted processing process and production time that is limited by many aspects, making it difficult to optimize.
By pre-scheduling the root subtree vertically and horizontally, the priority is determined and the equipment processes are grouped by equipment sequence. Combined with the dynamic start processing time strategy, vertical and horizontal conflicts are resolved and the scheduling plan is optimized.
It minimizes product processing time, improves equipment process processing compactness and scheduling efficiency, and adapts to product process trees with different structural characteristics.
Smart Images

Figure 210624095338 
Figure 210624095402 
Figure 210624095408
Abstract
Description
Technical Field
[0001] The invention relates to a comprehensive scheduling method for sequencing processes of the same equipment with vertical and horizontal pre-scheduling of root subtrees. Background Art
[0002] At present, most of the comprehensive workshop scheduling methods analyze the overall structure of the process tree, but ignore the vertical and horizontal structural characteristics of each subtree within the product process tree, which breaks the parallel relationship between the subtrees in the product process tree, making the product processing process not compact enough; because the total time of product manufacturing is restricted by the vertical and horizontal aspects of the process tree: the vertical aspect refers to the processing time of the process on the critical path, and the horizontal aspect refers to the processing time of the process on the key equipment, and the differences in each product structure and production process lead to different vertical and horizontal characteristics of the product process tree itself and its internal structure.
[0003] The method of the present invention mines the vertical and horizontal characteristics of the root subtree through the root subtree pre-scheduling strategy, determines the priority of each root subtree and sorts all the root subtree equipment processes by equipment sequence, so as to solve the horizontal conflict problem of the root subtree equipment processes; on this basis, the start processing time of all the root subtree equipment processes is determined according to the dynamic start processing time strategy of the equipment process and the scheduling results of all the root subtree equipment processes are saved, the root node is retrieved to generate the actual product equipment process scheduling order, the vertical conflict problem of the root subtree equipment processes is solved, and finally a reasonable scheduling plan is obtained to minimize the product processing completion time. Summary of the invention
[0004] The purpose of the present invention is to consider the vertical and horizontal characteristic structure inside the process tree, take into account the overall characteristics of the product process tree itself, deeply explore the impact of internal characteristics on the overall characteristics, and truly achieve vertical and horizontal mergers; in order to fully reflect the internal characteristics of the process tree and reduce the difficulty of decomposing the process tree, a root tree vertical and horizontal pre-scheduling method for the same equipment process sorting is provided.
[0005] The above purpose is achieved through the following technical solutions:
[0006] The method for comprehensive scheduling of the same equipment process sequence with vertical and horizontal pre-scheduling of the root subtree mainly includes the following steps: splitting and merging the process tree, fully exploring the internal characteristics of the product process tree, so that each process can be processed as early as possible, optimizing and minimizing the maximum completion time target, and improving the compactness of equipment process processing and the efficiency of solving. The operation of the method of the present invention can be roughly divided into three steps: the first step is to split the complex product process tree into several root subtrees; the second step is to traverse each root subtree to solve the aspect ratio of the root subtree, analyze the vertical and horizontal characteristics of each root subtree, so as to obtain the priority of the root subtree, and solve the horizontal competition relationship of the root subtree equipment process in the fusion process; the third step is to use the pre-start time of the root subtree equipment process and the start processing time of the equipment process to perform fusion scheduling on all the equipment processes of the root subtree, so as to complete an optimization scheduling method that considers the internal structure of the product process tree rather than only the overall structure, and executes the process from whole → part → whole.
[0007] The root subtree vertical and horizontal pre-scheduling of the same equipment process sequencing comprehensive scheduling method, the scheduling method is specifically implemented in the following steps:
[0008] Step 1: Process the data information of the complex product model to form a standardized comprehensive scheduling process tree model; establish a schedulable process set, and add all schedulable processes in the product process tree to the schedulable process set;
[0009] Step 2: According to the simplified preprocessing principle and the process tree decomposition method, the root node is taken out and saved in an independent storage space, and the product process tree is split into several root subtrees to form a root subtree;
[0010] Step 3: Obtain the longitudinal pre-scheduling completion time and the transverse pre-scheduling completion time for each root subtree in the root subtree set, and use the pre-scheduling result to obtain the aspect ratio of the root subtree. Analyze the longitudinal and transverse characteristics of each root subtree through the aspect ratio, and select the scheduling scheme with the shortest pre-scheduling completion time. If the pre-scheduling completion time of multiple root subtrees is the same, calculate the number of equipment processes of each root subtree and compare them. The root subtree with more equipment processes has a higher priority. If the number of equipment processes of the root subtrees is also the same, set the priority of the root subtrees with the same pre-scheduling completion time and equipment process number according to the naming order of the root subtrees.
[0011] Step 4: Use the bubble sort method to determine the priority of the root subtree according to the selected pre-scheduling scheme, sort all root subtrees from high to low, and obtain the pre-start time of all equipment processes; if there are multiple root subtrees with the same pre-scheduling completion time, the principle of higher priority is followed when there are more root subtrees with higher equipment processes;
[0012] Step 5: All equipment processes are grouped according to the corresponding equipment sequence, and the scheduling order of the same equipment processing process is obtained according to the time sequence before and after the pre-start of the equipment process, so as to solve the conflict problem of the processes before and after the same equipment in the horizontal direction;
[0013] Step 6: Set the corresponding processing equipment stack according to the equipment sequence, and stack the processing procedures of the same equipment in descending order according to the scheduling order obtained in step 5, that is, the top element of the stack is the equipment procedure with the highest ranking; set the product start processing time to 0, and the start processing time of the top process of the stack is 0 at this time;
[0014] Step 7: Determine whether all stacks are empty. If so, go to step 11, otherwise go to step 8;
[0015] Step 8: Determine whether the top process is a schedulable process through the schedulable process set. If not, the start processing time of the equipment process is not updated, and the top process is not removed from the stack and is in the waiting stage. If it is, the start processing time and processing completion time of the top process are determined through the dynamic start processing time strategy of the equipment process, and the top process is removed from the stack and loaded onto the corresponding processing equipment for processing, so as to solve the conflict problem of the processes that are closely connected in the vertical process tree.
[0016] Step 9: Delete the scheduled process from the schedulable process set, and add the new schedulable process to the schedulable process set;
[0017] Step 10: Determine the initial start processing time of the current top process of the same equipment through the equipment process processing completion time of step 8, and go to step 7;
[0018] Step 11: Save the actual scheduling sequence result of the root subtree process set;
[0019] Step 12: Based on step 11, add the process tree root node taken out in step 2 to the actual scheduling sequence, and finally form the scheduling result of the entire product process tree;
[0020] Step 13: Output the Gantt chart based on the scheduling results of the entire product process tree in step 12.
[0021] The same equipment processes are sorted before and after the pre-start time, and the same equipment processes of all root subtree optimal vertical and horizontal pre-scheduling schemes are sorted in ascending order according to the start processing time.
[0022] The dynamic start processing time strategy of the equipment process determines the initial start processing time of the top process according to the last processing completion time of the scheduled process of the same equipment. If the processing completion time of the immediately preceding process in the process tree of the top process is greater than the initial start processing time of the top process, the start processing time of the top process is updated to be equal to the processing completion time of the immediately preceding process in its process tree; otherwise, the start processing time of the top process is not updated.
[0023] Beneficial effects:
[0024] 1. The present invention splits the process tree into several root subtrees according to the decomposition principle of the product process tree, and mines the vertical and horizontal characteristics of each root subtree through pre-scheduling. On this basis, the equipment process pre-start time sorting strategy is used to sort the root subtree process set by grouping the processing equipment sequence to solve the horizontal equipment constraint relationship.
[0025] The present invention utilizes the dynamic start processing time strategy of the equipment process to solve the constraint relationship of the process tree in the vertical direction, thereby completing an optimization scheduling process that considers the internal structure of the product process tree. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Attached Figure 1 It is an algorithm flow chart of the root subtree vertical and horizontal pre-scheduling method of the same equipment process sequencing of the present invention.
[0027] Attached Figure 2 It is a schematic diagram of the product process tree H of the present invention.
[0028] Attached Figure 3 It is a schematic diagram of the product process tree H splitting process of the present invention.
[0029] Attached Figure 4 The present invention is directed to Figure 3 The pre-scheduling Gantt chart of the vertical and horizontal comparison of the root subtree rt1 of the process tree is shown.
[0030] Attached Figure 5 The present invention is directed to Figure 3 The pre-scheduling Gantt chart of the vertical and horizontal comparison of the root subtree rt2 of the process tree is shown.
[0031] Attached Figure 6 This is a schematic diagram of the process of setting the priorities of the root subtrees rt1 and rt2 of product H.
[0032] Attached Figure 7 It is the root subtree equipment process ranking table of the product process tree H according to the present invention.
[0033] Attached Figure 8 It is the starting processing schedule of the root subtree equipment process for product H according to the present invention.
[0034] Attached Fig. 9 This is the Gantt chart of product H scheduled using the “dynamic critical path, short duration” strategy.
[0035] Attached Fig.10 This is the Gantt chart of product H, which is scheduled with the strategy of “layer priority, short duration, long path”.
[0036] Attached Fig.11 This is the Gantt chart of product H scheduled by this method. DETAILED DESCRIPTION
[0037] Embodiment 1:
[0038] A comprehensive scheduling method for the same equipment process sequencing with vertical and horizontal pre-scheduling of root subtrees has many applications in practical applications. First, the complex product process tree is split into several root subtrees. Then, each root subtree is traversed to solve the aspect ratio of the root subtree, and the vertical and horizontal characteristics of each root subtree are analyzed to obtain the priority of the root subtree, so as to solve the horizontal competition relationship between the root subtree equipment processes in the fusion process. Finally, all the equipment processes of the root subtree are fused and scheduled using the pre-start time of the root subtree equipment process and the start processing time of the equipment process.
[0039] Embodiment 2:
[0040] The above-mentioned root subtree vertical and horizontal pre-scheduling of the same equipment process sequencing comprehensive scheduling method, the specific implementation steps of the scheduling method are as follows:
[0041] Step 1: Process the data information of the complex product model to form a standardized comprehensive scheduling process tree model; establish a schedulable process set, and add all schedulable processes in the product process tree to the schedulable process set;
[0042] Step 2: According to the simplified preprocessing principle and the process tree decomposition method, the root node is taken out and saved in an independent storage space, and the product process tree is split into several root subtrees to form a root subtree;
[0043] Step 3: Obtain the longitudinal pre-scheduling completion time and the transverse pre-scheduling completion time for each root subtree in the root subtree set, and use the pre-scheduling result to obtain the aspect ratio of the root subtree. Analyze the longitudinal and transverse characteristics of each root subtree through the aspect ratio, and select the scheduling scheme with the shortest pre-scheduling completion time. If the pre-scheduling completion time of multiple root subtrees is the same, calculate the number of equipment processes of each root subtree and compare them. The root subtree with more equipment processes has a higher priority. If the number of equipment processes of the root subtrees is also the same, set the priority of the root subtrees with the same pre-scheduling completion time and equipment process number according to the naming order of the root subtrees.
[0044] Step 4: Use the bubble sort method to determine the priority of the root subtree according to the selected pre-scheduling scheme, sort all root subtrees from high to low, and obtain the pre-start time of all equipment processes; if there are multiple root subtrees with the same pre-scheduling completion time, the principle of higher priority is followed when there are more root subtrees with higher equipment processes;
[0045] Step 5: All equipment processes are grouped according to the corresponding equipment sequence, and the scheduling order of the same equipment processing process is obtained according to the time sequence before and after the pre-start of the equipment process, so as to solve the conflict problem of the processes before and after the same equipment in the horizontal direction;
[0046] Step 6: Set the corresponding processing equipment stack according to the equipment sequence, and stack the processing procedures of the same equipment in descending order according to the scheduling order obtained in step 5, that is, the top element of the stack is the equipment procedure with the highest ranking; set the product start processing time to 0, and the start processing time of the top process of the stack is 0 at this time;
[0047] Step 7: Determine whether all stacks are empty. If so, go to step 11, otherwise go to step 8;
[0048] Step 8: Determine whether the top process is a schedulable process through the schedulable process set. If not, the start processing time of the equipment process is not updated, and the top process is not removed from the stack and is in the waiting stage. If it is, the start processing time and processing completion time of the top process are determined through the dynamic start processing time strategy of the equipment process, and the top process is removed from the stack and loaded onto the corresponding processing equipment for processing, so as to solve the conflict problem of the processes that are closely connected in the vertical process tree.
[0049] Step 9: Delete the scheduled process from the schedulable process set, and add the new schedulable process to the schedulable process set;
[0050] Step 10: Determine the initial start processing time of the current top process of the same equipment through the equipment process processing completion time of step 8, and go to step 7;
[0051] Step 11: Save the actual scheduling sequence result of the root subtree process set;
[0052] Step 12: Based on step 11, add the process tree root node taken out in step 2 to the actual scheduling sequence, and finally form the scheduling result of the entire product process tree;
[0053] Step 13: Output the Gantt chart based on the scheduling results of the entire product process tree in step 12.
[0054] Embodiment 3:
[0055] The same equipment processes are sorted before and after the pre-start time, and the same equipment processes of all root subtree optimal vertical and horizontal pre-scheduling schemes are sorted in ascending order according to the start processing time.
[0056] The dynamic start processing time strategy of the equipment process determines the initial start processing time of the top process according to the last processing completion time of the scheduled process of the same equipment. If the processing completion time of the immediately preceding process in the process tree of the top process is greater than the initial start processing time of the top process, the start processing time of the top process is updated to be equal to the processing completion time of the immediately preceding process in its process tree; otherwise, the start processing time of the top process is not updated.
[0057] Embodiment 4:
[0058] The above-mentioned root subtree vertical and horizontal pre-scheduling method for the same equipment process sequencing is based on the process tree decomposition strategy:
[0059] The process tree is split into several root subtrees through the root subtree pre-scheduling strategy, and a priority is set for each root subtree. On this basis, the root subtree process set fusion conflict adjustment strategy is used to sort the root subtree process sets with equipment sequences as groups, and the start processing time of the equipment process is adjusted to generate a substantial scheduling plan.
[0060] Embodiment 5:
[0061] The above-mentioned root subtree vertical and horizontal pre-scheduling and the same equipment process sorting comprehensive scheduling method uses the tree decomposition method to split the processing technology tree directed graph into several root subtrees, and through the root subtree pre-scheduling strategy to explore the vertical and horizontal characteristics of the root subtree, determine the priority of each root subtree and sort all the root subtree equipment processes according to the equipment sequence to solve the horizontal conflict problem of the root subtree equipment process; on this basis, according to the dynamic start processing time strategy of the equipment process, solve the vertical conflict problem of the root subtree equipment process, and finally get a reasonable scheduling plan to minimize the product processing completion time.
[0062] Embodiment 6:
[0063] The above root subtree vertical and horizontal pre-scheduling of the same equipment process sorting comprehensive scheduling method is analyzed and compared through an example. Suppose a manufacturing enterprise plans to complete a certain order recorded as product H, which consists of 22 processes and requires 3 processing equipment. Each node contains three types of data information: process name, processing equipment name and process processing time. The processing time unit is man-hours, as shown in the attached figure. Figure 2 shown.
[0064] The following will be combined with the attached Figure 2 The specific execution flow of this method is explained with the process tree diagram in FIG.
[0065] Embodiment 7:
[0066] The above root subtree vertical and horizontal pre-scheduling of the same equipment process sequencing comprehensive scheduling method will be used to Figure 2 The process tree diagram in the figure is used to perform scheduling. The specific steps are as follows:
[0067] Step 1: According to the structural characteristics of the process tree of product H, the root node Root is taken out and stored in an independent space using the tree decomposition method, and the process tree is split into two root subtrees, namely, root subtrees rt1 and rt2, completing the operation of splitting the product process tree into several root subtrees; the schematic diagram of the process tree splitting of product H is shown in Figure 3 shown.
[0068] Step 2: Traverse each root subtree of product H and pre-schedule it, and then get the vertical pre-schedule completion time and horizontal pre-schedule completion time corresponding to the root subtree. The vertical and horizontal comparison pre-schedule Gantt chart of root subtree rt1 and rt2 is as follows: Figure 4 and Figure 5 As shown, the aspect ratio of the root subtree is calculated using the pre-scheduling result, and the pre-scheduling scheme is selected and the priority of the root subtree is set according to the aspect ratio result. The process of setting the priority of the root subtree rt1 and rt2 of product H is as follows Figure 6 shown.
[0069] Step 3: Pass Figure 6 The selected pre-scheduling scheme determines the equipment process pre-start time of all root subtree equipment processes, and groups them according to the processing equipment sequences M1, M2 and M3 corresponding to the equipment processes. M1: {A11:0, A10:10, A2:100, A4:150, B9:0, B6:40, B1:145}, M2: {A9:10, A8:0, A3:45, B10:0, B8:20, B4:75, B3:105}, M3: {A7:100, A6:0, A5:50, A1:170, B7:0, B5:55, B2:105}. The root subtree priority strategy and equipment process pre-start time sorting strategy are used to sort all root subtree equipment processes to solve the conflict problem of the same equipment processing process. The sorting process of all root subtree equipment processes grouped by equipment sequence is as follows: Figure 7 shown.
[0070] Step 4: Use the dynamic start processing time strategy of the equipment process until the start processing time of all root subtree equipment processes is determined and scheduled, solve the conflict problem of the equipment processes that are close to each other in the process tree, complete the fusion operation of the root subtree process set, and determine the start processing time of the root subtree equipment process of product H according to the dynamic start processing time strategy of the equipment process, such as Figure 8 shown.
[0071] Step 5: Finally, retrieve the root node Root and enter the scheduling sequence to form the actual scheduling plan for product H, and complete the product production scheduling task; the Gantt chart of product H scheduled using the method of the present invention is as follows: Fig.11 shown.
[0072] Embodiment 8:
[0073] The above root subtree vertical and horizontal pre-scheduling of the same equipment process sequencing comprehensive scheduling method, example comparison:
[0074] Attached Fig. 9 and 10 In order to use the "dynamic critical path, short time" method and the "layer priority, short time, long path" method to schedule the attached Figure 2The Gantt chart of the scheduling result is shown in the figure. Fig. 9 , 10 and attached Fig.11 It can be seen that the product processing completion time using the method proposed in this paper is 280 working hours, and the product processing completion time using the "dynamic critical path, short time" method and the "layer priority, short time, long path" method is 290 working hours and 315 working hours; the reason why the method in this paper is more effective is that the algorithm in this paper is better than the traditional comprehensive scheduling algorithm that schedules equipment processes in an overall manner, and has the following characteristics: 1) Splitting the process tree to improve the solution efficiency 2) Mining the vertical and horizontal characteristics of the product process tree, enhancing the compactness of equipment process scheduling, and complying with the principle of early processing and early completion 3) Equipment process scheduling has better flexibility and reduces the idle time period of processing equipment.
[0075] Therefore, the scheduling method proposed in the present invention can provide a reasonable scheduling solution for the product process tree with different structural characteristics, and expands a new direction for in-depth research on comprehensive scheduling problems.
Claims
1. A root subtree vertical and horizontal pre-scheduling method for the same equipment process sequencing, characterized by The method mainly includes the following steps: first, the process tree is split into several root subtrees, and the scheduling priority of the root subtree is set from large to small using the optimal completion time of the vertical and horizontal pre-scheduling, and the pre-start time of the same equipment process is sorted and stacked according to the pre-scheduling, and the top process of the schedulable stack is popped out of the stack in combination with the leaf node schedulable process set, and the start processing time of the process is determined according to the dynamic start processing time strategy of the equipment process, and finally the earliest start time of the root node is considered to form a substantial scheduling plan; the specific implementation steps of the scheduling method are as follows: Step 1: Process the data information of the complex product model to form a standardized comprehensive scheduling process tree model; establish a schedulable process set, and add all schedulable processes in the product process tree to the schedulable process set; Step 2: According to the simplified preprocessing principle and the process tree decomposition method, the root node is taken out and saved in an independent storage space, and the product process tree is split into several root subtrees to form a root subtree set; Step 3: Obtain the longitudinal pre-scheduling completion time and the transverse pre-scheduling completion time for each root subtree in the root subtree set, and use the pre-scheduling result to obtain the aspect ratio of the root subtree. Analyze the longitudinal and transverse characteristics of each root subtree through the aspect ratio, and select the scheduling scheme with the shortest pre-scheduling completion time. If the pre-scheduling completion time of multiple root subtrees is the same, calculate the number of equipment processes of each root subtree and compare them. The root subtree with more equipment processes has a higher priority. If the number of equipment processes of the root subtrees is also the same, set the priority of the root subtrees with the same pre-scheduling completion time and equipment process number according to the naming order of the root subtrees. Step 4: Use the bubble sort method to determine the priority of the root subtree according to the selected pre-scheduling scheme, sort all root subtrees from high to low, and obtain the pre-start time of all equipment processes; if there are multiple root subtrees with the same pre-scheduling completion time, the principle of higher priority is followed when there are more root subtrees with higher equipment processes; Step 5: All equipment processes are grouped according to the corresponding equipment sequence, and the scheduling order of the same equipment processing process is obtained according to the time sequence before and after the pre-start of the equipment process, so as to solve the conflict problem of the processes before and after the same equipment in the horizontal direction; Step 6: Set the corresponding processing equipment stack according to the equipment sequence, and stack the processing procedures of the same equipment in descending order according to the scheduling order obtained in step 5, that is, the top element of the stack is the equipment procedure with the highest ranking; set the product start processing time to 0, and the start processing time of the top process of the stack is 0 at this time; Step 7: Determine whether all stacks are empty. If so, go to step 11, otherwise go to step 8; Step 8: Determine whether the top process is a schedulable process through the schedulable process set. If not, the start processing time of the equipment process is not updated, and the top process is not removed from the stack and is in the waiting stage. If it is, the start processing time and processing completion time of the top process are determined through the dynamic start processing time strategy of the equipment process, and the top process is removed from the stack and loaded onto the corresponding processing equipment for processing; Step 9: Delete the scheduled process from the schedulable process set, and add the new schedulable process to the schedulable process set; Step 10: Determine the initial start processing time of the current top process of the same equipment through the equipment process processing completion time of step 8, and go to step 7; Step 11: Save the actual scheduling sequence result of the root subtree process set; Step 12: Based on step 11, the process tree root node taken out in step 2 is added to the actual scheduling sequence, and finally the scheduling result of the entire product process tree is formed; Step 13: Output the Gantt chart according to the scheduling results of the entire product process tree in step 12; The feature is that: the equipment processes are sorted before and after the pre-start time, and each root subtree equipment process is sorted in ascending order by using the start processing time of the same equipment process in the root subtree optimal vertical and horizontal pre-scheduling scheme from small to large; Its characteristic is that the dynamic start processing time strategy of the equipment process determines the initial start processing time of the top process according to the last processing completion time of the scheduled process of the same equipment. If the processing completion time of the immediately preceding process in the process tree of the top process is greater than the initial start processing time of the top process, the start processing time of the top process is updated to be equal to the processing completion time of the immediately preceding process in its process tree; otherwise, the start processing time of the top process is not updated.
Citation Information
Patent Citations
Comprehensive scheduling method for dynamic local optimal tree
CN109961237A
Graph-based tree decomposition and heuristic comprehensive scheduling method
CN110717674A
