Disclosure of Invention
The embodiment of the invention aims to provide an abnormality prevention and control system and method for equipment, electronic equipment and a storage medium, which are used for solving the problem that a digital twin model in the prior art cannot prevent controllable production abnormality while maintaining continuous production.
In order to achieve the above objective, an embodiment of the present invention provides an anomaly prevention and control method for a device, where the method specifically includes:
acquiring equipment history data, wherein the equipment history data comprises equipment use data, fault processing data and equipment types or production lines corresponding to production processes;
Constructing a production anomaly analysis model, and training the production anomaly analysis model based on the equipment history data to obtain a trained production anomaly analysis model;
Acquiring actual production data of equipment, and inputting the actual production data and equipment historical data into the production anomaly analysis model to generate fault prediction information of the current equipment, wherein the fault prediction information comprises probability information, time information and anomaly occurrence problem points of the current equipment;
inputting the fault prediction information and the actual production demand information into a production manufacturing data model to obtain a scheduling scheme;
Constructing a fault processing model, and training the fault processing model based on the fault processing data to obtain a trained fault processing model;
Inputting the fault prediction information into the fault processing model to obtain fault processing information;
and judging the abnormal point of the equipment based on the fault processing model, generating a corresponding processing instruction, and executing corresponding operation after the current equipment acquires the processing instruction.
Based on the technical scheme, the invention can also be improved as follows:
Further, the acquiring the equipment history data, where the equipment history data includes equipment usage data, fault processing data, and equipment types or production lines corresponding to the production process, includes:
acquiring fault information of equipment in the manufacturing process, and recording element information of the equipment with faults;
Acquiring operation element information of equipment, wherein the operation element information comprises startup time and shutdown time;
acquiring service production technology element information of equipment, wherein the service production technology element information comprises service production order information, order commodity information, scheduling information and production process information;
And acquiring historical abnormal occurrence problem points, fault processing information corresponding to the abnormal occurrence problem points and a scheduling mechanism.
Further, training the production anomaly analysis model based on the equipment history data to obtain a trained production anomaly analysis model, comprising:
dividing the equipment history data into a training set, a testing set and a verification set;
training the production anomaly analysis model based on the training set;
performing performance evaluation on the trained production anomaly analysis model based on the verification set to obtain a production anomaly analysis model meeting performance conditions;
And evaluating the analysis result of the production anomaly analysis model meeting the performance condition based on the test set to obtain an evaluation index corresponding to the production anomaly analysis model.
Further, the inputting the fault prediction information and the actual production requirement information into a production manufacturing data model to obtain a production arrangement scheme includes:
And screening the production process suitable for the current order according to the production technology element information of the current order, screening the production line with the least order, and if a plurality of production lines exist and are all arranged at the least, selecting the production line with the optimal quality of all equipment elements in the current production line.
Further, the inputting the fault prediction information and the actual production requirement information into a production manufacturing data model to obtain a production scheduling scheme further includes:
And scoring the equipment based on the operation element information of each equipment on the production line, and solving a weighted average value of equipment scores of the production line every day based on the failure frequency = total failure times/startup times in the preset time as a scoring dimension, wherein the weighted average value is the production line score.
Further, the constructing the fault handling model includes:
Establishing a scheduling mechanism corresponding to each process node device and information transmission, and corresponding each device or transmission channel for processing abnormal schedulable internet of things devices or transmission interfaces, so as to form an abnormal processing knowledge graph based on real-time production of all devices and transmission interfaces of the existing system;
Dividing the fault processing data into a training set, a testing set and a verification set;
Training the fault handling model based on the training set;
performing performance evaluation on the trained production anomaly analysis model based on the verification set to obtain a fault processing model meeting performance conditions;
And evaluating the processing result of the fault processing model meeting the performance condition based on the test set to obtain an evaluation index corresponding to the fault processing model.
Further, the judging the abnormal point of the device based on the fault processing model and generating a corresponding processing instruction, and executing corresponding operation after the current device acquires the processing instruction, including:
And analyzing the current use condition data of the equipment of each node based on the equipment historical data and the actual production data to predict probability information, time information and abnormal occurrence problem points of the current equipment abnormality, and triggering a scheduling mechanism before the time of predicting the occurrence of the abnormality according to the real-time production information in the current single production to prevent the equipment abnormality.
An anomaly prevention and control system for a device, comprising:
The first acquisition module is used for acquiring equipment historical data, wherein the equipment historical data comprises equipment use data, fault processing data and equipment types or production lines corresponding to production processes;
the first construction module is used for constructing a production anomaly analysis model;
The first training module is used for training the production anomaly analysis model based on the equipment historical data to obtain a trained production anomaly analysis model;
The second acquisition module is used for acquiring actual production data of the equipment;
Inputting the actual production data and the equipment history data into the production anomaly analysis model to generate the fault prediction information of the current equipment, wherein the fault prediction information comprises probability information, time information and anomaly occurrence problem points of the current equipment;
a production manufacturing data model for obtaining a scheduling scheme based on the failure prediction information and actual production demand information;
the second construction module is used for constructing a fault processing model;
The second training module is used for training the fault processing model based on the fault processing data to obtain a trained fault processing model;
Inputting the fault prediction information into the fault processing model to obtain fault processing information;
And the instruction module is used for judging the abnormal point of the equipment based on the fault processing model and generating a corresponding processing instruction, and the current equipment executes corresponding operation after acquiring the processing instruction.
An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method when the computer program is executed.
A non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method.
The embodiment of the invention has the following advantages:
the abnormal control method of the equipment acquires equipment history data, wherein the equipment history data comprises equipment use data, fault processing data and equipment types or production lines corresponding to production processes; constructing a production anomaly analysis model, and training the production anomaly analysis model based on the equipment history data to obtain a trained production anomaly analysis model; acquiring actual production data of equipment, and inputting the actual production data and equipment historical data into the production anomaly analysis model to generate fault prediction information of the current equipment, wherein the fault prediction information comprises probability information, time information and anomaly occurrence problem points of the current equipment; inputting the fault prediction information and the actual production demand information into a production manufacturing data model to obtain a scheduling scheme; constructing a fault processing model, and training the fault processing model based on the fault processing data to obtain a trained fault processing model; inputting the fault prediction information into the fault processing model to obtain fault processing information; judging the abnormal point of the equipment based on the fault processing model, generating a corresponding processing instruction, and executing corresponding operation after the current equipment acquires the processing instruction; the problem that the digital twin model in the prior art cannot prevent controllable production abnormality while maintaining continuous production is solved.
Detailed Description
Other advantages and advantages of the present invention will become apparent to those skilled in the art from the following detailed description, which, by way of illustration, is to be read in connection with certain specific embodiments, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the production process of enterprises, equipment failure or production abnormality can be caused by reasons such as signal transmission, sensing devices, vibration, joint loosening, greasy dirt, original station product quality errors and the like. Some complex production processes relate to a plurality of devices and production processes, and the produced production abnormality may be one or more of the abnormality produced by the association of the devices, so that the fault problem produced by the association production of the devices cannot be systematically judged, the system analyzes according to the historical production state data, a real-time analysis model is built by using time length analysis, monitoring index analysis and the like of the devices, potential hazards possibly existing are predicted, and the internet of things device processing or early warning processing is timely scheduled. And (3) establishing an equipment production abnormal knowledge graph, and establishing historical production data comparison and the like based on the single production activity time and the production process links of the equipment.
Examples
Fig. 1 is a flowchart of an embodiment of an anomaly prevention and control method of an apparatus according to the present invention, as shown in fig. 1, where the anomaly prevention and control method of an apparatus according to the embodiment of the present invention includes the following steps:
S101, acquiring equipment history data, wherein the equipment history data comprises equipment use data, fault processing data and equipment types or production lines corresponding to production processes;
Specific: registering equipment purchasing time, longest single-use time, production line to which equipment belongs and corresponding process links of production, and generating equipment element information in a simulation system.
And recording the startup time, shutdown time, fault information and the like of all the equipment, and generating equipment operation element information in the simulation system.
Acquiring fault information of equipment in the manufacturing process, and recording element information of the equipment with faults;
Acquiring operation element information of equipment, wherein the operation element information comprises startup time and shutdown time;
And acquiring service production technology element information of the equipment, wherein the service production technology element information comprises service production order information, order commodity information, scheduling information and production process information.
And acquiring equipment information, wherein the equipment information comprises equipment purchasing time, the longest single-use time, a production line to which equipment belongs and a process link corresponding to production, and equipment element information in a simulation system is generated.
And acquiring the parts of the history, which are judged by human or platform automatic prediction and are generated by the equipment faults, the corresponding fault processing schemes, the scheduling mechanism and the like, and generating knowledge element information in a simulation system.
And constructing a simulation system based on the failed equipment element information, the business production technology element information, the operation element information and the knowledge element information.
S102, constructing a production anomaly analysis model, and training the production anomaly analysis model based on equipment history data to obtain a trained production anomaly analysis model;
specifically, the device history data is divided into a training set, a testing set and a verification set;
training the production anomaly analysis model based on the training set;
performing performance evaluation on the trained production anomaly analysis model based on the verification set to obtain a production anomaly analysis model meeting performance conditions;
And evaluating the analysis result of the production anomaly analysis model meeting the performance condition based on the test set to obtain an evaluation index corresponding to the production anomaly analysis model.
Performing performance evaluation on the trained production anomaly analysis model based on the verification set to obtain a production anomaly analysis model meeting performance conditions; and evaluating the analysis result of the production anomaly analysis model meeting the performance condition based on the test set to obtain an evaluation index corresponding to the production anomaly analysis model. Performing performance evaluation on the production anomaly analysis model to obtain a percent score (namely, the highest score is 100 points and the lowest score is 0 points), and determining the production anomaly analysis model with the score larger than a set value based on the percent score, for example, the production anomaly analysis model 40 with the score larger than 90 points is the production anomaly analysis model meeting the performance condition;
And carrying out evaluation index calculation on the production anomaly analysis model meeting the performance condition to obtain evaluation indexes of the production anomaly analysis model, and calculating to obtain an evaluation value corresponding to each evaluation index, wherein the evaluation value is used for representing the capability value of the production anomaly analysis model on the evaluation indexes.
S103, acquiring actual production data of the equipment, and inputting the actual production data and the equipment historical data into a production anomaly analysis model to generate fault prediction information of the current equipment, wherein the fault prediction information comprises probability information, time information and anomaly occurrence problem points of the current equipment;
S104, inputting the fault prediction information and the actual production demand information into a production manufacturing data model to obtain a scheduling scheme;
Specifically, the dispatching center of the simulation platform completes the production line distribution of the current order information to be produced according to the data of the current equipment element information, the equipment operation element information, the production element information, the knowledge element information, the production technology element information and the like, and the main process is as follows:
And screening the production process suitable for the current order according to the production technology element information of the current order, screening the production line with the least order, and if a plurality of production lines exist and are all arranged at the least, selecting the production line with the optimal quality of all equipment elements in the current production line.
As a production line for producing the current order. How to judge the optimum: the operation element information of each device on the production line is used for scoring the device, the device sum is used as a scoring dimension, and the device start-up times are used as a scoring dimension; the equipment is scored based on the operation element information of each equipment on the production line, and the failure frequency = total failure times/startup times in the preset time is used as a scoring dimension, preferably, the preset time is about one month; a weighted average of the daily line equipment scores is determined, the weighted average being the line score. And selecting the production line with the highest score, and if a plurality of production lines belong to the production line with the highest score, randomly selecting one production line as the production line of the current order.
And generating a production and manufacturing digital twin model according to the actual production information of the current order and the information of the order production based on the scheduling production rule model.
S105, constructing a fault processing model, and training the fault processing model based on the fault processing data to obtain a trained fault processing model;
Specifically, a scheduling mechanism corresponding to each process node device and information transmission is established, and each device or transmission channel is used for processing an abnormally schedulable internet of things device or transmission interface, so that an abnormal processing knowledge graph based on real-time production of all devices and transmission interfaces of the existing system is formed.
Dividing the fault processing data into a training set, a testing set and a verification set;
Training the fault handling model based on the training set;
performing performance evaluation on the trained fault processing model based on the verification set to obtain a fault processing model meeting performance conditions;
and evaluating an analysis result of the fault processing model meeting the performance condition based on the test set to obtain an evaluation index corresponding to the fault processing model.
Performing performance evaluation on the trained fault processing model based on the verification set to obtain a fault processing model meeting performance conditions; and evaluating the processing result of the fault processing model meeting the performance condition based on the test set to obtain an evaluation index corresponding to the fault processing model. Performing performance evaluation on the fault treatment model to obtain a percentage score (namely, the maximum score is 100 points and the minimum score is 0 points), and determining the fault treatment model with the score larger than a set value based on the percentage score, wherein for example, the fault treatment model 40 with the score larger than 90 points is a fault treatment model meeting the performance condition;
and calculating an evaluation index of the fault processing model meeting the performance condition to obtain the evaluation index of the fault processing model, and calculating to obtain an evaluation value corresponding to each evaluation index, wherein the evaluation value is used for representing the capacity value of the fault processing model on the evaluation index.
S106, inputting the fault prediction information into a fault processing model to obtain fault processing information;
S107, judging the abnormal point of the equipment based on the fault processing model, generating a corresponding processing instruction, and executing corresponding operation after the current equipment acquires the processing instruction;
Specifically, the current use condition data of the equipment of each node is analyzed based on the historical data and the actual production data of the equipment to predict probability information, time information and abnormal occurrence problem points of the current equipment, and a scheduling mechanism before the time of predicting the occurrence of faults is triggered according to the real-time production information in the current single production to prevent the equipment from being abnormal.
The abnormality prevention and control method of the device further comprises the following steps:
The method comprises the steps of obtaining production process information of a business system, obtaining the type of production equipment or production line corresponding to the production process, for example, for the process of carrying semi-finished products in the production process, selecting equipment (such as an intelligent carrier), for example, after the intelligent carrier is obtained from commodities, selecting a designated production line according to the production process. In the commodity production process, the process required to be experienced establishes a corresponding production and manufacturing model on a simulation platform, and binds equipment information of an equipment information registration system on each flow node (for example, the flow node of an intelligent carrier needs to be selected and the flow node of a production line needs to be selected) to form a real-time production schedulable knowledge graph of a production and manufacturing mathematical model.
And identifying the states of normal production, abnormal production, closed production and the like of each production node, and generating a time sequence record model of production equipment, production data and transmission data states of each production line in the process of generating each state record.
According to the historical equipment faults and the production records (total production duration, single production duration, startup frequency and the like) of the equipment, the situation that the faults finally occur and cannot be predicted is recorded, and therefore data sources for abnormal prediction analysis learning are continuously enriched.
According to the historical equipment fault record information and the actual physical production data acquired in the current production and manufacture mathematical model, the current use condition data of equipment of each node is analyzed by combining the production real-time record data, for example, the characteristics of the current equipment such as total production time length, single production time length, starting frequency and the like are compared with the equipment information recorded by the historical faults, the probability information, time information and abnormal occurrence problem points of the current equipment are predicted, the real-time production information acquired according to the rotating speed, temperature, friction and the like in the current single production is used, a scheduling mechanism before the time of predicting the occurrence of the faults is triggered, for example, the oiling treatment of the Internet of things equipment of the current equipment is automatically triggered, or an alarm mechanism is triggered to remind people to perform maintenance treatment. In the real-time abnormity monitoring, if the communication interface is monitored to not receive related data interface information, triggering the communication interface module to send an interface request, and timely acquiring the interface information;
and establishing a continuous abnormality prediction and processing mechanism through a digital twin model, and preventing production abnormality caused by equipment or communication service abnormality.
FIG. 2 is a flow chart of an embodiment of an anomaly prevention and control system of the apparatus of the present invention; as shown in fig. 2, the abnormality prevention and control system for a device provided by the embodiment of the invention includes the following steps:
a first obtaining module 10, configured to obtain equipment history data, where the equipment history data includes equipment usage data, fault processing data, and an equipment type or a production line corresponding to a production process;
A first construction module 20 for constructing a production anomaly analysis model;
A first training module 30, configured to train the production anomaly analysis model based on the equipment history data to obtain a trained production anomaly analysis model;
a second acquisition module 40 for acquiring actual production data of the apparatus;
Inputting the actual production data and the equipment history data into the production anomaly analysis model to generate the fault prediction information of the current equipment, wherein the fault prediction information comprises probability information, time information and anomaly occurrence problem points of the current equipment;
a manufacturing data model 50 for deriving a scheduling scheme based on the failure prediction information and actual production demand information;
a second construction module 60 for constructing a fault handling model;
A second training module 70, configured to train the fault handling model based on the fault handling data to obtain a trained fault handling model;
Inputting the fault prediction information into the fault processing model to obtain fault processing information;
the instruction module 80 is configured to determine an abnormal point of the device based on the fault processing model and generate a corresponding processing instruction, and execute a corresponding operation after the current device acquires the processing instruction.
The first acquisition module 10 is further configured to:
acquiring fault information of equipment in the manufacturing process, and recording element information of the equipment with faults;
Acquiring operation element information of equipment, wherein the operation element information comprises startup time and shutdown time;
And acquiring service production technology element information of the equipment, wherein the service production technology element information comprises service production order information, order commodity information, scheduling information and production process information.
The first training module 30 is further configured to:
dividing the equipment history data into a training set, a testing set and a verification set;
training the production anomaly analysis model based on the training set;
performing performance evaluation on the trained production anomaly analysis model based on the verification set to obtain a production anomaly analysis model meeting performance conditions;
And evaluating the analysis result of the production anomaly analysis model meeting the performance condition based on the test set to obtain an evaluation index corresponding to the production anomaly analysis model.
The manufacturing data model 50 is also used to:
And screening the production process suitable for the current order according to the production technology element information of the current order, screening the production line with the least order, and if a plurality of production lines exist and are all arranged at the least, selecting the production line with the optimal quality of all equipment elements in the current production line.
And scoring the equipment based on the operation element information of each equipment on the production line, and solving a weighted average value of equipment scores of the production line every day based on the failure frequency = total failure times/startup times in the preset time as a scoring dimension, wherein the weighted average value is the production line score.
The second building block 60 is further configured to: and establishing a scheduling mechanism corresponding to each process node device and information transmission, and corresponding to each device or transmission channel for processing abnormal schedulable internet-of-things devices or transmission interfaces, so as to form an abnormal processing knowledge graph based on real-time production of all devices and transmission interfaces of the existing system.
The instruction module 80 is further configured to: and analyzing the current use condition data of the equipment of each node based on the equipment historical data and the actual production data to predict probability information, time information and abnormal occurrence problem points of the current equipment abnormality, and triggering a scheduling mechanism before the time of predicting the occurrence of the abnormality according to the real-time production information in the current single production to prevent the equipment abnormality.
According to the abnormality prevention and control system of the equipment, equipment history data is acquired through the first acquisition module 10, wherein the equipment history data comprises equipment use data, fault processing data and equipment types or production lines corresponding to production processes; building a production anomaly analysis model by a first build module 20; training the production anomaly analysis model based on the equipment history data by a first training module 30 to obtain a trained production anomaly analysis model; acquiring actual production data of the equipment through a second acquisition module 40; inputting the actual production data and the equipment history data into the production anomaly analysis model to generate the fault prediction information of the current equipment, wherein the fault prediction information comprises probability information, time information and anomaly occurrence problem points of the current equipment; deriving a scheduling scheme based on the failure prediction information and actual production demand information by the production manufacturing data model 50; constructing a fault handling model by a second construction module 60; training the fault handling model based on the fault handling data by a second training module 70 to obtain a trained fault handling model; inputting the fault prediction information into the fault processing model to obtain fault processing information; the instruction module 80 judges the abnormal point of the equipment based on the fault processing model and generates a corresponding processing instruction, and the current equipment executes corresponding operation after acquiring the processing instruction. The abnormality prevention and control method of the equipment solves the problem that the digital twin model in the prior art can not prevent controllable production abnormality while maintaining continuous production.
Fig. 3 is a schematic diagram of an entity structure of an electronic device according to an embodiment of the present invention, as shown in fig. 3, an electronic device 90 includes: a processor 901 (processor), a memory 902 (memory), and a bus 903;
The processor 901 and the memory 902 complete communication with each other through the bus 903;
The processor 901 is configured to call program instructions in the memory 902 to perform the methods provided in the above method embodiments, for example, including: acquiring equipment history data, wherein the equipment history data comprises equipment use data, fault processing data and equipment types or production lines corresponding to production processes; constructing a production anomaly analysis model, and training the production anomaly analysis model based on the equipment history data to obtain a trained production anomaly analysis model; acquiring actual production data of equipment, and inputting the actual production data and equipment historical data into the production anomaly analysis model to generate fault prediction information of the current equipment, wherein the fault prediction information comprises probability information, time information and anomaly occurrence problem points of the current equipment; inputting the fault prediction information and the actual production demand information into a production manufacturing data model to obtain a scheduling scheme; constructing a fault processing model, and training the fault processing model based on the fault processing data to obtain a trained fault processing model; inputting the fault prediction information into the fault processing model to obtain fault processing information; and judging the abnormal point of the equipment based on the fault processing model, generating a corresponding processing instruction, and executing corresponding operation after the current equipment acquires the processing instruction.
The present embodiment provides a non-transitory computer readable storage medium storing computer instructions that cause a computer to perform the methods provided by the above-described method embodiments, for example, including: acquiring equipment history data, wherein the equipment history data comprises equipment use data, fault processing data and equipment types or production lines corresponding to production processes; constructing a production anomaly analysis model, and training the production anomaly analysis model based on the equipment history data to obtain a trained production anomaly analysis model; acquiring actual production data of equipment, and inputting the actual production data and equipment historical data into the production anomaly analysis model to generate fault prediction information of the current equipment, wherein the fault prediction information comprises probability information, time information and anomaly occurrence problem points of the current equipment; inputting the fault prediction information and the actual production demand information into a production manufacturing data model to obtain a scheduling scheme; constructing a fault processing model, and training the fault processing model based on the fault processing data to obtain a trained fault processing model; inputting the fault prediction information into the fault processing model to obtain fault processing information; and judging the abnormal point of the equipment based on the fault processing model, generating a corresponding processing instruction, and executing corresponding operation after the current equipment acquires the processing instruction.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware associated with program instructions, where the foregoing program may be stored in a computer readable storage medium, and when executed, the program performs steps including the above method embodiments; and the aforementioned storage medium includes: various storage media such as ROM, RAM, magnetic or optical disks may store program code.
The apparatus embodiments described above are merely illustrative, wherein elements illustrated as separate elements may or may not be physically separate, and elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on such understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the embodiments or the methods of some parts of the embodiments.
While the invention has been described in detail in the foregoing general description and specific examples, it will be apparent to those skilled in the art that modifications and improvements can be made thereto. Accordingly, such modifications or improvements may be made without departing from the spirit of the invention and are intended to be within the scope of the invention as claimed.