Documentos de Académico
Documentos de Profesional
Documentos de Cultura
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.
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.
379
377
376
375
Fuzzy Logic Controller
PId Controller
374
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
1.1
80 1
PId Controller
20 0.7
-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
20
17.5
17
16.5
1.5 2 2.5 3 3.5 4
Time (sec)
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.