Intelligent workshop production control method and equipment based on self-learning and updating of scheduling knowledge
By adopting a self-learning update method based on binary trees in the field of scheduling, the scheduling knowledge mapping table is dynamically updated, which solves the problem of the data mapping table in the existing technology not adapting to the dynamic environment, and improves the reliability and adaptability of intelligent workshop production control. Improved production efficiency.
Patent Information
- Application Number
- CN202111197399.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-14
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2041-10-14
AI Technical Summary
The existing technology in the field of scheduling lacks a data mapping table update method that adapts to the dynamic production environment, resulting in inapplicable data. A self-learning update method is needed to improve the adaptability and reliability of scheduling knowledge.
The self-learning update method based on binary trees is used to construct a library update matrix, implement deletion knowledge, new knowledge and update usage frequency strategies, and dynamically update the scheduling knowledge mapping table to ensure its effectiveness in a dynamic environment.
It realizes real-time updating of scheduling knowledge, improves the reliability and adaptability of intelligent workshop production control, enhances the adaptability of scheduling knowledge, and improves production efficiency.
Smart Images

Figure CN114020861B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of intelligent manufacturing, and relates to a workshop production control method, and in particular to an intelligent workshop production control method and equipment based on self-learning and updating of scheduling knowledge. Background Art
[0002] Manufacturing is the main industry of the national economy, the engine of rapid economic growth, and an important manifestation of comprehensive national strength. In order to ensure competitiveness, manufacturing companies need to allocate resources reasonably. Scheduling knowledge permeates every link of the production scheduling process. The scheduling process of the workshop cannot be separated from scheduling knowledge, and scheduling knowledge cannot exist independently from the specific scheduling process. The two are mutually integrated and interconnected. It is precisely because of the accumulation, replacement and application of scheduling knowledge that scheduling plans can be formulated more and more reasonably, and the production efficiency of the workshop can be continuously improved.
[0003] At present, scheduling knowledge is mainly expressed in three forms: network model, data mapping table and knowledge graph. The application of knowledge graph in the field of production scheduling and even in the field of intelligent manufacturing is still in its infancy, and the construction and application of scheduling knowledge graph still need further research. Experts and scholars have conducted a lot of research on scheduling knowledge in the form of network models and have achieved the update of knowledge under this expression form. Few scholars have conducted research on scheduling knowledge expressed in the form of data mapping tables, but there is a certain research foundation in other fields.
[0004] The Chinese patent application "An updating method, device, equipment and storage medium for intelligent customer service knowledge base" (Patent Publication No.: CN 112148743 A) invented a knowledge updating method in the field of intelligent customer service. The method obtains at least one manual question and answer record data from the manual question and answer record table at each preset collection time interval, calculates the question and answer matching degree of each manual question and answer record data, and adds the manual question and answer record data whose question and answer matching degree of the manual question and answer data meets the first set matching condition to the intelligent customer service knowledge base. At each preset cleaning time, at least one intelligent question and answer record data and the question and answer matching degree of each intelligent question and answer record data are obtained from the intelligent question and answer record table, and the intelligent question and answer record data whose question and answer matching degree of the intelligent question and answer data meets the second set matching condition is deleted from the intelligent customer service knowledge base, thereby realizing the updating of the intelligent customer service knowledge base. The Chinese patent application "An updating method and device for a question and answer knowledge base" (Patent Publication No.: CN 110928991 A) invented a method for updating a question and answer knowledge base. The question and answer knowledge base is updated by obtaining the input question and its corresponding expected standard question.
[0005] It is not difficult to see that most of the existing method inventions have certain field limitations. In the scheduling field, changes in the actual production environment will inevitably lead to the situation where the data mapping table is not applicable. For this reason, a self-learning update method is needed to update the data mapping table. Summary of the invention
[0006] The purpose of the present invention is to overcome the defects of the above-mentioned prior art and to provide an intelligent workshop production control method and equipment based on self-learning and updating of scheduling knowledge, which is more adaptable to dynamic production environment and has high reliability.
[0007] The purpose of the present invention can be achieved by the following technical solutions:
[0008] A method for intelligent workshop production control based on scheduling knowledge self-learning and updating, the method comprising: collecting real-time material feeding information and real-time production status of the production line at the scheduling point, forming a real-time new state, calculating the distance between the new state and each scheduling knowledge in a pre-established scheduling knowledge mapping table, selecting the t pieces of knowledge with the closest distance as selected knowledge, and realizing intelligent workshop production control based on the selected knowledge;
[0009] The scheduling knowledge mapping table implements self-learning update based on a binary tree, and the self-learning update specifically includes the following steps:
[0010] Based on the t pieces of knowledge, a library update matrix is constructed, and the shortest distance among the t pieces of knowledge is taken as the shortest distance;
[0011] Count the amount of scheduling knowledge already in the scheduling knowledge mapping table;
[0012] Based on the existing scheduling knowledge, the library update matrix and the shortest distance, a deletion knowledge strategy binary tree is used to obtain a deletion knowledge strategy decision;
[0013] Based on the library update matrix and the shortest distance, a new knowledge strategy binary tree is used to obtain a new knowledge strategy decision;
[0014] Based on the library update matrix and the shortest distance, an update usage frequency strategy binary tree is used to obtain an update usage frequency strategy decision;
[0015] The scheduling knowledge mapping table is updated based on the knowledge deletion policy decision, the knowledge addition policy decision and the updated usage frequency policy decision.
[0016] Furthermore, the scheduling knowledge mapping table includes feeding information, system status, scheduling rules and usage frequency.
[0017] Furthermore, the usage frequency includes the number of times the knowledge base is called after the knowledge is added, the number of times the knowledge is called and the frequency of knowledge usage.
[0018] Furthermore, the distance between the new state and each piece of scheduling knowledge in the pre-established scheduling knowledge mapping table is calculated using a Euclidean distance formula.
[0019] Furthermore, the construction process of the library update matrix is specifically as follows:
[0020] Extract the weights of the dispatching rules corresponding to t pieces of knowledge, construct the matrix DEU, and the element a in the matrix DEU ij represents the weight of the jth dispatching rule of the i-th piece of knowledge, i = 1, 2, ..., t, j = 1, 2, ..., r, r is the number of dispatching rules for each piece of knowledge, a ij ∈[0,1];
[0021] Transform the matrix DEU from 0 to 1, that is, set the non-zero positions in DEU to 1 and the remaining positions to 0, and obtain the matrix DEU 0-1 ;
[0022] Determine DEU 0-1 The linear correlation of each row vector is converted into the row simplest matrix DEUS 0-1 ;
[0023] Select DEUS 0-1 The non-zero row vectors in constitute the library update matrix US 0-1 .
[0024] Furthermore, the specific strategies of the knowledge deletion strategy binary tree include:
[0025] If the amount of existing scheduling knowledge reaches the capacity threshold, the library update matrix is a row matrix, and the shortest distance is greater than the distance threshold, the knowledge with the lowest usage frequency is deleted;
[0026] If the amount of existing scheduling knowledge reaches the capacity threshold, the library update matrix is a row matrix, and the shortest distance is less than the distance threshold, there is no deletion operation;
[0027] If the amount of existing scheduling knowledge reaches the capacity threshold, the library update matrix is not a row matrix, and the shortest distance is greater than the distance threshold, the knowledge with the lowest usage frequency is deleted;
[0028] If the amount of existing scheduling knowledge reaches the capacity threshold, the library update matrix is a non-row matrix, and the shortest distance is less than the distance threshold, then the knowledge corresponding to the shortest distance is deleted;
[0029] If the existing scheduling knowledge does not reach the capacity threshold, the library update matrix is a row matrix, and there is no deletion operation;
[0030] If the amount of existing scheduling knowledge does not reach the capacity threshold, the library update matrix is not a row matrix, and the shortest distance is greater than the distance threshold, there is no deletion operation;
[0031] If the amount of existing scheduling knowledge does not reach the capacity threshold, the library update matrix is not a row matrix, and the shortest distance is less than the distance threshold, then the knowledge corresponding to the shortest distance is deleted.
[0032] Furthermore, the specific strategies of the newly added knowledge strategy binary tree include:
[0033] If the library update matrix is a row matrix and the shortest distance is greater than the distance threshold, then new knowledge is added;
[0034] If the library update matrix is a row matrix and the shortest distance is less than the distance threshold, no new operation is performed;
[0035] If the library updates a matrix other than a row matrix, new knowledge is added.
[0036] Furthermore, the specific strategy of updating the binary tree using the frequency strategy includes:
[0037] If the library update matrix is a row matrix and the shortest distance is greater than the distance threshold, the number of calls to the knowledge mapping table after all knowledge is added is increased by 1, and the number of knowledge calls to the matched t pieces of knowledge is increased by 1. The usage frequency of all knowledge is calculated, and the number of calls to the knowledge mapping table after the new knowledge is added is set to 0, the number of calls to the new knowledge is set to 0, and the usage frequency of the new knowledge is set to 0;
[0038] If the library update matrix is a row matrix and the shortest distance is less than the distance threshold, the number of calls to the knowledge mapping table after all knowledge is added to the knowledge is increased by 1, the number of knowledge calls to the matched t pieces of knowledge is increased by 1, and the number of knowledge calls to the matched t pieces of knowledge is increased by 1;
[0039] If the library update matrix is not a row matrix, then the number of times the knowledge mapping table is called after all knowledge is added to the schedule is increased by 1, the number of knowledge calls for the matched t pieces of knowledge is increased by 1, and the usage frequency of all knowledge is calculated. The number of times the new knowledge is added to the schedule and the number of times the knowledge mapping table is called is set to 0, the number of new knowledge calls is set to 0, and the frequency of use of the new knowledge is set to 0.
[0040] The present invention also provides an electronic device, comprising:
[0041] one or more processors;
[0042] Memory; and
[0043] One or more programs stored in a memory, the one or more programs including instructions for executing the intelligent workshop production control method based on scheduling knowledge self-learning update as described above.
[0044] The present invention also provides an intelligent workshop production control device based on scheduling knowledge self-learning and updating, comprising a knowledge acquisition module and a self-learning and updating module connected to each other, wherein:
[0045] The knowledge acquisition module collects the real-time material feeding information and real-time production status of the production line at the scheduling point, forms a real-time new state, calculates the distance between the new state and each scheduling knowledge in the pre-established scheduling knowledge mapping table, selects the t pieces of knowledge with the closest distance as the selected knowledge, and implements intelligent workshop production control based on the selected knowledge;
[0046] The self-learning update module implements the self-learning update of the scheduling knowledge mapping table based on the binary tree, and the self-learning update specifically includes the following steps:
[0047] Based on the t pieces of knowledge, a library update matrix is constructed, and the shortest distance among the t pieces of knowledge is taken as the shortest distance;
[0048] Count the amount of scheduling knowledge already in the scheduling knowledge mapping table;
[0049] Based on the existing scheduling knowledge, the library update matrix and the shortest distance, a deletion knowledge strategy binary tree is used to obtain a deletion knowledge strategy decision;
[0050] Based on the library update matrix and the shortest distance, a new knowledge strategy binary tree is used to obtain a new knowledge strategy decision;
[0051] Based on the library update matrix and the shortest distance, an update usage frequency strategy binary tree is used to obtain an update usage frequency strategy decision;
[0052] The scheduling knowledge mapping table is updated based on the knowledge deletion policy decision, the knowledge addition policy decision and the updated usage frequency policy decision.
[0053] Compared with the prior art, the present invention has the following beneficial effects:
[0054] 1. The present invention can update the scheduling knowledge mapping table in real time, realize the real-time update of scheduling knowledge, and make the scheduling knowledge more adaptable to the dynamic production environment;
[0055] 2. The present invention realizes self-learning update of the scheduling knowledge mapping table based on the binary tree, including adding new knowledge strategy binary tree, deleting knowledge strategy binary tree and updating usage frequency strategy binary tree, which ensures the stable execution of self-learning update and improves the reliability of production control of intelligent workshop. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] Figure 1 It is a schematic diagram of the process of the present invention;
[0057] Figure 2 It is a schematic diagram of the framework structure of the present invention;
[0058] Figure 3 This is a MiniFAB model structure diagram in an embodiment of the present invention;
[0059] Figure 4 It is a binary tree structure diagram of the deletion knowledge strategy of the present invention;
[0060] Figure 5 It is a binary tree structure diagram of the newly added knowledge strategy of the present invention;
[0061] Figure 6 This is a binary tree structure diagram of the update frequency strategy of the present invention. DETAILED DESCRIPTION
[0062] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. This embodiment is implemented based on the technical solution of the present invention, and provides a detailed implementation method and specific operation process, but the protection scope of the present invention is not limited to the following embodiments.
[0063] Example 1
[0064] The present embodiment provides a smart workshop production control method based on self-learning and updating of scheduling knowledge, the method comprising: collecting real-time feeding information and real-time production status of the production line at the scheduling point to form a real-time new state, calculating the distance between the new state and each scheduling knowledge in a pre-established scheduling knowledge mapping table, selecting the t pieces of knowledge with the closest distance as selected knowledge, and realizing smart workshop production control based on the selected knowledge; wherein, the scheduling knowledge mapping table realizes self-learning and updating based on a binary tree.
[0065] This embodiment uses the MiniFab model as an example for explanation. MiniFab is an experimental simulation model of a semiconductor production process proposed by Dr. Karl Kempf, chief scientist of Intel's manufacturing system. It consists of 5 devices and 6 processes. The model structure is as follows: Figure 3 shown.
[0066] Using the MiniFab model as the implementation object, an intelligent workshop production control method based on scheduling knowledge self-learning update for semiconductor production lines is proposed. Figure 1 As shown, the specific process is as follows:
[0067] Step 1: Build the initial scheduling knowledge mapping table, set the capacity threshold, distance threshold, and select the number of closest knowledge items.
[0068] The scheduling knowledge mapping table consists of four parts: feeding information, system status, scheduling rules, and usage frequency. The usage frequency part includes the number of times the knowledge base is called after the knowledge is added, the number of times the knowledge is called, and the frequency of knowledge use. The feeding information records the feeding status of each product on the production line. The system status records the relevant status information of the production line, that is, the production status. The scheduling rules record the weights of each scheduling rule that optimizes the production performance under this system state. The usage frequency records the calling status of this knowledge.
[0069] In this embodiment, the MiniFAB simulation production line is put into three products, A, B, and C. The system randomly generates the initial production state of each product. The initial WIP of each product is randomly distributed in [40, 60]. The material is fed at a fixed time interval, and the number of materials fed for each product is consistent every day, and the number of materials fed is between [3, 5]. All equipment is preheated for 10 days with the first-in-first-out (FIFO) scheduling rule. From the 10th day, all equipment uses CR, EDD, and SRPT scheduling rules for production scheduling. After 20 days, the daily average number of moving steps and the daily average productivity on the 30th day are obtained, and they are combined with a weight of 1:1 to obtain a comprehensive performance index. The optimal scheduling rule is selected according to the performance index, and the experiment is repeated 50 times to obtain 50 scheduling knowledge. The number of scheduling knowledge mapping table calls, knowledge call times, and knowledge usage frequency of the 50 scheduling knowledge after adding knowledge are set to 0 to obtain a scheduling knowledge mapping table, and the capacity threshold is set to 80, the distance threshold is set to 1, and the number of knowledge items with the closest distance is selected as 3. The composition structure of the scheduling knowledge mapping table is shown in Table 1.
[0070] Table 1 Scheduling knowledge mapping table composition structure table
[0071]
[0072]
[0073] Step 2: Collect the real-time feeding information and real-time production status of the production line at the scheduling point and combine them into a new status.
[0074] The MiniFAB simulation production line is put into three products, A, B, and C. The system randomly generates the initial production status of each product. The initial WIP of each product is randomly distributed in [40,60]. The material is fed at a fixed time interval. The number of materials fed to each product is consistent every day, and the number of materials fed is between [3,5]. All equipment is preheated for 10 days according to the first-in-first-out (FIFO) scheduling rule. The production status and feeding information of the production line on the 10th day are collected. 20 real-time feeding information D=(d1, d2,…, d β ) and real-time production status S = (s1, s2, ..., s α ), forming a new state.
[0075] Step 3: Call the scheduling knowledge mapping table and count the amount of scheduling knowledge already in the scheduling knowledge mapping table.
[0076] Step 4: Calculate the distance between the new state and the feeding information and system state of each scheduling knowledge in the scheduling knowledge mapping table, select the t pieces of knowledge with the closest distance as the selected knowledge, and take the closest distance as the shortest distance. In this embodiment, t=3.
[0077] In this embodiment, the distance between the new state and the feeding information of each scheduling knowledge in the scheduling knowledge mapping table and the system state is calculated by the Euclidean distance formula, and the calculation formula is as follows:
[0078]
[0079] X=(x1,x2,…,x n )
[0080] Y=(y1,y2,…,y n )
[0081] Step 5: Update the matrix based on the selected t pieces of knowledge construction library.
[0082] 501) Assume that t pieces of knowledge are matched and the optimal dispatching rules corresponding to each piece of knowledge are linearly composed of r dispatching rules. Extract the weights of the dispatching rules corresponding to the t pieces of knowledge, construct the matrix DEU, and the element a in the matrix DEU is ij represents the weight of the jth dispatching rule of the i-th piece of knowledge, i = 1, 2, ..., t, j = 1, 2, ..., r, r is the number of dispatching rules for each piece of knowledge, a ij ∈[0,1]
[0083]
[0084] in;
[0085] 502) Transform the matrix DEU from 0 to 1 to obtain the matrix DEU 0-1 :
[0086]
[0087]
[0088] 503) Using the existing row-simple matrix construction principle, determine DEU 0-1 The linear correlation of each row vector is converted into the row simplest matrix DEUS 0-1 :
[0089]
[0090] 504) Select DEUS 0-1 The non-zero row vectors in constitute the library update matrix US 0-1 :
[0091]
[0092] Step 6: Input the existing scheduling knowledge, library update matrix and shortest distance into the deletion knowledge strategy, and obtain the strategic decision of the deletion knowledge strategy according to the deletion knowledge strategy binary tree.
[0093] In this embodiment, the adopted knowledge deletion strategy binary tree is as follows: Figure 4 As shown. The depth of the knowledge reduction strategy binary tree is 4. First, it is determined whether the existing scheduling knowledge has reached the manually set capacity threshold. Secondly, it is determined whether the library update matrix is a row matrix. Finally, it is determined whether the maximum distance is greater than the set distance threshold. The judgment process is as follows:
[0094] 1a) If the amount of existing scheduling knowledge reaches the capacity threshold, the library update matrix is a row matrix, and the shortest distance is greater than the distance threshold, the knowledge with the lowest usage frequency is deleted;
[0095] 1b) If the amount of existing scheduling knowledge reaches the capacity threshold, the library update matrix is a row matrix, and the shortest distance is less than the distance threshold, there is no deletion operation;
[0096] 1c) If the amount of existing scheduling knowledge reaches the capacity threshold, the library update matrix is a non-row matrix, and the shortest distance is greater than the distance threshold, the knowledge with the lowest usage frequency is deleted;
[0097] 1d) If the amount of existing scheduling knowledge reaches the capacity threshold, the library update matrix is a non-row matrix, and the shortest distance is less than the distance threshold, then the knowledge corresponding to the shortest distance is deleted;
[0098] 1e) If the existing scheduling knowledge does not reach the capacity threshold, the library update matrix is a row matrix, and there is no deletion operation;
[0099] 1f) If the existing scheduling knowledge does not reach the capacity threshold, the library update matrix is not a row matrix, and the shortest distance is greater than the distance threshold, there is no deletion operation;
[0100] 1g) If the amount of existing scheduling knowledge does not reach the capacity threshold, the library update matrix is a non-row matrix, and the shortest distance is less than the distance threshold, then the knowledge corresponding to the shortest distance is deleted.
[0101] Step 7: Input the library update matrix and the shortest distance into the new knowledge strategy, and obtain the strategy decision of the new knowledge strategy according to the new knowledge strategy binary tree.
[0102] The new knowledge strategy binary tree used in this embodiment is as follows: Figure 5 As shown. The depth of the newly added knowledge strategy binary tree is 3. First, it is determined whether the library update matrix is a row matrix, and then it is determined whether the maximum distance is greater than the set distance threshold. The judgment process is as follows:
[0103] 2a) If the library update matrix is a row matrix and the shortest distance is greater than the distance threshold, then new knowledge is added;
[0104] 2b) If the library update matrix is a row matrix and the shortest distance is less than the distance threshold, no new operation is performed;
[0105] 2c) If the library update matrix is not a row matrix, new knowledge is added.
[0106] Step 8: Input the library update matrix and the shortest distance into the update frequency strategy, and obtain the strategy decision of the update frequency strategy according to the update frequency strategy binary tree.
[0107] The update frequency strategy binary tree adopted in this embodiment is as follows Figure 6 As shown. The depth of the update frequency strategy binary tree is 3. First, it is determined whether the library update matrix is a row matrix, and then it is determined whether the maximum distance is greater than the set distance threshold. The judgment process is as follows:
[0108] 3a) If the library update matrix is a row matrix and the shortest distance is greater than the distance threshold, the number of calls to the knowledge mapping table after adding all knowledge is increased by 1, the number of knowledge calls of the matched t pieces of knowledge is increased by 1, the usage frequency of all knowledge is calculated, the number of calls to the knowledge mapping table after adding new knowledge is set to 0, the number of calls to the new knowledge is set to 0, and the usage frequency of the new knowledge is set to 0;
[0109] 3b) If the library update matrix is a row matrix and the shortest distance is less than the distance threshold, the number of calls to the knowledge mapping table after adding all knowledge is increased by 1, the number of knowledge calls to the matched t pieces of knowledge is increased by 1, and the number of knowledge calls to the matched t pieces of knowledge is increased by 1;
[0110] 3c) If the library update matrix is not a row matrix, then the number of times the knowledge mapping table is called after all knowledge is added to the schedule, the number of times the knowledge is called for the matched t pieces of knowledge is increased by 1, and the usage frequency of all knowledge is calculated. The number of times the knowledge mapping table is called after the new knowledge is added to the schedule is set to 0, the number of times the new knowledge is called is set to 0, and the usage frequency of the new knowledge is set to 0.
[0111] Step 9: Combine the new state and the predicted optimal scheduling rules into new knowledge.
[0112] Step 10: Update the scheduling knowledge mapping table.
[0113] Step 11: Apply the updated scheduling knowledge mapping table to production scheduling to obtain the comprehensive performance indicators on the 30th day.
[0114] This embodiment compares the scheduling method that updates the scheduling knowledge (Self Learning Scheduling Method, SL-S) with the scheduling method that does not update the scheduling knowledge. The scheduling method that does not update the scheduling knowledge uses the K-Nearest Neighbor algorithm (KNN). The experiment was repeated 20 times, and the results are shown in Table 2.
[0115] Table 2 Comparison of comprehensive performance indicators under different scheduling methods
[0116]
[0117]
[0118] Table 2 records the comprehensive performance index value, comprehensive performance index difference and comprehensive performance index improvement rate of 20 repeated experiments under the two scheduling methods of SL-S and KNN. The comprehensive performance index difference is obtained by subtracting the comprehensive performance index value obtained by the KNN method from the comprehensive performance index value obtained by the SL-S method. The comprehensive performance index improvement rate is obtained by dividing the comprehensive performance index difference by the comprehensive performance index value obtained by the KNN method. It can be seen that in the 20 experiments, the performance index obtained by the SL-S method is improved by 0.1030 at most compared with the performance index obtained by KNN, and the comprehensive performance index improvement rate is as high as 10.67%. The average comprehensive performance index is improved by 6.58%.
[0119] If the above method is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0120] Example 2
[0121] This embodiment provides an intelligent workshop production control device based on scheduling knowledge self-learning and updating, including a knowledge acquisition module and a self-learning and updating module, such as Figure 2 shown.
[0122] In the knowledge acquisition module, first, the initial scheduling knowledge is constructed as a mapping table, and the capacity threshold, distance threshold and the number of knowledge items with the closest distance are set; secondly, the real-time feeding information and real-time production status of the production line are collected at the scheduling point to form a new state; next, the scheduling knowledge mapping table is called to count the amount of scheduling knowledge already in the scheduling knowledge table; next, the distance between the new state generated by the production line and the feeding information and system status of each scheduling knowledge item in the scheduling knowledge mapping table is calculated, and the t pieces of knowledge with the closest distance are selected as the selected knowledge, and the shortest distance is obtained as the shortest distance; then, the library update matrix is constructed based on the selected t pieces of knowledge; finally, the existing scheduling knowledge amount, the shortest distance and the library update matrix are output.
[0123] The self-learning update module includes three self-learning update strategies: adding new knowledge, deleting knowledge, and updating usage frequency. In this module, the existing scheduling knowledge, library update matrix, and shortest distance are input into the deletion knowledge strategy, and the deletion knowledge strategy decision is obtained according to the deletion knowledge strategy binary tree; the library update matrix and the shortest distance are input into the new knowledge strategy, and the new knowledge strategy decision is obtained according to the new knowledge strategy binary tree; the library update matrix and the shortest distance are input into the update usage frequency strategy, and the update usage frequency strategy decision is obtained according to the update usage frequency strategy binary tree; finally, the scheduling knowledge mapping table is updated according to the deletion knowledge strategy decision, the new knowledge strategy decision, and the update usage frequency strategy decision.
[0124] The rest is the same as in Example 1.
[0125] The preferred specific embodiments of the present invention are described in detail above. It should be understood that a person skilled in the art can make many modifications and changes based on the concept of the present invention without creative work. Therefore, any technical solution that can be obtained by a person skilled in the art through logical analysis, reasoning or limited experiments based on the concept of the present invention on the basis of the prior art should be within the scope of protection determined by the claims.
Claims
1. An intelligent workshop production control method based on self-learning and updating of scheduling knowledge, characterized in that: The method comprises: collecting real-time material feeding information and real-time production status of the production line at the scheduling point, forming a real-time new state, calculating the distance between the new state and each scheduling knowledge in a pre-established scheduling knowledge mapping table, selecting the t pieces of knowledge with the closest distance as selected knowledge, and realizing intelligent workshop production control based on the selected knowledge; The scheduling knowledge mapping table implements self-learning update based on a binary tree, and the self-learning update specifically includes the following steps: Based on the t pieces of knowledge, a library update matrix is constructed, and the shortest distance among the t pieces of knowledge is taken as the shortest distance; Count the amount of scheduling knowledge already in the scheduling knowledge mapping table; Based on the existing scheduling knowledge, the library update matrix and the shortest distance, a deletion knowledge strategy binary tree is used to obtain a deletion knowledge strategy decision; Based on the library update matrix and the shortest distance, a new knowledge strategy binary tree is used to obtain a new knowledge strategy decision; Based on the library update matrix and the shortest distance, an update usage frequency strategy binary tree is used to obtain an update usage frequency strategy decision; Updating the scheduling knowledge mapping table based on the knowledge deletion strategy decision, the knowledge addition strategy decision and the update usage frequency strategy decision; The scheduling knowledge mapping table includes feeding information, system status, scheduling rules and usage frequency; The usage frequency includes the number of times the knowledge base is called after the knowledge is added, the number of times the knowledge is called, and the frequency of knowledge usage; The construction process of the library update matrix is specifically as follows: Extract the weights of the dispatching rules corresponding to t pieces of knowledge, construct the matrix DEU, and the element a in the matrix DEU ij represents the weight of the jth dispatching rule of the i-th piece of knowledge, i = 1, 2, ..., t, j = 1, 2, ..., r, r is the number of dispatching rules for each piece of knowledge, a ij ∈[0,1; Transform the matrix DEU from 0 to 1, that is, set the non-zero positions in DEU to 1 and the remaining positions to 0, and obtain the matrix DEU 0-1 ; Determine DEU 0-1 The linear correlation of each row vector is converted into the row simplest matrix DEUS 0-1 ; Select DEUS 0-1 The non-zero row vectors in constitute the library update matrix US 0-1 .
2. The intelligent workshop production control method based on scheduling knowledge self-learning and updating according to claim 1 is characterized in that: The distance between the new state and each piece of scheduling knowledge in the pre-established scheduling knowledge mapping table is calculated using the Euclidean distance formula.
3. The intelligent workshop production control method based on scheduling knowledge self-learning and updating according to claim 1 is characterized in that: The specific strategies of the knowledge deletion strategy binary tree include: If the amount of existing scheduling knowledge reaches the capacity threshold, the library update matrix is a row matrix, and the shortest distance is greater than the distance threshold, the knowledge with the lowest usage frequency is deleted; If the amount of existing scheduling knowledge reaches the capacity threshold, the library update matrix is a row matrix, and the shortest distance is less than the distance threshold, there is no deletion operation; If the amount of existing scheduling knowledge reaches the capacity threshold, the library update matrix is not a row matrix, and the shortest distance is greater than the distance threshold, the knowledge with the lowest usage frequency is deleted; If the amount of existing scheduling knowledge reaches the capacity threshold, the library update matrix is a non-row matrix, and the shortest distance is less than the distance threshold, then the knowledge corresponding to the shortest distance is deleted; If the existing scheduling knowledge does not reach the capacity threshold, the library update matrix is a row matrix, and there is no deletion operation; If the amount of existing scheduling knowledge does not reach the capacity threshold, the library update matrix is not a row matrix, and the shortest distance is greater than the distance threshold, there is no deletion operation; If the amount of existing scheduling knowledge does not reach the capacity threshold, the library update matrix is not a row matrix, and the shortest distance is less than the distance threshold, then the knowledge corresponding to the shortest distance is deleted.
4. The intelligent workshop production control method based on scheduling knowledge self-learning and updating according to claim 1 is characterized in that: The specific strategies of the newly added knowledge strategy binary tree include: If the library update matrix is a row matrix and the shortest distance is greater than the distance threshold, then new knowledge is added; If the library update matrix is a row matrix and the shortest distance is less than the distance threshold, no new operation is performed; If the library updates a matrix other than a row matrix, new knowledge is added.
5. The intelligent workshop production control method based on scheduling knowledge self-learning and updating according to claim 1 is characterized in that: The specific strategies for updating the frequency strategy binary tree include: If the library update matrix is a row matrix and the shortest distance is greater than the distance threshold, the number of calls to the knowledge mapping table after all knowledge is added is increased by 1, and the number of knowledge calls to the matched t pieces of knowledge is increased by 1. The usage frequency of all knowledge is calculated, and the number of calls to the knowledge mapping table after the new knowledge is added is set to 0, the number of calls to the new knowledge is set to 0, and the usage frequency of the new knowledge is set to 0; If the library update matrix is a row matrix and the shortest distance is less than the distance threshold, the number of calls to the knowledge mapping table after all knowledge is added to the knowledge is increased by 1, the number of knowledge calls to the matched t pieces of knowledge is increased by 1, and the number of knowledge calls to the matched t pieces of knowledge is increased by 1; If the library update matrix is not a row matrix, then the number of times the knowledge mapping table is called after all knowledge is added to the schedule is increased by 1, the number of knowledge calls for the matched t pieces of knowledge is increased by 1, and the usage frequency of all knowledge is calculated. The number of times the new knowledge is added to the schedule and the number of times the knowledge mapping table is called is set to 0, the number of new knowledge calls is set to 0, and the frequency of use of the new knowledge is set to 0.
6. An electronic device, characterized in that: include: one or more processors; Memory; and One or more programs stored in a memory, wherein the one or more programs include instructions for executing the intelligent workshop production control method based on scheduling knowledge self-learning and updating as described in any one of claims 1-5.
7. An intelligent workshop production control device based on self-learning and updating of scheduling knowledge, characterized in that: It includes a knowledge acquisition module and a self-learning update module connected to each other, wherein: The knowledge acquisition module collects the real-time material feeding information and real-time production status of the production line at the scheduling point, forms a real-time new state, calculates the distance between the new state and each scheduling knowledge in the pre-established scheduling knowledge mapping table, selects the t pieces of knowledge with the closest distance as the selected knowledge, and implements intelligent workshop production control based on the selected knowledge; The self-learning update module implements the self-learning update of the scheduling knowledge mapping table based on the binary tree, and the self-learning update specifically includes the following steps: Based on the t pieces of knowledge, a library update matrix is constructed, and the shortest distance among the t pieces of knowledge is taken as the shortest distance; Count the amount of scheduling knowledge already in the scheduling knowledge mapping table; Based on the existing scheduling knowledge, the library update matrix and the shortest distance, a deletion knowledge strategy binary tree is used to obtain a deletion knowledge strategy decision; Based on the library update matrix and the shortest distance, a new knowledge strategy binary tree is used to obtain a new knowledge strategy decision; Based on the library update matrix and the shortest distance, an update usage frequency strategy binary tree is used to obtain an update usage frequency strategy decision; Updating the scheduling knowledge mapping table based on the knowledge deletion strategy decision, the knowledge addition strategy decision and the update usage frequency strategy decision; The scheduling knowledge mapping table includes feeding information, system status, scheduling rules and usage frequency; The usage frequency includes the number of times the knowledge base is called after the knowledge is added, the number of times the knowledge is called, and the frequency of knowledge usage; The construction process of the library update matrix is specifically as follows: Extract the weights of the dispatching rules corresponding to t pieces of knowledge, construct the matrix DEU, and the element a in the matrix DEU ij represents the weight of the jth dispatching rule of the i-th piece of knowledge, i = 1, 2, ..., t, j = 1, 2, ..., r, r is the number of dispatching rules for each piece of knowledge, a ij ∈[0,1; Transform the matrix DEU from 0 to 1, that is, set the non-zero positions in DEU to 1 and the remaining positions to 0, and obtain the matrix DEU 0-1 ; Determine DEU 0-1 The linear correlation of each row vector is converted into the row simplest matrix DEUS 0-1 ; Select DEUS 0-1 The non-zero row vectors in constitute the library update matrix US 0-1 .
