Electrical Power and Energy Systems: Sushree Sangita Patnaik, Anup Kumar Panda
Electrical Power and Energy Systems: Sushree Sangita Patnaik, Anup Kumar Panda
Electrical Power and Energy Systems: Sushree Sangita Patnaik, Anup Kumar Panda
a r t i c l e i n f o a b s t r a c t
Article history: A shunt active power filter (APF) comprising of pulse-width modulation (PWM) based voltage–source
Received 17 April 2013 inverter (VSI) is presented in this paper, because it has grabbed tremendous attention as a promising
Received in revised form 21 March 2014 power conditioner. However, it involves huge power loss due to the presence of inductors and semicon-
Accepted 24 March 2014
ductor switching devices, resulting in deterioration of APF performance. So, a Proportional–Integral (PI)
Available online 21 April 2014
controller has been used to minimize this undesirable power loss by regulating the dc-link voltage of
VSI. Conventional linearized tuning of PI controller gains does not yield satisfactory results for a range
Keywords:
of operating conditions due to the complex, non-linear and time-varying nature of power system net-
Active power filter
Current harmonics
works. The goal of this paper is to find out optimized values of PI controller gains by the implementation
Real-time analysis of optimization techniques. Developed by hybridization of Particle swarm optimization (PSO) and Bacte-
Bacterial foraging optimization rial foraging optimization (BFO), an Enhanced BFO technique is presented in this paper so as to overcome
Particle swarm optimization the drawbacks in both PSO and BFO, and accelerate the convergence of optimization problem. Compar-
ative evaluation of PSO, BFO and Enhanced BFO has been carried out with regard to compensation of har-
monics in source current in a three-phase three-wire system. Extensive MATLAB simulations followed by
real-time performance analysis in Opal-RT Lab simulator validate that, the APF employing Enhanced BFO
gives superior load compensation compared to the other alternatives, under a range of supply and sudden
load change conditions. It drastically lowers down the source current total harmonic distortion (THD),
thereby satisfying the IEEE-519 standard recommendations on harmonic limits.
Ó 2014 Elsevier Ltd. All rights reserved.
http://dx.doi.org/10.1016/j.ijepes.2014.03.051
0142-0615/Ó 2014 Elsevier Ltd. All rights reserved.
S.S. Patnaik, A.K. Panda / Electrical Power and Energy Systems 61 (2014) 386–398 387
Fig. 1. Compensation principle of shunt APF (a) schematic diagram and (b) waveforms for load current (iL), filter current (ic) and compensated source current (is).
different parameters, the result varies. Hence load compensation compared to the usual PSO and BFO. Results obtained with
capability of APF can be enhanced by optimizing the gains of PI MATLAB/Simulink simulations are compared for APF employing
controller [19–21]. Few solutions to the harmonic mitigation prob- PSO, BFO and Enhanced BFO. It revealed that, Enhanced BFO shows
lem are found in Refs. [22,23], where harmonics are minimized quick convergence to reach the desired solution thereby yielding
through an objective function by optimization. In recent years, superior solution quality. Now-a-days, the testing and validation
many advances have been made to solve optimization problems of power conditioning devices is very essential in the design and
in various fields of application and research by the use of Simulated engineering process. The need for constant improvement of com-
annealing, Tabu search, Genetic algorithm (GA), Ant colony optimi- ponent modeling has led to an increase in the speed of system pro-
zation (ACO), Artificial Bee colony (ABC) optimization, PSO, BFO, totyping. But this has two major drawbacks. (i) There is a big
etc. Some artificial-intelligence based techniques such as Fuzzy hurdle in the design process during the leap over from off-line sim-
logic, Neural network and GA are exploited in Ref. [24] to design ulation to real prototype, as it is prone to many troubles related to
a control scheme for APFs dealing with harmonic and reactive cur- the integration of different modules at a time. (ii) Off-line non-real-
rent compensation. time simulation becomes tediously long for any moderately com-
PSO was introduced by Kennedy and Eberhart, and is being plex system. With advance in real-time simulation techniques,
extensively used due to its simple concept, easy implementation, RT-Lab simulator developed by Opal-RT technologies emerged as
inexpensive computation and well-balanced mechanism to pro- a promising tool. It is an industrial grade, scalable and real-time
mote both local and global explorations [15,19,20,25–27]. Na He platform for simulation, control testing and related applications
et al. demonstrated PSO to be effective and suitable for multi- [15,43,44]. Though several papers based on the implementation
objective optimal design of filters [28]. In spite of so many of evolutionary algorithms are there in literature, this paper
advantages, it suffers from the severe drawback of premature con- describes their performances and figures out the efficiency of these
vergence [29,30]. Since the inception in 2002, BFO has drawn the algorithms in real-time using Opal-RT Lab simulator.
attention of researchers to solve real-world problems such as adap-
tive control [31], harmonic signal estimation [32], optimal power Shunt active power filter
system stabilizers design [33,34], and optimization of real power
loss and voltage stability limit [35]. It is also hybridized with few Several aspects to be considered while designing an APF are
other state-of-the-art evolutionary computation techniques topology, reference compensation current extraction scheme and
[36–39] in order to achieve robust and efficient search perfor- PWM technique used to produce switching signals. Shunt APFs
mances. Over certain real-world optimization problems, BFO is are generally developed with either of the two types of PWM con-
reported to outperform many powerful optimization algorithms verters; current–source inverter (CSI) or voltage–source inverter
like GA and PSO in terms of convergence speed and final accuracy (VSI) [6,45,46]. However, the latter is preferred as it is lighter,
[18,31,32,35,37,38]. An approach based on BFO was proposed by cheaper, and expandable to multilevel and multistep versions for
Mishra that validated optimal control of APF under sudden improved performance in high power ratings with lower switching
switch-on, load change and filter parameters variation with ideal frequencies [6,46]. Fig. 2 depicts the system configuration of shunt
supply voltage [17]. However, there is no explanation towards APF with non-linear load.
the performance of APF when there is a huge unbalance or distor- In Fig. 3, the block diagram for reference current generation
tion in supply voltage along with sudden load variation. In our pre- employing idiq control scheme has been illustrated. The load cur-
vious work [18], a comparative evaluation of conventional, PSO rents iLa, iLb and iLc are tracked, upon which Park’s transformation is
and BFO based APFs was carried out under ideal and unbalanced performed to obtain corresponding d–q axes currents iLd and iLq as
supply without any load variation. Here the performance is inves- given in (1), where x is the rotational speed of synchronously
tigated under ideal, distorted and unbalanced supplies with sud- rotating d–q frame.
den load variation in MATLAB followed by real-time performance 2 3
analysis in Opal-RT Lab. BFO has also been reported to suffer from rffiffiffi " 1 1
# iLa
iLd iLd1h þ iLdnh 2 cos xt sin xt 1 2 2 6 7
problems due to its fixed step size and uncontrolled particle veloc- ¼ ¼ pffiffi pffiffi 4 iLb 5
iLq iLq1h þ iLqnh 3 sin xt cos xt 0 3 3
ities [34,40–42]. Step size of the bacteria is decided by their veloc- 2 2 iLc
ities. Large step size leads to lesser accuracy though the particles
ð1Þ
arrive at vicinity of optima quickly; whereas smaller step size
slows down the convergence process. According to id–iq control strategy, only the average value of d-
A more powerful search algorithm called as Enhanced BFO is axis component of load current should be drawn from supply. Here
developed here, with the combined advantages of PSO and BFO. iLd1h and iLq1h indicate the fundamental frequency components of
This is found to be faster and provide more accurate results iLd and iLq respectively. The oscillating components iLd and iLq, i.e.,
388 S.S. Patnaik, A.K. Panda / Electrical Power and Energy Systems 61 (2014) 386–398
Optimization approaches
Acceleration of particles is decided by the values of constants c1
The zero-sequence reference current ic0 in (2) is used just to and c2, whereas w provides a sense of balance between local and
make the transformation matrix a square one. The continuously global search. The exploration of new search space depends upon
tracked actual filter currents (ica, icb, icc) are compared with the ref- the value of w. Eberhart and Shi proposed a value of w that
erence filter currents ica ; icb ; icc in a Hysteresis band current con- decreases linearly with successive iterations [48], given as:
troller and consequently switching signals are generated [15].
g
Hysteresis PWM is used here for instantaneous harmonic compen- w ¼ wmax ðwmax wmin Þ ð5Þ
sation by the APF on account of simple implementation and quick G
prevail over fast current transitions. The main drawback of Hyster- where g is the index representing the current number of evolution-
esis current control is its high switching frequency that results in ary generation, G is the predefined maximum number of genera-
generation of some higher order harmonics due to the frequent tions, and wmax and wmin are maximal and minimal inertial
switching of semiconductor devices, which can be eliminated weights. Initially, the value of w is taken 0.9 (maximum) in order
using RC high-pass filter. Power losses that take place inside VSI to allow the particles to find the global optimum neighborhood fas-
as a consequence of this high frequency switching are minimized ter. Value of w is set to 0.4 (minimum) upon finding out the optima
by dc-link voltage regulator. so that the search is shifted from exploratory mode to exploitative
mode. The search terminates when either the predefined maximum point in the P-dimensional search domain that represents the posi-
number of iterations are executed or a further better optimum solu- tions of bacteria in the swarm, and him is the mth component of the
tion is not available. ith bacterium position hi. The coefficients datt, watt, hrep and wrep are
the measures of quantity and diffusion rate of the attractant signal
Bacterial foraging optimization and the repellant effect magnitude respectively. Now, the resulting
objective function J(h(i, j, k, l)) becomes
This optimization approach is based on the foraging behavior
J ðhði; j; k; lÞÞ ¼ J ðhði; j; k; lÞÞ þ J cc ðhði; j; k; lÞÞ ð8Þ
exhibited by E. coli bacteria inside human intestine. Here the bac-
teria undergo Natural selection and the ones with poor foraging
strategies are eliminated, whereas those with good foraging strat- Reproduction
egies survive. It was introduced by Passino in 2002 and further The fitness value for ith bacterium after travelling Nc chemotac-
established by Mishra in the year 2005 for harmonic estimation tic steps can be evaluated by following (9).
in power system voltage/current waveforms. BFO mimics four
principal mechanisms observed in bacteria viz. chemotaxis, X
N c þ1
Chemotaxis Here Jihealth represents the health of ith bacterium. The least healthy
If h and J(h) represent the position and fitness of a bacterium, we bacteria constituting half of the bacterial population (Sr) are eventu-
want to find the minimum of J(h), h 2 RP ; where we do not have ally eliminated, while each healthier bacterium asexually reproduce
measurements or an analytical description of the gradient rJ(h). by splitting into two, which are then placed in the same location.
Following are the three conditions that arise Ultimately, the population remains constant. If S number of bacteria
constitute the population, then
(i) J(h) < 0; nutrient-rich environment. S
(ii) J(h) = 0; neutral environment. Sr ¼ ð10Þ
2
(iii) J(h) > 0; noxious environment.
implemented alone. The mechanism of Enhanced BFO and the iter- Step 2: Preliminary assessment of bacterial population.
ative algorithm realizing this mechanism are presented below in (a) For i = 1, 2, . . . , S, current fitness J icurrent of each bacterium
detail. A flowchart of the entire Enhanced BFO technique is in the search space is determined as per the following
depicted in Fig. 4. expression.
J icurrent ¼ Jði; j; k; lÞ
Mechanism of Enhanced Bacterial foraging optimization
In the beginning of search process, a group of bacteria are ran- (b) In the beginning of search process, since the bacterial move-
domly dispersed all throughout the search space. Each bacterium is ment is not yet started, the local best fitness J ilocal and local
assigned with an arbitrary particle velocity. Fitness values of the
bacteria are calculated by taking into consideration the cell-to-cell best position xiLbest of each bacterium are its current fitness
swarming effect. For the initial population, the local best and glo- value and current position respectively, i.e.
bal best positions are figured out in exactly same way as done in J ilocal ¼ J icurrent
PSO. In order to update the positions of individuals, chemotaxis
is carried out, which utilizes a velocity factor obtained from the
velocity update expression used in PSO. After each chemotactic xiLbest ¼ hði; j; k; lÞ
step, fitness value of each particle is calculated. During the search, (c) The initial global best fitness (Jglobal) of the population is the
reproduction and elimination–dispersal events of BFO are also exe- minimum value of fitness possessed by any of the particle in
cuted. For reproduction, half of the bacterial population with least the population and can be given by,
health are eliminated, while rest half of the population asexually
reproduce by each of them splitting into two. Ultimately, the pop- J global ¼ min J ilocal
ulation size remains constant. To simulate elimination–dispersal
phenomenon, some bacteria are liquidated at random with a very where i = 1, 2, . . . , S.
small probability, while the new replacements are randomly ini- The position corresponding to Jglobal is assigned the global best
tialized over the search space. At the end of search process, the position xiGbest .
bacteria reach at the global optimum position.
Step 3: Iterative algorithm.
Iterative algorithm for Enhanced Bacterial foraging optimization (a) Initially the counters for chemotactic loop (j), reproduction
Step 1: Initialization. To begin with, all the parameters related to loop (k), elimination–dispersal loop (l), and counter for swim
proposed algorithm are initialized. Each particle in the group is length (m) are all set to zero.
assigned with a random initial position h(i), and an initial velocity (b) Taking into account the cell-to-cell attractant effect, the cost
(v) which is a random number in the interval [1, 1] with elements function estimated for each of the i = 1, 2, . . . , S bacteria is
n(i); n = 1, 2, . . . , P. calculated as,
" !#
X
S P
X
2 (g) If k < Nre, continue with the next reproductive iteration by
i
J cc ðhði; j; k; lÞÞ ¼ datt exp watt hn hn setting, k = k + 1.
i¼1 n¼1
" !# The entire iterative process is executed repeatedly until the
X
S P
X
2 specified number of reproductive steps (generations) are
þ hrep exp wrep hn hin
executed.
i¼1 n¼1
(h) Elimination–dispersal loop:
With a probability of Ped, the elimination–dispersal event is per-
Jði; j; k; lÞ ¼ Jði; j; k; lÞ þ J cc ðhði; j; k; lÞÞ
formed to ease the exploration of new search areas that may
J last ¼ J ði; j; k; lÞ lead to better optimal solution.
If elimination–dispersal loop counter l < Ned, execute successive
The best cost function value is stored in Jlast until a further
bet-
elimination–dispersal events with the increment of counter l
ter cost is obtained and the best cost of each bacterium J ilocal is after each iteration.
updated as, Terminate the iterative process when the counter l reaches its
J local ði; j; k; lÞ ¼ J last ði; j; k; lÞ maximum specified value, i.e., the number of elimination–dis-
persal events Ned.
(c) Chemotactic loop: Starting with i = 1, the position and cost
function for all the S number of bacteria in the entire popu- Problem formulation
lation are updated using the expressions,
vi Regulation of inverter dc-link voltage
k
hði; j þ 1; k; lÞ ¼ hði; j; k; lÞ þ CðiÞ qffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi
i T i
vk vk The dc-side capacitor (Cdc) serves two major purposes, i.e. (i)
maintains a constant dc voltage with small ripples in the steady
Jði; j þ 1; k; lÞ ¼ Jði; j þ 1; k; lÞ þ J cc ðhði; j þ 1; k; lÞÞ state and (ii) serves as an energy storage element to supply real
power difference between load and source during the transient
While m < Ns, period. The dc bus voltage must be higher than peak value of utility
If J(i, j, k, l) < Jlocal, voltage, to force the output current of APF under the command of
Then set Jlocal = J(i, j, k, l). compensating current. This dc-link capacitor acts as an energy
Updating position and cost function we will get, source and maintains energy balance inside the VSI. The compo-
vi nent of supply reference current (id1h) to restore the energy on dc
hði; j þ 1; k; lÞ ¼ hði; j þ 1; k; lÞ þ CðiÞ qffiffiffiffiffiffiffiffiffiffiffiffiffiffi
k
T
ðv ik Þ v ik bus is computed based on energy balance. If V dc is the
reference
value of dc-link voltage, nominal stored energy edc on the dc
Jði; j þ 1; k; lÞ ¼ Jði; j þ 1; k; lÞ þ J cc ðhði; j þ 1; k; lÞÞ
bus of APF is
The current position (xcurrent) of each bacterium can be given 2
by, V dc
edc ¼ C dc ð11Þ
xcurrent ði; j þ 1; k; lÞ ¼ hði; j þ 1; k; lÞ 2
The position corresponding to local best fitness J ilocal is The actual average stored energy (edc) on dc bus is given by (12),
where Vdca is the average value of actual dc-link voltage.
stored in xiLbest .
Increment the counter as, m = m + 1. ðV dca Þ2
End the while loop. edc ¼ C dc ð12Þ
2
To proceed to next bacterium, set i = i + 1 until i = S.
Thus energy loss (Dedc) of dc-link capacitor is
(d) In each chemotactic step, calculate the current global best ( 2 )
V dc ðV dca Þ2
fitness function value (JGcurrent) and continue the chemotactic Dedc ¼ edc edc ¼ C dc ð13Þ
2
loop if still j < Nc.
J Gcurrent ¼ minðJ ilocal Þ This energy difference encountered in APF is supplied from ac
mains by regulating the dc-link voltage with the help of a PI
where i = 1, 2, . . . , S. controller.
If JGcurrent < Jglobal, set Jglobal = JGcurrent. The global best position A PI controller offers dual advantages as the Proportional (P)
i
xGbest is updated with the position corresponding to Jglobal. action provides fast response and the Integral (I) action provides
zero steady-state error. Block diagram for the process with PI con-
(e) The particles update their new velocities and directions by troller is shown in Fig. 5.
the equation, The output of a PI controller is given by,
Z t
v ikþ1 ¼ w v ik þ c1 r1 xiLbest xicurrent þ c2 r 2 xiGbest xicurrent uðtÞ ¼ K p eðtÞ þ K i eðt Þ dt
0
(f) Reproduction: Z t
The health of each bacterium is calculated using the expression ¼ K p ½r ðtÞ cðtÞ þ K i ½rðt Þ cðtÞ dt ð14Þ
0
given below and then sorted in ascending order of cost function.
Here, t represents the instantaneous time, e(t) is the system error
X
N c þ1
between the desired output r(t) and actual output c(t), u(t) is the
J ihealth ¼ i
J ðj; k; lÞ
controlled input for non-linear system, Kp is the proportional gain,
j¼1
and Ki is the integral gain. The proportional term considers only
Sr is the number of least healthy bacteria that are discarded out of the current value of error at any time, whereas the integral term
the population and individuals with best health are split into two, considers the sum of instantaneous errors over time, or how far
keeping the population size constant. the actual measured output value has been from the reference since
392 S.S. Patnaik, A.K. Panda / Electrical Power and Energy Systems 61 (2014) 386–398
Table 1
Values of system parameters used in simulation.
Fig. 6. VSI-based shunt APF system configuration along with the non-linear loads.
S.S. Patnaik, A.K. Panda / Electrical Power and Energy Systems 61 (2014) 386–398 393
Fig. 7. Convergence characteristics of PSO, BFO and Enhanced BFO algorithms under (a) ideal supply, (b) distorted supply and (c) unbalanced supply.
dynamic conditions is observed by sudden switching on of Load-2 Figs. 9a–9c depict simulation waveforms for supply voltage,
at time instant t = 0.1 s. Relative convergence of Vdc with Enhanced load current, compensation current, and source currents for APF
BFO, PSO and BFO based PI controllers has been shown in Fig. 8, employing PSO, BFO and Enhanced BFO under ideal, distorted
which indicates that, Vdc reaches at its reference of 800 V within and unbalanced supply conditions respectively. The nature of
nearly one cycle under ideal and distorted supplies; and within source current before compensation is exactly same as the load
1.5 cycles under unbalanced supply. During load variation at current. It can be clearly observed that, irrespective of the nature
t = 0.1 s, the deviation in Vdc is maximum for PSO and minimum of supply condition, with the implementation of APF, harmonics
for Enhanced BFO signifying its fast return to 800 V and hence in source current have been fully compensated by injecting suit-
quick prevail over harmonics. Besides, ripples in Vdc during steady able compensating filter currents. The nature of compensated
state are observed to be very high for PSO and lowest for Enhanced source currents obtained with PSO, BFO and Enhanced BFO can
BFO. be compared by Fast Fourier Transform (FFT) analysis. The THDs
Vdc (Volts)
700 700
500 500
0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2 0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2
time (sec) time (sec)
(c) 900
800
Vdc (Volts)
700
600 PSO-based PI
BFO-based PI
Enhanced BFO-based PI
500
0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2
time (sec)
Fig. 8. Relative convergence of Vdc with PSO, BFO and Enhanced BFO-based APFs under (a) ideal supply, (b) distorted supply and (c) unbalanced supply.
394 Vs (Volts) S.S. Patnaik, A.K. Panda / Electrical Power and Energy Systems 61 (2014) 386–398
is1 (Amp)
300 60
0 0
-300 -60
0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2 0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2
time (sec) time (sec)
50
is2 (Amp)
iL (Amp)
60
0 0
-50 -60
0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2 0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2
time (sec) time (sec)
40 60
is3 (Amp)
i c (Amp)
0 0
-40 -60
0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2 0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2
time (sec) time (sec)
Fig. 9a. Simulation waveforms for supply voltage (Vs), load current (iL), compensation current (ic), and source currents for APF employing PSO (is1), BFO (is2) and Enhanced BFO
(is3) under ideal supply.
Vs (Volts)
is1 (Amp)
300 60
0 0
-300 -60
0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2 0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2
time (sec) time (sec)
50
iL (Amp)
is2 (Amp)
60
0 0
-50 -60
0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2 0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2
time (sec) time (sec)
40 60
is3 (Amp)
ic (Amp)
0 0
-40 -60
0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2 0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2
time (sec) time (sec)
Fig. 9b. Simulation waveforms for supply voltage (Vs), load current (iL), compensation current (ic), and source currents for APF employing PSO (is1), BFO (is2) and Enhanced BFO
(is3) under distorted supply.
Vs (Volts)
300
is1 (Amp)
60
0 0
-300 -60
0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2 0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2
time (sec) time (sec)
50
is2 (Amp)
iL (Amp)
60
0 0
-50 -60
0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2 0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2
time (sec) time (sec)
40
is3 (Amp)
60
ic (Amp)
0 0
-40 -60
0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2 0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2
time (sec) time (sec)
Fig. 9c. Simulation waveforms for supply voltage (Vs), load current (iL), compensation current (ic), and source currents for APF employing PSO (is1), BFO (is2) and Enhanced BFO
(is3) under unbalanced supply.
S.S. Patnaik, A.K. Panda / Electrical Power and Energy Systems 61 (2014) 386–398 395
obtained from this analysis have been tabulated in Table 3. The Table 4
compensation of current harmonics to such a large extent irrespec- Components of Opal-RT OP5142 board.
tive of supply voltage is also due to the lower value of source Sl. no. Component name Description
impedance, which contributes to low influence of supply on source 1 S1 FPGA engine manual reset
current and vice-versa. 2 JTAG1 FPGA JTAG interface
3 JTAG2 CPLD JTAG interface
4 JUMP4 JTAG architecture selection
Real-time performance analysis with Opal-RT Lab 5 JTAG3 PCle bridge JTAG interface
6 JTAG4 SerDes JTAG interface
The Simulink model is built in the PC installed with MATLAB, 7 JP1 PCle & synchronization bus and power supply
8 J1/J2/J3 Backplane data, ID and I2C interface
which is integrated with Opal-RT Lab simulator. Once the model
9 JUMP1 Identification EEPROM write protection
is prepared, RT-Lab uses Real-Time Workshop to convert the sepa- 10 JUMP2 FPGA configuration mode selection
rated models into code for compilation as subsystem simulations 11 JUMP3 Flash memory write protection
on each target processor. Data from the model is directed to the 12 J4 Flash memory forced programmation voltage
user via a special subsystem, called the Console, where the signals FPGA – Field-Programmable Gate Array, JTAG – Joint Test Action Group, CPLD –
being generated can be viewed. In Fig. 10, the set-up used for real- Complex Programmable Logic Device, PCIe – Peripheral Component Interconnect
time simulation via Opal-RT Lab is depicted and various compo- Express, SerDes – Serializer/Deserializer, I2C – Inter-Integrated Circuit, EEPROM –
nents of OP5142 have been listed in Table 4. The details regarding Electrically Erasable Programmable Read-Only Memory
(a) (b)
Fig. 10. Opal-RT Lab (a) set-up and (b) OP5142 system integration diagram showing layout and connectors.
396 S.S. Patnaik, A.K. Panda / Electrical Power and Energy Systems 61 (2014) 386–398
Fig. 11. RT-Lab results for supply voltage, load current, compensation filter current, dc-link voltage, source current for PSO-based APF, source current for BFO-based APF,
source current for Enhanced BFO-based APF for (a) ideal supply, (b) distorted supply and (c) unbalanced supply respectively.
S.S. Patnaik, A.K. Panda / Electrical Power and Energy Systems 61 (2014) 386–398 397
[44] Patnaik SS, Panda AK. Three-level H-bridge and three H-bridges-based three- [47] Kennedy J. The particle swarm: social adaptation of knowledge. In: Proc 1997
phase four-wire shunt active power filter topologies for high voltage international conference on evolutionary computation, Indianapolis, IN, USA;
applications. Electr Power Energy Syst 2013;51:298–306. 1997. p. 303–8.
[45] Akagi H. Active harmonic filters. Proc IEEE 2005;93(12):2128–41. [48] Shi Y, Eberhart RC. A modified particle swarm optimizer. In: Proc IEEE
[46] Routimo M, Salo M, Tuusa H. Comparison of voltage–source and current– international conference on evolutionary computation, Anchorage, AK, May
source shunt active power filters. IEEE Trans Power Electron 2007;22(2): 1998. p. 69–73.
636–43.