Summary of the invention
To the above-mentioned weak point that exists in the prior art; The technical matters that the present invention will solve provides a kind of biochemical processing procedure of sewage circuit controls methods towards sewage lifting, blower fan aeration and three main power consumption links of mud backflow; This method is guaranteeing to reduce the biochemical processing procedure of sewage energy consumption under the stable water outlet prerequisite up to standard.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is:
A kind of biochemical processing procedure of sewage circuit controls of the present invention method may further comprise the steps:
The entry organic loading is carried out tandem control, and " labour " of the biochemical treatment of control sewage is " food " quantity of microorganism, to reduce the energy consumption that sewage promotes link;
Dissolved oxygen concentration in the aeration tank is implemented tandem control, realize the air feed as required of aeration tank, to reduce the energy consumption of blower fan aeration link;
Sludge concentration in the aeration tank is implemented the control of feedforward-tandem, and the micro organism quantity in the control sewage disposal system is to reduce the energy consumption of mud backflow link.
Saidly the entry organic loading is carried out tandem control comprise external loop discharge setting value control loop and inner looping discharge control loop, wherein:
Discharge setting value control loop: according to the variation of entry water quality and effluent quality, the feedback through water outlet COD realizes the control of entry organic loading setting value, obtains the setting value of discharge through divider according to entry organic loading setting value;
Discharge control loop: as input value, the actuator lift pump in the sewage disposal system is applied control with the discharge setting value, regulate discharge and follow the discharge set point change.
Said entry organic loading setting value control algolithm is:
Wherein:
ΔFood
sp(k)=K
P_Food·Δe
COD(k)+K
I_Food·e
COD(k) (2)
e
COD(k)=COD
out,sp(k)-COD
out(k) (3)
Δe
COD(k)=e
COD(k)-e
COD(k-1) (4)
Food in the formula
Sp(k) be the k time sampling entry organic loading setting value, Food
Sp MaxWith Food
Sp MinBe the maximal value and the minimum value of sewage treatment plant's entry organic loading design, Δ Food
Sp(k) be the k time sampling entry load setting value added value, k is the sampling number sequence number, COD
Out, sp(k) be the k time sampling effluent COD concentration setting value, COD
Out(k) be the k time sampling effluent COD concentration measured value, e
COD(k) be the error of the k time sample effluent COD concentration setting value and effluent COD concentration measured value, e
COD(k-1) be the error of (k-1) inferior sampling effluent COD concentration setting value and effluent COD concentration measured value, Δ e
COD(k) be the error rate of the k time sampling effluent COD concentration, K
P_FoodAnd K
I_FoodBe respectively PI controller ratio and integral parameter.
Said divider is:
Q in the formula
0, sp(k) be the k time sampling discharge setting value, COD
m(k) be the k time sampling entry COD concentration measurement.
Said discharge control loop algorithm is:
Wherein:
F in the formula
Q(k) be the k time sampling lift pump frequency converter frequency, f
Q(k-1) be (k-1) inferior sampling lift pump frequency converter frequency, f
Q MaxWith f
Q MinBe respectively the maximum and the minimum output power of frequency converter, k is the sampling number sequence number, K
P_Q0And K
I_Q0Be respectively PI controller control ratio and integral parameter,
Be the error of the k time sample discharge setting value and discharge measured value,
Be the error of (k-1) inferior sampling discharge setting value and discharge measured value,
Be the discharge error rate of the k time sampling, Q
0, sp(k) be the k time sampling discharge setting value, Q
0(k) be the k time sampling discharge measured value.
Said entry organic loading is the index that is used for characterizing the organism quantity in the entry, representes with following formula:
Food=COD
inQ
0 (2)
Food is the entry organic loading in the formula, COD
InBe the COD of entry, Q
0Be discharge.
It is said that control comprises external loop dissolved oxygen DO setting value control loop and inner looping dissolved oxygen DO Human Simulating Intelligent Control loop to the enforcement of the dissolved oxygen concentration in aeration tank tandem, wherein:
Dissolved oxygen DO setting value control loop: as feedback signal, adopt the PI control algolithm with water outlet COD;
Dissolved oxygen DO Human Simulating Intelligent Control loop: as feedback signal, regulate the dissolved oxygen concentration in the aeration tank through the frequency conversion output frequency of control aeration link actuator with water outlet COD; The algorithm use Human Simulating Intelligent Control Algorithm, this algorithm use hierarchical control mechanism, simulation has the expert's of control experience control behavior, identification current working state on the upper strata; Adopt conventional PID control method at bottom,, realize multi-modal control or decision-making the corresponding pid parameter of the state configuration that picks out.
Said PI control algolithm is:
Wherein
ΔS
O,sp(k)=K
P_SO·e
COD(k)+K
I_SO·Δe
COD(k) (11)
e
COD(k)=COD
out,sp-COD
out(k) (12)
Δe
COD(k)=e
COD(k)-e
COD(k-1) (13)
S in the formula
O, sp(k) be the k time sampling dissolved oxygen concentration setting value, S
O, sp(k-1) be (k-1) inferior sampling dissolved oxygen concentration setting value, Δ S
O, sp(k) be the k time sampling dissolved oxygen concentration setting value added value, k is the sampling number sequence number, S
O, sp MaxWith S
O, sp MinBe respectively the maximum and the minimum value of dissolved oxygen DO setting value, K
P_SOAnd K
I_SOExpression PI controller control ratio and integral parameter, e
COD(k) be the error of the k time sample effluent COD concentration setting value and effluent COD concentration measured value, e
COD(k-1) be the error of (k-1) inferior sampling effluent COD concentration setting value and effluent COD concentration measured value, Δ e
COD(k) be the k time sampling effluent COD concentration error rate, COD
Out(k) be the k time sampling effluent COD concentration measured value, COD
Out, spBe the effluent COD concentration setting value;
Said Human Simulating Intelligent Control Algorithm adopts production rule that expertise is described, and this rule list is shown:
IF(condition) THEN(action);
Response according to the big young pathbreaker system of the error e (k) of dissolved oxygen concentration setting value and measured value is divided into four intervals, carries out staging treating, and the Different control strategy is taked in different intervals;
The positive and negative variation tendency of differentiating error current according to product e (k) the Δ e (k) of the error rate Δ e (k) of the error e (k) of dissolved oxygen concentration setting value and measured value and dissolved oxygen concentration setting value and measured value; Select P, I, D parameter for use and amplify system or rejection coefficient, calculate the frequency conversion output frequency of aeration link actuator at last.
Human Simulating Intelligent Control Algorithm is:
(1) when the Error Absolute Value of dissolved oxygen concentration setting value and measured value | e (k) | more than or equal to error upper limit e2, promptly | and e (k) | during >=e2, the illustrative system error is excessive, and the output valve of controller is by its maximum value output;
(2) when the Error Absolute Value of dissolved oxygen concentration setting value and measured value | e (k) | between error upper limit e2 and error lower limit e1, promptly e1<| e (k) | during<e2, consider reduction or do not use integral action that concrete control strategy also should be with reference to error change trend:
(21) if e (k) Δ e (k) >=0, illustrative system output positive deviation setting value, error just change towards the direction that absolute value increases, or error is a certain constant value, remain unchanged, and implement the control of the variation tendency of rapid torsional error absolute value, the controller output valve is:
Δu(k)=k
1{K
P1Δe(k)+K
I1e(k)+K
D1[e(k)-2e(k-1)+e(k-2)]} (14)
Δ u (k) is the k time sampling system output increment in the formula, k
1Be amplification coefficient, K
P1, K
I1And K
D1Be respectively PID controller ratio, integration and differential parameter;
(22) if e (k) Δ e (k)<0, setting value just is being partial in illustrative system output, error just changes towards the direction that absolute value is reducing, and implements to let system under the assistance of inertia, get back to the control of stable state, the controller output valve is:
Δu(k)=k
2{K
P1Δe(k)+K
I1e(k)+K
D1[e(k)-2e(k-1)+e(k-2)]} (15)
In the formula, k
2The expression rejection coefficient;
(3) when the Error Absolute Value of dissolved oxygen concentration setting value and measured value | e (k) | between error dead band d and error lower limit e1; Be d<| e (k) | during≤e1, systematic error is less, adds integration; Reducing steady-state error, and the reference error variation tendency is confirmed concrete control strategy:
(31) if e (k) Δ e (k) >=0, the controller output valve is:
Δu(k)=k
1{K
P2Δe(k)+K
I2e(k)+K
D2[e(k)-2e(k-1)+e(k-2)]} (16)
K in the formula
P2, K
I2And K
D2Be respectively PID controller ratio, integration and differential parameter;
(32) if e (k) Δ e (k)<0, the controller output valve is:
Δu(k)=k
2{K
P2Δe(k)+K
I2e(k)+K
D2[e(k)-2e(k-1)+e(k-2)]} (17)
(4) when the Error Absolute Value of dissolved oxygen concentration setting value and measured value | e (k) | less than error skip distance d, promptly during e|≤d, ignore systematic error, the controller output valve is 0.
It is said that control comprises control of sludge concentration setting value feedforward and Feedback and sludge concentration control loop to the enforcement of the sludge concentration in aeration tank feedforward-tandem, wherein:
The control of sludge concentration setting value feedforward and Feedback: as feed-forward signal, as feedback signal, feedforward control adopts proportional control with water outlet COD with the entry organic loading, and FEEDBACK CONTROL adopts PI control;
Sludge concentration control loop: as feedback signal, realize through control mud capacity of returns with sludge concentration measured value in the aeration tank.
Said feedforward control adopts proportional control, obtains through following formula:
MLSS
sp,ff(k)=k
ff_MLSS·Food
avg(k) (18)
MLSS in the formula
Sp, ff(k) be the k time sampling sludge concentration setting value feedforward value, K
Ff_MLSSThe static feedforward of expression scale-up factor, Food
Avg(k) be 2 hours sliding averages of the k time sampling entry organic loading;
Feedback controller adopts PI control, shown in (22).
Wherein
ΔMLSS
sp(k)=K
P_MLSS·e
COD_avg(k)+K
I_MLSS·Δe
COD_avg(k) (20)
e
COD(k)=COD
out,sp-COD
out(k) (21)
Δe
COD(k)=e
COD(k)-e
COD(k-1) (22)
The final setting value of sludge concentration is suc as formula shown in (26):
MLSS
SP(k)=MLSS
SP_ff(k)+MLSS
SP_fb(k) (23)
MLSS in the formula
Sp, fb(k) be the k time sampling sludge concentration setting value value of feedback, MLSS
Sp, fb(k-1) be (k-1) inferior sampling sludge concentration setting value value of feedback, Δ MLSS
Sp, fb(k) be the k time sampling sludge concentration setting value value of feedback added value, MLSS
Sp MaxWith MLSS
Sp MinBe respectively the maximum and the minimum value of sludge concentration setting value, K
P_MLSSAnd K
I_MLSSBe respectively PI controller control ratio and integral parameter, e
COD(k) be the error of the k time sample effluent COD concentration setting value and effluent COD concentration measured value, e
COD(k-1) be the error of (k-1) inferior sampling effluent COD concentration setting value and effluent COD concentration measured value, Δ e
COD(k) be the k time sampling effluent COD concentration error rate, COD
Out(k) be the k time sampling effluent COD concentration measured value, COD
Out, spBe effluent COD concentration setting value, MLSS
Sp(k) be the k time sampling sludge concentration setting value;
Said sludge concentration control loop algorithm is:
Wherein:
ΔQ
r(k)=K
P_Qr·e
MLSS(k)+K
I_Qr·Δe
MLSS(k) (28)
e
MLSS(k)=MLSS
sp-MLSS(k) (29)
Δe
MLSS(k)=e
MLSS(k)-e
MLSS(k-1) (30)
Q in the formula
r(k) be the k time sampling mud capacity of returns measured value, Δ Q
r(k) be the k time sampling mud capacity of returns measured value added value, Q
r MaxWith Q
r MinMaximum and the minimum value of representing the mud capacity of returns respectively, Q rule of thumb usually
r MaxBe 3-5 discharge doubly, Q
r MinBe 0.5-1.5 discharge doubly; K
P_QrAnd K
I_QrExpression PI controller control ratio and integral parameter, e
MLSS(k) be the error of the k time sample sludge concentration setting value and sludge concentration measured value, e
MLSS(k-1) be the error of (k-1) inferior sampling sludge concentration setting value and sludge concentration measured value, Δ e
MLSS(k) be the k time sampling sludge concentration error rate, MLSS (k) is the k time sampling sludge concentration measured value, MLSS
SpBe the sludge concentration setting value.
The present invention has following beneficial effect and advantage:
1. reduce the biochemical processing procedure of sewage energy consumption.The inventive method adopts the circuit controls mode; Characteristics to different controlling object adopt the Different control algorithm; As the entry organic loading being adopted tandem control, dissolved oxygen concentration is adopted Human Simulating Intelligent Control Algorithm, sludge concentration is adopted the control of feedforward-tandem; Realization is implemented effective control to the biochemical processing procedure of sewage of sewage lifting, blower fan aeration and three main power consumption links of mud backflow, is guaranteeing obviously to reduce the biochemical processing procedure of sewage energy consumption under the stable water outlet prerequisite up to standard.
2. up to standard as controlled target with effluent quality; Entry organic loading, dissolved oxygen concentration and three controlling object of sludge concentration are implemented circuit controls; The controlled target unification of three objects on the effluent quality index, has been realized nutrition-entry organic loading, oxygen supply-dissolved oxygen concentration and the microorganism-sludge concentration three's of biochemical processing procedure of sewage balance.
3. non-linear with characteristics such as timely changes to entry organic loading, dissolved oxygen concentration and three controlling object of sludge concentration; Implement control of circuit controls tandem and Human Simulating Intelligent Control Algorithm, solved the control of traditional PI D single loop and be difficult to obtain the desirable problem of controlling effect.
Embodiment
A kind of biochemical processing procedure of sewage circuit controls of the present invention method may further comprise the steps:
The entry organic loading is carried out tandem control, and " labour " of the biochemical treatment of control sewage is " food " quantity of microorganism, to reduce the energy consumption that sewage promotes link;
Dissolved oxygen concentration in the aeration tank is implemented tandem control, realize the air feed as required of aeration tank, to reduce the energy consumption of blower fan aeration link;
Sludge concentration in the aeration tank is implemented the control of feedforward-tandem, and the micro organism quantity in the control sewage disposal system is to reduce the energy consumption of mud backflow link.
The purpose of discharge control is in order to regulate organism quantity to be removed in the sewage treatment plant.In the sewage biochemical treatment system, organism is microorganism " food ", and organic quantity can directly influence reproduction speed and the effluent quality of microorganism in the control entry.Here define the entry organic loading and characterize the organism quantity in the entry, shown in (1).
Food=BOD
5,inQ
0 (25)
Food representes entry organic loading, BOD in the formula
5, inBOD BOD on the 5th of expression entry
5(Biological Oxygen Demanded), Q
0Expression discharge.
Because BOD
5Measuring period is long, needs 5 days time, and therefore the on-line measurement difficulty in theoretical Research And Engineering practice, replaces BOD with chemical oxygen demand COD usually
5COD generally is higher than BOD
5, difference therebetween can approximately be expressed as and can not be the organism of microbial degradation.BOD in the sanitary sewage
5Being roughly 0.4-0.8 with the ratio of COD, is relatively-stationary for this ratio of sewage of specific water quality.Therefore the entry organic loading can use formula (2) to calculate usually.
Food
COD=COD
inQ
0 (26)
Food in the formula
CODBe the entry organic loading that adopts entry COD to calculate, COD
InBe the COD of entry, Q
0Be discharge.
Because entry COD is by the decision of entry water quality, sewage treatment plant is uncontrollable, and therefore the control for the entry organic loading is exactly in fact the control for discharge.
1. discharge control loop
In order to keep the stability of sewage disposal system water outlet; The present invention proposes the tandem control of discharge; As shown in Figure 2; Take all factors into consideration entry water quality and disturb the variation with effluent quality, realize the control of entry organic loading setting value, obtain the setting value of discharge according to entry organic loading setting value through divider through the feedback of water outlet COD.
Saidly the entry organic loading is carried out tandem control comprise external loop discharge setting value control loop and inner looping discharge control loop, wherein:
Discharge setting value control loop: according to the variation of entry water quality and effluent quality, the feedback through water outlet COD realizes the control of entry organic loading setting value, obtains the setting value of discharge through divider according to entry organic loading setting value;
Discharge control loop: as input value, the actuator lift pump in the sewage disposal system is applied control with the discharge setting value, regulate discharge and follow the discharge set point change.
1.1 discharge setting value control loop
The entry organic loading characterizes organic content in the entry; And organism is a microorganism (active sludge) " food "; Therefore the setting value of entry organic loading is mainly determined by microorganism " appetite "; Specifically by the decision of information such as the population of microorganism, activity, quantity, but these indexs mostly are difficult to on-line measurement, and whether the present invention adopts water outlet COD signal to come indirect reflection entry organic loading appropriate.Effluent COD concentration exceeds standard, and explains that the entry organic loading is excessive; Effluent COD concentration is too small, explains that the entry organic loading is not enough.
Water outlet COD controller adopts PI control, shown in (3).
Wherein:
ΔFood
sp(k)=K
P_Food·Δe
COD(k)+K
I_Food·e
COD(k) (28)
e
COD(k)=COD
out,sp(k)-COD
out(k) (29)
Δe
COD(k)=e
COD(k)-e
COD(k-1) (30)
Food in the formula
Sp(k) be the k time sampling entry organic loading setting value, Food
Sp MaxWith Food
Sp MinBe the maximal value and the minimum value of sewage treatment plant's entry organic loading design, relevant with the volume of sewage treatment plant biochemistry pool with the microbial species group structure, Δ Food
Sp(k) be the k time sampling entry load setting value added value, k is the sampling number sequence number, COD
Out, sp(k) be the k time sampling effluent COD concentration setting value, COD
Out(k) be the k time sampling effluent COD concentration measured value, e
COD(k) be the error of the k time sample effluent COD concentration setting value and effluent COD concentration measured value, e
COD(k-1) be the error of (k-1) inferior sampling effluent COD concentration setting value and effluent COD concentration measured value, Δ e
COD(k) be the error rate of the k time sampling effluent COD concentration, K
P_FoodAnd K
I_FoodBe respectively PI controller ratio and integral parameter.
After obtaining the setting value of entry organic loading, just can obtain the setting value of discharge through divider, shown in (7).
Q in the formula
0, sp(k) be the k time sampling discharge setting value, COD
In(k) be the k time sampling entry COD concentration measurement.
1.2 discharge control loop
In the practical application process, the discharge control loop finally is that the actuator lift pump is applied control action, and controller is realized the control to lift pump through the output frequency of control of conversion device, and discharge control loop structure is as shown in Figure 3.
The discharge controller adopts PI control, shown in (8).
Wherein:
F in the formula
Q(k) be the k time sampling lift pump frequency converter frequency, f
Q(k-1) be (k-1) inferior sampling lift pump frequency converter frequency, f
Q MaxWith f
Q MinBe respectively the maximum and the minimum output power of frequency converter, usually f
Q MaxGet work frequency 50Hz, consider the resistance of ducting of oxygen transmission, f
Q MinUsually get 20-35Hz; Δ f
Q(k) be the k time sampling lift pump frequency converter frequency added value, k is the sampling number sequence number, K
P_Q0And K
I_Q0Be respectively PI controller control ratio and integral parameter,
Be the error of the k time sample discharge setting value and discharge measured value,
Be the error of (k-1) inferior sampling discharge setting value and discharge measured value,
Be the discharge error rate of the k time sampling, Q
0, sp(k) be the k time sampling discharge setting value, Q
0(k) be the k time sampling discharge measured value.
2. dissolved oxygen DO control loop
It is said that control comprises external loop dissolved oxygen DO setting value control loop and inner looping dissolved oxygen DO Human Simulating Intelligent Control loop to the enforcement of the dissolved oxygen concentration in aeration tank tandem, wherein:
Dissolved oxygen DO setting value control loop: as feedback signal, adopt the PI control algolithm with water outlet COD;
Dissolved oxygen DO Human Simulating Intelligent Control loop: as feedback signal, regulate the dissolved oxygen concentration in the aeration tank through the frequency conversion output frequency of control aeration link actuator with water outlet COD; The algorithm use Human Simulating Intelligent Control Algorithm, this algorithm use hierarchical control mechanism, simulation has the expert's of control experience control behavior, identification current working state on the upper strata; Adopt conventional PID control method at bottom,, realize multi-modal control or decision-making the corresponding pid parameter of the state configuration that picks out.
2.1 dissolved oxygen DO setting value control loop
Because the dissolved oxygen concentration setting value directly influences effluent quality, so the dissolved oxygen DO setting value control loop structure of the present invention's proposition shown in Fig. 4 (a), 4 (b), as feedback signal, control algolithm adopts the PI control algolithm with water outlet COD.
Said PI control algolithm is:
Wherein
ΔS
O,sp(k)=K
P_SO·e
COD(k)+K
I_SO·Δe
COD(k) (37)
e
COD(k)=COD
out,sp-COD
out(k) (38)
Δe
COD(k)=e
COD(k)-e
COD(k-1) (39)
S in the formula
O, sp(k) be the k time sampling dissolved oxygen concentration setting value, S
O, sp(k-1) be (k-1) inferior sampling dissolved oxygen concentration setting value, Δ S
O, sp(k) be the k time sampling dissolved oxygen concentration setting value added value, k is the sampling number sequence number, S
O, sp MaxWith S
O, sp MinBe respectively the maximum and the minimum value of dissolved oxygen DO setting value, usually S
O, sp MaxValue 2.5-3.5mg/L, S
O, sp MinValue 1.0-2.5mg/L, K
P_SOAnd K
I_SOExpression PI controller control ratio and integral parameter, e
COD(k) be the error of the k time sample effluent COD concentration setting value and effluent COD concentration measured value, e
COD(k-1) be the error of (k-1) inferior sampling effluent COD concentration setting value and effluent COD concentration measured value, Δ e
COD(k) be the k time sampling effluent COD concentration error rate, COD
Out(k) be the k time sampling effluent COD concentration measured value, COD
Out, spBe the effluent COD concentration setting value;
2.2 dissolved oxygen DO Human Simulating Intelligent Control
Dissolved oxygen DO control system structure is as shown in Figure 5, and DOsp and DO represent the setting value and the actual value of dissolved oxygen DO respectively among the figure.Controller is regulated the rotating speed of motor through the output of control of conversion device, thereby controls the operation of fan blower, finally realizes The Control of Dissolved Oxygen.
The present invention propose based on expertise the dissolved oxygen DO Human Simulating Intelligent Control (Human-simulationintelligent control, HSIC), the control behavior of simulating expert.
The present invention combines Human Simulating Intelligent Control and traditional PID control method; Artificial intelligent PID control method is proposed; Its basic thought is to adopt hierarchical control mechanism; Adopt intelligence control method on the upper strata, simulation has the operator's who enriches control experience control behavior, differentiates current working state to greatest extent through feature identification.Adopt conventional PID control method at bottom,, thereby realize multi-modal control or decision-making the corresponding pid parameter of the state configuration that picks out.The algorithm use production rule is described expertise, and rule list is shown:
IF(condition) THEN(action)
This rule-based symbolic Model is applicable to describes cause-effect relationship and non-qualitatively analytic relationship, is convenient to the intuition inference logic and the various fuzzy message qualitatively of expressing human, and the reasoning decision-making rapidly accurately.
Algorithm selects for use the error rate Δ e (k) of error e (k) and dissolved oxygen concentration setting value and measured value of dissolved oxygen concentration setting value and measured value as the input variable of controller; The behavioral characteristics of descriptive system; Characterize its residing duty; As shown in Figure 6, the output u (k) of system can represent with formula.
u(k)=f(e(k),Δe(k)) (40)
The bright specifically control principle of dynamic response of the second-order system that provides below in conjunction with Fig. 7, d is the error skip distance among the figure, u representes controller output, e (k)=SP-u (k), Δ e (k)=e (k)-e (k-1).
At first, be divided into I, II, III, four intervals of IV according to the response of the big young pathbreaker system of the error e (k) of dissolved oxygen concentration setting value and measured value, carry out staging treating, the Different control strategy is taked in different intervals;
Then; The positive and negative variation tendency of differentiating error current according to product e (k) the Δ e (k) of the error rate Δ e (k) of the error e (k) of dissolved oxygen concentration setting value and measured value and dissolved oxygen concentration setting value and measured value; Select P, I, D parameter for use and amplify system or rejection coefficient, calculate the frequency conversion output frequency of aeration link actuator at last.
Said Human Simulating Intelligent Control Algorithm is:
(1) when the Error Absolute Value of dissolved oxygen concentration setting value and measured value | e (k) | more than or equal to error upper limit e2; Promptly | e (k) | during >=e2 (interval IV among Fig. 7); The illustrative system error is excessive, this moment no matter the error variation tendency how, the output valve of controller is by its maximum value output; With rapid adjustment error, Error Absolute Value is reduced with maximal rate, at this moment be equivalent to implement open loop control;
(2) when the Error Absolute Value of dissolved oxygen concentration setting value and measured value | e (k) | between error upper limit e2 and error lower limit e1; Be e1<| e (k) | during<e2 (interval III among Fig. 7); Systematic error is bigger; Consider reduction or do not use integral action that concrete control strategy also should be with reference to error change trend:
(21) if e (k) Δ e (k) >=0 (like AB section, CD section and EF section among Fig. 7), illustrative system output positive deviation setting value, error just change towards the direction that absolute value increases, or error is a certain constant value, remain unchanged.Can consider to implement stronger control action this moment, with the variation tendency of rapid torsional error absolute value, prevents that it from continuing to increase, and controller is exported suc as formula shown in (17):
Δu(k)=k
1{K
P1Δe(k)+K
I1e(k)+K
D1[e(k)-2e(k-1)+e(k-2)]} (41)
Δ u (k) is the k time sampling system output increment in the formula, k
1Be amplification coefficient, e (k)>0 o'clock, k1>1, e (k)<0 o'clock, k1<-1, K
P1, K
I1And K
D1Be respectively PID controller ratio, integration and differential parameter;
(22) if e (k) Δ e (k)<0 (like OA section, BC section, DE and FG section among Fig. 7); Setting value just is being partial in illustrative system output; Error just changes towards the direction that absolute value reduces, and can consider to implement more weak control action this moment, lets system under the assistance of inertia, get back to stable state.So both can subtract
Mini system overshoot does not influence the response speed of system again.The controller output valve is suc as formula shown in (18).
Δu(k)=k
2{K
P1Δe(k)+K
I1e(k)+K
D1[e(k)-2e(k-1)+e(k-2)]} (42)
K in the formula
2The expression rejection coefficient, e (k)>0 o'clock, 0<k
2<1, e (k)<0 o'clock ,-1<k
2<0;
(3) when the Error Absolute Value of dissolved oxygen concentration setting value and measured value | e (k) | between error skip distance d and error lower limit e1; Be d<| e (k) | during≤e1 (interval II among Fig. 7); Systematic error is less; Should add integration this moment, to reduce steady-state error, also wants the reference error variation tendency to confirm concrete control strategy:
(31) if e (k) Δ e (k) >=0 can implement stronger control action, the controller output valve is:
Δu(k)=k
1{K
P2Δe(k)+K
I2e(k)+K
D2[e(k)-2e(k-1)+e(k-2)]} (43)
K in the formula
P2, K
I2And K
D2Be respectively PID controller ratio, integration and differential parameter;
(32) if e (k) Δ e (k)<0 can implement more weak control action, the controller output valve is:
Δu(k)=k
2{K
P2Δe(k)+K
I2e(k)+K
D2[e(k)-2e(k-1)+e(k-2)]} (44)
(4) when the Error Absolute Value of dissolved oxygen concentration setting value and measured value | e (k) | less than error skip distance d, promptly during e|≤d, ignore systematic error, the controller output valve is 0.
3. sludge concentration control loop
It is said that control comprises control of sludge concentration setting value feedforward and Feedback and sludge concentration control loop to the enforcement of the sludge concentration in aeration tank feedforward-tandem, wherein:
The control of sludge concentration setting value feedforward and Feedback: as feed-forward signal, as feedback signal, feedforward control adopts proportional control with water outlet COD with the entry organic loading, and FEEDBACK CONTROL adopts PI control;
Sludge concentration control loop: as feedback signal, realize through control mud capacity of returns with sludge concentration measured value in the aeration tank.
Sludge concentration is that (the amount MLSS with mixed liquor suspended solid, MLSS representes microbial numbers; The proportionate relationship that MixedLiquid Suspended Sludge) should keep relative stability with the entry organic loading; The present invention as feed-forward signal, proposes sludge concentration feedforward-tandem control as shown in Figure 8, because sludge concentration is slow speed per hour control variable with the entry organic loading; Time scale in hour; Therefore rule of thumb, here with 2 hours sliding averages of entry organic loading as feed-forward signal, tandem control with the measured value of water outlet COD and aeration tank sludge concentration as the sludge concentration feedback signal.
3.1 sludge concentration setting value control loop
Said feedforward control adopts proportional control, obtains through following formula:
MLSS
sp,ff(k)=k
ff_MLSS·Food
avg(k) (45)
MLSS in the formula
Sp, ff(k) be the k time sampling sludge concentration setting value feedforward value, K
Ff_MLSSThe static feedforward of expression scale-up factor, Food
Avg(k) be 2 hours sliding averages of the k time sampling entry organic loading;
Feedback controller adopts PI control, shown in (22).
Wherein
ΔMLSS
sp,fb(k)=K
P_MLSS·e
COD(k)+K
I_MLSS·Δe
COD(k) (47)
e
COD(k)=COD
out,sp-COD
out(k) (48)
Δe
COD(k)=e
COD(k)-e
COD(k-1) (49)
The final setting value of sludge concentration is suc as formula shown in (26):
MLSS
sp(k)=MLSS
sp,ff(k)+MLSS
sp,fb(k) (50)
MLSS in the formula
Sp, fb(k) be the k time sampling sludge concentration setting value value of feedback, MLSS
Sp, fb(k-1) be (k-1) inferior sampling sludge concentration setting value value of feedback, Δ MLSS
Sp, fb(k) be the k time sampling sludge concentration setting value value of feedback added value, MLSS
Sp MaxWith MLSS
Sp MinBe respectively the maximum and the minimum value of sludge concentration setting value, consider MLSS from energy consumption with preventing the angle that the sludge bulking unusual service condition takes place usually
Sp MaxValue 1500-4000mg/L considers MLSS from effluent quality
Sp MinValue 600-1000mg/L, K
P_MLSSAnd K
I_MLSSBe respectively PI controller control ratio and integral parameter, e
COD(k) be the error of the k time sample effluent COD concentration setting value and effluent COD concentration measured value, e
COD(k-1) be the error of (k-1) inferior sampling effluent COD concentration setting value and effluent COD concentration measured value, Δ e
COD(k) be the k time sampling effluent COD concentration error rate, COD
Out(k) be the k time sampling effluent COD concentration measured value, COD
Out, spBe effluent COD concentration setting value, MLSS
Sp(k) be the k time sampling sludge concentration setting value;
3.2 sludge concentration circuit controls
The control of said sludge concentration realizes through control mud capacity of returns, and is as shown in Figure 9.The sludge concentration controller algorithm is:
Wherein:
ΔQ
r(k)=K
P_Qr·e
MLSS(k)+K
I_Qr·Δe
MLSS(k) (28)
e
MLSS(k)=MLSS
sp-MLSS(k) (29)
Δe
MLSS(k)=e
MLSS(k)-e
MLSS(k-1) (30)
Q in the formula
r(k) be the k time sampling mud capacity of returns measured value, Δ Q
r(k) be the k time sampling mud capacity of returns measured value added value, Q
r MaxWith Q
r MinMaximum and the minimum value of representing the mud capacity of returns respectively, Q rule of thumb usually
r MaxBe 3-5 discharge doubly, Q
r MinBe 0.5-1.5 discharge doubly; K
P_QrAnd K
I_QrExpression PI controller control ratio and integral parameter, e
MLSS(k) be the error of the k time sample sludge concentration setting value and sludge concentration measured value, e
MLSS(k-1) be the error of (k-1) inferior sampling sludge concentration setting value and sludge concentration measured value, Δ e
MLSS(k) be the k time sampling sludge concentration error rate, MLSS (k) is the k time sampling sludge concentration measured value, MLSS
SpBe the sludge concentration setting value.
Shown in Figure 10 (a), 10 (b), certain sewage treatment plant has used the inventive method biochemical processing procedure of sewage has been carried out circuit controls, and stable effluent quality is up to standard, and simultaneity factor power consumption descends 10%.