CN105843197A - Teaching-and-learning-algorithm-based static scheduling optimization system for discrete manufacturing shop - Google Patents
Teaching-and-learning-algorithm-based static scheduling optimization system for discrete manufacturing shop Download PDFInfo
- Publication number
- CN105843197A CN105843197A CN201610355967.0A CN201610355967A CN105843197A CN 105843197 A CN105843197 A CN 105843197A CN 201610355967 A CN201610355967 A CN 201610355967A CN 105843197 A CN105843197 A CN 105843197A
- Authority
- CN
- China
- Prior art keywords
- scheduling
- learning
- teaching
- processing
- optimization
- 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.)
- Granted
Links
- 238000005457 optimization Methods 0.000 title claims abstract description 66
- 238000004519 manufacturing process Methods 0.000 title claims abstract description 63
- 230000003068 static effect Effects 0.000 title claims abstract description 13
- 238000012545 processing Methods 0.000 claims abstract description 71
- 238000000034 method Methods 0.000 claims description 135
- 238000005265 energy consumption Methods 0.000 claims description 27
- 230000006870 function Effects 0.000 claims description 27
- 238000003754 machining Methods 0.000 claims description 9
- 239000006185 dispersion Substances 0.000 claims description 6
- 238000010276 construction Methods 0.000 claims description 3
- 238000013461 design Methods 0.000 claims description 3
- 238000007667 floating Methods 0.000 claims description 3
- 239000002355 dual-layer Substances 0.000 abstract 1
- 238000007726 management method Methods 0.000 description 6
- 238000005520 cutting process Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 239000011159 matrix material Substances 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000001311 chemical methods and process Methods 0.000 description 1
- 230000002860 competitive effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000009191 jumping Effects 0.000 description 1
- 230000001172 regenerating effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total 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/41865—Total 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
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/32—Operator till task planning
- G05B2219/32252—Scheduling production, machining, job shop
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
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)
- General Factory Administration (AREA)
Abstract
The invention discloses a teaching-and-learning-algorithm-based static scheduling optimization system for a discrete manufacturing shop. The system comprises a data server, an operation server, and a terminal display screen. A scheduling optimization client is embedded into the operation server and is used for carrying out optimization-algorithm-based reasonable scheduling arrangement on a processing task on the day by analyzing the processing task and consulting various detailed information of the data server, wherein the specific optimization algorithm employs a teaching and learning algorithm. A generation scheduling scheme is decoded; de-compilation processing is carried out according to dual-layer definition on a student during coding; a processing tool and a processing sequence of a workpiece are expressed successively. And then the optimized scheduling scheme is displayed on a terminal display screen, so that the production staff and the management staff in the shop can obtain current specific processing task arrangement information in real time. According to the invention, with the teaching and learning algorithm, the system has advantages of fast convergence speed and high optimization searching capability and adapts to the complex situation in practical production well.
Description
Technical Field
The invention relates to the technical field of discrete manufacturing workshop scheduling, in particular to a teaching and learning algorithm-based static scheduling optimization system for a discrete manufacturing workshop.
Background
The manufacturing industry in the 21 st century is increasingly competitive, and enterprises are threatened and challenged while gaining a great development space. The factors that determine the core competitiveness of an enterprise are reflected in the products offered by the enterprise. The product is required to have high quality, low price and short delivery period, and can continuously adapt to changeable markets and individualized customer demands, which puts higher requirements on production operation plans and balanced production of enterprise manufacturing workshops. In the current production process of the discrete manufacturing workshop, the problems of overlong machine tool standby time, unreasonable part production arrangement and the like exist, so that the static scheduling arrangement before the workshop production is necessary, the reasonable static scheduling arrangement is beneficial to improving the energy efficiency of the manufacturing process, and the core benefits of enterprises are met. At present, the academic world has developed extensive research on scheduling arrangement of manufacturing workshops, and various theoretical algorithms are generated, and due to the lack of understanding of actual production environments, most algorithms at present cannot be directly applied to static scheduling of discrete manufacturing workshops, so that reasonable algorithms are applied to the manufacturing workshops, and the aim of reducing working hours and production energy consumption is achieved, and the method is a key point of research.
Disclosure of Invention
Aiming at the defects in the prior art, the invention combines the advantages of teaching and learning algorithms, applies the teaching and learning algorithms to the static scheduling of the manufacturing workshop through partial improvement, and provides a discrete manufacturing workshop static scheduling optimization system, thereby achieving the result of improving the energy efficiency.
According to the technical scheme provided by the invention, the discrete manufacturing workshop static scheduling optimization system based on teaching and learning algorithm comprises a data server, an operation server and a terminal display screen; the data server collects the processing energy consumption, time consumption and standby conditions of the machine tool in the manufacturing workshop, counts the processing conditions of the workshop in real time, tracks the production energy consumption data of the machine tool in the workshop in real time, and counts the processing conditions of the machine tool and the attendance conditions of workers at the same time; the operation server is embedded with a scheduling optimization client, the scheduling optimization client performs reasonable scheduling arrangement on the processing tasks on the same day through an optimization algorithm by analyzing the processing tasks and referring to various detailed information of the data server, the optimization algorithm specifically adopts a teaching and learning optimization algorithm, and the construction method of the scheduling optimization client is as follows:
step one, determining an objective function of scheduling optimization of a discrete manufacturing workshop;
the minimum maximum processing time and the minimum total energy consumption of a machine tool in a manufacturing workshop are taken as objective functions, the two objective functions are fused by adopting a weighting method, and when the fused value is minimum, the scheduling requirement is met, namely
FM=min(max(FMi))
(1)
min(W)=u1FM+u2WM (3)
FMi-all the work in the machine tool MiA completion time of the above;
FM-Final finish time of all workpieces;
wmi-all the work in the machine tool MiThe consumption of energy of;
WM-Total energy consumption of all machine tools;
i-is a positive integer variable greater than 0;
n is the total amount of the machine tool;
min (W) -the final weighting values of the two objective functions;
u1、u2-two weighted values, which are valued according to the actual needs of the enterprise;
during the production, the scheduling optimization algorithm needs to satisfy the following constraint conditions:
1.1, a certain procedure can only use the same machine to process at a certain moment;
1.2, once a process of a certain workpiece starts to process, the process cannot be terminated randomly before the process is completed;
1.3, the processing priorities of all the workpieces are the same at zero time;
1.4, the priority of the processing sequence among the procedures of different workpieces is the same, and the processing of the procedures of the same workpiece must be in accordance with the previously appointed processing sequence;
step two, solving the objective function by adopting an improved teaching and learning optimization algorithm, wherein the specific solving process comprises the following steps:
step 2.1, encoding: each scheduling scheme represents a student, the scores of the students are defined in a double-layer design mode, and the first layer isDefining a process layer which represents each process of the ith part; second layerDefining a machine layer which represents a machine during the process machining of the ith part;
step 2.2, parameter initialization: initializing students in the teaching and learning optimization algorithm according to the number of machine tools and the processing tasks of parts;
step 2.3, solving an objective function based on an improved teaching and learning algorithm, and outputting an optimal scheduling scheme;
the running process of the improved teaching and learning algorithm comprises a teacher teaching process, a student learning process and an updating stage;
a. in the teacher's teaching process, the student is assumed to be XjThe final weight of the two objective functions is defined as f (X)i),
j 1, 2, 3, N, i ∈ {1234.. N }, where N is the total number of students, and min (f (X)i) Student as teacher XteacherSelecting the nearestStudent of average value of f (X) as Mean value; the "teach" process formula is as follows:
wherein,andrespectively representing parameters before and after the optimization of the jth scheduling scheme, namely the processing arrangement and TF of each partjAs a teaching factor, rjFor learning step length, the two parameters are used for adjusting the learning speed; at this time, the scheduling scheme obtained by floating point operation may have decimal or over-interval number, and the number needs to be adjustedDiscretizing, wherein the specific discretizing process comprises the following steps:
a.1, firstly, rounding the numbers of the process layer and the machine layer, neglecting decimal, then automatically setting the number exceeding the interval to zero, comparing with the scheduling task list of the current day, marking the workpieces with redundant processes at the process layer, and taking l1、l2、...、lcMarking the workpiece number, wherein c ∈ p and p are workpiece number sets to be marked, and finally randomly picking out the same redundant number from the workpiece number according to the number of redundant processes to be set as zero, and simultaneously setting the corresponding part of the machine layer as zero;
a.2, rearranging the zero-set workpiece numbers, comparing the workpiece numbers with a scheduling task list again, marking the workpiece numbers with insufficient working procedure quantity, randomly generating a group of scheduling schemes according to the specific missing number of the workpieces, sequentially filling the schemes to the positions of the working procedure layer with zero according to the sequence, and simultaneously randomly filling the machine numbers meeting the processing requirements in the positions corresponding to the machine layer;
a.3, taking the scheduling scheme generated for the first time as an initial scheme, carrying out local iteration, setting iteration times, skipping to a.2, if the generated scheduling scheme is superior to the initial scheme, setting the scheduling scheme as the initial scheduling scheme, and outputting the scheduling scheme until the iteration times are met;
b. in the student's learning process, each scheduling scheme XhRandomly selecting a learning object X from all scheduling schemesgH 1, 2, 3, ·, N; 1, 2, 3,. N; wherein h is≠g;XhBy and XgComparing the difference between the two, XhAnd carrying out corresponding optimization adjustment, wherein the learning process is represented by the following formula:
when f (X)h)≤f(Xg) Time of flight
When f (X)h)>f(Xg) Time of flight
Wherein r ishRepresenting the learning step length of the h-th student, and generating a new scheduling schemeThe dispersion is also needed, and the specific dispersion process is the same as that in the teacher's teaching process;
c. the updating stage means that after the learning process, the generated scheduling scheme needs to be updated and optimized, and the updating method is as follows:
when in useTime of flight
When in useTime of flight
Wherein, student d belongs to {1, 2, 3, …, N };
the scheduling optimization client decodes the generated scheduling scheme, performs decompiling according to the definition of the student double-layer during encoding, and sequentially shows the processing machine tool and the processing sequence of the workpiece; and finally, displaying the optimized scheduling scheme on a terminal display screen, so that workshop production personnel and management personnel can know the current specific processing task arrangement condition in real time.
In the teacher's teaching process, the teaching factor TFj=round[1+rand(0,1)]Rand (0, 1) denotes a random number randomly generated from 0 to 1, round denotes a rounding function so that the value taken is an integer, and the learning step r is an integerj=rand(0,1)。
In the process of student learning, the learning step length r of the h-th studenthRand (0, 1), and rand (0, 1) means that a random number is randomly generated from 0 to 1.
Compared with the prior art, the invention has the following advantages:
1) according to the invention, a database server is built, the production energy consumption data of equipment is directly integrated into the system, the production data is analyzed, and the specific energy consumption of a single process of producing a single workpiece by a machine tool can be detailed, so that the processing differences of different machine tools for producing the same workpiece are determined, and the rationality of scheduling is facilitated; meanwhile, the data server can count the normal working condition of the machine tool in the discrete manufacturing workshop and know the working hour condition of workshop worker processing, so that the workshop can be maintained in a normal production order, and the processing can be rapidly carried out.
2) The teaching and learning optimization algorithm adopted by the invention has the advantages of high convergence rate and strong optimization capability, and compared with other group intelligent algorithms, the algorithm only needs fewer iteration times and has better obtaining effect; meanwhile, the algorithm does not need to set a plurality of optimization parameters, so that the optimization purpose is easier to achieve; in addition, when the algorithm optimizes two objective functions, the optimization degree is determined by actually setting two weight parameters, so that the algorithm is more suitable for the complex situation in actual production.
3) The energy efficiency is directly taken as an optimization target, the energy consumption of a single processing procedure is taken as a unit, the energy-saving requirement can be directly met, the current green manufacturing requirement is better met, and the practicability is better.
4) The invention displays the scheduling scheme on the terminal display, is convenient for processing personnel and management personnel to check, feeds back unreasonable positions in time through checking, and the operation server appropriately adjusts the scheduling scheme according to the feedback condition, thereby ensuring that the scheduling scheme has more rationality.
Drawings
Fig. 1 shows an encoded form of the scheduling algorithm.
FIG. 2 is a discretized block diagram of an improved teaching and learning optimization algorithm.
FIG. 3 is a scheduling flow diagram of an improved teaching and learning optimization algorithm.
FIG. 4 is a diagram of a discrete manufacturing shop optimization system operating.
Detailed Description
The present invention will be described in detail below with reference to the accompanying drawings and examples.
The scheduling optimization system set up by the invention comprises a data server, an operation server and a terminal display screen. As shown in fig. 4, a scheduling algorithm is embedded in the operation server, and the scheduling is displayed on the terminal display screen by analyzing and calculating the data of the data server. The specific implementation steps are as follows:
firstly, the method comprises the following steps: the method comprises the steps of building a data server, collecting the machining energy consumption, time consumption and standby conditions of a machine tool in a manufacturing workshop, counting the machining conditions of the workshop in real time, tracking the production energy consumption data of the machine tool in the workshop in real time, and counting the machining conditions of the machine tool and the attendance conditions of workers at the same time.
II, secondly: an operation server is set up, a scheduling optimization client is compiled in the server, the scheduling optimization client reasonably schedules the processing tasks on the day through an optimization algorithm by analyzing the processing tasks and referring to various detailed information of a data server, the optimization algorithm adopts a teaching-learning-based optimization algorithm (teaching-learning-optimization algorithm), the algorithm is provided for a continuous system, the application of the discrete manufacturing workshop needs to be properly improved, and the specific construction scheme of the scheduling optimization client is as follows:
1) an objective function for the discrete manufacturing shop scheduling optimization is determined.
According to the comprehensive consideration of energy consumption and benefits of enterprises, the minimum maximum processing time and the minimum total energy consumption of machine tools in a manufacturing workshop are taken as objective functions. In order to meet different requirements, a weighting method is adopted to fuse the two objective functions, and when the fused value is minimum, the scheduling requirement is met, namely
FM=min(max(FMi)) (1)
min(W)=u1FM+u2WM (3)
FMi-all the work in the machine tool MiA completion time of the above;
FM-Final finish time of all workpieces;
wmi-all the work in the machine tool MiThe consumption of energy of;
WM-Total good energy consumption of all machine tools;
i-is a positive integer variable greater than 0;
n is the total amount of the machine tool;
min (W) -the final weighting values of the two objective functions;
u1、u2two weighted values, the actual value is according to the actual needs of the enterprise;
during the production, the scheduling optimization algorithm needs to satisfy the following constraint conditions:
1) a certain procedure can only be processed by the same machine at a certain time;
2) a process of a workpiece cannot be terminated randomly (i.e., without regard to occurrence of machine failure) once it begins to be machined, until the process is completed;
3) the processing priorities of all the workpieces are the same at zero time;
4) the priority of the processing sequence among the processes of different workpieces is the same, and the processing of the processes of the same workpiece must be in accordance with the previously appointed processing sequence.
2) And solving the objective function by adopting an improved teaching and learning optimization algorithm, wherein the concrete solving process is as follows:
2.1) encoding:
each scheduling scheme represents a student, the scores of the students are defined in a double-layer design mode, and the first layer isDefining a process layer which represents each process of the ith part; second layerThe definition is a machine layer, and indicates a machine at the time of process machining of the ith part. For example, student XiA3 workpiece 5 machine scheduling scheme is shown, wherein a "1" in the first row and first column indicates a first pass of workpiece 1The work process, the "2" in the first row of the second row indicates that the first process of the workpiece 1 is processed on the machine 2, the first row has three "1" s, indicating that the workpiece 1 has three processes, and the position of the three "1" s indicates the order in which the three processes are arranged to be processed, as shown in fig. 1 in particular.
2.2) parameter initialization: initializing students in the teaching and learning optimization algorithm according to the number of machine tools and the processing tasks of parts;
and 2.3) solving an objective function based on an improved teaching and learning algorithm, and outputting an optimal scheduling scheme.
The operation process of the specific improved teaching and learning algorithm is as follows:
a. the teacher's "teaching" process.
Referring to the "teach" phase of FIG. 3, assume student Xj(j ═ 1, 2, 3.., N where N is the total number of students), the final weighted value of the two objective functions is defined as f (X)i) (i ∈ {1234.. N }), selecting min (f (X)i) Student as teacher XteacherSelecting the nearestThe student of (f) (average of X) was taken as Mean value. The specific "teaching" process formula is as follows:
wherein,andrespectively representing parameters before and after the optimization of the jth scheduling scheme, namely the processing arrangement and TF of each partjIs a Teaching Factor (TF)j=round[1+rand(0,1)]),rjFor learning the step length (r)jRank (0, 1)), where round denotes the rounding function, making its value always an integer, and rank (0, 1) denotes the generation of a random number from 0 to 1, these two key parameters being used to adjust the learning speed. At this time, the scheduling scheme obtained by floating point operation may have decimal or over-interval number, and the number needs to be adjustedDiscretization is carried out, and referring to fig. 2, a specific discretization process is as follows:
step 1: firstly, adopting rounding method to the numbers of the process layer and the machine layer, neglecting decimal, then automatically setting the number exceeding the interval to zero, comparing with the scheduling task list of the same day, marking the workpieces with redundant processes at the process layer, and taking l1、l2、...、lc(c ∈ p, p is the workpiece number set to be marked) marking the workpiece number, and finally randomly picking out the same excess number from the workpiece number according to the number of the excess working procedures to be set as zero, wherein the machine layer is also set as zero;
step 2: rearranging the zero-set workpiece numbers, comparing the workpiece numbers with a scheduling task list again, marking the workpiece numbers with insufficient working procedure quantity, randomly generating a group of scheduling schemes according to the specific missing number of the workpieces, sequentially filling the schemes to the positions with zero working procedure layers according to the sequence, and simultaneously randomly filling machine numbers meeting the processing requirements into the positions corresponding to the machine layers;
step 3: and taking the scheduling scheme generated for the first time as an initial scheme, carrying out local iteration, setting the iteration number as q, skipping step2, if the generated scheduling scheme is superior to the initial scheme, setting the scheduling scheme as the initial scheduling scheme, and if the iteration number meets q, outputting the scheduling scheme.
b. The student's "learning" process.
Referring to the "learning" stage of FIG. 3, in the "learning" process of students, each scheduling scheme XhRandomly selecting a learning object X from all scheduling schemesgH 1, 2, 3, ·, N; 1, 2, 3,. N; wherein h is not equal to g; xhBy and XgComparing the difference between the two, XhAnd carrying out corresponding optimization adjustment, wherein the mathematical process is expressed by the following formula:
when f (X)h)≤f(Xg) Time of flight
When f (X)h)>f(Xg) Time of flight
Wherein r ishRepresenting the learning step length of the h-th student, and generating a new scheduling schemeThe dispersion is also needed, and the specific dispersion process is the same as that in the teacher's teaching process;
c. the updating stage refers to that after the learning process, the generated scheduling scheme needs to be updated and optimized, and the specific process refers to the updating stage of fig. 3, and the updating method is as follows:
when in useTime of flight
When in useTime of flight
Wherein, student d is ∈ {1, 2, 3, …, N }.
Thirdly, the method comprises the following steps: decoding the generated scheduling scheme, performing decompilation according to the definition of student double-layer during encoding, and sequentially showing the processing machine tool and the processing sequence of the workpiece
Fourthly, the method comprises the following steps: and displaying the optimized scheduling scheme on a terminal display screen, so that workshop production personnel and management personnel can know the current specific processing task arrangement condition in real time.
Referring to fig. 4, the data server and the operation server are built in the discrete manufacturing workshop, the machine tool manufacturing information and the workshop processing plan are analyzed, the improved teaching and learning optimization algorithm is adopted to perform offline scheduling arrangement on workshop production, and finally, the specific scheduling task is displayed to the workshop through the display screen, so that the production is conveniently guided.
The following is a specific embodiment:
the method comprises the following steps: a data server is set up and is communicated with a workshop machine tool system to acquire the processing time (including the standby time) of a single procedure of processing a single workpiece by a machine toolDead timeCutting time) And details of energy consumption of the process (including standby energy consumption)No load energy consumptionEnergy consumption for cutting) Wherein i represents a machine tool, j represents a workpiece, k represents a specific process, d represents a standby state, o represents a no-load state, and q represents a cutting state, so that the machine tool i processes the k-th process of the workpiece j for a time period taken for the processAnd energy consumptionAnalyzing and processing the acquired data in the data server, and integrating energy consumption information:
time for machine tool to process workpiece j:
energy consumption of the machine tool for processing the workpiece j:
wherein, txyIndicates the time, t, taken by the machine number x to process the y-th pass of the part jjThe first row of the matrix represents a first procedure, all columns of the first row represent the processing time used by a machine capable of processing the procedure, the first column represents a machine with the machine number 1, and when the machine cannot process the procedure, the corresponding coordinate value is zero, so that the manufacturing characteristics of a discrete manufacturing workshop are better met; in the same way, wxyThe energy consumption of the y-th process for machining the part j by the machine number x is shown, and the meaning of the matrix coordinate values is the same as that described above, and will not be described in a repeated manner.
Meanwhile, the data server receives the current production task list from the workshop management system at regular time, additionally summarizes the existing workload of the workshop machine tool and the normal operation condition of the machine tool, counts the on-duty condition of workshop operation workers and ensures that the scheduling task can be normally executed.
Step two: the operation server requests a current production task list from the data server and simultaneously acquires energy consumption integration information;
step three: the optimization objective is determined from the obtained information and requirements, as follows:
FM=min(max(FMi)) (11)
min(W)=u1FM+u2WM(13)
the symbols are defined as follows:
FMi-all the work in the machine tool MiA completion time of the above;
FM-Final finish time of all workpieces;
wmi-all the work in the machine tool MiThe consumption of energy of;
WM-Total good energy consumption of all machine tools;
i-is a positive integer variable greater than 0;
n is the total amount of the machine tool;
min (W) -the final weighting values of the two objective functions;
u1、u2-two weighting values, actuallyThe value is according to the actual needs of the enterprise;
step four: initializing parameters of an improved teaching and learning algorithm: number of students z, number of iterations B, and optimization objective weight u1、u2(must satisfy u1+u21); the number of students is set to be 15, so that the operation speed of the algorithm is not influenced, and the optimization precision of the algorithm is ensured; the iteration number B is set to 500; the optimized target weight value is dynamically adjusted according to the processing list and the customer urgency;
step five: coding;
determining the number m of workpieces to be machined and the number n of workpieces which can be used for machining according to the task list and the machine tool running condition, numbering the workpieces according to 1, 2, … and n, numbering the machine tool according to 1, 2, … and m in the same way, and counting the number c of the machining processes required by each workpiecei(i ∈ {1, 2, 3, …, n }) Each student adopts a two-layer structure, the first layer being a process layerThe second layer is a machine layerNumber of elements of first layerThe number of times each workpiece i appears is equal to the number of processes c of the workpieceiAnd all the occurrence times are represented by i, the process of the workpiece i is determined by the sequence of the numbers i appearing in the process layer, if the number i appears for the first time, the process is the first process of the workpiece i, and the workpiece i is randomly inserted into the first layer according to the process number of the workpiece to finish the random arrangement of the process. And the second layer randomly selects the serial number of one machine tool from the machine tools meeting the processing conditions according to the working procedures of the workpiece corresponding to the first layer and puts the serial number into the position.
Step six: performing teacher 'teaching' stage of the algorithm;
general student Xj(j=1,2,3,...,15) Substituting into an objective function formula, respectively solving Wj(WjFor time-optimized and energy-optimized integrated values, (j ═ 1, 2, 3.., 15)), when the student is XiWhen min (W) ═ WiTaking XiAs Xteacher(ii) a When the student is XhWhen W ishNearest mean (W), take XhAs the Mean.
Wherein:
Wj=u1(FM)j+u2(WM)j(14)
the specific "teaching" process formula is as follows:
andrespectively representing parameters before and after the optimization of the jth scheduling scheme, namely the processing arrangement and TF of each partjIs a Teaching Factor (TF)j=round[1+rand(0,1)]),rjFor learning the step length (r)jRand (0, 1)), these two more critical parameters are used to adjust the speed of learning.
Respectively generating students after the teaching processPerforming discretization processing and outputtingInstead of the former
Step seven: performing a learning process of the algorithm;
in the process of student learning each other, each scheduling scheme Xh(h ═ 1, 2, 3.., 15.) a learning object X was randomly selected from all scheduling schemesg(g ≠ 1, 2, 3.., 15 wherein h ≠ g), XhBy and XgComparing the difference between the two, XhAnd carrying out corresponding optimization adjustment, wherein the specific chemical process is expressed by the following formula:
when f (X)h)≤f(Xg) Time of flight
When f (X)h)>f(Xg) Time of flight
Wherein r ishIndicates the learning step size, r, of the h-th studenthRan (0, 1), the generated new scheduling schemeThe discretization is also needed, and the specific discretization process is the same as the teacher's teaching' process.
Step eight: updating the algorithm if W 'produced by "science" process'newIs less than WnewW'newReplace WnewAnd simultaneously replacing X with the scheduling scheme X'. Adding 1 to B, judging whether B is more than 500, if so, terminating the algorithm, and carrying out the ninth step; otherwise, jumping to the step six.
Step nine: and decoding the generated scheduling scheme, performing decompiling according to the definition of the student double-layer during encoding, and sequentially showing the processing machine tool and the processing sequence of the workpiece.
Step ten: outputting the current static scheduling scheme X, uploading the scheme to a workshop display through an intranet, verifying workshop production personnel and management personnel, if the scheme has a problem, manually turning to the step three to adjust the parameters, regenerating the scheduling scheme, ensuring the rationality of the scheduling scheme, and if the scheme has no problem, processing according to the scheme.
The off-line scheduling optimization system built by the invention is used for off-line scheduling manufacturing workshop machine tool processing tasks, can realize static scheduling and scheduling management of manufacturing workshop production, and can find the best feasible scheduling scheme meeting the requirements in a shorter specified time.
Claims (3)
1. A teaching and learning algorithm-based static scheduling optimization system for a discrete manufacturing workshop is characterized by comprising a data server, an arithmetic server and a terminal display screen,
the data server collects the processing energy consumption, time consumption and standby conditions of the machine tool in the manufacturing workshop, counts the processing conditions of the workshop in real time, tracks the production energy consumption data of the machine tool in the workshop in real time, and counts the processing conditions of the machine tool and the attendance conditions of workers at the same time;
the operation server is embedded with a scheduling optimization client, the scheduling optimization client performs reasonable scheduling arrangement on the processing tasks on the same day through an optimization algorithm by analyzing the processing tasks and referring to various detailed information of the data server, the optimization algorithm specifically adopts a teaching and learning optimization algorithm, and the construction method of the scheduling optimization client is as follows:
step one, determining an objective function of scheduling optimization of a discrete manufacturing workshop;
the minimum maximum processing time and the minimum total energy consumption of a machine tool in a manufacturing workshop are taken as objective functions, the two objective functions are fused by adopting a weighting method, and when the fused value is minimum, the scheduling requirement is met, namely
FM=min(max(FMi)) (1)
min(W)=u1FM+u2WM (3)
FMi-all the work in the machine tool MiA completion time of the above;
FM-Final finish time of all workpieces;
wmi-all the work in the machine tool MiThe consumption of energy of;
WM-Total energy consumption of all machine tools;
i-is a positive integer variable greater than 0;
n is the total amount of the machine tool;
min (W) -the final weighting values of the two objective functions;
u1、u2-two weighted values, which are valued according to the actual needs of the enterprise;
during the production, the scheduling optimization algorithm needs to satisfy the following constraint conditions:
1.1, a certain procedure can only use the same machine to process at a certain moment;
1.2, once a process of a certain workpiece starts to process, the process cannot be terminated randomly before the process is completed;
1.3, the processing priorities of all the workpieces are the same at zero time;
1.4, the priority of the processing sequence among the procedures of different workpieces is the same, and the processing of the procedures of the same workpiece must be in accordance with the previously appointed processing sequence;
step two, solving the objective function by adopting an improved teaching and learning optimization algorithm, wherein the specific solving process comprises the following steps:
step 2.1, encoding: each scheduling scheme represents a student, the scores of the students are defined in a double-layer design mode, and the first layer isDefining a process layer which represents each process of the ith part; second layerDefining a machine layer which represents a machine during the process machining of the ith part;
step 2.2, parameter initialization: initializing students in the teaching and learning optimization algorithm according to the number of machine tools and the processing tasks of parts;
step 2.3, solving an objective function based on an improved teaching and learning algorithm, and outputting an optimal scheduling scheme;
the running process of the improved teaching and learning algorithm comprises a teacher teaching process, a student learning process and an updating stage;
a. in the teacher's teaching process, the student is assumed to be XjThe final weight of the two objective functions is defined as f (X)i),
j 1, 2, 3,., N, i ∈ {1234 … N }, where N is the total number of students, and min (f (X) is selectedi) Student as teacher XteacherSelecting the nearestStudent of average value of f (X) as Mean value; the "teach" process formula is as follows:
wherein,andrespectively representing parameters before and after the optimization of the jth scheduling scheme, namely the processing arrangement and TF of each partjAs a teaching factor, rjFor learning step length, the two parameters are used for adjusting the learning speed; at this time, the scheduling scheme obtained by floating point operation may have decimal or over-interval number, and the number needs to be adjustedDiscretizing, wherein the specific discretizing process comprises the following steps:
a.1, firstly, rounding the numbers of the process layer and the machine layer, neglecting decimal, then automatically setting the number exceeding the interval to zero, comparing with the scheduling task list of the current day, marking the workpieces with redundant processes at the process layer, and taking l1、l2、…、lcMarking the workpiece number, wherein c ∈ p and p are workpiece number sets to be marked, and finally randomly picking out the same redundant number from the workpiece number according to the number of redundant processes to be set as zero, and simultaneously setting the corresponding part of the machine layer as zero;
a.2, rearranging the zero-set workpiece numbers, comparing the workpiece numbers with a scheduling task list again, marking the workpiece numbers with insufficient working procedure quantity, randomly generating a group of scheduling schemes according to the specific missing number of the workpieces, sequentially filling the schemes to the positions of the working procedure layer with zero according to the sequence, and simultaneously randomly filling the machine numbers meeting the processing requirements in the positions corresponding to the machine layer;
a.3, taking the scheduling scheme generated for the first time as an initial scheme, carrying out local iteration, setting iteration times, skipping to a.2, if the generated scheduling scheme is superior to the initial scheme, setting the scheduling scheme as the initial scheduling scheme, and outputting the scheduling scheme until the iteration times are met;
b. in the student's learning process, each scheduling scheme XhRandomly selecting a learning object X from all scheduling schemesgH 1, 2, 3, ·, N; 1, 2, 3,. N; wherein h is not equal to g; xhBy and XgComparing the difference between the two, XhAnd carrying out corresponding optimization adjustment, wherein the learning process is represented by the following formula:
when f (X)h)≤f(Xg) Time of flight
When f (X)h)>f(Xg) Time of flight
Wherein r ishRepresenting the learning step length of the h-th student, and generating a new scheduling schemeThe dispersion is also needed, and the specific dispersion process is the same as that in the teacher's teaching process;
c. the updating stage means that after the learning process, the generated scheduling scheme needs to be updated and optimized, and the updating method is as follows:
when in useTime of flight
When in useTime of flight
Wherein, student d belongs to {1, 2, 3, …, N };
the scheduling optimization client decodes the generated scheduling scheme, performs decompiling according to the definition of the student double-layer during encoding, and sequentially shows the processing machine tool and the processing sequence of the workpiece; and finally, displaying the optimized scheduling scheme on a terminal display screen, so that workshop production personnel and management personnel can know the current specific processing task arrangement condition in real time.
2. The system of claim 1, wherein the teaching factor TF is used in the teacher's teaching processj=round[1+rand(0,1)]Rand (0, 1) denotes a random number randomly generated from 0 to 1, round denotes a rounding function so that the value taken is an integer, and the learning step r is an integeri=rand(0,1)。
3. The system of claim 1, wherein the learning step length r of the h-th student is determined by learning step length r of the h-th student during learning of the h-th studenthRand (0, 1), and rand (0, 1) means that a random number is randomly generated from 0 to 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610355967.0A CN105843197B (en) | 2016-05-26 | 2016-05-26 | Discrete Production Workshop static scheduling optimization system based on learning aid algorithm |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610355967.0A CN105843197B (en) | 2016-05-26 | 2016-05-26 | Discrete Production Workshop static scheduling optimization system based on learning aid algorithm |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105843197A true CN105843197A (en) | 2016-08-10 |
CN105843197B CN105843197B (en) | 2017-05-31 |
Family
ID=56595595
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610355967.0A Expired - Fee Related CN105843197B (en) | 2016-05-26 | 2016-05-26 | Discrete Production Workshop static scheduling optimization system based on learning aid algorithm |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105843197B (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106527381A (en) * | 2016-12-14 | 2017-03-22 | 北京化工大学 | Fast evaluation method facing parallel batch processing machine dynamic scheduling |
CN107544246A (en) * | 2017-09-05 | 2018-01-05 | 昆明理工大学 | A kind of Optimization Scheduling of the preparation process of the coking coal materials of multiple-objection optimization |
CN108803330A (en) * | 2018-06-20 | 2018-11-13 | 南京航空航天大学 | A kind of learning aid optimization sliding-mode control based on personality coefficient adjustment |
CN108960508A (en) * | 2018-06-29 | 2018-12-07 | 华中科技大学 | Casting and molding and melting batch plan acquisition methods based on quantum bat algorithm |
CN109255152A (en) * | 2018-08-03 | 2019-01-22 | 华中科技大学 | A kind of heat treatment charging plan method for solving based on the discrete learning aid algorithm of improvement |
CN109522104A (en) * | 2018-10-15 | 2019-03-26 | 华南理工大学 | Utilize the method for differential evolution algorithm optimization two goal task of Iaas scheduling |
CN109636196A (en) * | 2018-12-14 | 2019-04-16 | 天津字节跳动科技有限公司 | Task arrangement method, device, electronic equipment and storage medium |
CN109658436A (en) * | 2018-12-04 | 2019-04-19 | 郑州轻工业学院 | A kind of fast-moving target tracking of mixing GOA and TLBO search |
CN111208794A (en) * | 2020-02-22 | 2020-05-29 | 江南大学 | Discrete manufacturing workshop static scheduling optimization method based on differential evolution algorithm |
CN111650895A (en) * | 2020-04-08 | 2020-09-11 | 上海航天精密机械研究所 | Automatic line production task dynamic scheduling method |
CN111796512A (en) * | 2019-04-08 | 2020-10-20 | 中移(苏州)软件技术有限公司 | Method, device, equipment and storage medium for determining equipment scheduling parameters |
CN112668930A (en) * | 2021-01-12 | 2021-04-16 | 中国科学院微小卫星创新研究院 | Multi-star task scheduling planning method based on improved teaching optimization method |
CN113640470A (en) * | 2021-08-20 | 2021-11-12 | 中国计量大学 | Multi-unmanned aerial vehicle atmospheric pollution source positioning method based on improved teaching and learning algorithm |
CN114202439A (en) * | 2021-09-22 | 2022-03-18 | 武汉理工大学 | Production rescheduling method under order evaluation system of discrete manufacturing enterprise |
CN116820060A (en) * | 2023-08-31 | 2023-09-29 | 超网实业(成都)股份有限公司 | Energy-saving strategy optimization design method and system for factory workshop |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101334663A (en) * | 2008-06-11 | 2008-12-31 | 清华大学 | Machine group scheduling method based on process capacity characteristic model |
CN103955754A (en) * | 2014-04-16 | 2014-07-30 | 江南大学 | Mold workshop scheduling method based on real-time production data collection |
CN105226638A (en) * | 2015-09-06 | 2016-01-06 | 清华大学 | Based on the electric power system Calculation of Available Transfer Capability method improving learning aid algorithm |
-
2016
- 2016-05-26 CN CN201610355967.0A patent/CN105843197B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101334663A (en) * | 2008-06-11 | 2008-12-31 | 清华大学 | Machine group scheduling method based on process capacity characteristic model |
CN103955754A (en) * | 2014-04-16 | 2014-07-30 | 江南大学 | Mold workshop scheduling method based on real-time production data collection |
CN105226638A (en) * | 2015-09-06 | 2016-01-06 | 清华大学 | Based on the electric power system Calculation of Available Transfer Capability method improving learning aid algorithm |
Non-Patent Citations (1)
Title |
---|
拓守恒: "改进的教与学优化算法", 《PROCEEDING OF THE 32ND CHINESE CONTROL CONFERENCE》 * |
Cited By (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106527381A (en) * | 2016-12-14 | 2017-03-22 | 北京化工大学 | Fast evaluation method facing parallel batch processing machine dynamic scheduling |
CN106527381B (en) * | 2016-12-14 | 2019-05-17 | 北京化工大学 | A kind of fast evaluation method towards parallel batch processing machine dynamic dispatching |
CN107544246A (en) * | 2017-09-05 | 2018-01-05 | 昆明理工大学 | A kind of Optimization Scheduling of the preparation process of the coking coal materials of multiple-objection optimization |
CN108803330B (en) * | 2018-06-20 | 2020-12-11 | 南京航空航天大学 | Teaching and learning optimization sliding mode control method based on character coefficient adjustment |
CN108803330A (en) * | 2018-06-20 | 2018-11-13 | 南京航空航天大学 | A kind of learning aid optimization sliding-mode control based on personality coefficient adjustment |
CN108960508A (en) * | 2018-06-29 | 2018-12-07 | 华中科技大学 | Casting and molding and melting batch plan acquisition methods based on quantum bat algorithm |
CN108960508B (en) * | 2018-06-29 | 2020-09-08 | 华中科技大学 | Casting modeling and smelting batch plan obtaining method based on quantum bat algorithm |
CN109255152A (en) * | 2018-08-03 | 2019-01-22 | 华中科技大学 | A kind of heat treatment charging plan method for solving based on the discrete learning aid algorithm of improvement |
CN109522104A (en) * | 2018-10-15 | 2019-03-26 | 华南理工大学 | Utilize the method for differential evolution algorithm optimization two goal task of Iaas scheduling |
CN109522104B (en) * | 2018-10-15 | 2021-09-21 | 华南理工大学 | Method for optimizing scheduling of two target tasks of Iaas by using differential evolution algorithm |
CN109658436A (en) * | 2018-12-04 | 2019-04-19 | 郑州轻工业学院 | A kind of fast-moving target tracking of mixing GOA and TLBO search |
CN109658436B (en) * | 2018-12-04 | 2020-09-01 | 郑州轻工业学院 | Fast moving target tracking method for mixed GOA and TLBO search |
CN109636196B (en) * | 2018-12-14 | 2021-12-28 | 北京字节跳动网络技术有限公司 | Task scheduling method and device, electronic equipment and storage medium |
CN109636196A (en) * | 2018-12-14 | 2019-04-16 | 天津字节跳动科技有限公司 | Task arrangement method, device, electronic equipment and storage medium |
CN111796512A (en) * | 2019-04-08 | 2020-10-20 | 中移(苏州)软件技术有限公司 | Method, device, equipment and storage medium for determining equipment scheduling parameters |
CN111208794A (en) * | 2020-02-22 | 2020-05-29 | 江南大学 | Discrete manufacturing workshop static scheduling optimization method based on differential evolution algorithm |
CN111650895A (en) * | 2020-04-08 | 2020-09-11 | 上海航天精密机械研究所 | Automatic line production task dynamic scheduling method |
CN112668930A (en) * | 2021-01-12 | 2021-04-16 | 中国科学院微小卫星创新研究院 | Multi-star task scheduling planning method based on improved teaching optimization method |
CN112668930B (en) * | 2021-01-12 | 2024-05-17 | 中国科学院微小卫星创新研究院 | Multi-star task scheduling planning method based on improved teaching optimization method |
CN113640470A (en) * | 2021-08-20 | 2021-11-12 | 中国计量大学 | Multi-unmanned aerial vehicle atmospheric pollution source positioning method based on improved teaching and learning algorithm |
CN113640470B (en) * | 2021-08-20 | 2023-01-24 | 中国计量大学 | Multi-unmanned aerial vehicle atmospheric pollution source positioning method based on improved teaching and learning algorithm |
CN114202439A (en) * | 2021-09-22 | 2022-03-18 | 武汉理工大学 | Production rescheduling method under order evaluation system of discrete manufacturing enterprise |
CN114202439B (en) * | 2021-09-22 | 2024-07-16 | 武汉理工大学 | Production rescheduling method under discrete manufacturing enterprise order evaluation system |
CN116820060A (en) * | 2023-08-31 | 2023-09-29 | 超网实业(成都)股份有限公司 | Energy-saving strategy optimization design method and system for factory workshop |
CN116820060B (en) * | 2023-08-31 | 2023-12-05 | 超网实业(成都)股份有限公司 | Energy-saving strategy optimization design method and system for factory workshop |
Also Published As
Publication number | Publication date |
---|---|
CN105843197B (en) | 2017-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105843197B (en) | Discrete Production Workshop static scheduling optimization system based on learning aid algorithm | |
Wang et al. | A two-stage optimization method for energy-saving flexible job-shop scheduling based on energy dynamic characterization | |
CN103955754B (en) | Mold workshop scheduling method based on real-time production data collection | |
CN107316107B (en) | Warp knitting machine assembly line balancing method oriented to multi-objective optimization | |
CN109902954B (en) | Flexible job shop dynamic scheduling method based on industrial big data | |
CN102183931B (en) | Time-constraint-based scheduling optimization method for machining production process | |
CN106875094A (en) | A kind of multiple target Job-Shop method based on polychromatic sets genetic algorithm | |
CN111260181B (en) | Workshop self-adaptive production scheduling device based on distributed intelligent manufacturing unit | |
US20210073695A1 (en) | Production scheduling system and method | |
CN103729694B (en) | The method that improvement GA based on polychromatic sets hierarchical structure solves Flexible workshop scheduling | |
CN114580678A (en) | Product maintenance resource scheduling method and system | |
CN109917754B (en) | Multi-population distribution estimation algorithm-based robot assembly unit multi-target layout optimization method | |
CN108647859A (en) | The double population collaborative learning strategies of displacement assembly line and optimization method of Knowledge driving | |
CN112990716B (en) | Double-resource constraint flexible workshop scheduling and layout integrated optimization method and system | |
CN113112121A (en) | Workshop layout scheduling optimization method based on multi-objective non-dominated sorting | |
CN108776845A (en) | A kind of mixing drosophila algorithm based on Bi-objective solving job shop scheduling problem | |
Wu et al. | E-commerce workshop scheduling based on deep learning and genetic algorithm | |
CN113761732A (en) | Method for modeling and optimizing one-class multi-disturbance workshop flexible scheduling based on reinforcement learning | |
Jiang et al. | Application and dynamic simulation of improved genetic algorithm in production workshop scheduling | |
CN114510874A (en) | Production scheduling and machine maintenance optimization method based on joint optimization model | |
CN105549559B (en) | For obtaining the method and device of the continuous type chemical production technology degree of conformity based on teams and groups | |
CN111208794A (en) | Discrete manufacturing workshop static scheduling optimization method based on differential evolution algorithm | |
CN110515356B (en) | Optimized scheduling method for cold-rolled and coated steel plate processing process for household appliances | |
CN114493172A (en) | Emergency capacity allocation plan deduction method and system | |
Bashiri et al. | Permutation based decision making under fuzzy environment using Tabu search |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170531 Termination date: 20180526 |
|
CF01 | Termination of patent right due to non-payment of annual fee |