Production scheduling management system based on artificial intelligence
Through the artificial intelligence-based production scheduling management system, combined with the Beluga optimization algorithm, the problem that the existing system fails to fully consider the machine load and processing quality is solved, achieving more efficient and accurate production scheduling, and avoiding algorithm overloading. Early convergence improves the resource allocation efficiency of the flexible job shop.
Patent Information
- Application Number
- CN202410799981.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2024-10-01
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
When optimizing the flexible job shop problem, the existing production scheduling management system usually only considers the total processing time and fails to fully consider the machine load, processing cost and processing quality, resulting in the inability to maximize benefits, and the genetic algorithm is prone to premature convergence. , falling into a local optimal solution.
Adopting an artificial intelligence-based production scheduling management system, through data collection, preprocessing and prediction model construction, combined with the Beluga optimization algorithm to generate a production scheduling plan, comprehensively considering processing time, machine load, processing cost and processing quality, to avoid algorithm overload Converge early.
It improves the accuracy of the production scheduling plan, ensures resource allocation that maximizes benefits and a more efficient production process, avoids premature convergence of the algorithm, and improves the ability to discover the global optimal solution.
Smart Images

Figure CN118735186A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of production scheduling management, and more specifically, to a production scheduling management system based on artificial intelligence. Background Art
[0002] With the development of information technology, intelligent optimization algorithms are gradually integrated into production scheduling management systems, aiming to optimize workshop production processes through advanced intelligent optimization algorithms, achieve optimal resource allocation, and shorten production cycles, thereby improving production efficiency to respond to market changes.
[0003] The flexible job shop problem (FFSP) is a major challenge in production scheduling management, that is, there are n workpieces, each of which needs to go through m processes. Under the premise that all workpieces complete all processes, the total processing time is minimized. The existing genetic algorithm is used to solve the flexible job shop problem, that is, the encoding of individuals in the initialization population is completed by matrix encoding. The matrix encoding of the individual includes n rows and m columns. The element values of the matrix encoding are represented by real numbers. The integer part of the real number represents the machine number of the processed workpiece, and the decimal part represents the processing order. The workpieces are processed in ascending order. For example, the matrix encoding includes 4 rows and 3 columns, and the 4 element values of the first column are 1.3, 1.8, 2.3, and 1.5 respectively. Then the first process of workpieces 1, 2, and 4 are all selected to be processed on the machine with machine number 1, and the processing order is workpiece 1, 4, and 2.
[0004] However, the above schemes usually only consider the total processing time, and do not take into account the machine load, processing cost and processing quality, which may lead to the failure to maximize benefits. In addition, during the iteration process of the genetic algorithm, with the selection mechanism of survival of the fittest, individuals with higher fitness will be retained first, and the differences between individuals in the initialization population will gradually decrease, which may cause the algorithm to converge prematurely and easily fall into a local optimal solution rather than a truly global optimal solution. Summary of the invention
[0005] The present invention provides a production scheduling management system based on artificial intelligence to solve the technical problems in the above-mentioned background technology.
[0006] The present invention provides a production scheduling management system based on artificial intelligence, comprising:
[0007] A data acquisition module, which is used to collect the first operation data of the workpiece to be processed on the machine platform after completing m processing steps in history;
[0008] The first operation data includes: workpiece data to be processed and machine operation data;
[0009] The data of the workpiece to be processed include: length, width and weight;
[0010] Machine operation data includes: operating time, purchase cost, maintenance cost, maximum output power, number of repairs, and average number of workpieces processed per day;
[0011] One processing step corresponds to a set of machines. Each machine completes different processing steps. A workpiece to be processed must go through m processing steps to complete the processing.
[0012] A data preprocessing module, which is used to preprocess the first operation data of each historical workpiece to be processed to obtain a feature sequence;
[0013] The feature sequence includes m sequence units, and one sequence unit corresponds to the second operation data of one processing step;
[0014] The second operation data is obtained by preprocessing the first operation data;
[0015] A prediction model building module, which is used to build a prediction model and obtain the prediction model based on the feature sequence training of each workpiece to be processed;
[0016] The input of the prediction model is a feature sequence, and the output values represent the estimated processing time, estimated machine load, estimated processing cost, and estimated processing quality;
[0017] The production scheduling plan generation module is used to generate a production scheduling plan based on the prediction model combined with the White Whale optimization algorithm;
[0018] According to the production scheduling plan, n workpieces to be processed are assigned to k machines to complete m processing steps.
[0019] Furthermore, m, n, k and the set of machines are all custom parameters.
[0020] Further, obtaining the second operation data by preprocessing the first operation data comprises the following steps:
[0021] Step S201, modifying the outliers in the first data by taking the median;
[0022] Step S202, filling the missing values in the first data by taking the average value;
[0023] Step S203, normalizing the first data by maximum and minimum normalization to obtain second data.
[0024] Furthermore, the prediction model includes m hidden layers;
[0025] The i-th hidden layer inputs the i-th sequence unit of the feature sequence and outputs the hidden state;
[0026] The hidden states output by the mth hidden layer are input into four softmax classifiers respectively. The classification labels of the four softmax classifiers represent the estimated processing time, the estimated machine load, the estimated processing cost and the estimated processing quality respectively.
[0027] Definition: 1≤i≤m, the estimated processing time ranges from 1 to 10 hours, the estimated machine load ranges from 0 to 100% of the maximum machine load, the estimated processing cost is a custom parameter, and the estimated processing quality is represented by the qualified rate, which ranges from 0 to 100%.
[0028] Furthermore, each hidden layer of the prediction model is built based on long short-term memory network units.
[0029] Furthermore, multiple experts simultaneously annotate the same feature sequence, take the average value as the sample label corresponding to the feature sequence, and specify the difference between the value output by the prediction model and the sample label as the loss function.
[0030] Furthermore, a production scheduling plan is generated based on the prediction model combined with the White Whale optimization algorithm, including the following steps:
[0031] Step S301, randomly generate an initialization population that meets the constraint conditions, each individual in the initialization population is assigned a positive integer number, and the current iteration number t is initialized to 0, and the number of individuals in the initialization population is U, where U is a custom parameter;
[0032] The constraints include:
[0033] Constraint 1: The same processing step of each workpiece to be processed can only be assigned to one machine;
[0034] Constraint 2: The processing order of each workpiece to be processed must be strictly in accordance with the process flow. The next processing step of the same workpiece can only be started after the previous processing step is completed.
[0035] Constraint 3: The serial number of each workpiece to be processed assigned to the machine is less than or equal to k;
[0036] The individual code is represented by a matrix code, which includes n rows and m columns. The element value of the matrix code is represented by a real number. The integer part of the real number represents the serial number of the machine, and the decimal part represents the processing order. The workpieces to be processed are processed in ascending order.
[0037] Step S302, constructing a fitness function according to the prediction model, and calculating the fitness value of each individual in the initialized population through the fitness function;
[0038] The calculation formula of the fitness function is as follows:
[0039]
[0040] Where F represents the fitness value of an individual, and They respectively represent the estimated processing time, estimated machine load, estimated processing cost and estimated processing quality of the vth workpiece to be processed in the uth processing step output by the prediction model, a, b, c and d represent the first weight coefficient, the second weight coefficient, the third weight coefficient and the fourth weight coefficient, respectively, a, b, c and d are custom parameters, and the sum of a, b, c and d is 1, e and f represent the first scaling factor and the second scaling factor, respectively, and e and f are custom parameters;
[0041] Step S303, obtaining a balance factor through a balance factor calculation formula, when the balance factor is greater than a first threshold, proceeding to step S304, otherwise proceeding to step S305, the first threshold is a custom parameter;
[0042] Balance Factor B f The calculation formula is as follows:
[0043]
[0044] Where t represents the current number of iterations, T represents the maximum number of iterations, B0 represents a random number ranging from 0 to 1, and T is a custom parameter;
[0045] Step S304, changing the matrix coding of individuals in the initialization population through the calculation formula in the exploration phase;
[0046] Step S305, changing the matrix coding of individuals in the initialization population through the calculation formula in the development phase;
[0047] Step S306, obtaining the whale fall probability value through the whale fall probability calculation formula, when the whale fall probability value is greater than or equal to the balance factor, proceed to step S307, otherwise proceed to step S308;
[0048] Whale fall probability value W f The calculation formula is as follows:
[0049]
[0050] Where t represents the current number of iterations, and T represents the maximum number of iterations;
[0051] Step S307, changing the matrix coding of individuals in the initialized population through the calculation formula of the whale fall stage;
[0052] Step S308, the current iteration number is increased by 1. When the iteration termination condition is met, the individual with the largest fitness value in the initialized population is output as the production scheduling method, otherwise, the process returns to step S302 to continue execution;
[0053] The iteration termination conditions include: the current iteration number t is greater than or equal to the maximum iteration number T; within H consecutive iterations, the change of the maximum fitness value in the initialized population is within the third threshold, and H and the second threshold are both custom parameters.
[0054] Furthermore, the calculation formula of the exploration phase includes:
[0055]
[0056] Where 1≤s≤U, 1≤p≤n, 1≤q≤m, and They represent the element values of the pth row and qth column of the matrix encoding of the individual with the positive integer number s in the initialized population corresponding to the t+1th iteration and the tth iteration, respectively. Represents the element value of the p-th row and q-th column of the matrix encoding of a random individual in the initialized population corresponding to the t-th iteration number, r1 and r2 represent the first random number and the second random number respectively, and the value range of r1 and r2 is 0 to 1, even represents an even number, and odd represents an odd number.
[0057] Furthermore, the calculation formulas for the development phase include:
[0058]
[0059]
[0060] C1=2r4(1―t / T);
[0061] Where 1≤s≤U, 1≤p≤n, and They represent the element values of the first column to the qth column of the pth row of the matrix encoding of the individual with the positive integer number s in the initialized population corresponding to the t+1th iteration and the tth iteration, respectively. Indicates the element values of the pth row, the 1st column to the qth column of the matrix encoding of a random individual in the initialized population corresponding to the tth iteration number, Indicates the element value of the first column to the qth column of the pth row corresponding to the individual with the largest fitness value in the initialized population at the tth iteration number, C1 represents the first random coefficient, L F represents the flight factor, r3 and r4 represent the third and fourth random numbers respectively, the value range of r3 and r4 is 0 to 1, μ and τ represent random numbers that conform to the normal distribution, β represents the default constant, which is assigned a value of 1.5, and σ represents the balance parameter.
[0062] Furthermore, the calculation formula for the whale fall stage includes:
[0063]
[0064] X step =(upLimit―downLimit)*exp(―C2t / T);
[0065] C2=2W f *U;
[0066] Where 1≤s≤U, 1≤p≤n, 1≤q≤m, and They represent the element values of the pth row and qth column of the matrix encoding of the individual with the positive integer number s in the initialized population corresponding to the t+1th iteration and the tth iteration, respectively. represents the element value of the pth row and qth column of the matrix encoding of a random individual in the initialized population corresponding to the tth iteration number, r5, r6 and r7 represent the fifth, sixth and seventh random numbers respectively, and the value range of r5, r6 and r7 is 0 to 1, X step represents the step value, upLimit and downLimit represent the upper limit and lower limit respectively, which are assigned values of 1 and k respectively, exp represents the natural exponential function, and C2 represents the second random coefficient.
[0067] The beneficial effects of the present invention are as follows: the present invention constructs a prediction model based on the long short-term memory neural network model, comprehensively considering the processing time, machine load, processing cost and processing quality, and integrates the prediction model into the White Whale optimization algorithm to automatically generate a production scheduling plan, thereby avoiding premature convergence of the algorithm and improving the accuracy of generating a production scheduling plan. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] Figure 1 is a schematic diagram of a production scheduling management system based on artificial intelligence of the present invention;
[0069] Figure 2 is a flow chart of obtaining second operation data by preprocessing first operation data of the present invention;
[0070] Figure 3 It is a flow chart of the present invention for generating a production scheduling plan based on a prediction model combined with the White Whale optimization algorithm.
[0071] In the figure: data collection module 101, data preprocessing module 102, prediction model building module 103, production scheduling plan generation module 104. DETAILED DESCRIPTION
[0072] The subject matter described herein will now be discussed with reference to example embodiments. It should be understood that the discussion of these embodiments is only to enable those skilled in the art to better understand and implement the subject matter described herein, and the functions and arrangements of the elements discussed may be changed without departing from the scope of protection of the contents of this specification. Each example may omit, replace or add various processes or components as needed. In addition, the features described relative to some examples may also be combined in other examples.
[0073] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in one or more embodiments of the present invention should be understood by people with ordinary skills in the field to which the present invention belongs. The words "first", "second" and similar words used in one or more embodiments of the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0074] like Figure 1-Figure 3 As shown, a production scheduling management system based on artificial intelligence includes:
[0075] A data collection module 101 is used to collect historical first operation data of a workpiece to be processed that has completed m processing steps on a machine platform;
[0076] The first operation data includes: workpiece data to be processed and machine operation data;
[0077] The data of the workpiece to be processed include: length, width and weight;
[0078] Machine operation data includes: operating time, purchase cost, maintenance cost, maximum output power, number of repairs, and average number of workpieces processed per day;
[0079] One processing step corresponds to a set of machines. Each machine completes different processing steps. A workpiece to be processed must go through m processing steps to complete the processing.
[0080] A data preprocessing module 102, which is used to preprocess the first operation data of each historical workpiece to be processed to obtain a feature sequence;
[0081] The feature sequence includes m sequence units, and one sequence unit corresponds to the second operation data of one processing step;
[0082] The second operation data is obtained by preprocessing the first operation data;
[0083] A prediction model building module 103 is used to build a prediction model and obtain the prediction model based on the feature sequence training of each workpiece to be processed;
[0084] The input of the prediction model is a feature sequence, and the output values represent the estimated processing time, estimated machine load, estimated processing cost, and estimated processing quality;
[0085] A production scheduling plan generating module 104, which is used to generate a production scheduling plan based on the prediction model combined with the White Whale optimization algorithm;
[0086] According to the production scheduling plan, n workpieces to be processed are assigned to k machines to complete m processing steps.
[0087] In one embodiment of the present invention, m, n, k and the set of machines are all custom parameters, m represents the number of processing steps required to complete the processing of each workpiece to be processed, n represents the number of workpieces to be processed, k represents the number of machines, and the set of machines is set according to the processing steps that the machines can complete. For example, processing steps 1 and 2 can be completed on machines 1, 2, and 3, and processing steps 2 and 3 can be completed on machines 2 and 3.
[0088] In one embodiment of the present invention, the maintenance cost of the machine is evaluated and set by relevant technical experts. The average number of workpieces processed by the machine per day can be obtained by collecting the total number of workpieces processed by the machine in the past 7 days and dividing it by 7. The operating time of the machine is in days.
[0089] In one embodiment of the present invention, the data of the workpiece to be processed may also include: type, each type corresponds to an estimated processing time, and the estimated processing time is evaluated and set by relevant technical experts. The machine operation data may also include: temperature, humidity, etc.
[0090] In one embodiment of the present invention, Figure 2 As shown, obtaining the second operation data by preprocessing the first operation data includes the following steps:
[0091] Step S201, modifying the outliers in the first data by taking the median;
[0092] For example, if the weight of a workpiece to be processed in one of the processing steps exceeds the set threshold or is less than the set threshold, the median of the weight of the workpiece to be processed in other processing steps is taken to modify the abnormal value;
[0093] Step S202, filling the missing values in the first data by taking the average value;
[0094] For example, if the length of a workpiece to be processed in one of the processing steps is lost, the average value of the length of the workpiece to be processed in other processing steps is taken to fill the missing value;
[0095] Step S203, normalizing the first data by maximum and minimum normalization to obtain second data.
[0096] In one embodiment of the present invention, the prediction model includes m hidden layers;
[0097] The i-th hidden layer inputs the i-th sequence unit of the feature sequence and outputs the hidden state;
[0098] The hidden states output by the mth hidden layer are input into four softmax classifiers respectively. The classification labels of the four softmax classifiers represent the estimated processing time, the estimated machine load, the estimated processing cost and the estimated processing quality respectively.
[0099] Definition: 1≤i≤m, the estimated processing time ranges from 1 to 10 hours, the estimated machine load ranges from 0 to 100% of the maximum load of the machine, the estimated processing cost is a custom parameter, for example, it can be set to 0 to 1,000 yuan, and the estimated processing quality is represented by the qualified rate, which ranges from 0 to 100%. The larger the value, the higher the qualified rate.
[0100] In one embodiment of the present invention, each hidden layer of the prediction model is constructed based on an LSTM (Long Short-Term Memory) unit, and the relevant calculation formula of LSTM is the prior art and will not be described in detail here.
[0101] In one embodiment of the present invention, each hidden layer of the prediction model can also be constructed based on a GRU (gated unit network) unit or an RNN (recurrent network) unit.
[0102] In one embodiment of the present invention, multiple experts simultaneously annotate the same feature sequence (training sample), take the average value as the sample label corresponding to the feature sequence, and specify the difference between the value output by the prediction model and the sample label as the loss function.
[0103] It should be noted that the difference between the value output by the prediction model and the sample label of the training sample is specified as the loss function, and the gradient information is calculated by the back propagation algorithm. Then, the weight parameters and bias parameters of the prediction model are updated according to the gradient information with the help of the gradient descent algorithm to iterate until the loss is minimized. The training of the neural network model is a conventional technical means and will not be elaborated here.
[0104] In one embodiment of the present invention, Figure 3 As shown in the figure, the production scheduling plan is generated based on the prediction model combined with the White Whale optimization algorithm, including the following steps:
[0105] Step S301, randomly generate an initialization population that meets the constraint conditions, each individual in the initialization population is assigned a positive integer number, and the current iteration number t is initialized to 0, the number of individuals in the initialization population is U, where U is a custom parameter, preferably, U is set to 50, and the positive integer number ranges from 1 to 50;
[0106] The constraints include:
[0107] Constraint 1: The same processing step of each workpiece to be processed can only be assigned to one machine;
[0108] Constraint 2: The processing order of each workpiece to be processed must be strictly in accordance with the process flow. The next processing step of the same workpiece can only be started after the previous processing step is completed.
[0109] Constraint 3: The serial number of each workpiece to be processed assigned to the machine is less than or equal to k;
[0110] The individual code is represented by a matrix code, which includes n rows and m columns. The element value of the matrix code is represented by a real number. The integer part of the real number represents the serial number of the machine, and the decimal part represents the processing order. The workpieces to be processed are processed in ascending order.
[0111] Step S302, constructing a fitness function according to the prediction model, and calculating the fitness value of each individual in the initialized population through the fitness function;
[0112] The calculation formula of the fitness function is as follows:
[0113]
[0114] Where F represents the fitness value of an individual, and They respectively represent the estimated processing time, estimated machine load, estimated processing cost and estimated processing quality of the vth workpiece to be processed in the uth processing step output by the prediction model, a, b, c and d respectively represent the first weight coefficient, the second weight coefficient, the third weight coefficient and the fourth weight coefficient, a, b, c and d are all custom parameters, and the sum of a, b, c and d is 1, e and f respectively represent the first scaling factor and the second scaling factor, e and f are all custom parameters, preferably, e is assigned a value of 10, and f is assigned a value of 0.1;
[0115] Step S303, obtaining a balance factor through a balance factor calculation formula. When the balance factor is greater than a first threshold, proceed to step S304, otherwise proceed to step S305. The first threshold is a custom parameter. Preferably, the first threshold is set to 0.5.
[0116] Balance Factor B f The calculation formula is as follows:
[0117]
[0118] Where t represents the current number of iterations, T represents the maximum number of iterations, B0 represents a random number ranging from 0 to 1, and T is a custom parameter. Preferably, T is set to 100;
[0119] Step S304, changing the matrix coding of individuals in the initialization population through the calculation formula in the exploration phase;
[0120] Step S305, changing the matrix coding of individuals in the initialization population through the calculation formula in the development phase;
[0121] Step S306, obtaining the whale fall probability value through the whale fall probability calculation formula, when the whale fall probability value is greater than or equal to the balance factor, proceed to step S307, otherwise proceed to step S308;
[0122] Whale fall probability value W f The calculation formula is as follows:
[0123]
[0124] Where t represents the current number of iterations, and T represents the maximum number of iterations;
[0125] Step S307, changing the matrix coding of individuals in the initialized population through the calculation formula of the whale fall stage;
[0126] Step S308, the current iteration number is increased by 1. When the iteration termination condition is met, the individual with the largest fitness value in the initialized population is output as the production scheduling method, otherwise, it returns to step S302 to continue execution.
[0127] In one embodiment of the present invention, the iteration termination conditions include: the current iteration number t is greater than or equal to the maximum iteration number T; within H consecutive iterations, the change in the maximum fitness value in the initialized population is within a third threshold, H and the second threshold are both custom parameters, preferably, H is set to 3, and the second threshold is set to 1.
[0128] It should be noted that the first weight coefficient, the second weight coefficient, the third weight coefficient and the fourth weight coefficient respectively represent the degree of concern about the estimated processing time, the estimated machine load, the estimated processing cost and the estimated processing quality. For example, the first weight coefficient is set to 0.8, which means that the user cares more about the processing time of the workpiece to be processed. The first scaling coefficient and the second scaling coefficient are to prevent the occurrence of extreme values from affecting the individual fitness value.
[0129] In one embodiment of the present invention, the calculation formula of the exploration phase includes:
[0130]
[0131]
[0132] Where 1≤s≤U, 1≤p≤n, 1≤q≤m, and They represent the element values of the pth row and qth column of the matrix encoding of the individual with the positive integer number s in the initialized population corresponding to the t+1th iteration and the tth iteration, respectively. Represents the element value of the p-th row and q-th column of the matrix encoding of a random individual in the initialized population corresponding to the t-th iteration number, r1 and r2 represent the first random number and the second random number respectively, and the value range of r1 and r2 is 0 to 1, even represents an even number, and odd represents an odd number.
[0133] In one embodiment of the present invention, the calculation formula in the development phase includes:
[0134]
[0135] C1=2r4(1―t / T);
[0136] Where 1≤s≤U, 1≤p≤n, and They represent the element values of the first column to the qth column of the pth row of the matrix encoding of the individual with the positive integer number s in the initialized population corresponding to the t+1th iteration and the tth iteration, respectively. Indicates the element values of the pth row, the 1st column to the qth column of the matrix encoding of a random individual in the initialized population corresponding to the tth iteration number, Indicates the element value of the first column to the qth column of the pth row corresponding to the individual with the largest fitness value in the initialized population at the tth iteration number, C1 represents the first random coefficient, L F represents the flight factor, r3 and r4 represent the third and fourth random numbers respectively, the value range of r3 and r4 is 0 to 1, μ and τ represent random numbers that conform to the normal distribution, β represents the default constant, which is assigned a value of 1.5, and σ represents the balance parameter.
[0137] In one embodiment of the present invention, the calculation formula of the whale fall stage includes:
[0138]
[0139] X step =(upLimit―downLimit)*exp(―C2t / T);
[0140] C2=2W f *U;
[0141] Where 1≤s≤U, 1≤p≤n, 1≤q≤m, and They represent the element values of the pth row and qth column of the matrix encoding of the individual with the positive integer number s in the initialized population corresponding to the t+1th iteration and the tth iteration, respectively. represents the element value of the pth row and qth column of the matrix encoding of a random individual in the initialized population corresponding to the tth iteration number, r5, r6 and r7 represent the fifth, sixth and seventh random numbers respectively, and the value range of r5, r6 and r7 is 0 to 1, X step represents the step value, upLimit and downLimit represent the upper limit and lower limit respectively, which are assigned values of 1 and k respectively, exp represents the natural exponential function, and C2 represents the second random coefficient.
[0142] It should be noted that the Beluga optimization algorithm imitates the collaborative hunting behavior of beluga whales and emphasizes cooperation and information sharing within the group, which helps to accelerate the optimization process and improve search efficiency. In particular, the design in which the probability increases with the number of iterations in the development stage helps to reduce the risk of the algorithm converging to the local optimal solution too early in the early stages of exploration. Compared with the genetic algorithm, the Beluga optimization algorithm can provide more lasting exploration capabilities.
[0143] The above describes an embodiment of the present embodiment, but the present embodiment is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present embodiment, ordinary technicians in this field can also make many forms, all of which are within the protection of the present embodiment.
Claims
1. A production scheduling management system based on artificial intelligence, characterized in that: include: A data acquisition module, which is used to collect the first operation data of the workpiece to be processed on the machine platform after completing m processing steps in history; The first operation data includes: workpiece data to be processed and machine operation data; The data of the workpiece to be processed include: length, width and weight; Machine operation data includes: operating time, purchase cost, maintenance cost, maximum output power, number of repairs, and average number of workpieces processed per day; One processing step corresponds to a set of machines. Each machine completes different processing steps. A workpiece to be processed must go through m processing steps to complete the processing. A data preprocessing module, which is used to preprocess the first operation data of each historical workpiece to be processed to obtain a feature sequence; The feature sequence includes m sequence units, and one sequence unit corresponds to the second operation data of one processing step; The second operation data is obtained by preprocessing the first operation data; A prediction model building module, which is used to build a prediction model and obtain the prediction model based on the feature sequence training of each workpiece to be processed; The input of the prediction model is a feature sequence, and the output values represent the estimated processing time, estimated machine load, estimated processing cost, and estimated processing quality; The production scheduling plan generation module is used to generate a production scheduling plan based on the prediction model combined with the White Whale optimization algorithm; According to the production scheduling plan, n workpieces to be processed are assigned to k machines to complete m processing steps.
2. The production scheduling management system based on artificial intelligence according to claim 1 is characterized in that: m, n, k and the set of machines are all custom parameters.
3. The production scheduling management system based on artificial intelligence according to claim 1 is characterized in that: The method of obtaining the second operation data by preprocessing the first operation data comprises the following steps: Step S201, modifying the outliers in the first data by taking the median; Step S202, filling the missing values in the first data by taking the average value; Step S203, normalizing the first data by maximum and minimum normalization to obtain second data.
4. The production scheduling management system based on artificial intelligence according to claim 1 is characterized in that: The prediction model includes m hidden layers; The i-th hidden layer inputs the i-th sequence unit of the feature sequence and outputs the hidden state; The hidden states output by the mth hidden layer are input into four softmax classifiers respectively. The classification labels of the four softmax classifiers represent the estimated processing time, the estimated machine load, the estimated processing cost and the estimated processing quality respectively. Definition: 1≤i≤m, the estimated processing time ranges from 1 to 10 hours, the estimated machine load ranges from 0 to 100% of the maximum machine load, the estimated processing cost is a custom parameter, and the estimated processing quality is represented by the qualified rate, which ranges from 0 to 100%.
5. The production scheduling management system based on artificial intelligence according to claim 4 is characterized in that: Each hidden layer of the prediction model is built based on long short-term memory network units.
6. The production scheduling management system based on artificial intelligence according to claim 1 is characterized in that: Multiple experts simultaneously annotate the same feature sequence, take the average value as the sample label corresponding to the feature sequence, and specify the difference between the value output by the prediction model and the sample label as the loss function.
7. The production scheduling management system based on artificial intelligence according to claim 1 is characterized in that: The production scheduling plan is generated based on the prediction model combined with the White Whale optimization algorithm, including the following steps: Step S301, randomly generate an initialization population that meets the constraint conditions, each individual in the initialization population is assigned a positive integer number, and the current iteration number t is initialized to 0, and the number of individuals in the initialization population is U, where U is a custom parameter; The constraints include: Constraint 1: The same processing step of each workpiece to be processed can only be assigned to one machine; Constraint 2: The processing order of each workpiece to be processed must be strictly in accordance with the process flow. The next processing step of the same workpiece can only be started after the previous processing step is completed. Constraint 3: The serial number of each workpiece to be processed assigned to the machine is less than or equal to k; The individual code is represented by a matrix code, which includes n rows and m columns. The element value of the matrix code is represented by a real number. The integer part of the real number represents the serial number of the machine, and the decimal part represents the processing order. The workpieces to be processed are processed in ascending order. Step S302, constructing a fitness function according to the prediction model, and calculating the fitness value of each individual in the initialized population through the fitness function; The calculation formula of the fitness function is as follows: Where F represents the fitness value of an individual, and They respectively represent the estimated processing time, estimated machine load, estimated processing cost and estimated processing quality of the vth workpiece to be processed in the uth processing step output by the prediction model, a, b, c and d represent the first weight coefficient, the second weight coefficient, the third weight coefficient and the fourth weight coefficient, respectively, a, b, c and d are custom parameters, and the sum of a, b, c and d is 1, e and f represent the first scaling factor and the second scaling factor, respectively, and e and f are custom parameters; Step S303, obtaining a balance factor through a balance factor calculation formula, when the balance factor is greater than a first threshold, proceeding to step S304, otherwise proceeding to step S305, the first threshold is a custom parameter; Balance Factor B f The calculation formula is as follows: Where t represents the current number of iterations, T represents the maximum number of iterations, B0 represents a random number ranging from 0 to 1, and T is a custom parameter; Step S304, changing the matrix coding of individuals in the initialization population through the calculation formula in the exploration phase; Step S305, changing the matrix coding of individuals in the initialization population through the calculation formula in the development phase; Step S306, obtaining the whale fall probability value through the whale fall probability calculation formula, when the whale fall probability value is greater than or equal to the balance factor, proceed to step S307, otherwise proceed to step S308; Whale fall probability value W f The calculation formula is as follows: Where t represents the current number of iterations, and T represents the maximum number of iterations; Step S307, changing the matrix coding of individuals in the initialized population through the calculation formula of the whale fall stage; Step S308, the current iteration number is increased by 1. When the iteration termination condition is met, the individual with the largest fitness value in the initialized population is output as the production scheduling method, otherwise, the process returns to step S302 to continue execution; The iteration termination conditions include: the current iteration number t is greater than or equal to the maximum iteration number T; within H consecutive iterations, the change of the maximum fitness value in the initialized population is within the third threshold, and H and the second threshold are both custom parameters.
8. The production scheduling management system based on artificial intelligence according to claim 7 is characterized in that: The calculation formula for the exploration phase includes: Where 1≤s≤U, 1≤p≤n, 1≤q≤m, and They represent the element values of the pth row and qth column of the matrix encoding of the individual with the positive integer number s in the initialized population corresponding to the t+1th iteration and the tth iteration, respectively. Represents the element value of the p-th row and q-th column of the matrix encoding of a random individual in the initialized population corresponding to the t-th iteration number, r1 and r2 represent the first random number and the second random number respectively, and the value range of r1 and r2 is 0 to 1, even represents an even number, and odd represents an odd number.
9. The production scheduling management system based on artificial intelligence according to claim 7 is characterized in that: The calculation formulas for the development phase include: C1=2r4(1―t / T); Where 1≤s≤U, 1≤p≤n, and They represent the element values of the first column to the qth column of the pth row of the matrix encoding of the individual with the positive integer number s in the initialized population corresponding to the t+1th iteration and the tth iteration, respectively. Indicates the element values of the pth row, the 1st column to the qth column of the matrix encoding of a random individual in the initialized population corresponding to the tth iteration number, Indicates the element value of the first column to the qth column of the pth row corresponding to the individual with the largest fitness value in the initialized population at the tth iteration number, C1 represents the first random coefficient, L F represents the flight factor, r3 and r4 represent the third and fourth random numbers respectively, the value range of r3 and r4 is 0 to 1, μ and τ represent random numbers that conform to the normal distribution, β represents the default constant, which is assigned a value of 1.5, and σ represents the balance parameter.
10. The production scheduling management system based on artificial intelligence according to claim 7, characterized in that: The calculation formula for the whale fall stage includes: X step =(upLimit―downLimit)*exp(―C2t / T); C2=2W f *U; Where 1≤s≤U, 1≤p≤n, 1≤q≤m, and They represent the element values of the pth row and qth column of the matrix encoding of the individual with the positive integer number s in the initialized population corresponding to the t+1th iteration and the tth iteration, respectively. represents the element value of the pth row and qth column of the matrix encoding of a random individual in the initialized population corresponding to the tth iteration number, r5, r6 and r7 represent the fifth, sixth and seventh random numbers respectively, and the value range of r5, r6 and r7 is 0 to 1, X step represents the step value, upLimit and downLimit represent the upper limit and lower limit respectively, which are assigned values of 1 and k respectively, exp represents the natural exponential function, and C2 represents the second random coefficient.
Citation Information
Patent Citations
Optimized dispatching method of photolithography technique in manufacturing of semiconductor integration circuit
CN108873835A
Workshop production scheduling method and system based on genetic algorithm
CN110378528A
Scheduling optimization method for marine crankshaft production line
CN110929930A
Workpiece intelligent scheduling production scheduling method and device based on genetic algorithm, and medium
CN111210062A
Multi-target flexible job shop scheduling method based on improved ecological niche genetic algorithm
CN111222642A
Cited By
Closed-loop regulation and control system based on laser fuse additive manufacturing thermal management path planning
CN119249921A
Intelligent building energy consumption monitoring system
CN119783991A
Method for predicting water inrush risk of coal mining working face floor
CN120258523A
Automatic control method, system and equipment based on industrial big data analysis
CN121300285A
