CN102540897A - Method for carrying out composite predictive control on coagulant dosage of water treatment - Google Patents

Method for carrying out composite predictive control on coagulant dosage of water treatment Download PDF

Info

Publication number
CN102540897A
CN102540897A CN2012100668201A CN201210066820A CN102540897A CN 102540897 A CN102540897 A CN 102540897A CN 2012100668201 A CN2012100668201 A CN 2012100668201A CN 201210066820 A CN201210066820 A CN 201210066820A CN 102540897 A CN102540897 A CN 102540897A
Authority
CN
China
Prior art keywords
model
formula
control
turbidity
water treatment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2012100668201A
Other languages
Chinese (zh)
Inventor
齐维贵
王民栋
于德亮
王林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
HEILONGJIANG SHENGDA ENVIRONMENTAL PROTECTED CONSTRUCTION ENGINEERING CO LTD
Original Assignee
HEILONGJIANG SHENGDA ENVIRONMENTAL PROTECTED CONSTRUCTION ENGINEERING CO LTD
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by HEILONGJIANG SHENGDA ENVIRONMENTAL PROTECTED CONSTRUCTION ENGINEERING CO LTD filed Critical HEILONGJIANG SHENGDA ENVIRONMENTAL PROTECTED CONSTRUCTION ENGINEERING CO LTD
Priority to CN2012100668201A priority Critical patent/CN102540897A/en
Publication of CN102540897A publication Critical patent/CN102540897A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a method for carrying out composite predictive control on coagulant dosage of water treatment and relates to a method for controlling coagulant dosage of water treatment, and the method can be used for solving the problem of complex control over nonlinear uncertain objects during a coagulation process. The method comprises the following specific steps of: establishing a composite predictive control model; through detecting the turbidity of untreated water and the turbidity of effluent during the coagulation process of water treatment and combining an effluent quality set value, inputting the turbidity of untreated water, the turbidity of effluent and the effluent quality set value into the composite predictive control model so as to solve the real-time control quantity of coagulant dosage of water treatment, wherein in the establishment of the composite predictive control model, the coagulant dosage of water treatment in a water plant is controlled by utilizing composite predictive control method of simplified DMC (Dynamic Matrix Control) and untreated water quality disturbance feed-forward predictive control, and the turbidity of untreated water during feed-forward control can be predicted by utilizing a time sequence predication method based on AR (Auto Regression) predication. According to the invention, the control accuracy is improved by utilizing the combination of simplified DMC and feed-forward predictive control, and the problem that sampling usually has a certain time interval is solved by utilizing the time sequence predication method based on AR predication; and the method provided by the invention can be used for controlling the coagulant dosage of water treatment in the water plant.

Description

The compound forecast Control Algorithm of a kind of water treatment coagulation administration
Technical field
The compound forecast Control Algorithm of a kind of water treatment coagulation administration relates to water treatment coagulation administration control method field.
Background technology
Coagulation is the gordian technique in water factory's technology, directly influences water factory system quality, and the key factor that influences coagulation effect is the dosage of coagulant dose.Accurate control dispensing not only can guarantee effluent characteristics, and significant for reducing water producing cost.Dispensing control at present remains in following problem:
1,, domesticly mainly delivery turbidity is carried out indirect detection, though can reflect the variation of water turbidity fast based on instruments such as electric current apparatuss in the coagulation context of detection; But this instrument exists various water quality parameters and intersects; So poor anti jamming capability, process conditions require high, the adjustment trouble; Difficult in maintenance, this technical application is limited.
2, domestic employing closed loop PID control on control method because that the coagulation administration process has is non-linear, the time become, large time delay, the effect that PID control is difficult to obtain.
3, many research departments propose various Intelligent Control Strategy, and like fuzzy control, ANN Control etc., these control algolithms are in experimental study and emulation aspect, as yet through engineering approaches not.
For overcoming the above problems, be necessary to design a kind of water treatment coagulation administration forecast Control Algorithm, reach following purpose:
1, provides a kind of coagulation administration control engineering method of practicality.This method is used Prediction and Control Technology, solves the complicated problem of non-linear, the uncertain object of coagulation process, with feeding back the raising control accuracy that combines with feedforward.
Can forecast in the method that 2, its forecast is the result promptly use in the feedforward control in compound control to source quality, the scientific management that can be water factory again provides foundation.
3, this method can realize saving the medicine function under the prerequisite that guarantees stable effluent characteristics, thereby reduces the water producing cost of water factory.
Summary of the invention
The purpose of this invention is to provide the compound forecast Control Algorithm of a kind of water treatment coagulation administration, with the complicated problem of non-linear, the uncertain object that solves coagulation process; Because the source water quality sampling has certain time interval usually, cause occurring the problem that physically irrealizable advance item need be done forecast to source quality.
The present invention realizes through following step: utilize compound predictive control model; Through detecting the source water turbidity and the delivery turbidity of water treatment coagulation process; In conjunction with the effluent quality setting value; Import compound predictive control model and try to achieve the instant controlled quentity controlled variable of water treatment coagulation administration amount, the foundation of said compound predictive control model may further comprise the steps:
One, the coagulation process modeling utilizes the principle that the type signal response combines with least square; Set up coagulation process in disturb model and disturb model outward, in to disturb model be to be input quantity with the dosage, be output quantity with water treatment coagulation delivery turbidity; Disturbing model outward and be with the source water turbidity is input quantity; With water treatment coagulation delivery turbidity is output quantity, in to disturb model be that the design of feedback PREDICTIVE CONTROL is used, it is used for the control of design feed forward prediction to disturb model outward.The model of being set up is two inertia objects that hysteresis is arranged, and it is described in order to drag:
Formula one: G ( s ) = Ke - τ s ( T 1 s + 1 ) ( T 2 s + 1 )
Wherein K is a scale-up factor, and τ is the pure delay time, T 1And T 2Time constant for two inertia.K, τ, T 1, T 2Relation below available is tried to achieve:
Formula two: V=U θ+Ω
In the formula, V = C ( 1 ) C ( 2 ) . . . C ( m ) , U = 1 - 1 - A ( 1 ) - B ( 1 ) 2 - 1 - A ( 2 ) - B ( 2 ) . . . . . . . . . . . . m - 1 - A ( m ) - B ( m ) , θ = K Kτ T 1 T 2 T 1 + T 2 , Ω = Ω 1 Ω 2 . . . Ω m .
B, A, C are respectively step response; Step response difference and integration, θ are measured parameter, and Ω is a noise; Change the data of surveying the variation of water treatment coagulation delivery turbidity according to the dosage step; Change the data of surveying the variation of water treatment coagulation delivery turbidity according to source water turbidity step, according to the typical response and the aforesaid modeling method that record two groups of data
Ask model parameter with the least square formula:
Formula three: θ ^ = ( U T U ) - 1 U T V
Two, the model simplification of DMC is convenient to Project Realization in order to improve real-time, and basic DMC algorithm is simplified.Because coagulation process is the overdamping object, can use single order inferred-zero object approximate.
The model of uniting of setting up departments is G (z -1),
Formula four: G (z -1)=g 1z -1+ g 2z -2L+g nz -nL+g Nz -N
In the formula, g 1, g 2..., g n..., g NBe impulse response coefficient, for a stable process, the g in the formula four Nz -nLater on each item can be by exponential representation, so formula four can be reduced to formula five:
G ( z - 1 ) = g 1 z - 1 + g 2 z - 2 L g n - 1 z - ( n - 1 ) + g n z - n 1 - qz - 1
In the formula five,
Figure BDA0000143427880000028
A wherein N-1, a n, a NBe the step response parameter.
Basic DMC model is Y m(k+1)=A Δ U (k)+A 0U (k-1), wherein:
Formula six:
A 0 U ( k - 1 ) = g N z - ( N - 1 ) + g N - 1 z - ( N - 2 ) + . . . + g 3 z - 2 + a 2 z - 1 g N z - ( N - 2 ) + g N - 1 z - ( N - 3 ) + . . . + g 4 z - 3 + a 3 z - 1 . . . g N z - ( N - P ) + g N - 1 z - ( N - P + 1 ) + . . . + g P + 2 z - ( P + 1 ) + a P + 1 z - 1
Reduce to the n rank from the forecast model of formula five visible DMC by the N rank, control algolithm is simplified, real-time improves.So A in the basic DMC model 0U (k-1) is reduced to,
A 0 U ( k - 1 ) ≈ a 2 z - 1 + g 3 z - 2 + . . . + g n - 1 z - ( n - 2 ) + g n z - ( n - 1 ) 1 - qz - 1 a 3 z - 1 + g 4 z - 2 + . . . + g n - 1 z - ( n - 3 ) + g n z - ( n - 2 ) 1 - qz - 1 . . . a p + 1 z - 1 + g p + 2 z - 2 + . . . + g n - 1 z - ( n - p - 1 ) + g n z - ( n - p ) 1 - qz - 1 u ( k ) - - - ( 7 )
Three, DMC simplifies control A 0After U (k-1) simplified, the instant controlled quentity controlled variable u (k) of water treatment coagulation administration amount was a formula eight:
u ( k ) = 1 F ( z - 1 ) [ D r ( z - 1 ) ( y r ( k + p ) - d ( k ) g n z - ( n - p ) 1 - qz - 1 u ( k ) - h f e ( k ) ]
In the formula, F ( z - 1 ) = = 1 d ( k ) [ 1 + f 1 z - 1 + . . . + f n - P - 1 z - ( n - p - 1 ) + f n - p z - ( n - p ) + . . . + f n - 2 z - ( n - 2 ) ] ;
f 1 = Σ i = 1 P d 1 i a i + 1 - 1 ;
f k = Σ i = 1 P d 1 i g i + k , ( k = 2,3 , . . . , n - p - 1 ) ;
f k = Σ i = 1 n - k - 1 d 1 i g i + k , ( k = n - p , . . . , n - 2 ) ;
G m(z -1)=g 1z -1+ g 2z -2L g N-1z -(n-1), D r(z -1) be that parameter can be asked F (z in the control law -1) can ask for controller, d (k) is the source water turbidity, y r(k+p) set for water quality, y (k) is a water treatment coagulation delivery turbidity, and e (k) is the margin of error, h fBe the error weighting coefficient
Four, water quality disturbance feedforward PREDICTIVE CONTROL d (k) is source water turbidity disturbance, G 1(s) and G 2(s) be the inside and outside model of disturbing, feedforward controller G qControl is G as a result q(s) by principle of invariance,
Figure BDA0000143427880000037
Five, the compound PREDICTIVE CONTROL of dispensing process
The source water quality disturbance feedforward PREDICTIVE CONTROL that the DMC of step 3 is simplified control and step 4 combines and carries out compound control; Utilize source water quality disturbance feedforward PREDICTIVE CONTROL result that DMC is simplified control and carry out the source water quality disturbance compensation; Make the instant controlled quentity controlled variable u (k) of water treatment coagulation administration amount more accurate
U this moment (k) is a formula nine:
u ( k ) = 1 F ( z - 1 ) [ D r ( z - 1 ) ( y r ( k + P ) - d ( k ) g n z - ( n - P ) 1 - qz - 1 u ( k ) - h f e ( k ) ] + G q ( s )
F (z wherein -1), D r(z -1) be the controller parameter, can calculate y by model and control weight matrices r(k+p) be the effluent quality setting value, d (k) is the source water turbidity, and e (k) is the margin of error, h fBe error weighting coefficient, G q(s) be feedforward controller control result, y r(k+p) be the effluent quality setting value.
The present invention also provides another kind of technical scheme: in practice; Because the source water quality sampling has certain time interval usually; Cause occurring physically irrealizable advance item; Therefore need forecast that source water quality is mainly considered the variation of turbidity to the source water turbidity, the turbidity forecast is to utilize the past of source water turbidity parameter and real information to making prediction future.Consider that Project Realization adopts the time series method of prediction based on the AR model:
x n=φ 1x n-1+...+φ px n-pn
X in the formula nBe the turbidity sequence, φ is the AR model coefficient, and p is a model order, ε nBe noise.
P rank φ 1... φ pIndividual parameter can be used the recursive least-squares identification, can forecast so use the AR model
Figure BDA0000143427880000042
Sequence, k=1,2 ...
Step 4 can not realize that so can consider with this method d (k+m) to be predicted, with d^ (k+m), m>=1 replaces d (k+m), and d^ (k+m) is inputed to feedforward controller G if advance item physics occurs among the source water turbidity d (k) when concrete the realization q, obtain feedforward controller G qControl is G ' as a result q(s), utilize based on the time series of AR model and forecast that the source water quality disturbance feedforward PREDICTIVE CONTROL result who obtains simplifies control to DMC and carries out the source water quality disturbance compensation, obtain the instant controlled quentity controlled variable u (k) of more accurate water treatment coagulation administration amount:
Formula ten:
u ( k ) = 1 F ( z - 1 ) [ D r ( z - 1 ) ( y r ( k + P ) - d ( k ) g n z - ( n - P ) 1 - qz - 1 u ( k ) - h f e ( k ) ] + G ′ q ( s )
F (z wherein -1), D r(z -1) be the controller parameter, can calculate y by model and control weight matrices r(k+p) be the effluent quality setting value, d (k) is the source water turbidity, and e (k) is the margin of error, h fBe error weighting coefficient, G ' q(s) forecast the source water quality disturbance feedforward PREDICTIVE CONTROL result who obtains for feedforward controller based on the time series of AR model.
The beneficial effect of the invention:
1, conventional relatively dosage control method, this compound PREDICTIVE CONTROL precision improve since will feedover with feedback comprehensively, adopt PREDICTIVE CONTROL again; Adapt to dispensing process features of the object; Simultaneously main disturbance is compensated, make coagulation water delivering orifice water stabilization, dosage is also stable.
2, advanced relatively control method; This method real-time has improved owing to adopted the DMC algorithm of simplifying, and the order of controller reduces greatly, and the calculated amount in the control law reduces; Employing is based on the feedforward compensation control of AR; Realized because source water quality sampling has certain time interval usually, cause occurring physically can not realizing and produce the compensation of advance item, be easy to Project Realization and popularization.
3, reduce the dependence of checkout gear more thornyly to the detection of system water coagulation at present, some means all have shortcoming in various degree, use this control method and mainly detect turbidity, apply compound PREDICTIVE CONTROL based on the variation of turbidity.Therefore the pick-up unit that does not rely on some complicacies, is difficult to safeguard.
4, water stabilization reduces dosage this method and relies on compound PREDICTIVE CONTROL, guarantees that delivery turbidity is stable, and precision satisfies technological requirement.Because delivery turbidity is stable, the control corresponding amount is that dosage is stable, and its effect is both can save dose, can increase the life-span of chemicals feed pump again.
Description of drawings
Fig. 1 is the compound forecast Control Algorithm schematic diagram of this water treatment coagulation administration, and Fig. 2 is an IMC structural drawing of simplifying the DMC algorithm, and Fig. 3 is the feedforward control schematic diagram, and Fig. 4 is the IMC structural drawing of compound PREDICTIVE CONTROL
Fig. 5 is that the Simulation Control of embodiment is exported figure as a result
Fig. 6 is the Simulation Control input results figure of embodiment
Embodiment
Specify embodiment of the present invention below in conjunction with Fig. 1 to Fig. 4.
Embodiment one:
As shown in Figure 1; Utilize compound predictive control model; Through detecting the source water turbidity and the delivery turbidity of water treatment coagulation process; In conjunction with the effluent quality setting value, import the instant controlled quentity controlled variable that compound predictive control model is tried to achieve water treatment coagulation administration amount, the foundation of said compound predictive control model may further comprise the steps:
One, the coagulation process modeling utilizes the principle that the type signal response combines with least square; Set up coagulation process in disturb model and disturb model outward, in to disturb model be to be input quantity with the dosage, be output quantity with water treatment coagulation delivery turbidity; Disturbing model outward and be with the source water turbidity is input quantity; With water treatment coagulation delivery turbidity is output quantity, in to disturb model be that the design of feedback PREDICTIVE CONTROL is used, it is used for the control of design feed forward prediction to disturb model outward.The model of being set up is two inertia objects that hysteresis is arranged, and it is described in order to drag:
Formula one: G ( s ) = Ke - τ s ( T 1 s + 1 ) ( T 2 s + 1 )
Wherein K is a scale-up factor, and τ is the pure delay time, T 1And T 2Time constant for two inertia.K, τ, T 1, T 2Relation below available is tried to achieve:
Formula two: V=U θ+Ω
In the formula, V = C ( 1 ) C ( 2 ) . . . C ( m ) , U = 1 - 1 - A ( 1 ) - B ( 1 ) 2 - 1 - A ( 2 ) - B ( 2 ) . . . . . . . . . . . . m - 1 - A ( m ) - B ( m ) , θ = K Kτ T 1 T 2 T 1 + T 2 , Ω = Ω 1 Ω 2 . . . Ω m .
B, A, C are respectively step response; Step response difference and integration, θ are measured parameter, and Ω is a noise; Change the data of surveying the variation of water treatment coagulation delivery turbidity according to the dosage step; Change the data of surveying the variation of water treatment coagulation delivery turbidity according to source water turbidity step, according to the typical response and the aforesaid modeling method that record two groups of data
Ask model parameter with the least square formula:
Formula three: θ ^ = ( U T U ) - 1 U T V
Two, the model simplification of DMC is convenient to Project Realization in order to improve real-time, and basic DMC algorithm is simplified.Because coagulation process is the overdamping object, can use single order inferred-zero object approximate.
The model of uniting of setting up departments is G (z -1),
Formula four: G (z -1)=g 1z -1+ g 2z -2L+g nz -nL+g Nz -N
In the formula, g 1, g 2..., g n..., g NBe impulse response coefficient, for a stable process, the g in the formula four Nz -nLater on each item can be by exponential representation, so formula four can be reduced to formula five:
G ( z - 1 ) = g 1 z - 1 + g 2 z - 2 L g n - 1 z - ( n - 1 ) + g n z - n 1 - qz - 1
In the formula five,
Figure BDA0000143427880000067
A wherein N-1, a n, a NBe the step response parameter.
Basic DMC model is Y m(k+1)=A Δ U (k)+A 0U (k-1), wherein:
Formula six:
A 0 U ( k - 1 ) = g N z - ( N - 1 ) + g N - 1 z - ( N - 2 ) + . . . + g 3 z - 2 + a 2 z - 1 g N z - ( N - 2 ) + g N - 1 z - ( N - 3 ) + . . . + g 4 z - 3 + a 3 z - 1 . . . g N z - ( N - P ) + g N - 1 z - ( N - P + 1 ) + . . . + g P + 2 z - ( P + 1 ) + a P + 1 z - 1
Reduce to the n rank from the forecast model of formula five visible DMC by the N rank, control algolithm is simplified, real-time improves.So A in the basic DMC model 0U (k-1) is reduced to,
A 0 U ( k - 1 ) ≈ a 2 z - 1 + g 3 z - 2 + . . . + g n - 1 z - ( n - 2 ) + g n z - ( n - 1 ) 1 - qz - 1 a 3 z - 1 + g 4 z - 2 + . . . + g n - 1 z - ( n - 3 ) + g n z - ( n - 2 ) 1 - qz - 1 . . . a p + 1 z - 1 + g p + 2 z - 2 + . . . + g n - 1 z - ( n - p - 1 ) + g n z - ( n - p ) 1 - qz - 1 u ( k ) - - - ( 7 )
Three, DMC simplifies control A 0After U (k-1) simplified, the simplification of DMC control was as shown in Figure 2:
Among the figure, G m(z -1)=g 1z -1+ g 2z -2L g N-1z -(n-1), D r(z -1) be that parameter can be asked F (z in the control law -1) can ask for controller, d (k) is the source water turbidity, y r(k+p) set for water quality, y (k) is a water treatment coagulation delivery turbidity, and e (k) is the margin of error, h fBe the error weighting coefficient, the water treatment coagulation administration amount among the figure the time controlled quentity controlled variable u (k) be formula eight:
u ( k ) = 1 F ( z - 1 ) [ D r ( z - 1 ) ( y r ( k + p ) - d ( k ) g n z - ( n - p ) 1 - qz - 1 u ( k ) - h f e ( k ) ]
In the formula, F ( z - 1 ) = = 1 d ( k ) [ 1 + f 1 z - 1 + . . . + f n - P - 1 z - ( n - p - 1 ) + f n - p z - ( n - p ) + . . . + f n - 2 z - ( n - 2 ) ] ;
f 1 = Σ i = 1 P d 1 i a i + 1 - 1 ;
f k = Σ i = 1 P d 1 i g i + k , ( k = 2,3 , . . . , n - p - 1 ) ;
f k = Σ i = 1 n - k - 1 d 1 i g i + k , ( k = n - p , . . . , n - 2 ) .
Four, water quality disturbance feedforward PREDICTIVE CONTROL is as shown in Figure 3:
Source d (k) is source water turbidity disturbance among the figure, G 1(s) and G 2(s) be the inside and outside model of disturbing, as previously mentioned.Feedforward controller G qControl is G as a result q(s) by principle of invariance,
Five, the compound PREDICTIVE CONTROL of dispensing process
As shown in Figure 4; The source water quality disturbance feedforward PREDICTIVE CONTROL that the DMC of step 3 is simplified control and step 4 combines and carries out compound control; Utilize source water quality disturbance feedforward PREDICTIVE CONTROL result that DMC is simplified control and carry out the source water quality disturbance compensation; Make the instant controlled quentity controlled variable u (k) of water treatment coagulation administration amount more accurate
U this moment (k) is a formula nine:
u ( k ) = 1 F ( z - 1 ) [ D r ( z - 1 ) ( y r ( k + P ) - d ( k ) g n z - ( n - P ) 1 - qz - 1 u ( k ) - h f e ( k ) ] + G q ( s )
F (z wherein -1), D r(z -1) be the controller parameter, can calculate y by model and control weight matrices r(k+p) be the effluent quality setting value, d (k) is the source water turbidity, and e (k) is the margin of error, h fBe error weighting coefficient, G qBe feedforward controller control result.
As shown in Figure 4: G among the figure cBe feedback forecasting controller, G gBe the feed forward prediction controller, f (k) is the turbidity disturbance, y r(k+p) be the effluent quality setting value, G 1Be the interior model of disturbing, the forecast model of G for simplifying, G 2For disturbing model outward.
Embodiment two: this embodiment is the improved procedure on embodiment one basis; In practice; Because the source water quality sampling has certain time interval usually, cause occurring physically irrealizable advance item, therefore need forecast the source water turbidity; Source water quality is mainly considered the variation of turbidity, and the turbidity forecast is to utilize the past of source water turbidity parameter and real information to making prediction future.Consider that Project Realization adopts the time series method of prediction based on the AR model:
x n=φ 1x n-1+...+φ px n-pn
X in the formula nBe the turbidity sequence, φ is the AR model coefficient, and p is a model order, ε nBe noise.
P rank φ 1... φ pIndividual parameter can be used the recursive least-squares identification, can forecast so use the AR model
Figure BDA0000143427880000081
Sequence, k=1,2 ...
Step 4 can not realize that so can consider with this method d (k+m) to be predicted, with d^ (k+m), m>=1 replaces d (k+m), and d^ (k+m) is inputed to feedforward controller G if advance item physics occurs among the source water turbidity d (k) in the embodiment one when concrete the realization q, obtain feedforward controller G qControl is G ' as a result q(s), utilize based on the time series of AR model and forecast that the source water quality disturbance feedforward PREDICTIVE CONTROL result who obtains simplifies control to DMC and carries out the source water quality disturbance compensation, obtain the instant controlled quentity controlled variable u (k) of more accurate water treatment coagulation administration amount:
Formula ten:
u ( k ) = 1 F ( z - 1 ) [ D r ( z - 1 ) ( y r ( k + P ) - d ( k ) g n z - ( n - P ) 1 - qz - 1 u ( k ) - h f e ( k ) ] + G ′ q ( s )
F (z wherein -1), D r(z -1) be the controller parameter, can calculate y by model and control weight matrices r(k+p) be the effluent quality setting value, d (k) is the source water turbidity, and e (k) is the margin of error, h fBe error weighting coefficient, G ' q(s) forecast the source water quality disturbance feedforward PREDICTIVE CONTROL result who obtains for feedforward controller based on the time series of AR model.
Embodiment three:
On certain water factory's simulation coagulation administration device, to use compound PREDICTIVE CONTROL is example, provides implementation.
1, surveys the step response curve modeling
With the dosage step change measure that water turbidity changes like table 1:
The table 1 dose experiment measured value of ascending to heaven
With source water turbidity step change measure that water turbidity changes like table 2:
The table 2 turbidity experiment measured value of ascending to heaven
According to table 1 and table 2 typical response and aforesaid modeling method, disturb model in obtaining: G 1 ( s ) = - 1.04 ( 11.44 s + 1 ) ( 1.08 s + 1 ) e - 4 s , Disturb model outward: G 2 ( s ) = 1.05 ( 9.03 s + 1 ) ( 0.50 s + 1 ) e - 2 s , From G 1(s) and G 2(s) the visible overdamping object that is.
2, source quality forecast
Use the AR model description to do to the source quality sequence
x(k)=φ 1x(k-1)+φ 2x(k-2)+φ 3x(k-3)+ε(k)
P=3 in the model wherein, i.e. three rank, φ 1=0.71, φ 2=0.15, φ 3=-0.13, ignore noise ε nSo forecasting model does
Figure BDA0000143427880000101
3, DMC model simplification
To a in the formula four 1, a 2A P+1, g 3, g 4G N-1, g nUtilize table 1, can provide corresponding value.And n=8, p=6 is with in the concrete outcome substitution control corresponding framework.
4, DMC simplifies control
Will
Figure BDA0000143427880000102
With
Figure BDA0000143427880000103
In the block diagram that substitution realizes, calculate F (z -1), D r(z -1), h fThereby can provide the instant control u (k) that simplifies DMC
u ( k ) = 1 F ( z - 1 ) [ D r ( z - 1 ) ( y r ( k + p ) - d ( k ) g n z - ( n - P ) 1 - qz - 1 u ( k ) ) - h f e ( k ) ]
5, source water quality disturbance feedforward PREDICTIVE CONTROL
Because
Figure BDA0000143427880000105
With G 1(s) and G 2(s) after the substitution,
G q ( s ) = 13.01 s 2 + 13.16 s + 1.05 4.696 s 2 + 9.911 s + 1.04 e 2 s
With G q(s) after the discretize, the sampling time is 2min, and then outer to have disturbed a step leading in feedforward, and m gets 1, substitution AR forecasting model then, and d^ (k+1)=0.71d^ (k)+0.15d^ (k-1)-0.13d^ (k-2) inputs to feedforward controller with d^ (k+m) replacement d (k+m).
6, compound PREDICTIVE CONTROL realizes
Through the source water turbidity and the delivery turbidity of actual detected water treatment coagulation process, in conjunction with the effluent quality setting value, the input controlling models is tried to achieve the instant controlled quentity controlled variable of water treatment coagulation administration amount; Realize compound PREDICTIVE CONTROL and do corresponding emulation, its simulation result such as Fig. 5, Fig. 6, PID represents the closed loop PID method of prior art among Fig. 5, Fig. 6; Simplify DMC and represent compound forecast Control Algorithm of the present invention; Can find out that by Fig. 5 under the environment that the turbidity disturbance is arranged, compound Predictive Control System output has certain fluctuation in the starting stage. compare with PID; Simplify DMC and can reach balance at short notice; Overshoot is very little, and robustness is good, and system has good performance for tracking.Prove that this compound forecast Control Algorithm is suitable for the coagulation administration process.Can find out by Fig. 6, when coagulation process arrives identical delivery turbidity, adopt the dosage of simplifying the DMC method, than adopting the PID method that tangible minimizing is arranged.

Claims (2)

1. compound forecast Control Algorithm of water treatment coagulation administration; It is characterized in that the compound forecast Control Algorithm of said water treatment coagulation administration is to utilize compound predictive control model; Through detecting the source water turbidity and the delivery turbidity of water treatment coagulation process; In conjunction with the effluent quality setting value, import the instant controlled quentity controlled variable that compound predictive control model is tried to achieve water treatment coagulation administration amount, said compound predictive control model is set up through following steps:
One, the coagulation process modeling utilizes the principle that the type signal response combines with least square; Set up coagulation process in disturb model and disturb model outward, in to disturb model be to be input quantity with the dosage, be output quantity with water treatment coagulation delivery turbidity; Disturbing model outward and be with the source water turbidity is input quantity; With water treatment coagulation delivery turbidity is output quantity, in to disturb model be that the design of feedback PREDICTIVE CONTROL is used, it is used for the control of design feed forward prediction to disturb model outward.The model of being set up is two inertia objects that hysteresis is arranged, and it is described in order to drag:
Formula one: G ( s ) = Ke - τ s ( T 1 s + 1 ) ( T 2 s + 1 )
Wherein K is a scale-up factor, and τ is the pure delay time, T 1And T 2Be the time constant of two inertia, K, τ, T 1, T 2Relation below available is tried to achieve:
Formula two: V=U θ+Ω
In the formula, V = C ( 1 ) C ( 2 ) . . . C ( m ) , U = 1 - 1 - A ( 1 ) - B ( 1 ) 2 - 1 - A ( 2 ) - B ( 2 ) . . . . . . . . . . . . m - 1 - A ( m ) - B ( m ) , θ = K Kτ T 1 T 2 T 1 + T 2 , Ω = Ω 1 Ω 2 . . . Ω m
B, A and C are respectively step response, step response difference and step response integration in the formula; θ is a measured parameter, and Ω is a noise, through the experiment of ascending to heaven; Change the data of surveying the variation of water treatment coagulation delivery turbidity according to the dosage step; Change the data of surveying the variation of water treatment coagulation delivery turbidity according to source water turbidity step, according to the typical response and the aforesaid modeling method that record two groups of data
Ask model parameter with the least square formula:
Formula three: θ ^ = ( U T U ) - 1 U T V
Two, the DMC model simplification can use single order inferred-zero object approximate because coagulation process is the overdamping object,
The model of uniting of setting up departments is G (z -1),
Formula four: G (z -1)=g 1z -1+ g 2z -2L+g nz -nL+g Nz -N
Wherein, g 1, g 2..., g n..., g NBe impulse response coefficient, for a stable process, the g in the formula four Nz -nLater on each item can be by exponential representation, so formula four can be reduced to formula five:
G ( z - 1 ) = g 1 z - 1 + g 2 z - 2 L g n - 1 z - ( n - 1 ) + g n z - n 1 - qz - 1
Wherein,
Figure FDA0000143427870000022
A wherein N-1, a n, a NBe the step response parameter.
Basic DMC model is Y m(k+1)=A Δ U (k)+A 0U (k-1), wherein:
Formula six:
A 0 U ( k - 1 ) = g N z - ( N - 1 ) + g N - 1 z - ( N - 2 ) + . . . + g 3 z - 2 + a 2 z - 1 g N z - ( N - 2 ) + g N - 1 z - ( N - 3 ) + . . . + g 4 z - 3 + a 3 z - 1 . . . g N z - ( N - P ) + g N - 1 z - ( N - P + 1 ) + . . . + g P + 2 z - ( P + 1 ) + a P + 1 z - 1
Forecast model by formula five visible DMC is reduced to the n rank by the N rank, and basic DMC model is simplified, and formula six is reduced to formula seven:
A 0 U ( k - 1 ) ≈ a 2 z - 1 + g 3 z - 2 + . . . + g n - 1 z - ( n - 2 ) + g n z - ( n - 1 ) 1 - qz - 1 a 3 z - 1 + g 4 z - 2 + . . . + g n - 1 z - ( n - 3 ) + g n z - ( n - 2 ) 1 - qz - 1 . . . a p + 1 z - 1 + g p + 2 z - 2 + . . . + g n - 1 z - ( n - p - 1 ) + g n z - ( n - p ) 1 - qz - 1 u ( k )
Three, DMC simplifies the A after the simplification that control obtains with step 2 0U (k-1) realizes the simplification control of DMC, and the instant controlled quentity controlled variable u (k) of water treatment coagulation administration amount is a formula eight:
u ( k ) = 1 F ( z - 1 ) [ D r ( z - 1 ) ( y r ( k + p ) - d ( k ) g n z - ( n - p ) 1 - qz - 1 u ( k ) - h f e ( k ) ]
In the formula, F ( z - 1 ) = = 1 d ( k ) [ 1 + f 1 z - 1 + . . . + f n - p - 1 z - ( n - p - 1 ) + f n - p z - ( n - p ) + . . . + f n - 2 z - ( n - 2 ) ] ;
f 1 = Σ i = 1 p d 1 i a i + 1 - 1 ;
f k = Σ i = 1 P d 1 i g i + k , ( k = 2,3 , . . . , n - p - 1 ) ;
f k = Σ i = 1 n - k - 1 d 1 i g i + k , ( k = n - p , . . . , n - 2 ) ;
F (z wherein -1), D r(z -1) be the controller parameter, can calculate y by model and control weight matrices r(k+p) be the effluent quality setting value, d (k) is the source water turbidity, and e (k) is the margin of error, h fBe the error weighting coefficient, f (k) is the disturbance of turbidity sequence, and p is a model order;
Four, source water quality disturbance feedforward PREDICTIVE CONTROL is for source water turbidity d (k) disturbance, feedforward controller G qControl is G as a result q(s) by principle of invariance, relation below existing:
Figure FDA0000143427870000031
G in the formula 1(s), G 2(s) disturb model in described, disturb model outward for step 1;
Five, the compound predictive control model of dispensing process is set up source water quality disturbance feedforward PREDICTIVE CONTROL that DMC with step 3 simplifies control and step 4 and is combined and carry out compound control; Utilize source water quality disturbance feedforward PREDICTIVE CONTROL result that DMC is simplified control and carry out the source water quality disturbance compensation, obtain the instant controlled quentity controlled variable u (k) of more accurate water treatment coagulation administration amount:
Formula nine:
u ( k ) = 1 F ( z - 1 ) [ D r ( z - 1 ) ( y r ( k + P ) - d ( k ) g n z - ( n - P ) 1 - qz - 1 u ( k ) - h f e ( k ) ] + G q ( s )
F (z wherein -1), D r(z -1) be the controller parameter, can calculate y by model and control weight matrices r(k+p) be the effluent quality setting value, d (k) is the source water turbidity, and e (k) is the margin of error, h fBe error weighting coefficient, G q(s) be feedforward controller control result.
2. compound forecast Control Algorithm of water treatment coagulation administration; It is characterized in that the compound forecast Control Algorithm of said water treatment coagulation administration is to utilize compound predictive control model; Through detecting the source water turbidity and the delivery turbidity of water treatment coagulation process; In conjunction with the effluent quality setting value, import the instant controlled quentity controlled variable that compound predictive control model is tried to achieve water treatment coagulation administration amount, said compound predictive control model is set up through following steps:
One, the coagulation process modeling utilizes the principle that the type signal response combines with least square; Set up coagulation process in disturb model and disturb model outward, in to disturb model be to be input quantity with the dosage, be output quantity with water treatment coagulation delivery turbidity; Disturbing model outward and be with the source water turbidity is input quantity; With water treatment coagulation delivery turbidity is output quantity, in to disturb model be that the design of feedback PREDICTIVE CONTROL is used, it is used for the control of design feed forward prediction to disturb model outward.The model of being set up is two inertia objects that hysteresis is arranged, and it is described in order to drag:
Formula one: G ( s ) = Ke - τ s ( T 1 s + 1 ) ( T 2 s + 1 )
Wherein K is a scale-up factor, and τ is the pure delay time, T 1And T 2Be the time constant of two inertia, K, τ, T 1, T 2Relation below available is tried to achieve:
Formula two: V=U θ+Ω
In the formula, V = C ( 1 ) C ( 2 ) . . . C ( m ) , U = 1 - 1 - A ( 1 ) - B ( 1 ) 2 - 1 - A ( 2 ) - B ( 2 ) . . . . . . . . . . . . m - 1 - A ( m ) - B ( m ) , θ = K Kτ T 1 T 2 T 1 + T 2 , Ω = Ω 1 Ω 2 . . . Ω m
B, A, C are respectively step response in the formula, and step response difference and integration, θ are measured parameter; Ω is a noise; Through the experiment of ascending to heaven, change the data of surveying the variation of water treatment coagulation delivery turbidity according to the dosage step, change according to source water turbidity step and survey the data that water treatment coagulation delivery turbidity changes; According to the typical response and the aforesaid modeling method that record two groups of data
Ask model parameter with the least square formula:
Formula three: θ ^ = ( U T U ) - 1 U T V
Two, the DMC model simplification can use single order inferred-zero object approximate because coagulation process is the overdamping object,
The model of uniting of setting up departments is G (z -1),
Formula four: G (z -1)=g 1z -1+ g 2z -2L+g nz -nL+g Nz -N
Wherein, g 1, g 2..., g n..., g NBe impulse response coefficient, for a stable process, the g in the formula four Nz -nLater on each item can be by exponential representation, so formula four can be reduced to formula five:
G ( z - 1 ) = g 1 z - 1 + g 2 z - 2 L g n - 1 z - ( n - 1 ) + g n z - n 1 - qz - 1
Wherein,
Figure FDA0000143427870000047
A wherein N-1, a n, a NBe the step response parameter.
Basic DMC model is Y m(k+1)=A Δ U (k)+A 0U (k-1), wherein:
Formula six:
A 0 U ( k - 1 ) = g N z - ( N - 1 ) + g N - 1 z - ( N - 2 ) + . . . + g 3 z - 2 + a 2 z - 1 g N z - ( N - 2 ) + g N - 1 z - ( N - 3 ) + . . . + g 4 z - 3 + a 3 z - 1 . . . g N z - ( N - P ) + g N - 1 z - ( N - P + 1 ) + . . . + g P + 2 z - ( P + 1 ) + a P + 1 z - 1
Forecast model by formula five visible DMC is reduced to the n rank by the N rank, and basic DMC model is simplified, and formula six is reduced to formula seven:
A 0 U ( k - 1 ) ≈ a 2 z - 1 + g 3 z - 2 + . . . + g n - 1 z - ( n - 2 ) + g n z - ( n - 1 ) 1 - qz - 1 a 3 z - 1 + g 4 z - 2 + . . . + g n - 1 z - ( n - 3 ) + g n z - ( n - 2 ) 1 - qz - 1 . . . a p + 1 z - 1 + g p + 2 z - 2 + . . . + g n - 1 z - ( n - p - 1 ) + g n z - ( n - p ) 1 - qz - 1 u ( k )
Three, DMC simplifies the A after the simplification that control obtains with step 2 0U (k-1) realizes the simplification control of DMC, and the instant controlled quentity controlled variable u (k) of water treatment coagulation administration amount is a formula eight:
u ( k ) = 1 F ( z - 1 ) [ D r ( z - 1 ) ( y r ( k + p ) - d ( k ) g n z - ( n - p ) 1 - qz - 1 u ( k ) - h f e ( k ) ]
In the formula, F ( z - 1 ) = = 1 d ( k ) [ 1 + f 1 z - 1 + . . . + f n - p - 1 z - ( n - p - 1 ) + f n - p z - ( n - p ) + . . . + f n - 2 z - ( n - 2 ) ] ;
f 1 = Σ i = 1 p d 1 i a i + 1 - 1 ;
f k = Σ i = 1 P d 1 i g i + k , ( k = 2,3 , . . . , n - p - 1 ) ;
f k = Σ i = 1 n - k - 1 d 1 i g i + k , ( k = n - p , . . . , n - 2 ) ;
F (z wherein -1), D r(z -1) be the controller parameter, can calculate y by model and control weight matrices r(k+p) be the effluent quality setting value, d (k) is the source water turbidity, and e (k) is the margin of error, h fBe the error weighting coefficient, f (k) is the disturbance of turbidity sequence, and p is a model order;
Four, source water quality disturbance feedforward PREDICTIVE CONTROL is for source water turbidity d (k) disturbance, feedforward controller G qControl is G as a result q(s) by principle of invariance, relation below existing:
Figure FDA0000143427870000057
G in the formula 1(s), G 2(s) disturb model in described, disturb model outward for step 1;
Use based on the time series method of prediction of AR model and source water turbidity d (k) advance item predicted with d^ (k+m), m >=1 replaces d (k+m), adopt time series method of prediction to be based on the AR model:
x n=φ 1x n-1+...+φ px n-pn
X in the formula nBe source water turbidity sequence, φ is the AR model coefficient, and p is a model order, ε nBe noise, p rank φ 1... φ pIndividual parameter can be used the recursive least-squares identification, can forecast in the time series method of prediction that is based on the AR model
Figure FDA0000143427870000058
Sequence, k=1,2,
Calculate d^ (k+m) according to described time series method of prediction, d^ (k+m) is inputed to feedforward controller G based on the AR model q, obtain feedforward controller G qControl is G ' as a result q(s);
Five, the compound predictive control model of dispensing process is set up source water quality disturbance feedforward PREDICTIVE CONTROL that DMC with step 3 simplifies control and step 4 and is combined and carry out compound control; Utilization forecasts that based on the time series of AR model the source water quality disturbance feedforward PREDICTIVE CONTROL result who obtains simplifies control to DMC and carries out the source water quality disturbance compensation, obtains the instant controlled quentity controlled variable u (k) of more accurate water treatment coagulation administration amount:
Formula ten:
u ( k ) = 1 F ( z - 1 ) [ D r ( z - 1 ) ( y r ( k + P ) - d ( k ) g n z - ( n - P ) 1 - qz - 1 u ( k ) - h f e ( k ) ] + G ′ q ( s )
F (z wherein -1), D r(z -1) be the controller parameter, can calculate y by model and control weight matrices r(k+p) be the effluent quality setting value, d (k) is the source water turbidity, and e (k) is the margin of error, h fBe error weighting coefficient, G ' q(s) forecast the source water quality disturbance feedforward PREDICTIVE CONTROL result who obtains for feedforward controller based on the time series of AR model.
CN2012100668201A 2012-03-14 2012-03-14 Method for carrying out composite predictive control on coagulant dosage of water treatment Pending CN102540897A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012100668201A CN102540897A (en) 2012-03-14 2012-03-14 Method for carrying out composite predictive control on coagulant dosage of water treatment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012100668201A CN102540897A (en) 2012-03-14 2012-03-14 Method for carrying out composite predictive control on coagulant dosage of water treatment

Publications (1)

Publication Number Publication Date
CN102540897A true CN102540897A (en) 2012-07-04

Family

ID=46347995

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012100668201A Pending CN102540897A (en) 2012-03-14 2012-03-14 Method for carrying out composite predictive control on coagulant dosage of water treatment

Country Status (1)

Country Link
CN (1) CN102540897A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105388764A (en) * 2015-12-15 2016-03-09 重庆科技学院 Electro-hydraulic servo PID control method and system based on dynamic matrix feed-forward prediction
CN110092507A (en) * 2019-05-30 2019-08-06 中国水利水电科学研究院 A kind of method and device of Industrial Wastewater Treatment
CN110426957A (en) * 2019-07-31 2019-11-08 深圳信息职业技术学院 A kind of Coagulant Feed in Waterworks system self-adaption sliding-mode control based on time delay observer
CN110865171A (en) * 2019-11-14 2020-03-06 北京龙德时代技术服务有限公司 Blasting safety analysis method and system based on digital noise detection
CN111783290A (en) * 2020-06-19 2020-10-16 浙江大学 Seawater coagulation modeling method based on input structure optimization and sequence coding and decoding network

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105388764A (en) * 2015-12-15 2016-03-09 重庆科技学院 Electro-hydraulic servo PID control method and system based on dynamic matrix feed-forward prediction
CN110092507A (en) * 2019-05-30 2019-08-06 中国水利水电科学研究院 A kind of method and device of Industrial Wastewater Treatment
CN110426957A (en) * 2019-07-31 2019-11-08 深圳信息职业技术学院 A kind of Coagulant Feed in Waterworks system self-adaption sliding-mode control based on time delay observer
CN110426957B (en) * 2019-07-31 2020-03-13 深圳信息职业技术学院 Water plant dosing system self-adaptive sliding mode control method based on time delay observer
CN110865171A (en) * 2019-11-14 2020-03-06 北京龙德时代技术服务有限公司 Blasting safety analysis method and system based on digital noise detection
CN110865171B (en) * 2019-11-14 2022-04-19 北京龙德时代技术服务有限公司 Blasting safety analysis method and system based on digital noise detection
CN111783290A (en) * 2020-06-19 2020-10-16 浙江大学 Seawater coagulation modeling method based on input structure optimization and sequence coding and decoding network

Similar Documents

Publication Publication Date Title
CN102540897A (en) Method for carrying out composite predictive control on coagulant dosage of water treatment
Liu et al. Robust multi-objective optimal switching control arising in 1, 3-propanediol microbial fed-batch process
Chang PID control for chaotic synchronization using particle swarm optimization
Fatemi et al. Cognitive control: Theory and application
CN106200379B (en) A kind of distributed dynamic matrix majorization method of Nonself-regulating plant
CN109557810A (en) A kind of temperature control method for heating furnace based on Novel two-freedom-degree Internal Model PID
Wang et al. A novel triggering condition of event‐triggered control based on heuristic dynamic programming for discrete‐time systems
CN110501909A (en) The Fuzzy Predictive Control method of enhancing robust property based on disturbance observer
Chen et al. Input‐to‐state stability of min‐max MPC scheme for nonlinear time‐varying delay systems
Gouta et al. Predictive and backstepping control of double tank process: A comparative study
CN105676645A (en) Double-loop water tank liquid level prediction control method based on function type weight RBF-ARX model
CN103955136A (en) Electromagnetic drive positioning control method and application of the same
CN106873658A (en) The prediction output two freedom mechanisms method of large dead time chemical process
Guan et al. Steering controller design for smart autonomous surface vessel based on CSF L2 gain robust strategy
Naz et al. PID Tuning with reference tracking and plant uncertainty along with disturbance rejection
Yu et al. Traffic prediction method based on RBF neural network with improved artificial bee colony algorithm
Hu et al. Application of Expert Adjustable Fuzzy Control Algorithm in Temperature Control System of Injection Machines
Wang et al. Fuzzy predictive functional control of a class of non‐linear systems
Shen et al. Constrained control for cloud robotic under time delay based on command governor with interval estimation
CN104238359A (en) Control method of large electromechanical mixed inertia system
Wang et al. Neural network based central heating system load prediction and constrained control
Rao et al. Optimal control of nonlinear system based on deterministic policy gradient with eligibility traces
Zhao et al. Finite-time adaptive fuzzy DSC for uncertain switched systems
Li et al. The wire beltline diameter ACO-KF-PID contro research
CN109870986A (en) A kind of stirred autoclave On-Line Control Method based on neural network and data-driven

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120704