Improved FDA process industry fault diagnosis method based on ensemble learning method
By adopting the integrated learning method in process industry fault diagnosis, the improved FDA process industry fault diagnosis method, combined with Adaboost M2 and L2 norm normalized FDA technology, solves the problem of insufficient correlation of data information and achieves more efficient fault diagnosis. Improved diagnosis and accuracy.
Patent Information
- Application Number
- CN202011374338.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-30
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2040-11-30
AI Technical Summary
In current process industry fault diagnosis, it is difficult to effectively retain data information during data dimensionality reduction and feature extraction. In particular, the information correlation between fault mode categories is insufficient, resulting in low fault diagnosis accuracy.
An improved FDA process industry fault diagnosis method based on integrated learning method is adopted, combined with the FDA data dimensionality reduction technology of Adaboost M2 algorithm and L2 norm normalization, and a strong classifier is constructed to improve fault mode classification through dynamic input process and feature extraction. accuracy.
It significantly improves the accuracy and efficiency of fault diagnosis, shortens the establishment time of the diagnostic model, and enhances the processing ability of multi-classification tasks. It is better than the traditional method in the fault diagnosis experiment of the Tennessee-Eastman process.
Smart Images

Figure CN112598022B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of process industry fault diagnosis, and in particular to an improved FDA process industry fault diagnosis method based on an integrated learning method. Background Art
[0002] As an important pillar industry of my country's national economy, process industries involving petroleum, chemical, metallurgy, papermaking and other industries have always been an important concern for their safe production. Thanks to the integration of disciplines and the continuous development and update of computer technology, the development of process industries has gradually shown the characteristics of large-scale, nonlinear and strongly coupled production equipment. The production process is also highly complex and dangerous, and various failures often occur, causing economic and even life losses. Therefore, fault diagnosis in process industries has always been an important research topic in the production process, a key technology for industrial safety, and is crucial to the safe operation of industrial control systems. Timely detection and resolution of faults are important means to improve production safety and economic benefits. Therefore, it is of great practical significance to study fault diagnosis models and improve the accuracy of fault diagnosis.
[0003] In recent years, data-driven fault diagnosis technology based on multivariate statistical technology has been widely studied and applied, such as principal component analysis method, local preservation projection method, canonical variable analysis method, etc. Principal component analysis (PCA) was once the most widely used data-driven technology in industrial monitoring systems and a classic method for data dimensionality reduction. Using PCA technology to extract the structural features of data can eliminate the correlation of variables while ensuring that the sample data has the largest variance. Due to the advantages of the PCA method in data structure feature extraction, further research on PCA has not been interrupted. For example, some scholars have proposed a new pattern recognition framework based on multi-scale PCA (MSPCA), which combines an adaptive neural fuzzy inference system and creatively divides the state space into a score space and a residual space after extracting data features, which allows fault diagnosis to be performed by multiple classifiers. However, in the process of fault diagnosis, when reducing the dimensionality of data, the data information between each pattern category is also an object that needs to be focused on. Based on this, the present invention uses Fisher discriminant analysis to reduce the dimensionality of data. Fisher discriminant analysis (FDA) is a data dimensionality reduction method widely used in pattern classification. This technology can fully consider the data information between each pattern category. Especially for the case where the number of process failure observations affecting production is relatively small, and the number of variables contained in the failure pattern class is relatively large, when determining the lower dimensional representation, FDA is more suitable for fault diagnosis because of its ability to focus on inter-class information.
[0004] As a supervised learning method, FDA has been widely studied and has the functions of feature extraction and pattern classification. As a method of data feature selection, FDA is superior to PCA in fault diagnosis. FDA can also perform pre-classification while extracting features. Compared with other data-driven methods, FDA can reduce the performance requirements of the classifier when performing fault pattern recognition.
[0005] When classifying fault modes, the present invention selects an algorithm widely used in the field of machine learning and data mining: the Adaboost algorithm. The Adaboost algorithm is an integrated algorithm, and there is an Adaboost M1 variant applied in the field of binary classification, and there is an Adaboost M2 variant applied in the field of multi-classification. Considering that there are many types of faults in the process industry, fault diagnosis belongs to a multi-classification task, and the present invention selects the Adaboost M2 variant. In the present invention, the algorithm applies a special combination strategy for multi-classification tasks, combines several homogeneous weak classifiers (basic classifiers) with poor classification performance, and promotes them to a strong classifier to obtain excellent classification performance. The working mechanism of Adaboost M2 is: first, the first basic classifier 1 is trained from the training set using the initial weight, and then the mode is classified, and the weight of the samples in the training set is further updated according to the learning error rate of the basic classifier 1 for the fault mode, the weight of the misclassified samples is increased, and the weight of the correctly classified samples is reduced, so that each misclassified sample is given more attention. After obtaining the training samples with updated weights, start training basic classifier 2, and iterate several times until the number of basic classifiers reaches the preset number T, then terminate the training, combine the T basic classifiers through the set strategy, and finally upgrade them to a strong classifier.
[0006] In order to verify the feasibility of the present invention, the fault types in the Tennessee Eastman Process (TEP) were taken as the research object, and a fault diagnosis model was established based on the FDA method. The purpose was to timely diagnose the faults in the process industry, reduce the economic losses caused by the faults, and achieve efficient and safe production. TEP is a realistic industrial process simulation created by Eastman Chemical Company in the United States, which provides a model template for scientific research on process monitoring. The simulation process includes five core components: reactor, condenser, compressor, separator and stripping tower, and the material flow involves eight chemical components. The experimental results of the fault diagnosis model proposed by the present invention based on TEP show that compared with other models, the improved FDA fault diagnosis model based on the ensemble learning method can achieve higher accuracy fault diagnosis. Summary of the invention
[0007] In order to solve the limitations and defects of the prior art, the present invention provides an improved FDA process industry fault diagnosis method based on an integrated learning method, including preprocessing the acquired fault data, building a dynamic input process, FDA data dimension reduction and feature extraction, integrated learning method AdaboostM2 method pattern classification, and building a fault diagnosis model;
[0008] The steps of pattern classification of the ensemble learning method AdaboostM2 method include:
[0009] Given a training set S and a basic classifier space Ψ, the expression is as follows:
[0010]
[0011] Among them, z i is the row vector of data Z, y is the category label, c is the number of fault categories, and φ represents the basic classifier;
[0012] Initialize the training set weights, the expression is as follows:
[0013]
[0014] For each weak classifier, divide the sample space Z to obtain Z1, Z2, ..., Z m , in the probability distribution D f The probability of sample category attributes is calculated as follows:
[0015]
[0016] The output of the basic classifier is set in the divided sample space Z, and the expression is as follows:
[0017]
[0018] The normalization factor is calculated and expressed as follows:
[0019]
[0020] Among them, there are F features in total, f = 1, 2, ..., F;
[0021] The basic classifier is selected to minimize the normalization factor, which is expressed as follows:
[0022]
[0023] Calculate the error rate, the expression is as follows:
[0024]
[0025] Among them, T m(z) is the sample label predicted by the basic classifier;
[0026] Calculate the weight of each basic classifier, the expression is as follows:
[0027]
[0028] Update the sample weights, the expression is as follows:
[0029]
[0030] Get the combined classifier, the expression is as follows:
[0031]
[0032] in,
[0033] Optionally, the step of preprocessing the acquired fault data includes: selecting 52 process variables of the Tennessee-Eastman process as inputs and performing fault diagnosis on 21 faults of the Tennessee-Eastman process;
[0034] The normalized data set X0 of the original fault training samples is obtained, and the expression is as follows:
[0035]
[0036] Among them, n represents the number of samples, and m represents the number of variables;
[0037] The step of constructing the dynamic input process includes: dynamically processing the normalized data set X0, selecting a time lag constant L=2, and obtaining an augmented matrix X, which is expressed as follows:
[0038]
[0039] The steps of FDA data dimensionality reduction and feature extraction include: reducing the dimension of the augmented matrix X, calculating the FDA feature vector, and performing L2 norm normalization.
[0040] Optionally, the steps of reducing the dimension of the augmented matrix X, calculating the FDA eigenvector, and performing L2 norm normalization include:
[0041] Construct the total dispersion matrix, the expression is as follows:
[0042] S t =S w +S b (3)
[0043] Among them, S w represents the intra-class dispersion matrix, S brepresents the inter-class dispersion matrix;
[0044] Calculate the FDA vector to minimize the intra-class scatter while maximizing the inter-class scatter. The expression is as follows:
[0045]
[0046] Using the Lagrange multiplier method, the FDA vector w is obtained by solving the generalized eigenvalues k , the expression is as follows:
[0047] S b w k =λ p S w w k (5)
[0048] For the FDA vector w k Perform L2 norm normalization, the expression is as follows:
[0049]
[0050] Select r FDA vectors to construct the linear transformation matrix W new , the expression is as follows:
[0051] W new =(w 2 1,w 2 2,…,w 2 r ) T (7)
[0052] The process industrial data will be dimensional, the expression is as follows:
[0053] Z=W T new ×X (8).
[0054] The present invention has the following beneficial effects:
[0055] The improved FDA process industrial fault diagnosis method based on the ensemble learning method provided by the present invention fully retains the temporal correlation of the industrial process and more useful information after the data is dynamically processed, which is convenient for the L2 norm normalized FDA method to extract features. Under the action of the ensemble learning method, the technical solution provided by the present invention shortens the time for establishing the comprehensive fault diagnosis model and improves the fault diagnosis efficiency. According to the experimental simulation results, compared with the fault diagnosis model that has not been dynamically processed and is based on the Bayesian method, the technical solution provided by the present invention has significant advantages. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] Figure 1This is a TEP flow chart provided in Example 1 of the present invention.
[0057] Figure 2 A schematic diagram of the average classification accuracy curve of the training process provided in Example 1 of the present invention.
[0058] Figure 3 This is a diagram showing the distribution of sample points after dimensionality reduction of the data set provided in Example 1 of the present invention.
[0059] Figure 4 A schematic diagram of a confusion matrix of fault diagnosis results provided in Embodiment 1 of the present invention.
[0060] Figure 5 This is a comparison chart of fault diagnosis results of different methods provided in Example 1 of the present invention. DETAILED DESCRIPTION
[0061] In order to enable those skilled in the art to better understand the technical solution of the present invention, the improved FDA process industry fault diagnosis method based on an integrated learning method provided by the present invention is described in detail below in conjunction with the accompanying drawings.
[0062] Embodiment 1
[0063] This embodiment proposes a new fault diagnosis method based on dynamic L2 norm normalized Fisher discriminant analysis (D-L2-FDA) of Adaboost M2. In the constructed D-L2-FDA model, the fault data set is dynamically processed considering the time series characteristics of the collected process data. The L2 norm normalized FDA is used to extract data features and reduce the dimension of fault data. In addition, in order to classify different types of fault modes, this embodiment adopts the integrated learning method of Adaboost M2. In order to verify the effectiveness of the proposed D-L2-FDA model based on Adaboost M2 in fault diagnosis, this embodiment conducts a case study based on the Tennessee Eastman process. The simulation results show that the diagnostic performance of the D-L2-FDA model based on Adaboost M2 is better than other methods.
[0064] Figure 1 The TEP flow chart provided for the first embodiment of the present invention. In order to improve the accuracy of fault diagnosis, this embodiment provides an improved FDA process industry fault diagnosis method based on an integrated learning method to accurately diagnose process faults and ensure production safety. This embodiment includes: obtaining data and performing data preprocessing, building a dynamic input process, FDA data dimension reduction and feature extraction, integrated learning method AdaboostM2 method pattern classification, and building a fault diagnosis model. Under the action of the integrated learning method, the technical solution provided by this embodiment shortens the time to establish a comprehensive fault diagnosis model and improves the efficiency of fault diagnosis.
[0065] This embodiment is based on TEP simulation, which truly simulates actual factory production. The obtained data set is divided into a training set and a test set. The training set consists of 480 samples and the test set consists of 960 samples. The data in the training set and the test set contain information on 52 variables, including control variables and measurement variables, at different sampling times. The variable information is shown in Table 1. All data sets cover 22 different working conditions, including 1 group of fault-free working conditions and 21 groups of fault working conditions. The description of the fault working conditions and their types are shown in Table 2.
[0066] Table 1 Process variables and their descriptions
[0067]
[0068] Table 2 Faults and their descriptions
[0069]
[0070] Figure 2 This is a schematic diagram of the average classification accuracy curve of the training process provided by the first embodiment of the present invention. In this embodiment, data preprocessing is performed, and in order to consider the continuity and dynamics of the process, the original data set is dynamically processed.
[0071] Figure 3 This is a sample point distribution effect diagram after the data set is reduced in dimension according to the first embodiment of the present invention. This embodiment reduces the dimension and extracts features of the fault data set, adopts the improved FDA method, solves the FDA feature vector, and performs L2 norm normalization to obtain the feature vector direction, while ignoring the feature vector size, thus simplifying the model calculation complexity.
[0072] This embodiment performs fault mode classification, obtains standard data after dimensionality reduction, and then uses the decision tree-based ensemble learning method Adaboost M2 to perform fault mode classification and complete fault diagnosis.
[0073] Figure 4 A schematic diagram of a confusion matrix of fault diagnosis results provided in Embodiment 1 of the present invention. Figure 5 This is a comparison chart of fault diagnosis results of different methods provided in Example 1 of the present invention. This embodiment is an improved FDA fault diagnosis model based on an ensemble learning method, which is used to diagnose process faults in process industries. The original data set is dynamically processed, and the obtained FDA feature vector is normalized by L2 norm to obtain a fault feature extraction model. The fault mode classification is combined with the Adaboost M2 algorithm based on decision tree integration, and finally the process industry fault diagnosis is realized.
[0074] This embodiment obtains a normalized data set X0 of the original fault training samples:
[0075]
[0076] Among them, n represents the number of samples and m represents the number of variables.
[0077] This embodiment performs dynamic processing on X0, selects the time lag constant L=2, and obtains the augmented matrix X:
[0078]
[0079] This embodiment reduces the dimension of the augmented matrix, calculates the FDA eigenvector, and performs L2 norm normalization. This embodiment constructs a total dispersion matrix:
[0080] S t =S w +S b (3)
[0081] Among them, S w represents the intra-class dispersion matrix, S b represents the inter-class dispersion matrix.
[0082] This example calculates the FDA vector to minimize the intra-class dispersion while maximizing the inter-class dispersion:
[0083]
[0084] This embodiment uses the Lagrange multiplier method to obtain the FDA vector w by solving the generalized eigenvalue of the following equation: k :
[0085] S b w k =λ p S w w k (5)
[0086] This embodiment performs L2 norm normalization on the obtained series of FDA vectors:
[0087]
[0088] This embodiment selects r FDA vectors to construct the linear transformation matrix W new :
[0089] W new =(w 2 1,w 2 2,…,w 2 r ) T (7)
[0090] This example performs dimensionality reduction of process industrial data:
[0091] Z=W Tnew ×X (8)
[0092] This embodiment uses the ensemble learning method Adaboost M2 to classify fault modes, and the combined classifier generation process is as follows:
[0093] In this embodiment, the training set S and the basic classifier space Ψ are given:
[0094]
[0095] Among them, z i is a row vector of data Z, representing a sample. y is the class label, c is the number of fault classes, and φ represents the basic classifier.
[0096] This example initializes the training set weights:
[0097]
[0098] This embodiment assumes that there are F features to be obtained, for f = 1, 2, ..., F:
[0099] For each weak classifier, this embodiment performs the following operations:
[0100] This embodiment divides the sample space Z to obtain Z1, Z2, ..., Z m ;
[0101] Under the probability distribution, this embodiment calculates the probability of sample category attributes:
[0102]
[0103] This embodiment sets the output of the basic classifier in the above division:
[0104]
[0105] This embodiment calculates the normalization factor:
[0106]
[0107] This embodiment selects a basic classifier to minimize the normalization factor:
[0108]
[0109] This embodiment calculates the error rate:
[0110]
[0111] Among them, T m (z) is the sample label predicted by the base classifier.
[0112] This example calculates the weight of each basic classifier:
[0113]
[0114] This embodiment updates the sample weights:
[0115]
[0116] This embodiment obtains a combined classifier:
[0117]
[0118] in,
[0119] The combined classifier obtained by expression (18) integrates several basic classifiers with relatively weak classification capabilities into a strong classifier. This embodiment calls this strong classifier an integrated learning method. As an integrated learning method, AdaboostM2 provides a novel pattern classifier, which realizes pattern classification by predicting the labels of test set data based on the extracted process data features, providing a new idea for fault diagnosis. The idea of the Adaboost M2 method is to build a first simple classifier based on the original data distribution. Then, bootstrap generates T weak classifiers, and finally combines these different classifiers together to build a strong classifier with better performance. It can be seen from the algorithm flow that in the weight update process, the weight of the misclassified sample increases, and the weight of the correctly classified sample decreases. Therefore, Adaboost M2 strengthens the learning of the misclassified samples.
[0120] This embodiment finally designs an improved FDA fault diagnosis model based on the ensemble learning method Adaboost M2. Judging from the TEP fault diagnosis experimental results of the model, this embodiment has a high fault diagnosis accuracy rate and has certain practical application value.
[0121] The improved FDA process industrial fault diagnosis method based on the ensemble learning method provided in this embodiment, after dynamically processing the data, fully retains the temporal correlation of the industrial process and more useful information between the data, which is convenient for the L2 norm normalized FDA method to extract features. Under the action of the ensemble learning method, the technical solution provided in this embodiment shortens the time for establishing the comprehensive fault diagnosis model and improves the fault diagnosis efficiency. According to the experimental simulation results, compared with the fault diagnosis model that has not been dynamically processed and is based on the Bayesian method, the technical solution provided in this embodiment has significant advantages.
[0122] It is to be understood that the above embodiments are merely exemplary embodiments used to illustrate the principles of the present invention, but the present invention is not limited thereto. For those of ordinary skill in the art, various modifications and improvements can be made without departing from the spirit and essence of the present invention, and these modifications and improvements are also considered to be within the scope of protection of the present invention.
Claims
1. An improved FDA process industry fault diagnosis method based on ensemble learning method, characterized in that: Including preprocessing of acquired fault data, building a dynamic input process, FDA data dimension reduction and feature extraction, ensemble learning method AdaboostM2 method pattern classification, and building a fault diagnosis model; The steps of pattern classification of the ensemble learning method AdaboostM2 method include: Given a training set S and a basic classifier space Ψ, the expression is as follows: Among them, z i is the row vector of data Z, y is the category label, c is the number of fault categories, and φ represents the basic classifier; Initialize the training set weights, the expression is as follows: For each weak classifier, divide the sample space Z to obtain Z1, Z2, ..., Z m , in the probability distribution D f The probability of sample category attributes is calculated as follows: The output of the basic classifier is set in the divided sample space Z, and the expression is as follows: The normalization factor is calculated and expressed as follows: Among them, there are F features in total, f = 1, 2, ..., F; The basic classifier is selected to minimize the normalization factor, which is expressed as follows: Calculate the error rate, the expression is as follows: Among them, T m (z) is the sample label predicted by the basic classifier; Calculate the weight of each basic classifier, the expression is as follows: Update the sample weights, the expression is as follows: Get the combined classifier, the expression is as follows: in, The step of preprocessing the acquired fault data includes: selecting 52 process variables of the Tennessee-Eastman process as inputs, and performing fault diagnosis on 21 faults of the Tennessee-Eastman process; The normalized data set X0 of the original fault training samples is obtained, and the expression is as follows: Among them, n represents the number of samples, and m represents the number of variables; The step of constructing the dynamic input process includes: dynamically processing the normalized data set X0, selecting a time lag constant L=2, and obtaining an augmented matrix X, which is expressed as follows: The steps of FDA data dimensionality reduction and feature extraction include: reducing the dimension of the augmented matrix X, calculating the FDA feature vector, and performing L2 norm normalization; The steps of reducing the dimension of the augmented matrix X, calculating the FDA eigenvector, and performing L2 norm normalization include: Construct the total dispersion matrix, the expression is as follows: S t =S w +S b (3) Among them, S w represents the intra-class dispersion matrix, S b represents the inter-class dispersion matrix; Calculate the FDA vector to minimize the intra-class scatter while maximizing the inter-class scatter. The expression is as follows: Using the Lagrange multiplier method, the FDA vector w is obtained by solving the generalized eigenvalues k , the expression is as follows: S b w k =λ p S w w k (5) For the FDA vector w k Perform L2 norm normalization, the expression is as follows: Select r FDA vectors to construct the linear transformation matrix W new , the expression is as follows: IN new =(in 2 1,in 2 2,…,in 2 r ) T (7) To reduce the dimension of process industrial data, the expression is as follows: W=W T new ×X (8)。
