A method for identifying bad data of SCR denitrification system based on Elman neural network
Through the method based on Elman neural network, using the steps of relative error screening and multiple construction training, the problem of misjudgment of bad data identification in the SCR denitrification system is solved, high-accuracy bad data identification is achieved, and the stable and efficient operation of the system is ensured.
Patent Information
- Application Number
- CN202010898262.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-31
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2040-08-31
AI Technical Summary
Existing methods for identifying bad data in SCR denitration systems suffer from residual contamination and flooding, leading to misjudgments or omissions, and the existing technology fails to effectively handle bad data on related parameters such as flue gas volume and denitration efficiency.
Adopting a method based on Elman neural network, by constructing and training Elman neural network, using relative error to screen bad samples, and reducing the impact of bad samples on the prediction accuracy of the network through multiple construction and training, and performing inspection and correction to ensure the accuracy of bad data identify.
It improves the accuracy and precision of bad data identification, avoids misjudgments, can effectively identify bad data in the SCR denitration system, and ensures stable and efficient operation of the system.
Smart Images

Figure CN112016248B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of nitrogen oxide control, and specifically relates to a method for identifying bad data of an SCR denitration system based on an Elman neural network. Background Art
[0002] In the process of using and operating the selective catalytic reduction (SCR) denitrification system, in order to ensure the stable operation and effective control of the system, the distributed computer control system (DCS) is generally used to collect and monitor relevant data in real time. However, due to problems such as instrument failure, transmission delay, and recording errors in the data collection process, the samples often contain some bad data. These bad data not only interfere with the control of the denitrification system, but also have a negative impact on the subsequent data analysis and system optimization. Therefore, how to identify bad data is of great significance to the stable and efficient operation of the SCR denitrification system.
[0003] The traditional bad data identification method is mainly based on the analysis of the residuals of the measurement parameters. This method has a strong correlation between multiple bad data and is prone to residual pollution or residual drowning, resulting in misjudgment or omission. In recent years, with the development of artificial intelligence, in-depth data mining and related mathematical theories, bad data identification has made new progress. Among them, artificial neural networks, with their powerful nonlinear fitting and adaptive capabilities, have shown good intelligent characteristics in pattern recognition, automatic control, prediction and estimation, bad data identification and other aspects.
[0004] In terms of power system state estimation, Chinese patent application CN201810059612.6 and Chinese patent application CN201811440318.6 respectively proposed methods for identifying bad data for state estimation based on BP neural network and improved BP neural network, which effectively improved the accuracy of bad data identification. In terms of flue gas denitrification, Chinese patent application CN201910138858.7 proposed a method for predicting the life of SCR flue gas denitrification catalyst based on the Elman neural network model, which fully confirmed the good nonlinear fitting and prediction ability of the neural network for the data related to the denitrification system. However, the main purpose of this method is to predict the activity of the catalyst. The model only involves two parameters, namely, the service time and activity of the catalyst, and cannot be used for the effectiveness verification and bad data identification of the flue gas volume, denitrification efficiency and other related parameters involved in the SCR denitrification system. Up to now, there has been no report on the method for identifying bad data of the SCR denitrification system. Summary of the invention
[0005] The purpose of the present invention is to overcome the deficiencies of the prior art and provide a method for identifying bad data of an SCR denitration system based on an Elman neural network.
[0006] This method constructs and trains an Elman neural network, then uses the trained neural network to perform prediction tests on the original samples, and identifies bad samples by calculating the relative error between the predicted value and the initial value of the test sample; for the identified bad samples, the Elman neural network trained with the optimized sample is used to test and correct the bad samples, and finally determine the bad data.
[0007] In order to achieve the above purpose and the above technical effect, the present invention is implemented by the following technical scheme: a method for identifying bad data of SCR denitration system based on Elman neural network, characterized in that it includes the following steps:
[0008] Step 1, obtaining the original data sample of the SCR denitration system and normalizing the original data;
[0009] Step 2: randomly select training samples and test samples from the original data, construct an Elman neural network model, and determine the neural network topology and related parameters; the training sample capacity is 70% to 90% of the total original data, and the test sample capacity is 10% to 30% of the total original data;
[0010] Step 3: Train the neural network, input the test sample for prediction and identification, calculate the relative error between the predicted value of the test sample and the initial value, select the samples whose relative error meets the preset conditions, and add them to the bad sample set;
[0011] Step 4: Repeat step 2 and step 3 until the preset conditions are met;
[0012] Step 5: Count the occurrence frequencies of the same samples in the bad sample set, and select samples whose occurrence frequencies exceed a preset value and mark them as bad samples;
[0013] Step 6: Remove the marked bad samples, reconstruct and train the Elman neural network, and use the trained neural network to test and correct the bad samples.
[0014] Preferably, in step 1 of the aforementioned method for identifying bad data of an SCR denitration system based on an Elman neural network, the original data should include at least one of the time-varying parameters such as the activity of the SCR denitration catalyst and the life of the SCR denitration catalyst. The normalization processing method of step 1 is as follows:
[0015]
[0016] In the above formula (1): Z ni is the normalized parameter Z i , Z i For parametersZ No. i values, Z max For parameters Z The maximum value of Z min For parameters Z The minimum value of .
[0017] Preferably, in the aforementioned method for identifying bad data of SCR denitration system based on Elman neural network, the Elman neural network in step 2 includes a four-layer structure of input layer, hidden layer, receiving layer and output layer, and the mathematical expression of the network is as follows (2):
[0018]
[0019] In the above formula (2): k Indicates the time, y is the output node element vector, x is the hidden layer node unit vector, x c is the node unit vector of the receiving layer, ω1 is the connection weight between the input layer and the hidden layer, ω2 is the connection weight between the receiving layer and the hidden layer, ω3 is the connection weight between the hidden layer and the output layer, g is the output layer activation function, f is the hidden layer activation function.
[0020] Preferably, in the aforementioned method for identifying bad data of SCR denitrification system based on Elman neural network, satisfying the preset condition in step 3 means that the relative error is greater than a preset value, such as 10%, 20%, 30% or higher; or the relative error is much greater than the average relative error, such as greater than 5 times, 6 times or higher than the average value.
[0021] Preferably, in the aforementioned method for identifying bad data of an SCR denitrification system based on an Elman neural network, the preset condition described in step 4 refers to the number of repetitions being greater than a preset value, such as 10 times, 15 times or more times.
[0022] Preferably, in the aforementioned method for identifying bad data of an SCR denitrification system based on an Elman neural network, the preset value described in step 5 can be 1, 2 or higher.
[0023] Preferably, in the aforementioned method for identifying bad data of SCR denitration system based on Elman neural network, the inspection and correction steps described in step 6 are as follows:
[0024] 1) Delete bad samples, use the optimized samples to build and train the Elman neural network, use the trained neural network to test the bad samples, and calculate the relative error;
[0025] 2) If the relative error of screening is greater than the preset value, such as 10%, 20% or higher, it is determined as bad data; if the relative error of screening is less than 5%, 3% or less, it is corrected to non-bad data;
[0026] 3) Repeat step 1) and step 2) for the remaining samples after screening in step 2) until any of the following conditions is met:
[0027] Condition I: No samples remain after executing step 2);
[0028] Condition II: The number of repetitions exceeds the preset value, such as 3, 4 or more times;
[0029] 4) All remaining samples are confirmed as bad data.
[0030] The beneficial effects of the present invention are:
[0031] 1. Elman neural network is a typical local regression network. In addition to the nonlinear fitting and adaptive learning capabilities of ordinary neural networks, it also has local memory and feedback functions. It is particularly suitable for data analysis and processing with time-varying characteristics. The original data of the flue gas denitrification system involves time-varying parameters such as the life of the SCR denitrification catalyst. Therefore, the Elman neural network has a strong prediction and identification ability for these system parameters.
[0032] 2. Reduce the impact of bad samples on the network prediction accuracy by constructing and training the Elman neural network multiple times, and avoid the subjectivity of manual selection by performing random tests on the original samples.
[0033] 3. By optimizing sample construction and training the Elman neural network, the identified bad samples are tested and corrected, avoiding misjudgment of bad samples and improving accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 It is the topological structure diagram of the Elman neural network with a single hidden layer;
[0035] Figure 2 It is a schematic diagram of the process of the present invention. DETAILED DESCRIPTION
[0036] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments. The following embodiments are used to illustrate the present invention, but are not intended to limit the scope of the present invention.
[0037] This embodiment takes the operating data of a SCR denitration system of a coal-fired power plant for one year as an example, and uses the method of the present invention to detect bad data in these samples.
[0038] Example 1
[0039] A method for identifying bad data of SCR denitrification system based on Elman neural network, such as Figure 1 and Figure 2 As shown, the specific implementation steps are as follows:
[0040] Step 1: Obtain accurate raw data samples from the SCR denitration system, totaling 300 groups. Each group of samples includes the service time of the SCR denitration catalyst, flue gas volume, inlet NO x Concentration, outlet NO x There are 10 parameters in total, including concentration, denitration efficiency, ammonia injection amount, ammonia-air ratio, flue gas temperature, ammonia-nitrogen ratio, and SCR denitration catalyst activity. The first 9 parameters are taken as the neural network input parameters, and the last parameter is taken as the neural network output parameter. Five groups of samples are randomly selected from the original samples, and an error of 10% is artificially added to their values. The processed samples are normalized according to the following formula (1);
[0041]
[0042] Where: Z ni is the normalized parameter Z i , Z i For parameters Z No. i values, Z max For parameters Z The maximum value of Z min For parameters Z The minimum value of .
[0043] Step 2: Randomly select 90% of the original data as training samples, and the remaining 10% of the data as test samples. Construct a neural network structure with four layers, including input layer, hidden layer, receiving layer and output layer. Determine the number of neuron nodes in each layer according to the composition of the original samples, establish an Elman neural network, determine the activation function and learning algorithm of the neural network, and the mathematical expression of the neural network is shown as follows:
[0044]
[0045] Where: k Indicates the time, y is the output node element vector, x is the hidden layer node unit vector, x c is the node unit vector of the receiving layer, ω1 is the connection weight between the input layer and the hidden layer, ω2 is the connection weight between the receiving layer and the hidden layer, ω3 is the connection weight between the hidden layer and the output layer, gis the output layer activation function, f is the hidden layer activation function.
[0046] Step 3: Train the neural network, input the test sample for prediction and identification, calculate the relative error between the predicted value of the test sample and the initial value, select the samples with relative error exceeding 5 times the average value in the test sample, and add them to the bad sample set;
[0047] Step 4: Repeat steps 2 and 3 up to 20 times;
[0048] Step 5: Count the occurrence frequencies of the same samples in the bad sample set, and select samples with an occurrence frequency exceeding 1 and mark them as bad samples;
[0049] Step 6: Remove the marked bad samples, use the optimized samples to reconstruct and train the Elman neural network, and use the trained neural network to test and correct the bad samples. The specific steps are as follows:
[0050] 1) Delete bad samples, use the optimized samples to build and train the Elman neural network, use the trained neural network to test the bad samples, and calculate the relative error;
[0051] 2) Screen samples with a relative error greater than 20% and determine them as bad data; screen samples with a relative error less than 5% and correct them as non-bad data;
[0052] 3) Repeat steps 1) and 2) for the remaining samples after screening in step 2) until any of the following conditions is met: Condition 1, no remaining samples after executing step 2); Condition 2, the number of repetitions is not less than 3 times;
[0053] 4) All remaining samples are confirmed as bad data.
[0054] After the above steps, the method identified 5 groups of bad data, and all the identified samples were set bad samples. The recognition rate of bad data obtained by this method was 100%, and the accuracy rate was 100%.
[0055] Example 2
[0056] A method for identifying bad data of SCR denitrification system based on Elman neural network, such as Figure 1 and Figure 2 As shown, the specific implementation steps are as follows:
[0057] Step 1: Obtain accurate raw data samples from the SCR denitration system, totaling 300 groups. Each group of samples includes the service time of the SCR denitration catalyst, flue gas volume, inlet NO x Concentration, outlet NO xThere are 10 parameters in total, including concentration, denitration efficiency, ammonia injection amount, ammonia-air ratio, flue gas temperature, ammonia-nitrogen ratio, and SCR denitration catalyst activity. The first 9 parameters are taken as the neural network input parameters, and the last parameter is taken as the neural network output parameter. Five groups of samples are randomly selected from the original samples, and an error of 10% is artificially added to their values. The processed samples are normalized according to the following formula (1);
[0058]
[0059] Where: Z ni is the normalized parameter Z i , Z i For parameters Z No. i values, Z max For parameters Z The maximum value of Z min For parameters Z The minimum value of .
[0060] Step 2: Randomly select 90% of the original data as training samples, and the remaining 10% of the data as test samples. Construct a neural network structure with four layers, including input layer, hidden layer, receiving layer and output layer. Determine the number of neuron nodes in each layer according to the composition of the original samples, establish an Elman neural network, determine the activation function and learning algorithm of the neural network, and the mathematical expression of the neural network is shown as follows:
[0061]
[0062] Where: k Indicates the time, y is the output node element vector, x is the hidden layer node unit vector, x c is the node unit vector of the receiving layer, ω1 is the connection weight between the input layer and the hidden layer, ω2 is the connection weight between the receiving layer and the hidden layer, ω3 is the connection weight between the hidden layer and the output layer, g is the output layer activation function, f is the hidden layer activation function.
[0063] Step 3: Train the neural network, input the test sample for prediction and identification, calculate the relative error between the predicted value of the test sample and the initial value, select the samples with relative error exceeding 6 times the average value in the test sample, and add them to the bad sample set;
[0064] Step 4: Repeat steps 2 and 3 up to 15 times;
[0065] Step 5: Count the occurrence frequencies of the same samples in the bad sample set, and select samples with an occurrence frequency exceeding 1 and mark them as bad samples;
[0066] Step 6: Remove the marked bad samples, use the optimized samples to reconstruct and train the Elman neural network, and use the trained neural network to test and correct the bad samples. The specific steps are as follows:
[0067] 1) Delete bad samples, use the optimized samples to build and train the Elman neural network, use the trained neural network to test the bad samples, and calculate the relative error;
[0068] 2) Screen samples with a relative error greater than 20% and determine them as bad data; screen samples with a relative error less than 5% and correct them as non-bad data;
[0069] 3) Repeat steps 1) and 2) for the remaining samples after screening in step 2) until any of the following conditions is met: Condition 1, no remaining samples after executing step 2); Condition 2, the number of repetitions is not less than 3 times;
[0070] 4) All remaining samples are confirmed as bad data.
[0071] After the above steps, the method identified 4 groups of bad data, and all the identified samples were set bad samples. The recognition rate of bad data obtained by this method was 80%, and the accuracy rate was 100%.
Claims
1. A method for identifying bad data of SCR denitration system based on Elman neural network, characterized in that: The following steps are involved: Step 1, obtaining the original data sample of the SCR denitration system and normalizing the original data; Step 2: randomly select training samples and test samples from the original data, construct an Elman neural network model, and determine the neural network topology and related parameters; the training sample capacity is 70% to 90% of the total original data, and the test sample capacity is 10% to 30% of the total original data; Step 3: Train the neural network, input the test sample for prediction and identification, calculate the relative error between the predicted value of the test sample and the initial value, select the samples whose relative error meets the preset conditions, and add them to the bad sample set; Step 4: Repeat step 2 and step 3 until the preset conditions are met; Step 5: Count the occurrence frequencies of the same samples in the bad sample set, and select samples whose occurrence frequencies exceed a preset value and mark them as bad samples; Step 6: Remove the marked bad samples, reconstruct and train the Elman neural network, and use the trained neural network to test and correct the bad samples.
2. The method for identifying bad data of SCR denitration system based on Elman neural network according to claim 1 is characterized in that: The original data in step 1 should include at least one of the time-varying parameters of the SCR denitration catalyst activity or the SCR denitration catalyst life.
3. The method for identifying bad data of SCR denitration system based on Elman neural network according to claim 1 is characterized in that: The normalization processing method in step 1 is as follows: Where: Z ni is the normalized parameter Z i , Z i For parameters Z No. i values, Z max For parameters Z The maximum value of Z min For parameters Z The minimum value of .
4. The method for identifying bad data of SCR denitration system based on Elman neural network according to claim 1 is characterized in that: The random selection method in step 2 is a lottery method or a random number method.
5. The method for identifying bad data of SCR denitration system based on Elman neural network according to claim 1 is characterized in that: The Elman neural network in step 2 includes a four-layer structure of input layer, hidden layer, receiving layer and output layer, and the mathematical expression of the network is: Where: k Indicates the time, y is the output node element vector, x is the hidden layer node unit vector, x c is the node unit vector of the receiving layer, ω1 is the connection weight between the input layer and the hidden layer, ω2 is the connection weight between the receiving layer and the hidden layer, ω3 is the connection weight between the hidden layer and the output layer, g is the output layer activation function, f is the hidden layer activation function.
6. The method for identifying bad data of SCR denitration system based on Elman neural network according to claim 1 is characterized in that: The satisfying of the preset condition in step 3 means that the relative error is greater than at least 20%; or the relative error is at least 5 times greater than the average relative error.
7. The method for identifying bad data of SCR denitration system based on Elman neural network according to claim 1 is characterized in that: The preset condition in step 4 is that the number of repetitions is not less than 10 times.
8. The method for identifying bad data of SCR denitration system based on Elman neural network according to claim 1 is characterized in that: The preset value in step 5 is at least 1.
9. The method for identifying bad data of SCR denitration system based on Elman neural network according to claim 1 is characterized in that: The inspection and correction steps in step 6 are as follows: 1) Delete bad samples, use the optimized samples to build and train the Elman neural network, use the trained neural network to test the bad samples, and calculate the relative error; 2) Screen out samples with a relative error of no less than 10% and confirm them as bad data; screen out samples with a relative error of no more than 5% and correct them as non-bad data; 3) Repeat step 1) and step 2) for the remaining samples after screening in step 2) until any of the following conditions is met: Condition I: No samples remain after executing step 2); Condition II: Repeat the execution for no less than 3 times; 4) All remaining samples are confirmed as bad data.
