A method for abnormal prediction and control of intelligent manufacturing workshops based on edge-cloud collaboration
By building an edge-cloud collaborative decision-making environment in an intelligent manufacturing workshop, using convolutional neural network algorithms for exception prediction and autonomous processing, combined with horizontal and vertical collaborative processing, the problem of slow identification of production exceptions and unoptimized processing is solved, and the manufacturing system is realized. Prompt recovery.
Patent Information
- Application Number
- CN202010824218.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-17
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2040-08-17
AI Technical Summary
In the existing technology, production abnormality identification is slow and the abnormality handling method is not optimized, resulting in the manufacturing system running lagging under abnormal conditions and making it difficult to operate normally.
The intelligent manufacturing workshop abnormality prediction and control method based on edge-cloud collaboration builds an edge-cloud collaborative decision-making environment in the manufacturing workshop, uses the convolutional neural network algorithm to predict manufacturing resource-side abnormalities, and formulates independent processing measures, combining horizontal collaboration and Vertically coordinated exception handling measures optimize exception handling.
It realizes proactive prediction and processing of production anomalies in advance, improves the abnormality identification speed and processing efficiency, and ensures that the manufacturing system can resume normal operation in time under abnormal circumstances.
Smart Images

Figure CN112149866B
Abstract
Description
Technical Field
[0001] The present invention relates to an abnormality prediction and processing method for a smart manufacturing workshop, and in particular to an abnormality prediction and control method for a smart manufacturing workshop based on edge-cloud collaboration. Background Art
[0002] With the rapid development of information technologies such as the Industrial Internet of Things, edge computing, and cloud computing, and the significant reduction in their costs, the level of intelligence in manufacturing companies has been rapidly improved. At the same time, manufacturing companies continue to increase the complexity of the manufacturing process to meet the growing demand for personalized production of products and shorten the production cycle of products. However, due to the uncertainty of manufacturing resources, production anomalies frequently occur in manufacturing workshops. Accurate control of production anomalies in manufacturing workshops is a key link to ensure efficient and stable production processes, and has also received more and more attention and research.
[0003] At present, the research on the control method of production anomalies in manufacturing workshops mainly includes: China's patent "A method for identifying abnormal production scenes" proposes an image processing method for steel production scenes based on the SIFT algorithm, which can change the traditional monitoring method of manual recognition of anomalies; China's patent "A method and system for warning abnormal fault phenomena based on MES system" continuously warns of abnormal events in the production process based on production process log data; China's patent "A process abnormality alarm and processing system for continuous production" can timely and effectively alarm and handle abnormal situations in a timely manner without stopping work, which is conducive to the continuous and stable operation of the production process. Although the above research has a good promoting effect on production anomaly processing, it is still necessary to make breakthroughs in the following new problems: 1) The current recognition and control mode of production anomalies is mainly to analyze and process after the production anomalies occur, resulting in the operation of the manufacturing system in an abnormal state; 2) The recognition and processing of production anomalies are often uniformly dispatched and processed through the upper management system, but in the intelligent manufacturing environment, the production data is complicated, and the centralized processing method requires a large amount of computing power and takes a long time, resulting in delayed abnormal processing and unoptimized processing methods. Summary of the invention
[0004] In view of the shortcomings in the prior art, the present invention provides a method for abnormality prediction and control in intelligent manufacturing workshops based on edge-cloud collaboration, aiming to solve the problems in the prior art of slow identification of production anomalies, unoptimized anomaly handling methods, and difficulty in normal production operation.
[0005] The present invention achieves the above technical objectives through the following technical means.
[0006] A production prediction and control method for an intelligent manufacturing workshop based on edge-cloud collaboration, comprising:
[0007] Step 1: Build an edge-cloud collaborative decision-making environment in the smart manufacturing workshop based on advanced information technology;
[0008] Step 2: On the manufacturing resource side, predict the abnormalities on the manufacturing resource side based on the convolutional neural network algorithm, proactively formulate abnormality handling measures, and evaluate whether the measures can eliminate production abnormalities;
[0009] Step 3: For abnormal events that cannot be completely handled by the manufacturing resource end, the edge-cloud collaboration solution is used to build abnormal handling measures from the two aspects of horizontal collaboration and vertical collaboration;
[0010] Step 4: Issue the formulated production abnormality control measures to relevant execution resources, which will call relevant instructions and implement relevant measures to eliminate the adverse effects of production abnormalities.
[0011] Preferably, the step 1 is specifically:
[0012] Step 1.1: Configure advanced information collection and interaction equipment at the manufacturing resource end;
[0013] Step 1.2: Configure the manufacturing workshop cloud exception control platform;
[0014] Step 1.3: Configure the intelligent manufacturing edge-cloud collaborative interaction module.
[0015] Preferably, the step 1.1 is specifically:
[0016] Configure wireless radio frequency identification (RFID) equipment at the manufacturing resource end, store the equipment's own information through RFID tags, and configure RFID readers to achieve comprehensive perception of the equipment and its surrounding environment;
[0017] Configure embedded edge computing devices at the end of key processing equipment or logistics equipment to enable manufacturing equipment to have analysis, decision-making and control capabilities.
[0018] Preferably, the step 2 is specifically:
[0019] Step 2.1: For the production abnormal events that often occur on the manufacturing resource side, based on the historical data set, the states of various influencing factors related to the abnormalities are taken as input, and the occurrence of abnormal events and the abnormality level are taken as output, to build a convolutional neural network model for large sample abnormality prediction;
[0020] Step 2.2: For small sample production abnormal events, based on the transfer learning algorithm, the convolutional neural network model parameters of similar common production abnormality prediction are transferred to the small sample abnormality prediction model to build a convolutional neural network model for small sample abnormality prediction;
[0021] Step 2.3: Use the convolutional neural network model obtained in steps 2.1 and 2.2, take the real-time production status data as input, and the output of the convolutional neural network model as the prediction result, and based on the prediction result, predict whether an abnormal event will occur in the future;
[0022] Step 2.4: For potential production abnormal events, call historical abnormality handling measures, and based on historical records, predict whether the adverse effects of abnormal events on the manufacturing workshop can be completely eliminated after adopting relevant solutions.
[0023] Preferably, in step 2.1, the cost function of the convolutional neural network is represented by the following function:
[0024]
[0025] Among them, x is the training sample, p(x) is the sample label, q(x) is the label predicted by the model, γ is the penalty coefficient of the regularization term, and θ represents the parameters in the convolutional neural network model obtained using the training sample x and the sample label p(x). The update is performed using the stochastic gradient descent method. The formula is expressed as follows:
[0026] θ k+1 =θ k -η▽E(θ k )+ν(θ k -θ k-1 )
[0027] Among them, η is the learning rate; k is the number of iterations; ν is the momentum, which determines the contribution of the previous generation parameters to the current generation parameters.
[0028] Preferably, the step 3 is specifically:
[0029] Step 3.1: For abnormal events that cannot be completely handled by the manufacturing resource end, the abnormal resource seeks help from the same type of manufacturing resources;
[0030] Step 3.2: Based on the historical processing records of the alternative processing equipment, analyze whether the alternative processing equipment can complete its own and the new production tasks on time and with quality after accepting the production tasks of the abnormal manufacturing resources. If so, the production tasks will be completed by the alternative processing equipment. If not, proceed to step 3.3;
[0031] Step 3.3: Reallocate manufacturing resources at the workshop level and use colored Petri net technology to evaluate the resource reallocation plan to predict whether the production orders in the workshop can be completed on time.
[0032] Preferably, the step 3.3 is specifically:
[0033] Step 3.3.1: Generate multiple feasible solutions for reallocation of manufacturing resources by analyzing manufacturing system anomalies;
[0034] Step 3.3.2: Construct a colored Petri net analysis model based on the production process of the manufacturing workshop. The colored Petri net model is expressed as:
[0035] CPN={P,T,C,O}
[0036] Among them, P refers to the library, which is used to represent the manufacturing resources; T refers to the transition, which is used to represent the manufacturing activities; C refers to the color, which is used to represent different manufacturing resources; O refers to the token, which is used to represent the status and progress of the manufacturing resources;
[0037] Step 3.3.3: Put various manufacturing resource reallocation schemes into the colored Petri net model in turn, and predict the elimination effect of abnormal adverse effects brought by the schemes based on the simulation reasoning ability of the Petri net model itself;
[0038] Step 3.3.4: Based on the prediction results of the colored Petri net, select the most efficient and effective abnormal response plan.
[0039] Compared with the prior art, the present invention has the following beneficial effects:
[0040] The present invention changes the existing passive post-production anomaly handling mode to an active pre-production anomaly prediction and handling mode, aiming to solve the problems of slow production anomaly identification, unoptimized anomaly handling methods, and difficulty in normal production operation in the prior art. By applying advanced industrial Internet of Things, edge computing, and cloud computing technologies to manufacturing workshops, an intelligent production environment is formed in which manufacturing resources make self-decision, manufacturing systems self-organize, and resources and systems work together to handle anomalies in the intelligent workshop; based on this, the intelligent manufacturing resources on the edge side can use convolutional neural network algorithms to predict their own potential production anomalies (such as equipment failures) and independently formulate their own abnormal response measures; then, in the face of abnormal events where their own measures cannot eliminate the impact of the abnormality on the overall manufacturing system, feedback is given to the upper-level edge-cloud collaborative exception handling module, and further abnormality handling measures are formulated through horizontal or vertical collaboration within the manufacturing workshop. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 This is an overall system architecture diagram of an abnormality prediction and control method for a smart manufacturing workshop based on edge-cloud collaboration according to an embodiment of the present invention;
[0042] Figure 2 yes Figure 1 Schematic diagram of manufacturing resource anomaly prediction algorithm in ;
[0043] Figure 3 yes Figure 1 Workflow diagram of edge-cloud collaborative interaction in . DETAILED DESCRIPTION
[0044] In order to make the above-mentioned purpose, features and advantages of the present invention more obvious and easy to understand, the specific implementation of the present invention is described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the present invention, so the present invention is not limited by the specific implementation disclosed below.
[0045] See also Figures 1 to 3 According to an embodiment of the present invention, a method for abnormal prediction and control of intelligent manufacturing workshops based on edge-cloud collaboration specifically includes the following steps:
[0046] Step 1: Reference Figure 1 , based on advanced information technology, an edge-cloud collaborative decision-making environment is built in the intelligent manufacturing workshop, which specifically includes the following steps:
[0047] Step 1.1: Edge intelligent node construction;
[0048] Configure advanced information collection and interaction equipment at the manufacturing resource end: 1) Configure wireless radio frequency identification (RFID) and other equipment at the manufacturing resource end, store the equipment's own information through RFID tags, and configure RFID readers to achieve comprehensive perception of itself and the surrounding environment; 2) Configure embedded edge computing devices at the key processing equipment or logistics equipment end to enable manufacturing equipment to have analysis, decision-making and control capabilities.
[0049] Step 1.2: Configure the manufacturing workshop cloud exception control platform;
[0050] Manufacturing workshops are often equipped with central processing servers to receive production task instructions from manufacturing companies and manage various manufacturing resources or management systems in the workshop. By developing an exception management platform in the central server, cloud-based adaptive management of manufacturing workshop exceptions can be achieved.
[0051] Step 1.3: Configure the edge-cloud collaborative interaction module for intelligent manufacturing. On the one hand, by setting the decision-making and analysis module of the edge manufacturing node, the equipment side can autonomously predict production anomalies and respond to production anomalies through the equipment side's own anomaly handling capabilities. On the other hand, for anomalies whose impact cannot be eliminated by equipment side measures, edge-cloud collaborative measures are adopted, including horizontal collaboration between different resources and vertical collaboration between resource-unit-workshop layers.
[0052] Step 2: Reference Figure 2, on the manufacturing resource side, the convolutional neural network algorithm is used to predict the abnormalities of the manufacturing resource side, actively formulate abnormality handling measures, and evaluate whether the measures can eliminate production abnormalities. Specifically:
[0053] Step 2.1: For the production abnormal events that often occur on the manufacturing resource side, based on the historical data set, the states of various influencing factors related to the abnormality are taken as input, and the occurrence of abnormal events and the abnormality level are taken as output to build an abnormality prediction model based on a convolutional neural network;
[0054] The cost function of the convolutional neural network can be expressed by the following function:
[0055]
[0056] Among them, x is the training sample, p(x) is the sample label, q(x) is the label predicted by the model, γ is the penalty coefficient of the regularization term, and θ represents the parameters in the convolutional neural network model obtained using the training data x and the training label p(x). The update is performed using the stochastic gradient descent method. The formula is expressed as follows:
[0057]
[0058] Among them, η is the learning rate; k is the number of iterations; ν is the momentum, which determines the contribution of the previous generation parameters to the current generation parameters.
[0059] Step 2.2: For small sample production anomaly events, the parameters of the convolutional neural network model for similar production anomaly prediction can be migrated to the small sample anomaly prediction model based on the transfer learning algorithm to obtain a more effective prediction model;
[0060] In transfer learning, using D s represents the source domain, T s represents the learning task in the source domain, D t represents the target domain, T t Represents the learning task of the target domain. In the small sample prediction process, similar common abnormal events can be regarded as the source domain, and the small sample abnormal event prediction model can be regarded as the target domain.
[0061] Assume that there is already a trained n-layer convolutional neural network model. In the target domain, an m-layer network model needs to be established, m>n, and the parameters θ of the model in the source domain are s Obtained by the following formula:
[0062]
[0063] Since the last few layers in a convolutional neural network are usually the classification layers of the entire model, the parameters of these layers usually need to use the training data x in the target domain. tRetraining is done to transfer the parameters of the first n' layers in the source domain to the model in the target domain, n'<n. Therefore, the parameters θ of the model in the target domain t for:
[0064] θ t (1:m)=[θ s (1:n'),θ t (n'+1:m)]
[0065] Using training data x in the target domain t The parameters θ obtained after retraining t 'for:
[0066]
[0067] Step 2.3: Use the above convolutional neural network model, take the real-time production status data as input, and use its output as the prediction result. Based on the prediction result, predict whether an abnormal event will occur in the future;
[0068] Step 2.4: For potential production abnormal events, call historical abnormality handling measures, and based on historical records, predict whether the adverse effects of abnormal events on the manufacturing workshop can be completely eliminated after adopting relevant solutions. For example, when a processing equipment fails and cannot be restored to normal in a short period of time, it is necessary to release its processing tasks, find alternative processing equipment, or re-formulate production plans.
[0069] Step 3: Reference Figure 3 For abnormal events that cannot be completely handled by the manufacturing resource end, the edge-cloud collaboration solution is used to build abnormal handling measures from two aspects: horizontal collaboration and vertical collaboration, including:
[0070] Step 3.1: For abnormal events that cannot be completely handled by the manufacturing resource end, the abnormal resource seeks help from the same type of manufacturing resources; for example, the processing task of the abnormal manufacturing resource end is handed over to the same type of processing equipment, and the same type of processing equipment completes the processing task by extending the processing time;
[0071] Step 3.2: Based on the historical processing records of the alternative processing equipment, analyze whether the alternative processing equipment can complete its own and the new production tasks on time and with quality after accepting the production tasks of the abnormal manufacturing resources. If so, the production tasks will be completed by the alternative processing equipment. If not, proceed to step 3.3;
[0072] Step 3.3: The exception handling method based on vertical collaboration mainly involves reallocating manufacturing resources at the workshop level and using colored Petri net technology to evaluate the resource reallocation plan to predict whether the production orders in the workshop can be completed on time, including:
[0073] Step 3.3.1: Generate multiple feasible solutions for reallocating manufacturing resources by analyzing manufacturing system anomalies, such as adjusting the processing tasks of the previous and next processes, or replacing more efficient but costly production tools;
[0074] Step 3.3.2: Construct a colored Petri net analysis model based on the production process of the manufacturing workshop; the colored Petri net model can be represented by CPN = {P, T, C, O}, where P refers to the library, which is used to represent the manufacturing resources; T refers to the transition, which is used to represent the manufacturing activities; C refers to the color, which is used to represent different manufacturing resources; O refers to the token, which is used to represent the status and progress of the manufacturing resources;
[0075] Step 3.3.3: Put various manufacturing resource reallocation schemes into the colored Petri net model in turn, and predict the elimination effect of abnormal adverse effects brought by the schemes based on the simulation reasoning ability of the Petri net model itself;
[0076] Step 3.3.4: Based on the prediction results of the colored Petri net, select the most efficient and effective abnormal response plan;
[0077] Step 4: Issue the formulated production abnormality control measures to relevant execution resources, which will call relevant instructions and implement relevant measures to eliminate the adverse effects of production abnormalities.
[0078] The present invention proposes an abnormality prediction and processing method for intelligent manufacturing workshops based on edge-cloud collaboration, which changes the existing passive post-production abnormality processing mode into an active pre-production abnormality prediction and processing mode, aiming to solve the problems of slow production abnormality identification, unoptimized abnormality processing methods, and difficulty in normal production operation in the existing technology. By applying advanced industrial Internet of Things, edge computing and cloud computing technologies to manufacturing workshops, an intelligent production environment is formed in which manufacturing resources make self-decision, manufacturing systems self-organize, and resources and systems collaborate to process abnormalities in intelligent workshops; based on this, the intelligent manufacturing resources on the edge side can use convolutional neural network algorithms to predict their own potential production abnormalities (such as equipment failures) and independently formulate their own abnormal response measures; then, in the face of abnormal events where their own measures cannot eliminate the impact of abnormalities on the overall manufacturing system, feedback is given to the upper-level edge-cloud collaborative abnormality processing module, and abnormality handling measures are further formulated through horizontal or vertical collaboration within the manufacturing workshop.
[0079] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. A method for abnormal prediction and control of intelligent manufacturing workshops based on edge-cloud collaboration, It is characterized in that include: Step 1: Build an edge-cloud collaborative decision-making environment in the smart manufacturing workshop based on advanced information technology; Step 2: On the manufacturing resource side, predict the abnormalities on the manufacturing resource side based on the convolutional neural network algorithm, proactively formulate abnormality handling measures, and evaluate whether the measures can eliminate production abnormalities; Specifically: Step 2.1: For the production abnormal events that often occur on the manufacturing resource side, based on the historical data set, the states of various influencing factors related to the abnormalities are taken as input, and the occurrence of abnormal events and the abnormality level are taken as output, to build a convolutional neural network model for large sample abnormality prediction; The cost function of the convolutional neural network is expressed as the following function: Among them, x is the training sample, p(x) is the sample label, q(x) is the label predicted by the model, γ is the penalty coefficient of the regularization term, and θ represents the parameters in the convolutional neural network model obtained using the training sample and the sample label p(x). The update is performed using the stochastic gradient descent method. The formula is expressed as follows: i k+1 =θ k -η▽E(θ k )+ν(θ k -θ k-1 ) Among them, η is the learning rate; k is the number of iterations; ν is the momentum, which determines the contribution of the previous generation parameters to the current generation parameters; Step 2.2: For small sample production abnormal events, based on the transfer learning algorithm, the convolutional neural network model parameters of similar common production abnormality prediction are transferred to the small sample abnormality prediction model to build a convolutional neural network model for small sample abnormality prediction; Step 2.3: Use the convolutional neural network model obtained in steps 2.1 and 2.2, take the real-time production status data as input, and the output of the convolutional neural network model as the prediction result, and based on the prediction result, predict whether an abnormal event will occur in the future; Step 2.4: For potential production abnormal events, call historical abnormality handling measures, and based on historical records, predict whether the adverse effects of abnormal events on the manufacturing workshop can be completely eliminated after adopting relevant solutions; Step 3: For abnormal events that cannot be completely handled by the manufacturing resource end, the edge-cloud collaboration solution is used to build abnormal handling measures from the two aspects of horizontal collaboration and vertical collaboration; Step 4: Issue the formulated production abnormality control measures to relevant execution resources, which will call relevant instructions and implement relevant measures to eliminate the adverse effects of production abnormalities.
2. According to the method for abnormal prediction and control of intelligent manufacturing workshops based on edge-cloud collaboration according to claim 1, It is characterized in that The step 1 is specifically as follows: Step 1.1: Configure advanced information collection and interaction equipment at the manufacturing resource end; Step 1.2: Configure the manufacturing workshop cloud exception control platform; Step 1.3: Configure the intelligent manufacturing edge-cloud collaborative interaction module.
3. According to the method for abnormal prediction and control of intelligent manufacturing workshops based on edge-cloud collaboration according to claim 2, It is characterized in that The step 1.1 is specifically as follows: Configure wireless radio frequency identification (RFID) equipment at the manufacturing resource end, store the equipment's own information through RFID tags, and configure RFID readers to achieve comprehensive perception of the equipment and its surrounding environment; Configure embedded edge computing devices at the end of key processing equipment or logistics equipment to enable manufacturing equipment to have analysis, decision-making and control capabilities.
4. According to the method for abnormal prediction and control of intelligent manufacturing workshops based on edge-cloud collaboration according to claim 1, It is characterized in that The step 3 is specifically as follows: Step 3.1: For abnormal events that cannot be completely handled by the manufacturing resource end, the abnormal resource seeks help from the same type of manufacturing resources; Step 3.2: Based on the historical processing records of the alternative processing equipment, analyze whether the alternative processing equipment can complete its own and the new production tasks on time and with quality after accepting the production tasks of the abnormal manufacturing resources. If so, the production tasks will be completed by the alternative processing equipment. If not, proceed to step 3.3; Step 3.3: Reallocate manufacturing resources at the workshop level and use colored Petri net technology to evaluate the resource reallocation plan to predict whether the production orders in the workshop can be completed on time.
5. According to the method for abnormal prediction and control of intelligent manufacturing workshops based on edge-cloud collaboration according to claim 4, It is characterized in that The step 3.3 is specifically as follows: Step 3.3.1: Generate multiple feasible solutions for reallocation of manufacturing resources by analyzing manufacturing system anomalies; Step 3.3.2: Construct a colored Petri net analysis model based on the production process of the manufacturing workshop. The colored Petri net model is expressed as: CPN={P,T,C,O} Among them, P refers to the library, which is used to represent the manufacturing resources; T refers to the transition, which is used to represent the manufacturing activities; C refers to the color, which is used to represent different manufacturing resources; O refers to the token, which is used to represent the status and progress of the manufacturing resources; Step 3.3.3: Put various manufacturing resource reallocation schemes into the colored Petri net model in turn, and predict the elimination effect of abnormal adverse effects brought by the schemes based on the simulation reasoning ability of the Petri net model itself; Step 3.3.4: Based on the prediction results of the colored Petri net, select the most efficient exception response plan.
