CN101334395B - COD soft sensing process - Google Patents
COD soft sensing process Download PDFInfo
- Publication number
- CN101334395B CN101334395B CN2008101180523A CN200810118052A CN101334395B CN 101334395 B CN101334395 B CN 101334395B CN 2008101180523 A CN2008101180523 A CN 2008101180523A CN 200810118052 A CN200810118052 A CN 200810118052A CN 101334395 B CN101334395 B CN 101334395B
- Authority
- CN
- China
- Prior art keywords
- neural network
- output
- neuron
- cod
- training
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Abstract
The invention discloses a COD soft measurement method which belongs to the sewage treatment field. Water quality indicators are difficult to carry out the on-line measurement due to the non-linearity, the time-varying property and the complexity of the sewage biological treatment process, but the water quality indicators are often important for the sewage treatment. The COD soft measurement method is designed against the problem of difficult COD on-line measurement and provides the method which applies the rapid EFAST method for pruning redundant neurons, simplifying the neural network structure and carrying out the soft measurement of COD according to the characteristic of the non-linearity of the sewage treatment process. A great deal of materials matching for processing the biochemical reactions of an aeration tank are timely adjusted according to the soft measurement result, thereby facilitating the better removal of the COD and avoiding complicated projects for research and development of sensors. The method can also be expanded to carry out the research of other water quality indicators for guiding the actual production and operation.
Description
Technical field
The present invention relates to the flexible measurement method of effluent quality index in the sewage disposal process, especially utilize quick EFAST method to simplify neural network structure carries out soft measurement to COD method.
Background technology
Wastewater treatment is exactly in fact to adopt necessary processing method and treatment scheme, pollutants in sewage is separated or is translated into harmless material, thereby sewage is purified.Modern sewage water treatment method can be divided into physical treatment process, method of chemical treatment, physicochemical treatment method and biochemical treatment method four big classes by its mechanism of action.Wherein biochemical treatment method is the most frequently used sewage water treatment method of a class, and its major function is to utilize the metabolism of microorganism, makes the organic contaminant that is dissolving and colloidal state in the sewage be converted into stable innoxious substance.Its advantage is the organic removal rate height, and operating cost is low, does not still have the method that can compare favourably with it in municipal effluent and biodegradable Industrial Wastewater Treatment.Activated sludge process wherein is to cause in recent years both at home and abroad extensively to pay attention to, one of aerobic biochemical treatment process that research and application increase day by day.But on the one hand, because the working condition of biological wastewater treatment process is abominable, random disturbance is serious, has many inputs, many output, uncertainty, strong nonlinearity, characteristics such as change greatly the time, makes extremely complexity of this process, is difficult to describe with mathematical model; On the other hand, the good course of reaction that will help to describe activated Sludge System at the intelligent model of nonlinear system, help to simulate the dynamic change of activated Sludge System and to the influence of every water-quality guideline to instruct actual production run, fundamentally improve the efficient stable and the economic rationality of wastewater treatment.Therefore, set up the activated sludge sewage processing system model of more reliable perfect practicality, become the important topic of sewage control engineering area research, and had important practical significance.
In sewage disposal system, there are some water-quality guideline to be difficult to on-line measurement, this is because non-linear, the time variation of biological wastewater treatment process and complicacy cause.And these water-quality guideline are often very important to the qualified discharge or the on-line monitoring in the operation of sewage disposal system of wastewater treatment, as BOD5, COD, SVI.
Develop the Process meter of novel example, in hardware, though can directly solve the detection problem of various sewage disposal process variablees and water quality parameter, but because organism is very complicated in the sewage, research and develop these sensors and will be one expensive big, last long engineering.
Summary of the invention
The objective of the invention is problem,, propose the quick EFAST method of a kind of utilization and prune redundant neuron, simplify neural network structure according to the sewage disposal process nonlinear feature at COD on-line measurement difficulty, and the method for COD being carried out soft measurement.According to soft measurement result, in time adjust the material collocation of countless processing aeration tank biochemical reaction, so that COD is better removed, avoided the complex engineering of research and development sensors.Also this method can be expanded, other water-quality guideline is studied, to instruct actual production run.
The present invention has adopted following technical scheme and performing step:
1. the method for the soft measurement of COD is characterized in that, may further comprise the steps:
(1). set up three layers of feedforward neural network forecast model of the soft measurement of COD; Be input as sewage regulating reservoir influent quality index, be output as chemical oxygen demand COD;
Initialization neural network: determine the connected mode of l-p-1, the weights of neural network are carried out random assignment;
Promptly an input layer has l neuron, and hidden layer has three layers of feedforward neural network of p neuronic single output, x
1, x
2..., x
lThe input of expression neural network, y
dThe desired output of expression neural network; Total k training sample, (it is that field of neural networks is known that the size of the number k of training sample is set) establishes t training sample is x
1(t), x
2(t) ..., x
l(t), y
d(t), when then using t training sample neural network training, hidden layer j neuronic output is expressed as:
Wherein, x
iBe the input of neural network, w
I, j IBe input layer weights, Z
jBe hidden layer j neuronic output, ψ is the sigmoid function, and its form is:
The pass of hidden layer neuron output and neural network output is:
Wherein, w
j OBe the output layer weights, y is the actual output of neural network;
The definition error function is
The purpose of neural network training is to make the error function of formula (4) definition reach minimum;
(2). sample data is proofreaied and correct;
If k data sample x (1), x (2) ..., x (k), average is x, the deviation of each sample is v (t)=x (t)-x, calculates standard deviation according to the Bessel formula:
If the deviation of some sample x (t) satisfies:
|v(t)|≥3σt=1,2,...,k (6)
Think that then sample x (t) is an abnormal data, should give rejecting, the data after obtaining proofreading and correct;
(3). with the data neural network training after proofreading and correct, and in training process, utilize quick EFAST that the redundant hidden neuron of neural network is pruned,, increase generalization ability and predetermined speed of neural network to simplify neural network structure;
Be specially: with the output Z of p hidden neuron
1, Z
2..., Z
pAs p input parameter of quick EFAST algorithm, with the output of neural network as the output of EFAST algorithm fast, by calculating input parameter Z
1, Z
2..., Z
pFor the sensitivity of output Y, prune the little neuron of sensitivity;
Write down the output valve of each hidden layer neuron in the training process, find out maximal value and minimum value;
J (j=1,2 .., p) maximal value of individual hidden neuron output in the training m step is b
j, minimum value is a
j, then suppose Z
jWith assigned frequency w
jAt [a
j, b
j] interior vibration, that is:
The output y of convolution (3) neural network is expressed as:
(5). calculate each neuronic sensitivity:
If calculate the sensitivity of h hidden neuron, then the fourier coefficient of this neuron correspondence is:
Wherein, w
h=8p;
All the other neuron fourier coefficient A except that h neuron
jAnd B
jBe expressed as:
Wherein, j=1,2 ..., h-1, h+1 ..., p, and w
j=j;
Output Z by each hidden layer neuron of feedforward neural network
1, Z
2..., Z
pBetween do not interact, the Fourier amplitudes value mainly concentrates on the fundamental frequency, adopts following formula to calculate the total sensitivity of h hidden neuron;
Wherein, denominator is to comprise A
h 2+ B
h 2In all interior hidden neuron fourier coefficient sums; ST
hComprise Z
hBe independent of effect and the Z of other input parameter to output
hSynergy with other input parameter is called total sensitivity;
Then the total sensitivity sum of p hidden neuron is:
The sensitivity of h input parameter is:
S
h=ST
h/Sum_S (15)
Neural network is pruned, promptly delete S
hHidden layer neuron less than 5%;
(6). continue neural network training, then every certain step number repeating step (2)-(5), the sensitivity of all hidden layer neuron all stops to prune greater than 5% in new neural network;
(7). neural network training up to error E less than specification error E
dThis error is generally less than 0.01;
(8). forecast sample is predicted: with the input of forecast sample data as the neural network that trains, the output of neural network is predicting the outcome of water outlet COD.
Creativeness of the present invention is mainly reflected in:
(1) the present invention is directed to the problem that chemical oxygen demand COD is difficult to on-line measurement,, adopted neural network that COD is carried out soft measurement, saved the complex process of development sensor, thereby had more convenience according to the characteristics that neural network can be approached nonlinear function.
(2) the present invention adopts quick EFAST method that the structure of neural network is pruned, and has solved the problem that the neural network initial configuration is difficult to determine, has avoided neural network to cause generalization ability poor owing to too complicated, and fitting precision is low.
To note especially: the present invention just for convenience for the purpose of, so what adopt is that COD is carried out soft measurement, equally also, should belong to scope of the present invention as long as adopted principle of the present invention to measure all applicable to BOD5, SVI etc.
Description of drawings
The soft measurement neural net model establishing of Fig. 1 .COD.
Fig. 2. the quick EFAST algorithm of neural network is pruned back prediction COD value and actual value matched curve figure.
Embodiment
Experimental data is from certain sewage treatment plant's water analysis daily sheet.Fig. 1 has provided the COD neural network prediction model, and its input is respectively mixed liquor suspended solid, MLSS (MLSS), oil, pH, ammonia nitrogen, is output as the COD of water outlet in the sewage disposal process.Wherein MLSS is meant the weight of the contained dewatered sludge of unit volume biochemistry pool mixed liquor; The soda acid degree of pH reflection influent quality; Oil is the content of the oil pollutant of water into; Ammonia nitrogen content in the ammonia nitrogen representative water inlet.COD is meant the oxidized material needed oxygen amount by the chemical oxidizing agent oxidation time of energy in the waste water.Except that pH, above unit is mg/litre.Adopt the connected mode of 4-32-1, i.e. 4 input neurons, 32 hidden neurons, 1 output neuron is seen Fig. 1.Each 100 groups of training sample and forecast samples are pruned neural network with quick EFAST method.
Neural network structure pruning algorithm concrete steps are as follows:
(1). the initialization neural network: determine the connected mode of 4-32-1, the weights of neural network are carried out random assignment, the weights initial value of this experiment is 0 to 1 random number.
(2). sample data is proofreaied and correct.
(3). go on foot to c with the training sample data neural network training after proofreading and correct.If the c choosing is too small, then the quantity of information of Cai Jiing is sufficient inadequately; If the c choosing is excessive, can increase the training time.It is 600 that c is chosen in the experiment of this paper.
(4). write down the output valve of each hidden neuron in the training process, find out maximal value and minimum value.
(5). calculate each neuronic sensitivity: be the output appointment fundamental frequency separately of each hidden neuron.This tests neuronic number is 32, if calculate the sensitivity of the 10th hidden neuron, so just the frequency of each hidden neuron is appointed as [1,2,3 ..., 9,256,11 ..., 32], for each hidden neuron,, calculate this neuronic sensitivity S T according to formula (13) again with maximal value, minimum value and the assigned frequency substitution thereof of its output
h
(6). repeating step (5), up to the total sensitivity of having calculated 32 hidden neuron.
(7). calculate each neuronic sensitivity S according to formula (15)
h(h=1,2 ..., p), deletion S
hHidden layer neuron less than 5%.
(8). continue neural network training, then every certain step number t repeating step 2-5, the sensitivity of all hidden layer neuron all stops to prune greater than 5% in new neural network.It is excessive that t should not select, otherwise neural network might finish with regard to training in the step at t; If the t choosing is too small, then the training burden of Cai Jiing is abundant inadequately.It is 100 that t is chosen in this experiment.
(9). neural network training up to deviation less than specification error E
dE is chosen in this experiment
d=0.01.。
(10). forecast sample is predicted: with the input of forecast sample data as the neural network that trains, the output of neural network is predicting the outcome of water outlet COD.
Fig. 2 is that the quick EFAST method of neural network is pruned back prediction COD value and actual value matched curve figure.Hence one can see that, can predict water outlet COD effectively based on the structural self-organizing neural network of quick EFAST method.
Claims (1)
1. the method for the soft measurement of COD is characterized in that, may further comprise the steps:
(1). set up three layers of feedforward neural network forecast model of the soft measurement of COD; Be input as sewage regulating reservoir influent quality index, be output as chemical oxygen demand COD;
Initialization neural network: determine the connected mode of l-p-1, the weights of neural network are carried out random assignment;
Promptly an input layer has l neuron, and hidden layer has three layers of feedforward neural network of p neuronic single output, x
1, x
2..., x
lThe input of expression neural network, y
dThe desired output of expression neural network; Total k training sample, establishing t training sample is x
1(t), x
2(t) ..., x
l(t), y
d(t), when then using t training sample neural network training, hidden layer j neuronic output is expressed as:
Wherein, x
iBe the input of neural network,
Be input layer weights, Z
jBe hidden layer j neuronic output, ψ is the sigmoid function, and its form is:
The pass of hidden layer neuron output and neural network output is:
The definition error function is
The purpose of neural network training is to make the error function of formula (4) definition reach minimum;
(2). sample data is proofreaied and correct;
If k data sample x (1), x (2) ..., x (k), average is
The deviation of each sample is
Calculate standard deviation according to the Bessel formula:
If the deviation of some sample x (t) satisfies:
|v(t)|≥3σt=1,2,...,k (6)
Think that then sample x (t) is an abnormal data, should give rejecting, the data after obtaining proofreading and correct;
(3). with the data neural network training after proofreading and correct, and in training process, utilize quick EFAST that the redundant hidden neuron of neural network is pruned,, increase generalization ability and predetermined speed of neural network to simplify neural network structure;
Be specially: with the output Z of p hidden neuron
1, Z
2..., Z
pAs p input parameter of quick EFAST algorithm, with the output of neural network as the output of EFAST algorithm fast, by calculating input parameter Z
1, Z
2..., Z
pFor the sensitivity of output Y, prune the little neuron of sensitivity;
Write down the output valve of each hidden layer neuron in the training process, find out maximal value and minimum value;
The maximal value of j hidden neuron output in the training m step is b
j, minimum value is a
j, j=1 wherein, 2 ..., p then supposes Z
jWith assigned frequency w
jAt [a
j, b
j] interior vibration, that is:
The output y of convolution (3) neural network is expressed as:
(4). calculate each neuronic sensitivity:
If calculate the sensitivity of h hidden neuron, then the fourier coefficient of this neuron correspondence is:
Wherein, w
h=8p;
All the other neuron fourier coefficient A except that h neuron
jAnd B
jBe expressed as:
Wherein, j=1,2 ..., h-1, h+1 ..., p, and w
j=j;
Output Z by each hidden layer neuron of feedforward neural network
1, Z
2..., Z
pBetween do not interact, the Fourier amplitudes value mainly concentrates on the fundamental frequency, adopts following formula to calculate the total sensitivity of h hidden neuron;
Wherein, denominator is to comprise
In all interior hidden neuron fourier coefficient sums; ST
hComprise Z
hBe independent of effect and the Z of other input parameter to output
hSynergy with other input parameter is called total sensitivity;
Then the total sensitivity sum of p hidden neuron is:
The sensitivity of h input parameter is:
S
h=ST
h/Sum_S (15)
Neural network is pruned, promptly delete S
hHidden layer neuron less than 5%;
(5). continue neural network training, then every certain step number repeating step (2)-(4), the sensitivity of all hidden layer neuron all stops to prune greater than 5% in new neural network;
(6). neural network training up to error E less than specification error E
d
(7). forecast sample is predicted: with the input of forecast sample data as the neural network that trains, the output of neural network is predicting the outcome of water outlet COD.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008101180523A CN101334395B (en) | 2008-08-07 | 2008-08-07 | COD soft sensing process |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008101180523A CN101334395B (en) | 2008-08-07 | 2008-08-07 | COD soft sensing process |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101334395A CN101334395A (en) | 2008-12-31 |
CN101334395B true CN101334395B (en) | 2011-11-16 |
Family
ID=40197129
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008101180523A Expired - Fee Related CN101334395B (en) | 2008-08-07 | 2008-08-07 | COD soft sensing process |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101334395B (en) |
Families Citing this family (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101540019B (en) * | 2009-04-29 | 2011-01-05 | 重庆市环境科学研究院 | Dynamic management method of water quality prediction analytic solution model library based on service request |
CN101923083B (en) * | 2009-06-17 | 2013-04-10 | 复旦大学 | Sewage chemical oxygen demand soft measuring method based on support vector machine and neural network |
CN101833281A (en) * | 2010-02-26 | 2010-09-15 | 华南理工大学 | Control method for saving energy of aeration in sewage treatment |
CN102122134A (en) * | 2011-02-14 | 2011-07-13 | 华南理工大学 | Method and system for wastewater treatment of dissolved oxygen control based on fuzzy neural network |
CN102262147A (en) * | 2011-07-15 | 2011-11-30 | 华南理工大学 | Soft measurement method and system for effluent chemical oxygen demand (COD) of waste water treatment system |
CN102662040B (en) * | 2012-04-20 | 2014-06-18 | 辽宁工程技术大学 | Ammonian online soft measuring method for dynamic modularized nerve network |
CN102778548B (en) * | 2012-06-21 | 2014-12-03 | 北京工业大学 | Method for forecasting sludge volume index in sewage treatment process |
CN102879541B (en) * | 2012-07-31 | 2015-01-07 | 辽宁工程技术大学 | Online biochemical oxygen demand (BOD) soft measurement method based on dynamic feedforward neural network |
CN102854296B (en) * | 2012-08-30 | 2015-03-11 | 北京工业大学 | Sewage-disposal soft measurement method on basis of integrated neural network |
CN102855401B (en) * | 2012-09-10 | 2016-03-09 | 济南市环境保护科学研究院 | The method of a kind of pollution entering the water excellent control pollutant overall target screening |
CN103399134B (en) * | 2013-08-20 | 2014-12-31 | 渤海大学 | Sewage COD soft measurement method based on output observer |
CN103728431A (en) * | 2014-01-09 | 2014-04-16 | 重庆科技学院 | Industrial sewage COD (chemical oxygen demand) online soft measurement method based on ELM (extreme learning machine) |
CN103793604A (en) * | 2014-01-25 | 2014-05-14 | 华南理工大学 | Sewage treatment soft measuring method based on RVM |
CN107664683A (en) * | 2016-07-30 | 2018-02-06 | 复凌科技(上海)有限公司 | A kind of water quality hard measurement Forecasting Methodology of total nitrogen |
CN107665288A (en) * | 2016-07-30 | 2018-02-06 | 复凌科技(上海)有限公司 | A kind of water quality hard measurement Forecasting Methodology of COD |
CN112794550B (en) * | 2020-12-08 | 2022-11-18 | 翰克偲诺水务集团有限公司 | Method and system for solving COD standard exceeding of effluent of sewage treatment plant based on artificial intelligence |
CN114858207A (en) * | 2022-03-31 | 2022-08-05 | 同济大学 | Soft measurement-based gridding source tracing investigation method for drain outlet of river channel |
-
2008
- 2008-08-07 CN CN2008101180523A patent/CN101334395B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN101334395A (en) | 2008-12-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101334395B (en) | COD soft sensing process | |
Ye et al. | Tackling environmental challenges in pollution controls using artificial intelligence: A review | |
Kamali et al. | Artificial intelligence as a sustainable tool in wastewater treatment using membrane bioreactors | |
Safeer et al. | A review of artificial intelligence in water purification and wastewater treatment: Recent advancements | |
CN103197544B (en) | Sewage disposal process multi-purpose control method based on nonlinear model prediction | |
CN101387632B (en) | Soft measurement method for biochemical oxygen demand BOD in process of sewage disposal | |
Yang et al. | Progress in the development of control strategies for the SBR process | |
CN102854296A (en) | Sewage-disposal soft measurement method on basis of integrated neural network | |
CN101786721B (en) | Random process predicting method for outlet water organic substance concentration of municipal sewage treatment plant | |
Hamada et al. | Application of artificial neural networks for the prediction of Gaza wastewater treatment plant performance-Gaza strip | |
JP2004025160A (en) | System and method for artificial intelligence control of sewage waste water treatment by neural network and inversion wave algorithm | |
CN104817195B (en) | The low energy consumption sewage aeration system of subregion oxygen supply stage by stage | |
CN104182794A (en) | Method for soft measurement of effluent total phosphorus in sewage disposal process based on neural network | |
CN108088974A (en) | A kind of flexible measurement method of anaerobism while denitrification methane phase process water outlet nitrate nitrogen | |
Abbas et al. | Kinetics of nitrogen removal in pilot-scale internal-loop airlift bio-particle reactor for simultaneous partial nitrification and anaerobic ammonia oxidation | |
Bongards | Improving the efficiency of a wastewater treatment plant by fuzzy control and neural networks | |
Yazdani et al. | Evaluating the performance of a sequencing batch reactor for sanitary wastewater treatment using artificial neural network | |
Besharati Fard et al. | Estimation of effluent parameters of slaughterhouse wastewater treatment with artificial neural network and B-spline quasi interpolation | |
Yetilmezsoy et al. | Adaptive neuro-fuzzy inference-based modeling of a full-scale expanded granular sludge bed reactor treating corn processing wastewater | |
Alekseevsky et al. | Formalization of the task of creating a mathematical model of combined wastewater treatment processes | |
Filipe et al. | Biological wastewater treatment, revised and expanded | |
CN115353223A (en) | Laboratory wastewater treatment integrated method and device based on ANFIS model | |
Stanley | Process modeling and control of enhanced coagulation | |
Haimi et al. | Process automation in wastewater treatment plants: The Finnish experience | |
Sweeney et al. | Modeling, instrumentation, automation, and optimization of wastewater treatment facilities |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20111116 Termination date: 20210807 |