Intelligent identification method of sludge bulking based on type-2 fuzzy neural network
10919791 ยท 2021-02-16
Assignee
Inventors
Cpc classification
Y02W10/10
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
C02F2209/08
CHEMISTRY; METALLURGY
G06F30/27
PHYSICS
C02F2209/006
CHEMISTRY; METALLURGY
G06N3/043
PHYSICS
International classification
C02F3/00
CHEMISTRY; METALLURGY
Abstract
An intelligent identification method of sludge bulking based on type-2 fuzzy-neural-network belongs to the field of intelligent detection technology. The sludge volume index (SVI) in wastewater treatment plant is an important index to measure the sludge bulking of activated sludge process. However, poor production conditions and serious random interference in sewage treatment process are characterized by strong coupling, large time-varying and serious hysteresis, which makes the detection of SVI concentration of sludge volume index extremely difficult. At the same time, there are many types of sludge bulking faults, which are difficult to identify effectively. Due to the sludge volume index (SVI) is unable to online monitoring and the fault type of sludge bulking is difficult to determined, the invention develop soft-computing model based on type-2 fuzzy-neural-network to complete the real-time detection of sludge volume index (SVI). Combined with the target-related identification algorithm, the fault type of sludge bulking is determined. Results show that the intelligent identification method can quickly obtain the sludge volume index (SVI), accurate identification fault type of sludge bulking, improve the quality and ensure the safety operation of the wastewater treatment process.
Claims
1. An intelligent identification method for sludge bulking based on a type-2 fuzzy-neural-network, comprising the following steps: (1) determine input and output variables of sludge volume index (SVI): in an activated sludge wastewater treatment process, the input variables of SVI soft-computing model include: dissolved oxygen (DO) concentration, total nitrogen (TN) concentration, organic load rate (F/M), pH, T, output values of the soft-computing model are SVI values, the sludge bulking contains the following fault types: low DO concentration, nutrient deficit, low sludge loading, low pH, and low temperature; (2) SVI soft-computing model: establish the SVI soft-computing model based on type-2 fuzzy-neural-network, a structure of type-2 fuzzy-neural-network contains five layers: input layer, membership function layer, firing layer, consequent layer and output layer, the network is 5-M-L-2-1, including 5 neurons in the input layer, M neurons in the membership function layer, L neurons in the firing layer, 2 neurons in the consequent layer and 1 neurons in the output layer, M and L are integers larger than 2; connecting weights between the input layer and the membership function layer are assigned 1; the number of training samples is N, the input of type-2 fuzzy-neural-network is x(t)=[x.sub.1(t), x.sub.2(t), x.sub.3(t), x.sub.4(t), x.sub.5(t)] at time t, x.sub.1(t) represents DO concentration at time t; x.sub.2(t) represents TN concentration at time t, x.sub.3(t) represents an organic load rate (F/M) value at time t, x.sub.4(t) represents pH value at time t, and x.sub.5(t) represents T value at time t, the output of type-2 fuzzy-neural-network is y.sub.d(t) and an actual output is y(t); type-2 fuzzy-neural-network includes: an input layer: there are 5 neurons in this layer, the output is:
o.sub.i(t)=x.sub.i(t)(1) where o.sub.i(t) is the ith output value at time t, i=1, 2, . . . , 5, a membership function layer: there are M neurons in the membership function layer, the output is:
y(t)=(t)y(t)+(1(t))
(t+1)=(t)+(H(t)+(t)I).sup.1v(t)(10) where (t)=[c.sup.i.sub.m(t), c.sup.i.sub.m(t), .sup.i.sub.m(t), (t), w.sup.i.sub.m(t)] is the parameter matrix of type-2 fuzzy-neural-network at time t, c.sup.i.sub.m(t) is the lower center value of the mth membership function neuron with the ith input at time t,
(t)=|E(t)|+(1)v(t)(11) where (0, 1), the expression of H(t) and v(t) are defined as:
H(t)=J.sup.T(t)J(t)(12)
v(t)=J.sup.T(t)E(t)(13) where the Jacobian vector J(t) is calculated as:
b.sub.max(t)=max b(t),(21) where b.sub.max(t) is the maximum regression coefficient of the input variables, and the corresponding fault type is the source of sludge bulking.
Description
DESCRIPTION OF DRAWINGS
(1)
(2)
(3)
(4)
DETAILED DESCRIPTION OF THE INVENTION
(5) The invention select the characteristic variables to measure sludge volume index SVI as dissolved oxygen concentration DO, total nitrogen TN, load activated sludge F/M, power of hydrogen pH and temperature T, where pH no unit. The unit of temperature is Celsius. Others units are mg/l.
(6) The experimental data come from the 2017 water quality data analysis report of a wastewater treatment plant. Where the actual testing data about dissolved oxygen concentration DO, total nitrogen TN, load activated sludge F/M, power of hydrogen pH and temperature T is selected for the experimental sample data. There are 1000 groups data are available after eliminate the abnormal, where 500 group used as training samples and the rest of 500 as test sample. The technical scheme and implementation steps as following.
(7) An intelligent identification method for sludge bulking based on a type-2 fuzzy-neural-network comprise the following steps:
(8) (1) Determine the input and output variables of sludge volume index (SVI): in the activated sludge wastewater treatment process, the input variables of SVI soft-computing model include: dissolved oxygen (DO) concentration, total nitrogen (TN) concentration, organic load rate (F/M), pH, T. The output value of soft-computing model is the SVI values. The sludge bulking contains the following fault types: low DO concentration, nutrient deficit, low sludge loading, low pH, and low temperature;
(9) (2) SVI soft-computing model: establish SVI soft-computing model based on type-2 fuzzy-neural-network, the structure of type-2 fuzzy-neural-network contains five layers: input layer, membership function layer, firing layer, consequent layer and output layer, the network is 5-15-3-2-1, including 5 neurons in input layer, 15 neurons in membership function layer, 3 neurons in firing layer, 2 neurons in consequent layer and 1 neurons in output layer; connecting weights between input layer and membership function layer are assigned 1; the number of the training sample is N, the input of type-2 fuzzy-neural-network is x(t)=[x.sub.1(t), x.sub.2(t), x.sub.3(t), x.sub.4(t), x.sub.5(t)] at time t, x.sub.1(t) represents the DO concentration at time t; x.sub.2(t) represents the TN concentration at time t, x.sub.3(t) represents the organic load rate (F/M) value at time t, x.sub.4(t) represents the pH value at time t, and x.sub.5(t) represents the T value at time t, the output of type-2 fuzzy-neural-network is y.sub.d(t) and the actual output is y(t); type-2 fuzzy-neural-network includes:
(10) {circle around (1)} input layer: there are 5 neurons in this layer, the output is:
o.sub.i(t)=x.sub.i(t)(1)
where o.sub.i(t) is the ith output value at time t, i=1, 2, . . . , 5,
(11) {circle around (2)} membership function layer: there are M neurons in membership function layer, the output is:
(12)
where .sup.i.sub.m(t) is the mth membership function with the ith input at time t, N represents the membership function, c.sup.i.sub.m(t) is the uncertain center of the mth membership function neuron with the ith input at time t, c.sup.i.sub.m(t) is the lower center value of the mth membership function neuron with the ith input at time t,
(13)
where .sup.i.sub.m(t) and
(14) {circle around (3)} firing layer: there are L neurons in this layer, and the output values are:
(15)
where F.sub.l(t) is the firing strength of the lth firing neuron, f.sub.l(t) and
(16) {circle around (4)} consequent layer: this layer contains two consequent neurons, the output values are
(17)
where y(t) and
(18) {circle around (5)} output layer: the output value is:
y(t)=(t)y(t)+(1(t))
where (t) and y(t) are the proportion of the low output and the output value of type-2 fuzzy-neural-network, the error of type-2 fuzzy-neural-network is:
(19)
where y.sub.d(t) is the output of type-2 fuzzy-neural-network and the actual output is expressed as y(t);
(20) (3) train type-2 fuzzy-neural-network
(21) {circle around (1)} give the type-2 fuzzy-neural-network, the initial number of firing layer neurons is M, M>2 is a positive integer; the input of type-2 fuzzy-neural-network is x(1), x(2), . . . , x(t), . . . , x(N), correspondingly, the output is y.sub.d(1), y.sub.d(2), . . . , y.sub.d(t), . . . , y.sub.d(N), expected error value is set to E.sub.d, E.sub.d(0, 0.01),
(22) {circle around (2)} set the learning step s=1;
(23) {circle around (3)} t=s; according to Eqs. (1)-(7), calculate the output of type-2 fuzzy-neural-network, exploiting adaptive second-order algorithm:
(t+1)=(t)+(H(t)+(t)I).sup.1v(t)(10)
where (t)=[c.sup.i.sub.m(t), c.sup.i.sub.m(t), .sup.i.sub.m(t), (t), w.sup.i.sub.m(t)] is the parameter matrix of type-2 fuzzy-neural-network at time t, c.sup.i.sub.m(t) is the lower center value of the mth membership function neuron with the ith input at time t,
(t)=|E(t)|+(1)v(t)(11)
where (0, 1), the expression of H(t) and v(t) are defined as:
H(t)=J.sup.T(t)J(t)(12)
v(t)=J.sup.T(t)E(t)(13)
where the Jacobian vector J(t) is calculated as:
(24)
(25) {circle around (4)} according to Eq. (9), calculate the performance of type-2 fuzzy-neural-network, if E(t)E.sub.d, go to step {circle around (3)}; if E(t)<E.sub.d, stop the training process;
(26) The predicted results of sludge volume index SVI is shown in
(27) (4) The target-related identification algorithm is used to determine the fault type of sludge bulking, which is specifically as follows:
(28) {circle around (1)} the test samples is used as the input of the type-2 fuzzy-neural-network, and the sludge volume index (SVI) is calculated;
(29) {circle around (2)} if SVI150, it is determined that there is no sludge bulking during the wastewater treatment process;
(30) {circle around (3)} if SVI>150, sludge bulking at the wastewater treatment operation was determined and regression coefficients of all variables were calculated:
(31)
where b.sub.i(t) is the regression coefficient of ith input at time t, b(t)=[b.sub.1(t), . . . , b.sub.i(t), . . . , b.sub.5(t)] is the regression coefficient vector, u.sub.i(t) is the ith score vector of the output vector at time t, U(t)=[u.sub.1(t), . . . . , u.sub.i(t), . . . , u.sub.5(t)] is score matrix of the output vector at time t, t.sub.i(t) is the ith score vector of the input matrix at time t, T(t)=[t.sub.i(t), . . . , t.sub.i(t), . . . , t.sub.5(t)] is score matrix of the input matrix at time t, u.sub.i(t) and t.sub.i(t) are given as
(32)
where q.sub.i(t) is the ith loading value of output vector at time t, q(t)R.sup.15 is the loading vector of output vector at time t, y(t)=[y(tK+1), y(tK+2), . . . , y(t)].sup.T, y(t) is the SVI value at time t, X(t)=[x.sub.1(t), . . . , x.sub.i(t), . . . , x.sub.5(t)] is the input matrix of type-2 fuzzy-neural-network, x.sub.i(t)=[x.sub.i(tK+1), x.sub.i(tK+2), . . . , x.sub.i(t)].sup.T, x.sub.i(t) is the ith input variable at time t, w.sub.i(t) is the ith feature vector at time t, W(t)=[w.sub.1(t), . . . , w.sub.i(t), . . . , w.sub.5(t)] is the feature matrix of X(t).sup.Ty(t), the expressions of q.sub.i(t) and W(t) are
(33)
where (t) is the eigenvalue matrices of X(t).sup.Ty(t). The function E represents the eigenvector and eigenvalue of the matrix, the inner relative model of y(t) and X(t) can be expressed as:
(34)
where (t)R.sup.K5 is the residual matrix of X(t), (t)=[.sub.1(t), . . . , .sub.i(t), . . . , .sub.5(t)], where .sub.i(t) present the residual vector of ith input. G(t)R.sup.K1 is the residual vector of y(t);
(35) {circle around (4)} when the regression coefficient of the input variable satisfies:
b.sub.max(t)=max b(t),(21)
where b.sub.max(t) is the maximum regression coefficient of the input variables, and the corresponding fault type is the source of sludge bulking.
(36)