CN109408896B - Multi-element intelligent real-time monitoring method for anaerobic sewage treatment gas production - Google Patents

Multi-element intelligent real-time monitoring method for anaerobic sewage treatment gas production Download PDF

Info

Publication number
CN109408896B
CN109408896B CN201811130613.1A CN201811130613A CN109408896B CN 109408896 B CN109408896 B CN 109408896B CN 201811130613 A CN201811130613 A CN 201811130613A CN 109408896 B CN109408896 B CN 109408896B
Authority
CN
China
Prior art keywords
fuzzy
network
genetic
fwnn
neural network
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.)
Active
Application number
CN201811130613.1A
Other languages
Chinese (zh)
Other versions
CN109408896A (en
Inventor
黄明智
易晓辉
阮菊俊
王晓珊
章涛
孔少飞
应光国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
South China Normal University
Original Assignee
South China Normal University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by South China Normal University filed Critical South China Normal University
Priority to CN201811130613.1A priority Critical patent/CN109408896B/en
Publication of CN109408896A publication Critical patent/CN109408896A/en
Application granted granted Critical
Publication of CN109408896B publication Critical patent/CN109408896B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/12Computing arrangements based on biological models using genetic models
    • G06N3/126Evolutionary algorithms, e.g. genetic algorithms or genetic programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N5/00Computing arrangements using knowledge-based models
    • G06N5/04Inference or reasoning models
    • G06N5/048Fuzzy inferencing

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Software Systems (AREA)
  • Biophysics (AREA)
  • Mathematical Physics (AREA)
  • Artificial Intelligence (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Linguistics (AREA)
  • Molecular Biology (AREA)
  • Biomedical Technology (AREA)
  • Evolutionary Biology (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Genetics & Genomics (AREA)
  • Physiology (AREA)
  • Geometry (AREA)
  • Computer Hardware Design (AREA)
  • Automation & Control Theory (AREA)
  • Fuzzy Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a multi-element intelligent real-time monitoring method for the gas production of anaerobic sewage treatment, which comprises the following steps: (1) constructing a genetic-fuzzy wavelet neural network; determining the fuzzy rule number of the network; correcting and improving the network; (2) Programming a genetic-fuzzy wavelet neural network as a program and burning the program into an embedded anaerobic treatment monitoring system; (3) Inputting sewage data as training data into an embedded anaerobic treatment monitoring system, and keeping the trained network structure state in the system; (4) The trained embedded anaerobic treatment monitoring system is connected to a sewage treatment site for online measurement, and the system rapidly obtains gas production and methane content based on the improved genetic-fuzzy wavelet neural network; and (5) sampling every 30 minutes, and repeating the step (4). The invention intelligently monitors the sewage anaerobic treatment system by accurately predicting the gas production and the methane content, and promotes the efficient and stable operation of the sewage anaerobic treatment system.

Description

Multi-element intelligent real-time monitoring method for anaerobic sewage treatment gas production
Technical Field
The invention relates to the field of sewage treatment, in particular to a multi-element intelligent real-time monitoring method for the gas production of anaerobic sewage treatment.
Background
The anaerobic treatment technology is a process of converting organic matters into methane and carbon dioxide by facultative anaerobe groups under anaerobic conditions, is an energy-saving and energy-yielding sewage treatment process, can treat high-concentration organic wastewater, can treat medium-low-concentration organic wastewater, and is widely applied worldwide.
In order to improve the anaerobic process treatment effect, ensure the water quality and simultaneously maximize the gas production, it is very necessary to establish an anaerobic treatment monitoring system. However, the anaerobic sewage treatment system is a complex system which relates to multiple subjects such as chemistry, physics, biology and the like, has complexity, time-varying property, nonlinearity and uncertainty, so that the nonlinear relation between the gas production and a plurality of parameters is presented, and a certain difficulty is brought to the establishment of a gas production prediction modeling technology. The intelligent method has strong learning ability and self-adaptive ability, is nonlinear, can simulate an object model by learning to achieve a required nonlinear shape, is suitable for a multiple-input multiple-output system, has great flexibility and self-adaptation to the problem that a large amount of original data cannot be described by rules or formulas, and can be used for simulating a dynamic variable anaerobic treatment system.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a multi-element intelligent real-time monitoring method for the gas production of anaerobic sewage treatment. The invention organically combines wavelet analysis, fuzzy theory, genetic algorithm and neural network based on the interrelation among the GAs yield, water quality and system control parameters of the anaerobic sewage treatment system to construct a GA-FWNN GAs yield prediction model, and processes and analyzes the monitoring data by means of a cloud computing storage platform to predict GAs yield (Biogas) and methane Content (CH) 4 ) The sewage anaerobic treatment system is intelligently monitored, and the efficient and stable operation of the sewage anaerobic treatment system is promoted.
The aim of the invention can be achieved by the following technical scheme:
a sewage anaerobic treatment gas production multi-element intelligent real-time monitoring method comprises the following specific steps:
(1) Constructing a genetic-fuzzy wavelet neural network; determining the fuzzy rule number of the genetic-fuzzy wavelet neural network by adopting a self-adaptive fuzzy C-means clustering algorithm; correcting and improving the genetic-fuzzy wavelet neural network by adopting a genetic and gradient descent hybrid algorithm;
(2) The improved genetic-fuzzy wavelet neural network is compiled into a system program through a computer language, and the program is burnt in an embedded anaerobic treatment monitoring system;
(3) Inputting sewage data as training data into an embedded anaerobic treatment monitoring system, enabling an improved genetic-fuzzy wavelet neural network structure in the system to reach a network precision target, and keeping a trained network structure state in the system;
(4) The trained embedded anaerobic treatment monitoring system is accessed to a sewage treatment site for online measurement, site water sample data to be measured are collected in real time through a sensor and are input into the system, and the system rapidly obtains gas yield and methane content based on the improved genetic-fuzzy wavelet neural network;
(5) And (4) sampling every 30 minutes, and repeating the step (4).
Specifically, in the present invention, the chemical demand (COD), the organic load factor (OLR), the Hydraulic Retention Time (HRT), the pH value (pH) and the total carbonate Alkalinity (ALK) are selected as input values to produce gas (Biogas) and methane Content (CH) 4 ) As output.
Specifically, in step (1), the constructed genetic-fuzzy wavelet neural network (GA-FWNN) specifically includes a five-layer network structure, and the mapping relationship between the network input domain outputs is expressed as:
wherein wo j (t) is expressed as a connection weight function from the wavelet network layer node to the output layer, c ij Sum sigma ij Respectively expressed as membership functions (gaussian functions) X is the center and width of i (t) represents input node parameters j=1, 2, 3..18, i=1, 2,3,4,5.
Furthermore, the first layer of the GA-FWNN structure is an input layer and is responsible for receiving all input factors and distributing the input factors to the next layer of the network, and the first layer has five nodes, namely COD (t), HRT (t), OLR (t), pH (t) and ALK (t).
Furthermore, the second layer of the GA-FWNN structure is a fuzzification layer, and the second layer introduces a fuzzy set theory, so that the network can process semantic variables. The layer makes each node correspond to a fuzzy language respectively by fuzzifying each input. In the present invention, a gaussian function is chosen as the excitation function, and the output of each node is expressed as:
wherein c ij Sum sigma ij Represented as the center and width of the ith input variable gaussian function associated with the jth fuzzy rule, respectively. And carrying out fuzzy division on the network by adopting a self-adaptive fuzzy C-means clustering algorithm, and determining the fuzzy rule number.
Further, the third layer of the GA-FWNN structure is a fuzzy rule layer, the node number in the layer represents fuzzy rules and fuzzy segmentation number, and each node corresponds to one fuzzy rule. Using the operation of coincidence representation and, the fuzzy inference function is realized, the fuzzy rule base generated by the given data set, the output result of the layer is expressed as:
where n represents the number of fuzzy rules, specifically 18.
Further, the fourth layer of the GA-FWNN structure is a wavelet network layer (WNN layer), and the three-layer wavelet neural network is used as a back-piece part of the fuzzy rule, and the wavelet transformation local characteristic is utilized, and a wavelet basis function is used as an activation function of a neuron, and for the jth wavelet neuron, the method is specifically expressed as follows:
wherein,a ij 、b ij and w j Respectively represent the translation, expansion factor and weight of the wavelet function.
Further, the fifth layer of the GA-FWNN structure is an output layer, which is used to calculate the output result of the whole network. The layer mainly considers the analysis result of defuzzification of the output result of each wavelet network, and the output result is specifically expressed as follows:
wherein y is k The output of FWNN, i.e. the predicted gas production (Biogas) and methane content of the system, is used to monitor the operating status of the anaerobic system in real time.
Specifically, in the step (1), an adaptive fuzzy C-means clustering algorithm is adopted to determine the fuzzy rule number of the GA-FWNN, and the specific method is as follows:
fuzzy C-means clustering (FCM) is to obtain membership of each sample point to all class centers by optimizing an objective function, so that class of the sample points is determined to achieve the purpose of automatically classifying sample data. Let the sample set be x= { X 1 ,x 2 ,…,x q Dividing it into c fuzzy groups, so that the membership matrix U= [ U ] of the objective function J (U, V) ij ] c×q Reach minimum and get the cluster center v= { V 1 ,v 2 ,…,v c }。
d ij =||x j -v i || (9)
Wherein p represents the number of parameters, and is specifically 5; q represents the total number of samples, in particular 120 groups; c represents a cluster genus, h represents a fuzzy weighting index, d ij For data x j To the clustering center v i Is a euclidean distance of (c).
In order to improve the segmentation quality, a validity function B (C) is added into the FCM to form a self-adaptive fuzzy C-means clustering algorithm, which comprises the following specific steps:
(1-2-1) given iteration accuracy epsilon=0.001, k=0, c=2, fuzzy weighting index h=2, b (1) =0, select [0,1 ]]Uniformly distributed random numbers on the cluster as an initial cluster center V (0)
(1-2-2) calculating the membership matrix U of the kth step (k) The calculation formula is as follows:
(1-2-3) correction clustering center V (k+1) The expression is:
(1-2-4) if V (k+1) -V (k) If the I is less than or equal to epsilon, stopping iteration, otherwise, turning to the step (1-2-2), wherein k=k+1;
(1-2-5) calculating a validity function B (c), if B (c-1) > B (c-2) and B (c-1) > B (c) in case c >2 and c < n, ending the clustering process, otherwise setting c=c+1, proceeding to step (1-2-1).
Wherein the method comprises the steps ofRepresenting the center vector of the overall data sample.
Specifically, in the step (1), the FWNN is improved by adopting a genetic and gradient descent hybrid algorithm, and the specific steps are as follows:
(1-3-1) the genetic algorithm implementing the initialization process of the network structure;
during the initialization process, all parameters in the network are optimized, including regular middleware parameters (center of membership function c ij And width sigma ij ) And back-piece parameters (translation of wavelet function a ij Expansion factor b ij Sum weight w j )。
The invention takes the standard error between the expected value of the network and the actual output of the network as the fitness function of the model, and the expression method is as follows:
wherein y is dk Representing the desired output, y k Representing the actual output of the network, q represents the number of individuals in the population, and the output of the s-th chromosome in the network can be obtained by the following expression:
wherein,
thus the s-th chromosome is defined as:
wherein the method comprises the steps of
Thus, the initial parameters of FWNN can be obtained after three genetic operations (selection, crossover and mutation). The initial population N pop is 100, and the crossover probability P c 0.7, probability of variation P m 0.01 and a maximum number of iterations of 200.
(1-3-2) implementing a parameter correction process by a gradient descent method;
the FWNN initialized by the genetic algorithm has network parameters reaching the global optimum or the vicinity of the global optimum, and the gradient descent algorithm is utilized to adjust the network parameters in real time so as to obtain the parameter c of the FWNN ij 、σ ij 、a ij 、b ij And w j . The objective function of the gradient descent method is expressed as:
wherein y is d (t) represents a desired output, and y (t) represents a current output.
Parameter c of FWNN by objective function E and gradient descent method ij 、σ ij 、a ij 、b ij And w j Can be obtained by the following formula:
wherein, the learning rate eta is 0.02 and the momentum factor zeta is 0.5. Formulas (18) - (22) can be calculated from formulas (10) to (13):
wherein,
specifically, the invention adopts VC and Matlab language to jointly encode the GA-FWNN network structure, the self-adaptive fuzzy C-means clustering algorithm and the hybrid program of the improved multi-element algorithm.
Compared with the prior art, the invention has the following beneficial effects:
1. the invention combines the advantages of wavelet analysis, fuzzy theory, genetic algorithm, neural network and other intelligent theory to construct GA-FWNN GAs production prediction model, which can accurately and rapidly realize GAs production (Biogas) and methane Content (CH) 4 ) Is provided.
2. The invention adopts a mixed algorithm of a genetic algorithm and a gradient descent method to optimize the neural network structure, solves the problem that the neural network is sunk into local optimum prematurely, has the advantages of short result lag time, small error, strong environment adaptability and the like, and can ensure that the anaerobic treatment system operates efficiently, stably and economically.
Drawings
FIG. 1 is a block diagram of a genetic-fuzzy wavelet neural network;
FIG. 2 is a schematic diagram of a sewage anaerobic treatment system monitored in real time according to the present invention;
FIG. 3 is a graph of training results of a genetic-fuzzy wavelet neural network model;
FIG. 4 is a graph of the results of gas production prediction for a genetic-fuzzy wavelet neural network.
Detailed Description
The present invention will be described in further detail with reference to examples and drawings, but embodiments of the present invention are not limited thereto.
Examples
A sewage anaerobic treatment gas production multi-element intelligent real-time monitoring method comprises the following specific steps:
(1) Constructing a genetic-fuzzy wavelet neural network; determining the fuzzy rule number of the genetic-fuzzy wavelet neural network by adopting a self-adaptive fuzzy C-means clustering algorithm; and adopting a genetic and gradient descent hybrid algorithm to correct and improve the genetic-fuzzy wavelet neural network. In the invention, the chemical requirement (COD), the Organic Load Rate (OLR), the Hydraulic Retention Time (HRT), the pH value (pH) and the total carbonate Alkalinity (ALK) of the water are selected as input quantities, and the gas yield (Biogas) and the methane Content (CH) 4 ) As output.
Specifically, in step (1), the structure of the constructed genetic-fuzzy wavelet neural network (GA-FWNN) is shown in fig. 1, and specifically includes a five-layer network structure, where the mapping relationship between the network input domain outputs is expressed as:
wherein wo j (t) is expressed as a connection weight function from the wavelet network layer node to the output layer, c ij Sum sigma ij Respectively expressed as center and width of membership function (gaussian function), x i (t) represents input node parameters j=1, 2, 3..18, i=1, 2,3,4,5.
Furthermore, the first layer of the GA-FWNN structure is an input layer and is responsible for receiving all input factors and distributing the input factors to the next layer of the network, and the first layer has five nodes, namely COD (t), HRT (t), OLR (t), pH (t) and ALK (t).
Furthermore, the second layer of the GA-FWNN structure is a fuzzification layer, and the second layer introduces a fuzzy set theory, so that the network can process semantic variables. The layer makes each node correspond to a fuzzy language respectively by fuzzifying each input. In the present invention, a gaussian function is chosen as the excitation function, and the output of each node is expressed as:
wherein c ij Sum sigma ij Represented as the center and width of the ith input variable gaussian function, respectively, that is related first to the jth fuzzy rule. And carrying out fuzzy division on the network by adopting a self-adaptive fuzzy C-means clustering algorithm, and determining the fuzzy rule number.
Further, the third layer of the GA-FWNN structure is a fuzzy rule layer, the node number in the layer represents fuzzy rules and fuzzy segmentation number, and each node corresponds to one fuzzy rule. Using the operation of coincidence representation and, the fuzzy inference function is realized, the fuzzy rule base generated by the given data set, the output result of the layer is expressed as:
where n represents the number of fuzzy rules, specifically 18.
Further, the fourth layer of the GA-FWNN structure is a wavelet network layer (WNN layer), and the three-layer wavelet neural network is used as a back-piece part of the fuzzy rule, and the wavelet transformation local characteristic is utilized, and a wavelet basis function is used as an activation function of a neuron, and for the jth wavelet neuron, the method is specifically expressed as follows:
wherein the method comprises the steps of,a ij 、b ij And w j Respectively represent the translation, expansion factor and weight of the wavelet function.
Further, the fifth layer of the GA-FWNN structure is an output layer, which is used to calculate the output result of the whole network. The layer mainly considers the analysis result of defuzzification of the output result of each wavelet network, and the output result is specifically expressed as follows:
wherein y is k Representing the output of FWNN, predicting the gas production (Biogas) and methane content of the system for monitoring the operating status of the anaerobic system in real time.
Specifically, in the step (1), an adaptive fuzzy C-means clustering algorithm is adopted to determine the fuzzy rule number of the GA-FWNN, and the specific method is as follows:
fuzzy C-means clustering (FCM) is to obtain membership of each sample point to all class centers by optimizing an objective function, so that class of the sample points is determined to achieve the purpose of automatically classifying sample data. Let the sample set be x= { X 1 ,x 2 ,…,x q Dividing it into c fuzzy groups, so that the membership matrix U= [ U ] of the objective function J (U, V) ij ] c×q Reach minimum and get the cluster center v= { V 1 ,v 2 ,…,v c }。
d ij =||x j -v i || (9)
Wherein p represents the number of parameters, and is specifically 5; q represents the total number of samples, in particular 120 groups; c represents a cluster genus, h represents a fuzzy weighting index, d ij For data x j To the clustering center v i Is a euclidean distance of (c).
In order to improve the segmentation quality, a validity function B (C) is added into the FCM to form a self-adaptive fuzzy C-means clustering algorithm, which comprises the following specific steps:
(1-2-1) given iteration accuracy epsilon=0.001, k=0, c=2, fuzzy weighting index h=2, b (1) =0, select [0,1 ]]Uniformly distributed random numbers on the cluster as an initial cluster center V (0)
(1-2-2) calculating the membership matrix U of the kth step (k) The calculation formula is as follows:
(1-2-3) correction clustering center V (k+1) The expression is:
(1-2-4) if V (k+1) -V (k) If the I is less than or equal to epsilon, stopping iteration, otherwise, turning to the step (1-2-2), wherein k=k+1;
(1-2-5) calculating a validity function B (c), if B (c-1) > B (c-2) and B (c-1) > B (c) in case c >2 and c < n, ending the clustering process, otherwise setting c=c+1, proceeding to step (1-2-1).
Wherein the method comprises the steps ofRepresenting the center vector of the overall data sample.
Specifically, in the step (1), the FWNN is improved by adopting a genetic and gradient descent hybrid algorithm, and the specific steps are as follows:
(1-3-1) the genetic algorithm implementing the initialization process of the network structure;
during the initialization process, all parameters in the network are optimized, including regular middleware parameters (center of membership function c ij And width sigma ij ) And back-piece parameters (translation of wavelet function a ij Expansion factor b ij Sum weight w j ). In the present embodiment, specific values of the front piece parameter and the back piece parameter of the GA-FWNN model at the fuzzy rule number of 18 are shown in tables 1 and 2, respectively.
TABLE 1 front piece parameters of GA-FWNN model
TABLE 2 post-part parameters for GA-FWNN model
The invention takes the standard error between the expected value of the network and the actual output of the network as the fitness function of the model, and the expression method is as follows:
wherein y is dk Representing the desired inputGo, y k Representing the actual output of the network, q represents the number of individuals in the population, and the output of the s-th chromosome in the network can be obtained by the following expression:
wherein,
thus the s-th chromosome is defined as:
wherein the method comprises the steps of
Thus, the initial parameters of FWNN can be obtained after three genetic operations (selection, crossover and mutation). The initial population N pop is 100, and the crossover probability P c 0.7, probability of variation P m 0.01 and a maximum number of iterations of 200.
(1-3-2) implementing a parameter correction process by a gradient descent method;
the FWNN initialized by the genetic algorithm has network parameters reaching the global optimum or the vicinity of the global optimum, and the gradient descent algorithm is utilized to adjust the network parameters in real time so as to obtain the parameter c of the FWNN ij 、σ ij 、a ij 、b ij And w j . The objective function of the gradient descent method is expressed as:
wherein y is d (t) represents a desired output, and y (t) represents a current output.
Parameter c of FWNN by objective function E and gradient descent method ij 、σ ij 、a ij 、b ij And w j Can be obtained by the following formula:
/>
wherein, the learning rate eta is 0.02 and the momentum factor zeta is 0.5.
Formulas (18) - (22) can be calculated from formulas (10) to (13):
wherein,
(2) Programming the improved genetic-fuzzy wavelet neural network as a system program through VC and Matlab language, and burning the program into an embedded anaerobic treatment monitoring system;
(3) Inputting sewage data in the sewage anaerobic treatment system into the embedded anaerobic treatment monitoring system as training data, enabling the improved genetic-fuzzy wavelet neural network structure in the system to reach a network precision target, and keeping the trained network structure state in the system; the sewage anaerobic treatment system is shown in figure 2; the training results of the genetic-fuzzy wavelet neural network model are shown in fig. 3.
(4) The trained embedded anaerobic treatment monitoring system is accessed to a sewage treatment site for online measurement, site water sample data to be measured are collected in real time through a sensor and are input into the system, and the system rapidly obtains gas yield and methane content based on the improved genetic-fuzzy wavelet neural network;
(5) And (4) sampling every 30 minutes, and repeating the step (4). The gas production prediction result diagram of the genetic-fuzzy neural network model is shown in fig. 4.
As can be seen from FIG. 4, the model output curve tracks the actual output curve well, the error between the sample model output and the actual output is very small, and the correlation coefficients R and R are very small 2 And the GA-FWNN method is large, so that the rapid and accurate monitoring of the GAs production of anaerobic treatment can be realized.
The present invention was compared with Fuzzy Neural Networks (FNN), wavelet Neural Networks (WNN) and Neural Networks (NN), and the results are shown in table 3. Through calculation and analysis, the prediction performance of the invention is better than that of other three models, compared with the FNN, WNN and NN models, the square root error (RMSE) predicted by the GA-FWNN model has the minimum Mean Absolute Percentage Error (MAPE) and mean square error MSE, and the correlation coefficients R and R 2 Are all maximum. Thus, GA-FWNN is a good method for simulating the GAs production rate of anaerobic treatment.
Table 3 comparison of various model properties
The above examples are preferred embodiments of the present invention, but the embodiments of the present invention are not limited to the above examples, and any other changes, modifications, substitutions, combinations, and simplifications that do not depart from the spirit and principle of the present invention should be made in the equivalent manner, and the embodiments are included in the protection scope of the present invention.

Claims (1)

1. A multi-element intelligent real-time monitoring method for anaerobic sewage treatment gas production is characterized by comprising the following specific steps:
(1) Constructing a genetic-fuzzy wavelet neural network; determining the fuzzy rule number of the genetic-fuzzy wavelet neural network by adopting a self-adaptive fuzzy C-means clustering algorithm; correcting and improving the genetic-fuzzy wavelet neural network by adopting a genetic and gradient descent hybrid algorithm;
(2) The improved genetic-fuzzy wavelet neural network is compiled into a system program through a computer language, and the program is burnt in an embedded anaerobic treatment monitoring system;
(3) Inputting sewage data as training data into an embedded anaerobic treatment monitoring system, enabling an improved genetic-fuzzy wavelet neural network structure in the system to reach a network precision target, and keeping a trained network structure state in the system, wherein the chemical requirement of water inflow, an organic load rate, hydraulic retention time, pH value and total carbonate alkalinity are selected as input quantities, and gas production quantity and methane content are taken as output quantities;
(4) The trained embedded anaerobic treatment monitoring system is accessed to a sewage treatment site for online measurement, site water sample data to be measured are collected in real time through a sensor and are input into the system, and the system rapidly obtains gas yield and methane content based on the improved genetic-fuzzy wavelet neural network;
(5) Sampling every 30 minutes, and repeating the step (4);
in the step (1), an adaptive fuzzy C-means clustering algorithm is adopted to determine the fuzzy rule number of the GA-FWNN, and the specific method is as follows:
the fuzzy C-means clustering is to obtain membership of each sample point to all class centers by optimizing an objective function, so that class of the sample points is determined to achieve the purpose of automatically classifying sample data; let the sample set be x= { X 1 ,x 2 ,…,x q Dividing it into c fuzzy groups, so that the membership matrix U= [ U ] of the objective function J (U, V) ij ] c×q Reach minimum and get the cluster center v= { V 1 ,v 2 ,…,v c };
d ij =||x j -v i || (9)
Wherein p represents the number of parameters; q represents the number of individuals in the population; c represents the number of fuzzy groups, h represents fuzzy weighting index, d ij For data x j To the clustering center v i Is the euclidean distance of (2);
in order to improve the segmentation quality, a validity function B (C) is added into the FCM to form a self-adaptive fuzzy C-means clustering algorithm, which comprises the following specific steps:
(1-2-0) given c=2;
(1-2-1) given iteration accuracy epsilon=0.001, w=0, fuzzy weighting index h=2, b (1) =0, select 0,1]Uniformly distributed random numbers on the cluster as an initial cluster center V (0)
(1-2-2) calculating the membership matrix U of the w th step (w) The calculation formula is as follows:
(1-2-3) correction clustering center V (w+1) The expression is:
(1-2-4) If V (w+1) -V (w) If the I is less than or equal to epsilon, stopping iteration, otherwise, turning to the step (1-2-2), wherein w=w+1;
(1-2-5) calculating a validity function B (c), if B (c-1) > B (c-2) and B (c-1) > B (c), if c >2 and c < q, ending the clustering process, otherwise setting c=c+1, turning to step (1-2-1);
wherein the method comprises the steps ofA center vector representing the overall data sample;
in the step (1), the GA-FWNN is improved by adopting a genetic and gradient descent mixing algorithm, and the specific steps are as follows:
(1-3-1) the genetic algorithm implementing the initialization process of the network structure;
during the initialization process, all parameters in the network are optimized, including regular precursor parameters, i.e. center c of membership function i'j' And width sigma i'j' And the back-piece parameter, i.e. translation of wavelet function a i'j' Expansion factor b i'j' Sum weight w j'
The standard error between the expected value of the network and the actual output of the network is used as the fitness function of the model, and the representation method is as follows:
wherein y is dk Representing the desired output, y k Representing the actual output of the network, q representing the number of individuals in the population, the output of the s-th chromosome in the network being expressed byThe formula is obtained:
wherein,
thus the s-th chromosome is defined as:
wherein the method comprises the steps of
Thus, the initial parameters of GA-FWNN are obtained after three genetic operations of selection, crossing and mutation; initial population Npop is 100, crossover probability P c 0.7, probability of variation P m 0.01 and a maximum number of iterations of 200;
(1-3-2) implementing a parameter correction process by a gradient descent method;
the GA-FWNN initialized by the genetic algorithm has network parameters reaching the global optimum or the vicinity of the global optimum, and the gradient descent algorithm is utilized to adjust the network parameters in real time so as to obtain the parameter c of the GA-FWNN i'j' 、σ i'j' 、a i'j' 、b i'j' And w j' The method comprises the steps of carrying out a first treatment on the surface of the The objective function of the gradient descent method is expressed as:
wherein y is d (t) represents a desired output, and y (t) represents a current output;
parameter c of GA-FWNN based on objective function E and gradient descent method i'j' 、σ i'j' 、a i'j' 、b i'j' And w j' Obtained by the following formula:
wherein, the learning rate eta is 0.02, and the momentum factor zeta is 0.5; formulas (18) - (22) are calculated from formulas (10) to (13):
wherein,
CN201811130613.1A 2018-09-27 2018-09-27 Multi-element intelligent real-time monitoring method for anaerobic sewage treatment gas production Active CN109408896B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811130613.1A CN109408896B (en) 2018-09-27 2018-09-27 Multi-element intelligent real-time monitoring method for anaerobic sewage treatment gas production

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811130613.1A CN109408896B (en) 2018-09-27 2018-09-27 Multi-element intelligent real-time monitoring method for anaerobic sewage treatment gas production

Publications (2)

Publication Number Publication Date
CN109408896A CN109408896A (en) 2019-03-01
CN109408896B true CN109408896B (en) 2024-01-05

Family

ID=65466467

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811130613.1A Active CN109408896B (en) 2018-09-27 2018-09-27 Multi-element intelligent real-time monitoring method for anaerobic sewage treatment gas production

Country Status (1)

Country Link
CN (1) CN109408896B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110824915B (en) * 2019-09-30 2022-06-07 华南师范大学 GA-DBN network-based intelligent monitoring method and system for wastewater treatment
CN111798134B (en) * 2020-07-06 2022-04-05 青岛洪锦智慧能源技术有限公司 Method for improving methane yield of sewage treatment plant based on data-driven model
CN116084892B (en) * 2023-02-14 2024-04-23 电子科技大学 Automatic perforation system based on fuzzy neural network

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102262147A (en) * 2011-07-15 2011-11-30 华南理工大学 Soft measurement method and system for effluent chemical oxygen demand (COD) of waste water treatment system
CN102663493A (en) * 2012-03-23 2012-09-12 天津工业大学 Delaying nerve network used for time sequence prediction
CN106529818A (en) * 2016-11-16 2017-03-22 河南工程学院 Water quality evaluation prediction method based on fuzzy wavelet neural network
CN107132325A (en) * 2017-04-14 2017-09-05 华南理工大学 A kind of flexible measurement method of the Anaerobic Waste Treatment System water outlet volatile fatty acid based on particle cluster algorithm and SVMs
CN108088974A (en) * 2017-11-30 2018-05-29 华南理工大学 A kind of flexible measurement method of anaerobism while denitrification methane phase process water outlet nitrate nitrogen

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102262147A (en) * 2011-07-15 2011-11-30 华南理工大学 Soft measurement method and system for effluent chemical oxygen demand (COD) of waste water treatment system
CN102663493A (en) * 2012-03-23 2012-09-12 天津工业大学 Delaying nerve network used for time sequence prediction
CN106529818A (en) * 2016-11-16 2017-03-22 河南工程学院 Water quality evaluation prediction method based on fuzzy wavelet neural network
CN107132325A (en) * 2017-04-14 2017-09-05 华南理工大学 A kind of flexible measurement method of the Anaerobic Waste Treatment System water outlet volatile fatty acid based on particle cluster algorithm and SVMs
CN108088974A (en) * 2017-11-30 2018-05-29 华南理工大学 A kind of flexible measurement method of anaerobism while denitrification methane phase process water outlet nitrate nitrogen

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Fuzzy Wavelet Neural Networks for Identification and Control of Dynamic Plants—A Novel Structure and a Comparative Study;Rahib Hidayat Abiyev;《IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS》;20080831(第8期);引言-用于学习的参数更新规则 *

Also Published As

Publication number Publication date
CN109408896A (en) 2019-03-01

Similar Documents

Publication Publication Date Title
Abraham et al. A neuro-fuzzy approach for modelling electricity demand in Victoria
CN106529818B (en) Water quality assessment Forecasting Methodology based on Fuzzy Wavelet Network
CN112884056A (en) Optimized LSTM neural network-based sewage quality prediction method
CN104636985A (en) Method for predicting radio disturbance of electric transmission line by using improved BP (back propagation) neural network
CN102854296A (en) Sewage-disposal soft measurement method on basis of integrated neural network
CN109408896B (en) Multi-element intelligent real-time monitoring method for anaerobic sewage treatment gas production
CN108416460B (en) Blue algae bloom prediction method based on multi-factor time sequence-random depth confidence network model
CN113554466B (en) Short-term electricity consumption prediction model construction method, prediction method and device
Liu et al. A fault diagnosis intelligent algorithm based on improved BP neural network
CN107705556A (en) A kind of traffic flow forecasting method combined based on SVMs and BP neural network
CN110837915B (en) Low-voltage load point prediction and probability prediction method for power system based on hybrid integrated deep learning
CN106022954A (en) Multiple BP neural network load prediction method based on grey correlation degree
CN110824915A (en) GA-DBN network-based intelligent monitoring method and system for wastewater treatment
CN107274030A (en) Runoff Forecast method and system based on hydrology variable year border and monthly variation characteristic
AU2021106540A4 (en) Prediction method and system for river algal blooms
Wang et al. An approach of recursive timing deep belief network for algal bloom forecasting
CN112163671A (en) New energy scene generation method and system
Liu et al. Effluent quality prediction of papermaking wastewater treatment processes using stacking ensemble learning
CN110929809B (en) Sewage key water quality index soft measurement method of characteristic self-enhanced cyclic neural network
Chen et al. Offline training for improving online performance of a genetic algorithm based optimization model for hourly multi-reservoir operation
CN106292296A (en) Water island dosing On-Line Control Method based on GA SVM and device
CN113762591A (en) Short-term electric quantity prediction method and system based on GRU and multi-core SVM counterstudy
Zhang et al. Effluent Quality Prediction of Wastewater Treatment System Based on Small-world ANN.
CN111310974A (en) Short-term water demand prediction method based on GA-ELM
CN115206444A (en) Optimal drug dosage prediction method based on FCM-ANFIS model

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant