Multi-working-condition industrial process monitoring method based on dictionary learning

The dictionary learning method is used to establish an overall dictionary model for multi-working-condition industrial processes, which solves the problems of model complexity and the influence of redundant dictionary atoms in traditional methods in multi-working-condition monitoring, achieves efficient working-condition monitoring and fault diagnosis, and ensures Industrial process safety and product quality.

CN118689176APending Publication Date: 2024-09-24BEIJING UNIV OF CHEM TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410687199.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

Traditional data-driven monitoring methods are difficult to directly model and monitor multi-condition industrial processes because they assume that data are independent and identically distributed, resulting in increased model complexity and redundant dictionary atoms affecting monitoring accuracy.

Method used

A method based on dictionary learning is adopted to establish a separate dictionary model for each working condition, select important dictionary atoms to form an overall dictionary model, reduce model complexity, and calculate reconstruction errors through kernel density estimation and sparse coding to achieve working condition monitoring.

Benefits of technology

It effectively reduces the complexity of the model, improves monitoring capabilities, can detect abnormalities in multi-condition processes in a timely manner, ensures safety and product quality, and does not require system-specific mechanism models or additional equipment, saving costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118689176A
    Figure CN118689176A
Patent Text Reader

Abstract

The invention discloses a multi-working-condition industrial process monitoring method based on dictionary learning, and relates to the technical field of industrial process monitoring, and the main points of the technical scheme are that the method comprises the steps: obtaining control valve data of a working condition sample, and carrying out the standardization processing, and obtaining a working condition sample matrix; establishing a single-working-condition dictionary model through the working-condition sample matrix, and performing training to obtain a dictionary corresponding to the working-condition samples; sorting atoms in the dictionary according to the sparse coding frequency, and selecting important dictionary atoms; combining the important dictionary atoms to generate an overall dictionary model; calculating to obtain reconstruction errors of all working condition samples; and the reconstruction errors of all the working condition samples are calculated to obtain a control limit, so that working condition industrial process monitoring is realized. According to the invention, modeling is carried out on each working condition of the multi-working-condition process by using a dictionary learning method, and the multi-working-condition process is monitored by selecting important dictionary atoms corresponding to each working condition to form an integral dictionary, so that the model complexity is reduced, and the monitoring capability is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of industrial process monitoring, and more specifically, to a multi-operating-condition industrial process monitoring method based on dictionary learning. Background Art

[0002] In recent years, with the in-depth development of industrialization, the industrial production process has become increasingly complex, and a slight fault may lead to serious chain reactions and safety accidents. Accidents caused by equipment failures at home and abroad also occur from time to time. Behind each accident report is a broken family and huge economic and property losses. Therefore, the implementation of effective industrial process monitoring methods and timely detection of abnormalities in the industrial process are of great significance for maintaining the safety and stability of the industrial production process and safeguarding the country's industrialization development.

[0003] Process monitoring methods are mainly divided into three categories: model-based, expert knowledge-based, and data-driven. Unlike the first two methods, which require professional knowledge or prior knowledge such as accurate modeling of equipment, data-driven methods only need to use information such as historical operating data of equipment in the actual production process to model, and have fundamentally better generalization. The advent of the big data era provides data support for data-driven methods, making data-driven methods more widely used; in actual production processes, due to different product requirements, production stages, etc., the production process generally has different working conditions, and different working conditions have different statistical characteristics. Traditional data-driven monitoring methods often assume that data is independent and identically distributed, making it difficult to directly model and monitor. This requires corresponding methods to model such multi-condition processes and realize process monitoring.

[0004] As a type of machine learning method, dictionary learning method mainly consists of two parts: dictionary and sparse coding. The purpose of dictionary learning method is to optimize dictionary and sparse coding so that dictionary can represent samples. The uniqueness of dictionary learning lies in its powerful sparse representation ability. Each column of the dictionary is called dictionary atom. Sparse coding is used to select a few important dictionary atoms from the overcomplete dictionary atoms to linearly represent samples. This has great advantages in complex process monitoring with large dimensions and sample sizes. At the same time, dictionary learning method can train dictionary atoms of different modes, and use different dictionary atoms to represent different working conditions in multi-condition process monitoring, which improves the interpretability of the method.

[0005] However, in the current process of using dictionary learning for multi-condition industrial engineering monitoring, it is necessary to establish a different dictionary for each condition. At the same time, due to the over-completeness of dictionary atoms, the complexity of the model will be greatly increased, and the redundant dictionary atoms in the monitoring process will seriously affect the accuracy of condition judgment.

[0006] Therefore, the present invention aims to provide a multi-condition industrial process monitoring method based on dictionary learning to solve the above problems. Summary of the invention

[0007] The purpose of the present invention is to provide a multi-condition industrial process monitoring method based on dictionary learning, which uses the dictionary learning method to model each working condition of the multi-condition process, and monitors the multi-condition process by selecting important dictionary atoms corresponding to each working condition to form an overall dictionary, thereby reducing the complexity of the model and improving the monitoring capability.

[0008] The above technical objectives of the present invention are achieved through the following technical solutions: A multi-condition industrial process monitoring method based on dictionary learning, comprising the following steps:

[0009] S1. Obtain control valve data of working condition samples and perform standardization processing to obtain a working condition sample matrix;

[0010] S2. Establish a single working condition dictionary model through the working condition sample matrix, and train the single working condition dictionary model by using an alternating update training method to obtain a dictionary corresponding to the working condition sample;

[0011] S3, sorting the atoms in the dictionary according to the sparse coding frequency, and selecting a certain proportion of dictionary atoms as important dictionary atoms of the working condition;

[0012] S4, combining important dictionary atoms to generate an overall dictionary model;

[0013] S5, calculating the reconstruction error of all working condition samples through the overall dictionary model;

[0014] S6. The kernel density estimation method is used to calculate the reconstruction error of all working condition samples to obtain the control limit, thereby realizing the working condition industrial process monitoring.

[0015] The present invention is further configured as follows: the control valve data in step S1 are flow valve data, temperature valve data and pressure valve data, which are representative in the working condition sample.

[0016] The present invention is further configured as follows: the alternating updating training method in step S2 comprises the following steps:

[0017] S21, first randomly initialize a dictionary matrix;

[0018] S22, fixing the dictionary matrix unchanged, and using the orthogonal matching pursuit method to update the sparse coding matrix;

[0019] S23, fixing the sparse coding matrix and updating the dictionary matrix by column-by-column updating method;

[0020] S24, continue to iterate the update of the sparse coding matrix and the dictionary matrix until convergence or the maximum number of iterations is reached, and complete the single-condition dictionary model training.

[0021] The present invention is further configured as follows: the process of generating the overall dictionary model in step S4 is to ensure the representation capability of each working condition by retaining the key atoms in each dictionary, while deleting redundant atoms in the dictionary to ensure that the complexity of the overall dictionary model is reduced, thereby avoiding the influence of redundant atoms.

[0022] The present invention is further configured as follows: in the step S6, the operating condition industrial process monitoring adopts an operating condition judgment method to determine whether the operating condition sample distribution has been learned by the dictionary in the overall dictionary model.

[0023] The present invention is further configured as follows: the method for determining the working condition comprises the following steps:

[0024] S61, calculating and obtaining the sparse coding of the working condition sample in the overall dictionary model;

[0025] S62, obtaining a reconstructed sample of the working condition sample in the overall dictionary model through sparse coding;

[0026] S63, obtaining a reconstruction error of the working condition sample by reconstructing the sample calculation;

[0027] S64. Compare the reconstruction error of the operating condition sample with the control limit. If the reconstruction error is less than the control limit, it is considered that the distribution of the operating condition sample has been learned by the dictionary in the overall dictionary model and is regarded as a normal operating condition sample. Conversely, if the reconstruction error is greater than the control limit, it is considered that the distribution of the operating condition sample has not been learned by the dictionary in the overall dictionary model and is regarded as an abnormal operating condition sample.

[0028] The present invention is further configured as follows: in the step S6, the industrial process monitoring of the operating conditions adopts the method of sparse contribution graph to obtain the contribution of fault diagnosis. When an abnormality is detected, the variable with the largest contribution is determined as the variable causing the system abnormality, so that valves with larger contribution can be checked preferentially for fault diagnosis.

[0029] In summary, the present invention has the following beneficial effects:

[0030] 1. The present invention provides a multi-condition industrial process monitoring method based on dictionary learning. The method establishes a corresponding dictionary model for each condition and selects important dictionary atoms of each condition to form an overall dictionary to monitor the multi-condition process, thereby greatly reducing the complexity of the model.

[0031] 2. The multi-condition process monitoring method proposed in the present invention provides a basis for operators to formulate corresponding control strategies through accurate condition judgment. At the same time, combined with online fault detection, it can timely discover abnormalities in the multi-condition process, thereby ensuring the process safety and product quality of the multi-condition process;

[0032] 3. The method proposed in the present invention does not need to use a specific mechanism model of the system. It only needs to obtain historical data of the normal operation of the system under various working conditions. It does not need to install additional sensors and other equipment, thus saving the online cost of the system. Moreover, the method proposed in the present invention is scalable. When a new working condition is generated or an old working condition is no longer used, it is only necessary to add dictionary atoms corresponding to the new working condition or remove dictionary atoms corresponding to the old working condition, so that the present invention is applicable to various working condition monitoring scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 It is a flowchart of a multi-condition industrial process monitoring method based on dictionary learning in an embodiment of the present invention;

[0034] Figure 2 1 is a schematic diagram of the overall dictionary model implementation process of a multi-operating-condition industrial process monitoring method based on dictionary learning in an embodiment of the present invention;

[0035] Figure 3 This is a fault detection experiment diagram of a multi-operating-condition industrial process monitoring method based on dictionary learning in an embodiment of the present invention;

[0036] Figure 4 This is a working condition judgment experiment diagram of a multi-working condition industrial process monitoring method based on dictionary learning in an embodiment of the present invention;

[0037] Figure 5 This is a fault diagnosis experiment diagram of a multi-condition industrial process monitoring method based on dictionary learning in an embodiment of the present invention. DETAILED DESCRIPTION

[0038] The following is combined with Figure 1-5 The present invention is described in further detail.

[0039] Embodiment: A multi-condition industrial process monitoring method based on dictionary learning comprises the following steps:

[0040] S1. Obtain control valve data for each working condition in the offline stage, mainly selecting data of a portion of representative flow valves, temperature valves, pressure valves, etc.

[0041] In this embodiment, there are a total of S different operating conditions, which are defined as Mode l (l=1,2,·…·S), for each working condition, collect the historical data of normal operation X l =[xl,1 ,x l,2 ,·…·x l,m ]∈R n×m , the number of valves used for modeling is n, and the number of samples is m.

[0042] In order to eliminate the influence of different data dimensions from different valves in the data set, the original data is standardized for each working condition sample, and μ l,i and σ l,i Mode l The sample data mean and standard deviation of the i-th (i=1,2,·…·n) valve in are calculated as follows:

[0043]

[0044] Mode l , and obtain the sample matrix after standardized processing for this working condition:

[0045]

[0046] S2, for Mode l , the dictionary model representing this working condition is established as follows:

[0047]

[0048] Among them, D l =[d1,d2,…d k ]∈R n×k That is, the dictionary model, each column is a dictionary atom, and each dictionary atom satisfies the modulus length of 1. W = [w1, w2, ... w m ]∈R k×m represents sparse coding, The dictionary model represents the reconstruction error of the sample. The purpose of dictionary learning is to update the dictionary so that the dictionary model can learn the distribution of the sample, so that a small number of dictionary atoms can be used to represent the sample with a small reconstruction error. In order to ensure that the dictionary model can represent the sample, it is necessary to first ensure that the initial dictionary atom has an overcomplete characteristic, that is, k>>m. In order to reflect the dictionary model's ability to represent the sample, the sparse coding matrix is ​​required to be as sparse as possible, that is, only a linear combination of a few dictionary atoms is used to achieve accurate representation of the sample.

[0049] In this embodiment, the training of the dictionary model adopts an alternating update method. First, a dictionary matrix D is randomly initialized, and D is fixed and the sparse coding matrix W is updated using the orthogonal matching pursuit method as follows:

[0050] w j =argmin{||x j -Dw||+||w||1}

[0051] Among them, j = 1, 2, ... m represents the jth column of the matrix. After obtaining the sparse coding matrix W, W is fixed to update the dictionary matrix D. In the process of updating the dictionary matrix, a column-by-column update method is specifically adopted. For the qth column update, the optimization objective is converted to:

[0052]

[0053] Among them, E q It represents the residual of the remaining dictionary atoms for the sample after removing the qth column of dictionary atoms. The purpose of dictionary updating is to compensate for this residual as much as possible by adjusting the qth column of atoms, perform singular value decomposition on this residual, and use the first column of the singular value matrix to update the current atom. Repeat this process for each atom of the dictionary model to complete an update.

[0054] Continue to iterate by updating the sparse coding matrix W and the dictionary matrix D until convergence or the maximum number of iterations is reached, which is considered to complete the dictionary model training for this working condition. This method can be used to train the dictionary D corresponding to each working condition. l (l=1,2,…S).

[0055] S3. After obtaining the single working condition dictionary model, the atoms are sorted according to the sparse coding frequency, and a certain proportion of dictionary atoms are selected as important dictionary atoms for the working condition.

[0056] Due to the over-completeness of dictionary atoms, many dictionary atoms in the dictionary model are redundant. Combining such dictionary models will greatly increase the complexity of the model. At the same time, redundant dictionary atoms will also affect the monitoring effect. For this reason, this embodiment selects important dictionary atoms corresponding to each working condition to form an overall dictionary to monitor the multi-condition process. Specifically, in the sparse coding process, due to the limitation of sparsity, the encoded dictionary atoms are often more similar to the sample distribution, while few or no encoded dictionary atoms have little effect on the representation of the sample and can be discarded.

[0057] S4. Combine the important dictionary atoms of each working condition into an overall dictionary model D, such as Figure 2 As shown, the overall dictionary model ensures the representation capability of each working condition sample by retaining the key atoms in each single working condition dictionary. Deleting redundant atoms can ensure that the complexity of the overall dictionary model is reduced and the influence of redundant atoms is avoided. The position information of important atoms of each working condition in the overall dictionary model will be used for working condition judgment later.

[0058] S5. The reconstruction error of all working condition samples is calculated by the overall dictionary model. Similar to the goal of the dictionary learning method, in this embodiment, the process monitoring index is the reconstruction error of the dictionary model for the sample; since the overall dictionary model retains the ability to represent samples of different working conditions, an overall control limit is used to achieve process monitoring; specifically, after obtaining the overall dictionary model, the reconstruction error of each offline training sample is calculated as follows:

[0059] RE i =||x i -D * w i ||

[0060] where x i represents the i-th sample, w i It can still be calculated from the sparse coding matrix.

[0061] S6. After obtaining the reconstruction errors of all offline training samples, the control limits are calculated by the kernel density estimation method as follows:

[0062]

[0063] Where f(RE) is the probability density function, M h represents the size of historical data, K(·) represents the kernel function, and specifically uses the Gaussian kernel function. The control limit RE with a certain confidence level α can be obtained through the kernel density estimation method. lim ; Since the overall dictionary model has the ability to represent each operating condition and the reconstruction error level for each operating condition is similar, the overall dictionary uses the global control limits obtained from all operating condition samples for monitoring.

[0064] During the online monitoring process, when the jth online sample When it arrives, first calculate the sparse coding of the online sample in the overall dictionary:

[0065]

[0066] After obtaining the sparse coding, the reconstructed sample of the jth online sample in the overall dictionary is obtained as follows:

[0067]

[0068] After obtaining the reconstructed sample, the online reconstruction error of the online sample can be calculated as follows:

[0069]

[0070] After obtaining the reconstruction error of the sample, it can be compared with the control limit RE obtained by offline training. lim For comparison, if OREj <RE lim , then it is considered that the sample distribution has been learned by the dictionary in offline modeling and is regarded as a normal sample. On the contrary, if ORE j >RE lim , it is considered that the sample distribution has not been learned by the dictionary in offline modeling and should be regarded as an abnormal sample.

[0071] In the present embodiment, during the formation of the overall dictionary model, the position information of each operating condition dictionary atom in the overall dictionary model is known. Using this information, when an online sample arrives, its operating condition can be easily determined; specifically, since the first dictionary atom encoded in the dictionary learning sparse coding process is closest to the sample distribution, the operating condition information represented by the first encoded dictionary atom is the operating condition of the sample.

[0072] In this embodiment, when a fault sample is detected, in order to explore the possible cause of the fault, a sparse contribution graph method is used for fault diagnosis. When a fault occurs, an online sample can be expressed as:

[0073]

[0074] Where I∈R n×m is an identity matrix, f∈R n Indicates fault information. The sample is sparsely encoded as follows:

[0075]

[0076] in, The fault contribution of the i-th valve is sparsely calculated as follows:

[0077]

[0078] in, express The last n rows correspond to n valves one by one. i =[0,…,0,1,0,…,0], 1 is the i-th element.

[0079] Experimental data

[0080] The experiment in this embodiment is tested in the data of the factory catalytic device. In order to prove the feasibility and effectiveness of the multi-condition industrial process monitoring method based on dictionary learning proposed in the present invention, four relatively important valve data are selected in the experiment, including pressure valve, flow valve, temperature valve and liquid level valve, and a total of three working condition data are selected. Each working condition data contains 750 samples as a training set and 250 samples as a test set, among which the last 125 test set samples in the second working condition fail at the fourth valve.

[0081] The experimental results are as follows: Figure 3 As shown in Figure 2, the overall dictionary has a good effect on fault detection, with a false alarm rate of 0.48% and a detection rate of 100%, which can detect faults in the operation process in a timely and accurate manner. Figure 4 As shown in the figure, the method proposed by the present invention has a high accuracy rate in judging the working condition, and only 6 samples in the 750 test set samples are misjudged. This provides great help for operators to judge the working condition in combination with the fault detection method in the multi-working process. Figure 5 As shown in the figure, after a fault is detected, the fault diagnosis method can accurately locate the valve variables, providing a strong basis for subsequent maintenance and troubleshooting.

[0082] In summary, the multi-condition process monitoring method proposed in the present invention is based on the dictionary learning method and has certain effectiveness and practical application value.

[0083] This specific embodiment is merely an explanation of the present invention and is not a limitation of the present invention. After reading this specification, those skilled in the art may make non-creative modifications to the present embodiment as needed. However, as long as they are within the scope of the claims of the present invention, they are protected by the patent law.

Claims

1. A multi-condition industrial process monitoring method based on dictionary learning, characterized by: The following steps are involved: S1. Obtain control valve data of working condition samples and perform standardization processing to obtain a working condition sample matrix; S2. Establish a single working condition dictionary model through the working condition sample matrix, and train the single working condition dictionary model by using an alternating update training method to obtain a dictionary corresponding to the working condition sample; S3, sorting the atoms in the dictionary according to the sparse coding frequency, and selecting a certain proportion of dictionary atoms as important dictionary atoms of the working condition; S4, combining important dictionary atoms to generate an overall dictionary model; S5, calculating the reconstruction error of all working condition samples through the overall dictionary model; S6. The kernel density estimation method is used to calculate the reconstruction error of all working condition samples to obtain the control limit, thereby realizing the working condition industrial process monitoring.

2. The multi-condition industrial process monitoring method based on dictionary learning according to claim 1 is characterized in that: The control valve data in step S1 are flow valve data, temperature valve data and pressure valve data, which are representative in the working condition sample.

3. The multi-condition industrial process monitoring method based on dictionary learning according to claim 1 is characterized in that: The alternating updating training method in step S2 comprises the following steps: S21, first randomly initialize a dictionary matrix; S22, fixing the dictionary matrix unchanged, and using the orthogonal matching pursuit method to update the sparse coding matrix; S23, fixing the sparse coding matrix and updating the dictionary matrix by column-by-column updating method; S24, continue to iterate the update of the sparse coding matrix and the dictionary matrix until convergence or the maximum number of iterations is reached, and complete the single-condition dictionary model training.

4. The multi-condition industrial process monitoring method based on dictionary learning according to claim 1 is characterized in that: The process of generating the overall dictionary model in step S4 is to ensure the representation capability of each working condition by retaining the key atoms in each dictionary, and at the same time delete the redundant atoms in the dictionary to ensure that the complexity of the overall dictionary model is reduced, thereby avoiding the influence of redundant atoms.

5. The multi-condition industrial process monitoring method based on dictionary learning according to claim 1 is characterized in that: The operating condition industrial process monitoring in step S6 adopts an operating condition judgment method to determine whether the operating condition sample distribution has been learned by the dictionary in the overall dictionary model.

6. The multi-condition industrial process monitoring method based on dictionary learning according to claim 5 is characterized in that: The method for determining the working condition comprises the following steps: S61, calculating and obtaining the sparse coding of the working condition sample in the overall dictionary model; S62, obtaining a reconstructed sample of the working condition sample in the overall dictionary model through sparse coding; S63, obtaining a reconstruction error of the working condition sample by reconstructing the sample calculation; S64. Compare the reconstruction error of the operating condition sample with the control limit. If the reconstruction error is less than the control limit, it is considered that the distribution of the operating condition sample has been learned by the dictionary in the overall dictionary model and is regarded as a normal operating condition sample. Conversely, if the reconstruction error is greater than the control limit, it is considered that the distribution of the operating condition sample has not been learned by the dictionary in the overall dictionary model and is regarded as an abnormal operating condition sample.

7. The multi-condition industrial process monitoring method based on dictionary learning according to claim 1 is characterized by: In step S6, the industrial process monitoring of the working condition adopts the sparse contribution graph method to obtain the fault diagnosis contribution. When an abnormality is detected, the variable with the largest contribution is determined as the variable causing the system abnormality, so that the valves with larger contribution can be checked first for fault diagnosis.