Professional Documents
Culture Documents
A Benchmark System For Digital Time-Domain Simulation of An Active Power Filter PDF
A Benchmark System For Digital Time-Domain Simulation of An Active Power Filter PDF
1, JANUARY 2005
AbstractA benchmark system is presented for digital time- distortion and the possible existence of undesirable limit cycle
domain simulation of a shunt connected active power filter. The behavior [8]. Even if limit cycle behavior is avoided, hysteresis
active power filter consists of a 3-phase voltage source converter control still generally results in an unpredictable average
operating under pulse-width modulation. The converter is con-
converter switching frequency that varies with the operating
trolled using a digital deadbeat current regulator. Harmonic
prediction is employed to allow accurate harmonic compensation conditions [7], [9]. It should be noted, however, that some novel
despite controller latencies. A PSCAD/EMTDC simulation model hysteresis schemes have been proposed which employ a time
is developed based on a laboratory scale active power filter. By varying hysteresis band to constrain the variations in switching
employing an experimental system as a basis, a pragmatic control frequency [10], [11].
structure, which accounts for all implementation constraints, is In contrast to hysteresis type control schemes, fixed switching
assured. Experimental measurements clearly validate the accu-
frequency schemes produce predictable switching harmonics,
racy of the simulation model.
predictable switching losses and they are not susceptible
Index TermsActive filters, digital control, power system to limit cycle behavior. Furthermore, unlike hysteresis type
harmonics, predictive control, pulse width modulated power
control schemes, fixed frequency schemes may be entirely
converters.
implemented using digital components, leading to a more
robust system. Review of recent literature in the area of power
I. INTRODUCTION electronics shows a strong trend toward fully-digital control of
high power converters based on predictive control techniques;
A CTIVE power filters may be constructed out of single-
phase or multi-phase converters using either voltage or
current source converter topologies. To provide filtering action
also known as dead-beat control [12][16]. While various
approaches to implementing such digital controllers exist, all
at frequencies well above the fundamental, converters must em- designs target either a one switching cycle or two switching
ploy a switching frequency of several kHz or more. Only a very cycle controller response time. Thus, from the perspective of
limited set of high power semiconductor devices are capable of the power network, their responses are, to a first order, nearly
operating at these frequencies, with the IGBT being the only identical.
Although fixed frequency control schemes offer many advan-
device commercially available from a wide range of manufac-
tages as compared to hysteresis control schemes, they suffer
turers. Intrinsic characteristics of the IGBT make these devices
from more severe bandwidth limitations due to increased con-
better suited for voltage source converter applications.
troller latencies. Of significance is the fact that these latencies
Voltage source converters themselves are available in various
are precisely known a priori. Thus, for compensation of har-
configurations and include: single-phase [1], 3-wire 3-phase [2],
monic producing loads, such as diode rectifiers or motor drives,
4-wire 3-leg 3-phase [3] or 4-wire 4-leg 3-phase [4]. Decision
harmonic prediction can be effectively used to compensate tar-
on the specific configuration is based on application, cost, com-
geted harmonics with a high degree of accuracy [13], [17].
plexity, and modularity of design. Of these four, it is the 3-phase,
For compensation of loads with rapid time rate of change,
3-wire converters that are typically the most cost effective, but
such as welders or various other arcing loads, harmonic predic-
with the caveat that they are unable to provide compensation of
tion is impossible1. In these applications the active filter must
zero-sequence current components.
dynamically compensate the entire load current, excepting the
Depending on application, either a fixed switching frequency
fundamental frequency component. Complete elimination of
scheme, such as sinusoidal pulse-width modulation [5] and
harmonics is not achievable due to digital controller laten-
space vector modulation [6], or a variable switching frequency
cies and the limited response time of the converter. Although
hysteresis control scheme may be selected [7]. Hysteresis based
specialized hardware may be designed to minimize latencies
control schemes are documented to suffer from inter-phase
for optimal performance [14], such specialty applications lie
outside the scope of this paper.
Manuscript received February 25, 2003; revised October 9, 2003. Paper no.
TPWRD-00071-2003. 1It should be noted that, strictly speaking, it is not valid to discuss the har-
The authors are with the IEEE PES Task Force on Simulation of FACTS and monics produced by arcing loads, since no window of periodicity exists over
Customer Power Devices of the IEEE PES Working Group on Modeling and which to perform a Fourier Analysis. A typical spectral analyzer will only dis-
Analysis of System Transients Using Digital Programs play some average harmonic spectrum from which the actual time varying load
Digital Object Identifier 10.1109/TPWRD.2004.837815 current cannot be re-constructed.
TABLE I
POWER CIRCUIT SPECIFICATIONS
and the PWM unit. Inputs for the VSC controller include the ac
bus voltages , the load currents , the converter currents ,
TABLE II and the capacitor voltage on the dc link of the VSC; outputs
DIODE AND IGBT MODEL SPECIFICATIONS are the six gating pulses needed to operate the IGBTs in the
VSC.
Ac voltages and currents are vector quantities which, in gen-
eral, may be expressed either as a column vector containing
phase -variables, or as a column vector containing -vari-
ables in accordance with the Clarke Transform [19]
TABLE III
DC VOLTAGE CONTROLLER CONSTANTS
such that the overall effect is a two time step advance of the sur-
viving signal components. The reasoning behind this advance
is to counteract the two time step VSC implementation delay,
thereby ensuring an in-phase relation between and . Finally,
the processed coefficient vector is reconstituted into a time-do-
main waveform, which, as required, contains only load current
harmonics. Fig. 4 depicts in block-diagram form this procedure.
Fig. 6. Control scheme used in the current controller.
The load harmonic reference current output by the harmonic
compensator will serve only as a fraction of the overall APF
reference current. To it will be superimposed a small charging The quantities and are the inductance and resistance of the
current, required to regulate the dc bus voltage, and described APF filter inductor, while represents the converter current,
further in the following section. the ac bus voltage, and the instantaneous VSC ac terminal
2) DC Voltage Controller: The dc voltage controller, shown voltage. Equation (3) is valid independent of whether voltages
in Fig. 5, monitors the VSC dc side voltage and accordingly and currents are expressed as vectors of phase -quantities or
requests a charging current to maintain it at a user-defined as vectors of -quantities.
reference. This signal, once computed, is superimposed onto By nature of the 3-phase APF topology, however, no zero se-
to constitute the total converter reference current . quence current can exist as the three converter currents must
A user-supplied reference voltage is compared with sum to zero. Incorporation of this constraint into the APF con-
a low-pass filtered measurement of the dc voltage . The trol equations is trivial in the -frame, since zero sequence
resulting voltage error is processed by a conventional pro- components are already isolated. Thus control of only - and
portional-integral (PI) controller, with characteristics located -currents need be realized.
Table III. Attached to the output side of the PI is a hard limiter. It is therefore sufficient to express voltages and currents in
These blocks together set the magnitude of the charging current two-dimensional space vector
to be drawn by the VSC and, if necessary, limit that current in
order to avoid overloading the VSC. (4)
To ensure unity power factor operation, the phase and fre-
quency of the charging current must be very near to those of the
Translating (3) into discrete time via trapezoidal integration
ac bus voltage . Therefore, the bus voltage is simply mod-
yields
ulated by the charging current reference in order to meet
this requirement. A correct phase relation with the ac bus again
demands counteracting the VSC implementation delay through
an initial two time step advance of . Note that the modulation
process which yields introduces a scale factor of ampli-
tude . This scaling is accounted for in the tuning of the PI (5)
regulator.
It should further be noted that normal operation of the APF where represents the converter terminal voltage averaged
may result in the appearance of dc bus voltage ripple at har- over one sampling period. Although (5) is indeed valid for any
monic frequencies. It is essential that the dc voltage control loop chosen sample interval, implementation of a control based on
not interfere with this natural phenomenon, otherwise filtering (5) requires samples to be taken in synchronism with the peaks
action will be degraded. Parameters of the low-pass filter are and valleys of the PWM carrier signal [16]. The converter cur-
therefore selected to ensure that harmonic ripple does not prop- rent which appears in the next time step can then be controlled
agate through the voltage control loop. Filter specifications are by selecting in the current time step.
also located in Table III. However, the VSC implementation delay is two time steps,
3) Current Controller: The current controller, shown in forcing this equation to be iterated once, yielding
Fig. 6, implements the governing equation for the active power
filter system
(3) (6)
238 IEEE TRANSACTIONS ON POWER DELIVERY, VOL. 20, NO. 1, JANUARY 2005
(7)
(8)
(9)
where is the modulation index vector, with magnitude no phase components of the normalized reference voltage vector
greater than unity. Equating the future converter current to are each compared with a digitally generated triangular
the converter reference yields the final form of the control carrier waveform to generate gating pulses. The PWM unit op-
equation, which, when solved for , reads erates using a triangle carrier waveform of unit magnitude and
frequency of 3.06 kHz, which is half the sampling frequency of
6.12 kHz. Thus two reference voltage vectors are implemented
(11)
every period of the carrier.
In this final form, the current controller uses the externally de-
fined reference to determine the normalized voltages IV. RESULTS
necessary to actualize that reference on the ac terminals of the Testing of the PSCAD/EMTDC simulation benchmark model
VSC in two time steps. occurs in three trials: steady-state response, load switch-on tran-
The control equation calculates the precise VSC terminal sient response, and dc voltage response. The simulation time
voltage required to effect the desired change in after exactly step used for all simulation cases is 25 s.
two time steps. But it is clearly the case that the VSC cannot
output on its ac side a line-to-line voltage which exceeds that
residing on its dc link. A space vector limiter block is therefore A. Steady State Response
attached to the output of the control equation to ensure that all The rectifier load, when connected to the 115 V rms bus,
requests are physically viable. This block identifies all space draws a 35 A peak amplitude current having the waveform
vectors with length greater than unity and reacts accordingly by shown in Fig. 7. Since and must equal in cases where the
normalizing those lengths while preserving their phase relation APF is not online, this waveform may also be construed as
with the real axis. All space vectors with lengths less than unity the unfiltered or uncompensated source current. Moreover, it
pass through this block unaffected. has been posited that with the APF in the circuit and gating
Note that the control will not function correctly during over- correctly, the source current is to be filtered almost entirely of
modulation without the presence of the space vector limiter. its load current harmonics, resulting in a sinusoid of near equiv-
The last term in (11) represents the previously implemented alent fundamental magnitude and suffering only from harmonic
value of a numerical quantity stored digitally in the con- residue and high frequency noise. Fig. 8 shows two waveforms
troller. If the converter did not implement this requested value each representing the filtered phase A source current, the first
of due to lack of dc voltage, control operation would be of which is taken from the experimental setup, the second from
compromised. the simulation. These two results agree with each other and
The reference voltage vector is then transformed back with the predictions. Similar correspondence is also exhibited
into the -frame through the inverse Clarke Transform and in the experimental and simulated converter currents, shown in
this result is sent to the PWM unit. Fig. 9. What is important to note in both the latter two pairs of
4) Pulse-Width Modulator: The remaining module of im- waveforms is the close correlation between experimental and
portance in the digital controller is the PWM unit. The three simulation in terms of high frequency harmonics. In particular,
IRAVANI et al.: A BENCHMARK SYSTEM FOR DIGITAL TIME-DOMAIN SIMULATION OF AN ACTIVE POWER FILTER 239
Fig. 8. Phase A source current, taken with the APF included in the power
circuit configuration.
Fig. 10. Harmonic content of the phase A source, load and converter currents,
taken with the APF included in the power circuit configuration.
Fig. 11. Direct comparison of filtered phase A source current with the initially
unfiltered phase A source current.
Fig. 13. Phase A load switch-on source current, taken with the APF included
in the power circuit configuration.
REFERENCES
[1] M. Sedighy, S. B. Dewan, and F. P. Dawson, A robust digital current
control method for active power filters, IEEE Trans. Ind. Applicat., vol.
36, no. 4, pp. 11581164, Jul./Aug. 2000.
[2] H. Akagi, New trends in active filters for power conditioning, IEEE
Trans. Ind. Applicat., vol. 32, no. 6, pp. 13121322, Nov./Dec. 1996.
[3] P. Verdelho and G. D. Marques, Four-wire current-regulated PWM
voltage converter, IEEE Trans. Ind. Electron., vol. 45, no. 5, pp.
761770, Oct. 1998.
[4] D. Shen and P. W. Lehn, Fixed-frequency space-vector-modulation
control for three-phase four-leg active power filters, in Proc. Inst.
Elect. Eng., Elect. Power Applicat., vol. 149, Jul. 2002, pp. 268274.
[5] N. Mohan, T. Undeland, and W. Robbins, Power Electronics: Con-
verters, Applications, and Design. New York: Wiley, 2003.
[6] H. W. van der Broeck, H. C. Skudelny, and G. V. Stanke, Analysis and
realization of a pulsewidth modulator based on voltage space, IEEE
Fig. 15. VSC dc side voltage transient response to a change in the user- Trans. Ind. Applicat., vol. 24, no. 1, pp. 142150, Jan./Feb. 1988.
supplied reference value. [7] D. M. E. Ingram and S. D. Round, A novel digital hysteresis current
controller for an active power filter, in Proc. Int. Conf. Power Elec-
tronics Drive Systems, vol. 2, 1997, pp. 744749.
use sophisticated built-in modules for critical studies unless [8] D. M. Brod and D. W. Novotny, Current control of VSI-PWM
complete module source-code is available. inverters, IEEE Trans. Ind. Applicat., vol. 21, no. 4, pp. 562570,
May/Jun. 1985.
C. DC Voltage Response [9] R. Wu, S. B. Dewan, and G. R. Slemon, A PWM AC to DC converter
with fixed switching frequency, IEEEInd. Applicat. Soc., vol. 1, pp.
The dc voltage response of the APF is treated as the resul- 706711, 1988.
tant transient observed on the dc link of the VSC when the [10] L. Malesani, P. Mattavelli, and P. Tomasin, High-performance hys-
teresis modulation technique for active filters, IEEE Trans. Power
user-supplied reference voltage is changed. Typically residing Electron., vol. 12, no. 5, pp. 876884, Sep. 1997.
at 220 V, this trial charted a reference increase from 200 V [11] B. K. Bose, An adaptive hysteresis-band current control technique of a
to 225 V. Fig. 15 summarizes the experimental and simula- voltage-fed PWM inverter for machine drive system, IEEE Trans. Ind.
Electron., vol. 37, no. 5, pp. 402408, Oct. 1990.
tion results. Equivalent in terms of trajectory, these two tran- [12] L. Rossetto and S. Buso, Digitally-controlled single-phase single-stage
sients differ in terms of increased harmonic rippleparticularly ac/dc pwm converter, IEEE Trans. Power Electron., vol. 18, no. 1, pp.
second harmonicand also measurement noise in the experi- 326333, Jan. 2003.
[13] S.-G. Jeong and M.-H. Woo, DSP-based active power filter with pre-
ment. The second harmonic ripple is attributable to imbalance dictive current control, IEEE Trans. Ind. Electron., vol. 44, no. 3, pp.
in the laboratory supply voltage, while further harmonic ripple 329336, Jun. 1997.
[14] J. Mossoba and P. W. Lehn, A controller architecture for high band-
likely stems from other harmonic bus voltage distortion. Noise width active power filters, IEEE Trans. Power Electron., vol. 18, no. 1,
is purely a function of the measurement apparatus, which is af- pp. 317325, Jan. 2003.
fected by the switching transients of the converter. Otherwise, [15] R. Ottersten and J. Svensson, Vector current controlled voltage source
the 25 V difference is traversed in about 75 ms and with sim- converterDeadbeat control and saturation strategies, IEEE Trans.
Power Electron., vol. 17, no. 2, pp. 279285, Mar. 2002.
ilar overshoot in both situations. Therefore, there is still good [16] P. Jintakosonwit, H. Fujita, and H. Akagi, Control and performance of
overall agreement between the two responses. a fully-digital-controlled shunt active filter for installation on a power
distribution system, IEEE Trans. Power Electron., vol. 17, no. 1, pp.
132140, Jan. 2002.
V. CONCLUSION [17] S. Mariethoz and A. C. Rufer, Open loop and closed loop spectral fre-
quency active filtering, IEEE Trans. Power Electron., vol. 17, no. 4, pp.
A benchmark model for a 3-phase active filter was pre- 564573, Jul. 2002.
sented. The proposed benchmark provides an experimentally [18] L. Malesani, P. Mattavelli, and S. Buso, Robust dead-beat current con-
validated simulation model of a deadbeat, digitally controlled trol for PWM rectifiers and active filters, IEEE Trans. Ind. Applicat.,
vol. 35, no. 3, pp. 613620, May/Jun. 1999.
active power filter. Harmonic prediction is employed in the [19] E. Clarke, Circuit Analysis of AC Power Systems. New York: Wiley,
benchmark model to permit use of low frequency pulse-width 1943.