POWER SYSTEM
CHAPTER 1
1.1 INTRODUCTION
Nowadays, electricity generation is very important because of its increasing
necessity and enhanced environmental awareness such as reducing pollutant emissions.
The dynamic behavior of the system depends on disturbances and on changes in the
operating point. The quality of generated electricity in power system is dependent on the
system output, which has to be of constant frequency and must maintain the scheduled
power and voltage. Therefore, load frequency control, LFC, is very important in order to
supply reliable electric power with good quality for power systems. The wind- micro
hydro diesel system is one of the hybrid systems utilizing more than one energy source.
For the increasing demand of electricity due to developments at a faster rate, it is
becoming difficult to meet the increasing demand of electricity only with conventional
sources.
In most remote and isolated areas, electric power is often supplied to the
local community by diesel generators. However, diesel generators cause significant
impacts on the environment. [2]. Due to the environmental and economic impacts of a
diesel generator, interest in alternative cost-efficient and pollution free energy generation
has grown enormously. Currently, wind is the fastest growing and most widely utilized
renewable energy technology in power systems. Wind power is economically attractive
when the wind speed of the proposed site is considerable for electrical generation and
electric energy is not easily available from the grid [1]. Wind power is intermittent due to
worst case weather conditions, so wind power generation is variable and unpredictable.
Wind power is not fully controllable and their availability depends on daily and seasonal
patterns [3]. As a result, conventional energy sources such as diesel generators are used in
conjunction with renewable energy for reliable operation. The hybrid wind power with
diesel generation has been suggested by [2] and [3] to handle the problem above. To meet
the increasing load demand for an isolated community, expansion of these hybrid power
systems is required. One possible option available is to add a micro hydro generating unit
in parallel, where water streams are abundantly available.
Dr. KVSRIT
Department of EEE
Page
Dr. KVSRIT
Department of EEE
Page
Dr. KVSRIT
Department of EEE
Page
CHAPTER 2
2.1 INTRODUCTION TO FUZZY LOGIC:
In recent years, the number and variety of applications of fuzzy logic have
increased significantly. The applications range from consumer products such as cameras,
camcorders, washing machines, and microwave ovens to industrial process control,
medical instrumentation, decision-support systems, and portfolio selection.
To understand why use of fuzzy logic has grown, you must first understand what
is meant by fuzzy logic.
Fuzzy logic has two different meanings. In a narrow sense, fuzzy logic is a logical
system, which is an extension of multivalve logic. However, in a wider sense fuzzy logic
(FL) is almost synonymous with the theory of fuzzy sets, a theory which relates to classes
of objects with unsharp boundaries in which membership is a matter of degree. In this
perspective, fuzzy logic in its narrow sense is a branch of fl. Even in its more narrow
definition, fuzzy logic differs both in concept and substance from traditional multivalve
logical systems.
In fuzzy Logic Toolbox software, fuzzy logic should be interpreted as FL, that is,
fuzzy logic in its wide sense. The basic ideas underlying FL are explained very clearly
and insightfully in Foundations of Fuzzy Logic. What might be added is that the basic
concept underlying FL is that of a linguistic variable, that is, a variable whose values are
words rather than numbers. In effect, much of FL may be viewed as a methodology for
computing with words rather than numbers. Although words are inherently less precise
than numbers, their use is closer to human intuition. Furthermore, computing with words
exploits the tolerance for imprecision and thereby lowers the cost of solution.
Another basic concept in FL, which plays a central role in most of its
applications, is that of a fuzzy if-then rule or, simply, fuzzy rule. Although rule-based
systems have a long history of use in Artificial Intelligence (AI), what is missing in such
systems is a mechanism for dealing with fuzzy consequents and fuzzy antecedents. In
fuzzy logic, this mechanism is provided by the calculus of fuzzy rules. The calculus of
fuzzy rules serves as a basis for what might be called the Fuzzy Dependency and
Command Language (FDCL). Although FDCL is not used explicitly in the toolbox, it is
Dr. KVSRIT
Department of EEE
Page
effectively one of its principal constituents. In most of the applications of fuzzy logic, a
fuzzy logic solution is, in reality, a translation of a human solution into FDCL.
A trend that is growing in visibility relates to the use of fuzzy logic in
combination with neuro computing and genetic algorithms. More generally, fuzzy logic,
neuro computing, and genetic algorithms may be viewed as the principal constituents of
what might be called soft computing. Unlike the traditional, hard computing, soft
computing accommodates the imprecision of the real world.
The guiding principle of soft computing is: Exploit the tolerance for imprecision,
uncertainty, and partial truth to achieve tractability, robustness, and low solution cost. In
the future, soft computing could play an increasingly important role in the conception and
design of systems whos MIQ (Machine IQ) is much higher than that of systems designed
by conventional methods.
Among various combinations of methodologies in soft computing, the one that
has highest visibility at this juncture is that of fuzzy logic and neuro computing, leading
to neuro-fuzzy systems. Within fuzzy logic, such systems play a particularly important
role in the induction of rules from observations. An effective method developed by Dr.
Roger Jang for this purpose is called ANFIS (Adaptive Neuro-Fuzzy Inference System).
This method is an important component of the toolbox.
The fuzzy logic toolbox is highly impressive in all respects. It makes fuzzy logic
an effective tool for the conception and design of intelligent systems. The fuzzy logic
toolbox is easy to master and convenient to use. And last, but not least important, it
provides a reader friendly and up-to-date introduction to methodology of fuzzy logic and
its wide ranging applications.
Department of EEE
Page
In this sense, fuzzy logic is both old and new because, although the modern and
methodical science of fuzzy logic is still young, the concept of fuzzy logic relies on ageold skills of human reasoning.
Dr. KVSRIT
Department of EEE
Page
With information about how far away the subject of your photograph is, a fuzzy
logic system can focus the lens for you.
With information about how fast the car is going and how hard the motor is
working, a fuzzy logic system can shift gears for you.
To determine the appropriate amount of tip requires mapping inputs to the
appropriate outputs. Between the input and the output, the preceding figure shows a black
box that can contain any number of things: fuzzy systems, linear systems, expert systems,
neural networks, differential equations, interpolated multidimensional lookup tables, or
even a spiritual advisor, just to name a few of the possible options. Clearly the list could
go on and on.
Of the dozens of ways to make the black box work, it turns out that fuzzy is often
the very best way. Why should that be? As Lotfi Zadeh, who is considered to be the father
of fuzzy logic, once remarked: "In almost every case you can build the same product
without fuzzy logic, but fuzzy is faster and cheaper.".
Department of EEE
Page
If you have access to Simulink software, you can easily test your fuzzy system in
a block diagram simulation environment.
The toolbox also lets you run your own stand-alone C programs directly. This is made
possible by a stand-alone Fuzzy Inference Engine that reads the fuzzy systems saved from
a mat lab session. You can customize the stand-alone engine to build fuzzy inference into
your own code. All provided code is ansi compliant.
Because of the integrated nature of the mat lab environment, you can create your own
tools to customize the toolbox or harness it with another toolbox, such as the Control
System Toolbox, Neural Network Toolbox, or Optimization Toolbox software.
Dr. KVSRIT
Department of EEE
Page
Dr. KVSRIT
Department of EEE
Page
Dr. KVSRIT
Department of EEE
Page
CHAPTER 3
3.1primary Gui Tools Of The Fuzzy Logic Toolbox:
In this section we'll be building a simple tipping example using the graphical
user interface (GUI) tools provided by the Fuzzy Logic Toolbox. Although it's possible to
use the Fuzzy Logic Toolbox by working strictly from the command line, in general it's
much easier to build a system graphically. There are five primary GUI tools for building,
editing, and observing fuzzy inference systems in the Fuzzy Logic Toolbox. The Fuzzy
Inference System or FIS Editor, the Membership Function Editor, the Rule Editor, the
Rule Viewer, and the Surface Viewer. These GUIs are dynamically linked, in that changes
you make to the FIS using one of them, can affect what you see on any of the other open
GUIs. You can have any or all of them open for any given system. These are shown in
Fig.1
Department of EEE
Page
machine. If the number of inputs is too large, or the number of membership functions is
too big, then it may also be difficult to analyze the FIS using the other GUI tools.
The Membership Function Editor is used to define the shapes of all the
membership functions associated with each variable. The Rule Editor is for editing the list
of rules that defines the behavior of the system.
The Rule Viewer and the Surface Viewer are used for looking at, as opposed to
editing, the FIS. They are strictly read-only tools. The Rule Viewer is a matlab-based
display of the fuzzy inference diagram shown at the end of the last section. Used as a
diagnostic, it can show (for example) which rules are active, or how individual
membership function shapes are influencing the results. The Surface Viewer is used to
display the dependency of one of the outputs on any one or two of the inputs that is, it
generates and plots an output surface map for the system.
The five primary GUIs can all interact and exchange information. Any one of
them can read and write both to the workspace and to the disk (the read-only viewers can
still exchange plots with the workspace and/or the disk). For any fuzzy inference system,
any or all of these five GUIs may be open. If more than one of these editors is open for a
single system, the various GUI windows are aware of the existence of the others, and will,
if necessary, update related windows. Thus if the names of the membership functions are
changed using the Membership Function Editor, those changes are reflected in the rules
shown in the Rule Editor. The editors for any number of different FIS systems may be
open simultaneously. The FIS Editor, the Membership Function Editor, and the Rule
Editor can all read and modify the FIS data, but the Rule Viewer and the Surface Viewer
do not modify the FIS data in any way.
We'll start with a basic description of a two-input, one-output tipping problem.
The Basic Tipping Problem. Given a number between 0 and 10 that represents the quality
of service at a restaurant (where 10 is excellent), and another number between 0 and 10
that represents the quality of the food at that restaurant (again, 10 is excellent), what
should the tip be?
Dr. KVSRIT
Department of EEE
Page
We'll assume that an average tip is 15%, a generous tip is 25%, and a cheap tip is
5%. It's also useful to have a vague idea of what the tipping function should look like. A
simple tipping function is shown as in Fig.2. Obviously the numbers and the shape of the
curve are subject to local traditions, cultural bias, and so on, but the three rules are pretty
universal. Now we know the rules, and we have an idea of what the output should look
like. Let's begin working with the GUI tools to construct a fuzzy inference system for this
decision process.
Dr. KVSRIT
Department of EEE
Page
The following discussion walks you through building a new fuzzy inference
system from scratch. If you want to save time and follow along quickly, you can load the
already built system by typing fuzzy tipper This will load the FIS associated with the file
tipper.fis (the .fis is implied) and launch the FIS Editor. However, if you load the pre-built
system, you will not be building rules and constructing membership functions.
The FIS Editor displays general information about a fuzzy inference system.
There's a simple diagram as shown in Fig.3 that shows the names of each input variable
on the left, and those of each output variable on the right. The sample membership
functions shown in the boxes are just icons and do not depict the actual shapes of the
membership functions.
Below the diagram is the name of the system and the type of inference used. The
default, Madman-type inference, is what we'll continue to use for this example. Another
slightly different type of inference, called Surgeon-type inference, is also available.
Below the name of the fuzzy inference system, on the left side of the figure, are
the pop-up menus that allow you to modify the various pieces of the inference process.
On the right side at the bottom of the figure is the area that displays the name of an input
or output variable, its associated membership function type, and its range. The latter two
fields are specified only after the membership functions have been. Below that region are
the Help and Close buttons that call up online help and close the window, respectively. At
the bottom is a status line that relays information about the system.
To start this system from scratch, type fuzzy at the mat lab prompt. The
generic untitled FIS Editor opens, with one input, labeled input1, and one output, labeled
output1. For this example, we will construct a two-input, one output system, so go to the
Edit menu and select Add input. A second yellow box labeled input2 will appear. The two
inputs we will have in our example are service and food. Our one output is tip.
Dr. KVSRIT
Department of EEE
Page
Click once on the left-hand (yellow) box marked input1 (the box will be
highlighted in red).
In the white edit field on the right, change input1 to service and press Return.
Click once on the left-hand (yellow) box marked input2 (the box will be
highlighted in red).
In the white edit field on the right, change input2 to food and press Return.
From the File menu select Save to workspace as.. and a window appears as
shown in fig.4.
Dr. KVSRIT
Department of EEE
Page
You will see the diagram updated to reflect the new names of the input and output
variables. There is now a new variable in the workspace called tipper that contains all the
information about this system.
Leave the inference options in the lower left in their default positions for now. You've
entered all the information you need for this particular GUI. Next define the membership
Dr. KVSRIT
Department of EEE
Page
functions associated with each of the variables. To do this, open the Membership Function
Editor. You can open the Membership Function Editor in one of three ways:
Pull down the View menu item and select Edit Membership Functions....
Dr. KVSRIT
Department of EEE
Page
Department of EEE
Page
membership function, and then dragging the function with the mouse toward the outside,
for dilation, or toward the inside, for contraction. This will change the parameters
associated with that membership function.
Below the Variable Palette is some information about the type and name of the current
variable. There is a text field in this region that lets you change the limits of the current
variable's range (universe of discourse) and another that lets you set the limits of the
current plot (which has no real effect on the system).
The process of specifying the input membership functions for this two input tipper
problem is as follows:
Select the input variable, service, by double-clicking on it. Set both the Range
and the Display Range to the vector [0 10].
Select Add MFs... from the Edit menu. A window pops open as shown in Fig.7.
Use the pull-down tab to choose gaussmf for MF Type and 3 for Number of
MFs. This adds three Gaussian curves to the input variable service.
Click once on the curve with the leftmost hump. Change the name of the curve
to poor. To adjust the shape of the membership function, either use the mouse, as
described above, or type in a desired parameter change, and then click on the
membership function. The default parameter listing for this curve is [1.5 0].
Dr. KVSRIT
Department of EEE
Page
Name the curve with the middle hump, good, and the curve with the rightmost
hump, excellent. Reset the associated parameters if desired.
Select the input variable, food, by clicking on it. Set both the Range and the
Display Range to the vector [0 10].
Select Add MFs... from the Edit menu and add two trapmf curves to the input
variable food.
Click once directly on the curve with the leftmost trapezoid. Change the name of
the curve to rancid. To adjust the shape of the membership function, either use
the mouse, as described above, or type in a desired parameter change, and then
click on the membership function. The default parameter listing for this curve is
[0 0 1 3].
Name the curve with the rightmost trapezoid, delicious, and reset the associated
parameters if desired.
Next you need to create the membership functions for the output variable, tip. To create
the output variable membership functions, use the Variable Palette on the left, selecting
the output variable, tip. The inputs ranged from 0 to 10, but the output scale is going to be
a tip between 5 and 25 percent.
Use triangular membership function types for the output. First, set the Range (and the
Display Range) to [0 30], to cover the output range. Initially, the cheap membership
function will have the parameters [0 5 10], the average membership function will be [10
15 20],and the generous membership function will be [20 25 30].Your system should look
something like shown in Fig.8.
Dr. KVSRIT
Department of EEE
Page
Dr. KVSRIT
Department of EEE
Page
from a given rule. Choosing not under any variable name will negate the associated
quality. Rules may be changed, deleted, or added, by clicking on the appropriate button.
The Rule Editor also has some familiar landmarks, similar to those in the FIS
Editor and the Membership Function Editor, including the menu bar and the status line.
The Format pop-up menu is available from the Options pull-down menu from the top
menu bar -- this is used to set the format for the display. Similarly, Language can be set
from under Options as well. The Help button will bring up a MATLAB Help window.
To insert the first rule in the Rule Editor, select the following:
Poor under the variable service
Dr. KVSRIT
Department of EEE
Page
Department of EEE
Page
2, 2 (1): 1
3, 3 (1): 1
This is the version that the machine deals with. The first column in this structure
corresponds to the input variable, the second column corresponds to the output variable,
the third column displays the weight applied to each rule, and the fourth column is
shorthand that indicates whether this is an OR (2) rule or an AND (1) rule. The numbers
in the first two columns refer to the index number of the membership function. A literal
interpretation of rule 1 is: "if input 1 is MF1 (the first membership function associated
with input 1) then output 1 should be MF1 (the first membership function associated with
output 1) with the weight 1." Since there is only one input for this system, the AND
connective implied by the 1 in the last column is of no consequence.
The symbolic format doesn't bother with the terms, if, then, and so on. The
indexed format doesn't even bother with the names of your variables. Obviously the
functionality of your system doesn't depend on how well you have named your variables
and membership functions. The whole point of naming variables descriptively is, as
always, making the system easier for you to interpret. Thus, unless you have some special
purpose in mind, it will probably be easier for you to stick with the verbose format.
At this point, the fuzzy inference system has been completely defined, in that the
variables, membership functions, and the rules necessary to calculate tips are in place. It
would be nice, at this point, to look at a fuzzy inference diagram like the one presented at
the end of the previous section and verify that everything is behaving the way we think it
should. This is exactly the purpose of the Rule Viewer, the next of the GUI tools we'll
look at. From the View menu, select View rules....
Dr. KVSRIT
Department of EEE
Page
Dr. KVSRIT
Department of EEE
Page
represents the aggregate weighted decision for the given inference system. This decision
will depend on the input values for the system.
There are also the now familiar items like the status line and the menu bar. In the
lower right there is a text field into which you can enter specific input values. For the
two-input system, you will enter an input vector, [9 8], for example, and then click on
input. You can also adjust these input values by clicking anywhere on any of the three
plots for each input. This will move the red index line horizontally, to the point where you
have clicked. You can also just click and drag this line in order to change the input values.
When you release the line, (or after manually specifying the input), a new calculation is
performed, and you can see the whole fuzzy inference process take place. Where the
index line representing service crosses the membership function line "service is poor" in
the upper left plot will determine the degree to which rule one is activated. A yellow patch
of color under the actual membership function curve is used to make the fuzzy
membership value visually apparent. Each of the characterizations of each of the
variables is specified with respect to the input index line in this manner. If we follow rule
1 across the top of the diagram, we can see the consequent "tip is cheap" has been
truncated to exactly the same degree as the (composite) antecedent--this is the implication
process in action. The aggregation occurs down the third column, and the resultant
aggregate plot is shown in the single plot to be found in the lower right corner of the plot
field. The de-fuzzy fied output value is shown by the thick line passing through the
aggregate fuzzy set.
The Rule Viewer allows you to interpret the entire fuzzy inference process at
once. The Rule Viewer also shows how the shape of certain membership functions
influences the overall result. Since it plots every part of every rule, it can become
unwieldy for particularly large systems, but, for a relatively small number of inputs and
outputs, it performs well (depending on how much screen space you devote to it) with up
to 30 rules and as many as 6 or 7 variables.
The Rule Viewer shows one calculation at a time and in great detail. In this sense,
it presents a sort of micro view of the fuzzy inference system. If you want to see the entire
output surface of your system, that is, the entire span of the output set based on the entire
span of the input set, you need to open up the Surface Viewer. This is the last of our five
Dr. KVSRIT
Department of EEE
Page
basic GUI tools in the Fuzzy Logic Toolbox, and you open it by selecting View surface...
from the View menu. The Surface Viewer window pops open as shown in fig.10
Dr. KVSRIT
Department of EEE
Page
Dr. KVSRIT
Department of EEE
Page
CHAPTER 4
4.1 PI controller
The general block diagram of the PI speed controller is shown in Figure 2 [14].
The output
Of the speed controller (torque command) at n-th instant is expressed as follows:
Te (n)=Te(n1)+Kp_re(n)+Kire(n) (10)
Where Te (n) is the torque output of the controller at the n-th instant, and Kp and Ki the
proportional and integral gain constants, respectively.
A limit of the torque command is imposed as
The gains of PI controller shown in (10) can be selected by many methods such as trial
and error method, ZieglerNichols method and evolutionary techniques-based searching.
The numerical values of these controller gains depend on the ratings of the motor.
The integral term in a PI controller causes the steady-state error to reduce to zero,
which is not the case for proportional-only control in general.
Dr. KVSRIT
Department of EEE
Page
The lack of derivative action may make the system more steady in the steady state
in the case of noisy data. This is because derivative action is more sensitive to
higher-frequency terms in the inputs.
Without derivative action, a PI-controlled system is less responsive to real (nonnoise) and relatively fast alterations in state and so the system will be slower to
reach setpoint and slower to respond to perturbations than a well-tuned PID
system may be.
Like the P-Only controller, the Proportional-Integral (PI) algorithm computes and transmits
output (CO) signal every sample time, T, to the final control element (e.g., valve, variable sp
The computed CO from the PI algorithm is influenced by the controller tuning paramet
than a P-Only controller, they are not as complex as the three parameter PID controller.
Integral action enables PI controllers to eliminate offset, a major weakness of a P-only cont
PI controllers provide a balance of complexity and capability that makes them by far the m
here we explore what is variously described as the dependent, ideal, continuous, position form
Where:
CO = controller output signal (the wire out)
CObias = controller bias or null value; set by bump less transfer as explained below
e(t) = current controller error, defined as SP PV
SP = set point
Dr. KVSRIT
Department of EEE
Page
Dr. KVSRIT
Department of EEE
Page
Recalling that controller error e(t) = SP PV, rather than viewing PV and SP as separate
traces as we do above, we can compute and plot e(t) at each point in time t.
Below (click for a large view) is the identical data to that above only it is recast as a plot
of e(t) itself. Notice that in the plot above, PV = SP = 50 for the first 10 min, while in the
error plot below, e(t) = 0 for the same time period.
This plot is useful as it helps us visualize how controller error continually changes size
and sign as time passes.
Dr. KVSRIT
Department of EEE
Page
Each box in the plot has an integral sum of 20 (2 high by 10 wide). If we count the
number of boxes (including fractions of boxes) contained in the shaded areas, we can
compute the integral sum of error.
So when the PV first crosses the set point at around t = 32, the integral sum has grown to
about 135. We write the integral term of the PI controller as:
Dr. KVSRIT
Department of EEE
Page
Since it is controller error that drives the calculation, we get a direct view the situation
from a controller error plot as shown below (click for a large view):
Note that the integral of each shaded portion has the same sign as the error. Since the
integral sum starts accumulating when the controller is first put in automatic, the total
integral sum grows as long as e(t) is positive and shrinks when it is negative.
At time t = 60 min on the plots, the integral sum is 135 34 = 101. The response is
largely settled out at t = 90 min, and the integral sum is then 135 34 + 7 = 108.
Dr. KVSRIT
Department of EEE
Page
that CO will always equal CObias unless we add or subtract something from it.
The only way we have something to add or subtract from CO bias in the P-Only equation
above is if e(t) is not zero. It e(t) is not steady at zero, then PV does not equal SP and we
have offset.
However, with the PI controller:
we now know that the integral sum of error can have a final or residual value after a
response is complete. This is important because it means that e(t) can be zero, yet we can
still have something to add or subtract from CObias to form the final controller output, CO.
So as long as there is any error (as long as e(t) is not zero), the integral term will grow or
shrink in size to impact CO. The changes in CO will only cease when PV equals SP
(when e(t) = 0) for a sustained period of time.
At that point, the integral term can have a residual value as just discussed. This residual
value from integration, when added to CObias, essentially creates a new overall bias value
that corresponds to the new level of operation.
In effect, integral action continually resets the bias value to eliminate offset as operating
level changes. PI-controllers have been applied to control almost any process one could
think of, from aerospace to motion control, from slow to fast systems. With changes in
system dynamics and variation in operating points PI-controllers should be retuned on a
regular basis. Adaptive PI-controllers avoid time-consuming manual tuning by providing
optimal PI-controllers settings automatically as the system dynamics or operating points
change[2]. There are various conventional methods used for tuning of PI-controller such
as :
Dr. KVSRIT
Department of EEE
Page
It is quite time consuming if a large number of trial are required or if the process
dynamics are slow. Testing can be expensive because of lost productivity or poor product
quality
Continuous cycling may be objectionable because the process is pushed to the stability
limit. Consequently, if external disturbances or a change in the process occurs during
controller tuning an unstable operation or a hazardous situation could result. The tuning
process is not applicable to processes that are open loop because such processes typically
are unstable at high and low values of Kc but are stable at intermediate range values.
This information is an analogy of knowledge of how the other agents around them have
performed. Namely, each agent tries to modify its position as shown in Fig. (1).
Dr. KVSRIT
Department of EEE
Page
Dr. KVSRIT
Department of EEE
Page
CHAPTER 5
MODELING OF PROPOSED THEORY
5.1 SYSTEM MODEL DESCRIPTION
The schematic block diagram of the isolated wind-micro hydro-diesel hybrid power
system is shown in Fig-1. In the hybrid system considered, synchronous generator is connected
on diesel-generator (DG) and induction generators connected on wind turbine and hydro
turbine[10]. Moreover, the Blade pitch controller is installed in the wind side while the governor
is equipped with the diesel side. In the wind-turbine generating unit, the ANFIS based NeuroFuzzy controller is designed as a supplement controller for the pitch control, which constantly
maintains the wind power generation . For the diesel generating unit, the ANFIS based NeuroFuzzy controller is designed to improve the performance of governor. The proposed NeuroFuzzy controller uses the system frequency deviation of the power system as a feedback input on
diesel side, so that it can offset the mismatch between generation and load demand by adjusting
the speed changer position.
Nomenclature:
Fs - deviations in system frequency
FT - speed of the wind-turbine induction generator.
PGD deviation in diesel power generation
PGW - deviation in wind power generation
PGH - deviation in hydro power generation
P
IW - deviation in input power
PIH - deviation in micro hydro power
Dr. KVSRIT
Department of EEE
Page 38
The transfer function block diagram of a wind- micro hydrodiesel hybrid power system with
Neuro-Fuzzy controller used in this study is shown in Fig-2. The input power to the windpower
Dr. KVSRIT
Department of EEE
Page 39
generating unit is not controllable in the sense of generation control, but a supplementary
controller known as LFC can control the generation of the diesel unit and thereby of the system.
The transfer function block diagram of this hybrid system includes the LFC and also the bladepitch controller with ANFIS based Neuro-Fuzzy controller. The dynamics of the wind power
generating unit is described by a first order system. The continuous time dynamic behavior of the
load frequency control system is modeled by a set of state vector differential equations.
(1)
Where X, U and p are the state, control and disturbance vectors, respectively. A, B and are real
constant matrices, of the appropriate dimensions, associated with the above vectors.
Figure-2: Simulink model of wind -micro hydro- diesel hybrid system with ANFIS based NeuroFuzzy controller
Dr. KVSRIT
Department of EEE
Page 40
Among the various types of load-frequency control, the PI controller is most widely applied to
speed-governor systems for LFC schemes [1 7]. One advantage of the PI controller is that it
reduces the steady-state error to zero. Fig-3 shows the block diagram of conventional PI
controller.
Figure-3:
Block
diagram
of
conventional
PI
controller
Mathematically it is represented as
(2)
However, since the conventional PI controller with fixed gains has been designed at nominal
operating conditions, it fails to provide the best control performance over a wide range of
operating conditions and exhibits poor dynamic performance. To solve this problem, Fuzzy
Logic techniques have been proposed in [6],[11]-[1 4]. System operating conditions are
monitored and used as inputs to a fuzzy system whose output signal controls the inputs to
governor for increasing or decreasing the generation for maintaining the system frequency.
Dr. KVSRIT
Department of EEE
Page 41
CHAPTER 6
fuzzy
system
knowledge
base
consists
of
fuzzy
IF-THEN
rules and membership functions characterizing the fuzzy sets. The Fuzzy Logic Controller
considered here for comparison is based on Mamdani inference model. The LFC problem
considered here is composed of the sudden small load perturbations or a change in input wind
power which continuously disturb the normal operation of a power system. Hence, the deviations
of frequency must be controlled.
6.2 Fuzzification
Fuzzification is the process of transforming real-valued variable into a fuzzy set variable.
Fuzzy variables depend on nature of the system where it is implemented.
6.3 De-Fuzzification
The purpose of De-fuzzification is to convert the output fuzzy variable to a crisp value,
So that it can be used for control purpose. It is employed because crisp control action is
required in practical applications. Fig-4 shows the block diagram of Fuzzy logic controller
designed for comparison.
Dr. KVSRIT
Department of EEE
Page 42
Dr. KVSRIT
Department of EEE
Page 43
Dr. KVSRIT
Department of EEE
Page 44
CHAPTER 7
7.1 ADAPTIVE NEURO-FUZZY INFERENCE SYSTEM (ANFIS)
ANFIS is a multi-layer adaptive neural network-based fuzzy inference system[19].
ANFIS algorithm is composed of fuzzy logic and neural networks with 5 layers to implement
different node functions to learn and tune parameters in a fuzzy inference system (FIS) structure
using a hybrid learning mode. In the forward pass of learning, with fixed premise
parameters, the least squared error estimate approach is employed to update the consequent
parameters and to pass the errors to the backward pass. In the backward pass of learning, the
consequent parameters are fixed and the gradient descent method is applied to update the
premise parameters. Premise and consequent parameters will be identified for membership
function (MF) and FIS by repeating the forward and backward passes. Adaptive Neuro-Fuzzy
Inference Systems are fuzzy Sugeno models put in the framework of adaptive systems to
facilitate learning and adaptation [19]. Such framework makes FLC more systematic and less
relying on expert knowledge. To present the ANFIS architecture, let us consider two-fuzzy
rules based on a first order Sugeno model:
Rule
1:
if
(x
is
A1)
and
(y
is
B1)
then
(f1
p1x
q1y
r1)
where x and y are the inputs, Ai and Bi are the fuzzy sets, fi are the outputs within the fuzzy
region specified by the fuzzy rule, pi, qi and ri are the design parameters that are
determined during the training process. Out of the five layers, the first and the fourth layers
consist of adaptive nodes while the second, third and fifth layers consist of fixed nodes. The
adaptive nodes are associated with their respective parameters, get duly updated with each
subsequent iteration while the fixed nodes are devoid of any parameters. The ANFIS architecture
to implement these two rules is shown in Fig. 6.
Dr. KVSRIT
Department of EEE
Page 45
Layer 1: fuzzification layer Every node I in the layer 1 is an adaptive node. The outputs of layer
1 are the fuzzy membership grade of the inputs, which are given
where x and y is the inputs to node i, where A is a linguistic label (small, large) and where Ai
(x), Bi-2 (y) can adopt any fuzzy membership function.
Layer 2: rule layer a fixed node labeled M whose output is the product of all the incoming
signals, The outputs of this layer can be represented as:
(5)
Department of EEE
Page 46
Layer 3: normalization layer are also fixed node is a circle node labeled N
(6)
Layer 4: defuzzification layer an adaptive node with a node .The output of each node in this
layer is simply the product of the normalized firing strength and a first order polynomial.
(7)
Layer5: summation neuron a fixed node which computes the overall output as the summation of
all incoming signals.
(8)
Dr. KVSRIT
Department of EEE
Page 47
CHAPTER 8
8.1 NEURO-FUZZY CONTROLLER
The development of the control strategy to control the frequency deviation of the windmicro hydro-diesel hybrid power system using the concepts of ANFIS control scheme is
presented here.. The neuro-fuzzy method combines the advantages of neural networks and fuzzy
theory to design a model that uses a fuzzy theory to represent knowledge in an interpretable
manner and the learning ability of a neural network to optimize its parameters . The proposed
controller
integrates fuzzy logic algorithm with a structure of artificial neural network (ANN) five-layer in
order to reap the benefits of both methods .ANFIS is a specific approach in neuro-fuzzy
development which was first introduced by Jang [1 9]. To start with, we design the controller
using the ANFIS scheme. The model considered here is based on Takagi-Sugeno Fuzzy inference
model. The block diagram of the proposed ANFIS based Neuro-Fuzzy controller for wind-micro
hydro-diesel hybrid power system consists of 4 parts, viz., fuzzification, knowledge base, neural
network and the de-fuzzification blocks, shown in Fig-7.
Department of EEE
Page 48
In the proposed paper, inputs to the ANFIS considered are error(Fs) and change in error(Fs)
whereas the output is the corresponding signal to the governor. Steps to design the Neuro-Fuzzy
Controller are as given below:
1. Draw the Simulink model with FLC (Takagi-Sugeno inference model) and simulate it with 7
membership functions for the two inputs(error(Fs) and change in error(Fs)) and with the
given rule base.
2. Collect the training data while simulating with FLC to design the Neuro-Fuzzy controller.
3. The two inputs, i.e., error(Fs) and change in error(Fs) and the output signal gives the
training data.
4. Use anfisedit to create the Neuro-Fuzzy FIS file.
5. Load the training data collected in Step.1 and load the Neuro-Fuzzy FIS file.
6.Choose the hybrid learning algorithm.
7. Train the collected data with generated FIS up to a particular no. of Epochs.
Fig-8 shows the ANFIS structure for the designed Neuro Fuzzy controller.
Figure 8. ANFIS model structure for LFC of wind-micro hydro-diesel hybrid power system
Dr. KVSRIT
Department of EEE
Page 49
CHAPTER 9
9.1 SIMULATION AND ANALYSIS
Simulations were performed using the proposed ANFIS based Neuro-Fuzzy controller ,
Fuzzy Logic controller (FLC Mamdani model) and the conventional PI controller to the windmicro hydro-diesel hybrid power system. All the performance criteria s such as settling time,
overshoot and zero steady state are considered to get minimized for all the cases such as change
in frequency, change in wind power, change in diesel power and change in hydro power during
various load disturbances to get the optimum performance of the wind- micro hydro-diesel
hybrid power system. The same system parameters given in Tables 1 were used for the above
three controllers for comparison. Simulation is carried out for 1 % ,2%, 3%,4% and 5%
step increase in the power load ( PL=0.01 p.u. ,0.02 p.u.,0.03 p.u.,0.04 p.u. and 0.05 p.u.) at t =
0s . The overshoot and setting time of proposed ANFIS based Neuro-Fuzzy controller are lower
than those of Fuzzy logic controller and conventional PI controller. The change in frequency of
the system, change in wind power generation, change in diesel power generation and change in
hydro power generation for 0.02 p.u. step load change is shown in Fig-9(a),9(b),9(c) and 9(d)
respectively. And the change in frequency of the system, change in wind power generation,
change in diesel power generation and change in hydro power generation for 0.04 p.u. step load
change is shown in Fig-10(a),10(b),10(c) and 10(d).
Dr. KVSRIT
Department of EEE
Page 50
Dr. KVSRIT
Department of EEE
Page 51
Fig-9(a) : Frequency deviation of the hybrid system for the step load change.
Fig-9(b) Change in wind power generation for the step load change.
Dr. KVSRIT
Department of EEE
Page 52
Fig-9(c) Change in diesel power generation for the step load change.
Fig-9(d) Change in hydro power generation for the step load change .
Dr. KVSRIT
Department of EEE
Page 53
Fig-10(f) Change in wind power generation for the step load change.
Dr. KVSRIT
Department of EEE
Page 54
Fig-10(g) Change in diesel power generation for the step load change.
Fig-10(h) Change in hydro power generation for the step load change.
Dr. KVSRIT
Department of EEE
Page 55
Fig-10(j) Change in wind power generation for the step load change.
Dr. KVSRIT
Department of EEE
Page 56
Fig-10(k) Change in diesel power generation for the step load change.
Fig-10(l) Change in hydro power generation for the step load change.
Dr. KVSRIT
Department of EEE
Page 57
CHAPTER 10
10.1CONCLUSION
The Neuro-Fuzzy controller is designed for Load frequency control of an isolated windmicro hydro-diesel hybrid power system, to regulate the frequency deviation and power
deviations, based on Adaptive Neuro-Fuzzy Inference System (ANFIS) architecture.
Performance comparison of the proposed paper indicates that the system response of the Load
Frequency Control with the application of ANFIS based Neuro-Fuzzy controller has a quite
shorter settling time. The results obtained by using ANFIS based NeuroFuzzy controller
proposed in this paper outperform than those of conventional PI controller and the fuzzy logic
controller by its hybrid learning algorithm. The main advantage of designing the ANFIS based
Neuro-Fuzzy controller is to control the frequency deviation and power deviation of the windmicro hydro-diesel hybrid power system and to increase the dynamic Performance. It has been
shown that the proposed controller is effective and provides significant improvement in system
performance by combing the benefits of Fuzzy logic and neural networks. The proposed
controller maintains the system reliable for sudden load changes and proves its superiority.
Dr. KVSRIT
Department of EEE
Page 58
CHAPTER 11
11.1 REFERENCES
[1] Ackermann, T., Wind power in power systems, John Wiley & Sons Ltd, 2005
[2] Ray Hunter, George Elliot, Wind-Diesel Systems; A guide to the technology and its
implementation, Cambridge university Press, 1994.
[3] Lipman, N.H., Wind-diesel and autonomous energy systems, Elservier Science Publishers
Ltd, 1989
[4] O.I. Elgerd and C. Fosha, Optimum megawatt frequency control of multi-area electric
energy systems, IEEE Trans Power Appl Syst 89 (4) (1970), pp. 556563.
[5]T.S Bhatti, A.A.F. AlAdemi and N.K. Bansal, Load Frequency Control of Isolated Wind
Diesel Hybrid Power System, Energy Conver.Mgnt Vol. 38. No. 9. pp. 829-837,1997
[6] Soundarrajan. A et al, Intelligent controllers for Automatic Generation Control,
Proceedings of The International conference on Robotics, Vision, Information and signal
processing, Malaysia, 2003, 307-311.
[7] P. Kundur, Power System Stability & Control. Tata McGraw Hill, New Delhi, Fifth reprint
2008,pp 581 -626
[8] Saadat, Hadi; Power System Analysis McGraw Hill,1999
[9] C.E. Fosha and O.I. Elgerd, The megawatt frequency control problem: a new approach via
optimal control theory, IEEE Trans Power Appl Syst 89 (4) (1970), pp. 563577.
[10] R.C. Bansal, T.S. Bhatti, D. P. Kothari, A bibliographical survey on induction generators
for application of non-conventional energy systems, IEEE Transactions on Energy Conversion.
18, (2003) 433-439.
[11] B. Anand and A. Ebenezer Jeyakumar Load Frequency Control with Fuzzy Logic
Controller Considering Non Linearities and Boiler Dynamics ICGST-ACSE Journal, ISSN
1687-4811, Volume 8, Issue III, January 2009
[1 2] Ertugrul Cam, Application of fuzzy logic for load frequency control of hydroelectrical
power plants, Energy Conversion and Management 48 (2007) 1281 1288
[1 3]Ertugrul Cam ,Ilhan Kocaarslan, Load frequency control in two area power systems using
fuzzy logic controller, Energy Conversion and Management 46 (2005) 233243
[1 4]A. Soundarrajan, S. Sumathi, Effect of Non-linearities in Fuzzy Based Load Frequency
Dr. KVSRIT
Department of EEE
Page 59
Dr. KVSRIT
Department of EEE
Page 60