Está en la página 1de 9

Hardware Implementation of a Mamdani Fuzzy Logic Controller for a

Static Compensator in a Multimachine Power System

Salman Mohagheghi, Ganesh K. Venayagamoorthy, Satish Rajagopalan and Ronald G. Harley

Abstract — A Mamdani type fuzzy logic controller is designed the power network configuration changes continuously as lines
and implemented in hardware for controlling a Static and loads are switched on and off.
Compensator (STATCOM), which is connected to a 10-bus
multimachine power system. Such a controller does not need any In recent years, most of the papers have suggested methods
mathematical model of the plant to be controlled and can for designing STATCOM controllers using linear control
efficiently provide control signals for the STATCOM over a wide techniques, in which the system equations are linearized at a
range of operating conditions during different disturbances in the specific operating point and based on the linearized model, PI
power system. The proposed controller is implemented using the controllers are tuned in order to have the best possible
M67 Digital Signal Processor (DSP) board and is interfaced to performance [2]-[4]. The drawback of such PI controllers is
the multimachine power system simulated on a Real-Time Digital that their performance degrades as the system operating
Simulator (RTDS®). Experimental results are provided, showing conditions change. Nonlinear adaptive controllers on the other
that the Mamdani fuzzy logic controller provides superior hand can give good control capability over a wide range of
damping compared to the conventional PI controller for both operating conditions, but they have a more sophisticated
small and large scale disturbances. In addition, the proposed structure and are more difficult to implement compared to
controller manages to restore the power system to the steady linear controllers. Moreover, most of these designs require a
state conditions with less control effort exerted by the mathematical model of the plant to be controlled which in most
STATCOM, which in turn leads to smaller MVar rating and
cases is very difficult to obtain [5]-[7].
therefore less cost for the device. The matrix pencil method
analysis of the damping provided by the different controllers Fuzzy logic controllers offer solutions to the above
shows that the fuzzy logic controller provides higher damping problems. They are able to deal with such a nonlinear plant,
than the PI controller and also mitigates the modes present with with little or no need for prior information, and can provide
the conventional PI control. efficient control over a wide range of system operating
conditions. Fuzzy logic controllers have been designed and
Keywords- Mamdani fuzzy logic controller; Static implemented as power system stabilizers in computer
Compensator; Multimachine power system; Real time digital
simulations [8]-[10]. Also, in earlier papers, the authors
simulator; DSP implementation; Matrix Pencil Analysis.
simulated fuzzy logic based controllers for a STATCOM in a
multimachine power system and showed that the proposed
I. INTRODUCTION controllers are more effective than the conventional PI
Static Compensators (STATCOMs) are power electronics controller in damping transient and dynamic disturbances in the
based shunt Flexible AC Transmission System (FACTS) network [11], [12].
devices which can control the line voltage at the point of This paper deals with hardware implementation of a
connection to the electric power network. Regulating reactive Mamdani type fuzzy logic controller for a STATCOM
power injected into the network and the active power drawn connected to a multimachine power system. The objective of
from it by this device, provides control over the line voltage as this paper is to show the effectiveness of employing fuzzy
well as the DC bus voltage inside the device respectively [1]. A controllers for practical applications in power systems. The
power system containing generators and FACTS devices is a validation of the efficiency and superiority of the STATCOM
highly nonlinear system. It is also a non-stationary system since fuzzy controller in a hardware-in-the-loop laboratory setup is
demonstrated. This phase is the necessary step and a
prerequisite for installing a prototype controller in an actual
The support from the National Science Foundation under the CAREER STATCOM on a power system. The fuzzy controller is
Grant: ECS # 0348221 and ECS # 0400657 is gratefully acknowledged for
this work. implemented on the M67 DSP card and is interfaced with the
S. Mohagheghi is with ABB Inc., US Corporate Research Center, Raleigh, power system which is implemented on a Real Time Digital
NC 27606, USA (email: salman.mohagheghi@us.abb.com). At the time of Simulator (RTDS®). The performance of the fuzzy controller is
this project he was with Georgia Institute of Technology, Atlanta GA 30332 compared with that of the conventional PI controller for
USA. G.K. Venayagamoorthy is with the Real-Time Power and Intelligent different disturbances. In addition, the Matrix Pencil method
Systems Laboratory, Department of Electrical and Computer Engineering,
Missouri University of Science and Technology, Rolla MO 65409 USA based analysis of the damping provided by the different
(Email: gkumar@ieee.org). S. Rajagopalan is with GM Corp., Detroit MI controllers is presented.
48232 USA. At the time of this work he was with Georgia Institute of
Technology, Atlanta GA 30332 USA (Email: rsatish@ece.gatech.edu). R.G. The multimachine power system and the STATCOM
Harley is with the Intelligent Power Infrastructure Consortium, School of studied in this paper are intentionally selected since together
Electrical and Computer Engineering, Georgia Institute of Technology, they portray a nonlinear non-stationary system with unknown
Atlanta GA 30332 USA (Email: ron.harley@ece.gatech.edu). parameters and uncertainties associated with it. An intelligent
controller, such as the fuzzy controller proposed and the controller and its design parameters. Therefore, fuzzy
implemented in this paper, is not only capable of providing controllers can be viewed as the first step of employing
superior control for the STATCOM over a wide range of intelligent control techniques for real-world power system
operating conditions, but it is also able to reduce the control applications and by building the trust can pave the way for
effort exerted by the device during large scale disturbances, incorporating more intelligence in power system control.
which in turn leads to less capital investment required for the
STATCOM. The above issues emphasize the fact that III. STATCOM IN A MULTIMACHINE POWER SYSTEM
intelligent controllers enable the power system to utilize its
current capacity in a more effective yet economical way. Figure 1 shows a STATCOM connected to a multimachine
power system. The system is a 10 bus, 500 kV, 5000 MVA
The rest of this paper is organized as follows. Some of the system [15] and is simulated in the RSCAD® environment [16].
key concepts and advantages behind fuzzy control techniques The generators are modeled together with their automatic
in power systems are discussed in section II. The details of the voltage regulator (AVR), exciter, governor and turbine
multimachine power system and the control structure of the dynamics taken into account.
STATCOM are provided in section III. The structure of the
proposed fuzzy controller for the STATCOM is presented in
section IV of the paper. Section V discusses the procedure for
implementing the fuzzy controller in hardware. The
experimental results along with quantitative analysis of the
results are provided in section VI. Some practical
considerations are listed in section VII. Finally, the concluding
remarks appear in section VIII of the paper.

II. FUZZY CONTROL IN POWER SYSTEMS:


A REALITY?
This paper primarily addresses the implementation of a Figure 1. STATCOM connected to a multimachine power system.
fuzzy controller for a power system application. However, as
the first step, it is appropriate to discuss in this section why a The STATCOM is first controlled using a conventional PI
fuzzy controller would be an appropriate solution for real- controller as described in [2]. The d-axis and q-axis voltage
world applications in power systems. deviations are derived from the difference between the actual
and reference values of the power network line voltage and the
Analytical approaches have been traditionally used for dc link voltage (inside the STATCOM) respectively, and are
modeling and controlling power system components. However, then passed through two PI controllers, PId and PIq in Fig. 2,
these mathematical models/equations are determined under whose corresponding outputs are ∆ed and ∆eq. These values in
certain restrictive assumptions, such as linearizing a nonlinear turn determine the modulation index and the inverter output
system and/or approximating a higher order system by a low phase shift applied to the PWM module:
order model. Even under such conditions the solution will not
necessarily be trivial, and sometimes uncertainties associated ∆e d2 + ∆e q2
with real life problems further exacerbate the reliability of such ma = ,
V dc
approaches. (1)
∆ed
Fuzzy logic, like neural networks, is a tool that can α = Cos (−1
).
compensate for the above problems, since it is a technique that ∆ed2 + ∆eq2
deals with imprecise, vague or “fuzzy” information [13]. In
contrast to the mathematical models or other expert systems,
fuzzy logic controllers allow the representation of imprecise
human knowledge in a logical way, with approximate terms
and values, rather than forcing the use of precise statements
and exact values; thus making them more robust, more
compact and simpler [14]. Also, as opposed to most neural
network based controllers, fuzzy logic controllers often do not
need an identified model of the plant to be controlled.
Another advantage of fuzzy controllers that distinguishes
them from other intelligent techniques is their white box
approach, where the design engineer can obtain a clear
qualitative understanding on the relationship between the
inputs and outputs of the controller, the impact of the rules and
fuzzy set parameters on the overall output of the controller. The Figure 2. STATCOM conventional control structure.
above fact makes fuzzy controllers appropriate alternatives for
the traditional PID controllers, for which electrical engineers Controlling the voltage at the point of connection to the
and technicians in general have a very clear understanding on network, i.e., point of common coupling (PCC), is the main
objective of the STATCOM in this study. Parameters of the order to be able to provide smoother results with less
STATCOM’s two conventional PI controllers are derived (at a oscillations.
specific operating point) so that the controller provides a
satisfactory and stable performance when the system is Shrinking span membership functions (SSMFs) are used in
exposed to small changes in the reference values as well as this study in order to compensate for the above problems [20].
large disturbances such as a three phase short circuit on the This method creates membership functions with shrinking
power network. spans (Fig. 4), in a way that the controller generates large and
fast control actions when the system output is far from the set
point and makes moderate and slow changes when it is near the
IV. STATCOM FUZZY LOGIC CONTROLLER set point. SSMFs are used in the authors’ earlier work in [10]
for designing a Takagi-Sugeno fuzzy logic controller and the
A. Fuzzy Controller Structure results proved to be more efficient than the conventional
The fuzzy controller designed in this study, replaces the line membership functions.
voltage PId controller of the STATCOM. The second PI
controller in Fig. 2 (dc link voltage PIq) is not replaced by a
fuzzy logic controller. This second PI controller is able to
maintain the capacitor voltage within defined limits and unlike
the power network, the STATCOM topology does not change.
The fuzzy controller has two inputs, the line voltage
deviation ∆V(t) and the change in the line voltage error ∆E(t),
i.e. ∆V(t)-∆V(t-1). Using ∆E(t) helps the controller to respond
faster and more accurately to disturbances in the system. In
turn the controller generates a control signal to the plant, i.e.
∆ed(t). Figure 3 shows the schematic diagram of the proposed
fuzzy controller. Figure 4. Shrinking span membership functions.

B. Shrinking Span Membership Functions The details of designing a SSMF fuzzy controller in a
Seven linguistic characteristics are defined for each general case (multiple input multiple output systems) is
input/output variable; namely, negative big, negative medium, rigorously described in [20]. Nevertheless, it is briefly revisited
negative small, zero, positive small, positive medium and here for this specific problem (multiple-input-single-output
positive big. system). Different triangular functions for each input variable
can be expressed as in (4):
Fi = ∆( x; xi −1 , xi , xi +1 ), for i = −m,..., m . (4)
where m is the index for the input set, resulting in 2m+1
linguistic terms for that input variable x. In this work, the
parameter m is selected to be 3, therefore 7 shrinking span
membership functions are assigned to each input variable.
The function ∆ is a triangular function defined as in (5):
Figure 3. Fuzzy controller structure for line voltage deviation control. x − a
 c − a if x < a
Clearly, changing any of the parameters associated with a 
fuzzy controller can change its performance. However, it has  d − x
∆( x; a, b, c) =  if a ≤ x < c (5)
been shown that the membership functions have a dominant d − c
effect [19]. 
0 otherwise
Due to simplicity, most researchers tend to design the 
input/output fuzzy membership sets using the standard equal- and the subintervals xi's are derived as following:
span mathematical functions, such as triangular or Gaussian
functions. However, these functions do not necessarily provide i (6)
the optimum solution for all problems. Instead a prior xi = × s m −|i| ,
m
knowledge of the plant to be controlled, and its dynamics,
where s ∈ [0,1] is the shrinking factor for the input variable x.
might lead to different standard or non-standard fuzzy
membership functions with various physical shapes in order to By applying different shrinking spans to an input variable,
design a more efficient fuzzy logic controller [17]. Moreover, different results are achieved. After trial and error, a shrinking
when the control response is closer to the system set point, it factor of 0.7 is selected for this work.
can be intuitively seen that the fuzzy membership functions for
that specific linguistic term should have narrower spans, in
C. Fuzzy Rule Base the rest of the power system is modeled.
The following rule base for selecting the output of the fuzzy
controller is used in this paper. A. Real Time Digital Simulator (RTDS®)
The RTDS® is a fully digital electromagnetic transients
TABLE I. FUZZY RULE BASE
power system simulator that operates in real time. It has a
custom parallel processing hardware architecture assembled in
∆V modular units called racks. Power system equipment and
NB NM NS Z PS PM PB
∆E network designs can be evaluated and accurately tested. Due to
the fact that the RTDS® simulator works in continuous,
NB NB NB NB NB NM NS Z sustained real time, it can solve the power system equations
NM NB NB NB NM NS NS Z
NS NB NB NM NS NS Z Z
fast enough to continuously produce output conditions that
Z NB NM NS Z PS PM PB realistically represent conditions in the real network. Because
PS Z Z PS PS PM PB PB the solution is real time, the simulator can be connected
PM Z PS PS PM PB PB PB directly to power system control equipment [22].
PB Z PS PM PB PB PB PB
The RTDS® software is divided into two main categories:
D. Mamdani Inference System the graphical user interface and the underlying solution
A zero order Takagi-Sugeno fuzzy model is used for the algorithms for network equations and component models. All
inference system, which is a special case of the Mamdani fuzzy aspects of simulator operation, from constructing simulation
inference system [21]. In this approach each rule’s consequent circuits to recording simulation results are controlled through
is specified by a fuzzy singleton. The output of such a model is the graphical interface, the RSCAD software suite, as the user’s
a smooth function of its input variables as long as the main interface with the RTDS® hardware.
neighboring membership functions have enough overlap [21]. There are two main RSCAD modules: the Draft and the
This is ensured using the shrinking span membership functions. RunTime. The Draft software module is used for circuit
Using the Mamdani inference mechanism, the output of the assembly and parameter entry. The RunTime software module
controller can be written as follows: is used to control the operation of the RTDS® simulator.
Through the RunTime module, the user performs actions such
m
as starting and stopping the simulation cases, initiating system
∑ w .β i j disturbances, changing system set-points, online monitoring of
u (t ) = i =−m
, (7) system quantities and suchlike.
m

∑w
i =−m
i
The multimachine power system with the STATCOM in
where wi and βi are the firing strength and the consequent Fig. 1 is modeled on the RTDS® in the RSCAD environment.
parameters of the ith rule respectively.
B. Fuzzy Logic Controller
V. HARDWARE IMPLEMENTATION The Mamdani fuzzy logic controller is implemented on the
Innovative Integration M67 card [23] based on the
The proposed fuzzy logic controller is implemented and TMS320C6701 digital signal processor operating at 160 MHz,
evaluated in a laboratory setup (Fig. 5) which consists of a real- hosted on a Pentium III 433 MHz personal computer. The M67
time power system simulator connected to an external fuzzy DSP card is equipped with two A4D4 OMNIBUS A/D and
logic controller board. D/A conversion modules [24].
Each A4D4 OMNIBUS module provides the target card
processor with four channels of high speed 200 kHz 16-bit
resolution A/D output conversion per module slot, as well as
four channels of high speed 200 kHz 16-bit resolution D/A
conversion. Figure 6 shows the block diagram of the laboratory
setup.
For the system studied in this paper, a time step of 50 µs is
selected for simulating the multimachine power system on the
RTDS®, while the sampling frequency for interfacing the fuzzy
controller on the DSP board with the rest of the system is
assumed to be 50 Hz.

VI. EXPERIMENTAL RESULTS


The conventional PId controller is fine tuned at one
operating point, so that it can respond to step changes in the
Figure 5. Laboratory setup. The fuzzy controller is implemented on the DSP reference values with the least overshoot and in the fastest
board, which sits on the DSP host PC, and is interfaced to the RTDS, where
time. The procedure for tuning the PI controller is explained in
more detail in the Appendix. Also, the PI controllers in this equipped with each controller in turn, is compared in Figs. 9
study are equipped with hard limiters so as to limit the control and 10. These results show that the PI controller injects a
effort generated by each one. considerably larger amount of reactive power into the power
system, which in turn means higher currents through the
Several tests are carried out in order to compare the inverter switches. Therefore in the case of the conventional
efficiency of the proposed fuzzy controller with that of the PId controller, switches with higher current ratings are required.
controller. Naturally, the performance of the latter degrades by
a change in the operating conditions. Various disturbances such Simulation results indicate that the STATCOM controlled
as switching on/off a transmission line or a shunt load, or a by the fuzzy controller reduces the peak reactive power
more severe disturbance, such as a three phase short circuit, can injection by almost 60 MVar. Based on a typical conservative
change the operating conditions of the power system. price of 50 $/kVar, this reduction results in approximate
savings of $4,000,000.

379

Generator 2 Speed Deviations (rad/sec)


378

377

376

375
Fuzzy Logic Controller
PId Controller
374

Figure 6. Experimental setup block diagram. 373


1 2 3 4 5 6 7 8
Time (sec)
A. Case Study 1
A 100 ms temporary three phase short circuit is applied Figure 8. Generator 2 speed deviations during case study 1.
after 1.3 sec at bus 5 in Fig. 1, where the STATCOM and
synchronous generator 3 are connected via buses 10 and 3
respectively. Figures 7-8 compare the performances of the two
26
STATCOM controllers, and show that the fuzzy controller Fuzzy Logic Controller
damps out the oscillations faster and with less overshoot. PId Controller
24
D-Axis Control Signal

PId Controller 22
1.2 Initial Response of the
Fuzzy Controller
20
Voltage at the PCC (p.u)

18
0.8
Fuzzy Logic Controller
0.6 16

0.4 14
1.5 2 2.5 3 3.5 4 4.5 5
Time (sec)
0.2

Figure 9. D-axis ccontrol signal during case study 1.


0
1 1.5 2 2.5 3 3.5 4 4.5 5
Time (sec) It is also interesting to observe in Fig. 10 that the fuzzy
Figure 7. Bus 5 voltage (Fig. 1) during case study 1. logic controller causes a drop in the reactive power injected by
the STATCOM right after the fault occurs. This control action
The performance of the two controllers can also be is the exact opposite of the expected response otherwise
compared in terms of the control effort provided by each one. provided by the PI controller, i.e., a boost in the amount of
The control signal generated by the d-axis controller and the reactive power injection. However, it helps the power system to
reactive power injected during the fault by the STATCOM restore to the steady state conditions faster, and shows the
impact of intelligence incorporated into the controller
performance by fuzzy logic modeling and reasoning.
PId Controller

1.1

Generator 3 Terminal Voltage (p.u)


100
STATCOM Injected Reactive Power (MVar)

80 1
PId Controller

60 0.9 Fuzzy Logic Controller

Fuzzy Logic Controller


40 0.8

20 0.7

0 1 1.5 2 2.5 3 3.5 4 4.5 5


Time (sec)

-20
1 2 3 4 5 6 7 8 Figure 11. Generator 3 terminal voltage during case study 2.
Time (sec)

Figure 10. Reactive power injected by the STATCOM during case study 1.
380

B. Case Study 2
Generator 3 Speed Deviations (rad/sec)
379
The system is now subjected to a 100 ms three phase short
circuit at the load area (bus 8 in Fig. 1). Figures 11-13 378
compare the performances of the two controllers, and show that
the fuzzy controller provides more damping during the short 377
circuit compared to the conventional PId controller. This
happens since the PId controller is fine tuned assuming a linear 376
model for the system, while in a large scale disturbance such as
a three phase short circuit, the system is moved away from its 375
steady state operating point and the linear control assumptions Fuzzy Logic Controller
do not provide optimal performance anymore. The results show 374
PId Controller
that the conventional controller responds with a much control
effort. This is due to the fact that the PI controller is fine tuned 373
1 2 3 4 5 6 7 8
at a single operating condition by applying step changes to the Time (sec)
power system (see Appendix A). For cases where the inverter
is working close to a modulation index of unity, such a large Figure 12. Generator 3 speed deviations during case study 2.
change might lead to over modulation which in turn results in
serious harmonic distortion. This has been shown in
simulations in the authors’ previous work in [12]. Figure 14 21.5
shows the reactive power injected by the STATCOM, Fuzzy Logic Controller
21
comparing the performances of the two controllers. As PId Controller

expected the PId controller injects a much higher reactive 20.5


power.
D-Axis Control Signal

20

Observing the peak compensated reactive power in cases 1 19.5


and 2, about 3 times less current rating is required when fuzzy
19
logic control is used in comparison to the PId control.
18.5
Initial Response of the
18 Fuzzy Controller

17.5

17

16.5
1.5 2 2.5 3 3.5 4
Time (sec)

Figure 13. D-axis control signal during case study 2.


D. Stability Analysis Using the Matrix Pencil Method
50
The stability of the closed loop system with the different
controllers applied in this paper for STATCOM control has
been investigated using the matrix pencil method. This
STATCOM Injected Reactive Power (MVar)

40 PId Controller
analytical tool provides the modes of the system from the
30
impulse response. During a short circuit, the system faces
impulsive force and the post-fault time domain response is used
20
to find the modes of the system and thereby, the oscillation
frequencies and damping associated with each mode. This
mathematical entity has been applied by many researchers in
10
array processing and spectral estimation [28],[29].
0 Different fault responses for both the case studies are
investigated with the Matrix Pencil method. Comparison
-10 between Tables III and IV shows the improvement in damping
Fuzzy Logic Controller
with the fuzzy logic controller with respect to the PI controller
-20 for a 100 ms short circuit. In Tables III and IV the blank cells
1 2 3 4 5 6 7 8
Time (sec) under frequency and damping represent the modes which are
not visible under that control scheme; this means that this mode
Figure 14. Reactive power injected by the STATCOM during case study 2. has been mitigated.

The performance of the PI controller can be further TABLE III. FREQUENCIES AND DAMPING OF DOMINANT MODES OF
GEN 2 FOR A 100 MS SHORT CIRCUIT UNDER DIFFERENT CONTROL SCHEMES
improved by adopting an anti-windup mechanism [26];
however, due to the nature of the PI controller that is trained at PI FLC
a single operating point this improvement is limited and can Frequency (Hz) Damping (%) Frequency (Hz) Damping (%)
vary under different operating conditions. For more 0.42 26.05 - -
information and a detailed comparison the reader is referred to
0.74 8.98 - -
[27].
- - 0.80 12.30
C. Performance Index 1.02 5.85 - -
- - 1.17 11.27
The performance of the fuzzy controller depends on the
chosen sampling frequency. In order to study the effect of the 1.62 6.52 - -
frequency on the control results, a performance index (P.I.) is TABLE IV. FREQUENCIES AND DAMPING OF DOMINANT MODES OF
defined as: GEN 3 FOR A 100 MS SHORT CIRCUIT UNDER DIFFERENT CONTROL SCHEMES
−1
 N N
 PI FLC
 ∑ (ω k − ω Base ) 2 + ∑ (Vk − V Base ) 2  ,
P.I . =  k =1 k =1  (8) Frequency (Hz) Damping (%) Frequency (Hz) Damping (%)
 N 
  0.36 20.38 - -
  0.65 7.25 - -
where N is the number of samples obtained. - - 0.89 7.23
The performance index is calculated for the fuzzy controller 0.99 15.90 - -
during a 100 ms three phase short circuit at bus 5 in Fig. 1. 1.29 13.71 - -
Only the voltage at bus 5 and the speed of the generator 3 are 2.00 4.32 - -
taken into account, since these are the quantities most affected
by the STATCOM performance. VII. PRACTICAL CONSIDERATIONS
Table II summarizes the results. As expected, by increasing
the sampling frequency (on the DSP card) the performance of A. Installment Cost
the controller is improved and the deviations are reduced. Implementing a fuzzy controller like the one proposed in
this paper requires a larger amount of capital investment
TABLE II. PERFORMANCE INDEX FOR DIFFERENT SAMPLING compared to a PI controller. However, it should be noted that
FREQUENCIES the installment cost of a DSP based neuro-fuzzy controller for a
Sampling Frequency (Hz) Performance Index STATCOM is negligible compared to the capital investment
20 0.22 required for the FACTS device itself.
50 0.19 Moreover, the fuzzy controller improves the overall
100 0.26 performance of the system by reducing the amount of reactive
200 0.28 power injected by the STATCOM, which in turn reduces the
500 0.30 ratings of the inverter switches and hence its cost.
B. Design Steps for the Controller is connected to a 10 bus multimachine power system. The
A fuzzy controller such as the one proposed in this paper controller is implemented on a DSP card and is interfaced to
can be initially designed using expert knowledge and the power system, and implemented on a Real Time Digital
engineering judgment on the dynamics of the power system. Simulator (RTDS®). Such a controller does not need any prior
Using the power system such as the RTDS®, its performance knowledge of the plant to be controlled, does not depend on the
can then be validated under actual tests/disturbances, and if operating condition of the network and can efficiently provide
necessary the parameters can be modified. This process is control signals for the STATCOM during different
similar to the procedure followed for designing conventional disturbances in the network.
PID controllers in power systems. Experimental results are provided, showing that the
Once the experimental results are satisfactory the controller proposed Mamdani type fuzzy logic controller is more
can be commissioned for the actual application. Due to the effective than the conventional PI controller for small as well
nature of the design which is a gain scheduling control as large scale disturbances. The fuzzy logic controller has a
technique, the fuzzy controller is guaranteed to outperform a better performance with less overshoot during transient faults.
PID controller. The matrix pencil analysis of the time domain response under
the different disturbances shows that the fuzzy controller
C. Fixed vs Evolving Fuzzy Controller provides better damping and in addition mitigates the modes
present in the network when the STATCOM is PI controlled.
A fuzzy controller outperforms a finely tuned PI controller Moreover, the fuzzy logic controller requires less control effort
since as a nonlinear gain scheduling controller it can provide for the same fault. This means less reactive power injected
robust control over a wide range of operating conditions. which in turn results in smaller currents passing through the
However, a fuzzy controller with fixed structure designed STATCOM switches. Clearly, a smaller STATCOM kVA
based on a human expert might not be able to provide the best rating implies less cost.
performance under all contingencies. The parameters of such a
controller can be adaptively evolved offline or online while it is The main objective of this paper is to show through actual
performing in the power system. hardware implementation that fuzzy controllers are dependable
alternatives for the traditional PI controllers commonly
Clearly, changing any of the parameters associated with a employed in power systems. They are nonlinear gain
fuzzy controller can change its performance. However, it has scheduling controllers that can provide nonlinear robust control
been shown that altering the membership functions has a over a wide range of operating conditions in the power system.
dominant effect [19]. Many researchers have tried to address A fuzzy controller can be readily implemented on a DSP board
this issue by applying partitioning techniques for the input and and used for different controllable components in the network,
output space [13], [14]. Others have proposed methods to take such as the STATCOM. With negligible implementation cost
the uncertainty of the membership function into account [17]. compared to the actual cost of the FACTS device itself, the
However, it has also been shown in the literature that the fuzzy controller enables the power system to utilize its current
connectionist system theory can be applied to adaptively adjust capacity in a more effective yet economical way.
the parameters of a fuzzy controller, including its membership
functions, while the controller is operating in the system [21],
[30]-[32]. APPENDIX- TUNING THE PI CONTROLLER
The PI controller is fine tuned at a single operating
The authors have used approximate dynamic programming condition. Step changes are applied to the line voltage
to adaptively evolve the parameters of a fuzzy controller for a reference of the STATCOM in Fig. 2 (with 0.05 p.u
STATCOM in a multimachine power system and have shown magnitude) and the parameters of the PI controller are tweaked
through computer simulations that such a controller by observing the power system response in the time domain.
outperforms a fuzzy controller with a fixed structure [33], [34]. The transfer function used for each PI controller is:
Using the RTDS®, such schemes can be effectively
implemented in hardware for a real-world application. kI ,
G ( s) = k P + (9)
s
D. Size of the Power System
The algorithm used for tuning the PI controllers is a
The design procedure set forth in this paper can be applied common industry procedure for large scale non-linear systems,
to a larger scale power system equally well. Since the as follows:
STATCOM controller relies solely on local measurements the
design procedure and the controller performance is largely • Step 1: Reduce the integral gain kI to zero.
insensitive to the size of the multimachine power system. In an • Step 2: Increase the proportional gain kP in small steps
earlier work in [35], Mohagheghi et al. have successfully and repeatedly apply step changes to the power
implemented the fuzzy logic controller for a STATCOM in the system until the first overshoot is observed in the line
45-bus section of the Brazilian power system. voltage at the PCC.

VIII. CONCLUSIONS • Step 3: Reduce kP to 50% of its value.


A Mamdani type fuzzy logic controller is designed and
implemented in hardware for controlling a STATCOM, which
• Step 4: Increase kI in small steps and repeatedly apply [17] J.M. Mendel, Uncertain Rule-Based Fuzzy Logic Systems, New Jersey:
Prentice Hall, 2001, ISBN 0-13-040969-3.
step changes to the power system until the steady state
error ∆V in Fig. 2 is zero. [18] H. Ying, Y. Ding, S. Li and S. Shao, “Comparison of Necesssary
Conditons for Typical Takagi-Sugeno and Mamdani Fuzzy Systems as
• Step 5: Repeat step 2 until a critically damped Uninersal Approximators,” IEEE Trans. on Systems, Man and
Cybernetics- Part A: Systems and Humans, vol. 29, no. 5, pp 508-514,
response with zero steady sate error is found. Sept. 1999.
A more detailed analytical design optimization method using [19] A. Lotfi and A.C. Tsoi, “Importance of Membership Functions: A
pole placement, for example could also be used, but the power Comparative Study on Different Learning Methods for Fuzzy Inference
Systems,” in Proc. IEEE Int. Conf. Fuzzy Systems, Orlando, FL, USA,
system is nonlinear and non-stationary, and so whatever tuning June 1994, pp 1791-1796.
technique is used, it soon degrades as conditions change. [20] J.M. Mendel and G.C. Mouzouris, “Designing Fuzzy Logic Systems,”
IEEE Trans. on Circuits and Systems II- Analog and Digital Signal
REFERENCES Processing, vol. 44, no. 11, pp 885-895, Nov. 1997.
[21] J.S.R. Jang and C.T. Sun, “Neuro-Fuzzy Modeling and Control,”
[1] N.G. Hingorani and L. Gyugyi, Understanding FACTS, Concepts and Proceedings of the IEEE, vol. 83, no. 3, pp 378-406, Mar. 1995.
Technology of Flexible AC Transmission Systems, New York: IEEE,
1999, ISBN 0-7803-3455-8. [22] RTDS - A Fully Digital Power System Simulator Operating in Real
Time, Presented at ICDS-95, College Station, TX, USA, Apr. 1995.
[2] L. Dong, M.L. Crow, Z. Yang, C. Shen, L. Zhang and S. Atcitty, “A
Reconfigurable FACTS System for University Laboratories,” IEEE [23] M6x/cM6x Development Package Manual, Innovative Integration,
Trans. on Power Systems, vol. 19 , no. 1, pp 120 – 128, Feb. 2004. California, USA, Dec. 2000.
[3] D. Shen and P.W. Lehn, “Modeling, Analysis and Control of a Current [24] OMNIBUS User’s Manual, Innovative Integration, California, USA,
Source Inverter-Based STATCOM,” IEEE Trans. on Power Delivery, Feb. 2001.
vol.17, no.1, pp 248-253, Jan. 2002. [25] Y. Ding, H. Ying and S. Shao, “Typical Takagi-Sugeno PI and PD
[4] C. Schauder and H. Mehta, “Vector Analysis and Control of Advanced Fuzzy Controllers: Analytical Structures and Stability Analysis,”
Static VAR Compensator,” IEE Proceedings- C, vol. 140, no. 4, pp 299- Information Scieneces, no. 151, pp 245-262, 2003.
306, July 1993. [26] K. Åström and T. Hägglund, PID Controllers: Theory, Design and
[5] F. Liu, S. Mei, Q. Lu, Y. Ni, F.F. Wu and A. Yokoyama, “The Nonlinear Tuning, NC, USA: Instrumentations, Systems and Automation Society,
Internal Control of STATCOM: Theory and Application,” International 2nd Edition, 1995, Chapter 3, ISBN 1-55617-516-7.
Journal of Electrical Power & Energy Systems, vol. 25, no. 6, pp 421- [27] S. Mohagheghi, “Adaptive Critic Design Based Neurocontrollers for
430, 2003. Local and Global Control of a Multimachine Power System with a
[6] Q. Lu, F. Liu, S. Mei and M. Goto, “Nonlinear Disturbance Attenuation STATCOM,” PhD Thesis, School of Electrical and Computer
Control for STATCOM,” in Proc. IEEE PES, Jan.-Feb. 2001, vol. 3, pp Engineering, Georgia Institute of Technology, Atlanta, GA, USA, Aug.
1323-1328. 2006, Chapters 5-6, available at: http://etd.gatech.edu/theses /available/
etd-07072006-114144/.
[7] Z. Yao, P. Kesimpar, V. Donescu, N. Lechevin and V. Rajagopalan,
“Nonlinear Control for STATCOM Based on Differential Algebra,” in [28] Y. Hua, T. K. Sarkar, “Matrix Pencil Method for Estimating Parameters
Proc. IEEE PESC, May 1998, vol. 1, pp 239-334. of Exponentially Damped/Undamped Sinusoids in Noise,” IEEE Trans.
Acoustics, Speech and Signal Processing, vol. 38, pp. 814-824, May
[8] M.A. Abido and Y.L. Abdel-Magid, “A Hybrid Neuro-Fuzzy Power 1990.
System Stabilizer for Multimachine Power Systems,” IEEE Trans.
Power Systems, vol. 13, no. 4, pp. 1323-1330, Nov. 1998. [29] O. M. Pereira-Filho, T. K. Sarkar, “Using the Matrix Pencil Method to
Estimate the Parameters of a Sum of Complex Exponentials,” IEEE
[9] R. You, H.J. Eghbali and M.H. Nehrir, “An Online Adaptive Neuro- Trans. Antennas and Propagation, vol. 37, pp. 48-55, 1995.
Fuzzy Power System Stabilizer for Multimachine Systems,” IEEE
Trans. Power Systems, vol. 18, no. 1, pp. 128-135, Feb. 2003. [30] M. Figueiredo and F. Gomide, “Design of Fuzzy Systems Using
Neurofuzzy Networks,” IEEE Trans. Neural Networks, vol. 10, no. 4, pp
[10] A. Hariri and O.P. Malik, “A Fuzzy Logic Based Power System 815-827, July 1999.
Stabilizer with Learning Ability,” IEEE Trans. Energy Conversion, vol.
11, no. 4, pp. 721-727, Dec. 1996. [31] C.T. Lin and C.S.G. Lee, “Reinforcement Structure/Parameter Learning
for Neural-Network-Based Fuzzy Logic Control Systems,” IEEE Trans.
[11] S. Mohagheghi, R.G. Harley and G.K. Venayagamoorthy, “Modified Fuzzy Systems, vol. 2, no. 1, pp 46-63, Feb. 1994.
Takagi-Sugeno Based Fuzzy Logic Controllers for a Static Compensator
in a Multi Machine Power System,” in Proc. IEEE IAS, Oct. 2004, pp [32] A. Lotfi and A.C. Tsoi, “Learning Fuzzy Inference Systems Using an
2637-2642. Adaptive Membership Function Scheme,” IEEE Trans. on Systems, Man
and Cybernetics, vol. 26, no. 2, pp 326-331, April 1996.
[12] S. Mohagheghi, G.K. Venayagamoorthy and R.G. Harley, “An Adaptive
Mamdani Fuzzy Logic Based Controller for a Static Compensator in a [33] S. Mohagheghi, G.K. Venayagamoorthy and R.G. Harley, “Adaptive
Multimachine Power System,” in Proc. IEEE ISAP, Nov. 2005, pp 228- Critic Designs Based Neuro-Fuzzy Controller for a Static Compensator
233. in a Multimachine Power System,” IEEE Trans. Power Sys., vol. 21, no.
4, pp 1744-1754, Nov. 2006.
[13] C.C. Lee, “Fuzzy Logic in Control Systems: Fuzzy Logic Controller,
Parts I&II,” IEEE Trans. on Systems, Man and Cybernetics, vol. 20, no. [34] S. Mohagheghi, G.K. Venayagamoorthy and R.G. Harley, “Optimal
2, pp 404-430, Mar./Apr. 1990. Neuro-Fuzzy External Controller for a Static Compensator in the 12-Bus
Benchmark Power System,” IEEE Trans. Power Delivery, vol. 22, no. 4,
[14] Y.H. Song and A.T. Johns, “Application of Fuzzy Logic in Power pp. 2548-2558, Oct. 2007.
Systems, Part 2: Comparison and Integration with Expert Systems,
Neural Networks and Genetic Algorithms,” IEE Power Engineering [35] S. Mohagheghi, Y. del Valle, W. Qiao, G.K. Venayagamoorthy, R.G.
Journal, pp 185-190, Aug. 1998. Harley, D.M. Falcão, G.N. Taranto and T.M.L. Assis, “Steady State and
Transient Behaviour of a Fuzzy-Based Controlled STATCOM
[15] P.M. Anderson and A.A. Fouad, Power System Control and Stability, Optimally Placed in a 45 Bus Brazilian Power System”, in Proc. 10th
New York: IEEE, 1994, ISBN 0-7803-1029-2. Symp. of Specialists in Electric Operational and Expansion Planning (X
[16] RTDS® Technologies, Software Overview, available at SEPOPE), Florianopolis, Brazil, May 2006.
http://www.rtds.com/softover.htm.

También podría gustarte