Bad data identification method of SCR denitrification system based on optimized BP neural network
By optimizing the combination of BP neural network and genetic algorithm, the deficiencies in bad data identification in the SCR denitration system are solved, accurate identification and elimination of bad data is achieved, and data quality and system stability are improved.
Patent Information
- Application Number
- CN202010898287.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
In the existing technology, there are bad data in the original data of the SCR denitration system, which affects the accuracy of the analysis results, and there is a lack of bad data identification methods for the SCR denitration system.
Using a method based on optimized BP neural network, the original data is processed non-dimensionally to establish a BP neural network model, and the genetic algorithm is used to optimize the neural network parameters, combined with repeated testing and frequency statistics, to screen and correct bad data to improve identification accuracy and accuracy. sex.
Effectively identify and eliminate bad data, improve data quality, and improve the data analysis accuracy and system stability of the SCR denitrification system.
Smart Images

Figure CN112016249B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of nitrogen oxide control, and in particular relates to a method for identifying bad data of an SCR denitration system based on an optimized BP neural network. Background Art
[0002] Selective catalytic reduction (SCR) is a mainstream flue gas denitrification technology, which is widely used in flue gas nitrogen oxide emission control. In the flue gas denitrification system, with the continuous development and innovation of technology, the design of the denitrification system and related operation data are constantly accumulated. Using these data to monitor the operating status of the system, maintain the stable operation and control of the system, and optimize the design of the auxiliary system has gradually become a research hotspot. In order to ensure the smooth progress of the research design, more accurate and reliable original data is necessary. However, due to uncontrollable factors in the process such as data measurement instrument failure and data record transmission, there are often some bad data in the original data, which seriously affects the accuracy of the analysis results. Therefore, how to identify and eliminate bad data in the SCR denitrification system and improve data quality is an urgent problem to be solved in current research.
[0003] The detection and identification methods of bad data have always attracted attention in related fields, and relevant scholars have proposed a variety of bad data detection and identification methods. Among them, the relatively traditional representative methods include the objective function extreme value method, the weighted residual method, and the measurement mutation method, etc. These methods are most widely used in power system state estimation. With the development of computer and artificial intelligence technology, the use of neural network algorithms for bad data detection and identification has gradually attracted the attention of scholars. In the field of power systems, Chinese patent applications CN201810059612.6 and Chinese patent applications CN201811440318.6 respectively proposed methods for identifying bad data for state estimation based on BP neural network and improved BP neural network. In the field of flue gas denitrification, many scholars have proposed the use of BP neural network and genetic algorithm optimized neural network to predict catalyst volume, activity, etc., but unfortunately, there is no report on the bad data identification method of SCR denitrification system. Summary of the invention
[0004] The purpose of the present invention is to overcome the shortcomings and deficiencies of the prior art and to provide a method for identifying bad data of an SCR denitration system based on an optimized BP neural network.
[0005] This method can effectively identify bad data in the original data by constructing a BP neural network to repeatedly test and predict the original data. The BP neural network parameters are optimized by genetic algorithm to prevent the neural network from falling into the local minimum, thereby improving the recognition precision and accuracy.
[0006] In order to achieve the above-mentioned purpose and the above-mentioned technical effect, the present invention is implemented by the following technical scheme: a method for identifying bad data of SCR denitration system based on optimized BP neural network, characterized in that it comprises the following steps:
[0007] Step 1: Obtain the original data sample of the SCR denitrification system and perform dimensionless processing on the sample;
[0008] Step 2: Establish a BP neural network model and use genetic algorithm to optimize the neural network parameters;
[0009] Step 3: Learn and train the neural network, randomly select samples from the original samples for prediction test, calculate the relative error between the predicted value and the true value, and screen samples with relative errors greater than a certain value to preliminarily determine them as bad samples;
[0010] Step 4: Repeat steps 2 and 3 to set the value to construct a bad sample set;
[0011] Step 5: Count the occurrence frequency of the same sample in the bad sample set, and select samples with a frequency exceeding a certain value and mark them as bad samples;
[0012] Step 6: Eliminate the marked bad samples, use the optimized samples to reconstruct and train the neural network, predict the bad samples, and test and correct the bad data based on the relative error.
[0013] Preferably, in the aforementioned SCR denitration system bad data identification method based on optimized BP neural network, the dimensionless processing method of step 1 is as follows:
[0014] (1)
[0015] Where: X norm is a dimensionless input or output parameter, X is the original input or output parameter, X min For data X The minimum value in X max For data X The maximum value in .
[0016] Preferably, in the aforementioned method for identifying bad data of the SCR denitration system based on optimizing the BP neural network, the step 2 of optimizing the neural network parameters by the genetic algorithm comprises:
[0017] 1) Determine the individual fitness function and initialize the population;
[0018] 2) Select individuals to build a new population based on the principle of survival of the fittest;
[0019] 3) Perform crossover and mutation operations on the population;
[0020] 4) Calculate the fitness of the individuals in the population, repeat steps 2) and 3) until the set evolutionary generation is reached or the error requirement is met, and output the best solution obtained by genetic algorithm optimization.
[0021] Preferably, the above-mentioned bad data identification method of the SCR denitrification system based on the optimized BP neural network. The individual fitness function of step 2 can adopt one of the mean square error, root mean square error, mean absolute error, mean relative error, and variance or absolute value and difference. The step 2 initializes the population, including the individual encoding method and determining the population size. Individual encoding refers to encoding the connection weights and thresholds between the layers of the neural network into a chromosome. For the input layer with a number of nodes m , the number of hidden layer nodes is q And the number of output layer nodes is n 3-layer BP neural network, if the length of the chromosome is L ,but The encoding method uses a binary code or a real code; the population size can be determined according to the actual number of samples, which can be 10, 20 or more than 20.
[0022] Preferably, the above-mentioned bad data identification method of the SCR denitrification system based on the optimized BP neural network. The survival of the fittest principle in step 2 refers to retaining individuals with high fitness (i.e., small error), eliminating individuals with low fitness (i.e., large error), and selecting individuals from the parent population through the roulette wheel method to construct a new population.
[0023] Preferably, the above-mentioned bad data identification method of the SCR denitrification system based on the optimized BP neural network. The crossover operation in step 2 is at least one of single-point crossover (binary coding), multi-point crossover (binary coding), discrete crossover (real number coding) or arithmetic crossover (real number coding). The mutation operation in step 2 generates mutant individuals with a certain probability, and selects the mutant individuals and their mutant genes by random number method or lottery method.
[0024] Preferably, the above-mentioned bad data identification method of the SCR denitration system based on the optimized BP neural network. The step 2 of outputting the best solution refers to reverse decoding the individual with the best fitness to obtain the best neural network connection weights and thresholds.
[0025] The beneficial effects of the present invention are:
[0026] 1. Genetic algorithm is used to optimize neural network parameters, which effectively solves the shortcoming that BP neural network is easy to fall into local optimum, thus reducing the prediction and identification accuracy;
[0027] 2. Through repeated BP neural network modeling and random testing, the problem of poor prediction accuracy of neural network due to bad samples mixed into the neural network training process is effectively reduced;
[0028] 3. By optimizing the BP neural network modeling of the samples, the bad data is tested and corrected, thus improving the accuracy of the identification results. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 A schematic diagram of the process for operating the method;
[0030] Figure 2 Schematic diagram of the process of optimizing neural network parameters using genetic algorithm. DETAILED DESCRIPTION
[0031] 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.
[0032] This embodiment takes the historical operation data of the SCR denitration system of a coal-fired power plant as an example, and uses the method of the present invention to detect bad data in these samples.
[0033] Example 1
[0034] Bad data identification method of SCR denitrification system based on optimized BP neural network, such as Figure 1 and Figure 2 As shown, the specific implementation steps are as follows:
[0035] Step 1: Obtain the original data sample of the SCR denitrification system and perform dimensionless processing on the sample;
[0036] 1) Obtain accurate original samples, each sample includes catalyst service time, flue gas volume, inlet NO x Concentration, outlet NO x There are 10 parameters including concentration, ammonia injection amount, denitrification efficiency, ammonia-to-air ratio, flue gas temperature, ammonia-to-nitrogen ratio, and catalyst activity, with a total of 300 sets of samples. 10 sets of samples are randomly selected from the original samples, and a 10% error is added to their values.
[0037] 2) Use the following formula (1) to make each parameter dimensionless.
[0038] (1)
[0039] Step 2: Establish a BP neural network model and use genetic algorithm to optimize the neural network parameters;
[0040] 1) Construct a three-layer neural network structure consisting of an input layer, a hidden layer, and an output layer. Determine the number of neuron nodes in each layer based on the original samples, and determine the neural network activation function and learning training algorithm.
[0041] 2) Define the individual fitness function as sum and variance, calculate the individual coding length corresponding to the neural network weights and thresholds, and use real codes to encode the chromosomes; determine the population size, randomly encode all individuals (i.e. assign initial values), calculate the individual fitness, and generate the initial population.
[0042] 3) The individuals with the best fitness are used to replace the individuals with the worst fitness. The probability of the individuals reproducing offspring is determined according to the size of the fitness. The individuals are selected by the roulette wheel method according to the reproduction probability to construct a new population;
[0043] 4) Set the crossover and mutation probabilities, use arithmetic crossover to perform crossover operations on the population, and use random number method to perform mutation operations on the population to obtain a new generation of population;
[0044] 5) Calculate the fitness of the individuals in the population, repeat steps 3) and 4) until the set evolutionary generation is reached or the error requirement is met, and output the best solution obtained by genetic algorithm optimization.
[0045] Step 3: Use the obtained optimized weights and thresholds to learn and train the neural network, randomly select 10% of the samples from the original samples for prediction testing, calculate the relative error between the predicted value and the true value, and screen samples with a relative error greater than 30% to preliminarily determine them as bad samples;
[0046] Step 4: Repeat steps 2 and 3 20 times to construct a bad sample set;
[0047] Step 5: Count the occurrence frequency of the same sample in the bad sample set, and select samples with an occurrence frequency exceeding 1 and mark them as bad samples;
[0048] Step 6: Eliminate the marked bad samples, use the optimized samples to reconstruct and train the neural network, predict the bad samples, and test and correct the bad data based on the relative error.
[0049] After the above steps, the method identified 9 groups of bad data, and all the identified samples were set bad samples. The recognition rate of bad data obtained by this method was 90%, and the accuracy rate was 100%.
[0050] Example 2
[0051] Bad data identification method of SCR denitrification system based on optimized BP neural network, such as Figure 1 and Figure 2 As shown, the specific implementation steps are as follows:
[0052] Step 1: Obtain the original data sample of the SCR denitrification system and perform dimensionless processing on the sample;
[0053] 1) Obtain accurate original samples, each sample includes catalyst service time, flue gas volume, inlet NO x Concentration, outlet NO x There are 10 parameters including concentration, ammonia injection amount, denitrification efficiency, ammonia-to-air ratio, flue gas temperature, ammonia-to-nitrogen ratio, and catalyst activity, with a total of 300 sets of samples. 10 sets of samples are randomly selected from the original samples, and a 10% error is added to their values.
[0054] 2) Use the following formula (1) to make each parameter dimensionless.
[0055] (1)
[0056] Step 2: Establish a BP neural network model and use genetic algorithm to optimize the neural network parameters;
[0057] 1) Construct a three-layer neural network structure consisting of an input layer, a hidden layer, and an output layer. Determine the number of neuron nodes in each layer based on the original samples, and determine the neural network activation function and learning training algorithm.
[0058] 2) Define the individual fitness function as the sum and variance, calculate the individual coding length corresponding to the neural network weights and thresholds, and use real codes to encode the chromosomes; determine the population size, randomly encode all individuals (i.e. assign initial values), calculate the individual fitness, and generate the initial population.
[0059] 3) The individuals with the best fitness are used to replace the individuals with the worst fitness. The probability of the individuals reproducing offspring is determined according to the size of the fitness. The individuals are selected by the roulette wheel method according to the reproduction probability to construct a new population;
[0060] 4) Set the crossover and mutation probabilities, use arithmetic crossover to perform crossover operations on the population, and use random number method to perform mutation operations on the population to obtain a new generation of population;
[0061] 5) Calculate the fitness of the individuals in the population, repeat steps 3) and 4) until the set evolutionary generation is reached or the error requirement is met, and output the best solution obtained by genetic algorithm optimization.
[0062] Step 3: Use the obtained optimized weights and thresholds to learn and train the neural network, randomly select 15% of the samples from the original samples for prediction testing, calculate the relative error between the predicted value and the true value, and screen samples with a relative error greater than 30% to preliminarily determine them as bad samples;
[0063] Step 4: Repeat steps 2 and 3 30 times to construct a bad sample set;
[0064] Step 5: Count the occurrence frequency of the same sample in the bad sample set, and select samples with an occurrence frequency exceeding 1 and mark them as bad samples;
[0065] Step 6: Eliminate the marked bad samples, use the optimized samples to reconstruct and train the neural network, predict the bad samples, and test and correct the bad data based on the relative error.
[0066] After the above steps, the method identified 10 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%. The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims
1. A method for identifying bad data of SCR denitration system based on optimized BP neural network, characterized in that: The method comprises the following steps: Step 1: Obtain the original data sample of the SCR denitrification system and perform dimensionless processing on the sample; Step 2: Establish a BP neural network model and use genetic algorithm to optimize the neural network parameters; Step 3: Learn and train the neural network, randomly select samples from the original samples for prediction test, calculate the relative error between the predicted value and the true value, and screen samples with relative errors greater than the preset value to preliminarily determine them as bad samples; Step 4: Repeat steps 2 and 3 to set the value to construct a bad sample set; Step 5: Count the occurrence frequency of the same sample in the bad sample set, and select samples whose occurrence frequency exceeds a preset value and mark them as bad samples; Step 6: Eliminate the marked bad samples, use the optimized samples to reconstruct and train the neural network, predict the bad samples, and test and correct the bad data based on the relative error.
2. The method for identifying bad data of SCR denitration system based on optimized BP neural network according to claim 1, characterized in that: The dimensionless processing method in step 1 is as follows: Where: X norm is a dimensionless input or output parameter, X is a raw input or output parameter, X min For data X The minimum value in X max is the maximum value in data X.
3. The bad data identification method of the SCR denitration system based on the optimized BP neural network according to claim 1 is characterized in that: The step of optimizing the neural network parameters by using a genetic algorithm in step 2 includes: 1) Determine the individual fitness function and initialize the population; 2) Select individuals to build a new population based on the principle of survival of the fittest; 3) Perform crossover and mutation operations on the population; 4) Calculate the fitness of the individuals in the population, repeat steps 2) and 3) until the set evolutionary generation is reached or the error requirement is met, and output the best solution obtained by genetic algorithm optimization.
4. The method for identifying bad data of SCR denitration system based on optimized BP neural network according to claim 3 is characterized in that: The individual fitness function in step 1) is one of mean square error, root mean square error, mean absolute error, mean relative error, sum variance or absolute value sum difference.
5. The method for identifying bad data of SCR denitration system based on optimized BP neural network according to claim 3 is characterized in that: The initialization of the population in step 1) includes individual encoding methods and determining the population size.
6. The method for identifying bad data of SCR denitration system based on optimized BP neural network according to claim 3, characterized in that: The survival of the fittest principle in step 2) refers to retaining individuals with high fitness, eliminating individuals with low fitness, and selecting individuals from the parent population through the roulette wheel method to construct a new population.
7. The method for identifying bad data of SCR denitration system based on optimized BP neural network according to claim 3, characterized in that: The crossover operation in step 3) includes at least one of single-point crossover, multi-point crossover, discrete crossover or arithmetic crossover.
8. The method for identifying bad data of SCR denitration system based on optimized BP neural network according to claim 3, characterized in that: The mutation operation in step 3) generates mutant individuals with a certain probability, and the mutant individuals and their mutant genes are selected by random number method or lottery method.
Citation Information
Patent Citations
Spectrogram abnormal sample point detection method based on random sampling agree set
CN103018177A
Wind generating set blade abnormal recognition method and device
CN108087210A
BP neural network-based state estimation bad data identification method
CN108491404A
Power operation and maintenance data cleaning method based on isolation forest algorithm and neural network
CN108776683A
Prediction model of cigarette material and mainstream smoke composition based on genetic algorithm optimized neural network
CN109034388A
