A distributed workshop parallel assembly scheduling method and a scheduling device

By constructing a scheduling mathematical model and using an iterative greedy algorithm to optimize the allocation of workpieces to branch plants, the sequencing of processes, and the timing of parallel assembly, the problems of unbalanced load and low resource utilization in the scheduling of heterogeneous hybrid assembly line workshops in distributed assembly were solved, thereby achieving shorter production cycles and efficient utilization of equipment resources.

CN123180613APending Publication Date: 2026-11-27XIAN UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611401241.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-10
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing distributed assembly heterogeneous hybrid flow shop scheduling schemes cannot achieve global collaborative optimization of heterogeneous workshop processing and parallel assembly, resulting in unbalanced workshop production load, low equipment resource utilization, and excessively long maximum product completion time.

Method used

A scheduling mathematical model adapted to distributed heterogeneous production scenarios is constructed, generating a set of initial scheduling schemes with multiple differentiated feasible solutions. An improved optimization algorithm based on an iterative greedy framework is used to collaboratively optimize the allocation of workpieces to branch plants, the sequencing of processes, and the timing of parallel assembly. Multi-dimensional production constraints are set, and a multi-strategy hybrid initialization mechanism and multi-neighborhood local search optimization are adopted.

Benefits of technology

It achieves collaborative optimization of workpiece sub-plant allocation, process sequencing and parallel assembly timing, shortens production completion time, improves equipment resource utilization and production efficiency, and adapts to the complex production scenarios of distributed heterogeneous workshops.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123180613A_ABST
    Figure CN123180613A_ABST
Patent Text Reader

Abstract

The application discloses a kind of distributed workshop parallel assembly scheduling method and scheduling device;Multi-constraint scheduling mathematical model suitable for distributed heterogeneous workshop is constructed, and the associated constraint of workpiece distribution, process sequencing and assembly timing is established;Diversified initial scheduling solution set is generated by using multi-strategy hybrid initialization;Through improved iterative greedy algorithm closed-loop global optimization, realize the collaborative scheduling of whole process of machining and assembly.The application solves the problem that traditional scheduling link is fragmented, resource allocation is uneven and easy to fall into local optimum, balances workshop load, shortens the completion cycle, improves equipment utilization and the intelligent level of production scheduling.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of hybrid assembly line scheduling, and in particular to a distributed workshop parallel assembly scheduling method and scheduling device, which is used to solve the technical problems of low efficiency, uneven load, and long maximum completion time in the collaborative scheduling of distributed heterogeneous processing workshops and parallel assembly lines. Background Technology

[0002] High-end equipment, electromechanical products, and other complex products have a wide variety of components and intricate processes. The industry commonly adopts a distributed assembly heterogeneous hybrid flow workshop production model, where components are distributed to factories in different locations with varying equipment performance for parallel processing, and then assembled uniformly after all components are processed. The scheduling of this production model requires the simultaneous allocation of components to different factories, the sequencing of processing in different workshops, and the arrangement of tasks on heterogeneous machines, while also meeting both process and assembly constraints.

[0003] Existing technologies have disclosed distributed assembly hybrid flow shop scheduling schemes, such as scheduling methods based on hyperheuristic reinforcement learning. For the multi-objective energy-saving distributed assembly heterogeneous hybrid flow shop scheduling problem with machine maintenance, a mixed integer linear programming model is constructed. The optimization objective is to minimize the maximum completion time and total carbon emissions. The two-level decision optimization of component sub-plant allocation and machine scheduling within the workshop is achieved by relying on a hyperheuristic evolutionary algorithm based on Q-learning.

[0004] Existing distributed assembly heterogeneous hybrid flow shop scheduling schemes cannot achieve global collaborative optimization of heterogeneous workshop processing and parallel assembly, resulting in problems such as unbalanced workshop production load, low equipment resource utilization, and excessively long maximum product completion time. Summary of the Invention

[0005] The main objective of this invention is to provide a distributed workshop parallel assembly scheduling method and scheduling device, which aims to solve the technical problem that existing scheduling technologies are unable to achieve coordinated optimization of workpiece allocation, process sequencing and parallel assembly timing.

[0006] To achieve the above objectives, this invention provides a distributed workshop parallel assembly scheduling method, applied to a distributed assembly heterogeneous hybrid flow workshop. The method includes the following core steps: constructing a scheduling mathematical model adapted to the distributed heterogeneous production scenario, wherein the scheduling mathematical model establishes the correlation constraint relationship between workpiece sub-factory allocation, process sequencing, and parallel assembly timing; generating an initial scheduling scheme set containing multiple sets of differentiated feasible solutions based on multi-dimensional initialization rules, under the condition of satisfying the correlation constraints of the scheduling mathematical model; iteratively optimizing the initial scheduling scheme set globally, collaboratively optimizing workpiece sub-factory allocation, process sequencing, and parallel assembly timing arrangement, and outputting the globally optimal feasible scheduling scheme after iteratively satisfying the preset convergence condition.

[0007] Optionally, the scheduling mathematical model sets multi-dimensional production constraints with the goal of minimizing the maximum production completion time; the initial scheduling scheme set is generated through a multi-strategy hybrid initialization mechanism; and the iterative global optimization is implemented through an improved optimization algorithm based on an iterative greedy framework.

[0008] Optionally, the scheduling mathematical model is adapted to the distributed heterogeneous hybrid assembly line scenario, decoupling the production process into an independent processing stage and a parallel assembly stage; the processing stage corresponds to multiple distributed heterogeneous processing workshops, and the processing equipment is set with sequence-related preparation time constraints; the assembly stage is configured with multiple collaborative assembly equipment to support the parallel assembly of multiple workpieces.

[0009] Optionally, the multi-dimensional production constraints include workpiece processing timing constraints, equipment processing capacity constraints, assembly process synchronization constraints, and distributed workshop workpiece transfer time constraints.

[0010] Optionally, the multi-strategy hybrid initialization mechanism integrates three types of differentiated rules: greedy sorting initialization, workshop load balancing initialization, and random disturbance initialization.

[0011] Optionally, the greedy sorting initialization rule is: sorting the workpieces in descending order based on the total processing time of the workpiece process or the product assembly time, and then allocating the workpiece processing workshops and processing machines in sequence; the workshop load balancing initialization rule is: calculating the comprehensive load of each distributed processing workshop and dynamically allocating the workpieces to the processing workshop with the lowest load; the random disturbance initialization rule is: randomly generating the workpiece processing sequence and matching it with compliant processing equipment to generate multiple sets of feasible initial solutions.

[0012] Optionally, the improved optimization algorithm includes four core steps in a single iteration: destruction and reconstruction operation, multi-neighborhood local search optimization, scheduling scheme set update, and iteration termination determination. Through iterative iteration, the production scheduling efficiency is continuously optimized.

[0013] Optionally, the destruction and reconstruction operation involves: selecting workpieces according to the dynamic destruction rate to form a destruction set, traversing the workpieces to be inserted into processing positions, and selecting the optimal insertion position to complete the scheme reconstruction; the multi-neighborhood local search optimization adopts a multi-operator combination mode, including four types of neighborhood operations: workpiece exchange inside and outside the workshop, workpiece insertion inside and outside the workshop, and selecting and retaining the optimal scheduling scheme for a single iteration.

[0014] Optionally, the iteration termination condition of the improved optimization algorithm is a preset maximum number of iterations, no significant improvement in scheduling results for N consecutive generations, or the scheduling results reaching a preset convergence threshold; if the termination condition is met, the iteration stops and the globally optimal scheduling scheme is output; otherwise, the iteration process is repeated.

[0015] In addition, to achieve the above objectives, the present invention also provides a distributed workshop parallel assembly scheduling device, which is applied to a distributed assembly heterogeneous hybrid flow workshop. The device includes a model building module, an initial solution set generation module, and an iterative optimization module. The model building module is communicatively connected to the initial solution set generation module and the iterative optimization module. The model building module is used to build a scheduling mathematical model adapted to the distributed heterogeneous production scenario. The scheduling mathematical model establishes the correlation and constraint relationship between workpiece workshop allocation, process sequencing and parallel assembly timing, and sends the completed scheduling mathematical model to the initial solution set generation module and the iterative optimization module. The initial solution set generation module is connected to the iterative optimization module. The initial solution set generation module receives the scheduling mathematical model output by the model building module, generates an initial scheduling scheme set containing multiple sets of differentiated feasible solutions based on the multi-dimensional initialization rules and under the condition of satisfying the association constraints of the scheduling mathematical model, and transmits the initial scheduling scheme set to the iterative optimization module. The iterative optimization module receives the initial scheduling scheme set output by the initial solution set generation module and the scheduling mathematical model constraint information issued by the model building module. It iteratively optimizes the initial scheduling scheme set globally, and collaboratively optimizes the workpiece workshop allocation, process processing order and parallel assembly timing arrangement. After iteratively satisfying the preset convergence conditions, it outputs the globally optimal feasible scheduling scheme.

[0016] The beneficial effects that this invention can achieve are as follows: This invention constructs a distributed heterogeneous production scheduling mathematical model, establishing constrained relationships between workpiece allocation, process sequencing, and assembly timing. This solves the problem of fragmented production processes and lack of collaborative optimization in traditional scheduling. Furthermore, it closely aligns with actual production conditions such as workshop transfers, equipment processing, and parallel assembly, improving the realism and feasibility of the scheduling scheme and providing reliable model support for finding the globally optimal scheduling solution.

[0017] This invention effectively solves the problems of poor scheduling coordination, uneven resource allocation, low optimization accuracy, low assembly efficiency, and long production cycles in existing distributed heterogeneous production line workshops by constructing a multi-constraint association model, a multi-strategy hybrid initialization scheme set, and an iterative greedy improvement optimization algorithm. It achieves workshop load balancing, precise coordination of processing and assembly sequences, shortens production completion time, and improves equipment resource utilization and overall scheduling efficiency.

[0018] This invention employs a multi-strategy hybrid initialization mechanism, integrating three differentiated rules: greedy sorting, load balancing, and random perturbation. This overcomes the drawbacks of traditional single initialization schemes, such as homogeneity and a single starting point. It ensures the processing priority of core workpieces, balances the production load of each workshop to avoid equipment overload or resource idleness, enriches the diversity of feasible solutions, effectively avoids the algorithm getting trapped in local optima, and significantly improves global optimization capabilities.

[0019] This invention employs an improved optimization algorithm based on an iterative greedy framework. Through a closed-loop iterative logic of destructive reconstruction, multi-neighborhood local search, scheme update, and termination determination, it achieves comprehensive and refined collaborative optimization. Dynamic reconstruction can escape local optima, multi-neighborhood operations broaden the optimization range, and with reasonable iterative termination conditions, it balances optimization accuracy and solution efficiency. This effectively improves upon the shortcomings of traditional algorithms, such as weak search capabilities, single optimization dimensions, and poor convergence, and continuously reduces production completion time.

[0020] This invention adapts to the parallel assembly characteristics of distributed heterogeneous workshops, enabling full-process collaborative scheduling of cross-workshop transfers, heterogeneous equipment processing, and parallel assembly of multiple devices. It effectively balances production load, standardizes process sequences, ensures synchronized assembly progress, significantly improves equipment resource utilization, shortens production cycles, and enhances the intelligence level of workshop production scheduling and overall production efficiency. Attached Figure Description

[0021] Figure 1 This is a flowchart of the distributed heterogeneous production scheduling method of the present invention; Figure 2 This is a schematic diagram of the heterogeneous hybrid flow workshop structure of the present invention; Figure 3 This is a Gantt diagram corresponding to the scheduling scheme of the present invention. Detailed Implementation

[0022] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.

[0023] In related technologies, existing scheduling techniques lack a constraint model linking workpiece sub-plant allocation, process sequencing, and parallel assembly timing. The disconnect between processing and assembly timing easily leads to wasted equipment resources. Furthermore, the initial scheduling scheme generation strategy is simplistic, resulting in insufficient diversity of initial solutions and potential load imbalance. Most optimization algorithms only optimize process sequencing individually, failing to iteratively optimize multiple scheduling variables simultaneously, making them prone to getting trapped in local optima. This leads to problems such as long completion times, low equipment utilization, and unreasonable resource allocation, failing to meet the requirements of efficient production scheduling for batch complex products. To address these shortcomings of existing technologies, this invention proposes a distributed workshop parallel assembly scheduling method. Specifically designed for distributed assembly heterogeneous hybrid flow workshop scenarios, it achieves collaborative scheduling optimization of the entire processing and assembly process, effectively shortening production completion time and improving equipment and capacity utilization.

[0024] refer to Figure 1A distributed workshop parallel assembly scheduling method is proposed for distributed assembly heterogeneous hybrid flow workshops. This scheme constructs a full-process correlation constraint model, a set of multiple differentiated initial solutions, and a global collaborative iterative optimization mechanism to achieve integrated and precise scheduling of distributed workshop processing and parallel assembly. The method includes the following steps: constructing a scheduling mathematical model adapted to the distributed heterogeneous production scenario, wherein the scheduling mathematical model establishes the correlation constraint relationship between workpiece sub-plant allocation, process sequencing, and parallel assembly timing; generating an initial scheduling scheme set containing multiple sets of differentiated feasible solutions based on multi-dimensional initialization rules, under the condition of satisfying the correlation constraints of the scheduling mathematical model; iteratively optimizing the initial scheduling scheme set globally, collaboratively optimizing the workpiece sub-plant allocation, process sequencing, and parallel assembly timing arrangement, and outputting the globally optimal feasible scheduling scheme after iteratively satisfying the preset convergence condition.

[0025] Specific implementation steps: S1. Construct a scheduling mathematical model that adapts to distributed heterogeneous production scenarios; This embodiment models a distributed, heterogeneous, hybrid assembly line workshop with collaborative assembly equipment. The workshop architecture is based on... Figure 1 As shown, the overall process is divided into a distributed heterogeneous processing stage and a multi-equipment parallel assembly stage. The processing stage includes multiple heterogeneous distributed processing workshops, each with different numbers of equipment and processing performance, and the processing equipment is subject to sequence-dependent preparation time constraints. The assembly stage is equipped with multiple independent assembly equipment to support the parallel assembly of multiple products and multiple workpieces.

[0026] This model establishes the correlation constraints of three core elements: the allocation logic of the branch factory to which the workpiece belongs, the workpiece process sequence logic within each workshop, and the parallel assembly timing arrangement logic of multiple assembly equipment, thereby breaking down the timing linkage constraints between the processing end and the assembly end and avoiding the disconnect between the processing and assembly processes.

[0027] To accurately quantify production scheduling logic, a core symbol system for the model is defined: Workpiece Index ; Product Index ; Workshop Index ; Stage Index ; Processing machine index ; Processing sequence index ; Co-assembly equipment index ; Assembly sequence index ; A collection of workpieces; Product collection; The set of workpieces corresponding to the product; Assembly at the workshop; Stage set; A set of processing machines for stage s; The processing sequence of each processing machine; The processing sequence set for each collaborative assembly equipment; A collection of collaborative assembly equipment; workpiece In the stage Processing time; workpiece In the stage Start time; workpiece In the stage End time; ,product Assembly time; ,product Assembly start time; Collaborative assembly equipment In the The start time of assembly for each product; Collaborative assembly equipment In the The end time of assembly for each product; , a very large positive number; If the workpiece Assigned to workshop It is 1 if it is true, otherwise it is 0; If the workpiece In the workshop stage Processing machines No. If a position is processed, it is set to 1; otherwise, it is set to 0. ,product Distributed to collaborative assembly equipment No. Position is set to 1 if it is assembled, otherwise it is 0.

[0028] S2. Generate an initial set of scheduling schemes for multiple sets of differentiated feasible solutions; Under all the constraints of the above mathematical model, a multi-dimensional differentiated initialization rule is adopted, abandoning the traditional single initialization mode, generating multiple sets of feasible scheduling schemes with differentiated structures and arrangements, forming an initial scheme set, ensuring the diversity and coverage of the solution space, and providing a high-quality initial population for subsequent global optimization.

[0029] S3. Iterate and global collaborative optimization to output the optimal scheduling scheme; The initial scheduling scheme set is subjected to multiple rounds of iterative global optimization, breaking the limitations of traditional phased and independent optimization. It simultaneously and collaboratively optimizes three core variables: the workpiece allocation scheme in different factories, the workpiece process sequence within each workshop, and the parallel assembly timing of multiple assembly equipment. After each iteration completes the convergence judgment and meets the preset convergence conditions, the iteration terminates and outputs the globally optimal feasible scheduling scheme, ultimately achieving the optimal overall production efficiency.

[0030] This invention is the first to construct an integrated constraint model for workpiece sub-factory allocation, process sequencing, and parallel assembly timing, connecting the entire process of distributed processing and parallel assembly to avoid resource idleness and process waiting problems. It expands the scheduling solution space by relying on a multi-dimensional differentiated initial solution generation mechanism, improves the algorithm's optimization capability, and adopts a multi-variable global collaborative iterative optimization mode to simultaneously optimize the three dimensions of allocation, sequencing, and timing, breaking through the limitations of single local optimization, quickly approaching the global optimal scheduling scheme, effectively shortening the maximum production completion time, and adapting to the complex production scenarios of distributed heterogeneous workshops.

[0031] As a preferred approach, the scheduling mathematical model aims to minimize the maximum production completion time and sets multi-dimensional production constraints; the initial scheduling scheme set is generated through a multi-strategy hybrid initialization mechanism; and the iterative global optimization is implemented through an improved optimization algorithm based on an iterative greedy framework.

[0032] Implementation details: This embodiment clarifies the model optimization objective, the initial solution generation mechanism, and the core framework of the optimization algorithm: 1) Model optimization objectives and constraints: The sole optimization objective is to minimize the maximum production completion time. The maximum completion time is defined as the maximum assembly end time of all collaborative assembly equipment, which aligns with the core requirements of actual production. At the same time, multi-dimensional production constraints are set to cover the entire process of processing, transportation, and assembly, ensuring the feasibility and compliance of the scheduling plan.

[0033] The objective function is as follows: 2) Initial solution generation: Abandoning the single initialization strategy, a multi-strategy hybrid initialization mechanism is adopted, which integrates various differentiated generation rules to generate compliant and feasible initial scheduling schemes in batches, ensuring the diversity, balance and randomness of the initial solutions.

[0034] 3) Global optimization algorithm: Based on the improved iterative greedy algorithm framework, it replaces the traditional genetic algorithm and the basic iterative greedy algorithm. Through a closed-loop iterative process of destruction and reconstruction, local search, scheme update and convergence determination, it realizes the continuous optimization of the scheduling scheme, and balances optimization efficiency and global search capability.

[0035] With minimizing the maximum completion time as the optimization objective, it aligns with the core needs of mass production in the workshop, avoids the problems of weight imbalance and reduced accuracy caused by multi-objective optimization, and relies on multi-dimensional constraints that cover actual production limitations to ensure the feasibility of the scheduling scheme. It adopts a multi-strategy hybrid initialization mechanism that integrates high-quality solutions, balanced solutions, and random solutions, which maintains the diversity of the solution space while ensuring the basic performance of the initial solution and reduces the risk of local optima in the algorithm. Furthermore, the improved iterative greedy algorithm architecture is simple and iteratively stable, and converges faster and has higher optimization accuracy than traditional intelligent algorithms, which can meet the computational requirements of large-scale scheduling in distributed heterogeneous workshops.

[0036] Furthermore, the scheduling mathematical model is adapted to the distributed heterogeneous hybrid assembly line scenario, decoupling the production process into independent processing stages and parallel assembly stages; the processing stage corresponds to multiple distributed heterogeneous processing workshops, and the processing equipment is set with sequence-related preparation time constraints; the assembly stage is configured with multiple collaborative assembly equipment to support the parallel assembly of multiple workpieces.

[0037] Implementation details: This embodiment modularizes and decouples the production process to precisely adapt to the target production scenario: 1) Production process decoupling: The overall production process is divided into two independent but time-linked processing and assembly stages. The processing stage completes the fine processing of the workpiece, and the assembly stage completes the assembly of the finished product. The two stages are independently scheduled and linked by time constraints to improve scheduling flexibility. 2) Processing stage configuration: Multiple distributed heterogeneous processing workshops are set up. Each workshop is an independent mixed flow workshop. The number of equipment, processing performance and number of processing stages vary between workshops, which fully reflects the heterogeneous production characteristics of the actual distributed factory area. At the same time, a sequence-related preparation time constraint is added to all processing equipment. That is, when the equipment processes different workpieces, the corresponding preparation time needs to be reserved according to the type of workpiece processed in the previous process, which restores the real production conditions. 3) Assembly stage configuration: Deploy multiple collaborative assembly equipment that can operate independently. A single assembly equipment can independently complete the assembly of a complete product, while multiple equipment can simultaneously carry out assembly operations for different products, realizing parallel assembly of multiple workpieces and multiple products, breaking through the efficiency bottleneck of traditional serial assembly.

[0038] This solution achieves modular scheduling and full-process linkage through process decoupling design. It can optimize the processing and assembly stages separately and prevent the stage timing from being out of sync, effectively improving scheduling accuracy. The model incorporates the heterogeneous characteristics of the workshop and the preparation time constraints related to the equipment sequence, making up for the shortcomings of traditional modeling that ignores equipment differences and the time consumption of process switching. It is more in line with actual production and the scheduling solution is more feasible. Relying on the multi-equipment parallel assembly architecture, it fully taps the assembly capacity, carries out the assembly of multiple sets of products simultaneously, improves the efficiency of the assembly process, and shortens the overall completion cycle.

[0039] Furthermore, the multi-dimensional production constraints include workpiece processing sequence constraints, equipment processing capacity constraints, assembly process synchronization constraints, and distributed workshop workpiece transfer time constraints.

[0040] Implementation details: This embodiment relies on four types of core constraints to cover the entire production process. The logic of each constraint is as follows: 1) Workpiece allocation constraints: Each workpiece is assigned to only one workshop for processing to prevent duplicate processing of workpieces and conflicts with production resources; 2) Product assembly allocation constraints: Only one collaborative assembly machine is selected for each product to complete all assembly processes; 3) Uniqueness constraint of workpiece processing: Any workpiece at any time can only be processed in a single workshop, a single process stage, and on a single processing machine; 4) Exclusive constraint of processing equipment: At any given time, a single processing equipment is only allowed to process one workpiece. 5) Assembly equipment exclusivity constraint: At any given time, a single assembly machine can only perform assembly operations on one product. 6) Processing sequence constraints: The workpiece shall be processed in strict accordance with the predetermined process path, and the start time of the current processing stage shall not be earlier than the end time of the previous processing stage; the start time of the first processing stage of the workpiece shall be synchronously matched with the equipment start-up sequence requirements. 7) Assembly synchronization constraint: The assembly process of a product can only begin after all the supporting parts that make up a product have been processed. 8) Transfer and Equipment Sequence Constraints: The time loss caused by the transfer of workpieces across workshops in the distributed workshop scenario is taken into account. At the same time, the continuity of the operation sequence of processing equipment and assembly equipment is standardized to ensure that the connection between each process conforms to the process rules.

[0041] The four types of constraints cover the entire production scenario, including workpiece processing, equipment operation, assembly linkage, and cross-workshop transfer. This overcomes the shortcomings of traditional scheduling constraints, such as their singularity and incomplete adaptation to working conditions, ensuring that the scheduling scheme meets the production process specifications and equipment capacity limits. By using synchronous constraints on assembly processes, the system strictly follows the production logic that workpieces can only be assembled after completion, eliminating idle assembly equipment and the accumulation of semi-finished products, and achieving precise connection between processing and assembly. At the same time, the system introduces transfer time constraints to adapt to the cross-regional production characteristics of distributed workshops, quantifying the time loss of long-distance transfers, and effectively improving the accuracy of completion time calculation and the feasibility of scheduling scheme implementation.

[0042] Furthermore, the multi-strategy hybrid initialization mechanism integrates three types of differentiated rules: greedy sorting initialization, workshop load balancing initialization, and random disturbance initialization.

[0043] The greedy sorting initialization rule is as follows: sort the workpieces in descending order based on the total processing time of the workpiece process or the product assembly time, and then allocate the workpiece processing workshops and processing machines accordingly; the workshop load balancing initialization rule is as follows: calculate the comprehensive load of each distributed processing workshop and dynamically allocate the workpieces to the processing workshop with the lowest load; the random disturbance initialization rule is as follows: randomly generate the workpiece processing sequence and match it with compliant processing equipment to generate multiple sets of feasible initial solutions.

[0044] Implementation details: This embodiment constructs a comprehensive and high-quality initial solution set by complementary integration of three types of initialization rules. The specific implementation process is as follows: 1) Greedy sorting initialization: The sorting is based on descending order of product assembly time, prioritizing the processing of workpieces corresponding to products with long assembly times and high process complexity. After sorting, the workpiece order is appropriately shuffled, and a cyclical allocation method is used to distribute the workpieces to each workshop in sequence. This ensures the processing efficiency of high-priority workpieces and achieves a uniform distribution of basic load in the workshops, generating a highly adaptable initial feasible solution.

[0045] 2) Workshop load balancing initialization: Based on the descending order of product assembly time, the fixed cyclic allocation mode is abandoned. The total processing load of each workshop (including the sum of workpiece processing time, equipment preparation time and transfer time) is statistically analyzed in real time. Workpieces are dynamically allocated one by one, and the workpieces to be allocated are accurately assigned to the processing workshop with the lowest load. The capacity load of each workshop is balanced in real time, avoiding the problem of some workshops being overloaded and some workshops being idle from the source, and generating a highly balanced initial solution.

[0046] 3) Random perturbation initialization: A fully random strategy is adopted to randomly shuffle the assembly order of all products and the processing order of all workpieces. Under the premise of satisfying all model constraints, each workpiece is randomly assigned a compliant processing workshop and processing equipment to generate multiple sets of highly random and differentiated initial solutions, which makes up for the homogeneity of the regular initialization solution and expands the overall solution space.

[0047] The three types of initialization rules complement each other. The greedy rule gives the initial solution a priority advantage in terms of process, and the greedy sorting initialization prioritizes the processing progress of time-consuming products, preventing delays in the production schedule of core products. The dynamic load balancing initialization adapts to the heterogeneous characteristics of workshops, balances the production load of each workshop, and improves equipment utilization. The random disturbance initialization introduces global randomness, avoids the problem of homogeneity of the initial population, broadens the solution space, overcomes the drawbacks of a single initialization strategy, reduces the possibility of the algorithm getting stuck in local optima, and provides a sufficient sample basis for searching for the globally optimal scheduling scheme.

[0048] Furthermore, the improved optimization algorithm includes four core steps in a single iteration: destruction and reconstruction operation, multi-neighborhood local search optimization, scheduling scheme set update, and iteration termination determination. It optimizes production scheduling efficiency through iterative loops.

[0049] The destruction and reconstruction operation involves: selecting workpieces according to the dynamic destruction rate to form a destruction set, traversing the workpieces to the possible processing positions, and selecting the optimal insertion position to complete the scheme reconstruction; the multi-neighborhood local search optimization adopts a multi-operator combination mode, including four types of neighborhood operations: workpiece exchange inside and outside the workshop, workpiece insertion inside and outside the workshop, and selecting and retaining the optimal scheduling scheme for a single iteration.

[0050] The iteration termination condition of the improved optimization algorithm is a preset maximum number of iterations, no significant improvement in scheduling results for N consecutive generations, or the scheduling results reaching a preset convergence threshold. If the termination condition is met, the iteration stops and the globally optimal scheduling scheme is output; otherwise, the iteration process is repeated.

[0051] Implementation details: This embodiment of the improved iterative greedy algorithm adopts a four-stage closed-loop iterative process, and the specific implementation process is as follows: 1) Destructive Reconstruction Operation: A dynamic destruction rate is set, and a subset of workpieces is adaptively selected to form a destruction set based on the iteration progress. Taking this embodiment as an example, the original scheduling scheme is coded as [[1,9,4,6,10],[5,2,7,3,8]], and the selected destruction set is {1,9,5,2}. According to the order of the destruction sets, each workpiece is traversed through all insertable processing positions one by one, and the maximum completion time corresponding to each insertion position is calculated. The position with the smallest completion time is selected to complete the reconstruction, and finally the optimized reconstruction scheme [[9,1,4,6,10],[2,7,5,3,8]] is obtained, realizing the initial optimization of the scheme.

[0052] 2) Multi-neighborhood local search optimization: Integrating four types of core search operators to form a combined search mechanism, namely, workpiece exchange within the workshop, workpiece exchange outside the workshop, workpiece insertion within the workshop, and workpiece insertion outside the workshop. Specific operation: Following the workpiece coding order, select individual workpieces sequentially, complete exchanges with all workpieces, and perform a full-position traversal search for insertion. Compare the completion times of the scheduling schemes after all operations, retain the optimal scheduling solution for a single iteration, and comprehensively explore the local optimal potential of the current scheme to avoid the problem of incomplete local optimization.

[0053] 3) Scheduling scheme set update: A binary tournament update mechanism without replacement is adopted. First, the fitness value of all scheduling schemes is calculated (based on the maximum completion time). Two schemes are randomly selected from the old scheme set without replacement for one-to-one comparison. The superior scheme with the shorter completion time is retained, and the inferior scheme is eliminated. This process continues until the size of the new scheme set is consistent with the original set, and the overall quality of the population is continuously optimized iteratively.

[0054] 4) Iteration Termination Criteria: Three termination conditions are set, and iteration will stop when any one of them is met: ① Preset maximum number of iterations (set to 100 in this embodiment); ② No significant improvement in scheduling results for N consecutive generations; ③ The scheduling result reaches a preset convergence threshold. If the termination conditions are not met, the above iteration process will be executed repeatedly.

[0055] The four-stage closed-loop iterative architecture boasts clear logic and outstanding iterative stability. It achieves comprehensive optimization from scheme reconstruction, local depth mining, population update, and convergence control, significantly improving the depth and accuracy of optimization compared to the basic iterative greedy algorithm. Among them, the dynamic destruction and reconstruction operation integrates randomness and selectivity, breaking the original fixed state of the scheduling arrangement while maintaining the basic performance of the scheme, thus improving the efficiency of iterative optimization. Combined with the four types of neighborhood operators for combined search, it covers all dimensions of optimization within and across workshops, eliminating search blind spots, fully exploring the local optimization potential of the scheduling scheme, and overcoming the shortcomings of insufficient optimization by single neighborhood search. At the same time, it adopts a binary tournament update mechanism without replacement to quickly screen high-quality solutions and eliminate low-quality solutions, continuously improving the overall level of the population to accelerate convergence. It is supplemented by a triple termination condition to balance iterative efficiency and optimization accuracy, avoid ineffective iterations, and ensure the full convergence of the scheduling scheme while controlling computational costs.

[0056] refer to Figure 3 and Figure 3 As shown, specific implementation examples and simulation results are presented: To verify the actual optimization effect of the method of the present invention, a simulation scenario of a real distributed heterogeneous hybrid assembly line was built. The specific parameters are as follows: 2 heterogeneous processing workshops, 3 processing stages, 2 collaborative assembly machines, 10 processed workpieces, and 4 assembled products are set up. The workpieces and assembly time for each product, as well as the processing time of the equipment in each workshop, are shown in Table 1 and Table 2, respectively.

[0057] product Component Assembly time P1 J1, J5, J9 18 P2 J2, J4, J7 19 P3 J3, J6 16 P4 J8, J10 17 Table 1. Product workpiece matching relationship and assembly schedule: workshop stage Number of machines J1 J2 J3 J4 J5 J6 J7 J8 J9 J10 Workshop 1 Phase 1 2 6 8 9 5 3 2 6 3 2 7 Phase 2 3 6 9 6 3 7 9 9 5 2 5 Phase 3 2 6 6 2 6 8 2 6 3 7 7 Workshop 2 Phase 1 3 5 3 7 4 8 2 6 9 5 4 Phase 2 2 3 7 6 2 8 9 4 5 7 3 Phase 3 2 6 8 2 9 5 4 7 3 6 8 Table 2. Workpiece processing schedule for each workshop: refer to Figure 3 As shown, based on the above parameters, the improved iterative greedy algorithm of this invention is used for 100 iterations to finally output the optimal scheduling scheme. The corresponding scheduling Gantt chart is shown below. Figure 3 As shown in the figure. Simulation results show that the method of the present invention can effectively adapt to the complex production scenario of distributed heterogeneous workshops and parallel assembly. Compared with the traditional single scheduling algorithm, the maximum completion time is shortened by 12.6%, the average utilization rate of workshop equipment is increased by 15.3%, the efficiency of workpiece processing and assembly process connection is significantly improved, and there are no problems such as equipment idleness, process waiting, and load imbalance. This fully verifies the advanced nature and practicality of the technical solution of the present invention.

[0058] This invention addresses the technical shortcomings of existing distributed assembly heterogeneous hybrid flow shop scheduling by comprehensively improving the model construction, initial solution generation, and iterative optimization algorithm. On one hand, it integrates multiple constraints such as workshop heterogeneity, equipment sequence preparation time, cross-workshop transfer, parallel assembly, and process synchronization to construct a mathematical model that interconnects processing, branch plant allocation, and assembly timing, solving the problems of poor adaptation between traditional models and actual working conditions and process flow disconnect. On the other hand, it adopts three types of complementary hybrid initialization rules, taking into account process priority, load balancing, and solution space diversity to prevent premature convergence. Simultaneously, it constructs a closed-loop iteratively improved greedy algorithm that incorporates destructive reconstruction, multi-neighborhood combination search, and high-quality population updates, coordinating global search and local mining, achieving faster convergence speed and higher optimization accuracy compared to traditional intelligent algorithms. The generated scheduling scheme strictly meets various production constraints and can be directly applied to batch production in distributed heterogeneous workshops, effectively compressing maximum completion time, improving equipment utilization, balancing the capacity of each workshop, reducing production energy consumption and construction costs, demonstrating significant engineering practical value.

[0059] This invention discloses a distributed workshop parallel assembly scheduling device. This device is adaptable to complex distributed assembly heterogeneous hybrid flow workshop production scenarios involving multiple workshops with heterogeneous equipment, multiple parallel assembly processes, and workpiece cross-workshop transfers. It solves the technical problems of traditional assembly scheduling schemes, such as single schemes, conflicts between parallel processes, imbalanced workshop resource allocation, disordered assembly sequence, low optimization accuracy, and slow convergence speed. This embodiment is adapted for application in a distributed assembly production line for engineering machinery parts. This production line includes three distributed heterogeneous assembly workshops, eight types of differentiated assembly equipment, 24 continuous assembly processes, and batch-processed workpieces. It can achieve integrated collaborative optimization scheduling of workpiece workshop allocation, process sequencing, and parallel assembly sequence. Specific implementation details are as follows.

[0060] Overall device architecture and scenario adaptation basis: This scheduling device consists of three core modules: a model building module, an initial solution set generation module, and an iterative optimization module. Each module communicates, interacts with data, and synchronizes commands in real time via industrial Ethernet. The communication latency between modules is ≤20ms, meeting the real-time scheduling requirements of the workshop. Specifically, the model building module is the core foundation module, communicating bidirectionally with both the initial solution set generation module and the iterative optimization module. The initial solution set generation module is the pre-solution module, unidirectionally connecting to the iterative optimization module to complete data transmission. The iterative optimization module is the terminal optimization module, performing a globally optimal scheduling solution based on the pre-solution data, ultimately outputting a directly implementable workshop assembly scheduling scheme.

[0061] The specific scenario parameters of the distributed heterogeneous hybrid assembly line workshop adapted in this embodiment are as follows: It includes workshop A (precision parts assembly workshop, equipped with high-precision robot assembly equipment), workshop B (standard parts batch assembly workshop, equipped with general automated assembly equipment), and workshop C (finished product integration assembly workshop, equipped with manual + semi-automatic hybrid assembly equipment); there are heterogeneous differences in the processing speed, assembly accuracy, load limit, and process adaptation type of each workshop; the workpieces to be assembled are engineering machinery parts, including 12 batch workpieces, each group of workpieces includes 6-8 serial basic processes, and multiple groups of workpieces can be assembled in parallel across workshops and across equipment, with multiple production constraints such as process pre-requisite constraints, equipment exclusive constraints, workshop load constraints, and assembly sequence connection constraints.

[0062] Detailed implementation process of the model building module: The core function of the model building module is to build a scheduling mathematical model that accurately adapts to the on-site production rules, taking into account the heterogeneous production characteristics of distributed workshops. This model clarifies all constraint relationships between workpieces, workshops, equipment, processes, and time sequences, providing a standardized constraint basis for subsequent solution set generation and iterative optimization. The specific implementation steps are as follows: Multi-dimensional production parameter acquisition and modeling preprocessing: The module automatically collects comprehensive production parameters by connecting to the workshop MES production management system and the equipment PLC control system. These parameters include: the number of devices in each distributed workshop, device processing efficiency, device start-up and shutdown times, maximum device load, and process adaptability range; the process priority, process processing time, process prerequisites, workpiece delivery cycle, and cross-workshop transfer time for each workpiece to be processed; and heterogeneous scenario parameters such as workshop production capacity limits, maximum number of parallel assemblies, process switching waiting time, production energy consumption threshold, and probability of downtime due to malfunctions. Simultaneously, the collected parameters undergo noise reduction and normalization processing, eliminating abnormal equipment data and invalid process parameters to ensure the accuracy of the modeling data.

[0063] Scheduling mathematical model construction and constraint association establishment: Based on preprocessed production parameters, a multi-objective constraint scheduling mathematical model for distributed heterogeneous hybrid flow workshops is constructed. The core of the model establishes a three-layered relational constraint relationship, covering the entire production process. First, workpiece workshop allocation constraints: Establish a matching mapping relationship between workpieces and distributed workshops. Combining the heterogeneous characteristics of equipment in each workshop, limit the allocation of precision process workpieces to workshop A, prioritize the allocation of batch standard process workpieces to workshop B, and fix the allocation of finished product integration process workpieces to workshop C. At the same time, set an upper limit on the number of workpieces that each workshop can carry to avoid overload of a single workshop and ensure load balance across multiple workshops.

[0064] Second, process sequencing constraints: Based on the workpiece process documents, establish dual constraints of serial and parallel processes, lock the order of the preceding and following processes of a single workpiece to ensure that core and precision processes are processed first; set parallel processing permissions for cross-workpiece and cross-workshop processes with no dependency relationship to maximize the use of idle workshop resources.

[0065] Third, parallel assembly timing constraints: Define the start time, end time, process interval time, and equipment occupancy sequence of each parallel assembly process to avoid problems such as processing multiple processes on the same equipment at the same time, timing conflicts between adjacent processes, and gaps in the connection of processes flowing across workshops. At the same time, match the equipment start-up and shutdown rhythm and workpiece flow time to achieve precise timing adaptation.

[0066] Model validation and data distribution: After the model is built, the module performs constraint verification by simulating small batches of production data to verify the rationality and completeness of various related constraints in the model, and correct parameter conflicts and constraint loopholes. After the verification is passed, the complete scheduling mathematical model, constraint parameter set, and production rule thresholds are synchronously sent to the initial solution set generation module and the iterative optimization module in the form of standardized data messages, completing the pre-modeling work.

[0067] Detailed implementation process of the initial solution set generation module: The initial solution set generation module receives the scheduling mathematical model and all constraints from the model building module. Abandoning the traditional method of simply generating a single random solution set, it generates a large number of feasible solutions that satisfy all production constraints through multi-dimensional differentiated initialization rules. This constructs a diversified set of initial scheduling schemes, providing sufficient and high-quality initial samples for subsequent iterative optimization. The specific implementation steps are as follows: Constraint rule parsing and initialization rule configuration: The module first parses all hard and soft constraints in the scheduling mathematical model. Hard constraints include process sequence, equipment exclusivity, shop floor adaptation rules, and delivery cycle limits; soft constraints include shop floor load balancing, optimal assembly timing, minimum production energy consumption, and minimum waiting time. Based on the constraint type, three types of initialization generation rules are configured: random initialization rules, greedy initialization rules, and load balancing initialization rules, to achieve differentiated generation of multi-dimensional solution sets.

[0068] Generation of multi-dimensional differentiated feasible solutions: In this embodiment, the module generates feasible solutions in batches based on three types of rules, generating a total of 200 sets of differentiated initial scheduling schemes, which constitute the initial solution set. The specific generation method is as follows: First, 80 feasible solutions are generated through random initialization rules: under the premise of fully satisfying the hard constraints of the model, the workpiece processing workshop is randomly assigned, the processing order of independent processes is randomly arranged, and the start-up time of parallel processes is randomly adjusted to ensure the diversity of the solution set and expand the search range for subsequent optimization.

[0069] Secondly, 60 feasible solutions are generated through greedy initialization rules: with "shortest processing time" as the core greedy objective, the workpieces are assigned to the workshop with the highest processing efficiency, and the pre-processing with the shortest processing time is arranged first, compressing the overall assembly period, generating locally high-quality feasible solutions, and improving the overall quality of the initial solution set.

[0070] Finally, 60 feasible solutions are generated through load balancing initialization rules: with "multi-workshop load balancing" as the core objective, the number of workpieces and process tasks across workshops are dynamically allocated to avoid overload of equipment in a single workshop and idle resources in other workshops, optimize workshop resource utilization, and generate feasible solutions with optimal resource adaptability.

[0071] Solution set filtering and data transmission: After the initial solution is generated, the module performs a secondary verification based on the constraints of the scheduling mathematical model, eliminating invalid solutions with process conflicts, equipment overload, timing disorders, or exceeding the delivery cycle, and retaining all compliant and feasible solutions. Simultaneously, the solution set undergoes differentiated deduplication to ensure that the workpiece allocation, process sequencing, and timing arrangement of each group of scheduling solutions are significantly different, avoiding homogenization of the solution set. Finally, the optimized initial scheduling solution set is completely transmitted to the iterative optimization module.

[0072] Detailed implementation process of the iterative optimization module: The iterative optimization module, as the core optimization module, synchronously receives the initial set of scheduling schemes and the constraint information of the scheduling mathematical model. With multiple optimization objectives of "minimizing the total assembly period, minimizing production energy consumption, balancing workshop load, and reducing process waiting time", it iteratively optimizes the initial solution set globally, realizing three-dimensional collaborative optimization of workpiece workshop allocation, process processing sequencing, and parallel assembly timing arrangement. The specific implementation steps are as follows: Optimization parameter initialization: After receiving the data, the module first initializes the core parameters of the iterative optimization. In this embodiment, the parameters are set as follows: maximum number of iterations 100, convergence accuracy threshold 0.01, population update ratio 30%, and optimal solution retention ratio 10%. At the same time, all constraints of the model are bound, and the total assembly completion time, equipment utilization rate, workshop load difference, and process waiting time are set as the four major evaluation indicators. A multi-objective fitness function is constructed to evaluate the merits of each scheduling scheme.

[0073] Hierarchical iterative global optimization: A hierarchical collaborative iterative optimization strategy is adopted, and the scheduling scheme is optimized synchronously in three layers to achieve full-dimensional optimization: The first layer is workpiece workshop allocation optimization: iteratively adjust the workpiece cross-workshop allocation scheme, compare the workshop load, equipment adaptability, and turnover time under different allocation schemes, eliminate allocation schemes with unbalanced load and low adaptability, and retain the workpiece workshop matching combination with the best resource utilization.

[0074] The second layer is process sequencing optimization: Based on the fixed workpiece workshop allocation, the processing sequence of workpiece processes in each workshop is iteratively adjusted, prioritizing the optimization of bottleneck processes and precision processes, reducing process waiting time and process switching time, avoiding process conflict problems, and improving the assembly efficiency of a single workshop.

[0075] The third layer is parallel assembly timing optimization: for parallel assembly scenarios involving multiple workshops and multiple devices, the start, end, and interval timing of each parallel process are precisely fine-tuned to eliminate timing overlap and connection gaps, maximize the release of the advantages of parallel assembly, and compress the overall production cycle.

[0076] Iterative convergence judgment and optimal solution output: After each round of iterative optimization, the module scores and ranks all updated scheduling schemes using a fitness function, retaining the current best solution and the historical best solution, and eliminating inferior solutions and updating the population according to a preset ratio. The process continues iteratively, with real-time monitoring of the convergence status: when the score fluctuation of the best solution over 10 consecutive iterations is less than a preset convergence accuracy threshold, or when the number of iterations reaches the maximum number of iterations, the convergence condition is deemed met, and the iterative optimization process terminates.

[0077] After the iteration terminates, the module outputs the globally optimal feasible scheduling scheme, which can achieve: distributed three-workshop load difference ≤5%, equipment comprehensive utilization rate ≥92%, overall assembly time shortened by 18%, process timing conflict rate reduced to 0, fully adapting to the parallel assembly production needs of heterogeneous mixed flow workshops, and can be directly issued to the workshop production control system for implementation.

[0078] Compared to traditional single scheduling schemes, this embodiment, through modular layered design, multi-dimensional initial solution set generation, and three-dimensional collaborative iterative optimization, thoroughly adapts to the complex production scenarios of distributed workshops with heterogeneous equipment, multiple parallel processes, and cross-workshop flow. By accurately modeling and locking in full-process constraints, it solves the problems of disordered scheduling and uneven resource allocation in traditional scheduling; by generating differentiated initial solution sets, it avoids getting trapped in local optima; and by multi-objective iterative collaborative optimization, it significantly improves workshop assembly efficiency and resource utilization, realizing intelligent and precise scheduling of parallel assembly in distributed workshops.

[0079] refer to Figures 1-3 As shown, the distributed workshop parallel assembly scheduling method proposed in this invention achieves coordinated scheduling of workshop workpiece processing and product assembly through the following specific methods.

[0080] Step 1: Problem description and model building; The distributed assembly heterogeneous hybrid flow workshop is described, the optimization objective is determined to minimize the maximum completion time, and the model constraints are defined to establish a scheduling mathematical model; Processing stage Each workpiece, assembly stage This product. During the processing stage... Each workpiece was assigned to The process is carried out in several heterogeneous workshops, each of which is a hybrid assembly line workshop. Each hybrid assembly line workshop has Stages and The system consists of processing machines, with varying numbers and performance across different sub-workshops. Furthermore, there are sequential setup time constraints between the machines. When a workpiece is processed within the workshop, it must strictly follow the process path, sequentially passing through all processing stages, and at each stage, only one parallel machine needs to be selected. During the assembly stage... The equipment operates in parallel, with each machine capable of independently assembling each type of product.

[0081] Based on the problem description, a scheduling mathematical model is constructed, clarifying the mathematical logical relationship between various parameters and decision variables in the model, and defining the mathematical symbols involved in the model, as shown below: Workpiece Index Product Index Workshop Index Stage Index Processing machine index Processing sequence index Co-assembly equipment index Assembly sequence index workpiece set Product Collection Product workpiece set Workshop assembly Stage set ,stage Processing machine collection The processing sequence of each processing machine The processing sequence set of each collaborative assembly equipment Collaborative assembly equipment set workpiece In the stage Processing time workpiece In the stage start time workpiece In the stage End time ,product Assembly time ,product Assembly start time Collaborative assembly equipment In the Product assembly start time Collaborative assembly equipment In the Product assembly completion time Larger positive numbers If the workpiece Assigned to the workshop It is 1 if it is 1, otherwise it is 0. If the workpiece In the workshop stage Processing machines No. The value at one position is set to 1, otherwise it is set to 0. ,product Assigned to collaborative assembly equipment No. If the position is 1, then it is 0. Objective function: (1) Constraints: (2) (3) (4) (5) (6) (7) (8) (9) (10) (11) (12) (13) (14) (15) (16) (17) Equation (1) indicates that the objective function is to minimize the maximum completion time, calculated by the maximum end assembly time of all collaborative assembly equipment; Equation (2) indicates that each workpiece can only be assigned to one workshop for processing; Equation (3) indicates that each product can only be assigned to one collaborative assembly equipment for assembly; Equation (4) indicates that each workpiece can only be processed on one processing machine in one stage of one workshop at the same time; Equation (5) indicates that each processing machine in each workshop can only process one workpiece at the same time; Equation (6) indicates that each collaborative assembly equipment can only assemble one product at the same time; Equation (7) indicates that each workpiece selects a processing machine based on the continuous position of the processing machine. Equation (8) indicates that each product selects a collaborative assembly equipment based on the continuous position of the collaborative assembly equipment; Equations (9) and (10) indicate the start time of the workpiece in the first stage; Equation (11) indicates the start time and end time of each workpiece; Equation (12) indicates that the start time of this stage of each workpiece is not less than the end time of the previous stage; Equation (13) indicates that all workpieces belonging to each product must complete the processing of the product before assembly can proceed; Equations (14) and (15) indicate the start time of the collaborative assembly equipment; Equation (16) indicates that the start time of the assembly of each product is not less than the end time of the previous product; Equation (17) indicates the end time of each collaborative assembly equipment.

[0082] Step 2, Initialize the scheduling scheme: The specific steps involve sorting the workpieces in descending order of assembly time, randomly shuffling the workpiece sequence, and then using a cyclical selection method to distribute the workpieces to each workshop in sequence, ensuring that priority workpieces are allocated first while achieving a uniform load distribution. Based on the assembly time descending order sorting, the fixed cyclic allocation mechanism is abandoned. By calculating the total processing load of each workshop in real time, the current workpiece is dynamically allocated to the workshop with the least load, realizing global load balancing optimization and effectively improving the scheduling performance of the initial solution. Step 3: A fully randomized strategy is adopted, which randomly shuffles the processing order of products and workpieces and randomly assigns a processing workshop to each workpiece. Randomness and diversity are used to prevent the algorithm from getting stuck in local optima.

[0083] The algorithm is solved using an improved iterative greedy algorithm, and the specific process is as follows: Destruction and reconstruction Workpieces are selected as the failure set based on the failure rate. Then, according to the order of the failure sets, the failure workpieces are selected and inserted into the positions that minimize the maximum completion time of the scheduling scheme. For example, a scheduling scheme is [[1,9,4,6,10],[5,2,7,3,8]]. The possible failure set is {1,9,5,2}. The failure workpieces are inserted into the positions that minimize the maximum completion time of the scheduling scheme according to this order. The final result is [[9,1,4,6,10],[2,7,5,3,8]].

[0084] Local search, This method includes four search operators: in-workshop swap search, out-of-workshop swap search, in-workshop insertion search, and out-of-workshop insertion search. Specifically, following the encoded order, a workpiece is selected and swapped with all other workpieces or inserted into all positions. An optimal solution is selected and saved. The same operation is then performed on the next workpiece until all workpieces in all workshops have been selected.

[0085] Update the scheduling scheme set. A binary tournament selection strategy without replacement is adopted. Specifically, the fitness value of all scheduling schemes is first calculated with the maximum completion time as the indicator. Then, two scheduling schemes are randomly selected from the old scheduling scheme set without replacement for one-to-one competition. The scheduling scheme with the smaller maximum completion time is selected as the winner and added to the new scheduling scheme set. At the same time, the two scheduling schemes are permanently removed from the old scheduling scheme set to avoid duplicate selection. The above selection operation is repeated until the size of the new scheduling scheme set reaches the size of the scheduling scheme set.

[0086] Termination condition determination, The termination condition is a preset maximum number of iterations of 100. If the termination condition is not met, repeat the above steps: destruction and reconstruction, local search, and updating the scheduling scheme set.

[0087] The following description, using a specific scenario, illustrates the distributed assembly heterogeneous hybrid flow workshop with collaborative assembly equipment described in this invention. Taking a distributed assembly heterogeneous hybrid flow workshop as an example, this workshop includes 2 processing workshops, 3 processing stages, 2 assembly machines, 10 workpieces, and 4 products. Specific assembly and processing times are shown in Tables 1 and 2.

[0088] Table 1 product Component Assembly time P1 J1J5J9 18 P2 J2J4J7 19 P3 J3J6 16 P4 J8J10 17 Table 2 This invention constructs a multi-constraint scheduling mathematical model that integrates the linkage between workpiece sub-plant allocation, process sequencing, and parallel assembly timing. It takes into account actual working condition constraints such as cross-workshop transfer losses, equipment sequence-related preparation time, and processing and assembly timing synchronization. Relying on a multi-strategy hybrid initialization mechanism combining greedy sorting, load balancing, and random perturbation, it generates diverse feasible initial solution sets. It also employs an improved iterative greedy algorithm with integrated destructive reconstruction, four types of neighborhood local search, and binary tournament update strategy to conduct closed-loop global optimization. This can simultaneously optimize workpiece sub-plant allocation, workshop process layout, and parallel assembly timing, effectively overcoming the shortcomings of traditional scheduling schemes such as fragmented production links, workshop load imbalance, algorithm susceptibility to local optima, and insufficient optimization accuracy. While ensuring the process feasibility of the scheduling scheme, it shortens the maximum production completion time, balances the capacity load of distributed workshops, and improves the comprehensive utilization rate of processing and assembly equipment.

[0089] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.

Claims

1. A distributed workshop parallel assembly scheduling method for distributed assembly heterogeneous hybrid flow workshops, characterized in that, Includes the following steps: A scheduling mathematical model adapted to distributed heterogeneous production scenarios is constructed. The scheduling mathematical model establishes the correlation and constraint relationship between workpiece sub-factory allocation, process sequencing and parallel assembly timing. Based on the multi-dimensional initialization rules, and under the condition of satisfying the correlation constraints of the scheduling mathematical model, an initial scheduling scheme set containing multiple sets of differentiated feasible solutions is generated. The initial scheduling scheme set is iteratively optimized globally, and the workpiece sub-plant allocation, process processing order and parallel assembly timing arrangement are collaboratively optimized. After the preset convergence conditions are met, the globally optimal feasible scheduling scheme is output.

2. The method according to claim 1, characterized in that: The scheduling mathematical model aims to minimize the maximum production completion time and sets multi-dimensional production constraints. The initial scheduling scheme set is generated through a multi-strategy hybrid initialization mechanism; The iterative global optimization is achieved through an improved optimization algorithm based on an iterative greedy framework.

3. The method according to claim 2, characterized in that: The scheduling mathematical model is adapted to the distributed heterogeneous hybrid assembly line workshop scenario, decoupling the production process into independent processing stages and parallel assembly stages. The processing stage corresponds to multiple distributed heterogeneous processing workshops, and the processing equipment is subject to sequence-related preparation time constraints. The assembly stage is equipped with multiple collaborative assembly devices to support the parallel assembly of multiple workpieces.

4. The method according to claim 2, characterized in that: The multi-dimensional production constraints include workpiece processing timing constraints, equipment processing capacity constraints, assembly process synchronization constraints, and distributed workshop workpiece transfer time constraints.

5. The method according to claim 2, characterized in that: The multi-strategy hybrid initialization mechanism integrates three types of differentiated rules: greedy sorting initialization, workshop load balancing initialization, and random disturbance initialization.

6. The method according to claim 5, characterized in that: The greedy sorting initialization rule is as follows: sort the workpieces in descending order based on the total time of the workpiece process or the time of the product assembly, and then allocate the workpiece processing workshops and processing machines accordingly. The initialization rule for workshop load balancing is as follows: calculate the overall load of each distributed processing workshop and dynamically allocate the workpiece to the processing workshop with the lowest load. The random disturbance initialization rule is as follows: randomly generate a workpiece processing sequence and match it with compliant processing equipment to generate multiple sets of feasible initial solutions.

7. The method according to claim 2, characterized in that: The improved optimization algorithm includes the following steps in a single iteration: The system comprises four core components: destruction and reconstruction operation, multi-neighborhood local search optimization, scheduling scheme set update, and iteration termination determination. Through iterative optimization, it improves production scheduling efficiency.

8. The method according to claim 7, characterized in that: The destruction and reconstruction operation involves: selecting workpieces according to the dynamic destruction rate to form a destruction set, traversing the workpieces to be inserted into processing positions, and selecting the optimal insertion position to complete the scheme reconstruction. The multi-neighborhood local search optimization adopts a multi-operator combination mode, including four types of neighborhood operations: workpiece exchange inside and outside the workshop, workpiece insertion inside and outside the workshop, and the optimal scheduling scheme for a single iteration is selected and retained.

9. The method according to claim 7, characterized in that: The iteration termination conditions of the improved optimization algorithm are: a preset maximum number of iterations, no significant improvement in scheduling results for N consecutive generations, or the scheduling results reaching a preset convergence threshold. If the termination condition is met, the iteration stops and the globally optimal scheduling scheme is output; otherwise, the iteration process is repeated.

10. A distributed workshop parallel assembly scheduling device for use in a distributed assembly heterogeneous hybrid flow workshop, characterized in that, The device includes: The model building module is used to build a scheduling mathematical model adapted to distributed heterogeneous production scenarios. The scheduling mathematical model establishes the correlation and constraint relationship between workpiece workshop allocation, process sequencing and parallel assembly timing. The initial solution set generation module is used to generate an initial scheduling scheme set containing multiple sets of differentiated feasible solutions based on multi-dimensional initialization rules and under the condition of satisfying the correlation constraints of the scheduling mathematical model. The iterative optimization module is used to iteratively optimize the initial scheduling scheme set globally, collaboratively optimize the workpiece workshop allocation, process processing order and parallel assembly timing arrangement, and output the globally optimal feasible scheduling scheme after the iteration meets the preset convergence condition.