An abnormal data intelligent supervision system and method based on data monitoring
By designing an intelligent supervision system for data monitoring and abnormal data in an intelligent industrial control system, and using matrix feature analysis and inverse operation technology, the problems of data processing errors and equipment failures are solved, enabling rapid location and maintenance of abnormal equipment, and improving production efficiency. and equipment performance.
Patent Information
- Application Number
- CN202311580002.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-24
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2043-11-24
AI Technical Summary
Intelligent industrial control systems are prone to errors during data processing, resulting in data misalignment, missing data or garbled data. The existing abnormality monitoring system cannot effectively manage equipment failures and mitigate the impact of abnormal data.
An intelligent monitoring system for abnormal data based on data monitoring is designed, including a data transceiver module, a matrix processing module, a feature analysis module, an abnormal positioning module and a component scaling module. Through matrix feature extraction, inverse operation and degradation coefficient calculation, positioning and Eliminate abnormal equipment and reduce its impact on the final results.
It realizes the rapid positioning and maintenance of abnormal equipment in the intelligent industrial control system, reduces the impact of abnormal data processing on production, and improves production efficiency and equipment utilization.
Smart Images

Figure CN117784656B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data analysis, and in particular to an abnormal data intelligent supervision system and method based on data monitoring. Background Art
[0002] Intelligent industrial control refers to the technology and methods of realizing automation and optimization of production by digitally monitoring and adjusting equipment, systems or processes in the industrial production process, including the control, measurement and adjustment of various production equipment. The steps of intelligent industrial control are as follows: after the industrial control probe acquires data, the data is sent to each node device in the form of a matrix according to the process for processing, and the final processed matrix is executed at the industrial control terminal.
[0003] Since the underlying operations of industrial control systems when performing data processing are all performed in a matrix manner, the process of node device processing data can be represented as the process of multiplying the input data by the processing matrix to obtain the output matrix. However, in a mature intelligent industrial control system, there are often dozens or even hundreds of node devices. Errors can easily occur in the process of processing the matrix, resulting in data misalignment, data missing, or garbled data.
[0004] However, since the data processing process is linear, information can only be transmitted in a one-way order. Most node devices only have the function of processing and sending data, and cannot judge the abnormality of input data, resulting in confusion in the execution of instructions by industrial control terminals. Conventional abnormality supervision systems reduce the probability of accidental errors through multiple verifications, but lack effective management methods for abnormalities caused by equipment failures. They cannot locate and eliminate abnormal node devices that cause abnormalities, nor can they reduce the impact of abnormal data. Summary of the invention
[0005] The purpose of the present invention is to provide a system and method for intelligent supervision of abnormal data based on data monitoring to solve the problems raised in the above-mentioned background technology.
[0006] In order to solve the above technical problems, the present invention provides the following technical solutions: an abnormal data intelligent supervision system based on data monitoring, comprising: a data transceiver module, a matrix processing module, a feature analysis module, an abnormal location module and a component scaling module;
[0007] The data transceiver module is used to extract matrix features, send and receive matrix data between node devices, and extract matrix row and column widths;
[0008] The matrix processing module is used to perform a multiplication operation of the data matrix and the node device characteristic matrix after receiving the data matrix sent by the previous process to obtain a composite matrix, and complete the node device's own processing of the composite matrix;
[0009] The feature analysis module is used to analyze the eigenvalues and eigenvectors of the matrix after the industrial control terminal receives the final data matrix, and to perform step-by-step inverse operations on the data matrix according to the feature matrix of each node device to obtain a multi-dimensional transfer matrix, and then to determine whether there is a data processing error by calculating the eigenvalue of the transfer matrix. If there is no error, the final transfer matrix is input to the execution terminal for execution;
[0010] The abnormality positioning module is used to locate the node device where the error step occurs according to the number of inverse operations on the data matrix when a data processing error is found, calculate the deviation value of the device, add an abnormal record of the device, and notify the maintenance personnel of the number of the abnormal device;
[0011] The component scaling module is used to calculate the degradation coefficient of the abnormal device according to the deviation value and the abnormal frequency of the abnormal device, and scale the processing matrix of the device according to the degradation coefficient to reduce the impact of the device abnormality on the final result.
[0012] Further, the data transceiver module includes: a matrix extraction unit and a signal transceiver unit;
[0013] The matrix extraction unit is used to obtain the initial matrix through the industrial control probe and extract the row and column widths of the matrix;
[0014] The signal transceiver unit is used to receive the data matrix sent by the previous device and send the processed matrix information to the next device.
[0015] Further, the matrix processing module includes: a feature fitting unit and an engineering operation unit;
[0016] The feature fitting unit is used to, after receiving the data matrix, multiply the device's own feature matrix with the data matrix to fit the device features into the data matrix to obtain a composite matrix;
[0017] The engineering operation unit is used to take the composite matrix as an input matrix, input the node device to perform data processing, and output the processed data matrix.
[0018] Furthermore, the feature analysis module includes: an inversion feature unit, a solution fitting unit and an abnormality judgment unit;
[0019] The inverse characteristic unit is used to calculate the inverse matrix of the characteristic matrix of all node devices, and calculate the eigenvalues and eigenvectors of these inverse matrices;
[0020] The solution fitting unit is used to calculate the eigenvalues of the data matrix after the industrial control terminal receives the final data matrix, and multiply the eigenvalues with the inverse matrices of the characteristic matrices of each node device one by one to obtain multiple restored matrices;
[0021] The abnormality judgment unit is used to calculate the eigenvalue of the restored matrix each time a restored matrix is fitted, and compare the eigenvalue of the restored matrix, the eigenvalue of the characteristic matrix and the eigenvalue of the previous restored matrix to judge whether there is an abnormality in the processing process.
[0022] Further, the anomaly location module includes: an inversion analysis unit, a feature recovery unit and a deviation recording unit;
[0023] The inverter analysis unit is used to determine the number of the abnormal device according to the number of restoration steps of the restoration matrix after the abnormality is found, and notify the maintenance personnel of the number of the abnormal device;
[0024] The feature recovery unit is used to request the previous node device of the abnormal device to send a data matrix, continue to analyze the data matrix, and determine the abnormal conditions of other devices;
[0025] The deviation recording unit is used to add an abnormal record of an abnormal device and calculate the deviation coefficient of the abnormal device according to the eigenvalue of the restoration matrix.
[0026] Further, the component scaling module includes: a degradation calculation unit and a simplification processing unit;
[0027] The degradation calculation unit is used to calculate the degradation matrix of the device according to the abnormal frequency and deviation coefficient of the abnormal device;
[0028] The simplified processing unit is used to multiply the matrix to be input into the abnormal device with the degradation matrix. After the node device obtains the final data matrix, it is multiplied with the inverse matrix of the degradation matrix to restore the data of the final data matrix, thereby reducing the impact of the abnormal device on the final result before the abnormal device is repaired.
[0029] A method for intelligent supervision of abnormal data based on data monitoring, comprising the following steps:
[0030] S100. All node devices are numbered in the order of data processing flow, the industrial control terminal assigns a unique characteristic matrix to each node device, and calculates the inverse matrix of these characteristic matrices;
[0031] S200. After the industrial control probe obtains the initial data, it sends the matrix recording the initial data to the first node device according to the number of the node device. After the first node device receives the initial data matrix, it multiplies its own characteristic matrix on the right after the initial data matrix to obtain a composite matrix, and inputs the composite matrix into the device as an input matrix for processing, and outputs a processed matrix;
[0032] S300. The first node device sends the first processing matrix to the second node device in the order of numbers. The second node device uses the first processing matrix as the initial data matrix and repeats step S200 to obtain the second processing matrix. This is repeated by analogy. After all node devices have completed the processing, the final processing matrix is obtained.
[0033] S400. The control terminal receives the final processing matrix, calculates the eigenvalue of the final processing matrix, and then multiplies the final processing matrix by the inverse matrix of the characteristic matrix of each node device in reverse order of number, to obtain multiple restored matrices, arranges all restored matrices from small to large according to the number of restorations, calculates the ratio of the eigenvalue of each restored matrix to the eigenvalue of the previous restored matrix, and determines whether the data is abnormal based on the ratio and the eigenvalue of the characteristic matrix of each node device;
[0034] S500. When determining that the data is abnormal, the number of the abnormal device is given, and the degradation coefficient of the abnormal device is calculated, a degradation matrix is obtained according to the degradation coefficient, and then the data processing process of the abnormal device is scaled using the degradation matrix.
[0035] Furthermore, step S100 includes:
[0036] Step S101. All node devices are numbered in the order of data processing flow, and the numbering result is recorded as data set X, X = {1, 2, ..., n}, where n is the number of node devices, n is an integer and n ≥ 2;
[0037] Step S102. The industrial control terminal generates n different characteristic matrices, wherein the characteristic matrices are reversible matrices, and the eigenvalues of all characteristic matrices are different;
[0038] The feature matrix is assigned to each node device, and the assignment result is recorded as data set Y, Y = {A1, A2, ..., A n}, the data set Y and data set X form a mapping relationship, A1, A2 and A n They represent the characteristic matrices assigned to the node devices numbered 1, 2, and n, respectively, and the mapping relationships of the remaining elements are similar;
[0039] Step S103. The industrial control terminal calculates the inverse matrix of each characteristic matrix, and the calculation results constitute a data set Z, Z = {A1 -1 , A2 -1 , …, A n -1}, the data set Z and the data set Y form a mapping relationship, A1 -1 , A2 -1 , and A n -1 Represent the feature matrices A1, A2 and A respectively n The inverse matrix of , and the mapping relationship of the remaining elements is similar;
[0040] Step S104: Calculate the eigenvalues of each characteristic matrix, and record the calculation results as data set R, R = {r1, r2, ..., r n}, the data set R and the data set Y form a mapping relationship, r1, r2, and r n Represent the feature matrices A1, A2 and A respectively n The mapping relationships of the remaining elements are similar.
[0041] Further, step S200 includes:
[0042] Step S201. The industrial control probe obtains initial data and sends the initial data in the form of a matrix to the node device numbered 1. The initial data matrix is recorded as Q.
[0043] Step S202. After receiving the initial data matrix, the node device 1 executes the operation T1=Q·A1, where T1 is the composite matrix of the node device 1. T1 is used as the input matrix and the operation is performed according to the operation procedure of the node device 1 itself to obtain a processing matrix Q1.
[0044] This step performs feature matrix fitting at the input end, effectively avoiding the situation where feature fitting fails due to equipment failure.
[0045] Furthermore, step S300 includes:
[0046] Step S301. Node device 1 sends a primary processing matrix to node device 2, and node device 2 performs operation T2=Q1·A2, where T2 is a composite matrix of node device 2. T2 is used as an input matrix and is operated according to the operation program of node device 2 to obtain a secondary processing matrix Q2.
[0047] Step S302: Repeat the above steps until node device n completes matrix processing and obtains the final processing matrix Q. n , the matrix Q n Sent to the industrial control terminal.
[0048] The design of performing data verification at the industrial control terminal of the present invention also ensures that all commands submitted for execution are authentic and valid, avoids the occurrence of confusing instructions and errors, helps the industrial control system to discover and solve problems in a timely manner, improves production efficiency, and reduces abnormal risks.
[0049] Furthermore, step S400 includes:
[0050] Step S401. The industrial control terminal receives Q n Then, calculate Q n The eigenvalue t n+1 , and then perform the following operations to calculate the restored matrix:
[0051]
[0052] Among them, P m represents the reduction matrix corresponding to the node device numbered m, where m∈X, A n-i -1 Represents the ni-th element in the data set Z;
[0053] Step S402. Calculate the eigenvalues of each restored matrix, and record the calculation results as data set T, T = {t1, t2, ... t m ,…,t n}, where t m Represents the restored matrix P m The corresponding eigenvalues;
[0054] Step S403. Verify the accuracy of the eigenvalue processing according to the following formula:
[0055]
[0056] Among them, N m represents the state parameters of node device m, the N m ∈{0,1}, IFS is a logical judgment function, is the judgment formula in the logical judgment function. If the judgment formula is established, then N m =1, if the judgment is not true, then N m =0;
[0057] Generate a verification sequence K in reverse order of numbering, where K = [n, n-1, ..., 1], and substitute the elements in the sequence K into m in the above formula in turn to obtain a result state sequence L, where L = [N n ,N n-1 ,…,N1], the elements in the sequence L correspond one to one with the elements in the sequence K;
[0058] Step S404. Determine in order whether the elements in the sequence L are 1. If all the elements in the sequence L are 1, it is determined that there is no abnormality in the data, and the matrix P is restored. n It is sent as the final execution matrix to the execution terminal for execution;
[0059] When it is found that the value of an element in the sequence L is 0, it is determined that the data is abnormal, and the position of this element in the sequence L is recorded as g, where g∈X. The node device numbered g is marked as an abnormal device, the maintenance personnel are notified to repair the device g, and an abnormal record of the node device g is added, and go to step S500.
[0060] Furthermore, step S500 includes:
[0061] Step S501. Calculate the deviation value e of the node device g, where t g represents the restored matrix eigenvalue corresponding to the node device numbered g, t g+1 represents the restored matrix eigenvalue corresponding to the node device numbered g+1, r g Represents the eigenvalue of the characteristic matrix of node device g;
[0062] Obtain the historical abnormal records of node device g. Within the preset time range T, the total number of records is recorded as b, then the abnormal frequency of node device g is V = b / T;
[0063] Step S502. Calculate the degradation coefficient J of the node device g according to the following formula:
[0064]
[0065] Among them, V0 is the fault-tolerant frequency preset by the system;
[0066] Step S503: Calculate the degradation matrix W, where W = J·E·A g , where E is the identity matrix, A g is the characteristic matrix of node device g, and the restored degradation matrix W -1 =1 / J·A g -1 , where Ag -1 is the inverse matrix of the feature matrix of device g;
[0067] Before the abnormal device g is repaired, the feature matrix of node device g is replaced by W and W is used to replace the feature matrix of node device g. -1 Replace the inverse matrix of the characteristic matrix of node device g, and in the subsequent execution of step S404, let N g =1;
[0068] The processed restored matrix P n The final execution matrix is sent to the execution terminal for execution.
[0069] The present invention can scale the processing of abnormal equipment according to the historical processing conditions and data deviation values of the abnormal equipment, thereby reducing the impact of abnormal node equipment on production technology and equipment performance.
[0070] Compared with the prior art, the beneficial effects achieved by the present invention are:
[0071] 1. The present invention can provide computing identity features for each data processing device, determine whether there is an abnormality in the data matrix at the industrial control terminal, and locate the device with the abnormality. By checking the abnormal data, the abnormal device is discovered and located, and the maintenance personnel are notified to check the cause of the abnormality, and the operation problems of the equipment are discovered in time and corresponding maintenance and optimization measures are taken, thereby reducing the impact of data processing abnormalities on the production process and equipment performance.
[0072] 2. The present invention does not need to perform step-by-step calculations on the data, nor does it need to install data accounting devices on the node equipment. The hardware requirements are lower. The design of performing data verification at the industrial control terminal also ensures that all commands submitted for execution are true and valid, avoiding the occurrence of confusing instructions and errors, helping the industrial control system to discover and solve problems in a timely manner, improving production efficiency, and reducing abnormal risks.
[0073] 3. The present invention can scale the processing of abnormal equipment according to the historical processing of abnormal equipment, reduce the impact of abnormal node equipment on production technology and equipment performance, and can also analyze and mine data in the industrial control system, and take corresponding improvement measures to improve production efficiency and equipment utilization. BRIEF DESCRIPTION OF THE DRAWINGS
[0074] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0075] Figure 1 It is a structural schematic diagram of an abnormal data intelligent supervision system based on data monitoring of the present invention;
[0076] Figure 2 It is a schematic diagram of the steps of an abnormal data intelligent supervision method based on data monitoring of the present invention. DETAILED DESCRIPTION
[0077] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0078] See also Figure 1 ,The present invention provides a technical solution: an abnormal data intelligent supervision system based on data monitoring, comprising: a data transceiver module, a matrix processing module, a feature analysis module, an abnormal location module and a component scaling module;
[0079] The data transceiver module is used to extract matrix features, send and receive matrix data between node devices, and extract matrix row and column widths;
[0080] The data transceiver module includes: a matrix extraction unit and a signal transceiver unit;
[0081] The matrix extraction unit is used to obtain the initial matrix through the industrial control probe and extract the row and column widths of the matrix;
[0082] The signal transceiver unit is used to receive the data matrix sent by the previous device and send the processed matrix information to the next device.
[0083] The matrix processing module is used to perform a multiplication operation of the data matrix and the node device characteristic matrix after receiving the data matrix sent by the previous process to obtain a composite matrix, and complete the node device's own processing of the composite matrix;
[0084] The matrix processing module includes: a feature fitting unit and an engineering operation unit;
[0085] The feature fitting unit is used to, after receiving the data matrix, multiply the device's own feature matrix with the data matrix to fit the device features into the data matrix to obtain a composite matrix;
[0086] The engineering operation unit is used to take the composite matrix as an input matrix, input the node device to perform data processing, and output the processed data matrix.
[0087] The feature analysis module is used to analyze the eigenvalues and eigenvectors of the matrix after the industrial control terminal receives the final data matrix, and to perform step-by-step inverse operations on the data matrix according to the feature matrix of each node device to obtain a multi-dimensional transfer matrix, and then to determine whether there is a data processing error by calculating the eigenvalue of the transfer matrix. If there is no error, the final transfer matrix is input to the execution terminal for execution;
[0088] The feature analysis module includes: an inversion feature unit, a solution fitting unit and an abnormality judgment unit;
[0089] The inverse characteristic unit is used to calculate the inverse matrix of the characteristic matrix of all node devices, and calculate the eigenvalues and eigenvectors of these inverse matrices;
[0090] The solution fitting unit is used to calculate the eigenvalues of the data matrix after the industrial control terminal receives the final data matrix, and multiply the eigenvalues with the inverse matrices of the characteristic matrices of each node device one by one to obtain multiple restored matrices;
[0091] The abnormality judgment unit is used to calculate the eigenvalue of the restored matrix each time a restored matrix is fitted, and compare the eigenvalue of the restored matrix, the eigenvalue of the characteristic matrix and the eigenvalue of the previous restored matrix to judge whether there is an abnormality in the processing process.
[0092] The abnormality positioning module is used to locate the node device where the error step occurs according to the number of inverse operations on the data matrix when a data processing error is found, calculate the deviation value of the device, add an abnormal record of the device, and notify the maintenance personnel of the number of the abnormal device;
[0093] The abnormality positioning module includes: an inversion analysis unit, a feature recovery unit and a deviation recording unit;
[0094] The inverter analysis unit is used to determine the number of the abnormal device according to the number of restoration steps of the restoration matrix after the abnormality is found, and notify the maintenance personnel of the number of the abnormal device;
[0095] The feature recovery unit is used to request the previous node device of the abnormal device to send a data matrix, continue to analyze the data matrix, and determine the abnormal conditions of other devices;
[0096] The deviation recording unit is used to add an abnormal record of an abnormal device and calculate the deviation coefficient of the abnormal device according to the eigenvalue of the restoration matrix.
[0097] The component scaling module is used to calculate the degradation coefficient of the abnormal device according to the deviation value and the abnormal frequency of the abnormal device, and scale the processing matrix of the device according to the degradation coefficient to reduce the impact of the device abnormality on the final result.
[0098] The component scaling module includes: a degradation calculation unit and a simplification processing unit;
[0099] The degradation calculation unit is used to calculate the degradation matrix of the device according to the abnormal frequency and deviation coefficient of the abnormal device;
[0100] The simplified processing unit is used to multiply the matrix to be input into the abnormal device with the degradation matrix. After the node device obtains the final data matrix, it is multiplied with the inverse matrix of the degradation matrix to restore the data of the final data matrix, thereby reducing the impact of the abnormal device on the final result before the abnormal device is repaired.
[0101] like Figure 2 As shown, a method for intelligent supervision of abnormal data based on data monitoring includes the following steps:
[0102] S100. All node devices are numbered in the order of data processing flow, the industrial control terminal assigns a unique characteristic matrix to each node device, and calculates the inverse matrix of these characteristic matrices;
[0103] Step S100 includes:
[0104] Step S101. All node devices are numbered in the order of data processing flow, and the numbering result is recorded as data set X, X = {1, 2, ..., n}, where n is the number of node devices, n is an integer and n ≥ 2;
[0105] Step S102. The industrial control terminal generates n different characteristic matrices, wherein the characteristic matrices are reversible matrices, and the eigenvalues of all characteristic matrices are different;
[0106] The feature matrix is assigned to each node device, and the assignment result is recorded as data set Y, Y = {A1, A2, ..., A n}, the data set Y and data set X form a mapping relationship, A1, A2 and A n They represent the characteristic matrices assigned to the node devices numbered 1, 2, and n, respectively, and the mapping relationships of the remaining elements are similar;
[0107] Step S103. The industrial control terminal calculates the inverse matrix of each characteristic matrix, and the calculation results constitute a data set Z, Z = {A1 -1 , A2 -1 , …, A n -1}, the data set Z and the data set Y form a mapping relationship, A1 -1 , A2 -1 , and A n -1 Represent the feature matrices A1, A2 and A respectively n The inverse matrix of , and the mapping relationship of the remaining elements is similar;
[0108] Step S104: Calculate the eigenvalues of each characteristic matrix, and record the calculation results as data set R, R = {r1, r2, ..., r n}, the data set R and the data set Y form a mapping relationship, r1, r2, and r n Represent the feature matrices A1, A2 and A respectively n The mapping relationships of the remaining elements are similar.
[0109] S200. After the industrial control probe obtains the initial data, it sends the matrix recording the initial data to the first node device according to the number of the node device. After the first node device receives the initial data matrix, it multiplies its own characteristic matrix on the right after the initial data matrix to obtain a composite matrix, and inputs the composite matrix into the device as an input matrix for processing, and outputs a processed matrix;
[0110] Step S200 includes:
[0111] Step S201. The industrial control probe obtains initial data and sends the initial data in the form of a matrix to the node device numbered 1. The initial data matrix is recorded as Q.
[0112] Step S202. After receiving the initial data matrix, the node device 1 executes the operation T1=Q·A1, where T1 is the composite matrix of the node device 1. T1 is used as the input matrix and the operation is performed according to the operation procedure of the node device 1 itself to obtain a processing matrix Q1.
[0113] S300. The first node device sends the first processing matrix to the second node device in the order of numbers. The second node device uses the first processing matrix as the initial data matrix and repeats step S200 to obtain the second processing matrix. This is repeated by analogy. After all node devices have completed the processing, the final processing matrix is obtained.
[0114] Step S300 includes:
[0115] Step S301. Node device 1 sends a primary processing matrix to node device 2, and node device 2 performs operation T2=Q1·A2, where T2 is a composite matrix of node device 2. T2 is used as an input matrix and is operated according to the operation program of node device 2 to obtain a secondary processing matrix Q2.
[0116] Step S302: Repeat the above steps until node device n completes matrix processing and obtains the final processing matrix Q. n , the matrix Q n Sent to the industrial control terminal.
[0117] S400. The control terminal receives the final processing matrix, calculates the eigenvalue of the final processing matrix, and then multiplies the final processing matrix by the inverse matrix of the characteristic matrix of each node device in reverse order of number to obtain multiple restored matrices, arranges all restored matrices from small to large according to the number of restorations, and calculates the ratio of the eigenvalue of each restored matrix to the eigenvalue of the previous restored matrix;
[0118] Step S400 includes:
[0119] Step S401. The industrial control terminal receives Q n Then, calculate Q n The eigenvalue t n+1 , and then perform the following operations to calculate the restored matrix:
[0120]
[0121] Among them, P mrepresents the reduction matrix corresponding to the node device numbered m, where m∈X, A n-i -1 Represents the ni-th element in the data set Z;
[0122] Step S402. Calculate the eigenvalues of each restored matrix, and record the calculation results as data set T, T = {t1, t2, ... t m ,…,t n}, where t m Represents the restored matrix P m The corresponding eigenvalues;
[0123] Step S403. Verify the accuracy of the eigenvalue processing according to the following formula:
[0124]
[0125] Among them, N m represents the state parameters of node device m, the N m ∈{0,1}, IFS is a logical judgment function, is the judgment formula in the logical judgment function. If the judgment formula is established, then N m =1, if the judgment is not true, then N m =0;
[0126] Generate a verification sequence K in reverse order of numbering, where K = [n, n-1, ..., 1], and substitute the elements in the sequence K into m in the above formula in turn to obtain a result state sequence L, where L = [N n ,N n-1 ,…,N1], the elements in the sequence L correspond one to one with the elements in the sequence K;
[0127] Step S404. Determine in order whether the elements in the sequence L are 1. If all the elements in the sequence L are 1, it is determined that there is no abnormality in the data, and the matrix P is restored. n It is sent as the final execution matrix to the execution terminal for execution;
[0128] When it is found that the value of an element in the sequence L is 0, it is determined that the data is abnormal, and the position of this element in the sequence L is recorded as g, where g∈X. The node device numbered g is marked as an abnormal device, the maintenance personnel are notified to repair the device g, and an abnormal record of the node device g is added, and go to step S500.
[0129] S500. Determine whether the data is abnormal based on the ratio and the eigenvalue of the characteristic matrix of each node device. When the data is determined to be abnormal, give the number of the abnormal device and calculate the degradation coefficient of the abnormal device. Obtain the degradation matrix based on the degradation coefficient, and then use the degradation matrix to scale the data processing process of the abnormal device.
[0130] Step S500 includes:
[0131] Step S501. Calculate the deviation value e of the node device g, where t g+1 represents the restored matrix eigenvalue corresponding to the node device numbered g+1, r g Represents the eigenvalue of the characteristic matrix of node device g;
[0132] Obtain the historical abnormal records of node device g. Within the preset time range T, the total number of records is recorded as b, then the abnormal frequency of node device g is V = b / T;
[0133] Step S502. Calculate the degradation coefficient J of the node device g according to the following formula:
[0134]
[0135] Among them, V0 is the fault-tolerant frequency preset by the system;
[0136] Step S503: Calculate the degradation matrix W, where W = J·E·A g , where E is the identity matrix, A g is the characteristic matrix of node device g, and the restored degradation matrix W -1 =1 / J·A g -1 , where Ag -1 is the inverse matrix of the feature matrix of device g;
[0137] Before the abnormal device g is repaired, the feature matrix of node device g is replaced by W and W is used to replace the feature matrix of node device g. -1 Replace the inverse matrix of the characteristic matrix of node device g, and in the subsequent execution of step S404, let N g =1;
[0138] The processed restored matrix P n The final execution matrix is sent to the execution terminal for execution.
[0139] Example:
[0140] An industrial control system contains three node devices, which are arranged in the order of execution process, namely node device 1, node device 2 and node device 3. The initial data matrix collected by the industrial control probe is The processing matrices of node devices 1, 2, and 3 are and The feature matrices are and The eigenvalues are 1, 2, and 3, and the inverse matrices are and
[0141] The industrial control probe firstly converts the initial data matrix It is sent along the bus to node device 1, which first performs feature fitting to obtain the input matrix After processing, the output matrix is obtained When the output matrix is sent to node device 2, the output Then send it to node device 3 to get the final output
[0142]
[0143] If there is no device abnormality, Restore and get the correct output matrix
[0144] If there is a device anomaly, the final data matrix obtained is Multiply the inverse matrices of node devices 3, 2, and 1 in sequence, and the resulting restored matrices are and By calculating the characteristic value, it can be found that the node device 2 is abnormal, and the maintenance personnel are notified to repair it;
[0145] Before equipment 2 is repaired, the degradation coefficient of equipment 2 is calculated to be 1 / 2, so the degradation matrix is The output matrix is restored instead of the characteristic matrix of device 2.
[0146] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0147] Finally, it should be noted that the above is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for intelligent supervision of abnormal data based on data monitoring, characterized in that: The method comprises the following steps: S100. All node devices are numbered in the order of data processing flow, the industrial control terminal assigns a unique characteristic matrix to each node device, and calculates the inverse matrix of these characteristic matrices; S200. After the industrial control probe obtains the initial data, it sends the matrix recording the initial data to the first node device according to the number of the node device. After the first node device receives the initial data matrix, it multiplies its own characteristic matrix on the right after the initial data matrix to obtain a composite matrix, and inputs the composite matrix into the device as an input matrix for processing, and outputs a processed matrix; S300. The first node device sends the primary processing matrix to the second node device in the order of numbers. The second node device uses the primary processing matrix as the initial data matrix and repeats step S200 to obtain the secondary processing matrix. This is repeated by analogy. After all node devices have completed the processing, the final processing matrix is obtained. S400. The control terminal receives the final processing matrix, calculates the eigenvalue of the final processing matrix, and then multiplies the final processing matrix by the inverse matrix of the characteristic matrix of each node device in reverse order of number, to obtain multiple restored matrices, arranges all restored matrices from small to large according to the number of restorations, calculates the ratio of the eigenvalue of each restored matrix to the eigenvalue of the previous restored matrix, and determines whether the data is abnormal based on the ratio and the eigenvalue of the characteristic matrix of each node device; S500. When determining data abnormality, give the number of the abnormal device, and calculate the degradation coefficient of the abnormal device according to the deviation value and historical records of the abnormal device, obtain the degradation matrix according to the degradation coefficient, and then use the degradation matrix to scale the data processing process of the abnormal device; Step S200 includes: Step S201. The industrial control probe obtains initial data and sends the initial data in the form of a matrix to the node device numbered 1. The initial data matrix is recorded as Q. Step S202. After receiving the initial data matrix, the node device 1 performs the operation T1=Q·A1, where T1 is the composite matrix of the node device 1. T1 is used as the input matrix and the operation is performed according to the operation program of the node device 1 itself to obtain a primary processing matrix Q1. Step S300 includes: Step S301. Node device 1 sends a primary processing matrix to node device 2, and node device 2 performs operation T2=Q1·A2, where T2 is a composite matrix of node device 2. T2 is used as an input matrix and is operated according to the operation program of node device 2 to obtain a secondary processing matrix Q2. Step S401. The industrial control terminal receives Q n Then, calculate Q n The eigenvalue t n+1 , and then perform the following operations to calculate the restored matrix: ; Among them, P m represents the reduction matrix corresponding to the node device numbered m, where m∈X, Represents the ni-th element in the data set Z; Step S302: Repeat the above steps until node device n completes matrix processing and obtains the final processing matrix Q. n , the matrix Q n Send to industrial control terminal; Step S400 includes: Step S402. Calculate the eigenvalues of each restored matrix, and record the calculation results as data set T, T={t1,t2,…t m ,…,t n }, where t m Represents the restored matrix P m The corresponding eigenvalues; Step S403. Verify the accuracy of the eigenvalue processing according to the following formula: ; Among them, N m represents the state parameters of node device m, the N m ∈{0,1}, IFS is a logical judgment function, is the judgment formula in the logical judgment function. If the judgment formula is established, then N m =1, if the judgment is not true, then N m =0; Generate a verification sequence K in reverse order of numbers, where K=[n,n-1,…,1], and substitute the elements in sequence K into m in the above formula in turn to obtain the result state sequence L, where L=[N n ,N n-1 ,…,N1], the elements in the sequence L correspond one to one with the elements in the sequence K; Step S404. Determine in order whether the elements in the sequence L are 1. If all the elements in the sequence L are 1, it is determined that there is no abnormality in the data, and the matrix P is restored. n It is sent as the final execution matrix to the execution terminal for execution; When it is found that the value of an element in the sequence L is 0, it is determined that the data is abnormal, and the position of this element in the sequence L is recorded as g, where g∈X, and the node device numbered g is marked as an abnormal device, and the maintenance personnel are notified to repair the device g, and an abnormal record of the node device g is added, and the process goes to step S500; Step S500 includes: Step S501. Calculate the deviation value e of the node device g, , where t g represents the restored matrix eigenvalue corresponding to the node device numbered g, t g+1 represents the restored matrix eigenvalue corresponding to the node device numbered g+1, r g Represents the eigenvalue of the characteristic matrix of node device g; Obtain the historical abnormal records of node device g. Within the preset time range T, the total number of records is recorded as b, then the abnormal frequency of node device g is V=b / T; Step S502. Calculate the degradation coefficient J of the node device g according to the following formula: ; Among them, V0 is the fault-tolerant frequency preset by the system; Step S503: Calculate the degradation matrix W, where W = J·E·A g , where E is the identity matrix, A g is the characteristic matrix of node device g, and the restored degradation matrix W -1 =1 / J·A g -1 , where Ag -1 is the inverse matrix of the feature matrix of device g; Before the abnormal device g is repaired, the feature matrix of node device g is replaced by W and W is used to -1 Replace the inverse matrix of the characteristic matrix of node device g, and in the subsequent execution of step S404, let N g =1; The processed restored matrix P n The final execution matrix is sent to the execution terminal for execution.
2. The method for intelligent supervision of abnormal data based on data monitoring according to claim 1 is characterized in that: Step S100 includes: Step S101. All node devices are numbered in the order of data processing flow, and the numbering result is recorded as data set X, X={1,2,…,n}, where n is the number of node devices, n is an integer and n≥2; Step S102. The industrial control terminal generates n different characteristic matrices, wherein the characteristic matrices are reversible matrices, and the eigenvalues of all characteristic matrices are different; The feature matrix is assigned to each node device, and the assignment result is recorded as data set Y, Y = {A1, A2, ..., A n }, the data set Y and data set X form a mapping relationship, A1, A2 and A n They represent the characteristic matrices assigned to the node devices numbered 1, 2, and n, respectively, and the mapping relationships of the remaining elements are similar; Step S103. The industrial control terminal calculates the inverse matrix of each characteristic matrix, and the calculation results constitute the data set Z, Z={A1 -1 , A2 -1 , …, A n -1 }, the data set Z and the data set Y form a mapping relationship, A1 -1 , A2 -1 , and A n -1 Represent the feature matrices A1, A2 and A respectively n The inverse matrix of , and the mapping relationship of the remaining elements is similar; Step S104. Calculate the eigenvalues of each feature matrix, and record the calculation results as data set R, R = {r1, r2, ..., r n }, the data set R and the data set Y form a mapping relationship, r1, r2, and r n Represent the feature matrices A1, A2 and A respectively n The mapping relationships of the remaining elements are similar.
3. A system for intelligent supervision of abnormal data based on data monitoring, the system executing the method for intelligent supervision of abnormal data based on data monitoring as claimed in claim 1, characterized in that: The system includes the following modules: a data transceiver module, a matrix processing module, a feature analysis module, an abnormality location module and a component scaling module; The data transceiver module is used to extract matrix features, send and receive matrix data between node devices, and extract matrix row and column widths; The matrix processing module is used to perform a multiplication operation of the data matrix and the node device characteristic matrix after receiving the data matrix sent by the previous process to obtain a composite matrix, and complete the node device's own processing of the composite matrix; The feature analysis module is used to analyze the eigenvalues and eigenvectors of the matrix after the industrial control terminal receives the final data matrix, and to perform step-by-step inverse operations on the data matrix according to the feature matrix of each node device to obtain a multi-dimensional transfer matrix, and then to determine whether there is a data processing error by calculating the eigenvalue of the transfer matrix. If there is no error, the final transfer matrix is input to the execution terminal for execution; The abnormality positioning module is used to locate the node device where the error step occurs according to the number of inverse operations on the data matrix when a data processing error is found, calculate the deviation value of the device, add an abnormal record of the device, and notify the maintenance personnel of the number of the abnormal device; The component scaling module is used to calculate the degradation coefficient of the abnormal device according to the deviation value and the abnormal frequency of the abnormal device, and scale the processing matrix of the device according to the degradation coefficient to reduce the impact of the device abnormality on the final result.
4. The abnormal data intelligent supervision system based on data monitoring according to claim 3 is characterized by: The data transceiver module includes: a matrix extraction unit and a signal transceiver unit; The matrix extraction unit is used to obtain the initial matrix through the industrial control probe and extract the row and column widths of the matrix; The signal transceiver unit is used to receive the data matrix sent by the previous device and send the processed matrix information to the next device; The matrix processing module includes: a feature fitting unit and an engineering operation unit; The feature fitting unit is used to, after receiving the data matrix, multiply the device's own feature matrix with the data matrix to fit the device features into the data matrix to obtain a composite matrix; The engineering operation unit is used to take the composite matrix as an input matrix, input the node device to perform data processing, and output the processed data matrix.
5. The abnormal data intelligent supervision system based on data monitoring according to claim 4 is characterized in that: The feature analysis module includes: an inversion feature unit, a solution fitting unit and an abnormality judgment unit; The inverse characteristic unit is used to calculate the inverse matrix of the characteristic matrix of all node devices, and calculate the eigenvalues and eigenvectors of these inverse matrices; The solution fitting unit is used to calculate the eigenvalues of the data matrix after the industrial control terminal receives the final data matrix, and multiply the eigenvalues with the inverse matrices of the characteristic matrices of each node device one by one to obtain multiple restored matrices; The abnormality judgment unit is used to calculate the eigenvalue of the restored matrix each time a restored matrix is fitted, and compare the eigenvalue of the restored matrix, the eigenvalue of the characteristic matrix and the eigenvalue of the previous restored matrix to judge whether there is an abnormality in the processing process.
6. The abnormal data intelligent supervision system based on data monitoring according to claim 5 is characterized by: The abnormality positioning module includes: an inversion analysis unit, a feature recovery unit and a deviation recording unit; The inverter analysis unit is used to determine the number of the abnormal device according to the number of restoration steps of the restoration matrix after the abnormality is found, and notify the maintenance personnel of the number of the abnormal device; The feature recovery unit is used to request the previous node device of the abnormal device to send a data matrix, continue to analyze the data matrix, and determine the abnormal conditions of other devices; The deviation recording unit is used to add an abnormal record of an abnormal device and calculate the deviation coefficient of the abnormal device according to the eigenvalue of the restoration matrix.
7. The abnormal data intelligent supervision system based on data monitoring according to claim 6 is characterized by: The component scaling module includes: a degradation calculation unit and a simplification processing unit; The degradation calculation unit is used to calculate the degradation matrix of the device according to the abnormal frequency and deviation coefficient of the abnormal device; The simplified processing unit is used to multiply the matrix to be input into the abnormal device with the degradation matrix, and after the node device obtains the final data matrix, it is multiplied with the inverse matrix of the degradation matrix to restore the data of the final data matrix.
