Beruflich Dokumente
Kultur Dokumente
Secondary project:
Done by:
Supervised by:
CONTENTS
Page
Dedication…………………………………………………………………………3
Abbreviations………………………………………………………………………..4
Summary.……….………………………………….……………….……………….………5
2
LFC
DEDICATION
This project is dedicated with love and respect to our families for the help, love
and emotional support they offered us with no hesitation. And also to our beloved
college Alhijjawi for engineering technology for the great environment it gave to
us and to our friends and future colleagues, with special thanks to our respectful
supervisor Dr. Muwaffaq Alomoush who helped us with all he could, and to the
rest of our instructors and friends.
3
LFC
ABBREVIATIONS:
AGC: Automatic Generation Control.
LFC: Load Frequency Control.
SD: Speed Droop.
ACE: Area Control Error.
RA: Reset Action.
AVR: Automatic Voltage Regulation.
EDG: Economic Dispatch of Generation.
4
LFC
SUMMERY
As the demand of electrical power is increasing and becoming a global issue, the
need of interconnecting power systems is growing up; this growth represents a
great challenge for power engineers, challenges in making power systems reliable,
economic and safe for both supplier and customer, these challenges are
represented in different sections of power systems from protection coordination to
economic dispatch of generation through other many technical and economical
problems.
As the name (Load Frequency Control) indicates, this topic deals with the
control of frequency of the system as the load (demand) varies. Since the
frequency of the system does affect the whole operation of the system, especially
for interconnected power systems of multi-area, and as the main objective of
control in power systems is to generate and deliver power as economically and
reliably as possible, then it is important to consider the control of the frequency of
the system.
5
LFC
Levels of LFC
Load Frequency Control has to be of two main control loops, these are primary
and secondary control. In primary control, control action is realized by turbine-
governor system in the plant. In this control level only the active power is
balanced. However, maintaining the frequency at scheduled value (e.g. 50 Hz) can
not be provided. Therefore, steady state frequency error can occur forever. So this
level is not enough for interconnected systems, as the frequency must be equal at
all areas. The second level of generation control, called secondary or
supplementary control is made in large power systems which include two or more
areas. Active power is controlled at the tie lines between neighbor areas by the
concept of Automatic Generation Control (AGC) and there are central and local
load control and distribution centers. The final level of generation control is
Economic Dispatch of Generation (EDG) among the all plants. The major aim of
this control is to maintain each unit’s generation at the most economic value.
Among this project we are interested only in the two main control levels, namely
the primary and secondary.
6
LFC
No one of these control levels could be understood or realized with out under-
standing the main concepts of control system theory, so a review of some
important concepts of the control system theory is given in chapter one of this
project, farther more, considering the importance of the PID controllers, being the
most kwon and popular controllers in control systems, a special section of chapter
one was added. Also, as the facility of simulating the response of our systems of
interest is the MATLAB program and its SIMULINK package, another chapter
(Chapter two) is given as a review of the basics of MATLAB and SIMULINK.
Finally, the main chapter of this project; chapter three is concerned with the
analysis of the main elements and loops of LFC, and in the simulation of single
and interconnected multi-area (two-area) power systems, respectively.
7
LFC
CHAPTER 1
The first step in the analysis and design of any control system is the mathematical
modeling of the system. The two most common methods are the transfer function
approach and the state equation approach. The state equations can be applied to
portray linear as well as non-linear systems. As all physical systems are non-linear
to some extent, then, in order to use the transfer function and linear state
equations, the system must first be linearized. Thus, proper assumptions are made
so that the system can be characterized by a linear mathematical model [4]. The
model may be validated by analyzing its performance for realistic input conditions
and then by comparing with field test data taken from the dynamic system in its
operating environment. Once an acceptable controller has been designed and
tested on the model, the feedback control strategy is then applied to the actual
system to be controlled. When we wish to develop a feedback control system for a
specific purpose, the general procedure may be summarized as follows:
1. Choose a way to adjust the variable to be controlled; e.g. the mechanical
load will be positioned with an electric motor or the temperature could be
controlled by an electrical resistance heater, (or active power generated can
be controlled by adjusting the valves of the governor of the turbine).
2. Select suitable sensors, power supplies, amplifiers, etc.., to complete the
loop.
3. Determine what is required for the system to operate with the specified
accuracy in steady-state and for the desired response time.
8
LFC
The objective of the control system is to control the output c(t) in some
prescribed manner by the input r(t) through the elements of the control system.
Some of the essential characteristics of feedback control system are investigated in
the following sections.
1.2 STABILITY:
Considering the block diagram of a simple closed loop control system as shown in
Fig 1.1 below, where R(s) is the S-domain reference input, C(s) is the S-domain
controlled output, G(s) is the plant transfer function, k is a simple gain controlled,
and the feedback element H(s) represents the sensor transfer function. The closed-
loop transfer function is:
C (s) k × G (s)
= T (S ) = (1.1)
R (s) 1 + ( k × G ( s ) × H ( s ))
R (s ) C (s )
k G (s )
H (s )
system is stable if every bounded input produces a bounded output. We call this
characteristic stability. The denominator polynomial of the closed-loop transfer
function set equal to zero is the system characteristic equation. That is the
characteristic equation is given by:
1+ k G (s) H (s) = 0 (1.3)
The roots of the characteristic equation are known as the poles of the closed-
loop transfer function. The response is bounded if the poles of closed-loop system
are in the left-hand portion of the s-plane. Thus, a necessary and sufficient
condition for a feedback system to be stable is that all the poles of the system
transfer function have negative real parts.
n n −1
a s
n
+ a n −1 s + .......... .. + a s
1
+ a 0
= 0 (1.4)
The criterion is applied through the use of a Routh table defined as:
10
LFC
n
a a …..
s n a n−2 n−4
n −1 …..
s a n −1 a n−3 a n−5
n−2 …..
s b 1 b 2 b 3
n −3
c …..
…..
s 1 c 2 c 3
a a
n −1 n−2
− a a n n −3 ; a a n −1 n−4
− a a n n−5
b 1
= b 2
=
a n −1 a n −1
ba − a b ba − a b
c = 1 n−3 n −1 2 ; c = 1 n−3 n −1 3
1 2
b 1 b 1
Calculations in each row are continued until only zero elements remain. The
necessary and sufficient condition that all roots of (1.4) lie in the left of the s-plane
is that the elements of the first column of the Routh-Hurwitz array have the same
sign. If there are changes of signs in the elements of the first column, the number
of sign changes indicates the number of roots with positive real parts. If the first
element in a row is zero, it is replaced by a very small positive number Є, and the
calculation of the array is completed. If all elements in a row are zero, the system
has poles on the imaginary axis, pairs of complex conjugate roots forming
symmetry about the origin of the s-plane, or pairs of real roots with opposite sings.
In this case, an auxiliary equation is formed from the preceding row. The all-zero
row is then replaced with coefficients obtained by differentiating the auxiliary
equation [4] [7].
11
LFC
The Root-locus method, developed by W.R. Evans, enables us to find the closed-
loop poles from the open-loop poles for all the values of the gain of the open-loop
transfer function. The Root-locus of a system is a plot of the roots of the system
characteristic equation as the gain factor k is varied. Therefore, the designer can
select a suitable gain factor to achieve the desired performance criteria. If the
required performance can not be achieved, a controller can be added to the system
to alter the root-locus in the required manner. Consider again the feed-back control
system given in Fig 1.1. In general, the open loop transfer function is given by:
k (s + z )( s + z )........( s + z )
k × G (s) × H (s) = 1 2 m (1.5)
(s + p )( s + p )......... ( s + p )
1 2 n
Where m is the number of finite zeros, and n is the number of finite poles of the
loop transfer function. If n > m, there are ( n − m ) zeros at infinity. The
characteristic equation of the closed-loop transfer function is given by (1.3);
therefore
(s + p )( s + p )......... .( s + p
1 2 n
)
(1.6)
= −k
(s + z )( s + z )......... ...( s + z
1 2 m
)
From equation 1.6 it follows that for a point so in the s-plane to be on the root-
locus, when 0 < k < ∞, it must satisfy the following two conditions.
product of vector lengths from finite poles to s o
k = (1.7)
product of vector lengths from finite zeros to s o
And
∑angles of zeros of G× H(s) − ∑angles of poles of G× H(s) = r(180o ) (1.8)
12
LFC
1.3.1 Introduction:
When working with applications where control of the system output due to
changes in the reference value or state is needed, implementation of a control
algorithm may be necessary. Examples of such applications are motor control,
control of temperature, pressure, flow rate, speed, force, LFC, AVR or other
variables. The PID controller can be used to control any measurable variable, as
long as this variable can be affected by manipulating some other process variables.
Many control solutions have been used over the time, but the PID controller has
become the ‘industry standard’ due to its simplicity and good performance. For
further information about the PID controller and its applications the reader should
consult other sources [3].
In Figure 1.2 a schematic of a system with a PID controller is shown. The PID
controller compares the measured process value y with a reference set point value,
y0. The difference or error, e, is then processed to calculate a new process input, u.
This input will try to adjust the measured process value back to the desired set
point. The alternative to a closed loop control scheme such as the PID controller is
an open loop controller. Open loop control (no feedback) is in many cases not
satisfactory, and is often impossible due to the system properties. By adding
feedback from the system output, performance can be improved.
y0 e u y
-
PID SYSTEM
13
LFC
reads the system state by a sensor, and then it subtracts the measurement from a
desired reference to generate the error value. The error will be managed in three
ways, to handle the present, through the proportional term, recover from the past,
using the integral term and finally to anticipate the future, through the derivate
term. Figure 1.3 shows the PID controller schematics, where Tp, Ti and Td denote
the time constants of the proportional, integral, and derivative terms respectively
[3].
Td d
dt
+
e TP + u
+
Ti
Figure 1.4 shows a simple Op-Amp circuit with input voltage Vi(s), output voltage
Vo(s), input impedance Zi(s) and feedback impedance Zf (s) [3]. It can be shown
that the transfer function of the circuit can be written as
G (s) =
Vo ( s )
= −
Z f
(s)
(1.9)
Vi ( s ) Z i
(s)
Zf (s)
-
Zi(s)
+
Vi(s) Vo(s)
14
LFC
Simple RC circuits can be used to generate the input and feedback impedances
required to generate transfer functions for P, PI, PD, and PID controllers. To
understand the implementation of the controllers described below, recall:
1) The total impedance of two components in series is the sum of the individual
impedances; and
2) The inverse of the total impedance of two components in parallel is the sum of
the inverses of the individual impedances. Note that the impedance of a resistor
with resistance R is Z(s) = R, and the impedance of a capacitor of capacitance
C is
1
Z(s) = . (1.10)
c s
G (s) = − R f
= Kp = constant . (1.14)
R i
The proportional term (P) gives a system control input proportional with the
error. Using only P control gives a stationary error in all cases except when the
system control input is zero and the system process value equals the desired value.
15
LFC
In Figure 1.5 the stationary error in the system process value appears after a
change in the desired value (ref). Using a too large P term gives an unstable
system.
= R i
=
1
.
z i
and z f
(1.15)
R c +1
i i c f
s
G (s) = −
1
• R C s + 1 = − C
i i i
+
1
=−
Ki (1.16)
Kp + s
C f
s R C
i f RC
i f
S
16
LFC
The integral term (I) gives an addition from the sum of the previous errors to
the system control input. The summing of the error will continue until the system
process value equals the desired value and these results in no stationary error when
the reference is stable [3].
The most common use of the I term is normally together with the P term, called
a PI controller. Using only the I term gives slow response and often an oscillating
system. Figure 1.6 shows the step responses to an I and PI controller. As seen, the
PI controller response have no stationary error and the I controller response is
very slow.
17
LFC
s +1 Rf
G (s) = − R i • R i C i =− + R f C i s = − [k p
+ kd s ] (1.17)
R i R i
The derivative term (D) gives an addition from the rate of change in the error to
the system control input. A rapid change in the error will give an addition to the
system control input. This improves the response to a sudden change in the system
state or reference value. The D term is typically used with the P or PI as a PD or
PID controller. A too large D term usually gives an unstable system. Figure 1.7
shows D and PD controller responses. The response of the PD controller gives a
faster rising system process value than the P controller. Note that the D term
essentially behaves as a highpass filter on the error signal and thus easily
introduces instability in a system and make it more sensitive to noise.
18
LFC
To form a PID controller with high frequency gain limit, let the input impedance
be generated by a resistor (resistance, R2) be in series with a resistor (resistance,
R1) and a capacitor (capacitance C1) that are in parallel, and let the feedback
impedance be generated by a resistor (resistance, Rf ) and a capacitor (capacitance
Cf ) in series. In this case, the impedances are
R 1 and R C
f f
s +1 (1.18)
Z i
= + R 2 Z =
R C s +1
1 1
f
C f
s
Then, it can be shown that the transfer function of the circuit is
+ R1 C 1 R f
G (s ) = − R1C 1 R f C f k
1 (1.19)
+ + s = −
k p + si + k d s
( R 1 + R 2) C f ( R1 + R 2) C s ( R 1 + R 2 )
f
Using all the terms together, as a PID controller usually gives the best
performance. Figure 1.8 compares the P, PI, and PID controllers. PI improves the
P by removing the stationary error, and the PID improves the PI by faster response
and no overshoot [3].
19
LFC
CHAPTER 2
INTRODUCTION TO MATLAB AND SIMULINK
2.1 MATLAB
2.2. SIMULINK
20
LFC
We can set the simulation parameters and select the solver by choosing parameters
from the simulation menu. The simulation parameters dialog box, have three
pages: solver, workspace I/O and diagnostic.
Some solvers may be more efficient than others at solving particular problems.
There are variable step and fixed step solvers:
21
LFC
Variable step solver: can modify their step sizes during simulation. These are
ode45, ode23, ode113, ode155, ode23s and discrete.
Fixed step solver include ode5, ode4, ode3, ode2, ode1 and discrete.
The SIMULINK BLOCK LIBRARY contains seven icons; each icon contains
various components in the titled category. The easy to use pull down menus allows
you to create a SIMULINK block diagram, or open an existing file, perform the
simulation and make any modifications. Generally, when building a model, design
it first on paper, and then build it using the computer. When you start putting the
blocks together into a model, add the blocks to model window, before adding the
lines that connect them. This way, you can reduce how often you need to open
block libraries [5].
22
LFC
CHAPTER 3
LOAD FREQUENCY CONTROL
Since synchronous generators are the most common type of machines used in the
generation of electrical power, its characteristics can be used to describe the
relationship between frequency and power during load changes [1].
All generators are driven by a prime mover, which is the generators source of
mechanical power. The most common type of prime mover is a steam turbine, but
other types include diesel engines, gas turbines, water turbines, and even wind
turbines.
Regardless of the original power source, all prime movers tend to behave in a
similar fashion as the power drawn from them increases, the speed at which they
turn decreases. The decrease in speed is in general non-linear, but some form of
governor mechanism is usually included to make the decrease in speed linear with
an increase in power demand.
SD =
n −n
nl fl
× 100% (3.1)
n fl
Where nnl is the no-load prime-mover speed and nfl is the full-load prime-mover speed.
Most generator prime movers have a speed droop of 2 to 4 percent, as defined in equation
23
LFC
(3.1). In addition, most governors have some type of set point adjustment to allow the no-
load speed of the turbine to be varied. A typical speed-versus-power plot (known as the
house curve) is shown in figure (3.1.a).
Mechanical speed, rpm
nnl
fnl
Frequency, Hz
nfl ffl
Although the house curves are only used for studying the parallel operation of
two generators or that of a single generator connected to a certain network, it helps
understanding the variations of electrical frequency as the power demanded is
changed, since the shaft speed is related to the resulting electrical frequency by the
equation,
n p
m
f e
=
120
(3.2)
P = sP (f nl
− f sys
) (3.3)
24
LFC
But this equation is not accurate for multi-area power systems. A similar
relationship can be derived for the reactive power Q and terminal voltage VT, for
which the AVR control loop is used, which is not of our interest in this project [1].
As real power affects the frequency of a network, whereas no big change in the
reactive power due to change in frequency, since reactive power is mainly
dependent on voltage magnitude (LFC: controls frequency and real power, AVR:
controls voltage magnitude and reactive power). Each of them can be controlled
separately and independently [2].
LFC and AVR for generator are shown in the schematic diagram of Fig 3.2.
Voltage Sensor
Steam
Turbine
G
∆PG , ∆QG
∆PV
The controllers are set to take care of any changes in load demand to maintain
the frequency and voltage within specified limits. Small changes in real power
refer to change in the angle δ (rotor angle) and this will affect the frequency.
25
LFC
Since reactive power depends on |V|, thus the excitation of the generator is a
factor affects reactive power.
There is a time constant for each of the prime mover and the generator
excitation, and this time is much smaller for prime mover and its transient decay
becomes faster. For this reason, the load frequency and voltage excitation are
analyzed and controlled separately and independently.
Changes in frequency and real power are sensed, and these are a measure of
changes in rotor angle (δ); so the error ∆δ is to be corrected. Error signals such as
∆f and ∆P are amplified, then mixed, then transformed into a real power signal,
which is sent to turbine to cause an increment in torque. Therefore, the prime
mover (steam turbine) cause changes in the generator output by certain amount to
change the value of ∆f and ∆P within a specified tolerance, this mechanism is
discussed in details when we consider the modeling of governor and prime mover.
Typical responses to real power changes are illustrated using the simulation
techniques available in the SIMULINK package of the MATLAB program, these
responses will be viewed for each specified control loop.
As illustrated in chapter one there are two common methods for modeling, the
transfer function method, and this is used for linear systems only where as; the
state variable approach, is used in linear and non-linear systems. If we want to use
transfer function method; non-linear systems must be linearized.
26
LFC
1 ∆Ω(s)
∆Pm(s) 2H s
_
∆Pe(s)
Figure 3.3 Generator block diagram.
In power systems, the loads are mainly resistive loads, and this is independent of
frequency. And the other type of loads is Motor loads (mainly inductive), which is
sensitive to change in frequency, depending on the composite of the speed-load
characteristic of all driven devices. Speed load characteristic of composite load is:
27
LFC
_ ∆PL(s)
1 ∆Ω(s)
∆Pm(s) 2 Hs + D
∆PV(s) 1 ∆Pm(s)
1+τTs
The governor is a device used to sense a turbine speed changes when the load of
the generator is suddenly increased, in that case, the electrical power exceeds the
input mechanical power. The shortage of this power is supplied by kinetic energy
stored in the rotating system, reducing the mechanical power of the turbine, [7]
[8].
This reduction in energy causes the turbine speed to fall and thus the generator
frequency to fall. Any change in speed is sensed by the turbine governor, which
will act to adjust the input valves of the turbine to change the output mechanical
power to bring the speed to a new steady state. There are many types of governors;
28
LFC
the earlier types used mechanical mechanisms of sensing speed changes, and
modern governors use electronics. Figure 3.6 shows a schematic for a
conventional governing system.
To
governor-
Lower controlled
valves
M Raise
To close
Hydraulic
To open
Speed changer amplifier
Speed
Governor
The speed governor acts as a comparator whose output ∆Pg is the difference
1
between the reference set power ∆Pref and the power ∆ω, that is
R
1
∆Pg = ∆Pref − ∆ω (3.4)
R
In the s-domain:
1
∆Pg ( s ) = ∆Pref ( s ) − ∆Ω( s ) (3.5)
R
where R is the speed regulation.
Governors typically have speed regulation of 5 to 6 percent from zero to full load.
Consider a simple time constant τg and assume linear relationship, we have the
relation:
1
∆PV ( s ) = ∆Pg ( s ) (3.6)
1+τ g s
29
LFC
1 ∆PV(s)
∆Pref(s) _ ∆Pg 1 + τ g (s)
1 ∆ω(s)
R
Combining block diagrams of the preceding models we can find the block
diagram of the LFC of an isolated power station, providing the primary level of
LFC as shown in Figure 3.8.
∆PL(s)
_
∆Pref (s) ∆Pg 1 ∆Pv 1 ∆Ω(s)
1
1+τ gs 1 +τ T s 2Hs+ D
_ ∆Pm
Governor Turbine Rotating mass
and load
1
R
Governor speed regulation R = 0.05 per unit, and a sudden load change of 0.2 per
unit is represented by a step input at ∆PL and the load is considered to vary by 0.8
percent for a 1 percent change in frequency, i.e., D = 0.8. The block diagram
constructed using Simulink is shown if figure 3.9 followed by the response of the
simulation in figure (3.10) with the suggested values of time constants and other
parameters [2].
30
LFC
-0.005
Frequency [pu]
-0.01
-0.015
0 1 2 3 4 5 6 7 8 9 10
Time [sec]
With the load change -∆PL(s) as an input, and the frequency deviation ∆Ω(s) as
an output, results the block diagram in figure 3.11
-∆PL(s) 1 ∆Ω(s)
2 Hs + D
_
1
R(1 + τ g s )(1 + τ T s )
∆Ω( s ) (1 + τ g s )(1 + τ T s )
= = T (s) (3.8)
− ∆PL ( s ) (2 Hs + D)(1 + τ g s )(1 + τ T s ) + 1 / R
∆PL
The load change in a step input (i.e. ∆PL ( s) = ) then the steady-state value of
s
∆ω is:
1
∆ω ss = lim s ∆Ω( s ) = −∆PL (3.10)
s →0 ( D + 1 / R)
We can find that for the case of no frequency sensitive load (i.e. with D=0) then
the steady-state value of the frequency deviation is:
∆ωss = (−∆PL ) R (3.11)
When the load on the system is increased, the turbine speed drops before the
governor can adjust the input of the steam to the new load. As the change in the
value of speed diminishes, the error signal becomes smaller and the position of the
governor fly-balls gets closer to the point required to maintain a constant speed.
However, the new constant speed will not be the set point, and there will be an
offset. One way to restore the speed or frequency to its nominal value is to add an
integrator; Because of its ability to return a system to its set point, integral action
is also known as the reset action. Thus, as the system load changes continuously,
the generation is adjusted automatically to restore the frequency to its nominal
value. This is known as the Automatic Generation Control (AGC). The role of
AGC is to divide the load among system stations and generators to achieve
32
LFC
In order to reduce frequency deviation to zero, we must provide a reset action; the
reset action can be achieved by adding integral controller. The LFC system with
addition of integral controller is shown in figure 3.12.
∆PL(s)
∆PV _
∆Pref(s) 1 1 1
∆ω(s)
1 + τ g (s) 1 + τ T (s ) 2Hs +D
_ ∆Pm
_ Governor Turbine Rotating mass
and load
1
R
KI
s
For the same single area system given before with the same values of τT, τg , H,
D and ∆PL , with the gain of the I controller suggested to be KI = 7.0 . The
Simulink diagram constructed is shown in figure 3.13 followed by its response
shown in figure 3.14 [2].
Figure 3.13 Simulink block diagram of isolated power system with AGC loop.
33
LFC
-3
x 10
4
-2
-4
Frequency [pu]
-6
-8
-10
-12
-14
-16
0 5 10 15
Time [sec]
Combining the parallel branches results in the following block diagram in fig 3.15:
-∆PL(s) 1 ∆ω(s)
2 Hs + D
_
KI 1 1 1
( + )( )( )
s R 1+τ gs 1+τT s
∆Ω( s ) s (1 + τ g s )(1 + τ T s )
= (3.13)
− PL ( s ) s (2 Hs + D)(1 + τ g s )(1 + τ T s ) + K I + s / R
34
LFC
The AGC of multi-area system can be realized by studying first the AGC for a
two-area system. Look at figure 3.17.
P12 →
X12
Area 1 Area 2
Figure 3.16 Schematic of two-area system.
X1 Xtie X2
+ +
E1 δ2 E2 δ 2
- -
During normal operation the real power transferred over the tie line is given by:
E1 E2
P12 = sinδ 12 (3.14)
X 12
Equation 3.14 can be linearized for a small deviation in the flow ∆P12 from the
nominal value, that is:
35
LFC
dP12
∆P12 = δ12 0 ∆δ 12 = Ps ∆ δ 12 (3.15)
dδ 12
Ps: the slope of the power angle curve at the initial operating angle δ12 = δ1 − δ 2 , 0 0 0
thus:
dP12 E1 E2
Ps = δ12 0 = cos ∆δ 120 (3.16)
dδ 12 X 12
Then
∆P12 = Ps (∆δ1 − ∆δ 2 ) (3.17)
The direction of the flow depends on the phase angle difference; if δ1>δ2→ the
power flows from area 1 to area 2. A block diagram for the two area system is
shown below in Fig 3.18.
1
R1
∆PL1(s)
_ _
∆Pref1(s) ove ∆PV1 ∆Pm1 ove ∆ω1(s)
1 1 1
1+τ g1 s 1+τ T 1 s 2 H 1 s + D1
∆P12 Ps
s
_
+
∆Pref2(s) ∆PV2 ∆Pm2
1 1 1
1+τ g 2 s 1 +τ T 2 s 2 H 2 s + D2
∆ω2(s)
_ _
ove Governor Turbine ove Rotating mass
∆PL2(s) and load
1
R2
Figure 3.18 Two area system with only primary LFC loop (AGC).
36
LFC
Area 1 2
Inertia constant H1 = 5 H2 = 4
The Simulink block diagram for such system is shown in figure 3.19, followed by
the resulting response in figure 3.20.
Figure 3.19 Simulink block diagram of tow area system with AGC loop.
37
LFC
0.35
Delta Pm1
Delta Pm2
0.3
Delta P12
0.25
0.2
0.15
Power [pu]
0.1
0.05
-0.05
-0.1
0 5 10 15 20 25
Time [sec]
38
LFC
Consider load change in area 1 is ∆PL1, in the steady-state; both areas will have
the same steady-state frequency deviation;
∆ω = ∆ω1 = ∆ω2
Now,
∆Pm1 − ∆P12 − ∆PL1 = ∆ω D1 and ∆Pm 2 + ∆P12 = ∆ω D2 (3.18)
Giving B = 1 + D and , B = 1 + D
1
R 1
1 2
R 2
2
where B1 and B2 are known as the frequency bias factors. The change in the tie-
line power is:
1
+ D2 )∆PL1
(
R2 B2
∆P12 = − = (− ∆PL1 ) (3.21)
1 1 B + B
( + D1 ) + ( + D2 ) 1 2
R1 R2
39
LFC
Up to now, LFC was equipped with only the primary control loop, a change of
power in area 1 was met by the increase in generation in both areas associated
with a change in the tie-line power, and a reduction in frequency. In the normal
operating state, the power system is operated so that the demands of areas are
satisfied at the normal frequency [2] [7] [8]. As mentioned in section 3.3, a simple
control strategy for the normal mode is:
٭To Keep frequency approximately at the nominal value (50 or 60 Hz).
٭To Maintain the tie-line flow at about schedule.
٭Each area should absorb its own load changes.
Conventional LFC is based upon tie-line bias control, where each area tends to
reduce the Area Control Error (ACE) to zero. The control error for each area
consists of a linear combination of frequency and tie-line error.
n
ACE i
= ∑ ∆ P i j
+ K i
∆ω (3.22)
j =1
where ∆P12 and ∆P21 are departures from scheduled interchanges. ACEs are used
as actuating signals to achieve changes in the reference power set points, and when
steady-state is reached, ∆P12 and ∆ω will be zero. The block diagram of a simple
AGC for a two-area system with ACE loops is shown in figure (3.21).
40
LFC
B1
1
R1
∆PL1(s)
_
_ _
∆PV1 ∆Pm1 _ ∆ω1(s)
KI1 1 1 1
s 1+τ g 1 s 1+τ T 1 s 2 H 1 s + D1
ACE1
_ Governor Turbine _ Rotating mass
Go and load
+
∆P12 ∆P12
Ps
s
_
+ +
∆PV2 ∆Pm2
KI 2 1 1 1
s 1+τ g 2 s 1+τ T 2 s 2 H 2s + D2
ACE2 _ _
_ Governor Turbine Go Rotating mass
and load ∆ω2(s)
∆PL2(s)
1
R2
B2
Figure 3.21 A simple AGC for a two-area system with ACE loops.
Here the same data is considered for the two area system, except the addition
of the ACE loops, adjusting the integrator gain constants for a satisfactory
response; the simulation results for KI1 = KI2 = 0.3 were obtained.
Other than trail and error technique, there is no certain method that suggests an
optimal evaluation for the gains of the PID controllers used in such control except
using new optimization techniques or artificial intelligence techniques such as
fuzzy logic or artificial intelligence, which are all beyond the scope of this project.
In this project we used the method of trial and error such that an optimal response
was achieved according to the characteristics of optimal step response of control
systems.
The Simulink block diagram of two area power system with both AGC and
ACE loops is shown in figure 3.22 followed by the resulting response of this
simulation shown in figure 3.23.
41
LFC
Figure 3.22 Simulink block diagram of two area system with both AGC and ACE loops.
-3
x 10
4
Delta w1
Delta w2
2
-2
Frequency [pu]
-4
-6
-8
-10
-12
-14
0 5 10 15 20 25
Time [sec]
42
LFC
Delta P m1
Delta P m2
0.3
Delta P 12
0.25
0.2
Power [pu]
0.15
0.1
0.05
-0.05
0 5 10 15 20 25
Time [sec]
For a better and more satisfactory response, the I term used in figure 3.21 for
the ACE is replaced by a full PID controller in figure 3.24 followed by its
response in figure 3.25 for both frequency and power deviations.
Figure 3.24 Simulink block diagram of two area system with both AGC and ACE loops with full PID
controller used instead of the I term only.
43
LFC
-3
x 10
Delta w1
2
Delta w2
-2
Frequency [pu]
-4
-6
-8
-10
0 5 10 15 20 25
Time [sec]
0.35
Delta Pm1
Delta Pm2
0.3
Delta P12
0.25
0.2
0.15
Power [pu]
0.1
0.05
-0.05
-0.1
0 5 10 15 20 25
Time [sec]
44
LFC
Comparing between the responses of both the I term and the full PID controller,
we can observe that the response of the PID controller is more satisfactory
according to the optimized step response characteristics, including lower
overshoot, less vibration, lower rise time and settling time and almost zero steady-
state error.
There are several factors that affect the power generation at minimum cost;
these are efficiencies, fuel cost, and transmission losses and other many factors.
Many types of programs were developed to find the optimal dispatch of generation
of an interconnected power system [2] [8].
With the development of control theory, several concepts are included in the
AGC which go beyond the simple tie-line bias control. The fundamental approach
is the use of more extended mathematical models. Other concepts of the modern
control theory are being employed, such as state estimation and optimal control
with linear regulator utilizing constant feedback gains.
45
LFC
46
LFC
REFERENCES:
47