An online monitoring and early warning method and system based on PLC intelligent control
By obtaining basic material information and optimizing control parameters, a PLC abnormality detection model is constructed, which solves the problem of insufficient accuracy in PLC control abnormality monitoring and improves monitoring effects and early warning accuracy.
Patent Information
- Application Number
- CN202211357223.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-01
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2042-11-01
AI Technical Summary
In the existing technology, PLC control abnormality monitoring has insufficient accuracy and low intelligence, resulting in poor PLC control abnormality monitoring effects and the inability to achieve more accurate PLC control abnormality early warning.
By obtaining the basic information of the materials to be transported, the starting point and end point of the material transportation are determined, the material transportation pipeline path is determined based on the wind material transportation device, the material transportation flow threshold and speed threshold are determined by traversing the path, the pipeline valve and wind control parameters are optimized, and the PLC circuit control parameters are input Match models, build anomaly detection models, and generate anomaly warnings.
It improves the accuracy and intelligence of PLC control abnormality monitoring and achieves more accurate PLC control abnormality early warning.
Smart Images

Figure CN115542838B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent control, and in particular to an online monitoring and early warning method and system based on PLC intelligent control. Background Art
[0002] With the widespread application of online monitoring, people have higher and higher requirements for online monitoring. Combining PLC with online monitoring and intelligently controlling the online monitoring system through PLC to achieve remote, offline automatic monitoring has important practical significance. In the prior art, there are technical problems such as insufficient accuracy and low intelligence of PLC control anomaly monitoring, which results in poor control anomaly monitoring effect of PLC and inability to achieve more accurate PLC control anomaly warning. Summary of the invention
[0003] This application provides an online monitoring and early warning method and system based on PLC intelligent control, which solves the technical problems in the prior art that the control abnormality monitoring of PLC is not accurate enough and the intelligence level is low, which results in poor monitoring effect of PLC control abnormality and inability to achieve more accurate PLC control abnormality early warning.
[0004] In view of the above problems, the present application provides an online monitoring and early warning method and system based on PLC intelligent control.
[0005] In the first aspect, the present application provides an online monitoring and early warning method based on PLC intelligent control, wherein the method is applied to an online monitoring and early warning system based on PLC intelligent control, and the method includes: obtaining basic information of materials to be transported, wherein the basic information of materials to be transported includes the amount of material to be transported, the starting point of material transportation and the end point of material transportation; based on the starting point of material transportation and the end point of material transportation, according to the wind material conveying device, determining the material conveying pipeline path; traversing the material conveying pipeline path, determining the material conveying flow threshold sequence and the material conveying speed threshold sequence; according to the material conveying flow threshold sequence and the material conveying speed threshold sequence, optimizing and determining the pipeline valve control parameters and the pipeline wind control parameters; inputting the pipeline valve control parameters and the pipeline wind control parameters into a PLC circuit control parameter matching model to generate PLC circuit control parameters; according to the PLC circuit control parameters, constructing a PLC control anomaly detection model; inputting real-time control parameter monitoring data into the PLC control anomaly detection model to generate abnormal control parameters for PLC control abnormality early warning.
[0006] In the second aspect, the present application also provides an online monitoring and early warning system based on PLC intelligent control, wherein the system includes: an information acquisition module, the information acquisition module is used to obtain basic information of the material to be transported, wherein the basic information of the material to be transported includes the amount of material to be transported, the starting point of the material transportation and the end point of the material transportation; a path determination module, the path determination module is used to determine the material transportation pipeline path based on the material transportation starting point and the material transportation end point according to the wind material transportation device; a sequence determination module, the sequence determination module is used to traverse the material transportation pipeline path, determine the material transportation flow threshold sequence and the material transportation speed threshold sequence; a parameter determination module, the parameter determination module The determining module is used to optimize and determine the pipeline valve control parameters and the pipeline wind control parameters according to the material conveying flow threshold sequence and the material conveying speed threshold sequence; the circuit control parameter generating module is used to input the pipeline valve control parameters and the pipeline wind control parameters into the PLC circuit control parameter matching model to generate PLC circuit control parameters; the building module is used to build a PLC control abnormality detection model according to the PLC circuit control parameters; the abnormal warning module is used to input the real-time control parameter monitoring data into the PLC control abnormality detection model to generate abnormal control parameters for PLC control abnormality warning.
[0007] One or more technical solutions provided in this application have at least the following technical effects or advantages:
[0008] Through the basic information of the material to be transported, the starting point and the end point of the material transportation are determined, and the material transportation pipeline path is determined in combination with the wind material transportation device; the material transportation pipeline path is traversed to determine the material transportation flow threshold sequence and the material transportation speed threshold sequence; according to the material transportation flow threshold sequence and the material transportation speed threshold sequence, the pipeline valve control parameters and the pipeline wind control parameters are optimized and determined; the pipeline valve control parameters and the pipeline wind control parameters are input into the PLC circuit control parameter matching model to generate the PLC circuit control parameters; according to the PLC circuit control parameters, the PLC control anomaly detection model is constructed; the real-time control parameter monitoring data is input into the PLC control anomaly detection model to generate abnormal control parameters for PLC control anomaly warning. The technical effect of improving the accuracy and intelligence of PLC control anomaly monitoring, improving the control anomaly monitoring effect of PLC, improving the accuracy of PLC control anomaly warning, and achieving a more accurate PLC control anomaly warning is achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Figure 1 A flow chart of an online monitoring and early warning method based on PLC intelligent control for this application;
[0010] Figure 2 A schematic diagram of a flow chart for determining a material conveying flow rate threshold sequence and a material conveying speed threshold sequence in an online monitoring and early warning method based on PLC intelligent control according to the present application;
[0011] Figure 3 This is a structural diagram of an online monitoring and early warning system based on PLC intelligent control for this application.
[0012] Explanation of the reference numerals: information acquisition module 11 , path determination module 12 , sequence determination module 13 , parameter determination module 14 , circuit control parameter generation module 15 , construction module 16 , abnormality warning module 17 . DETAILED DESCRIPTION
[0013] The present application provides an online monitoring and early warning method and system based on PLC intelligent control. It solves the technical problem that the control abnormality monitoring of PLC in the prior art is insufficient in accuracy and low in intelligence, which results in poor control abnormality monitoring effect of PLC and inability to achieve more accurate PLC control abnormality early warning. It achieves the technical effect of improving the accuracy and intelligence of PLC control abnormality monitoring, improving the control abnormality monitoring effect of PLC, improving the accuracy of PLC control abnormality early warning, and achieving more accurate PLC control abnormality early warning.
[0014] Embodiment 1
[0015] Please refer to the attached Figure 1 The present application provides an online monitoring and early warning method based on PLC intelligent control, wherein the method is implemented by an online monitoring and early warning system based on PLC intelligent control, the system is applied to a wind-powered material conveying device, and the method specifically comprises the following steps:
[0016] Step S100: obtaining basic information of the material to be transported, wherein the basic information of the material to be transported includes the amount of material to be transported, the starting point of material transportation and the end point of material transportation;
[0017] Step S200: Based on the material conveying starting point and the material conveying end point, and according to the wind-powered material conveying device, determining a material conveying pipeline path;
[0018] Specifically, information collection is performed on the material to be transported to obtain basic information of the material to be transported. Further, based on the material transportation starting point and the material transportation end point, in combination with the wind material conveying device, the material conveying pipeline path is obtained. Among them, the basic information of the material to be transported includes the amount of material to be transported, the material transportation starting point, and the material transportation end point. The material to be transported is any material that uses the wind material conveying device of the present application for intelligent material transportation. The amount of material to be transported includes the quality and quantity of the material to be transported. The material transportation starting point and the material transportation end point correspond to the starting position and the end position of the material to be transported. The wind material conveying device is a material conveying equipment that executes the online monitoring and early warning method based on PLC intelligent control. The material conveying pipeline path includes the specific path information of the wind material conveying device for material transportation according to the material transportation starting point and the material transportation end point. The technical effect of analyzing the basic information of the material to be transported and the wind material conveying device to determine the material conveying pipeline path, thereby improving the accuracy of the subsequent PLC control abnormal warning.
[0019] Step S300: traversing the material conveying pipeline path to determine a material conveying flow rate threshold sequence and a material conveying speed threshold sequence;
[0020] Further, as attached Figure 2 As shown, step S300 of the present application also includes:
[0021] Step S310: acquiring a feeding device according to the material conveying pipeline path;
[0022] Step S320: acquiring a plurality of first valves according to the feeding device, wherein the plurality of first valves are multi-channel valves and are in a normally closed state;
[0023] Step S330: dividing the feeding device according to the plurality of first valves to generate a first conveying pipeline, a second conveying pipeline, and finally an Nth conveying pipeline;
[0024] Step S340: traverse the first conveying pipeline, the second conveying pipeline, and finally the Nth conveying pipeline to obtain pipeline diameter information and the type of material to be conveyed;
[0025] Step S350: input the pipeline diameter information and the type of material to be transported into a transport parameter calibration table to obtain the material transport flow threshold sequence and the material transport speed threshold sequence.
[0026] Specifically, based on the material conveying pipeline path, the feeding device is determined, and then a plurality of first valves are obtained. Further, the feeding device is divided according to the plurality of first valves to obtain the first conveying pipeline, the second conveying pipeline...the Nth conveying pipeline, and the pipeline diameter parameters and the material conveying type parameters are collected based on the first conveying pipeline, the second conveying pipeline...the Nth conveying pipeline to obtain the pipeline diameter information and the type of material to be conveyed. Further, the pipeline diameter information and the type of material to be conveyed are used as input information, and the conveying parameter calibration table is input to obtain the material conveying flow threshold sequence and the material conveying speed threshold sequence. Among them, the feeding device includes the specific feeding part information of the wind material conveying device corresponding to the material conveying pipeline path. The plurality of first valves are multi-channel valves of the feeding device, and the plurality of first valves are in a normally closed state. The first conveying pipeline, the second conveying pipeline...the Nth conveying pipeline are the plurality of conveying pipelines obtained by dividing the feeding device according to the plurality of first valves. The pipeline diameter information and the type of material to be conveyed include the pipeline diameter parameters and the material conveying type parameters corresponding to the first conveying pipeline, the second conveying pipeline...the Nth conveying pipeline. The transport parameter calibration table includes multiple preset pipeline diameter parameters, multiple preset material type parameters to be transported, and multiple material transport flow thresholds and material transport speed thresholds corresponding to the multiple preset pipeline diameter parameters and multiple preset material type parameters to be transported. The transport parameter calibration table can be constructed by querying and collecting the historical transport logs of multiple material transport manufacturers. The transport parameter calibration table can match the material transport flow threshold and the material transport speed threshold according to the pipeline diameter parameter and the material type parameter to be transported. The material transport flow threshold sequence includes the material transport flow threshold corresponding to each transport pipeline in the first transport pipeline, the second transport pipeline...the Nth transport pipeline. The material transport speed threshold sequence includes the material transport speed threshold corresponding to each transport pipeline in the first transport pipeline, the second transport pipeline...the Nth transport pipeline. The technical effect of matching the pipeline diameter information and the material type to be transported through the transport parameter calibration table, obtaining accurate and reliable pipeline diameter information and the material type to be transported, thereby improving the accuracy of the pipeline valve control parameters and pipeline wind control parameters obtained subsequently.
[0027] Step S400: optimizing and determining pipeline valve control parameters and pipeline wind control parameters according to the material conveying flow rate threshold sequence and the material conveying speed threshold sequence;
[0028] Furthermore, step S400 of the present application also includes:
[0029] Step S410: determining a valve opening interval sequence according to the material conveying flow rate threshold sequence;
[0030] Step S420: determining a pipeline wind speed interval sequence according to the material conveying speed threshold sequence;
[0031] Specifically, based on the material conveying flow rate threshold sequence, the valve opening intervals of multiple first valves are matched to obtain a valve opening interval sequence. The valve opening interval sequence includes the valve opening range information of multiple first valves corresponding to the first conveying pipeline, the second conveying pipeline...the Nth conveying pipeline under the condition that the material conveying flow rate threshold sequence is satisfied, that is, when the material conveying flow rate threshold corresponding to each conveying pipeline is satisfied. Further, based on the material conveying speed threshold sequence, the wind force intervals of the first conveying pipeline, the second conveying pipeline...the Nth conveying pipeline are matched to obtain a pipeline wind force interval sequence. The pipeline wind force interval sequence includes the wind force size range information corresponding to the first conveying pipeline, the second conveying pipeline...the Nth conveying pipeline under the condition that the material conveying speed threshold sequence is satisfied, that is, when the material conveying speed threshold corresponding to each conveying pipeline is satisfied. The technical effect of obtaining an accurate valve opening interval sequence and a pipeline wind force interval sequence by analyzing the material conveying flow rate threshold sequence and the material conveying speed threshold sequence, thereby improving the accuracy of optimizing and determining the pipeline valve control parameters and the pipeline wind force control parameters.
[0032] Step S430: Obtaining fitness function:
[0033]
[0034] in, Characterizes the valve opening of the nth pipeline, F n Characterizes the wind force in the nth transmission pipeline, ξ n Characterizes the resistance coefficient of the nth transmission pipeline, T represents the fitness, n∈N;
[0035] Step S440: According to the valve opening interval sequence and the pipeline wind force interval sequence, optimization is performed based on the fitness function to generate the pipeline valve control parameters and the pipeline wind force control parameters.
[0036] Furthermore, step S440 of the present application also includes:
[0037] Step S441: acquiring the mth valve opening sequence and the mth pipeline wind force sequence according to the valve opening interval sequence and the pipeline wind force interval sequence;
[0038] Step S442: inputting the mth valve opening sequence and the mth pipeline wind force sequence into the fitness function to obtain the mth fitness;
[0039] Step S443: Determine whether the mth fitness is greater than or equal to the m-1th fitness;
[0040] Step S444: if it is greater than or equal to, the mth valve opening sequence and the mth pipeline wind force sequence are set as the mth optimization result; if it is less than, the m-1th valve opening sequence and the m-1th pipeline wind force sequence are set as the mth optimization result;
[0041] Step S445: determine whether m meets the preset number of times, and if so, determine the pipeline valve control parameters and the pipeline wind control parameters according to the mth optimization result.
[0042] Specifically, the first conveying pipeline, the second conveying pipeline...the Nth conveying pipeline are set as the nth conveying pipeline in sequence, and the nth conveying pipeline corresponds to the first conveying pipeline, the second conveying pipeline...the Nth conveying pipeline one by one. Furthermore, based on the nth conveying pipeline, the valve opening interval sequence and the pipeline wind speed interval sequence are matched to obtain the nth valve opening interval sequence and the nth conveying pipeline wind speed interval sequence corresponding to the nth conveying pipeline, and the nth valve opening interval sequence and the nth conveying pipeline wind speed interval sequence are randomly selected to obtain the mth valve opening sequence and the mth pipeline wind speed sequence. The mth valve opening sequence is any valve opening information in the nth valve opening interval sequence. The mth pipeline wind speed sequence includes any wind speed information in the nth conveying pipeline wind speed interval sequence. Subsequently, the mth valve opening sequence and the mth pipeline wind speed sequence are used as input information and input into the fitness function to obtain the mth fitness. In the fitness function, Characterizes the valve opening of the nth pipeline. At this time, is the input valve opening sequence of the mth valve. n Characterizes the wind force of the nth transmission pipeline. At this time, F n is the input wind force sequence of the mth pipeline. n The resistance coefficient of the nth conveying pipeline can be obtained by collecting and querying the resistance parameters of the nth conveying pipeline. n T represents the fitness, n∈N, and T is the mth fitness of the output.
[0043] Furthermore, the nth valve opening interval sequence and the nth transmission pipeline wind speed interval sequence are randomly selected again to obtain the m-1th valve opening sequence and the m-1th pipeline wind speed sequence. The m-1th valve opening sequence is any valve opening information in the nth valve opening interval sequence that is different from the mth valve opening sequence. The m-1th pipeline wind speed sequence is any wind speed size information in the nth transmission pipeline wind speed interval sequence that is different from the mth pipeline wind speed sequence. Furthermore, the m-1th valve opening sequence and the m-1th pipeline wind speed sequence are used as input information and input into the fitness function to obtain the m-1th fitness. The m-1th fitness is obtained in the same way as the mth fitness, and for the sake of brevity of the specification, it will not be repeated here.
[0044] Further, it is judged whether the mth fitness is greater than or equal to the m-1th fitness. If the mth fitness is greater than or equal to the m-1th fitness, the mth valve opening sequence and the mth pipeline wind force sequence are set as the mth optimization result. At this time, the mth optimization result includes the mth valve opening sequence and the mth pipeline wind force sequence. If the mth fitness is less than the m-1th fitness, the m-1th valve opening sequence and the m-1th pipeline wind force sequence are set as the mth optimization result. At this time, the mth optimization result includes the m-1th valve opening sequence and the m-1th pipeline wind force sequence. Further, iterative optimization is performed based on the mth optimization result, and it is judged whether m meets the preset number of times, that is, it is judged whether the number of iterative optimization of the mth optimization result meets the preset number of times. If the number of iterative optimization of the mth optimization result meets the preset number of times, based on the mth optimization result whose number of iterative optimization meets the preset number of times, the pipeline valve control parameters and the pipeline wind force control parameters are determined. Wherein, the preset number of times includes a preset threshold value of the number of iterative optimization times. The pipeline valve control parameters and the pipeline wind control parameters include valve opening information and wind force information of the first, second, ..., Nth pipelines corresponding to the mth optimization result whose iterative optimization times meet the preset times. The valve opening interval sequence and pipeline wind force interval sequence are iteratively optimized for the preset times by the fitness function, and the pipeline valve control parameters and pipeline wind force control parameters with high accuracy and fitness are obtained, thereby improving the intelligence and precision of the abnormal warning of PLC control.
[0045] Step S500: inputting the pipeline valve control parameter and the pipeline wind control parameter into a PLC circuit control parameter matching model to generate a PLC circuit control parameter;
[0046] Furthermore, step S500 of the present application also includes:
[0047] Step S510: Acquire pipeline transportation PLC control record data and construct the PLC circuit control parameter matching model;
[0048] Furthermore, step S510 of the present application also includes:
[0049] Step S511: acquiring pipeline valve control parameter record data and pipeline valve PLC control parameter record data according to the pipeline transportation PLC control record data;
[0050] Step S512: constructing a pipeline valve PLC control parameter matching semi-model based on an artificial neural network according to the pipeline valve control parameter recording data and the pipeline valve PLC control parameter recording data;
[0051] Step S513: acquiring pipeline wind power control parameter record data and pipeline wind power PLC control parameter record data according to the pipeline transportation PLC control record data;
[0052] Step S514: constructing a pipeline wind power PLC control parameter matching semi-model based on an artificial neural network according to the pipeline wind power control parameter record data and the pipeline wind power PLC control parameter record data;
[0053] Step S515: merging the pipeline valve PLC control parameter matching half model and the pipeline wind power PLC control parameter matching half model to generate the PLC circuit control parameter matching model.
[0054] Step S520: inputting the pipeline valve control parameter and the pipeline wind force control parameter into the PLC circuit control parameter matching model to generate the PLC circuit control parameter.
[0055] Specifically, based on the first transmission pipeline, the second transmission pipeline...the Nth transmission pipeline, the pipeline transmission PLC control record information is collected through big data to obtain the pipeline transmission PLC control record data. The pipeline transmission PLC control record data includes pipeline valve control parameter record data, pipeline valve PLC control parameter record data, pipeline wind power control parameter record data, and pipeline wind power PLC control parameter record data. Further, based on the artificial neural network, the pipeline valve control parameter record data and the pipeline valve PLC control parameter record data are continuously self-trained and learned until the pipeline valve PLC control parameter matching semi-model is obtained in the convergence state. Furthermore, based on the artificial neural network, the pipeline wind power control parameter record data and the pipeline wind power PLC control parameter record data are continuously self-trained and learned until the pipeline wind power PLC control parameter matching semi-model is obtained in the convergence state. Subsequently, the obtained pipeline valve PLC control parameter matching semi-model and pipeline wind power PLC control parameter matching semi-model are merged to obtain the PLC circuit control parameter matching model. Furthermore, the pipeline valve control parameters and the pipeline wind control parameters are used as input information and input into the PLC circuit control parameter matching model to obtain the PLC circuit control parameters.
[0056] Wherein, the pipeline valve control parameter recording data includes multiple historical valve opening information of multiple first valves corresponding to the first delivery pipeline, the second delivery pipeline...the Nth delivery pipeline. The pipeline valve PLC control parameter recording data includes the voltage, current, alternating frequency and other electrical control transmission parameters corresponding to the pipeline valve control parameter recording data. The artificial neural network is a nonlinear information processing system composed of a large number of processing units and has the ability of self-adaptation, self-organization and self-learning. The artificial neural network processes information by simulating the brain neural network processing and memory information. The pipeline valve PLC control parameter matching semi-model has the function of intelligent analysis of the input pipeline valve control parameters and PLC control parameter matching. The pipeline wind power control parameter recording data includes multiple historical wind power size information corresponding to the first delivery pipeline, the second delivery pipeline...the Nth delivery pipeline. The pipeline wind power PLC control parameter recording data includes the voltage, current, alternating frequency and other electrical control transmission parameters corresponding to the pipeline wind power control parameter recording data. The pipeline wind power PLC control parameter matching semi-model has the function of intelligent analysis of the input pipeline wind power control parameters and PLC control parameter matching. The PLC circuit control parameter matching model includes a pipeline valve PLC control parameter matching half model and a pipeline wind power PLC control parameter matching half model. The PLC circuit control parameters include voltage, current, alternating frequency and other electrical control transmission parameters corresponding to the pipeline valve control parameters and pipeline wind power control parameters. The PLC circuit control parameter matching model with strong adaptability and high generalization performance is constructed by recording data through pipeline transmission PLC control, and the pipeline valve control parameters and pipeline wind power control parameters are matched and analyzed through the PLC circuit control parameter matching model to obtain accurate PLC circuit control parameters, thereby improving the accuracy and comprehensiveness of PLC control abnormality monitoring.
[0057] Step S600: constructing a PLC control anomaly detection model according to the PLC circuit control parameters;
[0058] Furthermore, step S600 of the present application also includes:
[0059] Step S610: traversing the PLC circuit control parameters, collecting multiple sets of PLC circuit control parameter sample data sets, wherein the multiple sets of PLC circuit control parameter sample data sets are control parameters for normal operation, and the data volume of characteristic values of any control parameter is greater than or equal to 2;
[0060] Step S620: acquiring a first set of control parameter sample data sets according to the plurality of sets of PLC circuit control parameter sample data sets;
[0061] Step S630: Based on the first group of control parameter sample data sets, multi-layer division is performed according to data feature values to construct a first PLC control anomaly detection tree, wherein any level of the first PLC control anomaly detection tree limits a sample data set of one feature value;
[0062] Step S640: Based on the i-th group of control parameter sample data sets, multi-layer division is performed according to data feature values to construct the i-th PLC control anomaly detection tree, wherein any level of the i-th PLC control anomaly detection tree is limited to store a sample data set of one feature value;
[0063] Step S650: merging the first PLC control abnormality detection tree to the i-th PLC control abnormality detection tree to generate the PLC control abnormality detection model.
[0064] Step S700: input the real-time control parameter monitoring data into the PLC control abnormality detection model to generate abnormal control parameters for PLC control abnormality warning.
[0065] Specifically, multiple groups of PLC circuit control parameter sample data sets are collected, and the multiple groups of PLC circuit control parameter sample data sets include multiple groups of PLC circuit control parameters that work normally, and data feature values corresponding to multiple groups of PLC circuit control parameters, and the data volume of any control parameter feature value is greater than or equal to 2. Then, the multiple groups of PLC circuit control parameter sample data sets are randomly selected to obtain a first group of control parameter sample data sets. The first group of control parameter sample data sets are multi-layered according to the data feature values to obtain a first PLC control anomaly detection tree. A sample data set of a feature value is limited at any level of the first PLC control anomaly detection tree. The first PLC control anomaly detection tree includes multiple layers of data corresponding to the first group of control parameter sample data sets, and these multiple layers of data are all normal data, and the data volume of any layer of normal data is greater than or equal to 2. If the input real-time control parameter monitoring data is normal data, and falls into a layer of data in the first PLC control anomaly detection tree, the real-time control parameter monitoring data can be merged with the layer of data. If it cannot fall into, the other multiple layers of data of the subsequent first PLC control anomaly detection tree and the subsequent multiple PLC control anomaly detection trees are traversed. If none of them can fall into the category, it will be considered abnormal. In the end, a separate branch node will be generated, and the number is 1. Then, in the same way as the construction of the first PLC control abnormality detection tree, multiple groups of PLC circuit control parameter sample data sets are randomly selected and multi-layered to construct the second PLC control abnormality detection tree...the ith PLC control abnormality detection tree. The second PLC control abnormality detection tree...the ith PLC control abnormality detection tree limits the storage of a sample data set of a characteristic value at any level. Further, the first PLC control abnormality detection tree, the second PLC control abnormality detection tree...the ith PLC control abnormality detection tree are merged to obtain a PLC control abnormality detection model. Then, the PLC circuit control parameters are collected in real time to obtain real-time control parameter monitoring data, and the real-time control parameter monitoring data is used as input information and input into the PLC control abnormality detection model to obtain abnormal control parameters, and PLC control abnormality warning is performed according to the abnormal control parameters. Among them, the PLC control abnormality detection model includes the first PLC control abnormality detection tree, the second PLC control abnormality detection tree...the ith PLC control abnormality detection tree. The real-time control parameter monitoring data includes real-time PLC circuit control parameters. The abnormal control parameters include abnormal PLC circuit control parameters in the real-time control parameter monitoring data. The technical effect of performing abnormal detection on the real-time control parameter monitoring data through the PLC control abnormality detection model, generating abnormal control parameters for PLC control abnormality warning, and improving the accuracy of PLC control abnormality warning is achieved.
[0066] In summary, the online monitoring and early warning method based on PLC intelligent control provided by this application has the following technical effects:
[0067] 1. Determine the starting point and end point of material transportation through the basic information of the material to be transported, and determine the material transportation pipeline path in combination with the wind material transportation device; traverse the material transportation pipeline path to determine the material transportation flow threshold sequence and material transportation speed threshold sequence; optimize and determine the pipeline valve control parameters and pipeline wind control parameters according to the material transportation flow threshold sequence and material transportation speed threshold sequence; input the pipeline valve control parameters and pipeline wind control parameters into the PLC circuit control parameter matching model to generate PLC circuit control parameters; construct a PLC control anomaly detection model according to the PLC circuit control parameters; input the real-time control parameter monitoring data into the PLC control anomaly detection model to generate abnormal control parameters for PLC control anomaly warning. The technical effect of improving the accuracy and intelligence of PLC control anomaly monitoring, improving the effect of PLC control anomaly monitoring, improving the accuracy of PLC control anomaly warning, and achieving a more accurate PLC control anomaly warning is achieved.
[0068] 2. By analyzing the material conveying flow threshold sequence and the material conveying speed threshold sequence, accurate valve opening interval sequence and pipeline wind speed interval sequence are obtained, thereby improving the accuracy of optimizing and determining the pipeline valve control parameters and pipeline wind speed control parameters.
[0069] 3. Through the fitness function, the valve opening interval sequence and the pipeline wind speed interval sequence are iterated for a preset number of times to obtain pipeline valve control parameters and pipeline wind speed control parameters with high accuracy and adaptability, thereby improving the intelligence and accuracy of PLC control abnormality warning.
[0070] 4. Through the pipeline transmission PLC control record data, a PLC circuit control parameter matching model with strong adaptability and high generalization performance is constructed, and the pipeline valve control parameters and pipeline wind control parameters are matched and analyzed through the PLC circuit control parameter matching model to obtain accurate PLC circuit control parameters, thereby improving the accuracy and comprehensiveness of PLC control abnormality monitoring.
[0071] Embodiment 2
[0072] Based on the same inventive concept as the online monitoring and early warning method based on PLC intelligent control in the aforementioned embodiment, the present invention also provides an online monitoring and early warning system based on PLC intelligent control, please refer to the attached Figure 3 , the system comprising:
[0073] An information acquisition module 11, wherein the information acquisition module 11 is used to acquire basic information of the material to be transported, wherein the basic information of the material to be transported includes the amount of material to be transported, the starting point of material transportation and the end point of material transportation;
[0074] A path determination module 12, the path determination module 12 is used to determine the material conveying pipeline path based on the material conveying starting point and the material conveying end point according to the wind material conveying device;
[0075] A sequence determination module 13, the sequence determination module 13 is used to traverse the material conveying pipeline path and determine a material conveying flow rate threshold sequence and a material conveying speed threshold sequence;
[0076] A parameter determination module 14, the parameter determination module 14 is used to optimize and determine pipeline valve control parameters and pipeline wind control parameters according to the material conveying flow rate threshold sequence and the material conveying speed threshold sequence;
[0077] A circuit control parameter generation module 15, wherein the circuit control parameter generation module 15 is used to input the pipeline valve control parameter and the pipeline wind power control parameter into a PLC circuit control parameter matching model to generate a PLC circuit control parameter;
[0078] A construction module 16, wherein the construction module 16 is used to construct a PLC control anomaly detection model according to the PLC circuit control parameters;
[0079] The abnormal warning module 17 is used to input the real-time control parameter monitoring data into the PLC control abnormality detection model, generate abnormal control parameters and perform PLC control abnormality warning.
[0080] Furthermore, the system also includes:
[0081] A feeding device acquisition module, the feeding device acquisition module is used to acquire a feeding device according to the material conveying pipeline path;
[0082] A valve acquisition module, the valve acquisition module is used to acquire a plurality of first valves according to the feeding device, wherein the plurality of first valves are multi-channel valves and are in a normally closed state;
[0083] A delivery pipeline generation module, the delivery pipeline generation module is used to divide the feeding device according to the plurality of first valves, and generate a first delivery pipeline, a second delivery pipeline, and finally an Nth delivery pipeline;
[0084] A first execution module, the first execution module is used to traverse the first conveying pipeline, the second conveying pipeline, and finally the Nth conveying pipeline to obtain pipeline diameter information and the type of material to be conveyed;
[0085] The second execution module is used to input the pipeline diameter information and the type of material to be transported into a transport parameter calibration table to obtain the material transport flow threshold sequence and the material transport speed threshold sequence.
[0086] Furthermore, the system also includes:
[0087] A valve opening interval sequence determination module, the valve opening interval sequence determination module is used to determine the valve opening interval sequence according to the material conveying flow rate threshold sequence;
[0088] A pipeline wind force interval sequence determination module, the pipeline wind force interval sequence determination module is used to determine the pipeline wind force interval sequence according to the material conveying speed threshold sequence;
[0089] The fitness function acquisition module is used to obtain the fitness function:
[0090]
[0091] in, Characterizes the valve opening of the nth pipeline, F n Characterizes the wind force in the nth transmission pipeline, ξ n Characterizes the resistance coefficient of the nth transmission pipeline, T represents the fitness, n∈N;
[0092] The third execution module is used to generate the pipeline valve control parameters and the pipeline wind force control parameters by optimizing based on the fitness function according to the valve opening interval sequence and the pipeline wind force interval sequence.
[0093] Furthermore, the system also includes:
[0094] A fourth execution module, the fourth execution module is used to obtain an mth valve opening sequence and an mth pipeline wind force sequence according to the valve opening interval sequence and the pipeline wind force interval sequence;
[0095] A fitness acquisition module, the fitness acquisition module is used to input the mth valve opening sequence and the mth pipeline wind force sequence into the fitness function to obtain the mth fitness;
[0096] A fitness determination module, the fitness determination module is used to determine whether the mth fitness is greater than or equal to the m-1th fitness;
[0097] An optimization result determination module, the optimization result determination module is used to set the mth valve opening sequence and the mth pipeline wind force sequence as the mth optimization result if it is greater than or equal to; if it is less than, set the m-1th valve opening sequence and the m-1th pipeline wind force sequence as the mth optimization result;
[0098] A control parameter determination module is used to determine whether m meets a preset number of times. If so, the pipeline valve control parameter and the pipeline wind control parameter are determined according to the mth optimization result.
[0099] Furthermore, the system also includes:
[0100] A fifth execution module, the fifth execution module is used to obtain pipeline transportation PLC control record data and build the PLC circuit control parameter matching model;
[0101] A PLC circuit control parameter generation module is used to input the pipeline valve control parameter and the pipeline wind control parameter into the PLC circuit control parameter matching model to generate the PLC circuit control parameter.
[0102] Furthermore, the system also includes:
[0103] A control parameter record data acquisition module, the control parameter record data acquisition module is used to acquire pipeline valve control parameter record data and pipeline valve PLC control parameter record data according to the pipeline transportation PLC control record data;
[0104] A sixth execution module, the sixth execution module is used to construct a pipeline valve PLC control parameter matching semi-model based on an artificial neural network according to the pipeline valve control parameter record data and the pipeline valve PLC control parameter record data;
[0105] A pipeline wind force record data acquisition module, the pipeline wind force record data acquisition module is used to acquire pipeline wind force control parameter record data and pipeline wind force PLC control parameter record data according to the pipeline transport PLC control record data;
[0106] A seventh execution module, the seventh execution module is used to construct a pipeline wind power PLC control parameter matching semi-model based on an artificial neural network according to the pipeline wind power control parameter record data and the pipeline wind power PLC control parameter record data;
[0107] A merging module is used to merge the pipeline valve PLC control parameter matching half model and the pipeline wind power PLC control parameter matching half model to generate the PLC circuit control parameter matching model.
[0108] Furthermore, the system also includes:
[0109] A sample collection module, the sample collection module is used to traverse the PLC circuit control parameters and collect multiple sets of PLC circuit control parameter sample data sets, the multiple sets of PLC circuit control parameter sample data sets are control parameters for normal operation, and the amount of characteristic value data of any control parameter is greater than or equal to 2;
[0110] A first control parameter sample data set acquisition module, the first control parameter sample data set acquisition module is used to acquire a first control parameter sample data set according to the multiple PLC circuit control parameter sample data sets;
[0111] a first PLC control anomaly detection tree construction module, the first PLC control anomaly detection tree construction module is used to construct a first PLC control anomaly detection tree based on the first group of control parameter sample data sets and multi-layer division according to data feature values, wherein any level of the first PLC control anomaly detection tree limits a sample data set of one feature value;
[0112] an i-th PLC control anomaly detection tree construction module, the i-th PLC control anomaly detection tree construction module is used to perform multi-layer division according to the i-th group of control parameter sample data sets according to the data characteristic values, and construct the i-th PLC control anomaly detection tree, wherein any level of the i-th PLC control anomaly detection tree is limited to store a sample data set of one characteristic value;
[0113] An abnormality detection tree merging module is used to merge the first PLC control abnormality detection tree to the i-th PLC control abnormality detection tree to generate the PLC control abnormality detection model.
[0114] The present application provides an online monitoring and early warning method based on PLC intelligent control, wherein the method is applied to an online monitoring and early warning system based on PLC intelligent control, and the method includes: determining the material conveying starting point and the material conveying end point through the basic information of the material to be conveyed, and determining the material conveying pipeline path in combination with the wind material conveying device; traversing the material conveying pipeline path, determining the material conveying flow threshold sequence and the material conveying speed threshold sequence; optimizing and determining the pipeline valve control parameters and the pipeline wind control parameters according to the material conveying flow threshold sequence and the material conveying speed threshold sequence; inputting the pipeline valve control parameters and the pipeline wind control parameters into the PLC circuit control parameter matching model to generate the PLC circuit control parameters; constructing the PLC control anomaly detection model according to the PLC circuit control parameters; inputting the real-time control parameter monitoring data into the PLC control anomaly detection model to generate the abnormal control parameters for the PLC control anomaly early warning. The method solves the technical problems that the control anomaly monitoring of PLC is not accurate enough and the intelligence level is low in the prior art, which results in poor control anomaly monitoring effect of PLC and inability to achieve a more accurate PLC control anomaly early warning. The technical effect of improving the accuracy and intelligence of PLC control abnormality monitoring, improving the effect of PLC control abnormality monitoring, improving the accuracy of PLC control abnormality warning, and achieving more accurate PLC control abnormality warning is achieved.
[0115] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0116] This specification and the drawings are merely exemplary illustrations of the present application. If modifications and variations of the present invention fall within the scope of the present invention and its equivalent technology, the present invention is intended to include these modifications and variations.
Claims
1. An online monitoring and early warning method based on PLC intelligent control, characterized in that: The method is implemented by an online monitoring and early warning system based on PLC intelligent control, and the system is applied to a wind-powered material conveying device, comprising: Obtaining basic information of the material to be transported, wherein the basic information of the material to be transported includes the amount of material to be transported, the starting point of material transportation, and the end point of material transportation; Based on the material conveying starting point and the material conveying end point, and according to the pneumatic material conveying device, determining the material conveying pipeline path; Traversing the material conveying pipeline path to determine a material conveying flow rate threshold sequence and a material conveying speed threshold sequence; According to the material conveying flow rate threshold sequence and the material conveying speed threshold sequence, optimizing and determining the pipeline valve control parameters and the pipeline wind force control parameters; Inputting the pipeline valve control parameter and the pipeline wind control parameter into a PLC circuit control parameter matching model to generate a PLC circuit control parameter; According to the PLC circuit control parameters, a PLC control anomaly detection model is constructed; Input the real-time control parameter monitoring data into the PLC control abnormality detection model to generate abnormal control parameters for PLC control abnormality warning; Wherein, optimizing and determining pipeline valve control parameters and pipeline wind control parameters according to the material conveying flow rate threshold sequence and the material conveying speed threshold sequence includes: Determining a valve opening interval sequence according to the material conveying flow rate threshold sequence; Determining a pipeline wind speed interval sequence according to the material conveying speed threshold sequence; Get the fitness function: ; in, Characterizes the valve opening of the nth transmission pipeline, Characterizes the wind force of the nth transmission pipeline, Characterizes the resistance coefficient of the nth conveying pipeline, Represents fitness, n∈N; According to the valve opening interval sequence and the pipeline wind force interval sequence, optimization is performed based on the fitness function to generate the pipeline valve control parameter and the pipeline wind force control parameter; The step of optimizing the valve opening interval sequence and the pipeline wind speed interval sequence based on the fitness function to generate the pipeline valve control parameters and the pipeline wind speed control parameters includes: According to the valve opening interval sequence and the pipeline wind force interval sequence, obtaining the mth valve opening sequence and the mth pipeline wind force sequence; Inputting the mth valve opening sequence and the mth pipeline wind force sequence into the fitness function to obtain the mth fitness; Determine whether the mth fitness is greater than or equal to the m-1th fitness; If it is greater than or equal to, the mth valve opening sequence and the mth pipeline wind force sequence are set as the mth optimization result; if it is less than, the m-1th valve opening sequence and the m-1th pipeline wind force sequence are set as the mth optimization result; It is determined whether m meets the preset number of times. If so, the pipeline valve control parameters and the pipeline wind control parameters are determined according to the mth optimization result.
2. The method according to claim 1, characterized in that The traversing the material conveying pipeline path to determine a material conveying flow rate threshold sequence and a material conveying speed threshold sequence includes: According to the material conveying pipeline path, obtaining a feeding device; According to the feeding device, a plurality of first valves are obtained, wherein the plurality of first valves are multi-channel valves and are in a normally closed state; Dividing the feeding device according to the plurality of first valves to generate a first conveying pipeline, a second conveying pipeline, and finally an Nth conveying pipeline; Traversing the first conveying pipeline, the second conveying pipeline, and finally the Nth conveying pipeline to obtain pipeline diameter information and the type of material to be conveyed; The pipeline diameter information and the type of material to be transported are input into a transport parameter calibration table to obtain the material transport flow threshold sequence and the material transport speed threshold sequence.
3. The method according to claim 1, characterized in that The step of inputting the pipeline valve control parameter and the pipeline wind control parameter into a PLC circuit control parameter matching model to generate a PLC circuit control parameter comprises: Acquire pipeline transportation PLC control record data and construct the PLC circuit control parameter matching model; The pipeline valve control parameters and the pipeline wind control parameters are input into the PLC circuit control parameter matching model to generate the PLC circuit control parameters.
4. The method according to claim 3, characterized in that The step of acquiring pipeline transport PLC control record data and constructing the PLC circuit control parameter matching model includes: According to the pipeline transportation PLC control record data, obtain pipeline valve control parameter record data and pipeline valve PLC control parameter record data; According to the pipeline valve control parameter record data and the pipeline valve PLC control parameter record data, based on the artificial neural network, a pipeline valve PLC control parameter matching semi-model is constructed; According to the pipeline transportation PLC control record data, pipeline wind power control parameter record data and pipeline wind power PLC control parameter record data are obtained; According to the pipeline wind power control parameter record data and the pipeline wind power PLC control parameter record data, based on the artificial neural network, a pipeline wind power PLC control parameter matching semi-model is constructed; The pipeline valve PLC control parameter matching half model and the pipeline wind power PLC control parameter matching half model are combined to generate the PLC circuit control parameter matching model.
5. The method according to claim 1, characterized in that The step of constructing a PLC control anomaly detection model according to the PLC circuit control parameters includes: Traversing the PLC circuit control parameters, collecting multiple sets of PLC circuit control parameter sample data sets, wherein the multiple sets of PLC circuit control parameter sample data sets are control parameters for normal operation, and the data volume of characteristic values of any one of the control parameters is greater than or equal to 2; According to the plurality of groups of PLC circuit control parameter sample data sets, a first group of control parameter sample data sets is acquired; Based on the first group of control parameter sample data sets, multi-layer division is performed according to data characteristic values to construct a first PLC control anomaly detection tree, wherein any level of the first PLC control anomaly detection tree limits a sample data set of one characteristic value; According to the i-th group of control parameter sample data sets, multi-layer division is performed according to the data characteristic values to construct the i-th PLC control anomaly detection tree, wherein any level of the i-th PLC control anomaly detection tree is limited to store a sample data set of one characteristic value; The first PLC control abnormality detection tree to the i-th PLC control abnormality detection tree are merged to generate the PLC control abnormality detection model.
6. An online monitoring and early warning system based on PLC intelligent control, characterized in that: The system is applied to a pneumatic material conveying device, and the system comprises: An information acquisition module, the information acquisition module is used to acquire basic information of the material to be transported, wherein the basic information of the material to be transported includes the amount of material to be transported, the starting point of material transportation and the end point of material transportation; A path determination module, the path determination module is used to determine the material conveying pipeline path based on the material conveying starting point and the material conveying end point according to the wind-powered material conveying device; A sequence determination module, the sequence determination module is used to traverse the material conveying pipeline path and determine a material conveying flow rate threshold sequence and a material conveying speed threshold sequence; A parameter determination module, the parameter determination module is used to optimize and determine pipeline valve control parameters and pipeline wind control parameters according to the material conveying flow rate threshold sequence and the material conveying speed threshold sequence; A circuit control parameter generation module, wherein the circuit control parameter generation module is used to input the pipeline valve control parameter and the pipeline wind power control parameter into a PLC circuit control parameter matching model to generate a PLC circuit control parameter; A construction module, wherein the construction module is used to construct a PLC control anomaly detection model according to the PLC circuit control parameters; An abnormal warning module, the abnormal warning module is used to input the real-time control parameter monitoring data into the PLC control abnormality detection model, generate abnormal control parameters for PLC control abnormality warning; The system further comprises: A valve opening interval sequence determination module, the valve opening interval sequence determination module is used to determine the valve opening interval sequence according to the material conveying flow rate threshold sequence; A pipeline wind force interval sequence determination module, the pipeline wind force interval sequence determination module is used to determine the pipeline wind force interval sequence according to the material conveying speed threshold sequence; The fitness function acquisition module is used to obtain the fitness function: ; in, Characterizes the valve opening of the nth transmission pipeline, Characterizes the wind force of the nth transmission pipeline, Characterizes the resistance coefficient of the nth conveying pipeline, Represents fitness, n∈N; A third execution module, the third execution module is used to generate the pipeline valve control parameter and the pipeline wind force control parameter by optimizing based on the fitness function according to the valve opening interval sequence and the pipeline wind force interval sequence; The system further comprises: A fourth execution module, the fourth execution module is used to obtain an mth valve opening sequence and an mth pipeline wind force sequence according to the valve opening interval sequence and the pipeline wind force interval sequence; A fitness acquisition module, the fitness acquisition module is used to input the mth valve opening sequence and the mth pipeline wind force sequence into the fitness function to obtain the mth fitness; A fitness determination module, the fitness determination module is used to determine whether the mth fitness is greater than or equal to the m-1th fitness; An optimization result determination module, the optimization result determination module is used to set the mth valve opening sequence and the mth pipeline wind force sequence as the mth optimization result if it is greater than or equal to; if it is less than, set the m-1th valve opening sequence and the m-1th pipeline wind force sequence as the mth optimization result; A control parameter determination module is used to determine whether m meets a preset number of times. If so, the pipeline valve control parameter and the pipeline wind control parameter are determined according to the mth optimization result.
Citation Information
Patent Citations
Full-automatic boiler feedwater oxygenating device and full-automatic boiler feedwater oxygenating method
CN102633371A
Zero-crushing negative pressure wind power conveying device and control method
CN107640594A
