Professional Documents
Culture Documents
An Adaptive Internal Model Control Strategy For PH Neutralization
An Adaptive Internal Model Control Strategy For PH Neutralization
Abstract--An adaptive internal model control strategy that is capable of providing effective and
robust control for pH neutralization has been developed. The approach is based on combining
the concepts of non-linear internal model control, strong acid equivalent (Wright and Kravaris,
1991, Ind. Enyn9 Chem. Res. 30, 1561 1572) and a simplified adaptive mechanism (Huberman
and Lumer, 1990, I E E E Trans. Circuits Systems 37, 547-549). The resulting control system is
extensively tested via simulation for acid-base neutralization. The results show the excellent
capabilities of the proposed method for disturbance rejection, servo control and tolerance to
model uncertainty. ~ 1997 Elsevier Science Ltd
Clm
~Yset
[Adapter Y~P
Yset + J Yp
/--'1 C°n'r°"er! Fi Process
1
(a)
Yset Yp
• ©---.ico°,,o..e, i L~ Process]
i
Model ] Ym_~;
(b)
I pHset
Clm I Adapter~
CHset+< F2° " I Process Clip
1.--.I ]
I Model OHm
(c)
Fig. 2. Block diagrams for (a) adaptive internal model control, (b) strong acid equivalent based internal
model control, and (c) robust non-linear control law.
where E, and E,_ 1 are the current and the previous controller equations. However, as will be seen, the
values of the error and T is the sampling period. As proposed strategy is robust enough to allow the equa-
the output values from the process and the model are tions derived for a strong acid strong base system to
in terms of Y, for strong acid-strong base, the corres- be used for weak or unknown mixture of acids enter-
ponding pH is calculated from ing the CSTR. This is because the adaptation loop
introduced in the system modifies the inputs to and
pH = - log,o{EY + x / ( Y z + (4Kw))]/2}. (14) consequently the outputs from the model and control-
ler equations on-line accordingly. This is one of the
The above derivations of process, model and con- major advantages of the present strategy as its ap-
troller equations are valid for strong acid and strong plication does not require solving various specific
base systems only. In case of other unknown chemical model equations.
species, say a weak acid, entering the system the As strong acid-strong base systems are sensitive to
dynamics governing the process would change. Deri- minor variation in the operating parameters in the pH
vation of dynamic equations for weak acid and strong region of 6-8, to achieve better performance, the con-
base (acetic acid - sodium hydroxide system) is avail- troller and model equations may have to be altered
able in the literature (McAvoy et al., 1972) and it may suitably to compensate for disturbances affecting the
be extended for mixture of acids. In general this might process. This is achieved by adapting that parameter
call for a change in the model and the corresponding in the process dynamics which well represents the
3070 N.R. Lakshmi Narayanan et al.
disturbances that occur in the system. In the dynamic where e is the difference between the desired set point
model of the process [eq. (9)] there are seven para- and the current process output and e, is the tuning
meters F~, F2, C1, C2, V, X] and X2, The flows F~ and parameter. This differential equation is approximated
F2 are measurable, base concentration C2 and reactor by Euler's method with step size equal to sampling
volume V are known and the total anion and cation period as
concentrations Xt and X2 are dependant variables. fire,n+ 1 -- Clm, n
- ~e (16)
The feed concentration C1 is the only parameter that T
is generally unknown and can be used as an adapta-
tion parameter. Shukla et al. (1993) and Wong et al. where T is the sampling period. As e in the case of
(1994) have used adaptation based on acid concentra- AIMC strategy [Fig. 2(a)] is (Yse,- Y), eq. (16) be-
tion in their pH control study. The adapted feed comes
11
14
AIMC lO
12 m--RNCL
9
/"\
?
10 8
Z
Q.
-I-
Q.
7
II o
o
a.
II O.
6
III I
II/ / 5
i ~ /
4
4
3
2 o 1000 2000 3000 4000 5000 6000
lOO 200 3oo 400 500 600 1000 2000 3000 4000 5000 6000
Fig. 3. AIMC and RNCL performance for 50% disturbance Fig. 4. NIMC performance for 50% disturbance in inlet
in inlet acid concentration. acid concentration.
An adaptive internal model control strategy 3071
SIMULATION acid to a weak acid, and (iii) switching the feed from
To simulate the proposed A I M C strategy strong acid to a mixture of acids and
[Fig. 2(a)], initially a strong acid - strong base system (b) a set point change from 7 to 8 accompanied by
( H N O 3 - N a O H ) was assumed. In addition, to begin a 10% modelling error in acid flow rate. In all cases
with, an error-free model was also assumed. Thus, in step disturbances in both forward and reverse direc-
preliminary simulation studies, eq. (9) represented tions were considered. The results obtained are dis-
both the process and the model and the IMC control- cussed below.
ler itself was represented by eq. (12). Equation (17) was
used for adaptation. For the adaptation module in the 0.020-
present strategy, the tuning parameter (e) employed
was - 75. It was found that higher values of e made O.Ola.
the system oscillatory and lower values made it slug- A
gish. Satisfactory response was obtained for all distur- j 0.010• I ~,
bances with ~: = - 75. In subsequent simulation work, I
the strong acid was replaced by a weak acid or a mix-
ture of acids and this involved attendant changes to
~ o.014.
•1
I / . . . . .
RNCL
the process equation. However, the model and the ~-,. o.012.
I
controller equations derived for strong acid-strong K
/ AIMC
base system were retained without any modification ~ o.olo.
<
even where weak and mixture of acids were employed.
In simulating the basic N I M C strategy [Fig. 2(b)], 0.00e
the equations used for the controller, process and
model were the same as those used above. However, 0.006
100 200 300 400 SO0 600
adaptation was not involved. The RNCL [Fig. 2(c)] o
Time (s)
was implemented using the equations and tuning
parameter proposed by Shukla et al. (1993). The tu- Fig. 5. Comparison ofadapterparameter ~ r AIMC and
ning parameter value of ~: = 500 used by Shukla et al. RNCL.
(1993) was employed here also. All the simulations
were carried out on a DEC 7000 UNIX computer tl
using F O R T R A N language and IMSL subroutine for
stiffdifferential equation in accordance with the block 10
diagrams in Figs. 2(a) (c). The following nominal pro-
cess operating conditions were employed (Shukla 9
et al., 1993): Acid flow, F~ = 5001/min; Base flow,
t;2 = 50 l/rain: Acid concentration, CI = 0.01 N; Base a:
8
c o n c e n t r a t i o n , C 2 =0.1 N; Volume of the tank, "
V = 2000 1. As a precaution, to avoid any unrealistic ~ 7 ,- k
value for the manipulated variable (base flow rate),
minimum and maximum limit were introduced in the o. n
simulation as 10 and 2501/min, respectively. The
sampling period chosen for simulation was 1 s in all
cases.
14 0.015
12 pH 0.010
10 [a]
0.005
"I- 8
Q. 0.000
6
-0.005
4
2 -0.010
0 i i i i -0.0t5
0 0.05 0.1 0.15 0.2 0.25 0.3
14 0.015
12
.. pH
'" 0.010
10 [b] 0.005
8
Y 0.000 >-
6
-0.005
4 I
2 -0.010
0 i i i i -0.015
0.05 0.1 0.15 0.2 0.25 0.3
Ratio ( B a s e / A c i d F l o w Rate)
Fig. 7. Titration curve based on pH and SAE for (a) strong acid and (b) weak acid.
An adaptive internal model control strategy 3073
state gain is made practically constant, thus achieving 9.0
better control. The performances of both NIMC and
RNCL for weak acid disturbance were significantly
inferior. As AIMC consistently outperformed both 5.s
NIMC and RNCL in this as well as in subsequent
tests, only the performance results due to AIMC will
henceforth be discussed. 8.0
Figure 8 illustrates additional control results for
AIMC when the influent acid was switched from ~ 7.5
strong (0.01 N HNO3 at 500 l/min) to a mixture of
acids consisting of 0.01 N HNO3 at 400 l/min and a.
0.1 N CH3COOH at 100 l/min. As before the influent 7.0.
was switched back to strong acid at 100 s. The results
in this and in the previous plot clearly demonstrate
that changes in process characteristics, though not 0.5
tracked directly by the model and the controller, were
well compensated by the proposed adaptive mecha-
nism. 5.o
50 100 150 200
Finally, to study the servo control problem,
a change in set point was introduced. In addition,
52.0
a 10% mismatch in flow (F1) was also introduced in
~" 51.5
the model and controller equations. This represents
'F: 5 1 . 0
a measurement error in flow and consequent incorrect
identification of the flow parameter in the model and so.5
11
o 49.5
u.
49.0
m 48.5
48.0
50
I
100 150 200
10
Time (s)
l
9
Fig. 9. Performance of AIMC for set point change from 7 to
8 accompanied by 10% modelling error in acid flow.
8
'1-
for the case where (i) pH set point was changed from
7 the initial operating value of 7 to 8 and (ii) the acid
a.
flow rate in both the model and controller equations
was simultaneously taken as 4501/min against the
true operating flow rate of 500 l/rain. As in all pre-
vious cases, after an elapse of 100 s, the disturbances
(i.e., set point change and model error) were removed.
The control trajectory, plotted in Fig. 9, reveals that
AIMC has excellent servo capabilities even in the
presence of measurement errors.
50 100 150 200
CONCLUSIONS
180 The adaptive internal model control (AIMC) strat-
~" 160
egy is formulated by combining the concepts of ad-
"E 140
v aptation as in RNCL, strong acid equivalent (SAE)
= 12o
l
and non-linear internal model control (NIMC) struc-
loo
ture. The combination is such that the resulting
3 80
o control system provides dramatic improvement in
u. 6O
40
disturbance rejection compared to the performances
20
of RNCL and SAE-based NIMC when used alone.
The present method shows a significant advantage in
50 100 150 200 terms of response time and sampling period. Servo
Time (s)
control and model uncertainty are also well-ac-
counted. Overall, the on-line adaptation of the model
Fig. 8. Performance of AIMC for a change from strong to and the controller as proposed here makes the control
mixture of acids. system robust and effective.
3074 N. R. Lakshmi Narayanan et al.
NOTATION REFERENCES