Intelligent identification method of sludge bulking based on type-2 fuzzy neural network

Information

  • Patent Grant
  • 10919791
  • Patent Number
    10,919,791
  • Date Filed
    Wednesday, September 26, 2018
    6 years ago
  • Date Issued
    Tuesday, February 16, 2021
    3 years ago
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.
Description
CROSS-REFERENCE TO RELATED APPLICATION

This application claims the priority benefit of Chinese application serial no. 201810790763.9, filed Jul. 18, 2018. All disclosure of the China application is incorporated herein by reference.


TECHNOLOGY AREA

Based on the running characteristics of wastewater treatment process and using type-2 fuzzy neural network, the invention design an intelligent identification method to realize the real-time measurement about index SVI of sludge bulking in wastewater treatment process and the identification for fault categories of sludge bulking, where the concentration of sludge volume index SVI in wastewater treatment plant is the performance index of measuring the coagulation sedimentation and thickening properties of activated sludge. The prediction of sludge volume index SVI and identification of fault category of sludge bulking have a great significance for realizing the monitoring and controlling in wastewater treatment process. It have great important influence for energy saving and safety operation to apply intelligent recognition method in wastewater treatment system. Moreover, the above methods belonging to the control field and water treatment field simultaneously, is the important branch for the field of advanced manufacturing technology. Therefore, the intelligent recognition of the sludge bulking is of great significance in the wastewater treatment system.


TECHNOLOGY BACKGROUND

During the development in past hundred years, the wastewater treatment technology of activated sludge process has become the mainstream of urban wastewater treatment technology in the worldwide. However, in China, the present wastewater treatment plant have the drawback that backward wastewater treatment equipment, low-end automation level and incomplete control system, which lead to the high frequency occurrence of sludge bulking. Sludge bulking can lead to loose sludge structure, increasing sludge volume and reduction of sludge sedimentation velocity and then, there is difficult for solid settlement separation which affect water quality and damage the normal and stable operation of activated sludge system in the wastewater treatment process. Therefore, it is of great significance to analyze the phenomenon of sludge bulking and study the diagnosis method of sludge bulking to improve the efficiency and ensure the normal operation of working condition for wastewater treatment process.


At present, many study for identifying sludge bulking phenomenon have development, but the implementation effect is not optimistic. On the one hand, due to the complex mechanism properties of sludge bulking, mechanism model based sludge bulking diagnosis method cannot cover all the growth mechanism of microorganism to meets the stability and the accuracy simultaneously. Moreover, mechanism model based sludge bulking diagnosis method judge sludge bulking by measuring the length, abundance and others morphological characteristics of the microorganism what have the characteristics of complex operation and strong time-delay and is difficult to be applied in the wastewater treatment process. On the other hand, the dynamic nonlinear of wastewater treatment process make traditional sludge bulking prediction model is difficult to adapt the working condition with strong dynamic change and identify the fault type of sludge bulking accurately. Based on the negative influence of the sludge bulking, design a sludge bulking diagnostic method which character real-time dynamic tracking, accurate and stable have important theoretical significance and application value for monitoring wastewater treatment process running online, stabilizing the wastewater treatment process, preventing the sludge bulking phenomenon, improving the water quality and increasing the efficiency of wastewater treatment.


The invention proposed a type-2 fuzzy neural network based intelligent diagnosis method about sludge bulking. The type-2 fuzzy neural network model and parameter optimization algorithm can improve the prediction performance of the network effectively and then, the fault type identification of sludge bulking is realized by target correlation recognition algorithm. The above intelligent identification method can realize the real-time detection of sludge volume index SVI and identification of fault type for sludge bulking. Moreover, the intelligent identification method also reduce the measurement cost, increase the identification accuracy, provides a fast and efficient identification mean and improve the benefit of the wastewater treatment plant.


SUMMARY OF THE PATENT

The invention proposed a type-2 fuzzy neural network based sludge bulking intelligent diagnosis method. First, the method analyze the wastewater treatment process and select a group of auxiliary variable which is closely related to the sludge volume index SVI and easily measured. Then, type-2 fuzzy neural network is used for measuring the sludge volume index SVI online. In the end, the target correlation recognition algorithm is applied for identifying the fault type of sludge bulking. The method solves the problem about long measurement cycle of sludge volume index SVI and identify difficulty of sludge bulking category.


The invention includes the following steps:


(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;


(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-M-L-2-1, including 5 neurons in input layer, M neurons in membership function layer, L neurons in firing layer, 2 neurons in consequent layer and 1 neurons in output layer, M and L are the integers larger than 2; 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)=[x1(t), x2(t), x3(t), x4(t), x5(t)] at time t, x1(t) represents the DO concentration at time t; x2(t) represents the TN concentration at time t, x3(t) represents the organic load rate (F/M) value at time t, x4(t) represents the pH value at time t, and x5(t) represents the T value at time t, the output of type-2 fuzzy-neural-network is yd(t) and the actual output is y(t); type-2 fuzzy-neural-network includes:


{circle around (1)} input layer: there are 5 neurons in this layer, the output is:

oi(t)=xi(t)  (1)

where oi(t) is the ith output value at time t, i=1, 2, . . . , 5,


{circle around (2)} membership function layer: there are M neurons in membership function layer, the output is:












τ
m
i



(
t
)


=


N


(



c
m
i



(
t
)


,



σ
m
i



(
t
)


;


o
i



(
t
)




)


=

exp


{


-

1
2





(




o
i



(
t
)


-


c
m
i



(
t
)





σ
m
i



(
t
)



)

2


}




,





i
=
1

,
2
,





,

5
;

m
=
1


,
2
,





,
M
,




(
2
)









c
m
i



(
t
)




[




c
_

m
i



(
t
)


,



c
_

m
i



(
t
)



]


,




(
3
)








where τim(t) is the mth membership function with the ith input at time t, N represents the membership function, cim(t) is the uncertain center of the mth membership function neuron with the ith input at time t, cim(t) is the lower center value of the mth membership function neuron with the ith input at time t, cim(t) is the upper center value of the mth membership function neuron with the ith input at time t (where the initial lower center value and initial upper center value of the mth membership function neuron with the ith input i.e., cim(0) and cim(0) is obtained by that random initial center of the mth membership function neuron with the ith input cim(0) add and subtract a constant), σim(t) is the standard deviation of the mth membership function neuron with the ith input at time t, the bounded internal of τim(t) is [τim(t), τim(t)]












τ
_

m
i



(


o
i



(
t
)


)


=

{






N


(




c
_

m
i



(
t
)


,



σ
m
i



(
t
)


;


o
i



(
t
)




)


,






o
i



(
t
)





(




c
_

m
i



(
t
)


+



c
_

m
i



(
t
)



)

/
2








N


(




c
_

m
i



(
t
)


,



σ
m
i



(
t
)


;


o
i



(
t
)




)


,






o
i



(
t
)


>


(




c
_

m
i



(
t
)


+



c
_

m
i



(
t
)



)

/
2





,






(
4
)









τ
_

m
i



(


o
i



(
t
)


)


=

{






N


(




c
_

m
i



(
t
)


,



σ
m
i



(
t
)


;


o
i



(
t
)




)


,






o
i



(
t
)






c
_

m
i



(
t
)








1
,







c
_

m
i



(
t
)


<


o
i



(
t
)


<



c
_

m
i



(
t
)









N


(




c
_

m
i



(
t
)


,



σ
m
i



(
t
)


;


o
i



(
t
)




)


,






o
i



(
t
)


>



c
_

m
i



(
t
)






,






(
5
)








where τim(t) and τim(t) are the lower value and upper value of the mth membership function neuron with the ith input at time t, respectively, 0<τim(t)≤τim(t)≤1,


{circle around (3)} firing layer: there are L neurons in this layer, and the output values are:












F
l



(
t
)


=

[




f
_

l



(
t
)


,



f
_

l



(
t
)



]


,




f
_

l



(
t
)


=




i
=
1

5









τ
_

m
i



(
t
)




,




f
_

l



(
t
)


=




i
=
1

5









τ
_

m
i



(
t
)




,





l
=
1

,
2
,





,
L
,




(
6
)








where Fl(t) is the firing strength of the lth firing neuron, fl(t) and fl(t) are the lower firing strength and upper firing strength of the lth firing neuron, respectively, 0<flt)≤fl(t)≤1,


{circle around (4)} consequent layer: this layer contains two consequent neurons, the output values are












y
_



(
t
)


=





l
=
1

L






f
_

l



(
t
)





a
l



(
t
)








l
=
1

L





f
_

l



(
t
)





,



y
_



(
t
)


=





l
=
1

L






f
_

l



(
t
)





a
l



(
t
)








l
=
1

L





f
_

l



(
t
)





,







a
l



(
t
)


=




i
=
1

5





θ
l
i



(
t
)





x
i



(
t
)





,




(
7
)








where y(t) and y(t) are the low and up output values of the consequent neurons, al(t) is weight of the lth firing neuron, θil(t) is the weight coefficient of the lth firing neuron with the ith input at time t,


{circle around (5)} output layer: the output value is:

y(t)=η(t)y(t)+(1−η(t))y(t)  (8)

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:










E


(
t
)


=


1
N






t
=
1

N




(



y
d



(
t
)


-

y


(
t
)



)

2







(
9
)








where yd(t) is the output of type-2 fuzzy-neural-network and the actual output is expressed as y(t);


(3) train type-2 fuzzy-neural-network


{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 yd(1), yd(2), . . . , yd(t), . . . , yd(N), expected error value is set to Ed, Ed∈(0, 0.01),


{circle around (2)} set the learning step s=1;


{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)−1v(t)  (10)

where ψ(t)=[cim(t), cim(t), σim(t), η(t), wim(t)] is the parameter matrix of type-2 fuzzy-neural-network at time t, cim(t) is the lower center value of the mth membership function neuron with the ith input at time t, cim(t) is the upper center value of the membership function neuron with the ith input at time t, σim(t) is the standard deviation of the mth membership function neuron with the ith input at time t, η(t) is the proportion of the lower output, θil(t) is the weight coefficient of the lth firing neuron with the ith input at time t, H(t) is the quasi Hessian matrix, v(t) is gradient vector, I is the identity matrix and λ(t) is the adaptive learning rate defined as:

λ(t)=γ|E(t)|+(1−γ)∥v(t)∥  (11)

where γ∈(0, 1), the expression of H(t) and v(t) are defined as:

H(t)=JT(t)J(t)  (12)
v(t)=JT(t)E(t)  (13)

where the Jacobian vector J(t) is calculated as:










J


(
t
)


=

[





e


(
t
)








c
_

m
i



(
t
)




,




e


(
t
)








c
_

m
i



(
t
)




,




e


(
t
)







σ
m
i



(
t
)




,




e


(
t
)






η


(
t
)




,




e


(
t
)







θ
m
i



(
t
)





]





(
14
)







{circle around (4)} according to Eq. (9), calculate the performance of type-2 fuzzy-neural-network, if E(t)≥Ed, go to step {circle around (3)}; if E(t)<Ed, stop the training process;


(4) the target-related identification algorithm is used to determine the fault type of sludge bulking, which is specifically as follows:


{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;


{circle around (2)} if SVI≤150, it is determined that there is no sludge bulking during the wastewater treatment process;


{circle around (3)} if SVI>150, sludge bulking at the wastewater treatment operation was determined and regression coefficients of all variables were calculated:












b
i



(
t
)


=





u
i



(
t
)


T




t
i



(
t
)







t
i



(
t
)


T




t
i



(
t
)





,




(
15
)








where bi(t) is the regression coefficient of ith input at time t, b(t)=[b1(t), . . . , bi(t), . . . , b5(t)] is the regression coefficient vector, ui(t) is the ith score vector of the output vector at time t, U(t)=[u1(t), . . . , ui(t), . . . , u5(t)] is score matrix of the output vector at time t, ti(t) is the ith score vector of the input matrix at time t, T(t)=[t1(t), . . . , ti(t), . . . , t5(t)] is score matrix of the input matrix at time t, ui(t) and ti (t) are given as:












u
i



(
t
)


=



y


(
t
)





q
i



(
t
)







q
i



(
t
)


T




q
i



(
t
)





,




(
16
)









t
i



(
t
)


=



X


(
t
)





w
i



(
t
)







w
i



(
t
)


T




w
i



(
t
)





,




(
17
)








where qi(t) is the ith loading value of output vector at time t, q(t)∈R1×5 is the loading vector of output vector at time t, y(t)=[y(t−K+1), y(t−K+2), . . . , y(t)]T, y(t) is the SVI value at time t, X(t)=[x1(t), . . . , xi(t), . . . , x5(t)] is the input matrix of type-2 fuzzy-neural-network, xi(t)=[xi(t−K+1), xi(t−K+2), . . . , xi(t)]T, xi(t) is the ith input variable at time t, wi(t) is the ith feature vector at time t, W(t)=[w1(t), . . . , wi(t), . . . , w5(t)] is the feature matrix of X(t)Ty(t), the expressions of qi(t) and W(t) are













q
i



(
t
)


T

=





t
i



(
t
)


T



y


(
t
)







t
i



(
t
)


T




t
i



(
t
)





,




(
18
)










W


(
t
)


T



Λ


(
t
)




W


(
t
)



=

E


{



X


(
t
)


T



y


(
t
)





y


(
t
)


T



X


(
t
)



}



,




(
19
)








where Λ(t) is the eigenvalue matrices of X(t)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:









{






X


(
t
)


=




T


(
t
)





P


(
t
)


T


+

Δ


(
t
)



=





i
=
1

5





t
i



(
t
)






p
i



(
t
)


T



+

Δ


(
t
)











y


(
t
)


=




U


(
t
)





q


(
t
)


T


+

G


(
t
)



=





i
=
1

5





u
i



(
t
)






q
i



(
t
)


T



+

G


(
t
)








,





(
20
)








where Δ(t)∈RK×5 is the residual matrix of X(t), Δ(t)=[δ1(t), . . . , δi(t), . . . , δ5(t)], where δi(t) present the residual vector of ith input. G(t)∈RK×1 is the residual vector of y(t);


{circle around (4)} when the regression coefficient of the input variable satisfies:

bmax(t)=max b(t),  (21)

where bmax(t) is the maximum regression coefficient of the input variables, and the corresponding fault type is the source of sludge bulking.


The Novelties of this Patent Contain:


(1) Aiming at the problem that sludge bulking is difficult to identify in current wastewater treatment process, the invention proposed a type-2 fuzzy neural network based intelligent identification method. First, extract five relevant variables which is related to the sludge volume index SVI according to the work report of real-world wastewater treatment plant: dissolved oxygen concentration DO, total nitrogen TN, load activated sludge, F/M power of hydrogen pH and temperature T and then, realize the prediction of sludge volume index SVI. The invention solves the problem that sludge volume index SVI is hard to measure online, avoid the application of complicated sensor and reduces the running cost


(2) Based on target correlation identification method, the invention identify the category of sludge bulking through the contribution of variable to sludge bulking. The above method can not only measure the influence intensity of variable in the sludge bulking process, but also identify the fault category of the sludge bulking what solve the difficult identification of sludge bulking in the wastewater treatment process. Moreover, the target correlation identification method is used for identifying the fault category of sludge bulking online, what has the characteristics of high precision and the strong adaptability to environmental variation.


Attention: the invention adopts type-2 fuzzy neural network and the target correlation identification algorithm to establish the sludge bulking intelligent recognition method. The research that adopt type-2 fuzzy neural network and target correlation identification algorithm in this invention for intelligent identification of sludge bulking, should fall within the scope of the present invention





DESCRIPTION OF DRAWINGS


FIG. 1 is the initial structural topology diagram of the type-2 fuzzy neural network.



FIG. 2 is the SVI test result diagram of the sludge volume index, where the blue line is the desired output value of sludge volume index SVI, and the black line is the predicted value of type-2 fuzzy neural network.



FIG. 3 is the SVI prediction error diagram of the sludge volume index.



FIG. 4 is the fault category identification diagram of the sludge bulking.





DETAILED DESCRIPTION OF THE INVENTION

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.


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.


An intelligent identification method for sludge bulking based on a type-2 fuzzy-neural-network comprise the following steps:


(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;


(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)=[x1(t), x2(t), x3(t), x4(t), x5(t)] at time t, x1(t) represents the DO concentration at time t; x2(t) represents the TN concentration at time t, x3(t) represents the organic load rate (F/M) value at time t, x4(t) represents the pH value at time t, and x5(t) represents the T value at time t, the output of type-2 fuzzy-neural-network is yd(t) and the actual output is y(t); type-2 fuzzy-neural-network includes:


{circle around (1)} input layer: there are 5 neurons in this layer, the output is:

oi(t)=xi(t)  (1)

where oi(t) is the ith output value at time t, i=1, 2, . . . , 5,


{circle around (2)} membership function layer: there are M neurons in membership function layer, the output is:












τ
m
i



(
t
)


=


N


(



c
m
i



(
t
)


,



σ
m
i



(
t
)


;


o
i



(
t
)




)


=

exp


{


-

1
2





(




o
i



(
t
)


-


c
m
i



(
t
)





σ
m
i



(
t
)



)

2


}




,





i
=
1

,
2
,





,

5
;

m
=
1


,
2
,





,
M
,




(
2
)









c
m
i



(
t
)




[




c
_

m
i



(
t
)


,



c
_

m
i



(
t
)



]


,




(
3
)








where τim(t) is the mth membership function with the ith input at time t, N represents the membership function, cim(t) is the uncertain center of the mth membership function neuron with the ith input at time t, cim(t) is the lower center value of the mth membership function neuron with the ith input at time t, cim(t) is the upper center value of the mth membership function neuron with the ith input at time t (where the initial lower center value and initial upper center value of the mth membership function neuron with the ith input i.e., cim(0) and cim(t) is obtained by that random initial center of the mth membership function neuron with the ith input cim(0) add and subtract a constant), σim(t) is the standard deviation of the mth membership function neuron with the ith input at time t, the bounded internal of τim(t) is [τim(t), τim(t)]












τ
_

m
i



(


o
i



(
t
)


)


=

{






N


(




c
_

m
i



(
t
)


,



σ
m
i



(
t
)


;


o
i



(
t
)




)


,






o
i



(
t
)





(




c
_

m
i



(
t
)


+



c
_

m
i



(
t
)



)

/
2








N


(




c
_

m
i



(
t
)


,



σ
m
i



(
t
)


;


o
i



(
t
)




)


,






o
i



(
t
)


>


(




c
_

m
i



(
t
)


+



c
_

m
i



(
t
)



)

/
2





,






(
4
)









τ
_

m
i



(


o
i



(
t
)


)


=

{






N


(




c
_

m
i



(
t
)


,



σ
m
i



(
t
)


;


o
i



(
t
)




)


,






o
i



(
t
)






c
_

m
i



(
t
)








1
,







c
_

m
i



(
t
)


<


o
i



(
t
)


<



c
_

m
i



(
t
)









N


(




c
_

m
i



(
t
)


,



σ
m
i



(
t
)


;


o
i



(
t
)




)


,






o
i



(
t
)


>



c
_

m
i



(
t
)






,






(
5
)








where τim(t) and τim(t) are the lower value and upper value of the mth membership function neuron with the ith input at time t, respectively, 0<τim(t)≤τim(t)≤1,


{circle around (3)} firing layer: there are L neurons in this layer, and the output values are:












F
l



(
t
)


=

[




f
_


l








(
t
)


,



f
_

l



(
t
)



]


,




f
_


l








(
t
)


=




i
=
1

5





τ
_

m
i



(
t
)




,




f
_

l



(
t
)


=




i
=
1

5





τ
_

m
i



(
t
)




,





l
=
1

,
2
,





,
L
,




(
6
)








where Fl(t) is the firing strength of the lth firing neuron, fl(t) and fl(t) are the lower firing strength and upper firing strength of the lth firing neuron, respectively, 0<flt)≤fl(t)≤1,


{circle around (4)} consequent layer: this layer contains two consequent neurons, the output values are












y
_



(
t
)


=





l
=
1

L






f
_

l



(
t
)





a
l



(
t
)








l
=
1

L





f
_

l



(
t
)





,







y
_



(
t
)


=





l
=
1

L






f
_

l



(
t
)





a
l



(
t
)













l
=
1

L





f
_

l



(
t
)






,




(
7
)









a
l



(
t
)


=




l
=
1

5





θ
l
i



(
t
)





x
i



(
t
)





,













where y(t) and y(t) are the low and up output values of the consequent neurons, ai(t) is weight of the lth firing neuron, θil(t) is the weight coefficient of the lth firing neuron with the ith input at time t,


{circle around (5)} output layer: the output value is:

y(t)=η(t)y(t)+(1−η(t))y(t)  (8)

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:










E


(
t
)


=


1
N






i
=
1

N




(



y
d



(
t
)


-

y


(
t
)



)

2







(
9
)








where yd(t) is the output of type-2 fuzzy-neural-network and the actual output is expressed as y(t);


(3) train type-2 fuzzy-neural-network


{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 yd(1), yd(2), . . . , yd(t), . . . , yd(N), expected error value is set to Ed, Ed∈(0, 0.01),


{circle around (2)} set the learning step s=1;


{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)−1v(t)  (10)

where ψ(t)=[cim(t), cim(t), σim(t), η(t), wim(t)] is the parameter matrix of type-2 fuzzy-neural-network at time t, cim(t) is the lower center value of the mth membership function neuron with the ith input at time t, cim(t) is the upper center value of the membership function neuron with the ith input at time t, σim(t) is the standard deviation of the mth membership function neuron with the ith input at time t, η(t) is the proportion of the lower output, θil(t) is the weight coefficient of the lth firing neuron with the ith input at time t, H(t) is the quasi Hessian matrix, v(t) is gradient vector, I is the identity matrix and λ(t) is the adaptive learning rate defined as:

λ(t)=γ|E(t)|+(1−γ)∥v(t)∥  (11)

where γ∈(0, 1), the expression of H(t) and v(t) are defined as:

H(t)=JT(t)J(t)  (12)
v(t)=JT(t)E(t)  (13)

where the Jacobian vector J(t) is calculated as:










J


(
t
)


=

[





e


(
t
)








c
_

m
i



(
t
)




,




e


(
t
)








c
_

m
i



(
t
)




,




e


(
t
)







σ
m
i



(
t
)




,




e


(
t
)






η


(
t
)




,




e


(
t
)







θ
m
i



(
t
)





]





(
14
)







{circle around (4)} according to Eq. (9), calculate the performance of type-2 fuzzy-neural-network, if E(t)≥Ed, go to step {circle around (3)}; if E(t)<Ed, stop the training process;


The predicted results of sludge volume index SVI is shown in FIG. 2, the X axis: sample, the unit is a; Y axis: the test output of sludge volume index SVI, the unit is ml/g; the blue line is the predict output value of sludge volume index SVI; the black line is actual output values of sludge volume index SVI; The error between the predicted output and the actual output of sludge volume index (SVI) is shown in FIG. 3. The X axis: sample, the unit is a; Y axis: the test output of sludge volume index SVI, the unit is ml/g;


(4) The target-related identification algorithm is used to determine the fault type of sludge bulking, which is specifically as follows:


{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;


{circle around (2)} if SVI≤150, it is determined that there is no sludge bulking during the wastewater treatment process;


{circle around (3)} if SVI>150, sludge bulking at the wastewater treatment operation was determined and regression coefficients of all variables were calculated:












b
i



(
t
)


=





u
i



(
t
)


T




t
i



(
t
)







t
i



(
t
)


T




t
i



(
t
)





,




(
15
)








where bi(t) is the regression coefficient of ith input at time t, b(t)=[b1(t), . . . , bi(t), . . . , b5(t)] is the regression coefficient vector, ui(t) is the ith score vector of the output vector at time t, U(t)=[u1(t), . . . . , ui(t), . . . , u5(t)] is score matrix of the output vector at time t, ti(t) is the ith score vector of the input matrix at time t, T(t)=[ti(t), . . . , ti(t), . . . , t5(t)] is score matrix of the input matrix at time t, ui(t) and ti(t) are given as












u
i



(
t
)


=



y


(
t
)





q
i



(
t
)







q
i



(
t
)


T




q
i



(
t
)





,




(
16
)









t
i



(
t
)


=



X


(
t
)





w
i



(
t
)







w
i



(
t
)


T




w
i



(
t
)





,




(
17
)








where qi(t) is the ith loading value of output vector at time t, q(t)∈R1×5 is the loading vector of output vector at time t, y(t)=[y(t−K+1), y(t−K+2), . . . , y(t)]T, y(t) is the SVI value at time t, X(t)=[x1(t), . . . , xi(t), . . . , x5(t)] is the input matrix of type-2 fuzzy-neural-network, xi(t)=[xi(t−K+1), xi(t−K+2), . . . , xi(t)]T, xi(t) is the ith input variable at time t, wi(t) is the ith feature vector at time t, W(t)=[w1(t), . . . , wi(t), . . . , w5(t)] is the feature matrix of X(t)Ty(t), the expressions of qi(t) and W(t) are













q
i



(
t
)


T

=





t
i



(
t
)


T



y


(
t
)







t
i



(
t
)


T




t
i



(
t
)





,




(
18
)










W


(
t
)


T



Λ


(
t
)




W


(
t
)



=

E


{



X


(
t
)


T



y


(
t
)





y


(
t
)


T



X


(
t
)



}



,




(
19
)








where Λ(t) is the eigenvalue matrices of X(t)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:









{






X


(
t
)


=




T


(
t
)





P


(
t
)


T


+

Δ


(
t
)



=





i
=
1

5





t
i



(
t
)






p
i



(
t
)


T



+

Δ


(
t
)











y


(
t
)


=




U


(
t
)





q


(
t
)


T


+

G


(
t
)



=





i
=
1

5





u
i



(
t
)






q
i



(
t
)


T



+

G


(
t
)








,





(
20
)








where Δ(t)∈RK×5 is the residual matrix of X(t), Δ(t)=[δ1(t), . . . , δi(t), . . . , δ5(t)], where δi(t) present the residual vector of ith input. G(t)∈RK×1 is the residual vector of y(t);


{circle around (4)} when the regression coefficient of the input variable satisfies:

bmax(t)=max b(t),  (21)

where bmax(t) is the maximum regression coefficient of the input variables, and the corresponding fault type is the source of sludge bulking.



FIG. 4 shows the fault classification of sludge bulking. X-axis: input variable, no unit, Y-axis: contribution, no unit.

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)=[x1(t), x2(t), x3(t), x4(t), x5(t)] at time t, x1(t) represents DO concentration at time t; x2(t) represents TN concentration at time t, x3(t) represents an organic load rate (F/M) value at time t, x4(t) represents pH value at time t, and x5(t) represents T value at time t, the output of type-2 fuzzy-neural-network is yd(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: oi(t)=xi(t)  (1)
Priority Claims (1)
Number Date Country Kind
201810790763.9 Jul 2018 CN national
US Referenced Citations (2)
Number Name Date Kind
20170185892 Han Jun 2017 A1
20180029900 Han Feb 2018 A1
Related Publications (1)
Number Date Country
20200024168 A1 Jan 2020 US