You are on page 1of 7

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/3284889

AI automates substation control

Article  in  IEEE Computer Applications in Power · February 2002


DOI: 10.1109/67.976991 · Source: IEEE Xplore

CITATIONS READS

7 1,303

3 authors, including:

Melvin Ayala Galdenoro Botura Junior


University of Miami São Paulo State University
53 PUBLICATIONS   572 CITATIONS    207 PUBLICATIONS   194 CITATIONS   

SEE PROFILE SEE PROFILE

Some of the authors of this publication are also working on these related projects:

Inclusion and Quality of Life of the Elderly View project

Electrical Engineering at UEL View project

All content following this page was uploaded by Galdenoro Botura Junior on 28 August 2018.

The user has requested enhancement of the downloaded file.


Melvin Ayala S., Galdenoro
Botura Jr., Oscar A. Maldonado A.

Controlling a substation by a
fuzzy controller speeds up the
response time and diminishes
the possibility of risks normally
©EYEWIRE

related to human operations

lectric substations are facilities in charge of the Selection of the magnitudes to be controlled

E

voltage transformation to provide safe and effective ■ Definition and implementation of the soft tech-
energy to the consumers. This energy supply has to niques
be carried out with sufficient quality and should guaran- ■ Elaboration of a programming tool to execute the
tee the equipment security. The associated cost to control operations
ensure quality and security during the supply in substa- ■ Selection, acquisition and installation of the mea-
tions is high. Automatic mechanisms are generally used surement and control equipment
in greater or lesser scale, although they mostly operate ■ Interface with this equipment and
according to an individual control and protection logic ■ Application of the controlling technique in existent
related with the equipment itself and not with the topol- substations.
ogy of the whole substation in a given moment. Our research has focused on the first three points,
The automation of electric substations is an area and the interest of the present work is to expose the
under constant development. Nevertheless, the control obtained results and to present them for discussion. The
of a substation is a very complex task due to the great objective is to show that it is possible to control the sta-
number of related problems and, therefore, the decision tus of circuit breakers (CB) in a substation making use of
variables that can influence the substation performance. a knowledge base that relates some of the operation
Under such circumstances, the use of learning control magnitudes, mixing status variables with time variables
systems can be very useful. and fuzzy sets.
Many papers on applications of artificial intelligence Even when all the magnitudes to be controlled cannot
(AI) techniques to power systems have been published be included in the analysis (mostly due to the great num-
in the last years. The difficulties associated with the ber of measurements and status variables of the substa-
application of this technique include: tion and, therefore, to the rules that would be required
by the controller), it is possible to control the desired
M. Ayala A. is with the Electric Test and Research Center Havana,
Cuba. G. Botura Jr. and O.A. Maldonado A. are with the University status while supervising some important magnitudes as
of the Whole State of São Paulo (UNESP), Guaratinguetá Campus, the voltage, power factor, and harmonic distortion, as
São Paulo, Brazil. well as the present status.

ISSN 0895-0156/02/$17.00©2002 IEEE January 2002 41


Figure 1. Schema of the experimental substation under study

Pla nt Description and switches, the goal is to allow the control of the five
The system under study represents a test substation selected CBs (in the output bar) according to some con-
with two 30 kVA three-phase transformers, two CBs, two figurations and measurements of the observation vari-
switches, three current transformers, and two potential ables. Initially, the computer-aided system will try to
transformers. It also contains an auto transformer (to control the plant and will send alarm signals when it can-
regulate the input voltage) as well as an impedance to not find a solution, waiting for the human intervention.
simulate the existence of a transmission line. The input So it will learn how the human operator reacts to the
voltage and the output voltage are the same (220 V). inputs and will generate the corresponding behavior
This characteristic was selected in order to analyze the rules. In this way, the system will replace gradually the
operation of the controller in a laboratory scale in a sec- human operator.
ond stage of the development of the present work.
Controller Design

Definition of the Input and Output Variables


There is a great number of variables that can be chosen
to control a substation. Nevertheless, a limited number
of variables was selected for this study.
The following input variables have been defined:
■ Vout: Voltage at output bus, phase A (V)
■ PF: Power factor at output bus, phase A
■ THDv(%): Total voltage harmonic distortion at out-
put bus (%)
■ Tv,t (s): Amount of time the voltage Vout is in range
[114.3 V; 119.5 V] (tolerance zone)
Figure 2. Allowed times for voltage ranges ■ Tv,nt (s): Amount of time the voltage Vout is below
114.3 V (alert zone).
Therefore, the first transformer increases the voltage to
In selecting the variables, several aspects were kept in
a value of 13.2 kV, while the second lowers it again to 220
mind. For example, the voltage influences in the connec-
V. A fixed filter, an automatic filter for the control of the
tion and disconnection of loads when its value leaves
power factor and the regulation of the voltage, and three
some ranges during certain time. These ranges are repre-
feeding lines with diverse types of loads of different
sented in Figure 2.
nature (including nonlinear loads) are connected
A decrease of the voltage 7.5% below the nominal
through CBs to the output bar. Figure 1 shows the pro-
value is allowed during a certain time (for example, 10
posed outline.
min), while from 10% on, the maximal allowed time is
Since the control elements in substations are the CBs much smaller (for example, 20 s). In case these limits are

42 IEEE Computer Applications in Power


The status of circuit breakers can be controlled by using a knowledge
base that relates some of the operation magnitudes, mixing status
variables with time variables and fuzzy sets

exceeded, loads will be disconnected in an established puts are also sent by digital lines to the CB relays.
preference order. The reconnection of loads will occur For the definition of sets, triangular and trapezoidal
when the voltage arrives at values above the tolerance shape functions were used.
interval, i.e., the normal interval. The status variables were not fuzzified because their
On the other hand, the power factor and the total volt- measurements are not provided with uncertainty. They
age harmonic distortion influence the connection and can only accept two values: 0 and 1.
disconnection of capacitors and filters. These variables The time the voltage is in tolerable and not tolerable
can be read by means of sensors and/or transducers, ranges is supervised through the event counters.
including signal conditional accessories and directed to
the data acquisition card (DAC) by means of analog Rule System
lines. In this example, the currents and voltages in each The syntax of each rule can be expressed for example as
phase are not kept in mind due to the great number of follows:
rules that would be required by the controller.
The CBs were defined as status variables. The switches IF
were not included in this study, because their status is (V is Tolera b le) a nd (PF is Low ) a nd (THD is Tolera b le)
a nd (Tv,t is Ac c ep ta b le) a nd (Tv,nt is Zero)
only important for switching and not for control purposes. a nd (Present top olog y is 00110)
The following status variables were defined: THEN
■ Df: Status of the CB connecting the fixed filter (Desired top olog y is 10110)
■ Dc: Status of the CB connecting the controlled filter
■ Dl1, Dl2, Dl3: Status of the CBs connecting the load
The topology is expressed as a five-digit binary num-
feeders 1, 2, and 3. ber that refers to the five CBs in the following order:
■ First digit: CB of the fixed filter
Each combination of status variables defines a topolo-
■ Second digit: CB of the controller filter
gy and is an input for the controller. Possible values for
each status variable are 0 (open) and 1 (closed). ■ Third digit: CB of the first load (priority one)

Thus, what is intended to control is the moment when ■ Fourth digit: CB of the second load (priority two)

the filters and the loads should be connected or discon- ■ Fifth digit: CB of the third load (priority three).
nected by means of signals that are sent to the CBs. The In simple words, the rule expressed above means: If
controlled filter, once connected, will maintain its func- the present topology is 00110 (i.e., both filters are dis-
tionality as an automatic filter in dependence of the pre- connected and only load 1 and 2 are connected) and the
sent harmonic distortion over the time. In case of a following situation is found:
disconnection of some filter due to overcurrents, the ■ Voltage is tolerable
controller can activate connection rules after some time ■ Power factor is low
that can be freely defined before the controller starts. ■ Total harmonic distortion is tolerable
The actions to carry out as a response to distur- ■ Voltage has been in a tolerable zone for an accept-
bances in the measurements (values out of normal able time
ranges) are dependent not only on the characteristics of ■ Voltage has not yet entered a not acceptable zone
the disturbances, but also on the present topology of the then the desired topology is 10110, which means that we
substation, i.e., on the values of the present status vari- must switch in the fixed filter.
ables. For example, the connection of the controlled fil- To establish the connection and disconnection rules
ter can only occur when the fixed filter is connected. of the loads, it was attributed to load 1 the biggest pref-
Similarly, the disconnection of the fixed filter can only erence and to load 3 the smallest.
occur after the controlled filter has been disconnected. The definition of the analog variables was carried out
The status variables are input and also output vari- using the following terms:
ables. Each CB will maintain its standard protection func- ■ For Vout, the fuzzy sets: NT (not tolerable), T (toler-
tion against overcurrents. Since signals to these devices able), N (normal)
are sent by means of additional relays to activate the ■ For PF, the fuzzy stes: L (low), T (tolerable), H
CBs, they can be reassembled to have the ability to be (height)
controlled in parallel. ■ For THDv, the fuzzy sets: L (low), T (tolerable), H
The status variables are read by sensors and/or trans- (height)
ducers and connected to digital lines to a DAC. The out- ■ For Tv,t, the crisp sets: Z (zero), A (acceptable), NA

January 2002 43
During the inference
process, the member-
ship degree corre-
sponding to each
column in the rule is
calculated. The type of
the output of this func-
tion in the universe of
Figure 3. Sets definition for the decision variables (Fuzzi sets for Vout, PF and THDv; crisp sets discourse depends on
for Tv,t and Tv,nt)
the variable type and
(not acceptable) on the selected term.
■ For Tv,nt: Z (zero), A (acceptable), NA (not accept- The rule extraction takes place each time the con-
able). troller does not find any rule in the rule base with a fire
Figure 3 shows the defined sets for each input variable. degree bigger than zero, and, as a result, an alarm requir-
In the present work, a preliminary calculation of the ing an operator action is sent.
maximum number of rules yields that 7,776 rules are nec-
essary in order to start the controller. However, this Inference Module
number could be reduced notably by keeping in mind The controller outputs are decided by searching in the
that, among the 32 available states, not all can be consid- rule base. In this step, called inference, the fire degree of
ered as possible. This way, only 9 topologies have been each rule is calculated.
found as possible, decreasing to 2,187 the maximum num- Since the consequence part in each rule only deals
ber of necessary rules so that the controller can totally with status variables whose values are crisp numbers (0
replace the human operator. Nevertheless, this number and 1), use of defuzzification methods is not necessary.
was reduced with the inclusion of some initial rules. Therefore, the controller output in each case will be the
Initial Rule Base. In case there exists a knowledge consequent part of the rule with the biggest fire degree.
base on the plant to be controlled, some rules can be
included as a starting point. The initial knowledge base Operation Modus of the Controller
can be defined in such a way that diminishes the neces- The controller operation can be carried out in two ways.
sary number of rules for the controller to work properly. Following the typical way the controllers run, it can be
placed in operation with a completed rule base, totally
replacing the human operator. Nevertheless, it can be
started with an empty or incomplete rule base, which
means that it will activate a learning mechanism. This
way, the controller will complete step by step the opera-
tion rules and at the same time will replace the human
operator. A representation of the controller function can
be viewed in Figure 5.
Figure 4. Some of the first 144 rules as they are presented to For the disconnection of loads when the voltage
the software diminishes, the following steps can be processed as an
automatic response of some devices:
Ta ble 1. Setup of the feed-forwa rd ANN
■ Automatic tap change in transformers
La yer Number of Neurons Type of Activa tion ■ Voltage regulation in the auto transformer.
Function If all these possibilities have been tried and the volt-
1 Num b er of inp ut sets = 20 Linea l (inp ut = outp ut) age continues being low, then operator outputs are
2 2 * (Num b er of inp ut sets) + 1 = 41 Sig m oid a l processed.
3 Num b er of sta te va ria b les = 5 Sig m oid a l To avoid interference with this response, the execu-
tion of controller outputs (i.e., status changes of the CBs)
This happens in most cases where some situations are can be postponed each time for one sampling interval,
not possible. In the presented study, 144 initial rules provided the inference in the next sampling time yields
were included (Figure 4), all in form of extended rules the necessity of status changes.
(including one term U, which indicates that the attribute In case the system cannot find a satisfactory solution
can take any value). because no rule could be fired, the system sends an alarm to
Automatic Rule Extraction. The rule base represents the operator. He will have some time to decide what action
the knowledge base of the controller. The proposed to take using the switch components on the PC screen.
approach is able to start the operation with an empty or If the operator action does not arrive during this time
uncompleted rule base. limit (either due to delays or to operator absence), then

44 IEEE Computer Applications in Power


the controller will execute a protection rule previously between zero and one; thus, the controller will round
defined, which could be, for example, the total discon- these results to an integer-type value in order to find the
nection of the substation. After saturation of the knowl- proposed status for the CBs.
edge base or after a certain operating time, the system
will generate and train an artificial neural network Experimenta l Results
(ANN), in order to replace the rule base. To carry out the experiment, a software for the platform
Windows 9x/2000 using Delphi was elaborated. Signal
Substitution of the Inference Engine generators for the analog input variables were used.
by an Artificial Neural Network The experiment was started with normal values of
According to the type and the number of initial rules measurements starting from the status 00111. During the
as well as the number of existent linguistic variables, first 400 measurements, 243 actions could not be deter-
the system will calculate the maximum number of pos- mined by the controller, i.e., the answers were given by
sible rules. an expert, and, as a result, 243 new controller rules were
When arriving at this number or time limit, the system extracted.
will start a module, where a feed-forward ANN with a hid- Figure 6 shows the status behavior of the plant during
den layer will be generated and trained with a codified the first 400 sam-
rule base. pling times with Ta ble 2. Frequency of topologies obta ined
This way, the system will try to diminish the time the extreme simulated during the first 400 system opera tions
controller needs for the inference, avoiding searching in variations in the Topology Frequency
an extensive knowledge base. Once the network has inputs. The status 0 (=00000) 0.019
been trained, the inference will be carried out by means frequency is shown 4 (=00100) 0.009
of this network and not through the rule base. in Table 2. 6 (=00110) 0.102
Each training pattern is coded with binary digits (0, 1). The following 7 (=00111) 0.046
In the case of the analog variables, these digits are the can be said about 20 (=10100) 0.93
codification of the sets in each rule. the comparison of 22 (=10110) 0.056
The network of the present example is a feed-forward the plant behavior 23 (=10111) 0.009
network built by 20 neurons in the input layer, 41 neu- with and without 28 (=11100) 0.491
rons in the hidden layer, and 5 neurons in the exit layer the controller. This 30 (=11110) 0.157
(Table 1). control system has 31 (=11111) 0.019
The training process is carried out via a back-propa-
gation algorithm. Stop criteria
for the training is the total net-
work error as well as a time
limit. In fact, the inference by
means of the rule base will fin-
ish when the network is com-
pletely trained.
During the inference
through the neural network,
the analog measurements will
have to be processed initially
through a membership func-
tions module before being pre-
sented to the network. This
step is necessary in order to
codify the rules with member-
ship degrees of each sets for
all magnitudes, i.e., instead of
having binary digits (0, 1), the
input pattern will be vectors of
real numbers in range [0, 1]
that represent the member-
ship degrees of the inputs in
each set.
Figure 5. Information flow during the initial status of the controller (dynamic rule genera-
The results of the output
tion after human operation combined with periodical controller outputs) and the full
layer are real numbers automatic stage (after learning the rule base by means of an artificial neural network)

January 2002 45
Figure 6. Register of the first 400 system outputs (maintained or changed status) starting form the initial status
00111 (=7) and the following parameter (mean -m- and variance -S-) of the signal generator (Vout(V): m=115, S=15,
PF: m = 0.93, S = 0.02, THDv(%): m = 5, S = 1)

been designed for human operator replacement, i.e., to substation is very high, it is possible to obtain these
decide about actions beyond the conventional automatic rules automatically by means of a fuzzy controller. After
control procedures, i.e., actions for which a human oper- a certain operating time (which depends on the initial
ator is always needed. Since the implemented controller knowledge base as well as on the status variables and
responds according to a knowledge base extracted by the fuzzification of the inputs), the inference process
human operations, the topology change will always be through a rule base can be replaced by an approxima-
the same (with or without the controller). Nevertheless, tion via an ANN to diminish response time.
the difference and advantage due to the use of this con- The number of necessary magnitudes to supervise
troller reside in: and to control a substation can be very high. In the pre-
■ Speeding up response time sent research work, many magnitudes were not included
■ Avoiding operation mistakes to avoid the extensive number of required rules.
■ Gradually replacing a human operator. Nevertheless, controlling a substation by a fuzzy con-
The network was trained with a group of 1,377 rules. It troller has the advantage that it can speed up the
was found that, for activation functions of lineal type response time and diminish the possibility of risks nor-
(first layer) and sigmoidal type (hidden and last layer), mally related to human operations.
an approximate time of 2 hours using a 455 MHz Pen-
tium-based PC was sufficient to obtain approaches with Acknowledgment
errors smaller than 0.1 for each output neuron. Since the The authors gratefully acknowledge the Research Foundation of The
final result of the approximation by means of the net- State of São Paulo (FAPESP) for supporting this research work.
work is based on whole rounds to zero or one, this level
of accuracy was found acceptable. For Further Rea ding
A.G. Lima, et al., “Cost of power quality problems in large industrial
customers,” PQA ’93, San Diego, Oct. 1993.
Fa st Response a nd Diminished Risk J.A. Jardini, “Automation in power plants and high voltage substa-
For the control of a substation by means of the connec- tions,” Editorial EB/USP, 1st ed., São Paulo, Brazil, 1997.
tion of devices for improving its performance, it is neces- K.S. Fu, “Learning control systems and intelligent control systems,”
sary to keep in mind not only the measurements of the IEEE Trans. Automat. Cont., vol. 16, pp. 70-72.
K.Y. Lee, “Current trend and the state of the art in intelligent sys-
electric magnitudes but also the status of some control tem applications to power systems,” 1999 International Conference on
devices that define their topology. Intelligent Systems Application to Power Systems (ISAP), Rio de
Control and protection devices governed by individ- Janeiro, Brazil, Apr. 1999.
ual decision methods that allow the intervention of the A. Patrikar and J. Provence, “Control of Dynamic systems using
fuzzy logic and neural networks,” Int. J. Intell. Syst., vol. 8, no. 6, pp. 727-
substation operator when needed can be included in a 748, 1993.
control system so that their operations can be coordi-
nated from an upper supervisory level. It is possible to Biogra phies
follow a preference criterion for the disconnection or Melvin Ayala S. is a researcher at the Polytechnic Institute of Havana,
connection of CBs (in this case for load feeders and fil- Department of Computer Sciences, Cuba. He received his Ph.D. in 1987.
ters) when using a controller based system. His research interests include software development, fuzzy logic, and
artificial neural networks.
Controllers can be used for rule extraction in a first Galdenoro Botura Jr is a senior professor at the FEG, UNESP,
working stage. Control systems that do not require Department of Electric Engineering, Guaratinguetá, São Paulo, Brazil.
instantaneous responses in an initial stage, can be He received his Ph.D. in 1991. His research interests include electronic
designed for learning the operator actions and con- and telecommunications.
Oscar A. Maldonado A. is a senior professor at the FEG, UNESP,
structing a decision table for total replacement of the Department of Electric Engineering, Guaratinguetá, São Paulo, Brazil.
human operator in the future. He received his Ph.D. in 1991. His research interests include power sys-
Even when the number of rules for controlling the tems and automation.

46 IEEE Computer Applications in Power

View publication stats

You might also like