A real-time monitoring system for operating data of extruded wall panel machine
By segmenting and merging the historical data of the extrusion wall panel machine, generating stage sample data, and using the cluster center sample data to calculate the abnormal score, the problem of excessive calculation amount of the traditional CBLOF algorithm is solved, and the extrusion wall panel machine is realized. Real-time monitoring and abnormal identification of board machines reduce production costs.
Patent Information
- Application Number
- CN202410788917.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-06-19
AI Technical Summary
When the traditional CBLOF algorithm processes real-time data from extruded wallboard machines, the computational requirements are too high, making it difficult for the monitoring system to achieve real-time monitoring in actual production.
Historical and real-time sample data are obtained through the data acquisition module. The historical data processing module segments and merges the data, generates stage sample data, and uses the cluster center sample data to calculate abnormal scores. The real-time monitoring module performs real-time monitoring based on the abnormal scores. , avoiding the repeated clustering process of real-time data.
It reduces the calculation amount of the monitoring method, reduces the computing performance requirements of the monitoring system, improves the sensitivity to abnormal data, enables timely identification and early warning, and ensures production safety and product quality.
Smart Images

Figure CN118364327B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of monitoring operating data of an extruded wall panel machine, and in particular to a real-time monitoring system for operating data of an extruded wall panel machine. Background Art
[0002] Production lines for automated manufacturing of extruded wall panels usually require more sophisticated real-time monitoring to ensure safe and efficient operation of the production line. By monitoring the various sensor data of the equipment, the CBLOF anomaly detection algorithm can capture data patterns that are inconsistent with normal operating modes, thereby discovering potential problems early and avoiding equipment downtime or reduced production quality due to failure, helping to reduce maintenance costs and extend the life of the equipment.
[0003] The traditional CBLOF algorithm quantifies the degree of anomaly by the distance between the sample point and each cluster in the clustering result. However, for real-time changing data, when the traditional CBLOF algorithm detects anomalies, each new sample needs to be re-substituted into the algorithm, which will generate a large number of redundant calculation processes and place too much computing demand on the monitoring system, which is not conducive to real-time monitoring of the extruded wall panel machine in actual production. Summary of the invention
[0004] In order to solve the technical problem that the traditional CBLOF algorithm has too high a computational demand on the monitoring system when processing the real-time data of the extruded wall panel machine, the purpose of the present invention is to provide a real-time monitoring system for the operation data of the extruded wall panel machine. The technical solution adopted is as follows:
[0005] A real-time monitoring system for operation data of an extruded wall panel machine, the system comprising:
[0006] Data acquisition module: obtains historical sample data and real-time sample data of the extrusion wall panel machine without abnormalities; records the data monitored during one extrusion process as one sample data; the sample data includes at least one dimension;
[0007] Historical data processing module: segment the data of each dimension of the historical sample data in time series using a preset classification algorithm to obtain initial segmented data of each dimension; merge the initial segmented data according to the difference characteristics between the adjacent initial segmented data in the same dimension in each historical sample data to obtain stage sample data of each extrusion stage in each dimension; obtain the distance parameter between any two historical sample data according to the difference characteristics of the stage sample data of the same extrusion stage between any two historical sample data in each dimension; cluster all the historical sample data according to the distance parameter to obtain different cluster clusters and cluster center sample data in each cluster cluster;
[0008] Real-time monitoring module: in each dimension, according to the data difference characteristics of each cluster center sample data and the real-time sample data in all the same extrusion stages, combined with the distance characteristics from the non-cluster center sample data to the cluster center sample data in each cluster cluster, the anomaly score of the real-time sample data at the current moment is obtained; the extrusion wall panel machine is monitored in real time according to the anomaly score at the current moment.
[0009] Furthermore, the method for obtaining the initial segmented data includes:
[0010] By using the Fisher optimal solution, the data of each dimension of each historical sample data is divided into preset segmentation parameter segments on the time axis to obtain initial segmentation data.
[0011] Furthermore, the method for obtaining the stage sample data includes:
[0012] Performing straight line fitting on each of the initial segmented data to obtain a fitting straight line for each of the initial segmented data;
[0013] In each dimension, for two adjacent initial segmented data on the historical sample data, the fitting data are obtained by using the fitting straight line of each other, and the degree of difference between the adjacent initial segmented data is obtained according to the difference characteristics of the initial segmented data and the fitting data and the number of data points of the initial segmented data;
[0014] According to the number of data points of two adjacent initial segmented data and the preset merging parameters, a corresponding merging threshold is obtained; when the degree of difference is less than or equal to the merging threshold, the two adjacent initial segmented data are merged; after the initial segmented data are merged, the stage sample data is obtained.
[0015] Furthermore, the calculation formula of the difference degree includes:
[0016] ;in, Indicates the serial number of historical sample data; The serial number representing the dimension of historical sample data; Indicates the serial number of the initial segmented data of a certain dimension of the historical sample data; Indicates In the dimension, Among the historical sample data, and The degree of difference between the initial segmentation data; Indicates In the dimension, Among the historical sample data, The number of data points of the initial segmentation data; Indicates In the dimension, Among the historical sample data, The number of data points of the initial segmentation data; Indicates In the dimension, Among the historical sample data, The first segment of the initial segment data The data value of the data point; Indicates In the dimension, Among the historical sample data, The first segment of the initial segment data Data points using The fitting value obtained by fitting the straight line of the initial segmented data; Indicates In the dimension, Among the historical sample data, The first segment of the initial segment data The data value of the data point; Indicates In the dimension, Among the historical sample data, The first segment of the initial segment data Data points using The fitted value obtained by fitting the straight line of the initial segmented data.
[0017] Furthermore, the method for obtaining the merging threshold includes:
[0018] The sum of the number of data points of two adjacent initial segmented data is obtained, and then multiplied by a preset merging parameter, and the product is used as a merging threshold of the corresponding two adjacent initial segmented data.
[0019] Furthermore, the method for obtaining the distance parameter includes:
[0020] Perform straight line fitting on each of the stage sample data to obtain the slope of the fitted straight line of each of the stage sample data; in each dimension, use the DTW algorithm to match the slopes of the stage sample data of any two of the historical sample data; obtain the first difference degree parameter of each pair of matched stage sample data according to the difference in the change characteristics and the difference in the slope of each pair of matched stage sample data in the matching results;
[0021] The average value of all the first difference degree parameters corresponding to any two of the historical sample data is used as the distance parameter between the corresponding two of the historical sample data.
[0022] Furthermore, the method for obtaining the first difference degree parameter includes:
[0023] Obtain the variance of the first-order difference sequence of the sample data at each stage in each pair of matches, and use the product of the variance of the first-order difference sequence and the slope as the change characteristic parameter of the sample data at each stage; positively correlate the absolute values of the difference between the change characteristic parameters of the sample data at two stages in each pair of matching results to obtain the first difference degree parameter of the stage sample data of each pair of matches.
[0024] Furthermore, the method for obtaining the abnormal score includes:
[0025] Select any dimension of any of the cluster center sample data as target data, and the corresponding dimension as the target dimension; use the data on the target dimension in the data segment of the real-time sample data that has been collected at the current moment as the data to be analyzed;
[0026] Aligning the data to be analyzed with the target data in a left-aligned manner on the time axis; segmenting the data to be analyzed according to the stage sample data of the target data, taking the segmented data at the same position in the data to be analyzed and the target data as a pair of matching stage sample data, and obtaining a second difference degree parameter for each pair of matching stage sample data;
[0027] At the current moment, the mean of all the second difference degree parameters obtained between each of the cluster center sample data and the real-time sample data in all dimensions is obtained as a reference distance parameter between each of the cluster center sample data and the real-time sample data;
[0028] The standard deviation of the distance parameter between the non-cluster center sample data and the cluster center sample data in the cluster cluster where each cluster center sample data is located is obtained as the correction parameter; the minimum value of the ratio of all reference distance parameters at the current moment to the corresponding correction parameter is taken as the abnormality score at the current moment.
[0029] Furthermore, the method for real-time monitoring of the extruded wall panel machine according to the abnormal score at the current moment includes:
[0030] When the abnormal score of the real-time sample data is greater than a preset abnormal score threshold, the operation of the extrusion wall panel machine is stopped and an alarm is issued.
[0031] Furthermore, the clustering algorithm used for the cluster center sample data is a K-means clustering algorithm.
[0032] The present invention has the following beneficial effects:
[0033] The present invention first obtains the anomaly-free historical sample data and real-time sample data of the extruded wall panel machine, providing a data basis for the subsequent real-time monitoring of the extruded wall panel machine; further adaptively segments each dimension data of each historical sample data, and merges the data that may be in the same working stage to obtain stage sample data, which is more conducive to analyzing the local characteristics of the data and identifying the working state of the extruded wall panel machine, thereby accurately monitoring the extruded wall panel machine in real time; further, according to the difference characteristics of the stage sample data of all the same extrusion stages in all the same dimensions between any two historical sample data, the distance parameter between any two historical sample data is obtained, providing clustering parameters for subsequent clustering operations; further, all historical sample data are clustered, so that when the anomaly score of the real-time sample data is calculated later, the real-time sample data can be directly analyzed. The difference characteristics between the real-time sample data and the cluster center sample data are used to avoid the need for real-time clustering when the CBLOF algorithm scores the real-time data, thereby reducing the redundant calculation amount of repeated clustering; the real-time sample data is further matched with the sample data of each cluster center, and the data difference between the real-time sample data and the sample data of each cluster center in the same dimension and the same stage is analyzed to obtain the abnormal score of the real-time sample data at the current moment, so as to provide an evaluation basis for the real-time operation status of the extruded wall panel machine. At the same time, the real-time acquisition of the abnormal score can identify early abnormal data, improve the sensitivity of the monitoring system to abnormal data, and be more conducive to ensuring the quality of production products and protecting production equipment; finally, the extruded wall panel machine is monitored in real time according to the abnormal score at the current moment, and the operation of the extruded wall panel machine can be stopped in time and an alarm can be issued to ensure production safety. The present invention improves the traditional CBLOF algorithm, and no longer needs to cluster all data in real time according to the real-time data, thereby reducing the calculation amount of the monitoring method, reducing the computing performance requirements of the monitoring system, reducing the production cost, and being more suitable for industrial production. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0035] Figure 1 A system block diagram of a real-time monitoring system for operating data of an extruded wall panel machine provided by one embodiment of the present invention. DETAILED DESCRIPTION
[0036] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the specific implementation method, structure, features and effects of a real-time monitoring system for operation data of an extruded wall panel machine proposed by the present invention in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0037] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0038] The specific scheme of a real-time monitoring system for operation data of an extruded wall panel machine provided by the present invention is described in detail below with reference to the accompanying drawings.
[0039] See also Figure 1 , which shows a system block diagram of a real-time monitoring system for operation data of an extruded wall panel machine provided by an embodiment of the present invention. The system includes: a data acquisition module 101, a historical data processing module 102 and a real-time monitoring module 103.
[0040] The present invention is based on the CBLOF algorithm, by acquiring historical sample data without abnormalities, analyzing the difference characteristics between the historical sample data in all monitoring dimensions, and clustering the historical sample data; then, through the difference between the real-time sample data and the central sample data of each clustering cluster, the reference distance is obtained, so as to perform an abnormality score on the data at the current moment, and finally the extrusion wall panel machine is monitored in real time according to the abnormal score. It is no longer necessary to cluster all the data in real time according to the real-time data, which reduces the calculation amount of the monitoring method, reduces the calculation performance requirements of the monitoring system, reduces the production cost, and is more suitable for industrial production.
[0041] Data collection module 101: obtains historical sample data of the extruded wall panel machine without abnormalities and real-time sample data of the extruded wall panel machine; records the data monitored during one extrusion process as one sample data; the sample data includes at least one dimension.
[0042] In an embodiment of the present invention, considering that the production process of the extruded wall panel machine is periodic, the monitored data is also periodic in time series, so the data monitored during one extrusion process is recorded as a sample data; while the present invention is based on the idea of the CBLOF algorithm, in order to avoid the need for real-time clustering when the CBLOF algorithm scores real-time data, it is necessary to first use historical data to obtain clustering clusters before the real-time sample data can be scored for abnormalities, so the historical sample data of the extruded wall panel machine is first obtained. Considering that it is necessary to obtain evaluation basis based on historical data, the historical sample data is non-abnormal data, so as to avoid making wrong judgments on the extruded wall panel machine running in real time; at the same time, the data acquisition module is used to obtain real-time sample data to provide a data basis for subsequent real-time monitoring of the extruded wall panel machine.
[0043] It should be noted that the CBLOF algorithm is a technical means well known to those skilled in the art and will not be described in detail here. In one embodiment of the present invention, the collection frequency of operating data is once per second, each type of monitoring data is a dimension, and the dimensions of the sample data include: pressure data, extrusion screw temperature, mold temperature, motor current and voltage data. In other embodiments of the present invention, the implementer can use other collection frequencies according to actual needs to adjust the type and quantity of data to be monitored for the sample data.
[0044] Historical data processing module 102: Use a preset classification algorithm to segment the data of each dimension of the historical sample data in time series to obtain initial segmented data of each dimension; merge the initial segmented data according to the difference characteristics between adjacent initial segmented data in the same dimension in each historical sample data to obtain stage sample data of each extrusion stage in each dimension; in each dimension, according to the difference characteristics of the stage sample data of the same extrusion stage between any two historical sample data, obtain the distance parameter between any two historical sample data; cluster all historical sample data according to the distance parameter to obtain different cluster clusters and cluster center sample data in each cluster cluster.
[0045] In an embodiment of the present invention, taking into account that there are different extrusion stages in an extrusion process of an extruded wall panel machine, for example, pressure data can be roughly divided into an initial stage, a stage of gradually increasing pressure, a stable pressure stage, a descending stage, etc., dividing the data into different extrusion stages is more conducive to analyzing local characteristics of the data, and is conducive to identifying the working status of the extruded wall panel machine, and accurately monitoring the extruded wall panel machine in real time. Therefore, each dimension data of each historical sample data is first segmented, and then the data that may be in the same working stage are merged to obtain stage sample data.
[0046] Preferably, in one embodiment of the present invention, considering that the operating data of each stage of the extruded wall panel machine has the characteristics of linear change, and the Fisher optimal solution is suitable for the field of pattern recognition, and has strong adaptability and division effect on linearly separable data, the Fisher optimal solution is used for preliminary division, and the data of each dimension of each historical sample data is divided into preset segmentation parameter segments on the time axis to obtain initial segmented data.
[0047] It should be noted that Fisher's optimal solution is a technical means well known to those skilled in the art and will not be described in detail here. In one embodiment of the present invention, the preset segmentation parameter is 20. When a single data point is divided into a segment, it is divided into adjacent segments. In one embodiment of the present invention, it is divided into the right adjacent data segment in time series; in other embodiments of the present invention, the implementer can set other segmentation parameters.
[0048] After the data of each dimension is initially divided, the difference characteristics between adjacent initial segmented data can be analyzed, and adjacent initial segmented data with small differences can be merged to obtain the stage sample data of each dimension.
[0049] Preferably, in one embodiment of the present invention, considering that between adjacent initial segmented data, the stronger the adaptability of one segmented data to the fitting line of another segmented data, the more likely these two adjacent initial segmented data are data of the same working stage of the extruded wall panel machine, and the more they need to be divided into one stage; and considering that when different amounts of data are fitted with a straight line, the credibility of the fitting line is different, the quantity characteristics of the data points are used for weighting, based on which, a straight line fitting is performed on each initial segmented data to obtain a fitting line for each initial segmented data;
[0050] In each dimension, for two adjacent initial segmented data on the historical sample data, the fitting data is obtained by using the fitting straight line of the other party. According to the difference characteristics of the initial segmented data and the fitting data, the difference degree between the adjacent initial segmented data is obtained in combination with the number of data points of the initial segmented data. The calculation formula of the difference degree includes:
[0051] ;
[0052] in, Indicates the serial number of historical sample data; The serial number representing the dimension of historical sample data; Indicates the serial number of the initial segmented data of a certain dimension of the historical sample data; Indicates In the dimension, Among the historical sample data, and The degree of difference between the initial segmentation data; Indicates In the dimension, Among the historical sample data, The number of data points of the initial segmentation data; Indicates In the dimension, Among the historical sample data, The number of data points of the initial segmentation data; Indicates In the dimension, Among the historical sample data, The first segment of the initial segment data The data value of the data point; Indicates In the dimension, Among the historical sample data, The first segment of the initial segment data Data points using The fitting value obtained by fitting the straight line of the initial segmented data; Indicates In the dimension, Among the historical sample data, The first segment of the initial segment data The data value of the data point; Indicates In the dimension, Among the historical sample data, The first segment of the initial segment data Data points using The fitted value obtained by fitting the straight line of the initial segmented data.
[0053] In the calculation formula of the difference degree, The smaller the Segment data using The smaller the difference between the fitted value and the data value of the fitting line of the segment data is, the Segment data and The higher the fit of the fitting line of the segment data, the smaller the degree of difference; In The larger the The more data points there are in a segment, the The higher the confidence of the fitting line of the segment data, the higher the confidence of the fitting value obtained by the fitting line. Segment data and The higher the reliability of the fitting line of the segment data, the better the reliability of the fitting line. The smaller the Segment data and The higher the fit of the fitting line of the segment data, the smaller the degree of difference; In The larger the Segment data and The higher the confidence level of the fitted line of the segment data, the better the fit.
[0054] It should be noted that in other embodiments of the present invention, other basic mathematical operations or function mappings may also be used to implement relevant mappings, which are technical means well known to those skilled in the art and will not be elaborated herein.
[0055] Preferably, in one embodiment of the present invention, considering that the larger the data volume of the two initial segmented data is, the larger the data volume analyzed when analyzing the difference features between the two segments of data is, and the more likely the difference features are to be larger, the calculation of the merging threshold needs to be supplemented according to the data volume of the two initial segmented data; based on this, according to the number of data points of two adjacent initial segmented data and the preset merging parameter, the sum of the number of data points of the two adjacent initial segmented data is obtained, and then multiplied by the preset merging parameter, and the product is used as the merging threshold of the corresponding two adjacent initial segmented data; when the degree of difference is less than or equal to the merging threshold, the two adjacent initial segmented data are merged; after the initial segmented data are merged, the stage sample data is obtained. The calculation formula of the merging threshold includes:
[0056] ;
[0057] in, Indicates the serial number of historical sample data; The serial number representing the dimension of historical sample data; Indicates the serial number of the initial segmented data of a certain dimension of the historical sample data; Indicates In the dimension, Among the historical sample data, and The merge threshold between the initial segmented data; Indicates In the dimension, Among the historical sample data, The number of data points of the initial segmentation data; Indicates In the dimension, Among the historical sample data, The number of data points of the initial segmentation data; Indicates preset merge parameters.
[0058] It should be noted that in one embodiment of the present invention, the preset merging parameter is 0.05. In other embodiments of the present invention, the implementer can set other merging parameters to adjust the merging threshold, and can also use other basic mathematical operations or function mappings to achieve relevant mappings. These are technical means well known to those skilled in the art and will not be elaborated here.
[0059] In an embodiment of the present invention, considering that the CBLOF algorithm needs to cluster the data first when judging the abnormality of the data, and the data is scored for abnormality by analyzing the distance from the data to the cluster cluster, the present invention is based on the idea of the CBLOF algorithm. In order to avoid the process of real-time clustering required when the CBLOF algorithm scores real-time data, it is necessary to cluster the historical sample data, and clustering first needs to obtain the distance between samples. Considering that clustering is to aggregate data of the same category together, and between two historical sample data, the smaller the difference in stage sample data of the same extrusion stage of the same dimension, the higher the similarity of the two historical sample data, and the more likely they belong to the same category, so it is more possible to obtain the distance parameter between any two historical sample data.
[0060] Preferably, in one embodiment of the present invention, considering that the number of stage sample data divided by each dimension in different historical sample data is different, the stage sample data of the same dimension of two historical sample data cannot be matched by using serial numbers, and the DTW algorithm can find the optimal nonlinear match between two time series, which is particularly suitable for processing time series with different lengths or different data quantities. Therefore, the DTW algorithm is used to match the slopes that can represent the stage sample data to obtain pairs of stage sample data of the same working stage; and considering that the smaller the difference in the change characteristics between each pair of matched stage sample data and the more similar the slopes are, the smaller the difference between the two stage sample data is, and the first-order difference sequence of the data can reflect the change trend of the data, and considering that the standard deviation can reflect the fluctuation characteristics of the numerical value, the difference degree parameter between each pair of matched stage sample data is obtained by comprehensively considering the difference in the standard deviation and the slope of the first-order difference sequence.
[0061] Based on this, a straight line fitting is performed on the sample data of each stage to obtain the slope of the fitting line of the sample data of each stage; in each dimension, the DTW algorithm is used to match the slopes of the stage sample data of any two historical sample data; in the matching results, the variance of the first-order difference sequence of the sample data of each stage in each pair of matches is obtained, and the product of the variance of the first-order difference sequence and the slope is used as the change characteristic parameter of the sample data of each stage; the absolute value of the difference between the change characteristic parameters of the sample data of the two stages in each pair of matching results is positively correlated to obtain the first difference degree parameter of each pair of matching stage sample data.
[0062] The mean value of all first difference degree parameters corresponding to any two historical sample data is used as the distance parameter between the corresponding two historical sample data.
[0063] The first difference degree parameter calculation formula includes:
[0064] ;
[0065] in, and represents the sequence number of the historical sample data, and ; The serial number representing the dimension of historical sample data; Indicated in In the dimension, Historical sample data and The historical sample data The difference degree parameter corresponding to the matching results; Indicates In the dimension, Among the historical sample data, The stage sample data corresponding to the matching results; Indicates In the dimension, Among the historical sample data, The first-order difference sequence of the stage sample data corresponding to the matching result; Indicates In the dimension, Among the historical sample data, The standard deviation of the first-order difference sequence of the stage sample data corresponding to the matching result; Indicates In the dimension, Among the historical sample data, The slope of the fitted straight line of the stage sample data corresponding to the matching result; Indicates In the dimension, The historical sample data The stage sample data corresponding to the matching results; Indicates In the dimension, The historical sample data The first-order difference sequence of the stage sample data corresponding to the matching result; Indicates In the dimension, The historical sample data The standard deviation of the first-order difference sequence of the stage sample data corresponding to the matching result; Indicates In the dimension, The historical sample data The slope of the fitted straight line of the stage sample data corresponding to the matching result; Expressed as a natural constant An exponential function with base .
[0066] In the calculation formula of the difference degree parameter, The larger the The greater the difference in the standard deviation and slope of the first-order difference series of the sample data of the two stages of the matching results, the greater the difference between the sample data of the two stages, and the larger the difference degree parameter; the larger the mean of all the difference degree parameters between the two historical sample data, the greater the overall difference between the two historical sample data, and the larger the distance parameter.
[0067] It should be noted that in other embodiments of the present invention, other basic mathematical operations or function mappings may also be used to implement relevant mappings, which are technical means well known to those skilled in the art and will not be elaborated herein.
[0068] After obtaining the distance parameters between the historical sample data, the historical sample data can be clustered to obtain the cluster center sample data of the cluster center, so as to prepare for the subsequent analysis of the difference between the real-time sample data and the cluster center sample data and the abnormal evaluation of the real-time sample data.
[0069] Preferably, in one embodiment of the present invention, considering that the K-means clustering algorithm is a simple and efficient unsupervised clustering method, which has good performance when processing large-scale data in industrial production, the K-means clustering algorithm is used to cluster the historical sample data. In one embodiment of the present invention, the number of clusters is set to 5, and in other embodiments of the present invention, the implementer can set other numbers of clusters.
[0070] It should be noted that the K-means clustering algorithm and the DTW algorithm are both well-known technical means to those skilled in the art, and will not be described in detail here.
[0071] Real-time monitoring module 103: In each dimension, based on the data difference characteristics of each cluster center sample data and the real-time sample data in all the same extrusion stages, combined with the distance characteristics from the non-cluster center sample data to the cluster center sample data in each cluster cluster, the anomaly score of the real-time sample data at the current moment is obtained; and the extrusion wall panel machine is monitored in real time according to the anomaly score at the current moment.
[0072] In an embodiment of the present invention, considering that the greater the data difference between the real-time sample data and the cluster center sample data in the same extrusion stage, the lower the possibility of being divided into the cluster, which means that the working state of the extruded wall panel machine is more likely to be abnormal, by analyzing the data difference characteristics between each cluster center sample data and the real-time sample data in all the same extrusion stages, the repeated clustering process in the CBLOF algorithm can be avoided and the calculation redundancy can be reduced; considering that the sample size of the cluster clusters in the clustering results may not be the same and the size of the cluster clusters may be different, it is also necessary to combine the distance characteristics from the non-cluster center sample data to the cluster center sample data in each cluster cluster to obtain the abnormal score of the real-time sample data at the current moment.
[0073] Preferably, in one embodiment of the present invention, considering that the data length of the real-time sample data monitored by a new round of squeezing process is constantly changing, the real-time data cannot be divided in the same way as the historical sample data, and the real-time sample data needs to be matched with the cluster center sample data; considering that the duration of different squeezing stages of each squeezing process is roughly the same, the real-time sample data can be divided with the help of the division result of the cluster center sample data, so as to obtain matching segmented data pairs, and the difference degree parameter calculation formula can be used to obtain the difference degree parameter;
[0074] Based on this, select any dimension of the sample data of any cluster center as the target data, and the corresponding dimension as the target dimension; take the data on the target dimension in the data segment that has been collected by the real-time sample data at the current moment as the data to be analyzed;
[0075] The data to be analyzed are aligned with the target data in a left-aligned manner on the time axis; the data to be analyzed are segmented according to the stage sample data of the target data, and the segmented data at the same position in the data to be analyzed and the target data are taken as a pair of matching stage sample data, and a second difference degree parameter of each pair of matching stage sample data is obtained;
[0076] At the current moment, the mean of all second difference degree parameters obtained between each cluster center sample data and the real-time sample data in all dimensions is obtained as the reference distance parameter between each cluster center sample data and the real-time sample data.
[0077] For example: there is a historical sample data as the cluster center sample data, and the voltage data is selected as the target dimension. The voltage data has a total of 80 data points, which are evenly divided into 4 stages of sample data. The identifier of the target data is set to A, and the identifier of the data to be analyzed is set to B. Then the target data are A1[1, 20], A2[21, 40], A3[41, 60], A4[61, 80]; when there are 15 voltage data of the real-time sample data, they are all divided into the first stage, that is, B1[1, 15] is obtained, A1 and B1 are taken as a matching pair, and the second difference degree parameter is obtained in the same way as the first difference degree parameter calculation formula; when the length of the data to be analyzed increases to 25, the first 20 data are divided into the first stage, That is, B1 becomes [1, 20], and the 5 data with serial numbers 21-25 are divided into the second stage, and B2[21, 25] is obtained. At this time, there are two matching pairs, A1 and B1, A2 and B2; when the length of the data to be analyzed increases to 50, according to the division result of the target data, the data to be analyzed is divided into B1[1, 20], B2[21, 40], B3[41, 50], at this time there are three matching pairs, A1 and B1, A2 and B2, A3 and B3; every time new data is collected, the length of the data to be analyzed will increase, and it is necessary to calculate a new second difference degree parameter for the current data to be analyzed, so as to obtain the abnormal score at the current moment, realize real-time updating of the abnormal score, and monitor the working status of the extrusion wall panel machine in real time.
[0078] It should be noted that the calculation process of the second difference degree parameter is consistent with the calculation process of the first difference degree parameter, which will not be described in detail here. Since the calculation process of the second difference degree parameter requires the use of a first-order difference sequence, when there is only one data in a segment of the data to be analyzed, one data can be borrowed from the previous segment for transition. For example, in B2
[21] , there is only one voltage data with a serial number of 21. At this time, the voltage data with a serial number of 20 can be temporarily included in B2, so that B2 temporarily becomes B2[20, 21] to ensure that the second difference degree parameter can be calculated. For the case where there is only one data in B1, the implementer can borrow the end data of the voltage data of the previous extrusion process for transition, or set the first data collected in each extrusion process not to perform abnormal scoring, and start abnormal scoring from the second data collection, or the implementer can use other methods to transition.
[0079] Considering that the historical data used in the present invention are all normal production data, and the sample sizes of the clusters in the clustering results may not be the same, it is necessary to use the standard deviation of the distance from each non-central historical sample data to the central sample data in the cluster to make corrections. At this time, the abnormal score will be approximately normally distributed, and the reliability of the subsequent given abnormal score threshold will be higher. Based on this, the standard deviation of the distance parameter between the non-cluster center sample data and the cluster center sample data in the cluster where each cluster center sample data is located is obtained as a correction parameter; the minimum value of the ratio of all reference distance parameters at the current moment to the corresponding correction parameter is taken as the abnormal score at the current moment. The calculation formula for the abnormal score includes:
[0080] ;
[0081] in, Indicates that real-time sample data is The anomaly score at each sampling moment; Indicates the number of cluster center sample data; Indicates the serial number of the cluster center sample data; Indicates The data at the sampling moment is The second difference degree parameter corresponding to the cluster center sample data; No. The correction parameters corresponding to the cluster center sample data; Indicates The union of all second difference degree parameters corresponding to the data at sampling moments, represents the minimum function, Indicates The minimum value of the union of all second difference degree parameters corresponding to the data at the sampling moments.
[0082] It should be noted that in other embodiments of the present invention, other basic mathematical operations or function mappings may also be used to implement relevant mappings, which are technical means well known to those skilled in the art and will not be elaborated herein.
[0083] After obtaining the abnormal score of the real-time sample data at the current moment, the extruded wall panel machine can be monitored in real time.
[0084] Preferably, in one embodiment of the present invention, when the abnormal score of the real-time sample data is greater than a preset abnormal score threshold, the operation of the extrusion wall panel machine is stopped and an alarm is issued.
[0085] It should be noted that, in one embodiment of the present invention, the preset abnormality score threshold is 0.5; in another embodiment of the present invention, when calculating the abnormality score, the standard deviation is replaced by the maximum value, that is, , Indicates In the cluster where the cluster center sample data is located, the maximum value of the distance parameter between other historical sample data and the cluster center sample data. At this time, the preset anomaly score threshold is changed to 1. When the anomaly score is greater than 1, it means that the real-time sample data is far away from all cluster centers. It is very likely that an abnormal situation will occur, and the operation of the extrusion wall panel machine will be stopped and an alarm will be issued.
[0086] In summary, the present invention aims at the technical problem that the traditional CBLOF algorithm has too high a computational demand on the monitoring system when processing the real-time data of the extruded wall panel machine, and proposes a real-time monitoring system for the operation data of the extruded wall panel machine. The present invention first obtains the historical sample data of the extruded wall panel machine without abnormalities; further segments each dimension data of each historical sample data to obtain stage sample data; further clusters all the historical sample data according to the difference characteristics of the stage sample data of all the same extrusion stages in all the same dimensions between any two historical sample data; further obtains the abnormal score of the real-time sample data at the current moment; finally, the extruded wall panel machine is monitored in real time according to the abnormal score at the current moment. The present invention improves the traditional CBLOF algorithm, and no longer needs to cluster all the data in real time based on the real-time data, which reduces the computational load of the monitoring method, reduces the computing performance requirements of the monitoring system, reduces the production cost, and is more suitable for industrial production.
[0087] It should be noted that the sequence of the above embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0088] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
Claims
1. A real-time monitoring system for operation data of an extruded wall panel machine, characterized in that: The system comprises: Data acquisition module: obtains historical sample data and real-time sample data of the extrusion wall panel machine without abnormalities; records the data monitored during one extrusion process as one sample data; the sample data includes at least one dimension; Historical data processing module: segment the data of each dimension of the historical sample data in time series using a preset classification algorithm to obtain initial segmented data of each dimension; merge the initial segmented data according to the difference characteristics between the adjacent initial segmented data in the same dimension in each historical sample data to obtain stage sample data of each extrusion stage in each dimension; obtain the distance parameter between any two historical sample data according to the difference characteristics of the stage sample data of the same extrusion stage between any two historical sample data in each dimension; cluster all the historical sample data according to the distance parameter to obtain different cluster clusters and cluster center sample data in each cluster cluster; Real-time monitoring module: in each dimension, according to the data difference characteristics of each cluster center sample data and the real-time sample data in all the same extrusion stages, combined with the distance characteristics from the non-cluster center sample data to the cluster center sample data in each cluster cluster, the anomaly score of the real-time sample data at the current moment is obtained; the extrusion wall panel machine is monitored in real time according to the anomaly score at the current moment.
2. A real-time monitoring system for operation data of an extruded wall panel machine according to claim 1, characterized in that: The method for obtaining the initial segmented data comprises: By using the Fisher optimal solution, the data of each dimension of each historical sample data is divided into preset segmentation parameter segments on the time axis to obtain initial segmentation data.
3. A real-time monitoring system for operation data of an extruded wall panel machine according to claim 1 or 2, characterized in that: The method for obtaining sample data in the stage includes: Performing straight line fitting on each of the initial segmented data to obtain a fitting straight line for each of the initial segmented data; In each dimension, for two adjacent initial segmented data on the historical sample data, the fitting data are obtained by using the fitting straight line of each other, and the degree of difference between the adjacent initial segmented data is obtained according to the difference characteristics of the initial segmented data and the fitting data and the number of data points of the initial segmented data; According to the number of data points of two adjacent initial segmented data and the preset merging parameters, a corresponding merging threshold is obtained; when the degree of difference is less than or equal to the merging threshold, the two adjacent initial segmented data are merged; after the initial segmented data are merged, the stage sample data is obtained.
4. A real-time monitoring system for operation data of an extruded wall panel machine according to claim 3, characterized in that: The calculation formula of the difference degree includes: ;in, Indicates the serial number of historical sample data; The serial number representing the dimension of historical sample data; Indicates the serial number of the initial segmented data of a certain dimension of the historical sample data; Indicates In the dimension, Among the historical sample data, and The degree of difference between the initial segmentation data; Indicates In the dimension, Among the historical sample data, The number of data points of the initial segmentation data; Indicates In the dimension, Among the historical sample data, The number of data points of the initial segmentation data; Indicates In the dimension, Among the historical sample data, The first segment of the initial segment data The data value of the data point; Indicates In the dimension, Among the historical sample data, The first segment of the initial segment data Data points using The fitting value obtained by fitting the straight line of the initial segmented data; Indicates In the dimension, Among the historical sample data, The first segment of the initial segment data The data value of the data point; Indicates In the dimension, Among the historical sample data, The first segment of the initial segment data Data points using The fitting value obtained by fitting the straight line of the initial segmented data.
5. The real-time monitoring system for operation data of an extruded wall panel machine according to claim 3 is characterized in that: The method for obtaining the merging threshold comprises: The sum of the number of data points of two adjacent initial segmented data is obtained, and then multiplied by a preset merging parameter, and the product is used as a merging threshold of the corresponding two adjacent initial segmented data.
6. A real-time monitoring system for operation data of an extruded wall panel machine according to claim 1 or 2, characterized in that: The method for obtaining the distance parameter includes: Perform straight line fitting on each of the stage sample data to obtain the slope of the fitted straight line of each of the stage sample data; in each dimension, use the DTW algorithm to match the slopes of the stage sample data of any two of the historical sample data; obtain the first difference degree parameter of each pair of matched stage sample data according to the difference in the change characteristics and the difference in the slope of each pair of matched stage sample data in the matching results; The average value of all the first difference degree parameters corresponding to any two of the historical sample data is used as the distance parameter between the corresponding two of the historical sample data.
7. A real-time monitoring system for operation data of an extruded wall panel machine according to claim 6, characterized in that: The method for obtaining the first difference degree parameter includes: Obtain the variance of the first-order difference sequence of the sample data at each stage in each pair of matches, and use the product of the variance of the first-order difference sequence and the slope as the change characteristic parameter of the sample data at each stage; positively correlate the absolute values of the difference between the change characteristic parameters of the sample data at two stages in each pair of matching results to obtain the first difference degree parameter of the stage sample data of each pair of matches.
8. The real-time monitoring system for operation data of an extruded wall panel machine according to claim 7, characterized in that: The method for obtaining the abnormal score includes: Select any dimension of any of the cluster center sample data as target data, and the corresponding dimension as the target dimension; use the data on the target dimension in the data segment of the real-time sample data that has been collected at the current moment as the data to be analyzed; Aligning the data to be analyzed with the target data in a left-aligned manner on the time axis; segmenting the data to be analyzed according to the stage sample data of the target data, taking the segmented data at the same position in the data to be analyzed and the target data as a pair of matching stage sample data, and obtaining a second difference degree parameter for each pair of matching stage sample data; At the current moment, the mean of all the second difference degree parameters obtained between each of the cluster center sample data and the real-time sample data in all dimensions is obtained as a reference distance parameter between each of the cluster center sample data and the real-time sample data; The standard deviation of the distance parameter between the non-cluster center sample data and the cluster center sample data in the cluster cluster where each cluster center sample data is located is obtained as the correction parameter; the minimum value of the ratio of all reference distance parameters at the current moment to the corresponding correction parameter is taken as the abnormality score at the current moment.
9. The real-time monitoring system for operation data of an extruded wall panel machine according to claim 1, characterized in that: The method for real-time monitoring of the extruded wall panel machine according to the abnormal score at the current moment includes: When the abnormal score of the real-time sample data is greater than a preset abnormal score threshold, the operation of the extrusion wall panel machine is stopped and an alarm is issued.
10. The real-time monitoring system for operation data of an extruded wall panel machine according to claim 1, characterized in that: The clustering algorithm used for the cluster center sample data is the K-means clustering algorithm.
Citation Information
Patent Citations
Live pig intelligent monitoring method and system based on Internet of Things
CN117633697A
Livestock blood product processing process monitoring method based on Internet of Things
CN117762106A
