This application claims priority to Chinese Patent Application No. 201910899611.7, filed on Sep. 23, 2019, entitled “A type-2 fuzzy neural network-based cooperative control method for wastewater treatment process,” which is hereby incorporated by reference in its entirety.
In this present invention, a type-2 fuzzy neural network-based cooperative control (T2FNN-CC) method is designed to achieve the cooperative control of the dissolved oxygen (DO) and nitrate nitrogen (NO3—N) concentrations in wastewater treatment process (WWTP). The concentration of DO and NO3—N is the key control variables in WWTP, and play an important role for improving the effluent quality and energy consumption. It is feasible to implement the proposed T2FNN-CC in WWTP, and control the concentrations of the DO and NO3—N cooperatively. This method can ensure the normal operation of WWTP under the different operation conditions. The technology of this present invention belongs to the field of water research and intelligent control.
The rapid growth of the global population and the rapid development of manufacturing industry accelerate the consumption of water resources, and produce a large amount of wastewater. In recent years, many countries have introduced a variety of environmental legislation to regulate the emission processes of wastewater and improve the emission standards to protect the environment. Wastewater treatment plants need to meet more requirements to reach the discharge standards. Meanwhile, the variable operation conditions is a great challenge to the stable operation of WWTP. Therefore, the research results of the present invention has the important significance for ensuring the stable operation of WWTP.
As the key control variables, the DO and NO3—N concentrations can directly control the biochemical reaction processes in WWTP. In the wastewater treatment plants, the activated sludge process, which includes the ammonification reaction, nitrification reaction and denitrification reaction, is the most popular wastewater treatment method and the pollutants in wastewater can be removed by degrading the organic matter. The ammonification reaction can convert the organic nitrogen compounds into ammonia nitrogen, the nitration reaction can synthesize the ammonia nitrogen into NO3—N, and the denitrification reaction can decompose the NO3—N into nitrogen. Although these above reactions can achieve the effective removal of organic matter, it is difficult to control these reaction processes. For example, the nitration reaction is a kind of aerobic reaction and the sufficient DO concentration will promote the degradation of ammonia nitrogen in the nitration reaction. On the contrary, the denitrification reaction requires an anoxic environment and the NO3—N concentration can be removed by the denitrification reaction under the hypoxic conditions. It is difficult to control both the nitration and denitrification reactions due to these conflicting conditions. The high DO concentration will affect the nitration and denitrification reactions and the NO3—N concentration is a primary factor for the denitrification reaction. Therefore, it is urgent to control the DO and NO3—N concentrations cooperatively. The type-2 fuzzy neural network can use the type-2 fuzzy rule to express the change of the process variables in WWTP and deal with the strong nonlinear and high uncertainty of WWTP. The proposed T2FNN-CC has strong robustness and high control precision, and use a parameter cooperative strategy to optimize the global and local parameters of type-2 fuzzy neural network to improve the control response speed and realize cooperative control of the DO and NO3—N concentrations. The proposed T2FNN-CC can ensure the stable operation of WWTP under the different operation conditions, and has the practical application value.
In this present invention, a T2FNN-CC method is designed for controlling the DO and NO3—N concentrations of WWTP, where the type-2 fuzzy neural network controller is used to control the controlled variables, and the parameter cooperative strategy is employed to update the global and local parameters of the type-2 fuzzy neural network controller.
In this present invention, a T2FNN-CC method is designed. This proposed T2FNN-CC method can solve the control values of the DO and NO3—N concentrations, and utilize the aeration value and internal backflow value to achieve the cooperative control of the DO and NO3—N concentrations. The proposed T2FNN-CC method can ensure that the discharge standards are met, and improve the stability of WWTP under the different operation conditions.
The present invention adopts the following technical scheme and implementation steps:
A type-2 fuzzy neural network-based cooperative control method for controlling the dissolved oxygen (DO) and nitrate nitrogen (NO3—N) concentrations of wastewater treatment process (WWTP), wherein aeration value and internal backflow value are used as control variables, the DO and NO3—N concentrations are used as controlled variables, the method comprising the following steps:
(1) design a type-2 fuzzy neural network (T2FNN) for controlling the DO and NO3—N concentrations, the T2FNN contains five-layers: an input layer, a membership layer, a rule layer, a consequent layer and an output layer, wherein:
the input layer contains 4 input neurons and an input vector is:
X(t)=[x1(t),x2(t),x3(t),x4(t)]T (1)
where X(t) is the input vector of T2FNN at time t, x1(t) is an error between a set-point and a measured value of DO concentration at time t, x2(t) is an error variation between the set-point and the measured value of DO concentration at time t, x3(t) is an error between a set-point and a measured value of NO3—N concentration at time t, x4(t) is an error variation between the set-point and the measured value of NO3—N concentration at time t, T represents a revolution of the matrix and vector;
the membership layer contains P membership neurons and a neuron represents an interval type-2 membership function:
where P is the total number of membership neurons, P=4M, M is the total number of rule neurons, 1<M≤15, mij(t) is a lower membership value of ith input to jth rule neuron at time t,
the rule layer contains M rule neurons, an output of each neuron is:
where Fj(t) is firing strength of jth rule neuron at time t, fj(t) is lower firing strength of the jth rule neuron at time t,
the consequent layer contains 4 consequent neurons, an output of each neuron is:
where yk(t) is a lower output of consequent neuron with respect to kth output neuron at time t,
the output layer contains 2 neurons, an output of each neuron is:
Δuk(t)−qk(t)yk(t)+(1−qk(t))
where Δuk(t) is an output of kth output neuron at time t, qk(t) is a scale factor of the kth output neuron, 0<qk(t)<1;
(2) train T2FNN, which includes:
1) divide parameters of T2FNN into global and local parameters, and define a global parameter vector and a local parameter vector as:
Φg(t)=[cij(t),
Φl(t)=[wijk(t),bjk(t),qk(t)] (8)
where Φg(t) is the global parameter vector at time t, Φl(t) is the local parameter vector at time t, and an objective function is:
where l(t) is a composite error at time t, α(t) is an error coefficient at time t, l1(t) is the error between the set-point and measured value of DO concentration at time t, l2(t) the error between the set-point and measured value of NO3—N concentration at time t, y1 d(t) is the set-point of DO concentration at time t, y2 d(t) is the set-point of NO3—N concentration at time t, y1(t) is a real value of DO concentration at time t, y2(t) is a real value of NO3—N concentration at time t;
2) utilize parameter cooperative strategy to optimize the global and local parameters of T2FNN cooperatively, an updating rule of parameters is:
where Φ(t+1) is a parameter vector at time t+1, Φ(t) is a parameter vector at time t, I is a unit matrix, H(t) is a quasi Hessian matrix at time t, Gl(t) is an error gradient vector at time t, θ(t) is an adaptive learning rate at time t and θ(t)∈(0, 1], J(t) is a Jacobian vector at time t, ∂l(t)/∂Φg(t) is a partial derivative of the composite error with respect to the global parameter vector at time t, ∂l(t)/∂Φl(t) is a partial derivative of the composite error with respect to the local parameter vector at time t, ∂l(t)/∂cij(t) is partial derivatives of the composite error with respect to lower uncertain center at time t, ∂l(t)/∂
(3) design the type-2 fuzzy neural network-based cooperative control method for controlling the DO and NO3—N concentrations of WWTP, which includes:
1) calculate outputs of T2FNN according to Eq. (7);
2) compare a value of composite error with a pre-set threshold, if l(t)>β, go to step 3), and if l(t)≤β, go to step 4), where β is the pre-set threshold and β=0.01;
3) calculate updated values of parameters according to Eq. (10);
4) calculate control outputs at current time:
uk(t)=uk(t−1)+Δuk(t) (11)
where uk(t) is kth control output at time t, u1(t) is the control output with respect to an aeration value at time t, u2(t) is the control output with respect to an internal backflow value at time t, uk(t−1) is kth control output at time t−1,
5) enter uk(t) into WWTP to control the DO and NO3—N concentrations, return to step 1);
(4) use u1(t) and u2(t) to control the concentration of DO and NO3—N in WWTP, u1(t) is the control input of the aeration value at time t, u2(t) is the control input of the internal backflow value at time t, the control results are the concentrations of DO and NO3—N in WWTP.
The Novelties of this Present Disclosure Contain:
(1) WWTP is a complex industrial process with the strong nonlinearity, high uncertainties and multiple disturbances, and the exact mathematic model of WWTP is difficult to design according to the general methods. Since the artificial neural network owns the strong learning ability and approximation capability, the T2FNN-CC method can be employed to achieve the precise and stable control for WWTP under the different operation conditions.
(2) In this present invention, a T2FNN-CC method is studied to realize the cooperative control of the DO and NO3—N concentrations. This proposed T2FNN-CC method can utilize the robustness of T2FNN and the parameter cooperative strategy to meet the control requirements for WWTP under the different operations conditions, and address the difficulty of the stability control in WWTP.
Attention: for the convenience of the description, the proposed T2FNN-CC method is used to control the DO and NO3—N concentrations of WWTP cooperatively. All of the control methods, which utilize the principle of this present invention, also belong to the scope of this present invention.
In this present invention, a T2FNN-CC method is designed. This proposed T2FNN-CC method can solve the control values of the DO and NO3—N concentrations, and utilize the aeration value and internal backflow value to achieve the cooperative control of the DO and NO3—N concentrations. The proposed T2FNN-CC method can ensure that the discharge standards are met, and improve the stability of WWTP under the different operation conditions.
The present invention adopts the following technical scheme and implementation steps:
A type-2 fuzzy neural network-based cooperative control method for controlling the dissolved oxygen (DO) and nitrate nitrogen (NO3—N) concentrations of wastewater treatment process (WWTP), wherein aeration value and internal backflow value are used as control variables, the DO and NO3—N concentrations are used as controlled variables, the control scheme is shown in
(1) design a type-2 fuzzy neural network (T2FNN) for controlling the DO and NO3—N concentrations, the T2FNN contains five-layers: an input layer, a membership layer, a rule layer, a consequent layer and an output layer, the structure of T2FNN is shown in
wherein:
the input layer contains 4 input neurons and an input vector is:
X(t)=[x1(t),x2(t),x3(t),x4(t)]T (1)
where X(t) is the input vector of T2FNN at time t, x1(t) is an error between a set-point and a measured value of DO concentration at time t, x2(t) is an error variation between the set-point and the measured value of DO concentration at time t, x3(t) is an error between a set-point and a measured value of NO3—N concentration at time t, x4(t) is an error variation between the set-point and the measured value of NO3—N concentration at time t, T represents a revolution of the matrix and vector;
the membership layer contains P membership neurons and a neuron represents an interval type-2 membership function:
where P is the total number of membership neurons, P=4M, M is the total number of rule neurons, 1<M≤15, mij(t) is a lower membership value of ith input to jth rule neuron at time t,
the rule layer contains M rule neurons, an output of each neuron is:
where Fj(t) is firing strength of jth rule neuron at time t, fj(t) is lower firing strength of the jth rule neuron at time t,
the consequent layer contains 4 consequent neurons, an output of each neuron is:
where yk(t) is a lower output of consequent neuron with respect to kth output neuron at time t,
the output layer contains 2 neurons, an output of each neuron is:
Δuk(t)=qk(t)yk(t)+(1−qk(t))
where Δuk(t) is an output of kth output neuron at time t, qk(t) is a scale factor of the kth output neuron, 0<qk(t)<1;
(2) train T2FNN, which includes:
1) divide parameters of T2FNN into global and local parameters, and define a global parameter vector and a local parameter vector as:
Φg(t)=[cij(t),
Φl(t)=[wijk(t),bjk(t),qk(t)] (8)
where Φg(t) is the global parameter vector at time t, Φl(t) is the local parameter vector at time t, and an objective function is:
where l(t) is a composite error at time t, α(t) is an error coefficient at time t, l1(t) is the error between the set-point and measured value of DO concentration at time t, l2(t) the error between the set-point and measured value of NO3—N concentration at time t, y1 d(t) is the set-point of DO concentration at time t, y2 d(t) is the set-point of NO3—N concentration at time t, y1(t) is a real value of DO concentration at time t, y2(t) is a real value of NO3—N concentration at time t;
2) utilize parameter cooperative strategy to optimize the global and local parameters of T2FNN cooperatively, an updating rule of parameters is:
where Φ(t+1) is a parameter vector at time t+1, Φ(t) is a parameter vector at time t, I is a unit matrix, H(t) is a quasi Hessian matrix at time t, Gl(t) is an error gradient vector at time t, θ(t) is an adaptive learning rate at time t and θ(t)∈(0, 1], J(t) is a Jacobian vector at time t, ∂l(t)/∂Φg(t) is a partial derivative of the composite error with respect to the global parameter vector at time t, ∂l(t)/∂Φl(t) is a partial derivative of the composite error with respect to the local parameter vector at time t, ∂l(t)/∂cij(t) is partial derivatives of the composite error with respect to lower uncertain center at time t, ∂l(t)/∂
(3) design the type-2 fuzzy neural network-based cooperative control method for controlling the DO and NO3—N concentrations of WWTP, which includes:
1) calculate outputs of T2FNN according to Eq. (7);
2) compare a value of composite error with a pre-set threshold, if l(t)>β, go to step 3), and if l(t)≤β, go to step 4), where β is the pre-set threshold and β=0.01;
3) calculate updated values of parameters according to Eq. (10);
4) calculate control outputs at current time:
uk(t)=uk(t−1)+Δuk(t) (11)
where uk(t) is kth control output at time t, u1(t) is the control output with respect to an aeration value at time t, u2(t) is the control output with respect to an internal backflow value at time t, uk(t−1) is kth control output at time t−1,
5) enter uk(t) into WWTP to control the DO and NO3—N concentrations, return to step 1);
(4) use u1(t) and u2(t) to control the concentration of DO and NO3—N in WWTP, u1(t) is the control input of the aeration value at time t, u2(t) is the control input of the internal backflow value at time t, the control results are the concentrations of DO and NO3—N in WWTP.
Number | Date | Country | Kind |
---|---|---|---|
201910899611.7 | Sep 2019 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
7413654 | Applegate | Aug 2008 | B2 |
Entry |
---|
Han, Hong-Gui, et al. “A self-organizing interval Type-2 fuzzy-neural-network for modeling nonlinear systems.” Neurocomputing 290 (May 2018): 196-207. (Year: 2018). |
Qiao, Jun-Fei, et al. “Adaptive fuzzy neural network control of wastewater treatment process with multiobjective operation.” Neurocomputing 275 (Jan. 2018): 383-393. (Year: 2018). |
Honggui, Han, Li Ying, and Qiao Junfei. “A fuzzy neural network approach for online fault detection in waste water treatment process.” Computers & Electrical Engineering 40.7 (Oct. 2014): 2216-2226. (Year: 2014). |
Number | Date | Country | |
---|---|---|---|
20210087074 A1 | Mar 2021 | US |