[go: up one dir, main page]

CN116954166A - Flow shop production and maintenance joint scheduling method considering plug order disturbance - Google Patents

Flow shop production and maintenance joint scheduling method considering plug order disturbance Download PDF

Info

Publication number
CN116954166A
CN116954166A CN202310641239.6A CN202310641239A CN116954166A CN 116954166 A CN116954166 A CN 116954166A CN 202310641239 A CN202310641239 A CN 202310641239A CN 116954166 A CN116954166 A CN 116954166A
Authority
CN
China
Prior art keywords
sub
maintenance
scheduling
equipment
represent
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310641239.6A
Other languages
Chinese (zh)
Inventor
李波
张竞一
刘民岷
洪涛
胡家文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
University of Electronic Science and Technology of China
Original Assignee
University of Electronic Science and Technology of China
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by University of Electronic Science and Technology of China filed Critical University of Electronic Science and Technology of China
Priority to CN202310641239.6A priority Critical patent/CN116954166A/en
Publication of CN116954166A publication Critical patent/CN116954166A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • G05B19/41865Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by job scheduling, process planning, material flow
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/32Operator till task planning
    • G05B2219/32252Scheduling production, machining, job shop

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明公开了一种考虑插单扰动的流水车间生产与维护联合调度方法,涉及混合流水线联合调度模型优化求解方法与动态调度方法。本发明针对动态调度场景下的生产调度与设备预防性维护集成优化问题,进行了扰动分析并确定了本发明研究对象存在的主要扰动事件,同时在集成模型的基础上引入滚动窗口技术与重调度偏离惩罚成本建立了动态调度基础模型,然后制定了重调度驱动机制,确定了重调度方法,并设计了一种内嵌仿真的并联型粒子群‑遗传混合算法用于得到完全重调度方案。

The invention discloses a joint scheduling method for flow shop production and maintenance that takes into account the disturbance of insertion orders, and relates to a hybrid assembly line joint scheduling model optimization solution method and a dynamic scheduling method. Aiming at the integrated optimization problem of production scheduling and equipment preventive maintenance in a dynamic scheduling scenario, the present invention conducts disturbance analysis and determines the main disturbance events existing in the research object of the present invention. At the same time, rolling window technology and rescheduling are introduced on the basis of the integrated model. Based on the deviation penalty cost, a basic dynamic scheduling model was established, and then a rescheduling driving mechanism was formulated, a rescheduling method was determined, and a parallel particle swarm-genetic hybrid algorithm with embedded simulation was designed to obtain a complete rescheduling plan.

Description

Flow shop production and maintenance joint scheduling method considering plug order disturbance
Technical Field
The invention relates to the field of mixed flow shop preventive maintenance and production joint scheduling, in particular to a mixed flow shop production and preventive maintenance joint dynamic scheduling method considering plug-in disturbance.
Technical Field
The preventive maintenance strategy and the production scheduling strategy of the mixed flow shop are two important factors influencing the production cost, in the traditional production and manufacturing process, production managers usually independently formulate the two strategies and neglect the correlation between the two strategies, so that higher production cost is caused, meanwhile, with the rising of production modes such as customization, multiple varieties, small batches and the like, the disturbance caused by the change of demands in the production process is more and more, such as order withdrawal, emergency bill insertion, change of delivery date and the like, and the static scheduling which only takes a production plan as input is more and more unsuitable for the production environment at present. When the static scheduling scheme is executed, dynamic disturbance occurs, so that the original production and processing plan and the actual production process come in and go out, and if a reasonable disturbance processing strategy is not formulated, the production cost is greatly increased. Therefore, the method has important practical significance for the production and preventive maintenance combined dynamic scheduling research of the mixed flow shop.
At present, the related research of the dynamic scheduling problem is concentrated in the field of pure production scheduling, and the dynamic scheduling research aiming at the production workshop production and preventive maintenance combined scheduling is very rare; meanwhile, the existing dynamic scheduling problem only considers the influence of disturbance on a production scheduling scheme, and neglects the influence on a maintenance plan; in addition, the existing dynamic scheduling strategy usually only formulates a single rescheduling driving mechanism and rescheduling method, thereby resulting in higher dynamic scheduling deviation cost.
Disclosure of Invention
Aiming at the problem of production scheduling and equipment preventive maintenance integrated optimization in a dynamic scheduling scene, the invention provides a mixed flow production line maintenance and production combined dynamic scheduling method considering plug-in disturbance. The method takes the minimum equipment maintenance cost, the total workpiece early and late penalty cost and the dynamic scheduling deviation penalty cost as optimization targets, establishes a mathematical model, and optimizes and solves to obtain a rescheduling scheme after the insertion order disturbance occurs, thereby realizing the maintenance and production combined dynamic scheduling management of the mixed flow shop.
The technical scheme of the invention is a flow shop production and maintenance joint scheduling method considering plug-in disturbance, which comprises the following steps:
step 1: establishing a combined dynamic scheduling basic model of a mixed flow shop;
step 1.1: determining constraint conditions of a combined dynamic scheduling basic model;
step 1.2: performing preventive maintenance modeling, and updating an initial scheduling sequence;
step 1.2.1: let the machine failure rate function obey two-parameter weibull distribution:the machine reliability function is: r (t) =e- (t/η) φ T is 0.ltoreq.t, where t denotes the service life of the plant, provided that +.>In the case of a certain process, i.e. at the time of completion of a certain process, there is +.>The system performs a j-th maintenance shutdown at which point beta j,xy =1,T j =t,n s =n s +1, performing opportunistic maintenance judgment on other devices:
device state factor beta j,xy Indicating equipment E during the jth shutdown maintenance of the system xy Whether maintenance activities are performed or not, wherein 1 represents that maintenance is performed, and 0 represents that maintenance is not performed;
wherein ,represent arbitrary values, phi represents the shape parameter in the Weibull distribution, phi>0, η represents the size parameter in the weibull distribution, η>0,R xy (t) represents the apparatus E xy Reliability function of C xy[l] Represents O xy[l] End time of the process, R pt Representing a preventive maintenance threshold, T j Represents the jth preventive maintenance time of the system, E xy The first step of the process xy stage apparatus, n s Indicating the total shutdown times of the system, wherein the initial value is 0, < ->The working life of the y-th station apparatus in the process x at the time t is represented by R ot Representing a device opportunity maintenance threshold;
step 1.2.2: modeling maintenance effects using virtual service life models, and after the jth shutdown maintenance of the system, based on the equipment status factor beta j,xy After updating the jth maintenance, i.e. t=t j +T m Virtual working years of each equipment at moment, T m Representing the average maintenance time of the device:
①β j,xy =0, i.e. the j-th system maintenance time, equipment E xy No maintenance is performed:
②β j,xy =1, i.e. the j-th system maintenance, equipment E xy And (3) maintaining:
ε x for improving factor of service life, the method is used for describing the reliability change condition of equipment after imperfect maintenance, and the equipment epsilon in the same process x The same and constant value is 0 < epsilon x <1,The y-th station apparatus indicating process x is at T j Service life at moment;
step 1.2.3: after adding the preventive maintenance strategy to the original production schedule, the process start time S is set after each system shutdown maintenance xy[l] And working procedure finishing time C xy[l] Updating:
step 1.2.4: calculating the equipment E in the whole production scheduling period xy Expected number of times of unexpected failure n xy
wherein Representing machine E xy At C mk Age of moment lambda x (t) represents a failure rate function of step x;
step 1.3: constructing a joint dynamic scheduling basic model objective function;
(1) Computing device maintenance Total cost C m
C m =C dm +C pm
wherein ,
wherein ,cus Representing equipment repair costs by considering post-fault repair emergency dispatch costs c s C, representing the preventive maintenance cost of the equipment, taking the preventive maintenance scheduling cost into consideration dm Representing the total cost of post-hoc repair, C pm Represents the total cost of preventive maintenance, m represents the total number of processes, n x Representing the total number of devices, n xy The expected number of unexpected failures of the y-th equipment in the process x is represented, the initial value is 0,representing the equipment overhaul cost of process x, c s Representing a single maintenance schedule charge,/->Indicating the equipment maintenance cost of the process x;
(2) Calculating the total early and late punishment cost C of workpieces ta
wherein ,representing the workpiece J i Is>Representing the workpiece J i Unit stall penalty cost,/->Representing the workpiece J i Unit advance penalty cost, x ixy[l] Representing the workpiece J i Processing the first position of the y-th stage equipment in the process x to be 1, otherwise, processing the first position to be 0;
(3) Calculating a dynamic scheduling deviation punishment cost:
cost of machine offset penalty C ed Refers to the product of the quantity change of the workpiece processed by a rescheduling scheme and an initial scheduling scheme of a certain device and a penalty factor:
equipment maintenance departure penalty cost C md Refers to the product of the preventive maintenance time change and penalty factor of rescheduling scheme and initial scheduling scheme arrangement of a certain device:
thus, the overall weight of the production system deviates from penalty cost C d The method comprises the following steps:
wherein ,machine deviation penalty factor, ED, representing process x xy Representing device E xy The number of changes in the work piece after rescheduling, +.>Maintenance deviation penalty factor representing process x, MD xy Representing device E xy The number of maintenance times changes after rescheduling;
(4) The objective function F is;
F=min(C ta +C m +C d );
step 2: formulating a combined dynamic scheduling strategy of the mixed flow shop;
step 2.1: initializing the length of a scheduling processing window and rescheduling period;
step 2.2: acquiring workpiece processing information;
step 2.3: updating a scheduling processing window;
step 2.4: solving the objective function obtained in the step 1 by adopting a parallel particle swarm-genetic hybrid method;
step 2.5: generating a static scheduling scheme;
step 2.6: executing a dispatch plan;
step 2.7: determine if a rescheduling period is reached? If yes, turning to the step 2.8, and if not, turning to the step 2.9;
step 2.8: determining whether the fitness difference reaches a threshold? If yes, turning to the step 2.3, otherwise, returning to the step 2.7;
step 2.9: determine whether a disturbance has occurred? If yes, performing tail insertion rescheduling, then turning to step 2.8, and if not, turning to step 2.10;
step 2.10: determining whether all work pieces are finished? If yes, the technology is scheduled, and if not, the step 2.6 is performed.
Further, the detailed method of the step 2.4 is as follows:
step 2.4.1: the method adopts a double-chromosome form to represent the feasible solution coding, and divides the population into two sub-populations according to the self-adaptive population distribution factors, wherein one sub-population is updated by using a particle swarm algorithm, one sub-population is updated by using a genetic algorithm, and the self-adaptive population distribution factors have the following calculation formula:
wherein ,di Represents the Euclidean distance of the ith individual, K represents the adaptive population distribution factor, f i ·、 f j represents the fitness value of the ith individual, the fitness value of the jth individual, d avg Represents the average Euclidean distance of the population, d min Representing the minimum value of Euclidean distance in the population, d max Representing the maximum value of Euclidean distance in the population; when the population quantity is N, KN individual components in the population form a sub-population 1 to enter a particle swarm algorithm for updating, and the rest individual components form a sub-population 2 to enter a genetic algorithm for updating;
step 2.4.2: constructing an improved particle swarm algorithm to optimize the sub population 1 in the step 3.1;
step 2.4.3: constructing an improved genetic algorithm to optimize the sub population 2 in the step 3.1;
step 2.4.4: combining the sub population 1 with the sub population 2;
step 2.4.5: judging whether the current population reaches the maximum iteration times, if so, executing the step 3.6, otherwise, continuing the step 3.1;
step 2.4.6: and obtaining the combined rescheduling scheme of the mixed flow shop after the single-plug disturbance.
Further, the detailed method of the step 2.4.2 is as follows:
a1: according to the maintenance threshold combination, calculating the fitness of each particle through the preventive maintenance model simulation established in the step 1.2, and updating the processing starting time and the processing finishing time of each workpiece obtained by decoding;
a2: updating self-adaptive weights;
a3: particle velocity update and position update.
Further, the detailed method of the step 2.4.3 is as follows:
b1: according to the maintenance threshold combination, calculating the fitness of each chromosome through the preventive maintenance model simulation established in the step 1.2, and updating the processing starting time and the processing finishing time of each decoded workpiece;
b2: chromosome selection operations are performed by using a random competition selection mode, and elite retention strategies are introduced;
b3: performing cross operation by using a single-point cross mode;
b4: chromosome mutation operation.
The invention provides a method for joint dynamic scheduling of preventive opportunity maintenance and production in a mixed flow shop taking account of plug-in disturbance, which uses a rolling window technology to statically process a dynamic scheduling process, constructs a mixed rescheduling driving mechanism combining a period and an event, formulates a combined rescheduling method combining complete rescheduling and tail plug-in rescheduling, and designs an embedded simulated parallel type self-adaptive particle swarm-genetic hybrid algorithm for model solving according to model characteristics to realize joint dynamic scheduling of the mixed flow shop.
Drawings
FIG. 1 is a diagram of an example scrolling window division;
FIG. 2 is a flow chart of a hybrid rescheduling driving mechanism;
FIG. 3 is a flow chart of a combined rescheduling method;
FIG. 4 is a flow chart of a hybrid flow shop joint dynamic scheduling;
FIG. 5 is a flow chart of a particle swarm-genetic algorithm of an embedded simulation;
FIG. 6 is a flow chart of a simulation algorithm;
FIG. 7 is a flow chart of a specific embodiment of the method of the present invention.
Detailed Description
The following describes the implementation routine of the present invention in detail (fig. 6), and the implementation routine is implemented on the premise of the technical solution of the present invention, and a detailed implementation and a specific operation procedure are given, but the scope of protection of the present invention is not limited to the implementation routine described below.
The implementation routine can be mainly divided into the following steps:
step 1: model constraints are determined.
(1) In any process, each workpiece can only occupy one machining position of one machine;
wherein ,xixy[l] Representing the workpiece J i Processing the first position of the y-th stage equipment in the process x to be 1, otherwise, processing the first position to be 0, and taking the first position as a decision variable;
(2) In any process, only one workpiece can be processed at any position of any machine;
(3) Standard machining time of the workpiece process corresponding to the first machining position of the y-th machine in the process x;
wherein ,Pxy[l] Represents O xy[l] Standard processing time of the procedure;
(4) The start time of a workpiece in a certain process is not earlier than the finish time of the process immediately before the equipment;
(5) The end time of the workpiece process corresponding to the first processing position of the y-th machine in the process x;
(6) The start time of a workpiece in a certain process is not earlier than the finish time of the workpiece in a previous process;
C xy[l] ≥S xy[l] +p xy[l]
(7) Machine preventative maintenance threshold and opportunity maintenance threshold constraints;
0≤R pt ,R ot ≤1
R pt <R ot
(8) Maximum system completion time;
C mk =max{C my[l] }
(9) Disturbance occurs in the process of production scheduling execution;
wherein ,to Representing the occurrence time of the disturbance;
(10) Process start time constraints when a disturbance occurs. When the workpiece J i When the disturbance occurs during the processing in the x working procedure, the starting time of the next working procedure of the workpiece is not earlier than the maximum value of the ending time of the workpiece on the working procedure and the disturbance occurrence time;
(11) Equipment processing time constraint when disturbance occurs; when equipment E xy When the first task is processed, disturbance occurs, and the starting time of the next processing task of the equipment is not earlier than the maximum value of the finishing time of the current task of the equipment and the disturbance occurrence time;
step 2: when a plug-in disturbance event occurs, the initial scheduling scheme is windowed using a rolling window technique (FIG. 1). And (3) processing the plug-in single disturbance by using a tail plug-in rescheduling method, judging a threshold value of the disturbance degree, if the disturbance degree is smaller than or equal to the threshold value, not processing, and if the disturbance degree is larger than the threshold value, entering a step (4), and performing complete rescheduling on the workpieces in the scheduling processing window in the step (2).
Step 2.1: determining the plug-in disturbance as the main dynamic disturbance of the plug-in disturbance:
disturbance of the production process is generally divided into external factors and internal factors according to sources of the disturbance, wherein the external factors can be divided into two aspects of inherent factors and market factors, and the internal factors can be divided into environment factors, equipment factors and personnel factors;
step 2.2: introducing a rolling window technology, and statically processing the dynamic scheduling problem (figure 1):
first, the process needs to be classified according to its state: a set of processed processes, a set of in-process processes, a set of unprocessed processes, and a set of waiting for scheduling processes; three static scheduling windows are then defined for storing these process sets:
(1) A finishing window for storing a finished set of processes;
(2) A scheduling processing window for storing the processing procedure set and the unprocessed procedure set;
(3) A waiting window for storing a waiting scheduling procedure set;
the initialization of the length of the dispatching processing window can be set according to the production capacity of a processing workshop, the delivery period of the workpiece, the experience of a manager and the like by taking the workpiece or the procedure as a unit; when the scheduling starts, the scheduling processing window firstly takes out the workpiece sets with the number equal to the window set length from the waiting window according to a certain rule, performs static scheduling, and starts to execute the scheduling plan. When the set period is reached or rescheduling is needed due to disturbance, firstly, part of working procedures which are finished in the scheduling processing window are put into the finishing window, then, a part of workpieces are selected from the waiting window according to a certain rule and added into the scheduling processing window, and finally, the working procedures in the scheduling processing window are rescheduled according to a static scheduling method, so that disturbance events occurring in the whole production process can be dynamically absorbed; dynamic scheduling based on a rolling window technology is to repeat the process until all workpieces finish processing;
in order to illustrate the specific use of the rolling window technology, assuming that the production system is disturbed and needs to be rescheduled, dividing an initial scheduling scheme into three static windows according to the principle of the rolling window technology, wherein the window division is shown in fig. 1;
according to the above, the process can be divided into four sets according to the production state of each process at the rescheduling moment, and the specific division is as follows;
(1) Set of processed procedures: {1.1,2.1,3.1,4.1,5.1,6.1 (1),4.2 (1) }
(2) The working procedure is assembled: {6.1 (2),4.2 (2) }
(3) Waiting for a set of scheduling procedures: {7.1,7.2,8.1}
(4) Raw process set: all procedures except the above set
Wherein "1.1" represents the first process of the workpiece 1, and the rest are the same; at the rescheduling time, splitting the finished part and the unfinished part of the working procedure in processing into 2 independent working procedures for scheduling, wherein '4.2 (1)' in the set represents the finished part of the second working procedure of the workpiece 4 at the rescheduling time, and '4.2 (2)' represents the unfinished part in processing, and the rest is the same;
when rescheduling is carried out, firstly, the finished working procedure in the scheduling processing window is put into the finishing window, and then the workpiece is filled in the waiting window and scheduling is carried out;
step 2.3: constructing a hybrid driving mechanism based on disturbance degree threshold judgment (figure 2):
considering that rescheduling is based on a production and maintenance integrated model, and simultaneously relates to two dimensions of production scheduling and equipment maintenance, when a disturbance event occurs in the production process, the production scheduling and the equipment preventive maintenance are interfered, so that a quantitative index of disturbance degree should represent two aspects of influence on the production scheduling and influence on the equipment preventive maintenance at the same time; the influence of disturbance on production scheduling is finally reflected as the change of the delivery time of the workpiece, and the influence on equipment maintenance is finally reflected as the change of the equipment maintenance times and the expected times of unexpected faults, so that the sum of the total early and late punishment cost of the workpiece and the equipment maintenance cost is used as a quantitative index of the disturbance degree; as can be seen from fig. 2, when the set rescheduling period arrives or a dynamic disturbance event occurs, firstly, calculating the difference between the adaptability of the scheduling scheme and the original scheduling scheme, namely the disturbance degree, and comparing the calculated difference with a preset disturbance degree threshold value, if the difference exceeds the threshold value, it indicates that the current system needs rescheduling, and if the difference does not exceed the threshold value, it does not need rescheduling;
step 2.4: a combined rescheduling method (fig. 3) is established in which the full rescheduling method is combined with the tail-inserted rescheduling method:
a combined rescheduling method is designed by using a complete rescheduling method and a tail-inserted rescheduling method. In combination with the hybrid rescheduling driving mechanism based on the disturbance degree threshold judgment proposed in step 2.3, the workflow of the combined rescheduling method designed by the invention is shown in fig. 3.
As can be seen from fig. 3, when a disturbance event occurs, the disturbance is processed by a tail-inserted rescheduling method, then the difference between the adaptation degree before and after rescheduling is calculated and compared with a preset threshold value, if the difference between the adaptation degree is greater than the threshold value, the complete rescheduling is performed, otherwise, a tail-inserted rescheduling scheme is used as a rescheduling result; when the rescheduling period arrives, calculating the final fitness according to the execution condition of the current scheduling scheme, comparing the difference value between the final fitness and the fitness of the last complete rescheduling scheme with a threshold value, and if the final fitness is larger than the threshold value, performing complete rescheduling, otherwise, not performing rescheduling operation;
step 2.5: combining the step 2.3 with the step 2.4 to obtain a combined dynamic scheduling overall flow of the mixed flow shop; (fig. 4) step 3: and constructing an embedded simulated parallel particle swarm-genetic algorithm optimization solution (figure 5).
Step 3.1: initializing a maintenance threshold combination according to the model constraint determined in the step 1;
step 3.2: initializing a scheduling scheme population according to the model constraint determined in the step 1;
step 3.3: dividing a population into two sub-populations, wherein one sub-population is updated by using a particle swarm algorithm, one sub-population is updated by using a genetic algorithm, and in order to improve the local searching capability of the algorithm when the populations are scattered and the global searching capability of the algorithm when the populations are concentrated, the self-adaptive allocation factors are adopted for carrying out population division:
when the population quantity is N, KN individuals in the population enter a particle swarm algorithm for updating, and the rest individuals enter a genetic algorithm for updating.
Step 3.4: iterative sub-population 1 using an improved particle swarm algorithm;
step 3.4.1: calculating fitness of each particle by simulation (fig. 6);
(1) When (when)There is->The system performs the j-th maintenance shutdown and recordsT j =t,n s =n s +1, performing opportunistic maintenance judgment on other devices:
device state factor beta j,xy Indicating equipment E during the jth shutdown maintenance of the system xy Whether maintenance activities are performed.
(2) After the jth shutdown maintenance is carried out on the system, the system is controlled according to the equipment state factor beta j,xy Update jth post-maintenance t=t+t m Service life of the time equipment:
①β j,xy =0, i.e. the j-th system maintenance time, equipment E xy No maintenance is performed:
②β j,xy =1, i.e. the j-th system maintenance, equipment E xy And (3) maintaining:
ε x for improving factor of service life, the method is used for describing the reliability change condition of equipment after imperfect maintenance, and the equipment epsilon in the same process x The same and constant value is 0 < epsilon x <1。
(3) Start machining time S xy[l] And finishing time C xy[l] Updating:
(4) Equipment E xy Unexpected failure occursDesired number of times:
wherein Representing machine E xy At C mk Age of moment.
(5) Calculating a total cost of maintenance of the machine C m
C m =C dm +C pm
wherein :
(6) Calculating the total early and late punishment cost C of workpieces ta
wherein :
(7) Calculating dynamic scheduling deviation penalty cost C d
The machine deviation punishment cost refers to the product of the quantity change of the workpiece processed by a rescheduling scheme and an initial scheduling scheme of a certain equipment and a punishment factor:
the equipment maintenance deviation penalty cost refers to the product of the preventative maintenance frequency change and penalty factor of a certain equipment rescheduling scheme and an initial scheduling scheme arrangement:
thus, the total weight adjustment deviation penalty cost of the production system can be expressed as:
wherein ,machine deviation penalty factor, ED, representing process x xy Representing device E xy The number of changes in the work piece after rescheduling, +.>Maintenance deviation penalty factor representing process x, MD xy Representing device E xy The number of maintenance times changes after rescheduling;
(8) Calculating the fitness f:
f=C ta +C m +C d
step 3.4.2: updating omega by adopting a nonlinear dynamic inertia weight coefficient formula:
step 3.4.3: particle velocity update, position update:
x id (t+1)=x id (t)+v id (t+1)
step 4.4.4: because the particle swarm algorithm aims at continuous variables, real numbers are generated in the searching process, and illegal solutions are often brought at the same time, updated particles need to be adjusted after the primary optimizing operation is finished so as to correct the illegal solutions:
(1) Rounding down each code
(2) Removing still illegal solutions in coding
(3) Randomly generating chromosomes according to coding rules to complement the solutions removed in (2)
Step 3.5: iterative sub-population 2 using an improved genetic algorithm;
step 3.5.1: the fitness of each chromosome is calculated through simulation, and the calculation method is the same as that of the step 4.4.1;
step 3.5.2: selecting by using a random competition selection mode, so that the probability of reserving chromosomes with larger fitness is larger, randomly selecting a certain number of chromosomes as new father, and simultaneously introducing elite reservation strategy to enable a certain number of high-quality solutions to directly enter the next generation so as to accelerate the convergence rate of the algorithm;
step 3.5.3: the interleaving is performed using a single point interleaving approach, as the encoding herein requires certain constraints to be maintained: the first dimension code indicates that the value of each element required to be met by the processing equipment code selected by the workpiece in each process is not more than the number of the process equipment where the element is located, and the second dimension code indicates that the value of each element required to be met by the processing sequence code of the workpiece in each process has uniqueness in the column where the element is located. Therefore, the first dimension code randomly selects a longitudinal crossing mode and a transverse crossing mode to perform single-point crossing operation, and the second dimension code performs single-point crossing operation in the longitudinal crossing mode;
step 3.5.4: two gene exchange sequences were randomly selected to achieve the effect of variation. The constraint condition of the codes can prove that the first dimension codes can only carry out line genetic variation, and the second dimension codes can carry out variation in rows and columns;
step 3.6: fusing the population 1 with the population 2, judging whether the current population meets the termination condition, if not, continuing the step 4.3, otherwise, stopping iteration;
step 3.7: the full rescheduling scheme is output.

Claims (4)

1.一种考虑插单扰动的流水车间生产与维护联合调度方法,该方法包括以下步骤:1. A method for joint scheduling of production and maintenance in a flow shop considering order insertion disturbances, the method comprising the following steps: 步骤1:建立混合流水车间联合动态调度基础模型;Step 1: Establish a basic model for joint dynamic scheduling of hybrid production lines; 步骤1.1:确定联合动态调度基础模型约束条件;Step 1.1: Determine the constraints of the joint dynamic scheduling basic model; 步骤1.2:进行预防性维护建模,并更新初始调度顺序;Step 1.2: Perform preventative maintenance modeling and update the initial scheduling order; 步骤1.2.1:设机器故障率函数服从两参数威布尔分布:则机器可靠度函数为:0≤t,其中t表示设备役龄,设当时,即在某个工序完工时刻,有则系统进行第j次维护停机,此时βj,xy=1,Tj=t,ns=ns+1,对其他设备进行机会维护判断:Step 1.2.1: Assume the machine failure rate function follows a two-parameter Weibull distribution: The machine reliability function is then: 0≤t, where t represents the service life of the equipment, and assume that when At that time, that is, at the moment when a certain process is completed, there is The system then performs the j-th maintenance shutdown, at which point βj,xy = 1, Tj = t, ns = ns + 1, and opportunistic maintenance is assessed for other equipment. 设备状态因子βj,xy表示系统第j次停机维护时,设备Exy是否进行维护活动,1代表进行维护,0代表不进行维护;The equipment status factor βj ,xy indicates whether equipment Exy performs maintenance activities during the j-th system shutdown maintenance, with 1 representing maintenance and 0 representing no maintenance; 其中,表示取任意值,φ表示威布尔分布中的形状参数,φ>0,η表示威布尔分布中的尺寸参数,η>0,Rxy(t)表示设备Exy的可靠度函数,Cxy[l]表示Oxy[l]工序的结束时间,Rpt表示设备预防性维护阈值,Tj表示系统第j次预防性维护时间,Exy表示工序x的第y台设备,ns表示系统总停机次数,初值为0,表示工序x的第y台设备在t时刻的役龄,Rot表示设备机会维护阈值;in, Let represent any value, φ represent the shape parameter in the Weibull distribution (φ>0), η represent the size parameter in the Weibull distribution (η>0), Rxy (t) represent the reliability function of equipment Exy , Cxy[l] represent the end time of process Oxy[l] , Rpt represent the preventive maintenance threshold of the equipment, Tj represent the time of the j-th preventive maintenance of the system, Exy represent the y-th equipment in process x, and ns represent the total number of system downtimes, with an initial value of 0. Let represent the service life of the y-th equipment in process x at time t, and R ot represent the equipment opportunity maintenance threshold; 步骤1.2.2:使用虚拟役龄模型对维护效果进行建模,在对系统进行第j次停机维护后,根据设备状态因子βj,xy更新第j次维护后,即t=Tj+Tm时刻各设备的虚拟役龄,Tm表示设备平均维护时间:Step 1.2.2: Use a virtual service life model to model the maintenance effect. After the j-th downtime maintenance, update the virtual service life of each device at time t = Tj + Tm based on the device state factors βj ,xy. Tm represents the average maintenance time of the device. ①βj,xy=0,即第j次系统维护时,设备Exy不进行维护:①βj ,xy = 0, meaning that during the j-th system maintenance, device Exy does not undergo maintenance: ②βj,xy=1,即第j次系统维护时,设备Exy进行维护:②βj ,xy = 1, meaning that during the j-th system maintenance, device Exy undergoes maintenance: εx为役龄改善因子,用来描述设备非完美维护后的可靠度变换情况,同工序内设备εx相同且为定值,0<εx<1,表示工序x的第y台设备在Tj时刻的役龄;ε <sub>x</sub> is the service life improvement factor, used to describe the reliability change of equipment after imperfect maintenance. Within the same process, ε <sub>x </sub> is the same and a constant value, where 0 <ε<sub> x </sub>< 1. This represents the service life of the y-th piece of equipment in process x at time Tj ; 步骤1.2.3:在原生产调度计划中加入设备预防性维护策略后,每次系统停机维护后都对工序开始时间Sxy[l]与工序完工时间Cxy[l]进行更新:Step 1.2.3: After adding the equipment preventive maintenance strategy to the original production scheduling plan, update the process start time S xy[l] and process completion time C xy[l] after each system shutdown for maintenance: 步骤1.2.4:计算整个生产调度周期内,设备Exy发生意外故障期望次数nxyStep 1.2.4: Calculate the expected number of unexpected failures nxy of equipment Exy during the entire production scheduling cycle: 其中表示机器Exy在Cmk时刻的役龄,λx(t)表示工序x的故障率函数;in Let E <sub>xy </sub> represent the service life of machine E<sub>xy</sub> at time C <sub>mk </sub>, and let λ <sub>x</sub> (t) represent the failure rate function of process x. 步骤1.3:构建联合动态调度基础模型目标函数;Step 1.3: Construct the objective function of the joint dynamic scheduling basic model; (1)计算设备维护总成本Cm(1) Calculate the total equipment maintenance cost C <sub>m</sub> : Cm=Cdm+Cpm C <sub>m </sub> = C <sub>dm</sub> + C<sub>pm</sub> 其中,in, 其中,cus表示设备小修费用时需要考虑故障后小修紧急调度费用,cs表示设备预防性维护费用时需要考虑预防性维护调度费用,Cdm表示事后小修总成本,Cpm表示预防性维护总成本,m表示工序总数,nx表示设备总数,nxy表示工序x的第y台设备意外故障期望次数,初值为0,表示工序x的设备小修费用,cs表示单次维护调度费用,表示工序x的设备维护费用;Where, CUSUs represents the cost of emergency dispatching for minor repairs after a failure, CS represents the cost of preventative maintenance dispatching after a failure, Cdm represents the total cost of minor repairs, Cpm represents the total cost of preventative maintenance, m represents the total number of processes, nx represents the total number of devices, and nxy represents the expected number of unexpected failures of the y-th device in process x, with an initial value of 0. Let represent the minor repair cost of equipment in process x, and CS represent the cost of a single maintenance scheduling operation. This represents the equipment maintenance cost for process x. (2)计算工件总提前与拖期惩罚成本Cta(2) Calculate the total cost of advance and delay penalties for the workpiece, C <sub>ta</sub> : 其中,表示工件Ji的预期完工时间,表示工件Ji单位拖期惩罚成本,表示工件Ji单位提前惩罚成本,xixy[l]表示工件Ji在工序x的第y台设备的第l个位置加工为1,否则为0;in, This indicates the expected completion time of workpiece Ji . This represents the unit delay penalty cost for workpiece J. Let x<sub>i</sub> represent the unit advance penalty cost of workpiece J<sub> i</sub>, and x <sub>ixy</sub>[l] represent that workpiece J<sub> i </sub> is processed at the l-th position of the y-th machine in process x, and is 1 otherwise; (3)计算动态调度偏离惩罚成本:(3) Calculate the cost of dynamic scheduling deviation penalty: 机器偏离惩罚成本Ced指某台设备重调度方案与初始调度方案加工工件的数量变化与惩罚因子的乘积:The machine deviation penalty cost C <sub>ed </sub> refers to the product of the change in the number of workpieces processed by a certain machine under the rescheduling plan and the initial scheduling plan, and the penalty factor: 设备维护偏离惩罚成本Cmd指某台设备重调度方案与初始调度方案安排的预防性维护次数变化与惩罚因子的乘积:The equipment maintenance deviation penalty cost C <sub>md</sub> refers to the product of the change in the number of preventive maintenance operations scheduled for a certain piece of equipment under the rescheduling plan and the initial scheduling plan, and the penalty factor. 因此,生产系统总的重调度偏离惩罚成本Cd为:Therefore, the total rescheduling deviation penalty cost Cd of the production system is: 其中,表示工序x的机器偏离惩罚因子,EDxy表示设备Exy重调度后的加工工件变化数量,表示工序x的维护偏离惩罚因子,MDxy表示设备Exy重调度后的维护次数变化数量;in, Let E<sub>xy</sub> represent the machine deviation penalty factor for process x, and ED<sub>xy</sub> represent the change in the number of workpieces processed after rescheduling of equipment E <sub>xy </sub>. MDxy represents the maintenance deviation penalty factor for process x, and MDxy represents the change in the number of maintenance operations after rescheduling of equipment Exy ; (4)目标函数F为;(4) The objective function F is: F=min(Cta+Cm+Cd);F = min(C <sub>ta</sub> + C <sub>m</sub> + C<sub>d</sub>); 步骤2:制定混合流水车间联合动态调度策略;Step 2: Develop a joint dynamic scheduling strategy for hybrid production lines; 步骤2.1:初始化调度加工窗口长度、重调度周期;Step 2.1: Initialize the scheduling processing window length and rescheduling cycle; 步骤2.2:获取工件加工信息;Step 2.2: Obtain workpiece machining information; 步骤2.3:更新调度加工窗口;Step 2.3: Update the scheduling processing window; 步骤2.4:采用并联型粒子群-遗传混合方法求解步骤1中得到的目标函数;Step 2.4: Solve the objective function obtained in Step 1 using a parallel particle swarm optimization-genetic hybrid method; 步骤2.5:生成静态调度方案;Step 2.5: Generate a static scheduling scheme; 步骤2.6:执行调度计划;Step 2.6: Execute the scheduling plan; 步骤2.7:判断是否达到重调度周期?若是,转步骤2.8,若否,转步骤2.9;Step 2.7: Determine if the rescheduling cycle has been reached? If yes, proceed to step 2.8; otherwise, proceed to step 2.9. 步骤2.8:判断适应度差值是否达到阈值?若是,转步骤2.3,若否,返回步骤2.7;Step 2.8: Determine if the fitness difference has reached the threshold. If yes, proceed to step 2.3; otherwise, return to step 2.7. 步骤2.9:判断是否发生扰动?若是,则进行了尾插式重调度,然后转步骤2.8,若否,转步骤2.10;Step 2.9: Determine if a disturbance has occurred. If yes, a tail-insertion rescheduling is performed, and then proceed to step 2.8; otherwise, proceed to step 2.10. 步骤2.10:判断所有加工工件是否完成?若是,则调度技术,若否,转步骤2.6。Step 2.10: Determine if all processed workpieces are complete. If yes, use scheduling technology; otherwise, proceed to step 2.6. 2.如权利要求1所述的一种考虑插单扰动的流水车间生产与维护联合调度方法,其特征在于,所述步骤2.4的详细方法为:2. The method for joint scheduling of production and maintenance in a flow workshop considering order insertion disturbances as described in claim 1, characterized in that the detailed method of step 2.4 is as follows: 步骤2.4.1:采用双染色体形式表示可行解的编码,同时根据自适应种群分配因子将种群划分为两个子种群,一个子种群使用粒子群算法更新,一个子种群使用遗传算法更新,自适应种群分配因子计算公式如下:Step 2.4.1: Represent the feasible solution using a dual-chromosome form. Simultaneously, divide the population into two subpopulations based on the adaptive population allocation factor. One subpopulation is updated using the particle swarm optimization algorithm, and the other subpopulation is updated using a genetic algorithm. The formula for calculating the adaptive population allocation factor is as follows: 其中,di表示第i个个体的欧氏距离,K表示自适应种群分配因子,fi、fj表示第i个个体的适应度值、第j个个体的适应度值,davg表示种群的平均欧氏距离,dmin表示种群中欧氏距离的最小值,dmax表示种群中欧氏距离的最大值;当种群数量为N时,种群中KN个个体组成子种群1进入粒子群算法中更新,剩余的个体组成子种群2进入遗传算法中更新;Where d <sub>i</sub> represents the Euclidean distance of the i-th individual, K represents the adaptive population allocation factor, f <sub>i</sub> and f<sub> j </sub> represent the fitness values of the i-th and j-th individuals, d <sub>avg</sub> represents the average Euclidean distance of the population, d <sub>min </sub> represents the minimum Euclidean distance in the population, and d<sub>max</sub> represents the maximum Euclidean distance in the population; when the population size is N, K<sub>N</sub> individuals in the population form subpopulation 1 and enter the particle swarm optimization algorithm for updating, and the remaining individuals form subpopulation 2 and enter the genetic algorithm for updating; 步骤2.4.2:构建改进粒子群算法对步骤3.1中子种群1进行优化;Step 2.4.2: Construct an improved particle swarm optimization algorithm to optimize subpopulation 1 in step 3.1; 步骤2.4.3:构建改进遗传算法对步骤3.1中子种群2进行优化;Step 2.4.3: Construct an improved genetic algorithm to optimize subpopulation 2 in step 3.1; 步骤2.4.4:合并子种群1与子种群2;Step 2.4.4: Merge subpopulation 1 and subpopulation 2; 步骤2.4.5:判断当前种群是否达到最大迭代次数,是则执行步骤3.6,否则继续步骤3.1;Step 2.4.5: Determine whether the current population has reached the maximum number of iterations. If yes, proceed to step 3.6; otherwise, continue to step 3.1. 步骤2.4.6:得到发生插单扰动后的混合流水车间联合重调度方案。Step 2.4.6: Obtain the joint rescheduling scheme for the mixed flow workshop after the interruption. 3.如权利要求2所述的一种考虑插单扰动的流水车间生产与维护联合调度方法,其特征在于,所述步骤2.4.2的详细方法为:3. The method for joint scheduling of production and maintenance in a flow workshop considering order insertion disturbances as described in claim 2, characterized in that the detailed method of step 2.4.2 is as follows: a1:根据维护阈值组合通过步骤1.2所建立的预防性维护模型仿真计算每个粒子的适应度并更新解码得到的各工件开始加工时间与完工时间;a1: Based on the maintenance threshold combination, the fitness of each particle is calculated by simulation using the preventive maintenance model established in step 1.2, and the start and finish times of each workpiece obtained by decoding are updated. a2:自适应权重更新;a2: Adaptive weight update; a3:粒子速度更新、位置更新。a3: Particle velocity update, position update. 4.如权利要求2所述的一种考虑插单扰动的流水车间生产与维护联合调度方法,其特征在于,所述步骤2.4.3的详细方法为:4. The method for joint scheduling of production and maintenance in a flow workshop considering order insertion disturbances as described in claim 2, characterized in that the detailed method of step 2.4.3 is as follows: b1:根据维护阈值组合通过通过步骤1.2所建立的预防性维护模型仿真计算每个染色体的适应度并更新解码得到的各工件开始加工时间与完工时间;b1: Based on the maintenance threshold combination, the fitness of each chromosome is calculated by simulation using the preventive maintenance model established in step 1.2, and the start and finish times of each workpiece obtained by decoding are updated. b2:使用随机竞争选择的方式进行染色体选择操作并引入精英保留策略;b2: Use random competitive selection for chromosome selection and introduce an elite retention strategy; b3:使用单点交叉方式进行交叉操作;b3: Perform crossover operations using a single-point crossover method; b4:染色体变异操作。b4: Chromosomal aberration operations.
CN202310641239.6A 2023-06-01 2023-06-01 Flow shop production and maintenance joint scheduling method considering plug order disturbance Pending CN116954166A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310641239.6A CN116954166A (en) 2023-06-01 2023-06-01 Flow shop production and maintenance joint scheduling method considering plug order disturbance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310641239.6A CN116954166A (en) 2023-06-01 2023-06-01 Flow shop production and maintenance joint scheduling method considering plug order disturbance

Publications (1)

Publication Number Publication Date
CN116954166A true CN116954166A (en) 2023-10-27

Family

ID=88451838

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310641239.6A Pending CN116954166A (en) 2023-06-01 2023-06-01 Flow shop production and maintenance joint scheduling method considering plug order disturbance

Country Status (1)

Country Link
CN (1) CN116954166A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119578842A (en) * 2025-02-07 2025-03-07 山东港口科技集团青岛有限公司 Intelligent dispatching method, system, equipment and medium for berthing and unberthing of port ships

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107831745A (en) * 2017-11-09 2018-03-23 西南交通大学 A kind of flexible job shop inserts single action state method for optimizing scheduling
CN110084401A (en) * 2019-03-21 2019-08-02 中车工业研究院有限公司 A kind of method for optimizing scheduling and device based on reserved maintenance time
CN111738578A (en) * 2020-06-11 2020-10-02 电子科技大学 A Discrete Workshop Scheduling Method in Dynamic Environment
CN114036738A (en) * 2021-11-05 2022-02-11 上海交通大学 Multi-equipment system production and maintenance joint optimization method considering dynamic working conditions
CN115438815A (en) * 2022-08-23 2022-12-06 电子科技大学 A Joint Decision-Making Method for Preventive Maintenance and Production Scheduling in Mixed Flow Workshop

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107831745A (en) * 2017-11-09 2018-03-23 西南交通大学 A kind of flexible job shop inserts single action state method for optimizing scheduling
CN110084401A (en) * 2019-03-21 2019-08-02 中车工业研究院有限公司 A kind of method for optimizing scheduling and device based on reserved maintenance time
CN111738578A (en) * 2020-06-11 2020-10-02 电子科技大学 A Discrete Workshop Scheduling Method in Dynamic Environment
CN114036738A (en) * 2021-11-05 2022-02-11 上海交通大学 Multi-equipment system production and maintenance joint optimization method considering dynamic working conditions
CN115438815A (en) * 2022-08-23 2022-12-06 电子科技大学 A Joint Decision-Making Method for Preventive Maintenance and Production Scheduling in Mixed Flow Workshop

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
裴海燕;蒋祖华;胡家文;王海丽;: "插单扰动下流水线生产与维护的重调度优化", 工业工程与管理, no. 01, 10 February 2017 (2017-02-10), pages 50 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119578842A (en) * 2025-02-07 2025-03-07 山东港口科技集团青岛有限公司 Intelligent dispatching method, system, equipment and medium for berthing and unberthing of port ships

Similar Documents

Publication Publication Date Title
CN109359884B (en) Workshop operation plan and rescheduling method for complex aviation equipment structure
CN111738578B (en) Discrete type workshop scheduling method under dynamic environment
CN113592319B (en) Flexible job shop scheduling method and device under INSGA-II based complex constraint
CN109447510B (en) SCUC-based medium and long term electric quantity safety checking method, device and system
CN101788819B (en) Dispatching method based on iterative decomposition and flow relaxation in large-scale production process
CN110221585A (en) A kind of energy-saving distribution control method considering plant maintenance for hybrid flowshop
CN114527714B (en) Workshop dynamic scheduling method based on digital twin and disturbance monitoring
CN115438815B (en) A joint decision-making method for preventive maintenance and production scheduling in a hybrid flow shop
CN110414863A (en) An intelligent manufacturing workshop resource scheduling method
CN102566431A (en) Method for dispatching and controlling fuzzy parameter operation workshop under dynamic disturbance based on improved genetic algorithm
CN105629927A (en) Hybrid genetic algorithm-based MES (Manufacturing Execution System) production planning and scheduling method
CN101609334A (en) Batch dynamic rescheduling method for multi-routes in job shop based on two-level differential evolution algorithm
CN107065803A (en) Flexible job shop dynamic dispatching method based on Weight variable scheduling interval
CN110245842B (en) A production line risk scheduling method for sudden and large equipment failures
CN115619171B (en) Production and maintenance coupling task allocation method and system considering equipment operating status
CN111966049B (en) Scheduling control method for production equipment of mixed flow shop
CN115271130B (en) Dynamic scheduling method and system for maintenance order of ship main power equipment
CN113505910B (en) Mixed workshop production scheduling method containing multi-path limited continuous output inventory
CN116954166A (en) Flow shop production and maintenance joint scheduling method considering plug order disturbance
CN116243674B (en) An intelligent scheduling method for unrelated parallel machines combined with preventive maintenance
CN107437121B (en) A production process control method suitable for multiple machines to process a single workpiece at the same time
CN117032145A (en) Aerospace component fuzzy workshop scheduling method based on improved NSGA-III
CN110648050B (en) A reconstruction method for converting traditional assembly line assembly to unitary assembly
CN112435095A (en) Carton workshop order production management device
CN119476857B (en) Resource constraint project scheduling method, system, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination