Professional Documents
Culture Documents
CHAPTER 3
3.1 INTRODUCTION
G(s) = K/ τs+1
Kc = τp /Kp* τp ; τi=τp
The PI controller parameters for six regions are listed in Table 3.1.
Operating points
K Τ
Acid flow rate
pH Gain Time constant
L/hr
19.88 10.6032 1.874 0.01244
19.985 9.7054 0.5 0.012907
20.0013 8.6329 0.3 0.012011
20.0134 7.9109 2.3 0.009344
20.11 7.004 2.8710 0.122355
20.584 6.2795 3.2779 0.009165
Seven fuzzy controllers have been designed, one for each of the six
regions (weight scheduler) and seventh one for choosing the weights for the
controllers. Each controller uses two inputs variables: Error- e and Integral of
29
error- eint. The output of these controllers are combined using weights to give
net output = (w1*out1) + (w2*out2) + (w3*out3)+ (w4*out4) + (w5*out5) +
(w6*out6).
ie
VS S M B VB
e
VS VS VS S S M
S VS S S M B
M S S M M B
B S M B B VB
VB M B B VB VB
Number of
Region Training method Error tolerance
Epochs Taken
Region 1 Back propagation 0.01 33130
Region 2 Back propagation 0.03 35021
Region 3 Back propagation 0.01 37565
Region 4 Back propagation 0.01 40000
Region 5 Back propagation 0.01 45780
Region 6 Back propagation 0.01 38900
The six region transfer function models listed in Table 2.3 is used
to design the Internal Model Controller. The inverse model for corresponding
regions and the IMC controller parameters are listed in Table 3.4. The inverse
31
model is multiplied by filter transfer function to find out the IMC parameter, λ
the tuning parameter.
9.5
SP
9 MM PI
8.5
8
pH VALUE
7.5
6.5
5.5
0 500 1000 1500 2000 2500 3000 3500 4000 4500
SAMPLING INTERVAL
21.5
21
ACID FLOW RATE (Lt/hr)
20.5
20
19.5
19
0 500 1000 1500 2000 2500 3000 3500 4000 4500
SAMPLING INTERVAL
1.2
PI1
1 PI 2
PI 3
PI 4
PI 5
0.8 PI 6
0.6
WEIGHT
0.4
0.2
-0.2
0 500 1000 1500 2000 2500 3000 3500 4000 4500
SAMPLING INTERVAL
11
SP
MM Fuzzy
10
9
pH VALUE
5
0 50 100 150 200 250 300 350 400
SAMPLING INTERVAL
21.2
21
ACID FLOW RATE (lt/hr)
20.8
20.6
20.4
20.2
20
0 50 100 150 200 250 300 350 400
SAMPLING INTERVAL
1.2
Fuzzy cont 4
Fuzzy cont 5
0.4 Fuzzy cont 6
0.2
-0.2
0 50 100 150 200 250 300 350 400
SAMPLING INTERVAL
11
SP
M ANFIS
10
9
pH VALUE
5
0 50 100 150 200 250 300 350 400
SAMPLING INTERVAL
21.2
21
ACID FLOW RATE(lt/hr)
20.8
20.6
20.4
20.2
20
0 50 100 150 200 250 300 350 400
SAMPLING INTERVAL
1.2
0.8 ANFIS 1
ANFIS 2
ANFIS 3
0.6
WEIGHTS
ANFIS 4
ANFIS 5
ANFIS 6
0.4
0.2
-0.2
0 50 100 150 200 250 300 350 400
SAMPLING INTERVAL
9.5
SP
MM IMC
9
8.5
8
pH VALUE
7.5
6.5
5.5
0 500 1000 1500 2000 2500 3000 3500 4000 4500
SAMPLING INTERVAL
26
24
22
ACID FLOW(Lt/hr)
20
18
16
14
0 500 1000 1500 2000 2500 3000 3500 4000 4500
SAMPLING INTERVAL
1.2
0.8
IMC 1
IMC 2
0.6
WEIGHT
IMC 3
IMC 4
IMC 5
IMC 6
0.4
0.2
-0.2
0 500 1000 1500 2000 2500 3000 3500 4000 4500
SAMPLING INTERVAL
The tuning parameters for the 3 PID controllers are calculated using
Zeigler-Nichols method. Since temperature T is the scheduling variable, the
controller parameters KC (a) and TI (a) are calculated by substituting n=3 and
a=T, in the following equations.
K C (a ) = w i (a ) k c ,i (3.1)
i= 1
42
T I (a ) = w i (a ) T I,i (3.2)
i= 1
T D (a ) = w i (a ) T d ,i (3.3)
i= 1
If T ≤ T1, then
w3 = 0; w2 = 0; w1 = 1
If T1 ≤ T ≤ T2, then
If T2 ≤ T ≤ T3, then
If T ≥ T3, then
w3 = 1; w2 = 0; w1 = 0
Based on the weights w3, w2, w1 are obtained and the fused
controller output is decided. The PID controller settings for 3 zones are listed
in Table 3.8.
43
Zone Number P I D
Zone 1, i=1 0.0954 0.000602 3.777
Zone 2, i=2 0.984 0.00131 4.83885
Zone 3, i=3 0.18336 0.00301 5.7893
Four fuzzy controllers have been designed, one for each of the three
zones and another for choosing the weights for the controllers. Each controller
uses two input variables. error : e and integral of error : eint. The output of
these controllers are combined using weights to give net output = (w1*out1) +
(w2*out2) + (w3*out3).
ie
VS S M B VB
e
VS VS VS S S M
S VS S S M B
M S S M M B
B S M B B VB
VB M B B VB VB
Error Number Of
Zone Training Method
Tolerance Epochs Taken
Zone 1 Back propagation 0 33130
Zone 2 Back propagation 0 35021
Zone 3 Back propagation 5 37565
TIME (s)
Figure 3.15 Servo response of the IMM with MM-PID controller (Zone 1)
46
TIME (s)
TIME (s)
TIME (s)
TIME (s)
TIME (s)
TIME (s)
TIME (s)
TIME (s)
The MM- Fuzzy controller is designed for the IMM and the
performance of the controller is observed. The settling time of proposed MM-
Fuzzy controller is lower when compared to MM-PID controller.
The MM- ANFIS controller is designed for each zone, the training
error for the each ANFIS controller is set as minimum to get the
51
TIME (s)
Figure 3.25 Servo response of the IMM with MM-ANFIS controller
(Zone 1)
52
TIME (s)
TIME (s)
TIME (s)
TIME (s)
TIME (s)
Settling time
Zone Controller IAE ISE
(s)
Zone 1 PID 6.898 x 10^4 4.855x 10^9 3800
(423.15 K) FUZZY 2.561x 10^4 6.556x 10^8 2300
ANFIS 121.8 1.483x 10^4 30
Zone 2 PID 3.734 x 10^4 1.394x 10^9 2750
(433.15 K) FUZZY 2.6x 10^4 6.7556x 10^8 2250
ANFIS 131.8 1.738x 10^4 35
Zone 3 PID 1.781 x 10^4 3.171x 10^8 1300
(443.15 K) FUZZY 2.899x 10^4 8.477x 10^8 1300
ANFIS 140.3 1.96x 10^4 40
TIME (s)
Figure 3.33 Servo response of MM-IMC for IMM of Set point 423.15k
(Zone 1)
TIME
TIME (s)(s)
Figure 3.34 Servo response of MM-IMC for IMM of Set point 443.15k
433.15k (Zone 2)
58
TIME (s)
Figure 3.35 Servo response of MM-IMC for IMM of Set point 443.15k
(Zone 3)
3.6 CONCLUSION
In this chapter the design of MM- PI, Fuzzy, ANFIS and IMC for
pH neutralization process are carried out. The set point variations have been
introduced for all the proposed control schemes. The process output is
maintained for different set point by the controllers. The servo responses of
the proposed control schemes are obtained. The IAE and ISE values are
59
The MM- PID, Fuzzy, ANFIS and IMC controllers are designed for
the Injection molding process. The controllers are able to follow the set point
for each zone. The IAE and ISE values are calculated. It is observed that, the
MM -ANFIS controller gives the best performance compared to other
controllers.