Professional Documents
Culture Documents
Design of Optimal and Integral Controllers For
Design of Optimal and Integral Controllers For
1
Assistant Professor, College of Engineering, Roorkee (Uttarakhand) – 247 667
2
Associate Professor, IIT Roorkee, Roorkee (Uttarakhand) – 247 667
3
Reader, Shri Shankaracharya College of Engineering & Technology, Bhilai
236
Figure 1: Block Diagram of Two Area power system with optimal controller
1 1 1 − K ps1 Tps1 0 0 0 0 0 0 0 0
x&3 = − x1 − x3 + u1 (3) FT =
R1Tsg1 Tsg1 Tsg1 0 0 0 − K ps 2 Tps 2 0 0 0 0 0
1 K ps 2 a12 K ps 2 K ps 2
x&4 = − x4 + x5 + x7 − w2 (4) In the optimal control scheme the control inputs
Tps 2 Tps 2 T ps 2 Tps 2 u1 and u2 are generated by means of feedback from
1 1 all the nine states with feedback constants to be
x&5 = − x5 + x6 (5)
Tt 2 Tt 2 determined in accordance with an optimal criterion.
The standard form in optimal control theory is
1 1 1
x&6 = − x4 − x6 + u2 (6) x& = Ax + Bu which does not contain the disturbance
R2 Tsg 2 Tsg 2 Tsg 2
term Fw present in the equation. Further, a constant
x&7 = 2πT12 x1 − 2πT12 x4 (7) disturbance vector w would drive some of the
x&8 = b1 x1 + x7 (8) system states and the control vector u to constant
x&9 = b2 x4 − a12 x7 (9) steady values; while cost function employed in
optimal control requires that the system state and
The above nine equations can be organized in the
control vectors have zero steady state value for the
following vector matrix form as:
cost function to have a minimum.
x& = Ax + Bu + Fw
For full state feedback, the control vector u is
Where x is state vector, u is control vector and w
constructed by a linear combination of all states, i.e.
is disturbance vector [6]. u = − Kx
The matrices A, B & F are obtained as below:
where K is the feedback matrix.
−1 K ps1 − K ps1 The feedback matrix K is to be determined so
0 0 0 0 0 0
Tps1 T ps1 Tps1 that a certain performance index J is minimized
In MATLAB, this can be obtained by LQR
0 −1 1
0 0 0 0 0 0 (Linear Quadratic Regulator) by the following
Tt1 Tt1
−1 −1 function
0 0 0 0 0 0 0
R1Tsg1 Tsg1 K = lqr ( A, B, Q, R)
The state-feedback law u = − Kx minimizes the
−1 K ps 2 a12 K ps 2
A= 0 0 0
Tps 2 Tps 2
0
Tps 2
0 0
cost function ( J )
0 −1 1 ∝
0 0 0 0 0 0 J = 1 / 2( ∫ x' T Q x' + u' T R u' )dt (10)
Tt 2 Tt 2
0
0 −1 −1
0 0 0 0 0 0 Where, x ' and u ' are transient state terms.
R T Tsg 2
2 sg 2
2πT12 0 0 −2πT
12
0 0 0 0 0
From J , Q & R can be obtained through the
b 0 0 0 0 0 1 0 0
1
following design considerations.
0 0 0 b 0 0 − a12 0 0
2 (i) Excursions of ACEs about the steady
values are minimized.
0 0 1 Tsg1 0 0 0 0 0 0
BT = (ii) Excursions of ∫ACE dt about the steady
0 0 0 0 0 1 Tsg 2 0 0 0 values are minimized.
(iii) Excursions of control vector about the
237
steady values are minimized. IV. NUMERICAL EXAMPLE
With the help of Fig.1 J can be written as
1∝ ' For two area thermal-thermal system the following
2 ∫0
J= [( x7 + b1 x1' )2 + ( − a12 x7' + b2 x'4 )2
(11) data are taken [9], [10]
f = 60 Hz
+ ( x8' 2 + x9' 2 ) + k(u1' 2 + u'22 )] dt
Tsg1 = Tsg 2 = 0.08 sec
From the expression of J, Q and R can be Tt1 = Tt 2 = 0.3sec
obtained as follows. H1 = H 2 = 5 sec
b12 0 0 0 0 0 b1 0 0
D1 = D2 = 8.33 x10−3 puMW / Hz
0 0 0 0 0 0 0 0 0
R1 = R2 = 2.4 Hz / puMW
0 0 0 0 0 0 0 0 0
Pr1 = Pr 2 = 2000 MW
0 0 0 b2 2
0 0 −a12 b2 0 0
Ptie ,max = 200 MW
Q= 0 0 0 0 0 0 0 0 0
1
0 0 0 0 0 0 0 0 0 b1 = b2 = D + = 0.425
b 0 0 −a b 0 R
1 12 2 0 1 + a122 0 0 From the above we can calculate K ps and Tps by
0 0 0 0 0 0 0 1 0
the following relations
0 0 0 0 0 0 0 0 1 1
K ps = ; hence K ps1 = K ps 2 = 120
R = KI = symmetric matrix D
2H
Tps = ; hence Tps1 = Tps 2 = 20 sec
III. INTEGRAL CONTROLLER DESIGN Df
MATLAB is used to find the values of A, B, Q and
The optimal controllers are now replaced with R.
integral controllers in both the areas as shown in Fig.
2. The optimization of gain of integral controller has
been done using ISE technique [7], [8].1% step
perturbation is considered in area 1 while keeping
Figure 2: Block diagram of two area power system with integral controller
area 2 uncontrolled. For different values of gain, the −0.0500 6.0000 0 0 0 0 −6.0000 0 0
0 −3.3333 3.3333 0 0 0 0 0 0
cost function J given as ∫ (∆f12 + ∆f 22 + ∆ptie
2
)dt is
−5.2083 0 −12.5000 0 0 0 0 0 0
calculated. The value of integral controller gain K I 1 0 0 0 −0.0500 6.0000 0 6.0000 0 0
A= 0 0 0 0 −3.3333 3.3333 0 0 0
for which J has minimum value is the optimum
−5.2083 −12.5000
0 0 0 0 0 0 0
value of integral controller gain for area 1. The 0.5250 0 0 −0.5250 0 0 0 0 0
controller gain of area 2 is found in similar manner 0.4250 0 0 0 0 0 1.0000 0 0
which is same as that of area 1 because the two areas 0 0 0 0.4250 0 0 −1.0000 0 0
are similar.
238
0 0 12.5 0 0 0 0 0 0 0.1
BT =
0 0 0 0 0 12.5 0 0 0
0
0.1806 0 0 0 0 0 0.4250 0 0
del f1(Hz)
0 0 0 0 0 0 0 0 0
-0.1
0 0 0 0 0 0 0 0 0
0 0 0 0.1806 0 0 −0.4250 0 0 -0.2
Q= 0 0 0 0 0 0 0 0 0 f1integral
f1optimal
0 0 0 0 0 0 0 0 0 -0.3
0.4250 0 0 −0.4250 0 0 2.0000 0 0
0 5 10 15 20
Time (sec.)
0 0 0 0 0 0 0 1.0000 0
Figure 4: Change in frequency of Area 1
0 0 0 0 0 0 0 0 1.0000
0.2
1 0
R= 0.1
0 1
del f2(Hz)
Computer solution for feedback matrix 0
K obtained is obtained as
0.4223 0.6579 0.1620 −0.0.766 −0.1122 −0.0255 −0.168 1.00 0.00
K=
I. -0.1
f2integral
−0.0766 −0.1112 −0.0255 0.4223 0.6579 0.1620 0.168 0.00 1.00 f2optimal
-0.2
IV. INTEGRAL CONTROLLER GAIN 0 5 10 15 20
The optimum values of gain of integral Time (sec)
controllers found by ISE technique for both the areas Figure 5: Change in frequency of Area 2
0.02
are calculated as 0.64 which is also evident from the
plot of K I 1 and J as given in Fig.3 0
del Ptie(pu MW)
-0.02
-0.04
TieIntegral
TieOpt
-0.06
0 5 10 15 20
Time(sec)
Figure 6: Change in Tie Line Power
-0.05
239
0.06
TieIntegral REFERENCES
TieOpt
0.04
[1] Ibraheem, Prabhat Kumar and D. P. Kothari “Recent
Philosophies of Automatic Generation Control
del Ptie
VI. CONCLUSIONS
In the present work a two area thermal- thermal
system has been studied with a view to design an
optimal controller, to study the dynamic performance
of the system and to compare its performance with
that of conventional integral controller. Instead of
using explicit parameter identification, the optimal
controller uses only the available information of the
model states and output. The computer simulation on
two area thermal system show better control
performance in terms of overshoot and settling time
by optimal controller as compared to conventional
integral controller.
240