Escolar Documentos
Profissional Documentos
Cultura Documentos
ACKNOWLEDGEMENT
I would like to take this opportunity to thank various people who have
provided much assistance and invaluable information to make this project a success.
First of all, I would like to take this opportunity to express my deepest gratitude to
my supervisor of this project, Associate Professor Dr. Zainal bin Salam for his
valuable guidance and generous encouragement throughout the project duration. His
patience in understanding my tasks and problems has brought light to the
development of this project.
Last but not least, my utmost thanks go to my beloved mother and Chai Ling
for their unimaginable love, encouragement and support.
v
ABSTRACT
The past several years have seen a rapid increase of power electronics-based
loads connected to the distribution system. These types of loads draw nonsinusoidal
current from the mains, degrading the power quality by causing harmonic distortion.
This thesis proposes a single-phase hybrid active power filter with photovoltaic
application. The proposed topology interconnects a passive high-pass filter in
parallel with a shunt active power filter and a DC source that represents the
photovoltaic array. The uniqueness of the proposed topology is the fact that it
improves the harmonic filtering performance of a basic shunt active power filter, as
well as simultaneously supplies the power from the photovoltaic array to the load.
The compensation current reference for the proposed topology is obtained by using
the extension instantaneous reactive-power theorem. This theorem simplifies the
equations for the current reference estimation, thus leading to a more efficient
implementation in digital signal processor. To generate the compensation current
that follows the current reference, the fixed-band hysteresis current control method is
adopted. This work describes the design of circuit topology, control system, high-
pass filter and compensation current reference estimation. The system is verified by
simulation using MATLAB/Simulink simulation package. To validate the result, a
500 VA laboratory prototype is constructed. It is based on the dSPACE DS1104
digital signal processor. Experimental results show that the system effectively
reduces the total harmonic distortion of the source current from 130.2 % to 19.6 %.
Furthermore, it is demonstrated that the system can also supply active power to the
load.
vii
TABLE OF CONTENTS
TITLE PAGE i
DECLARATION ii
DEDICATION iii
ACKNOWLEDGEMENT iv
ABSTRACT v
ABSTRAK vi
TABLE OF CONTENTS vii
LIST OF TABLES xii
LIST OF FIGURES xiii
LIST OF SYMBOLS xviii
LIST OF ABBREVIATIONS xxiii
LIST OF APPENDICES xxv
1 INTRODUCTION 1
1.1 Overview 1
1.2 Objective of Research 3
1.3 Methodology of Research 4
1.4 Thesis Organisation 5
2 LITERATURE REVIEW 7
2.1 Introduction 7
2.2 Electric Power Quality 7
viii
REFERENCES 125
PUBLICATIONS 135
LIST OF TABLES
LIST OF FIGURES
LIST OF SYMBOLS
a - Constant of H 1( z )
a LPF 1 , a LPF 2 - Coefficients of G LPF (z )
A - Gain coefficient of Z hp (s )
c - Constant of H 2( z )
C - Capacitor
C 0 , C1 - Coefficients of ∆z
Cd - DC Smoothing capacitor
Cf - DC-bus capacitor
if - Compensation current
iL - Load current
IL - rms value of load current
i PV - PV current
I PV - Amplitude of PV current
is - Source current
L - Inductor
Lf - APF interfacing inductor
Ls - Source inductor
RB - Bleed resistor
Rhp - High-pass filter resistor
RL - Load resistor
s 0 , s1 - Poles of H (s )
vf - Compensation voltage
vs - Source voltage
vu - Distribution voltage
ω - Damped frequency
ω0 - Series resonant frequency of Z hp (s)
ωp - Pole frequency of Z hp (s )
z 0 , z1 - Poles of H (z )
z −1 - Unit delay
xxii
Zs - Source impedance
∆z - Characteristic equation of H (z )
θ - Phase angle of load current
θn - Phase angle of n-th load current component
LIST OF ABBREVIATIONS
AC - Alternating current
ADC - Analogue-to-digital converter
APF - Active power filter
ASD - Adjustable-speed motor drive
CPU - Central processing unit
DAC - Digital-to-analogue converter
DC - Direct current
DCO - Digitally-controlled oscillator
DSP - Digital signal processor
EMI - Electromagnetic interference
ESL - Equivalent series inductance
ESR - Equivalent series resistance
FFT - Fast Fourier Transform
HPF - High-pass filter
I/O - Input/output
IGBT - Insulated gate bipolar transistor
LPF - Low-pass filter
MOSFET - Power metal oxide-semiconductor field-effect transistor
p-q - Instantaneous reactive-power
PCC - Point of common coupling
PCI - Peripheral component interconnect
PI - Proportional-integral controller
PLL - Phase-lock loop
PQ - Power quality
PV - Photovoltaic
PWM - Pulse width modulation
xxiv
rms - Root-mean-square
RE - Renewable energy
RTI - Real-time interface
RTLib - Real-time library
RTW - Real-time workshop
THD - Total harmonic distortion
THD12.5 kHz - Total harmonic distortion calculated up to 12.5 kHz
VSI - Voltage source inverter
xxv
LIST OF APPENDICES
INTRODUCTION
1.1 Overview
The power quality (PQ) problems in power distribution systems are not new,
but only recently the effects of these problems have gained public awareness.
Advances in semiconductor device technology have fuelled a revolution in power
electronics over the past decade, and there are indications that this trend will
continue [1]. However these power equipments which include adjustable-speed
motor drives (ASDs), electronic power supplies, direct current (DC) motor drives,
battery chargers, electronic ballasts are responsible for the rise in related PQ
problems [2]-[4]. These nonlinear loads are constructed by nonlinear devices, in
which the current is not proportional to the applied voltage. A simple circuit as
shown in Figure 1.1 illustrates the concept of current distortion. In this case, a
sinusoidal voltage is applied to a simple nonlinear resistor in which the voltage and
current vary according to the curve shown. While the voltage is perfectly sinusoidal,
the resulting current is distorted.
i(t)
V
I
v(t) Nonlinear Resistor
The idea of hybrid APF has been proposed by several researchers [16]-[18].
In this scheme, a low cost passive high-pass filter (HPF) is used in addition to the
conventional APF. The harmonics filtering task is divided between the two filters.
The APF cancels the lower order harmonics, while the HPF filters the higher order
harmonics. The main objective of hybrid APF, therefore is to improve the filtering
performance of high-order harmonics while providing a cost-effective low order
harmonics mitigation.
To achieve the first objective, this research proposes a hybrid APF topology
for a single-phase system, connected to a DC source that represents the PV array.
The topology is unique because it effectively filters harmonic currents of low and
high frequencies to obtain sinusoidal source current. Furthermore, it simultaneously
supplies the power from the PV array to the load.
4
For the second objective, this research proposes the application of the
extension instantaneous reactive-power (p-q) theorem to estimate the compensation
current reference. Although the estimation of current reference based on extension
p-q theorem is not new [24]-[26], this approach has not yet being applied to a single-
phase hybrid APF system involving passive HPF, shunt APF and a PV array. Using
the extension p-q theorem, the resulting equations for the current reference is simpler
compared with the conventional p-q theorem presented in [27]. This will lead to
more efficient digital controller implementation using DSP.
This thesis consists of this introductory chapter and six other chapters
arranged as follows:
LITERATURE REVIEW
2.1 Introduction
Figure 2.1 illustrates that any periodic, distorted waveform can be expressed
as a sum of pure sinusoids. The sum of sinusoids is referred to as a Fourier series,
named after the great mathematician who discovered the concept. The Fourier
analysis permits a periodic distorted waveform to be decomposed into an infinite
series containing DC component, fundamental component (50/60 Hz for power
systems) and its integer multiples called the harmonic components. The harmonic
number (h) usually specifies a harmonic component, which is the ratio of its
frequency to the fundamental frequency [4].
50 Hz
(h = 1)
+
150 Hz
(h = 3)
+
250 Hz
(h = 5)
+
.
.
.
.
hmax
∑M
2
h
h >1
THD = × 100% , (2.1)
M1
THD of current varies from a few percent to more than 100%. THD of
voltage is usually less than 5%. Voltage THDs below 5% are widely considered to
be acceptable, while values above 10% are definitely unacceptable and will cause
problems for sensitive equipment and loads [4].
Distorted Voltage
(Voltage Drop) _
+
PCC
Pure
Sinusoid Distorted Load Nonlinear
Current Load
Figure 2.2 Harmonic currents flowing through the system impedance result in
harmonic voltages at the PCC
Because of the adverse effects that harmonics have on electric PQ, certain
Standards have been developed to define a reasonable framework for harmonic
control [33]. The objective of such Standard is to propose steady-state harmonic
limits that are acceptable by both electric utilities and their customers.
R L C
C R L
L
Load
Load
Load
Load
R
C
C
C
1st-order 2nd-order 3rd-order
Single-tuned
High-pass High-pass High-pass
The single-tuned “notch” filter is the most common and economical type of
passive filter [4], [5], [7]. The notch filter is connected in shunt with the power
distribution system and is series-tuned to present low impedance to a particular
harmonic current. Thus, harmonic currents are diverted from their normal flow path
through the filter.
Another popular type of passive filter is the high-pass filter (HPF) [4], [6]. A
HPF will allow a large percentage of all harmonics above its corner frequency to
pass through. HPF typically takes on one of the three forms, as shown in Figure 2.3.
The first-order, which is characterised by large power losses at fundamental
frequency, is rarely used. The second-order HPF is the simplest to apply while
providing good filtering action and reduced fundamental frequency losses [8]. The
filtering performance of the third-order HPF is superior to that of the second-order
HPF. However, it is found that the third-order HPF is not commonly used for low-
voltage or medium-voltage applications since the economic, complexity, and
reliability factors do not justify them [7].
12
Although simple and least expensive, the passive filter inherits several
shortcomings. The filter components are very bulky because the harmonics that need
to be suppressed are usually of the low order [4], [8]. Furthermore the compensation
characteristics of these filters are influenced by the source impedance. As such, the
filter design is heavily dependent on the power system in which it is connected to [7].
The passive filter is also known to cause resonance, thus affecting the stability of the
power distribution systems [8], [9], [34].
supply
interfacing
inductor/ nonlinear Load
transformer
APFs have a number of advantages over the passive filters. First of all, they
can suppress not only the supply current harmonics, but also the reactive currents.
Moreover, unlike passive filters, they do not cause harmful resonances with the
power distribution systems. Consequently, the APFs performances are independent
of the power distribution system properties [9], [34].
current-source voltage-source shunt APF series APF shunt APF APF in series
inverter inverter + + + with
series APF shunt PF shunt PF shunt PF
Note:
APF: Active power filter, PF: Passive filter
Figure 2.6 shows the principle configuration of a VSI based shunt APF. It
consists of a DC-bus capacitor ( C f ), power electronic switches and an interfacing
currents due to nonlinear loads. The operation of shunt APF is based on injection of
compensation current which is equivalent to the distorted current, thus eliminating
the original distorted current. This is achieved by “shaping” the compensation
current waveform ( i f ), using the VSI switches. The shape of compensation current
the relationship: is = i L − i f .
15
AC Source is iL
Nonlinear
Load
Lf if
+
Cf
-
VSI
Suppose the nonlinear load current can be written as the sum of the
fundamental current component ( i L , f ) and the current harmonics ( i L ,h ) according to
i L = i L , f + i L ,h (2.2)
i f = i L ,h (2.3)
is = i L − i f = i L , f (2.4)
which only contains the fundamental component of the nonlinear load current and
thus free from harmonics. Figure 2.7 shows the ideal source current when the shunt
APF performs harmonic filtering of a diode rectifier. The injected shunt APF current
completely cancels the current harmonics from the nonlinear load, resulting in a
harmonic free source current.
From the nonlinear load current point of view, the shunt APF can be regarded
as a varying shunt impedance. The impedance is zero, or at least small, for the
harmonic frequencies and infinite in terms of the fundamental frequency. As a result,
reduction in the voltage distortion occurs because the harmonic currents flowing
16
through the source impedance are reduced. Shunt APFs have the advantage of
carrying only the compensation current plus a small amount of active fundamental
current supplied to compensate for system losses [10], [35]. It can also contribute to
reactive power compensation. Moreover, it is also possible to connect several shunt
APFs in parallel to cater for higher currents, which makes this type of circuit suitable
for a wide range of power ratings [34].
1
0
iL
-1
1
0
if
-1
1
0
is
-1
20 40 60 t [ms]
The series APF is shown in Figure 2.8. It is connected in series with the
distribution line through a matching transformer [37]-[40]. VSI is used as the
controlled source, thus the principle configuration of series APF is similar to shunt
APF, except that the interfacing inductor of shunt APF is replaced with the
interfacing transformer.
way that it presents zero impedance for the fundamental component, but appears as a
resistor with high impedance for harmonic frequencies components. That is, no
current harmonics can flow from nonlinear load to source, and vice versa.
AC Source is iL
vf
Nonlinear
Load
+
Cf
-
VSI
vf
is - + iL is,f Zeq=0 iL,f is,h Zeq= ∞ iL,h
if if,f if,h
Zs Zs,f Zs,h
Zf Zf Zf
+ + +
vs vs,f vs,h
- - -
(a) (b) (c)
Series APFs are less common than their rival, i.e. the shunt APF [1], [10].
This is because they have to handle high load currents. The resulting high capacity
of load currents will increases their current rating considerably compared with shunt
APF, especially in the secondary side of the interfacing transformer. This will
increase the I 2 R losses [10]. However, the main advantage of series APFs over
shunt one is that they are ideal for voltage harmonics elimination [1]. It provides the
load with a pure sinusoidal waveform, which is important for voltage sensitive
devices (such as power system protection devices). With this feature, series APF is
suitable for improving the quality of the distribution source voltage.
18
There are various hybrid APFs reported in literature [10], [41], [42], but the
two most prominent ones are shown in Figure 2.10. Figure 2.10 (a) is the system
configuration of the hybrid shunt APF. Both the shunt APF and passive filter are
connected in parallel with the nonlinear load [16]-[18]. The function of the hybrid
APF can thus divided into two parts: the low-order harmonics are cancelled by the
shunt APF, while the higher frequency harmonics are filtered by the passive HPF.
This topology lends itself to retrofit applications with the existing shunt APF.
Figure 2.10 (b) shows the system configuration of hybrid series APF, in
which the series APF is coupled to the distribution line by an interfacing transformer
[43]-[45]. The shunt passive filter consists of one or more single-tuned LC filters
and/or a HPF. The hybrid series APF is controlled to act as a harmonic isolator
between the source and nonlinear load by injection of a controlled harmonic voltage
source. It is controlled to offer zero impedance (short circuit) at the fundamental
19
frequency and high impedance (ideally open circuit) at all undesired harmonic
frequencies. This constrains all the nonlinear load current harmonics to flow into the
passive filter, decoupling the source and nonlinear load at all frequencies, except at
the fundamental.
Figure 2.10 Hybrid APFs: (a) combination of shunt APF and shunt passive filter
and (b) combination of series APF and shunt passive filter
Electrical Load
(-)
Sun
DC Current Photovoltaic
Flow Cell
(+)
PCC
Electrical
AC Source
Load
PV Array
Inverter
Generally, the distribution line interactive PV system extracts power from the
PV array, providing current to the distribution line. When the distribution power
sources need to provide the peak power to the load, the energy provided by PV array
can alleviate the burden of distribution power sources. At night and during no
sunlight periods, the power required by the loads is received from the distribution
line.
22
PCC
Nonlinear
Load
AC Source
Electrical
Load
PV Array
Shunt APF
In the day-time with intensive sunlight, the PV interactive shunt APF system
brings all its functions into operation. At night and during no sunlight periods, the
power required by the loads is received from the distribution system while the
inverter system only provides reactive power compensation and filter harmonic
23
currents. Thus, the utilisation level of the PV interactive shunt APF system is higher
than the distribution line interactive PV inverter system.
Although the research in combining APF and PV array is not new, it appears
that no attempt has been made to combine a hybrid APF with PV array.
Reference Signal
Estimation Techniques p-q Theorem
Synchronous-Reference-Frame
Theorem
Sine-Multiplication Theorem
impractical for real-time application with dynamically varying loads. Therefore, this
technique is only suitable for slowly varying load conditions.
In order to make the p-q theorem applicable for single-phase system, some
modifications in the original p-q theorem were proposed and implemented by
Dobrucky et al. [27]. The basics of extension p-q theorem for a single-phase system
are as follows:
Assume that the source voltage ( v s ) and load current ( i L ) of a single-phase system
are defined as
i L (t ) = 2 I L sin(ωt + θ) (2.6)
p = vα ⋅ iα + vβ ⋅ iβ = p + ~
p (2.11)
27
q = vα ⋅ iβ − vβ ⋅ iα = q + q~ (2.12)
This technique is also suitable for single-phase APF systems [25], [60]. In
order to illustrate the difference between the extension p-q theorem with its former,
the basics of extension p-q theorem for single-phase system are presented in this sub-
section. Assume that the source voltage ( v s ) and load current ( i L ) of a single-phase
system are defined in equation (2.5) and (2.6) respectively.
p = v s (t ) ⋅ i L (t ) = p + ~
p (2.13)
28
q = v s' (t ) ⋅ i L (t ) = q + q~ (2.14)
The aim of APF control is to generate appropriate gating signals for the
switching transistors based on the estimated compensation reference signals. The
performance of an APF is affected significantly by the selection of control
techniques [62]. Therefore, the choice and implementation of the control technique
is very important for the achievement of a satisfactory APF performance.
v f ,ref ) through the compensated error amplifier to produce the control signal. The
resulting control signal is then compared with a sawtooth signal through a pulse
width modulation (PWM) controller to generate the appropriate gating signals for the
switching transistors [9], [11]-[13], [18], [23]-[25], [36], [37], [40]. The frequency
of the repetitive sawtooth signal establishes the switching frequency. This frequency
is kept constant in linear control technique. As shown in Figure 2.16, the gating
signal is set high when the control signal has a higher numerical value than the
sawtooth signal and via versa.
31
Compensated
error amplifier
control
_ signal gating
if or vf
+ PWM signal Active Power
controller Filter
sawtooth signal
control signal
0 t
sawtooth control
<
signal signal
gating signal sawtooth control
>
signal signal
Ts
1
( switching frequency fs = )
Ts
Generally, the Nyquist stability criterion and the Bode plots are used to
determine the appropriate compensation in the feedback loop for the desired steady-
state and transient responses. With analogue PWM circuit, the response is fast and
its implementation is simple [54]. Nevertheless, due to inherent problem of analogue
circuitry, the linear control technique has an unsatisfactory harmonic compensation
performance. This is mainly due to the limitation of the achievable bandwidth of the
compensated error amplifier [55], [62].
32
The control of APF can also be realised by the hysteresis control technique
[17], [26], [27], [57], [58], [60]. It imposes a bang-bang type instantaneous control
that forces the APF compensation current ( i f ) or voltage ( v f ) signal to follow its
estimated reference signal ( i f ,ref or v f ,ref ) within a certain tolerance band. This
control scheme is shown in a block diagram form in Figure 2.17. In this control
scheme, a signal deviation ( H ) is designed and imposed on i f ,ref or v f ,ref to form
the upper and lower limits of a hysteresis band. The i f or v f is then measured and
controller to determine the gating signals when exceeds the upper or lower limits set
Hysteresis band
comparator
+H gating
2 if or vf
error signal Active Power
if,ref or vf,ref
+
∑ error
Filter
_ −H
2
The advantages of using the hysteresis current controller are its excellent
dynamic performance and controllability of the peak-to-peak current ripple within a
specified hysteresis band [54], [55], [62]. Furthermore, the implementation of this
control scheme is simple; this is evident from the controller structure shown in
Figure 2.17. However, this control scheme exhibits several unsatisfactory features.
The main drawback is that it produces uneven switching frequency. Consequently,
difficulties arise in designing the passive HPF. Furthermore, there is possibly
generation of unwanted resonances on the power distribution system [54], [62].
Besides, the irregular switching also affects the APF efficiency and reliability [55].
actual signal
if or vf
if or vf
reference signal
if,ref or vf,ref
H t
gating signal
( uneven frequency fs )
2.7 Summary
This review reveals that there is a significant interest in hybrid APF for PQ
improvement and RE source for electric power generation. This could be attributed
to the availability of suitable power-switching devices, high performance PV array
and fast computing devices (microcontroller and DSP) at affordable prices. It is
obvious that more work still needs to be done in integrating the hybrid APF with PV
array to achieve a multifunctional active filtering system.
CHAPTER 3
3.1 Introduction
It has been shown that one of the electric power quality (PQ) issues that
receive much attention is the harmonic distortion of the source current. The hybrid
APF has been demonstrated to be an effective solution for harmonic mitigation. On
the other hand, renewable energy (RE) sources, in particular solar energy has become
feasible due to enormous research and development work being conducted over the
years.
harmonic load current ( i L ,h ) and reactive HPF current ( ihp ,q ). This compensation
current is injected into the point of common coupling (PCC) through an interfacing
inductor. The compensated source current ( i s ) is desired to be sinusoidal and in
is vs iL
vu 2:1 PCC
240 Vrms
50Hz Nonlinear load
ihp if
Passive
HPF
Shunt APF
DC source
Figure 3.1 Operation principle of the proposed hybrid APF without PV power
In the proposed scheme, the low-order harmonics are compensated using the
shunt APF, while the high-order harmonics are filtered by a passive high-pass filter
(HPF). Since the aim in using the HPF is to improve the filtering performance of
high-order harmonics, the HPF’s resonant frequency can be tuned to frequency
where the filtering performance of the shunt APF is impaired, i.e. over 1 kHz. In this
way, the size of the HPF can be kept small. It is envisaged that this configuration is
effective to improve the filtering performance of high-order harmonics.
37
power to the load, the energy provided by the PV array can alleviate the burden of
distribution source as illustrated by Figure 3.2. At night and during no sunlight
periods, the power required by the load is delivered by the distribution source.
is vs iL
vu 2:1 PCC
240 Vrms
50Hz Nonlinear load
ihp if
Passive
HPF
Shunt APF
DC source
Figure 3.2 Operation principle of the proposed hybrid APF with PV power
38
voltage ( > 2 ⋅ Vs ).
The proposed hybrid APF is connected with the distribution line at the PCC
through an interfacing inductor ( L f ). This interfacing inductor provides isolation
from the distribution line. A large interfacing inductor is preferable because it results
in small switching ripple. However, the large interfacing inductor limits the dynamic
response of the compensation current. Therefore, there is a compromise involved in
sizing the interfacing inductor.
39
Distribution Source
voltage voltage Nonlinear load
Ls vs Lsmooth
vu 2:1 PCC
is iL Cd RL
240 Vrms
50Hz
Rhp
ihp
VCf Cf
S2 S4 _
DC source
and an inductor bypass resistor ( Rhp ). It acts like a sink for high frequency harmonic
components. The harmonic filtering function of the proposed hybrid APF can thus
divided into two parts: the low-order harmonics are cancelled by the shunt APF,
while the higher frequencies harmonics are filtered by the HPF.
is selected as the nonlinear load. This type of load can be found in most power
electronics applications, i.e. switch-mode power supply, uninterruptible power
supply (UPS), AC motor drive and DC servo drive. It is used to convert the input
40
The power circuit used in the proposed hybrid APF is a full-bridge VSI as
shown in Figure 3.4. The VSI consists of four transistors, each connected to an anti-
parallel diode. The transistors are the insulated gate bipolar transistors (IGBTs).
They are selected due to their superior performance characteristics, i.e. low forward
voltage drop, fast switching times and high power handling capability.
VCf Cf
S2 S4
_
Driver Driver
Gate drivers are needed to convert the gating signals to gate voltage that is
suitable to the IGBTs. The logic inverters ensure that each IGBTs on the same leg
complements each other. However, the finite switching times imply that during
current commutation, the IGBTs in one leg (S1 & S2 or S3 & S4) may conduct at the
switching instants. This will cause short circuit problem of the DC-bus capacitor
( C f ). Additional control logic in the gate drivers is needed to ensure the complete
turn on and turn off processes of the IGBTs in one bridge leg. This is referred to as
the blanking time, since both IGBTs have temporarily logic low gating signals.
41
i sw
VCf
0 t
−VCf
1
Tsw =
f sw
From Figure 3.5, the minimum interfacing inductor ( L f ,min ) can be calculated
based on [66] as
VCf
L f ,min = (3.1)
2 ⋅ (∆I sw, p − p ) ⋅ f sw,max
where f sw,max maximum frequency of switching ripple and ∆I sw, p − p is the peak-to-
the proposed hybrid APF as shown in Figure 3.3. During steady state condition, the
reactive and harmonic load currents will charge and discharge the DC-bus capacitor
during the source voltage period. The total reactive and harmonic load currents to be
compensated is the principle factor that causes the DC-bus capacitor voltage
fluctuation. To get a good compensation performance, serious voltage fluctuations
must be avoided. This can be achieved by proper sizing of the DC-bus capacitor.
1 1
C f (∆VCf ) 2 − (VCf ,ref ) 2 = ⋅ 2Vs ⋅ ∆I L ⋅ T (3.2)
2 2 2
where ∆VCf is the maximum or minimum DC-bus voltage, VCf ,ref is the DC-bus
voltage reference, Vs is the rms value of the source voltage, ∆I L is the peak rms
value of the reactive and harmonic load currents and T is the period of source
voltage. The size of DC-bus capacitor is determined by
2Vs ⋅ ∆I L ⋅ T
Cf ≥ 2 (3.3)
(∆VCf ) − (VCf ,ref ) 2
2
43
Figure 3.6 shows the overall control system for the proposed hybrid APF.
Subscript s, L, f, and hp refer to source, load, shunt APF and passive HPF. The task
of the control system is to produce appropriate gating signals for the switching
transistors (IGBTs). The control system consists of an instantaneous active/reactive
power calculator, three LPFs, a compensation current estimator, a proportional-
integral (PI) controller, a PLL and a hysteresis current controller.
Three current sensors and two voltage sensors are required for system
variables detection. The load current ( i L ), HPF current ( ihp ) and compensation
current ( i f ) are detected using Hall-Effect current sensors, while the source voltage
( v s ) and DC-bus voltage ( VCf ) are detected using Hall-Effect voltage sensors. The
digital based PLL is responsible to generate the reference sinewave ( sin(ωt ) and
sin(ωt − 90 o ) ) with unity amplitude and synchronous with the source voltage.
( i L ,h ) and reactive HPF current ( ihp ,q ). The summation of these three current signals
will form the first component of the current reference signal ( i f ,ref 1 ).
-90o
sin(ω
t-90o)
PLL
sin(ωt) DSP Based Implementation
The DC-bus voltage controller maintains the average voltage across the DC-
bus capacitor ( VCf ) constant against variations in distribution source. Under a loss
free situation, the hybrid APF does not need to draw any active power from the
distribution source. However, there will be losses in the resistance of interfacing
inductor, switches, etc., when the hybrid APF is generating the compensation current.
Unless these losses are regulated, the DC-bus voltage will drop steadily. Hence the
control of DC-bus voltage involves drawing an in phase sinusoidal charging current
( I Cf ) from the distribution source.
The DC voltage across the DC-bus capacitor is detected and compared with
its reference voltage ( VCf ,ref ). The compared result is processed by a PI controller to
obtain the desired amplitude of the DC-bus capacitor charging current ( I Cf ). This
charging current is then subtracted from the PV current ( I PV ). The resulting current
45
is then multiplied with the reference sinewave ( sin(ωt ) ) to form the second
component of current reference signal ( i f ,ref 2 ). However, when a PV array is
connected to the DC-bus capacitor, the DC-bus voltage controller can be removed.
In order to generate the compensation current that follows the current
reference signal, the fixed-band hysteresis current control method is adopted. The
estimated compensation current reference signal ( i f ,ref ) and the actual compensation
For a single-phase distribution power system with nonlinear load, the load
current can be represented as,
∞
i L (t ) = ∑ 2 I L ,n sin(nωt + θ n ) (3.4)
n =1
where θ n is the phase angle of the n-th load current component. Under normal
circumstances, the source voltage can be assumed to be a sinusoidal, i.e.,
p L (t ) = v s (t ) ⋅ iL (t )
= pL + ~
pL (3.7)
q L (t ) = v s' (t ) ⋅ i L (t )
= q L + q~L (3.8)
q hp (t ) = v s' (t ) ⋅ ihp (t )
= q hp + q~hp (3.9)
AC components, and v s' (t ) denotes the source voltage delayed by 90 o . The detailed
Appendix B.
By obtaining the DC components in (3.7), (3.8), and (3.9), the active load
current ( i L , p ), reactive load current ( i L ,q ), harmonic load current ( i L ,h ) and reactive
pL
i L , p (t ) = 2 ⋅ sin(ωt ) (3.10)
Vs
qL
i L ,q (t ) = 2 ⋅ sin(ωt − 90 o ) (3.11)
Vs
i L,h (t ) = i L (t ) − i L , p (t ) − i L ,q (t ) (3.12)
and
q hp
ihp ,q (t ) = 2 ⋅ sin(ωt − 90 o ) (3.13)
Vs
PPV
i f ,ref = i L ,q + i L ,h + ihp ,q − I Cf ⋅ sin(ωt ) + ⋅ sin(ωt ) (3.14)
VCf ,ref
where PPV is the active power of PV array, I Cf is the amplitude value of DC-bus
capacitor charging current and VCf ,ref is the DC-bus voltage reference.
Under a loss free situation, the hybrid APF need not provide any active power
to cancel the reactive and harmonic currents from the load, and the reactive current
from the HPF. These currents show up as reactive power. Thus, it is indeed possible
to make the DC-bus capacitor delivers the reactive power demanded by the proposed
hybrid APF. As the reactive power comes from the DC-bus capacitor and this
reactive energy transfers between the load and the DC-bus capacitor (charging and
discharging of the DC-bus capacitor), the average DC-bus voltage can be maintained
at a prescribed value.
48
A PI controller used to control the DC-bus voltage is shown in Figure 3.7. Its
transfer function can be represented as
KI
H ( s) = K p + (3.15)
s
where K p is the proportional constant that determines the dynamic response of the
DC-bus voltage control, and K I is the integration constant that determines its
settling time.
It can be noted that if K p and K I are large, the DC-bus voltage regulation is
dominant, and the steady-state DC-bus voltage error is low. On the hand, if K p and
K I are small, the real power unbalance give little effect to the transient performance.
Therefore, the proper selection of K p and K I is essentially important to satisfy
C presents the K p calculation using the energy-balance principle for the proposed
hybrid APF.
phase
detector
Loop Filter DCO
θin (z ) _ ∑ H1(z)
z −1
H2(z)
Divider sin(ωt)
input phase
+
signal
-90o sin(ωt-90o)
θ fd (z )
feedback phase signal
Digital PLL
The phase detector detects the phase difference between the input signal
( θ in ( z ) ) and the feedback signal ( θ fd ( z ) ). The compared result is sent to a loop
filter. Typically, the loop filter is a low-pass type. The output of loop filter is feed to
a DCO to generate the θ fd ( z ) . In order to generate sin(ωt ) with unity amplitude,
illustrated by Figure 3.8. On the other hand, the sin(ωt − 90 o ) can be obtained by
delaying sin(ωt ) by 90°.
az − 1
H 1( z ) = (3.16)
z −1
cz
H 2( z ) = (3.17)
z −1
With the block diagram and the transfer functions of components in it, a
linear time invariant (LTI) model can be developed to represent the digital PLL with
a closed-loop transfer function derived as,
acz − c
H ( z) = (3.18)
z + (ac − 2) z + (1 − c)
2
Based on the closed-loop transfer function in (3.18), one can easily recognise
that it is a second-order system. In control system theory, the transfer function of the
second-order system can be written in a general format as,
N ( z)
H ( z) = (3.19)
( z − z1 )( z − z 0 )
∆( z ) = ( z − z1 )( z − z 0 ) = z 2 − ( z1 + z 0 ) z + z1 z 0 (3.20)
C1 = −( z1 + z 0 )
C 0 = z1 z 0 (3.21)
∆( z ) = z 2 + C1 z + C 0 (3.22)
As soon as C1 and C 0 of the system are given, the poles of a second-order system
can be determined. Those two parameters are usually used to specify performance
requirements of a system. A detailed derivation of C1 and C 0 is presented in
Appendix D.
_ _
pL LPF pL + ~pL
_ _
qL ~
qL + qL
LPF
_ _
qhp LPF qhp+ q~hp
Figure 3.9 Block diagram of the digital low-pass filter for DC components
extraction
1
G LPF ( s ) = (3.23)
s + 2ζω LPF s + ω 2LPF
2
where ω LPF = 2πf LPF is defined as natural undamped frequency and ζ is defined as
the damping ratio. Note that the second-order Butterworth LPF is characterised by
ζ =0.707 [69].
Under the bilinear transformation [68], the analogue LPF in (3.23) can be
transformed into digital LPF as follows:
1 G LPF (1 + z −1 ) 2
G LPF ( z ) = = (3.24)
s 2 + 2ζω LPF s + ω 2LPF s=
1− z −1 1 + a LPF 1 z −1 + a LPF 2 z − 2
1+ z −1
where the filter coefficients G LPF , a LPF 1 and a LPF 2 are easily found to be:
ω 2LPF
G LPF =
1 + 2ζω LPF + ω 2LPF
2(ω 2LPF − 1)
a LPF 1 =
1 + 2ζω LPF + ω 2LPF
Note that the ω LPF in (3.25) is differed from the ω LPF in (3.23) due to the fact of
digital implementation consideration [68]. The ω LPF in (3.25) is given by
⎛ πf ⎞
ω LPF = tan ⎜⎜ LPF ⎟⎟ (3.26)
⎝ fs ⎠
where f s is the sampling frequency of the digital LPF. Therefore, the digital
and f LPF .
inductor ( Lhp ) and an inductor bypass resistor ( Rhp ). This filter will shunt a large
A ⎡⎛ s ⎞
2
1⎛ s ⎞ ⎤
Z hp ( s ) = ⋅ ⎢⎜⎜ ⎟⎟ + ⎜⎜ ⎟⎟ + 1⎥ (3.27)
⎛ s ⎞ ⎢⎝ ω 0 ⎠ Q ⎝ ω0 ⎠ ⎥⎦
s⎜ + 1⎟ ⎣
⎜ω ⎟
⎝ p ⎠
54
In (3.27),
1
A=
C hp
1
ω0 =
Lhp C hp
Rhp
ωp =
Lhp
C hp
Q = Rhp (3.28)
Lhp
where A is the gain coefficient, ω 0 is the series resonant frequency, ω p is the pole
Appendix E.
Figure 3.11 presents an equivalent circuit of the proposed hybrid APF for
harmonics, where Z hp is the equivalent impedance of HPF and Z s is the equivalent
compensation current that follows the compensation current reference, while the
nonlinear load is considered as a harmonic currents source. Since we are only
interested in the system performance with the harmonic components, the source
voltage can be neglected. This is because the source voltage is assumed to contain
only the fundamental frequency component.
Z hp ( jω)
dB
1
ωC hp
ωLhp
Rhp
1
Rhp C hp
1
Chp Lhp
is,h ih
PCC
ihp,h
After the filter network is configured, a current divider transfer function can
be formulated. Referring to Figure 3.11, the source current to the injected current
transfer function ( H cds ( s ) ) can be derived as,
56
is ,h ( s )
H cds ( s ) =
ih ( s )
Z hp ( s )
=
Z hp ( s ) + Z s ( s )
⎛ 1 ⎞ 2 ⎛ 1 ⎞
⎜⎜ 2 ⎟⎟ s + ⎜⎜ ⎟⎟ s + 1
= ⎝ ω0 ⎠ ⎝ Qω0 ⎠ (3.29)
⎛ Ls Lhp C hp ⎞ 3 ⎛L ⎞
⎜ ⎟ s + (( Ls + Lhp ) ⋅ C hp )s 2 + ⎜ hp ⎟ s + 1
⎜ R ⎟ ⎜R ⎟
⎝ hp ⎠ ⎝ hp ⎠
Transfer function (3.29) is important because it can be used to assess the overall filter
performance. A detailed derivation of H cds (s ) is presented in Appendix E.
A graphical plot of H cds (s ) is shown in Figure 3.12, where it has one crest
( H max ) due to the parallel resonance between Ls + Lhp and C hp . In particular, this
Hmax
H cds ( jω) dB 1
ω2 Ls C hp
Rhp
ωLs
1 1
C hp ( Ls + Lhp ) -20 dB/dec
1
C hp Lhp
1
Rhp C hp
Figure 3.12 Graphical plot of source current to injected current transfer function
( H cds (s ) )
57
3.6 Summary
In this work, the application of the extension p-q theorem is further extended
to a single-phase hybrid APF for compensation current reference estimation.
4.1 Introduction
Figure 4.1 Complete simulation model of the proposed hybrid APF connected to
a DC source
Ls and Rs are constructed using “Series RLC Branch” blockset. Their selected
Ls = 0.76 mH
Rs = 4 Ω (4.1)
The current and voltage signals are sensed using “Current Measurement” and
“Voltage Measurement” blocksets from “SimPowerSystems\Measurements” library
respectively.
Figure 4.3 shows the detail of the “Nonlinear Load” block. It consists of a
single-phase full-bridge diode rectifier with DC smoothing capacitor ( C d ), resistive
Lsmooth = 1.15 mH
C d = 1000 µ F
RL = 250 Ω (4.2)
The diode rectifier is constructed using the “Universal Bridge” blockset. The diodes
are configured as the power electronics devices in the “Universal Bridge” blockset.
The detail of “Shunt APF” block is illustrated in Figure 4.4. The shunt APF
consists of an interfacing inductor ( L f ), a voltage source inverter (VSI) and a DC-
bus capacitor ( C f ). The VSI is constructed using the “Universal Bridge” blockset.
The IGBTs with anti-parallel diodes are configured as the power electronics devices
in the “Universal Bridge” blockset.
simulation is set to 250 V, which is approximately one and a half times higher than
the amplitude of source voltage ( 2 ⋅ Vs ). The maximum switching frequency of the
compensation current is selected to be 12.5 kHz and 1.0 A respectively. Using (3.1)
the minimum value of L f can be calculated as
VCf
L f ,min =
2 ⋅ (∆I sw, p − p ) ⋅ f sw,max
250
= = 10 mH (4.3)
2 ⋅ (1.0) ⋅ 12.5k
Vs = 120 Vrms
∆I L = 6 A
T = 2 ms
where Vs is the rms value of the source voltage, ∆I L is the peak rms value of the
reactive and harmonic load currents and T is the period of source voltage and ∆VCf
is the maximum or minimum DC-bus voltage. Substituting (4.4) into (3.3), the size
of DC-bus capacitor can be calculated as
2Vs ⋅ ∆I L ⋅ T
Cf ≥ 2
(∆VCf ) − (VCf ,ref ) 2
2
2 ⋅ 120 ⋅ 6 ⋅ 0.02
≥ 2
(270) − (250)
2 2
≥ 979.07 µ F (4.5)
The detail of “Passive HPF” block is presented in Figure 4.5. The passive
HPF consists of a capacitor ( C hp ), an inductor ( Lhp ) and an inductor bypass resistor
( Rhp ). These passive components are constructed using the “Parallel RLC Branch”
blockset.
filtering performance of the shunt APF is impaired above this frequency. The
calculated values of the HPF are
Lhp = 1.76 mH
C hp = 8.8 µ F (4.6)
The Rhp is chosen based on the desired high-pass response and the series
resonant attenuation. Quality factors of 0.5 ≤ Q ≤ 2.0 are typical. In this work, the Q
factor is selected as 0.707, considering the required high-pass response over a wide
frequency band. From (3.28), the Rhp can be derived as
Lhp
Rhp = Q (4.7)
C hp
1.76 × 10 −3
Rhp = 0.707
8.8 × 10 −6
= 9.998 Ω (4.8)
From (3.27), the frequency response of the HPF impedance transfer function
is illustrated in Figure 4.6. Examination of the HPF frequency response reveals that
the HPF acts as very low impedance above the resonant frequency ( f 0 ) for which it
65
is tuned. As such, it effectively shunts most harmonic quantities above the resonant
frequency.
Magnitude (dB)
f0
Frequency (Hz)
After the filter system is configured, the transfer function of source current to
injected current in (3.29) is used to assess the overall system performance. The
frequency response of the function H cds ( s ) is illustrated in Figure 4.7. There is a
crest due to the parallel resonance between Ls + Lhp and C hp . In particular, this
selecting the value of Q around 0.7. For the frequency response shown in Figure 4.7,
the H cds ( s ) can be evaluated at low and high frequencies. For low frequencies, it
fr
Magnitude (dB)
Frequency (Hz)
Figure 4.7 Frequency response of the source current to injected current transfer
function
Figure 4.9 shows the detail of the “Reference Sinewave Generator” block. It
is responsible to generate the reference sinewave ( sin(ωt ) and sin(ωt − 90 o ) ) with
unity amplitude and synchronous with the source voltage. Before the input phase
signal is processed by the “Digital Phase-Lock Loop” block, a “Discrete 2nd-Order
Low-Pass Filter” blockset from “SimPowerSystems\Discrete Control Blocks” library
is adopted to eliminate the high frequency noise. The cut-off frequency of the low-
pass filter is selected to be 100 Hz. There is a need for compensation of the inherent
phase delay in the low-pass filter due to the low cut-off frequency. The detail of the
“Phase Delay Compensation” block is presented in Figure 4.10. It is constructed
using the “Unit Delay” blocksets from the “Simulink\Discrete” library.
output of “Digital Phase-Lock Loop” block is divided with the amplitude of the input
phase signal ( 2 ⋅ Vs ). The sin(ωt − 90 o ) can be obtained by simply delaying
sin(ωt ) with 90˚. The “-90˚ degree” block is similar to the “Phase Delay
Compensation” block presented in Figure 4.10.
The coefficients calculation procedures for the digital phase-lock loop (PLL)
are outlined in Chapter 3 (Section 3.4.4) and Appendix D. For the simulation model,
the digital PLL design parameters are given by
ζ = 0.707
ω n = 2π ⋅ 200 rad/s
Ts = 100 µ s (4.9)
69
where ζ is the damping ratio, ω n is the undamped frequency and Ts is the sampling
period of the discrete system. Substituting (4.9) into (D.11), the characteristic
equation coefficients can be calculated as
C 0 = e −2 ζωnTs
= e −2 ( 0.707 )( 2 π⋅200)(100µ )
= 0.837203188
and
= -1.822754279 (4.10)
From the characteristic equation of (3.18) and (3.22), the constant c and constant a
of digital PLL can be calculated as
c = 1 − C 0 = 0.162796812
and
2 + C1
a= = 1.08875425 (4.11)
c
70
ζ = 0.707
f LPF = 5 Hz
71
f s = 10 kHz (4.12)
where ζ is the damping ratio, f LPF is the cut-off frequency and f s is the sampling
frequency of the digital Butterworth LPF. Substituting (4.12) into (3.26), the natural
undamped frequency of the digital Butterworth LPF can be calculated as
⎛ πf ⎞
ω LPF = tan⎜⎜ LPF ⎟⎟
⎝ fs ⎠
⎛ π⋅5⎞ −3
= tan⎜ ⎟ = 1.570797619 × 10 rad/s (4.13)
⎝ 10k ⎠
Substituting (4.12) and (4.13) into (3.25), the coefficients of digital Butterworth LPF
can be calculated as
ω 2LPF
G LPF =
1 + 2ζω LPF + ω 2LPF
= 2.46193087 × 10 −6
2(ω 2LPF − 1)
a LPF 1 =
1 + 2ζω LPF + ω 2LPF
= -1.995557792
and
= 0.99556764 (4.14)
72
blocks are constructed using the “Gain” blocksets from the “Simulink\Math
Operations” library. The integrator is constructed using “Discrete-Time Integrator”
blockset. It must be noted that when a DC source is connected to the DC-bus
capacitor, the PI controller can be removed by turning off “Switch (S5)” blockset.
C f = 990 µ F
Vs = 120 Vrms
T = 2 ms (4.15)
2C f VCf ,ref
Kp =
T 2Vs
2(990µ)(250)
=
0.02 ⋅ 2 ⋅ (120)
= 0.145840773 (4.16)
Figure 4.14 illustrates a basic shunt APF simulation model constructed under
MATLAB/Simulink environment. It is used as a benchmark to investigate the
improvement in harmonic mitigation by the proposed hybrid APF. It consists of
distribution source, nonlinear load, shunt APF, overall control system and DC source.
Figure 4.14 Complete simulation model of the basic shunt APF connected to a DC
source
75
This simulation model for the basic shunt APF is similar to the model of the
proposed topology presented in Figure 4.1, except for the removal of “Passive HPF”
block. Therefore, the descriptions given in Section 4.2 are applicable for the basic
shunt APF. The basic shunt APF is configured to generate compensation current
equals to the reactive and harmonic load current.
4.4 Summary
5.1 Introduction
Shunt APF
Power Ground
Digital Ground
+
Voltage
VCf DC
ihp if Source
Source
Inverter _
Passive
HPF
Overall Control
System
4
Voltage
VCf Gate
Transducer
Driver
Voltage
vs
Transducer
Current Analogue
if DS1104 Gating signals
Transducer Prefilter
Current
iL PCI
Transducer
PC
Current
ihp
Transducer
Experimental
Rectifier Bridge Oscilloscope Prototype DC Source
The proposed hybrid APF is connected in parallel with the nonlinear load
being compensated. It consists of a passive high-pass filter (HPF), a shunt APF
constructed using a full-bridge voltage source inverter (VSI), an interfacing inductor,
a DC-bus capacitor and a DC source. Note that the DC-bus capacitor is supplied by
a DC source with the desired constant DC voltage level. Due to time constraint, the
DC-bus voltage controller is not implemented experimentally.
The heart of the overall control system is the dSPACE DS1104 DSP
controller board. It is programmed to realise the compensation current reference
estimation and control algorithm. It is also used to generate the required gating
signals to the VSI. The DS1104 is linked to a personal computer (PC) through a PCI
slot interface. Programming with C code is done using the dedicated ControlDesk
Source Code Editor and Microtec PowerPC C Compiler and Linker. The executable
object files and libraries are generated and loaded onto the on-board global memory
for real-time execution.
79
The Hall-Effect current and voltage transducers are employed for the
analogue signals measurement. The measured signals are sampled using the DS1104
on-board analogue-to-digital converters (ADCs) and passed on to the DSP for further
processing.
4
2
5 3
66
77
Figure 5.3 Actual experimental prototype. (1) interfacing inductor, (2) gate
drivers, (3) VSI with DC-bus capacitor, (4) rectifier load, (5) DS1104 connector
board, (6) smoothing inductor, (7) current and voltage transducers, (8) passive HPF
80
manufactured by Ferroxcube. The 3C90 is selected because it has low power losses
and high saturation flux density, which are vital for energy storage purpose [71].
81
Furthermore, it is able to operate at frequency as high as 200 kHz. The selected core
geometry is the E-E core type ETD59, which is suitable for high power application
and simple coil winding. The specification for Lsmooth is given in Table 5.2. The
+
G1 G3
S1 S3
E1 E3
~
VCf
~
G2 G4
S2 S4
_
E2 E4
2.5 mH each to give a total inductance of 10 mH. The reason for not using a single
unit of a 10 mH inductor is because there is no suitable bobbin and ferrite core
available that meet the targeted design specifications. Each unit of the 2.5 mH
inductors is wound on 3C90 ferrite core manufactured by Ferroxcube. Its
specification is given in Table 5.3. The detailed design procedure of the 2.5 mH
inductor is presented in Appendix F.
across the DC-bus rail, as shown in Figure 5.5. It consists of three electrolytic
capacitors connected in parallel, 330 µF, 400 VDC each to give a total capacitance of
990 µ F. The electrolytic capacitors are of the type 2222-059-56331 manufactured
by BC Components. It is a high performance long life electrolytic capacitor, which
has low ESR and high ripple current capability. A bleed resistor (RB) is connected
across the capacitors to ensure that the high voltage is discharged when the shunt
APF is turned off.
DC-Bus
of 2.5 µs is provided internally by the gate driver circuit. The gate driver circuit is
from the design in [73] and its schematic is presented in Appendix G.
I/O 1 GD1
GD1 GD2
I/O 2 GD2 S2 S4
Gating
signals
The HPF capacitor ( C hp ), inductor ( Lhp ) and inductor bypass resistor ( Rhp )
are designed according to the specification used in the simulation. The C hp consists
specification for Lhp is given in Table 5.4. The detail design procedure for Lhp is
parallel with Lhp . This resistor is made up of an aluminium clad wire wound resistor,
For the control system, it is necessary to measure the following five analogue
signals:
(1) DC-bus voltage, VCf
The measured signals are sampled using the DS1104 on-board ADCs and passed on
to the DSP for further processing. This section describes on the analogue signals
measurement using hall-effect voltage/current transducers. Finally, an analogue
prefilter for analogue input signal band-limiting is also presented.
circuitry. Therefore, occurrence of spikes, noise etc. from the power distribution
system will be directly transmitted to the sensitive low-power circuits.
-15V +15V
R1 22k Proportional output
LV25-P
(5W)
+ 1 5
+HT -
4 RM 200
VCf or vs +
(0.5W)
2 3
-HT M
Digital ground
Three current transducers are needed for i f , i L and ihp measurements. The
ground.
87
-15V +15V
LA25-NP Proportional output
1 5
in 1-5 -
4 RM 200
if , iL or ihp +
(0.5W)
2 3
out 6-10 M
Digital ground
In order to sample a signal at a desired rate and satisfy the conditions of the
sampling theorem, the signal must be prefiltered by a low-pass analogue filter,
known as an anti-aliasing prefilter [68]. The output of the analogue prefilter will
then be band-limited and sampled properly at the desired sampling rate. In this work,
the VCf, vs, iL and ihp are sampled at 10 kHz sampling rate (fs1 = 10 kHz), while if is
sampled at 100 kHz sampling rate (fs2 = 100 kHz). Figure 5.9 shows the circuitry of
the analogue prefilter. It should be emphasized that the cut-off frequency
1
( fc = ) of the analogue prefilter must be taken to be half of the sampling
2πR C1C 2
1 1
rate ( f c1 = f s1 ≅ 5 kHz and f c 2 = f s 2 ≅ 50 kHz). The specification of the
2 2
analogue prefilter is given in Table 5.5.
C2
R = R1 = R2 R3
_
R1 R2 Analogue
TL051
Analogue output signal
+
input signal
C1
All the control algorithms, gating signals generation and protection of the
experimental prototype are performed by a DSP controller board, the DS1104 from
dSPACE [74]-[78]. This section presents the controller hardware and the software
tools for the overall control system implementation.
The DS1104 DSP controller board is used to develop, debug and execute the
control program. It is a standard board that can be plugged into a PCI slot of a PC.
The DS1104 is specially designed for the development of high-speed multivariable
digital controllers in various application fields. It is a complete real-time control
system based on a 603 PowerPC floating-point processor manufactured by Motorola,
running at 250 Mhz. For advanced I/O purposes, the controller board includes a
slave DSP subsystem based on the TMS320F240 DSP microcontroller manufactured
by Texas Instruments.
Figure 5.10 shows a block diagram that describes the main features of the
controller board. The rich selection of on-board peripherals such as ADCs, digital-
89
The main purpose of the software control is to generate the appropriate gating
signals to drive the switching transistors according to the estimated current reference.
This section explains the control algorithms implementation on the DS1104.
Figure 5.12 shows the structure of the control software for DS1104. At the
highest level, the control software consists of initialisation routine and run routines.
Upon completion of the necessary initialisation, the background service is started.
The background service is simply an infinite loop. At all time, the control processing
is done via one service routine (isr_srt0()) and one interrupt service routine
(isr_srt1()). Two timers are used, Timer 0 and Timer 1, with execution times chosen
to be 10 µs and 100 µs respectively. The control algorithms implemented during
Timer 1 are the reference sinewave generation, compensation current reference and
PV current estimation and system protection. The fixed-band hysteresis current
control algorithm is implemented during Timer 0. The host service routine
(host_service()) which is executed at every period of Timer 1 is responsible for the
data capture. The complete C code listings and program documentation can be found
in Appendix H.
92
Run Routines:
Timer 0, isr_srt0():
Start
- Fixed-Band Hysteresis Current
Control
Timer 1, isr_srt1():
Initialisation Routine: - Reference Sinewave Generation
- DSP Setup - Compensation Current Reference
- Variables Initialisation and PV Current Estimation
- Peripheral Initilisation - System Protection
- Set Interrupts
- Start Timers host_service():
(Timer 0, Timer 1) - Data Capture
- Start Background Service
Background Service
The sampled value is then subtracted from the compensation current reference signal
( i f ,ref ). The resulting error ( ihysteresis ) is subjected to a comparator to determine the
gating signals (bit I/O 5 and I/O 17) when exceeds/equals the predefined upper or
lower limits (0.5 or -0.5). As long as ihysteresis is within the limits, no switching action
is taken.
current ( ihp ) and load current ( i L ) signals from the ADC channel 2, 5, 6 and 7
START
DSP setup
Initialise variables,
peripherals
Set interrupts
isr_srt0(),
Start Timer 0 and Timer 1
isr_srt1()
Background loop
START
isr_srt0()
No
Sampling ends?
Yes
Calculates ihysteresis = if - if,ref
Yes
ihysteresis=>0.5
No
Yes
ihysteresis=<-0.5
No
Set bit I/O5, I/O17 Set bit I/O5, I/O17
Remain bit I/O5, I/O17
= ‘1’ = ‘0’
END
START
isr_srt1()
No
Sampling ends?
Yes
Execute Reference Sinewave Generator
phase_lock_loop()
Yes
System fault?
No
Set Enable Signal, Set Enable Signal,
bit I/O 11 to ‘1’ bit I/O 11 to ‘0’
Enable interrupt
END
5.7 Summary
6.1 Introduction
Later in this chapter, we will show that the effect of noise changes the result
considerably. The speed limitation of DS1104 limits the controller sampling time,
which in turn degrades the performance of the hysteresis current controller. The
performance of the distribution system under the compensation of a basic shunt APF
98
and the proposed hybrid APF will be described. The discrepancies between the
simulation and experimental results are highlighted. The capability of the proposed
hybrid APF in handling the PV energy is evaluated. Finally, analysis on the Total
Harmonic Distortion (THD) for the proposed hybrid APF in comparison to a basic
shunt APF is carried out.
300
Source Voltage, vs [V]
200
100
0
-100
-200
-300
6
Load Current, iL [A]
4
2
0
-2
-4
-6
4 8 12 16 20 24 28 32 36 40
Time, t [ms]
Figure 6.1 Simulation results – without compensation: source voltage and load
current waveforms
99
The experimental source voltage and load current waveforms with similar
operating condition are shown in Figure 6.2. Measurements are done using the
Tektronix TDS 3054A 500 MHz four channel digital oscilloscope. It can be seen
that the experimental results are in close agreement with the simulation results shown
in Figure 6.1.
Source Voltage, vs [V]
300
200
100
0
-100
-200
-300
6
Load Current, iL [A]
4
2
0
-2
-4
-6
0 4 8 12 16 20 24 28 32 36 40
Time, t [ms]
Figure 6.2 Experimental results – without compensation: source voltage and load
current waveforms
Figure 6.3 shows the simulated source voltage and the phase-lock loop (PLL)
generated reference sinewave ( sin(ωt ) and sin(ωt − 90 o ) ) waveforms. Recall that
the PLL is used to generate the reference sinewave with unity amplitude and
synchronised with the source voltage ( v s ). From Figure 6.3, the obtained sin(ωt ) is
a pure sinusoidal waveform although the source voltage waveform is distorted.
Furthermore, the sin(ωt ) is synchronised with v s . A 90˚ shifted reference sinewave
The experimental PLL generated waveforms are shown in Figure 6.4. Since
the data for the PLL generated reference sinewave are stored in the DS1104, they are
captured from the on-board digital-to-analogue converters (DACs). As can be
observed, the experimental results are in accordance with the results obtained from
the simulation.
Source Voltage, vs [V]
300
200
100
0
-100
-200
-300
sin(ωt) sin(ωt-90˚)
Reference sinewave
1.5
1.0
0.5
0.0
-0.5
-1.0
-1.5
4 8 12 16 20 24 28 32 36 40
Time, t [ms]
300
200
100
0
-100
-200
-300
sin(ωt) sin(ωt-90˚)
1.5
Reference sinewave
1.0
0.5
0.0
-0.5
-1.0
-1.5
0 4 8 12 16 20 24 28 32 36 40
Time, t [ms]
3
Load Current, iL [A]
2
1
0
-1
-2
-3
1.5
HPF Current, ihp [A]
1.0
0.5
0
-0.5
-1.0
-1.5
4 8 12 16 20 24 28 32 36 40
Time, t [ms]
Figure 6.5 Simulation results: load current and HPF current waveforms
1.5
HPF Current, ihp [A]
1.0
0.5
0
-0.5
-1.0
-1.5
0 4 8 12 16 20 24 28 32 36 40
Time, t [ms]
Figure 6.6 Experimental results: load current and HPF current waveforms
is in phase with the source voltage ( v s ), while the reactive load current ( i L ,q ) lags
i L ,h = i L − (i L , p + i L ,q ) (6.1)
In addition, this figure also shows the reactive HPF ( ihp ,q ) current waveform. It is in
1.5
iL,p [A]
0
-0.5
-1.0
-1.5
Reactive Load Current,
60
40
20
iL,q [mA]
0
-20
-40
-60
Harmonic Load Current,
3
2
1
iL,h [A]
0
-1
-2
-3
Reactive HPF Current,
0.6
0.4
0.2
ihp,q [A]
0
-0.2
-0.4
-0.6
4 8 12 16 20 24 28 32 36 40
Time, t [ms]
Figure 6.7 Simulation results: estimated active load current, reactive load current,
harmonic load current and reactive HPF current waveforms
1.5
iL,p [A]
0
-0.5
-1.0
-1.5
Reactive Load Current,
60
40
20
iL,q [mA]
0
-20
-40
-60
Harmonic Load Current,
3
2
1
iL,h [A]
0
-1
-2
-3
Reactive HPF Current,
0.6
0.4
0.2
ihp,q [A]
0
-0.2
-0.4
-0.6
0 4 8 12 16 20 24 28 32 36 40
Time, t [ms]
Figure 6.8 Experimental results: estimated active load current, reactive load
current, harmonic load current and reactive HPF current waveforms
the estimated compensation current reference for harmonic mitigation under ideal
105
AC vs PCC
Mains
240 Vrms is iL
(50Hz) if
Full-Bridge
Proposed Diode
Hybrid APF Rectifier
Power Ground
is = i L − i f (6.2)
where i s is the source current after compensation, i L is the load current and i f is the
i f ,ref = iL ,q + iL ,h (6.3)
106
Simulation based on (6.2) is carried out to verify the effectiveness of the i f ,ref
under ideal compensation condition. Figure 6.10 shows the simulation results of this
analysis. Note that the source current ( i s ) waveform is obtained mathematically by
3
Load Current,
2
1
iL [A]
0
-1
-2
-3
Source Current, Compensation Current,
3
2
1
if [A]
0
-1
-2
-3
1.5
1.0
0.5
is [A]
0
-0.5
-1.0
-1.5
4 8 12 16 20 24 28 32 36 40
Time, t [ms]
Load Current,
2
1
iL [A]
0
-1
-2
-3
Source Current, Compensation Current,
3
2
1
if [A]
0
-1
-2
-3
1.5
1.0
0.5
is [A]
0
-0.5
-1.0
-1.5
0 4 8 12 16 20 24 28 32 36 40
Time, t [ms]
The simulation results of the basic shunt APF are shown in Figure 6.12.
When the shunt APF is applied, the injected compensation current ( i f ) forces the
source current ( i s ) to become a near sinusoidal waveform. It can be seen that the
unavoidable high frequency switching ripple of the compensation current and the
presence of source inductor ( Ls ). When the high frequency switching ripple is
injected into the point of common coupling (PCC), it corrupts the source voltage,
load current and source current waveforms.
300
200
Source Voltage,
100
vs [V]
0
-100
-200
-300
6
4
Load Current,
2
iL [A]
0
-2
-4
-6
Compensation Current,
6
4
2
if [A]
0
-2
-4
-6
3
2
Source Current,
1
is [A]
0
-1
-2
-3
4 8 12 16 20 24 28 32 36 40
Time, t [ms]
Figure 6.12 Simulation results – basic shunt APF compensation: source voltage,
load current, compensation current and source current waveforms
109
The experimental results of the basic shunt APF compensation are shown in
Figure 6.13. The trend of the waveforms is consistent with the simulation. However,
from the results, it is observed that the switching ripple of the compensation current
is about 1.5 Apeak-to-peak even though the hysteresis band ( H ) is set to be 1.0 A. The
deviation in the magnitude of switching ripple is most probably due to the effect of
noise in the compensation current reference.
300
Source Voltage,
200
100
vs [V]
0
-100
-200
-300
6
4
Load Current,
2
iL [A]
0
-2
-4
-6
Compensation Current,
6
4
2
if [A]
0
-2
-4
-6
3
2
Source Current,
1
is [A]
0
-1
-2
-3
0 4 8 12 16 20 24 28 32 36 40
Time, t [ms]
Figure 6.13 Experimental results – compensation with basic shunt APF: source
voltage, load current, compensation current and source current waveforms
110
The ideal simulation result in Figure 6.14 illustrates the relationship between
the compensation current reference and the hysteresis band ( H ). In this case, the
compensation current reference is free of noise. The hysteresis band ( H = 1.0 A )
can be simply imposed on the compensation current to form the upper ( i f ,ref + 0.5 A )
and lower ( i f ,ref − 0.5 A ) limits. Switches transition occurs whenever the
compensation current hits the upper or lower limit. As a result, the switching ripple
of compensation current can be maintained to be 1.0 Apeak-to-peak as shown in Figure
6.12.
if,ref + 0.5A
H = 1.0 A
if,ref - 0.5A
Compensation Current Reference,
3
2
1
if,ref [A]
0
-1
-2
-3
4 8 12 16 20 24 28 32 36 40
Time, t [ms]
noise currents to form the upper ( i f ,ref + | inoise,max | +0.5 A ) and lower
( i f ,ref − | inoise,min | −0.5 A ) limits. As a result, a hysteresis band which is bigger than
inoise, max
> 1.0 A
3
2
1
if,ref [A]
0
-1
-2
-3
0 4 8 12 16 20 24 28 32 36 40
Time, t [ms]
Section 6.6 clearly demonstrates that the harmonic distortion in the source
current is reduced significantly using the basic shunt APF. However, an appreciable
amount of switching ripple still remains in the source voltage, load current and
112
source current waveforms. To reduce the switching ripple, a passive HPF is placed
in parallel with the shunt APF at the PCC. The HPF provides a path for the
switching ripple to flow.
Figure 6.16 shows the simulation results with the proposed hybrid APF.
When the hybrid APF is applied, the injected compensation current ( i f ) forces the
source current ( i s ) to become a near sinusoidal waveform and in phase with the
source voltage waveform, resulting in unity power factor.
Comparing to the simulation result without HPF shown in Figure 6.12, the
switching ripple in the source current is greatly reduced. It can be concluded that the
HPF provides a path for the high frequency switching ripple to flow. This is evident
by the fact of that switching noise presence in the HPF current waveform. Hence,
the filtering performance of high frequency harmonics is improved by the proposed
topology.
300
200
Source Voltage,
100
vs [V]
0
-100
-200
-300
6
4
Load Current,
2
iL [A]
0
-2
-4
-6
1.5
1.0
HPF Current,
0.5
ihp [A]
0
-0.5
-1.0
-1.5
Compensation Current,
6
4
2
if [A]
0
-2
-4
-6
3
2
Source Current,
1
is [A]
0
-1
-2
-3
4 8 12 16 20 24 28 32 36 40
Time, t [ms]
300
Source Voltage,
200
100
vs [V]
0
-100
-200
-300
6
4
Load Current,
2
iL [A]
0
-2
-4
-6
1.5
1.0
HPF Current,
0.5
ihp [A]
0
-0.5
-1.0
-1.5
Compensation Current,
6
4
2
if [A]
0
-2
-4
-6
3
2
Source Current,
1
is [A]
0
-1
-2
-3
0 4 8 12 16 20 24 28 32 36 40
Time, t [ms]
The harmonic mitigation feature of the proposed topology has been clearly
demonstrated in Section 6.7. This section presents the second feature of the
proposed topology, i.e. the PV energy handling capability. The overall experimental
setup is the same as the one used in Section 6.7. Therefore, the results obtained in
Section 6.7 can be treated as the results for the proposed topology with zero PV
power generation.
Figure 6.18 shows the simulated load current, compensation current and
source current waveforms with 250 W PV power being “injected” into the proposed
hybrid APF system. Compared to Figure 6.16, the amount of source current drawn
from the distribution source is reduced by 1.0 A. This implies that 250 W of PV
power is provided by the PV array. The remaining component of the source current
corresponds to the effect of digitally implemented hysteresis current controller as
previously described.
6
Load Current,
4
2
iL [A]
0
-2
-4
-6
Source Current, Compensation Current,
6
4
2
if [A]
0
-2
-4
-6
3
2
1
is [A]
0
-1
-2
-3
4 8 12 16 20 24 28 32 36 40
Time, t [ms]
Figure 6.18 Simulation results – proposed hybrid APF with 250 W PV power
generations: load current, compensation current and source current waveforms
116
6
Load Current,
4
2
iL [A]
0
-2
-4
-6
Source Current, Compensation Current,
6
4
2
if [A]
0
-2
-4
-6
3
2
1
is [A]
0
-1
-2
-3
0 4 8 12 16 20 24 28 32 36 40
Time, t [ms]
Figure 6.19 Experimental results – proposed hybrid APF with 250 W PV power
generations: load current, compensation current and source current waveforms
experimental results. However, the harmonic components (i.e. 150 Hz, 250 Hz, 350
Hz, …, 2 kHz) of the experimental source current spectrum have bigger amplitude
than those obtained in the simulation. This is probably caused by the deviation of
components’ parameters between the simulation model and the experimental
prototype. However as can be observed, the trend is consistent.
1.2
Source Current,
1.0
is [A]
0.8
0.6
0.4
0.2
0
0 2 4 6 8 10 12
Frequency, f [kHz]
(a)
1.2
Source Current,
1.0
0.8
is [A]
0.6
0.4
0.2
0
0 1.25 2.50 3.75 5.00 6.25 7.50 8.75 10.00 11.25 12.50
Frequency, f [kHz]
(b)
Figure 6.21 shows the spectrum of the source current with ideal
compensation condition. The waveform can be referred to Section 6.5. In
comparison to Figure 6.20, the source current is almost free of harmonics. The
source current is effectively compensated under ideal compensation condition. This
indicates that our proposed compensation scheme works very well without the
influence of external disturbances, such as noise.
118
1.2
Source Current,
1.0
is [A]
0.8
0.6
0.4
0.2
0
0 2 4 6 8 10 12
Frequency, f [kHz]
(a)
1.2
Source Current,
1.0
0.8
is [A]
0.6
0.4
0.2
0
0 1.25 2.50 3.75 5.00 6.25 7.50 8.75 10.00 11.25 12.50
Frequency, f [kHz]
(b)
The spectrum of the source current with basic shunt APF compensation is
shown in Figure 6.22. The basic shunt APF successfully filters the harmonic current
components caused by the nonlinear load. Although the low frequency harmonic
components (i.e. less than 2 kHz) are filtered significantly, appreciable amount of
switching frequency harmonics still remain in the source current spectrum.
Furthermore, the introduction of blanking time probably causes the occurrence of the
odd multiple low order current harmonics (i.e. 150 Hz, 250 Hz and 350 Hz) in the
source current spectrum [66].
1.2
Source Current,
1.0
is [A]
0.8
0.6
0.4
0.2
0
0 2 4 6 8 10 12
Frequency, f [kHz]
(a)
1.2
Source Current,
1.0
0.8
is [A]
0.6
0.4
0.2
0
0 1.25 2.50 3.75 5.00 6.25 7.50 8.75 10.00 11.25 12.50
Frequency, f [kHz]
(b)
Figure 6.22 Spectrum of source current – with basic shunt APF compensation:
(a) simulation result and (b) experimental result
Figure 6.23 shows the spectrum of the source current with the proposed
hybrid APF compensation. In comparison to Figure 6.22, the source current
spectrum is almost free of switching frequency harmonic components. This implies
that the proposed hybrid APF compensates the distorted source current and
eliminates the switching frequency harmonics.
From the results shown in Figure 6.23, the source current spectrum still
contains odd multiple low order current harmonics (i.e. 150 Hz, 250 Hz and 350 Hz).
Again, these low order harmonic components are probably due to the effect of the
introduced blanking time.
120
1.2
Source Current,
1.0
is [A]
0.8
0.6
0.4
0.2
0
0 2 4 6 8 10 12
Frequency, f [kHz]
(a)
1.2
Source Current,
1.0
0.8
is [A]
0.6
0.4
0.2
0
0 1.25 2.50 3.75 5.00 6.25 7.50 8.75 10.00 11.25 12.50
Frequency, f [kHz]
(b)
The THD calculated up to 12.5 kHz (THD12.5 kHz) for the source current
shown in Figure 6.20 to Figure 6.23 are tabulated in Table 6.1. It can be observed
that the THD12.5 kHz obtained from the experiments is in good agreement with the
simulation results. The source current THD12.5 kHz is reduced from 130.2 % to
36.5 % with basic shunt APF. With the proposed hybrid APF, the source current
THD12.5 kHz is further reduced to 19.6 %. Thus, the harmonic filtering performance
of the proposed topology is superior compared to the basic shunt APF.
Note that the source current THD12.5 kHz is only 1.9 % under ideal
compensation condition, compared to 36.5 % with basic shunt APF and 19.6 % with
proposed hybrid APF. It can be concluded that the proposed compensation scheme
works very well in a “controlled environment”. However, its performance degraded
with noise and limitation in the digital implementation of hysteresis current
controller. In view of this, the compliance of the results obtained to the
recommended harmonics limit imposed by IEEE Standard 519 [33] is not scrutinised
further in this work.
121
6.10 Summary
This chapter presents the results obtained from the simulations and
experiments. Several tests were conducted; their aims being to illustrate the
effectiveness of the proposed hybrid APF in harmonic mitigation. In addition, the
PV energy handling is also demonstrated. The differences between the experimental
results and simulation results are analysed and discussed. Finally, a detailed THD
analysis on source current spectrums is carried out to validate the harmonic filtering
performance of the proposed hybrid APF in comparison to a basic shunt APF.
The experimental results differ somewhat from the simulation. However, the
trends for both are quite agreeable. The discrepancies are probably due to the
following three reasons:
(1) The deviation in switching ripple is due to the effect of noise in the
compensation current reference.
(2) The introduced blanking time causes the occurrence of the odd
multiple low order current harmonics in the source current spectrums.
7.1 Conclusions
1. Akagi, H. New Trends in Active Filters for Power Conditioning. IEEE Trans.
on Industry Applications. 1996. 32(6): 1312-1322.
9. Sutanto, D., Bou-rabee, M., Tam, K. S., and Chang, C. S. Harmonic Filters
for Industrial Power Systems. Proceedings of the IEE International
Conference on Advances in Power System Control, Operation and
Management (APSCOM). November 5-8, 1991. Hong Kong: IEE. 1991. 594-
598.
10. El-Habrouk, M., Darwish, M. K., and Mehta, P. Active Power Filters: A
Review. Proc. IEE Electric Power Applications. 2000. 147(5): 403-413.
11. Jou, H. L. and Wu, H. –Y. New Single-Phase Active Power Filter. Proc. IEE
Electric Power Applications. 1994. 141(3): 129-134.
12. Hsu, C. Y. and Wu, H. –Y. A New Single-Phase Active Power Filter with
Reduced Energy-Storage Capacity. Proc. IEE Electric Power Applications.
1996. 143(1): 25-30.
13. Jeong, S. G. and Woo, M. H. DSP-Based Active Power Filter with Predictive
Current Control. IEEE Trans. on Industrial Electronics. 1997. 44(3): 329-336.
14. Buso, S. Malesani, L., Mattavelli, P., and Veronese, R. Design and Fully
Digital Control of Parallel Active Power Filters for Thyristor Rectifiers to
Comply with IEC-1000-3-2 Standards. IEEE Trans. on Industry Applications.
1998. 34(3): 508-517.
15. Jintakosonwit, P., Fujita, H., and Akagi, H. Control and Performance of a
Fully-Digital-Controlled Shunt Active Filter for Installation on Power
Distribution System. IEEE Trans. on Power Electronics. 2002. 17(1): 132-
140.
16. Fukuda, S. and Endoh, T. Control Method for a Combined Active Filter
System Employing a Current Source Converter and a High Pass Filter. IEEE
Trans. on Industry Applications. 1995. 31(3): 590-597.
127
18. Routimo, M., Salo, M., and Tuusa, H. A Novel Control Method for
Wideband Harmonic Compensation. Proceedings of the IEEE International
Conference on Power Electronics and Drive Systems (PEDS). November 17-
20, 2003. Singapore: IEEE. 2003. 799-804.
19. Hassmann, K. Electric Power Generation. Proc. IEEE. 1993. 81(3): 346-354.
21. Bull, S. R. Renewable Energy Today and Tomorrow. Proc. IEEE. 2001.
89(8): 1216-1226.
23. Kim, S., Yoo, G., and Song, J. A Bifunctional Utility Connected Photovoltaic
System with Power Factor Correction and U.P.S. Facility. Proceedings of the
IEEE Conference on Photovoltaic Specialist. May 13-17, 1996. Washington,
USA: IEEE. 1996. 1363-1368.
25. Wu, T. –F., Shen, C. -L., Chang, C. H., and Chiu, J. –Y. 1/spl phi/ 3W Grid-
Connection PV Power Inverter with Partial Active Power Filter. IEEE Trans.
on Aerospace and Electronic Systems. 2003. 39(2): 635-646.
27. Dobrucky, B., Kim, H., Racek, V., Roch, M., and Pokorny, M. Single-Phase
Power Active Filter and Compensator using Instantaneous Reactive Power
Method. Proceedings of the Power Conversion Conference (PCC). April 2-5,
2002. Osaka, Japan: IEEE. 2002. 167-171.
29. Stones, J. and Collinson, A. Power Quality. IEE Power Engineering Journal.
2001. 15(2): 58-64.
30. Smith, C. W., Jr. Power Systems and Harmonic Factors. IEEE Potentials.
2001. 20(5): 10-12.
32. Umeh, K. C., Mohamed, A., and Mohamed, R. Comparing the Harmonic
Characteristics of Typical Single-Phase Nonlinear Loads. Proceedings of the
IEEE National Conference on Power and Energy (PECon). December 15-16,
2003. Bangi, Malaysia: IEEE. 2003. 383-387.
35. Singh, B., Al-Haddad, K., and Chandra, A. A Review of Active Filters for
Power Quality Improvement. IEEE Trans. on Industrial Electronics. 1999.
46(5): 960-971.
36. Wu, J. –C. and Jou, H. –L. Simplified Control Method for the Single-Phase
Active Power Filter. Proc. IEE Electric Power Applications. 1996. 143(3):
219-224.
37. Perez, J., Cardenas, V., Pazos, F., and Ramirez, S. Voltage Harmonic
Cancellation in Single-Phase Systems using a Series Active Filter with Low-
Order Controller. Proceedings of the IEEE International Power Electronics
Congress (CIEP). Oct. 20-24, 2002. Guadalajara, Mexico: IEEE. 2002. 270-
274.
38. Bhavaraju, V. B. and Enjeti, P. A Fast Active Power Filter to Correct Line
Voltage Sags. IEEE Trans. on Industrial Electronics. 1994. 41(3): 333-338.
41. Li, R., Johns, A. T., Elkateb, M. M., and Robinson, F. V. P. Comparative
Study of Parallel Hybrid Filters in Resonance Damping. Proceedings of the
IEEE International Conference on Electric Power Engineering. Aug. 29-Sept.
2, 1999. Hungary: IEEE. 1999. 230.
130
45. Peng, F. Z., Akagi, H., and Nabae, A. A New Approach to Harmonic
Compensation in Power Systems – a Combined System of Shunt Passive and
Series Active Filters. IEEE Trans. on Industry Applications. 1990. 26(6):
983-990.
47. Martins, D. C., Demonti, R., and Barbi, I. Usage of the Solar Energy from the
Photovoltaic Panels for the Generation of Electrical Energy. Proceedings of
the IEEE International Telecommunications Energy Conference
(INTELEC’99). June 6-9, 1999. Copenhagen, Denmark: IEEE. 1999. 17-3.
48. Dehbone, H., Nayar, Chem, Borle, L., and Malengret, M. A Solar
Photovoltaic In-Line UPS System using Space Vector Modulation Technique.
Proceedings of the IEEE Power Engineering Society Summer Meeting. July
15-19, 2001. Vancouver, Canada: IEEE. 2001. 632-637.
131
49. Herrmann, U., Langer, H. G., and Broeck, H. Low Cost DC to AC Converter
for Photovoltaic Power Conversion in Residential Applications. Proceedings
of the IEEE Power Electronics Specialist Conference (PESC). June 20-24,
1993. Washington, USA: IEEE. 1993. 588-594.
50. Sung, N. G., Lee, J. D., Kim, B. T., Park, M., and Yu, I. K. Novel Concept of
a PV Power Generation System Adding the Function of Shunt Active Filter.
Proceedings of the IEEE Transmission and Distribution Conference. Oct. 6-
10, 2002. Yokohama, Japan: IEEE. 2002. 1658-1663.
51. Chiang, S. J., Chang, K. T., and Yen, C. Y. Residential Photovoltaic Energy
Storage System. IEEE Trans. on Industrial Electronics. 1998. 45(3): 385-394.
52. El-Habrouk, M., Darwish, M. K., and Mehta, P. A Survey of Active Filters
and Reactive Power Compensation Techniques. Proceedings of the IEE
International Conference on Power Electronics and Variable Speed Drives.
Sept. 18-19, 2000. London, UK: IEE. 2000. 7-12.
53. Grady, W. M., Samotyj, M. J., and Noyola, A. H. Survey of Active Power
Line Conditioning Methodologies. IEEE Trans. on Power Delivery. 1990.
5(3): 1536-1542.
54. Norman, M., Ahsanul, A., Senan, M., and Hashim, H. Review of Control
Strategies for Power Quality Conditioners. Proceedings of the IEEE National
Conference on Power and Energy Conference (PECon). Nov. 29-30, 2004.
Kuala Lumpur, Malaysia: IEEE. 2004. 109-115.
55. Chen, D. –H. and Xie, S. –J. Review of Control Strategies Applied to Active
Power Filters. Proceedings of the IEEE International Conference on Electric
Utility Deregulation, Restructuring and Power Technologies (DRPT). April
5-8, 2004. Hong Kong: IEEE. 2004. 666-670.
Power Active Filters using DSPs. Proc. IEE Electric Power Applications.
2001. 148(1): 21-28.
57. Akagi, H., Kanazawa, Y., and Nabae, A. Instantaneous Reactive Power
Compensators Comprising of Switching Devices without Energy Storage
Components. IEEE Trans. on Industry Applications. 1984. 20(3): 625-630.
58. Leow, P. L. and Naziha, A. A. SVM Based Hysteresis Current Controller for
a Three Phase Active Power Filter. Proceedings of the IEEE National
Conference on Power and Energy Conference (PECon). Nov. 29-30, 2004.
Kuala Lumpur, Malaysia: IEEE. 2004. 132-136.
60. Wu, T. –F., Shen, C. –L., Chiu, J. –Y., and Chen, C. –C. An APF with
MAPPT Scheme to Improve Power Quality. Proceedings of the IEEE
International Conference on Electrical and Electronic Technology. August
19-22, 2001. Singapore: IEEE. 2001. 620-626.
61. Chen, C. L., Chen, E. L., and Huang, C. L. An Active Filter for Unbalanced
Three-Phase System using Synchronous Detection Method. Proceedings of
the Power Electronics Specialist Conference (PESC). June 20-25, 1994.
Taipei, Taiwan: IEEE. 1994. 1451-1455.
62. Buso, S., Malesani, L., and Mattavelli, P. Comparison of Current Control
Techniques for Active Filter Applications. IEEE Trans. on Industrial
Electronics. 1998. 45(5): 722-729.
63. Malesani, L., Mattavelli, P., and Buso, S. Dead-Beat Current Control for
Active Filters. Proceedings of the Industrial Electronics Conference (IECON).
Aug. 31-Sept. 4, 1998. Aachen, Germany: IEEE. 1998. 1859-1864.
133
64. Nishida, K., Konishi, Y., and Nakaoka, M. Current Control Implementation
with Deadbeat Algorithm for Three-Phase Current-Source Active Power
Filter. Proc. IEE Electric Power Applications. 2002. 149(4): 275-282.
65. Nishida, K., Rukonuzzman, M., and Nakaoka, M. Advanced Current Control
Implementation with Robust Deadbeat Algorithm for Shunt Single-Phase
Voltage-Source Type Active Power Filter. Proc. IEE Electric Power
Applications. 2004. 151(3): 283-288.
70. The Math Works Inc. Simulink – Dynamic System Simulation for MATLAB.
2nd. ed. USA: The Math Works, Inc. 1997.
79. Deitel, H. M. and Deitel, P. J. C: How To Program. 2nd. ed. USA: Prentice-
Hall International, Inc. 1999.
PUBLICATIONS
Figure A.1.
Lf Rf
if
vt vs
given by
di f
vt = v s + R f i f + L f (A.1)
dt
137
The terminal voltage and the compensation current can be expressed in terms of their
DC and the switching ripple components as
vt (t ) = Vt + v sw (t )
i f (t ) = I f + i sw (t ) (A.2)
where v sw (t ) and isw (t ) are the ripple components in vt and i f , respectively. From
disw (t )
Vt + v sw (t ) = v s + R f [ I f + isw (t )] + L f (A.3)
dt
where
Vt = R f I f (A.4)
and
disw (t )
vsw (t ) = vs + R f isw (t ) + L f (A.5)
dt
We know that the ripple current is high frequency component and primarily
determined by the interfacing inductor ( Ls ). Therefore, vs and R f are assumed to
disw (t )
vsw (t ) ≅ L f (A.6)
dt
Figure A.2 shows the voltage ripple vsw (t ) and the resulting ripple current isw (t )
using (A.6). Assumed that the voltage ripple vsw (t ) is represented by the bipolar
i sw
VCf
0 t
−VCf
1
Tsw =
f sw
disw (t ) vsw (t )
=
dt Lf
Tsw
1
∆I sw, p − p = ∫
2
vsw (t )dt
Lf 0
VCf Tsw
∆I sw, p − p =
2L f
VCf
∆I sw, p − p = (A.7)
2 L f f sw
VCf
L f ,min = (A.8)
2 ⋅ (∆I sw, p − p ) ⋅ f sw,max
where f sw,max maximum frequency of switching ripple and ∆I sw, p − p is the peak-to-
∞
i L (t ) = ∑ 2 I L ,n sin(nωt + θ n ) (B.1)
n =1
B1. Derivation of p L (t )
p L (t ) = v s (t ) ⋅ i L (t )
140
⎡ ∞
⎤
= 2Vs sin(ωt + φ) ⋅ ⎢ 2 I L ,1 sin(ωt + θ1 ) + ∑ 2 I L ,n sin( nωt + θ n )⎥
⎣ n =2 ⎦
∞
= 2Vs sin(ωt + φ) ⋅ I L ,1 sin(ωt + θ1 ) + ∑ 2Vs I L ,n sin(ωt + φ) sin(nωt + θ n ) (B.4)
n=2
DC component AC component
= 2Vs I L ,1 {[sin(ωt ) cos(φ) + cos(ωt ) sin(φ)] ⋅ [sin(ωt ) cos(θ1 ) + cos(ωt ) sin(θ1 )]}
{
= 2Vs I L ,1 sin 2 (ωt ) cos(φ) cos(θ1 ) + sin(ωt ) cos(ωt ) cos(φ) sin(θ1 )
{
= 2Vs I L ,1 sin 2 (ωt ) cos(φ) cos(θ1 ) + cos 2 (ωt ) sin(φ) sin(θ1 )
{
= 2Vs I L ,1 sin 2 (ωt ) cos(φ) cos(θ1 ) + cos 2 (ωt ) sin(φ) sin(θ1 )
{
= Vs I L ,1 2 sin 2 (ωt ) cos(φ) cos(θ1 ) + 2 cos 2 (ωt ) sin(φ) sin(θ1 )
{
= Vs I L ,1 cos(φ) cos(θ1 )[sin 2 (ωt ) + sin 2 (ωt )] + 2 sin(ωt ) cos(ωt ) sin(φ + θ1 )
{
= Vs I L ,1 cos(φ) cos(θ1 )[1 − cos 2 (ωt ) + sin 2 (ωt )] + 2 sin(ωt ) cos(ωt ) sin(φ + θ1 )
{
= Vs I L ,1 cos(φ) cos(θ1 )[1 − (cos 2 (ωt ) − sin 2 (ωt ))]
+ 2 sin(ωt ) cos(ωt ) sin(φ + θ1 ) + sin(φ) sin(θ1 )[1 + (cos 2 (ωt ) − sin 2 (ωt ))] }
p L (t ) = Vs I L ,1 cos(φ − θ1 ) − Vs I L ,1 cos(2ωt + φ + θ1 )
∞
+ ∑ 2Vs I L ,n sin(ωt + φ) sin( nωt + θ n )
n=2
= pL + ~
pL (B.6)
where
and
∞
~
pL = ∑ 2Vs I L ,n sin(ωt + φ) sin(nωt + θ n ) (B.8)
n=2
B2. Derivation of q L (t )
The instantaneous reactive load power can be obtained by multiplying the load
current with a 90°-shifted source voltage ( v s' (t ) ) as follows:
q L (t ) = v s' (t ) ⋅ i L (t )
⎡ ∞
⎤
= 2Vs sin(ωt + φ − 90 o ) ⋅ ⎢ 2 I L ,1 sin(ωt + θ1 ) + ∑ 2 I L ,n sin(nωt + θ n )⎥
⎣ n =2 ⎦
143
⎡ ∞
⎤
= − 2Vs cos(ωt + φ) ⋅ ⎢ 2 I L ,1 sin(ωt + θ1 ) + ∑ 2 I L ,n sin( nωt + θ n )⎥
⎣ n =2 ⎦
∞
= −2Vs cos(ωt + φ) ⋅ I L ,1 sin(ωt + θ1 ) + ∑ 2Vs I L ,n sin(ωt + φ) sin( nωt + θ n ) (B.9)
n=2
DC component AC component
= −2Vs I L ,1 {[cos(ωt ) cos(φ) − sin(ωt ) sin(φ)] ⋅ [sin(ωt ) cos(θ1 ) + cos(ωt ) sin(θ1 )]}
{
= −2Vs I L ,1 sin(ωt ) cos(ωt ) cos(φ) cos(θ1 ) + cos 2 (ωt ) cos(φ) sin(θ1 )
{
= −2Vs I L ,1 cos 2 (ωt ) cos(φ) cos(θ1 ) − sin 2 (ωt ) sin(φ) sin(θ1 )
{
= −2Vs I L ,1 cos 2 (ωt ) cos(φ) cos(θ1 ) − sin 2 (ωt ) sin(φ) sin(θ1 )
{
= Vs I L ,1 − 2 cos 2 (ωt ) cos(φ) sin(θ1 ) + 2 sin 2 (ωt ) sin(φ) cos(θ1 )
{
= Vs I L ,1 − cos(φ) sin(θ1 )[cos 2 (ωt ) + cos 2 (ωt )] − 2 sin(ωt ) cos(ωt ) cos(φ + θ1 )
{
= Vs I L ,1 − cos(φ) sin(θ1 )[1 + cos 2 (ωt ) − sin 2 (ωt )]
}
− 2 sin(ωt ) cos(ωt ) cos(φ + θ1 ) + sin(φ) cos(θ1 )[1 + sin 2 (ωt ) − cos 2 (ωt )]
q L (t ) = Vs I L ,1 sin(φ − θ1 ) − Vs I L ,1 sin(2ωt + φ + θ1 )
∞
− ∑ 2Vs I L ,n sin(ωt + φ) sin(nωt + θ n )
n=2
= q L + q~L (B.11)
where
and
∞
q~L = −∑ 2Vs I L ,n sin(ωt + φ) sin(nωt + θ n ) (B.13)
n=2
B3. Derivation of q hp (t )
The instantaneous reactive HPF power can be obtained by multiplying the HPF
current with a 90°-shifted source voltage ( v s' (t ) ) as follows:
q hp (t ) = v s' (t ) ⋅ ihp (t )
DC component
= Vs I hp {sin(φ − θ1 ) − sin(2ωt + φ + θ1 )}
{
= Vs I hp sin(φ − 90 o ) − sin( 2ωt + φ + 90 o )}
= q hp + q~hp (B.16)
where
and
q~hp = 0 (B.18)
balance principle for the proposed hybrid APF is described as in the following.
If the reference voltage across the DC-bus capacitor is VCf ,ref , then the reference
1
ECf ,ref = C f VCf2 ,ref (C.1)
2
1
ECf (t ) = C f vCf2 (t ) (C.2)
2
Cf
= {VCf2 ,ref − vCf2 (t )}
2
Cf
= {VCf ,ref + vCf (t )}{VCf ,ref − vCf (t )} (C.3)
2
Assume that the variation in DC-bus voltage within one cycle is moderate, the term
{VCf ,ref + vCf (t )} can be approximated as
Since this energy loss must be supplied by the distribution source, the peak value of
the DC-bus capacitor charging current ( I Cf ) can be estimated as follows:
∫
0
2Vs sin(ωt ) I Cf sin(ωt )dt = ∆ECf (C.6)
Therefore
2
I Cf = ∆ECf (C.7)
T 2Vs
2
I Cf = C f VCf ,ref {VCf ,ref − vCf (t )}
T 2Vs
2C f VCf ,ref
= {VCf ,ref − vCf (t )}
T 2Vs
149
2C f VCf ,ref
Kp = (C.9)
T 2Vs
APPENDIX D
PHASE-LOCK LOOP
az − 1
H 1( z ) = (D.1)
z −1
cz
H 2( z ) = (D.2)
z −1
H 1( z ) ⋅ H 2( z ) ⋅ z −1
H ( z) =
1 + H 1( z ) ⋅ H 2( z ) ⋅ z −1
az − 1 cz
⋅ ⋅ z −1
= z − 1 z − 1
az − 1 cz −1
1+ ⋅ z
z −1 z −1
acz − c
=
( z − 2 z + 1) + (acz − c)
2
151
acz − c
= (D.3)
z + (ac − 2) z + (1 − c)
2
Based on the closed-loop transfer function in (D.3), one can easily tell that is
a second-order system. In control system theory, the transfer function of the second-
order system can often be written in a general format as
N ( z)
H ( z) = (D.4)
( z − z1 )( z − z 0 )
∆( z ) = ( z − z1 )( z − z 0 ) = z 2 − ( z1 + z 0 ) z + z1 z 0 (D.5)
C1 = −( z1 + z 0 )
C 0 = z1 z 0 (D.6)
∆( z ) = z 2 + C1 z + C 0 (D.7)
ω n2
H ( s) = (D.8)
s 2 + 2ζω n s + ω 2n
By solving the roots of the characteristics equation in (D.8), two poles ( s 0 and s1 ) of
the system can be derived as
s 0 = −ζω n + jω n 1 − ζ 2 = −σ + jω
s1 = −ζω n − jω n 1 − ζ 2 = −σ − jω (D.9)
1− ζ 2 )
z 0 = e s0Ts = e ( − ζωnTs + jωnTs
1− ζ 2 )
z1 = e s1Ts = e ( − ζωnTs − jωnTs (D.10)
(D.10) into (D.6), coefficients C 0 and C1 of the characteristic equation (D.7) can be
C 0 = e −2 ζωnTs
FILTER
Figure E.1 shows the layout of the second-order damped series resonant type
high-pass filter (HPF). It consists of a capacitor ( C hp ), an inductor ( Lhp ) and an
1
sChp
Zhp
Rhp sLhp
Figure E.1 Layout of the second-order damped series resonant type HPF
Using a little algebra, the HPF impedance transfer function in (3.27) can be derived
as following:
1
Z hp ( s ) = + ( sLhp // Rhp )
sC hp
154
1 ⎛ sLhp ⋅ Rhp ⎞
= +⎜ ⎟
sC hp ⎜⎝ sLhp + Rhp ⎟
⎠
1 sLhp Rhp
= +
sC hp sLhp + Rhp
⎛⎛ ⎞
2
⎞
⎜⎜ ⎟ ⎟
s s
Rhp ⎜ ⎜ ⎟ + + 1⎟
⎜⎜ 1 ⎟ R hp
⎟
⎜⎜ C hp Lhp ⎟ Lhp ⎟
= ⎝⎝ ⎠ ⎠
⎛ ⎞
⎜ ⎟
⎜ s
sC hp Rhp + 1⎟
⎜ Rhp ⎟
⎜ L ⎟
⎝ hp ⎠
⎡ 2 ⎤
1 ⎢⎛⎜ ⎞
⎟
⎛
⎜
⎞ ⎥
⎟ ⎥
C hp ⎢ s 1 s
= ⋅ ⎢⎜ ⎟ + ⎜ ⎟ + 1⎥
⎛ ⎞ ⎢⎜ 1 ⎟ C hp ⎜ 1 ⎟ ⎥
⎜ ⎟ ⎜ C hp Lhp ⎟ R ⎜ C hp Lhp ⎟
s ⎝ ⎠ ⎝ ⎠ ⎥
+ 1⎟ ⎢⎣
hp
s⎜ Lhp ⎦
⎜ Rhp ⎟
⎜ Lhp ⎟
⎝ ⎠
A ⎡⎛ s ⎞
2
1⎛ s ⎞ ⎤
= ⋅ ⎢⎜⎜ ⎟⎟ + ⎜⎜ ⎟⎟ + 1⎥ (E.1)
⎛ s ⎞ ⎢⎝ ω0 ⎠ Q ⎝ ω0 ⎠ ⎥⎦
s⎜ + 1⎟ ⎣
⎜ω ⎟
⎝ p ⎠
155
where
1
A=
C hp
1
ω0 =
Lhp C hp
Rhp
ωp =
Lhp
C hp
Q = Rhp (E.2)
Lhp
i s ,h ( s )
H cds ( s ) =
ih ( s )
Z hp ( s )
= (E.3)
Z hp ( s ) + Z s ( s )
A ⎡⎛ s ⎞
2
1⎛ s ⎞ ⎤
Z hp ( s ) = ⋅ ⎢⎜⎜ ⎟⎟ + ⎜⎜ ⎟⎟ + 1⎥
⎛ s ⎞ ⎢⎝ ω0 ⎠ Q ⎝ ω0 ⎠ ⎥⎦
s⎜ + 1⎟ ⎣
⎜ω ⎟
⎝ p ⎠
Z s ( s ) = sLs (E.4)
2
⎛ ⎞ ⎛ ⎞
⎜ s ⎟ 1 ⎜ s ⎟
⎜ ⎟ + ⎜ ⎟ +1
⎜ 1 ⎟ C hp ⎜ 1 ⎟
⎜ C hp Lhp ⎟ R ⎜ C hp Lhp ⎟
⎝ ⎠ hp
Lhp ⎝ ⎠
=
⎛ ⎛ ⎞
2
⎞
⎜ ⎜ ⎟ ⎟
⎜ s 3 Ls C hp Lhp + ⎜ s ⎟ + s
+ 1⎟
⎜ Rhp ⎜ 1 ⎟ Rhp ⎟
⎜ ⎜ C ( L + L ) ⎟ Lhp ⎟
⎝ ⎝ hp s hp ⎠
⎠
2
⎛ s ⎞ 1⎛ s ⎞
⎜⎜ ⎟⎟ + ⎜⎜ ⎟⎟ + 1
= ⎝ ω0 ⎠ Q ⎝ ω0 ⎠ (E.5)
⎛ Ls C hp Lhp ⎛ s ⎞ 2 s ⎞
⎜ s3 + ⎜⎜ ⎟⎟ + + 1⎟
⎜ Rhp ⎝ ω1 ⎠ ωp ⎟
⎝ ⎠
In (E.5),
1
ω0 =
Lhp C hp
1
ω1 =
C hp ( Ls + Lhp )
Rhp
ωp =
Lhp
C hp
Q = Rhp (E.6)
Lhp
These values are found via the design calculations for the specific power electronic
converter circuit in which the inductor is to be used.
159
From the wire table in Figure F.1, the wire having the closest circular mil area to the
calculated value will be selected. And from the wire table, the diameter of the
selected wire is D. The wire area per turn (At) can then be calculated by assuming
wire area per turn is D 2 rather than π D 2 4 .
The core material, shape and size are chosen next. The choice of material
will be influenced by the operating frequency. Variety of core material like magnetic
steels, powdered iron cores, amorphous metallic glasses and ferrite cores can be
considered. In this work, the ferrite material 3C90 manufactured by Ferroxcube is
chosen as the core material because it is able to operate at frequency as high as 200
kHz. The choice of core shape, that is E-core, U-core, toroid and so forth, will
depend on cost, availability, and ease of making the windings on the chosen core
shape. The selected core shape is the E-E core type which is suitable for high power
application and easy coil winding.
The core size is related to the product of the core winding area (Ac) and the
effective area (Ae) of its magnetic path. For any inductor, the voltage across it may
be defined either in terms of the rate of change of current in it or the rate of change of
flux in its core. Or
160
from which
( LI max )10 +8
Ae = (F.4)
NBmax
But the core winding area (Ae) must be chosen to accommodate the required number
of turns at the specified safe-current density and the fraction of the total core winding
area usable. Thus, assume only 75% of the core winding area Ac is usable and
assume N turns of wire, whose area per turns is At. Then
NAt = 0.75 Ac
or
NAt
Ac = (F.5)
0.75
In (F.6), as soon as the wire area is specified (on the basic of safe operating
current density), all terms on the right-hand side are specified and the product AeAc is
fixed. A core with the required product is then selected from the vendor’s datasheet.
Once this core is selected, Ae is determined from the datasheet and from (F.4), N is
calculated, since all other parameters in it are already fixed.
0.4πNI DC
H= (F.7)
l
∫ H dl = 0.4πNI (F.8)
162
This states the line integration around a closed loop of length l of the dot product of
the field intensity H and element of length dl is equal to 0.4πNI, where NI is the
ampere turns enclosed by the loop. When an air gap is introduced in the length path,
the field intensity is constant and parallel across the air gap. Thus
∫ H dl = H l i i + H a l a = 0.4πNI (F.9)
where Hi is the core field intensity and Ha is the air gap field intensity. If the air gap
is narrow and there is no bulging of fringing of magnetic flux as it across the air gap,
then the flux density in the core, Bi, is equal to that in air, Ba. Then, Hi = Bi / µi
where µi is the average core permeability and Ha = Ba / µa = Bi, since Ba = Bi and
permeability of air, µa is unity. Then
Bi li µ i + Bi l a = 0.4πNI
or
0.4πNI 0.4πNIµ i
Bi = = (F.10)
li µ i + l a li + µ i l a
(F.10) states that for a given NI product, the flux density in the core with an air gap
li
of length la is smaller than with no air gap in the ratio .
li + µ i l a
In (F.10), the maximum flux density in core, Bi, will occur at maximum I in
the inductor. This maximum I is the maximum at the top of the current ramp. In
(F.9), Bi will be set to prevent the core from rising on the slow knee of its hysteresis
loop at maximum temperature. Thus, as soon as the number of turns N and core
length li are chosen, (F.10) permits selecting air gap length.
Figure F.1 Magnetic wire table (Courtesy Belden Corp.)
163
164
B (Flux density)
Hysteresis loop of Flattened hysteresis
gapless core loop of gapped core
B
Bsaturation
B1 P1
B2 P2
H (Field strength)
Bias in oersteds
-Bsaturation
Figure F.2 Typical relationship between magnetic flux density and field strength
The round wire made from copper is chosen as the winding conductor. The
wire area is chosen on the basic of a safe current density. As a first guess, a current
density of 300 circular mils/A is chosen. The total circular mil area of the wire (A) is
then calculated as
A = I rms (300)
165
From the wire table in Figure F.1, the wire having the closest circular mil area to this
is No. 18 wire (1620 circular mils). And from the wire table, the diameter of this
wire is 0.043 in/0.11 cm. In this work, the copper wire with diameter (D) of 0.125
cm is selected due to the availability. Assuming wire area per turn is D 2 rather than
π D 2 4 , the wire area per turn (At) can be calculated as
At = D 2
In (F.6), take Bmax = 3000 G, which is safely below saturation for ferrite
material 3C90 ( Bsaturation = 3400 G). The required Ae Ac product for the core is
Looking through a ferrite core vendor’s catalogue [71], a ferrite core Ferroxcube type
ETD59 is found to have the required Ae Ac product. Its Ae is quoted as 3.68 cm2; its
166
Ac is 3.66 cm2. This gives an Ae Ac product of 13.4688 cm4, which is big enough for
ease of making the windings.
( LI max )10 +8
N=
Ae Bmax
≅ 74 turns (F.14)
The ETD59 bobbin has Ac of 3.66 cm2. The area per turn of wire is then
3.66 74 = 0.0495 cm2, and its diameter is 0.0495 = 0.222 cm. This calculated
value of diameter is bigger than the diameter of the selected copper wire ( D = 0.125
cm). The ETD59 bobbin can thus handle the required 74 turns of copper wire with
D = 0.125 cm at the specified current density of 300 circular mils/A.
Now, the air gap length ( l a ) must be specified from (F.10). In that equation,
µ i is the permeability of the core material. The chosen Ferroxcube 3C90 material
has a µ i of 2300 [71]. Then for a Bmax of 3000 G, I max = 0.707 A, and N = 74
turns, from (F.10),
0.4πNIµ i
li + µ i l a =
Bi
0.4π(74)(7.07)(2300)
= = 504.043 cm (F.15)
(3000)
167
Since the ETD59 bobbin has a mean path length li of 13.9 cm, from (F.15),
li + µ i l a = 504.043
Thus,
504.043 − 13.9
la = = 0.2131 cm (F.16)
2300
The ferrite core comes in two halves. Thus, if a spacer is located between the two
halves, the air gap is actually twice the spacer thickness. Since this spacer is in series
with four “legs” of the ferrite core, the spacer thickness must then be
0.2131 4 = 0.05328 cm. This completes the design of the AC smoothing inductor.
The design parameters of the 2.5 mH inductor can be readily calculated following the
calculation example given by (F.11) – (F.16). Table F.1 shows the specification of
the 2.5 mH inductor.
168
The HPF inductor ( Lhp ) consists of a 1.76 mH inductor. This section will
The design parameters of Lhp can be readily calculated following the calculation
example given by (F.11) – (F.16). Table F.2 shows the specification of Lhp .
VCC VCC2
R13 U9 C14
270R 1 8 0.1uF
2 N/C VCC 7 R15
3 ANOD Vo 6 Jout
Upper Leg 4 KOTODVo 5
N/C VEE 10R OUT1 1
HCPL 3150 2
VEE2 OUT2 3
4
HCPL 3150
VEE3
U7A U8A
1 D9
3 1 2
2 Upper Leg
74ACT14
D1N4148
74ACT08
R5 R6 R9
10K 10K VCC R10 VCC
20k
270R
C10 C11
C12
0.01uF 0.001uF 0.01uF
U8B
D10
3 4
JP2 4 en1 Lower leg
74ACT14
3 D1N4148
2 input1 U7B
4 Header 1 4 R11
U8E 6 R12
11 10 5
20k
270R
JP1 2 74ACT14 74ACT08 C13
1 0.001uF
2 Header
R7 R8
/**************************************************************************
TITLE : SINGLE-PHASE HYBRID ACTIVE POWER FILTER
DESCRIPTION :
**************************************************************************/
/**************************************************************************
Include Files - Brtenv.h is the header file for DS1104
**************************************************************************/
#include <Brtenv.h> /* DS1104 header file */
#include <stdlib.h> /* declares calloc */
#include <io1104.h> /* I/O header file */
#include <stdio.h>
#include <math.h>
172
/**************************************************************************
Timer 0 and Timer 1 Period Setting
**************************************************************************/
#define ST0 10.0e-6 /* Timer 0 = 10e-6 s */
#define ST1 100.0e-6 /* Timer 1 = 100e-6 s */
/**************************************************************************
Variables for ControlDesk's Instruments
**************************************************************************/
Float64 exec_time0, exec_time1; /* Execution time */
Float64 pi = 3.14159265358979; /* Define value of pi */
int n1, n2; /* Counter */
UInt32 mask_set = 0;
volatile int iselect = 0;
Float64 iref_out; /* DAC output signal select */
/* DC Source Current */
Float64 ipv_ref = 0.000;
volatile Float64 ipv = 0.000;
Float64 sine_ref_syn;
Float64 sine_ref_90deg;
/**************************************************************************
Parameters of routine compensating_current_ref()
**************************************************************************/
/*-------------------------------------------------------------------------
Parameters for subroutine delay8()
-------------------------------------------------------------------------*/
Float64 *w8;
int D8 = 50;
/*-------------------------------------------------------------------------
Parameters of subroutine delay9()
-------------------------------------------------------------------------*/
Float64 *w9;
int D9 = 43;
/*-------------------------------------------------------------------------
Parameters of subroutine delay10()
-------------------------------------------------------------------------*/
Float64 *w10;
int D10 = 99;
/**************************************************************************
Parameters of routine extension_pq_theorem()
**************************************************************************/
Float64 vsource_adc_90deg;
Float64 Pload;
Float64 Pload_dc;
Float64 Qload;
Float64 Qload_dc;
Float64 Qhpf;
Float64 Qhpf_dc;
/*-------------------------------------------------------------------------
Parameters of subroutine delay4()
-------------------------------------------------------------------------*/
Float64 *w4;
int D4 = 50;
/*-------------------------------------------------------------------------
Parameters of subroutine fir5()
-------------------------------------------------------------------------*/
Float64 *a5, *b5, *w5;
int M5,L5;
174
/*-------------------------------------------------------------------------
Parameters of subroutine fir6()
-------------------------------------------------------------------------*/
Float64 *a6, *b6, *w6;
int M6,L6;
/*-------------------------------------------------------------------------
Parameters of subroutine fir7()
-------------------------------------------------------------------------*/
Float64 *a7, *b7, *w7;
int M7,L7;
/*-------------------------------------------------------------------------
Parameters of subroutine fir11()
-------------------------------------------------------------------------*/
Float64 *a11, *b11, *w11;
int M11,L11;
/*-------------------------------------------------------------------------
Parameters of subroutine fir12()
-------------------------------------------------------------------------*/
Float64 *a12, *b12, *w12;
int M12,L12;
/*-------------------------------------------------------------------------
Parameters of subroutine fir13()
-------------------------------------------------------------------------*/
Float64 *a13, *b13, *w13;
int M13,L13;
/**************************************************************************
Parameters of routine phase_lock_loop()
**************************************************************************/
Float64 y1_a;
Float64 y1_b;
Float64 y1_c;
Float64 y1_d;
Float64 y1_e;
Float64 vs_rms;
Float64 vs_rms1;
Float64 vpll;
Float64 sine_ref;
/*-------------------------------------------------------------------------
Parameters of subroutine integ1()
-------------------------------------------------------------------------*/
Float64 *w2, y1_c1, y1_c2;
175
/*-------------------------------------------------------------------------
Parameters of subroutine fir1()
-------------------------------------------------------------------------*/
Float64 *a1, *b1, *w1;
int M1,L1;
/*-------------------------------------------------------------------------
Parameters of subroutine pll()
-------------------------------------------------------------------------*/
Float64 *a3, *b3, *w3;
int M3,L3;
/**************************************************************************
Subroutine listing for routine compensating_current_ref()
**************************************************************************/
/*-------------------------------------------------------------------------
Subroutine delay8()
- 90 degree phase shifting
-------------------------------------------------------------------------*/
Float64 delay8(x)
Float64 x;
{
int i;
Float64 z8;
z8 = w8[D8];
w8[0] = x;
return z8;
/*-------------------------------------------------------------------------
Subroutine delay9()
- source voltage synchronisation
-------------------------------------------------------------------------*/
Float64 delay9(x)
Float64 x;
{
int i;
Float64 z9;
z9 = w9[D9];
w9[0] = x;
176
return z9;
/*-------------------------------------------------------------------------
Subroutine delay10()
- phase delay compensation
-------------------------------------------------------------------------*/
Float64 delay10(x)
Float64 x;
{
int i;
Float64 z10;
z10 = w10[D10];
w10[0] = x;
return z10;
/**************************************************************************
Subroutine listing for routine extension_pq_theorem()
**************************************************************************/
/*-------------------------------------------------------------------------
Subroutine delay4()
- delay vsource_adc with 90 degree
-------------------------------------------------------------------------*/
Float64 delay4(x)
Float64 x;
{
int i;
Float64 z;
z = w4[D4];
w4[0] = x;
return z;
/*-------------------------------------------------------------------------
Subroutine fir5()
- 2nd-order LPF, fc = 5 Hz, G = 0.5
-------------------------------------------------------------------------*/
Float64 fir5(x)
Float64 x;
{
int i, K;
Float64 y = 0;
b5[0] = 2.467776264e-6;
b5[1] = 2 * 2.467776264e-6;
b5[2] = 2.467776264e-6;
}
178
/*-------------------------------------------------------------------------
Subroutine fir6()
- 2nd-order LPF, fc = 5 Hz, G = 0.5
-------------------------------------------------------------------------*/
Float64 fir6(x)
Float64 x;
{
int i, K;
Float64 y = 0;
b6[0] = 2.467776264e-6;
b6[1] = 2 * 2.467776264e-6;
b6[2] = 2.467776264e-6;
}
179
/*-------------------------------------------------------------------------
Subroutine fir7()
- 2nd-order LPF, fc = 5 Hz, G = 0.5
-------------------------------------------------------------------------*/
Float64 fir7(x)
Float64 x;
{
int i, K;
Float64 y = 0;
b7[0] = 2.467776264e-6;
b7[1] = 2 * 2.467776264e-6;
b7[2] = 2.467776264e-6;
}
180
/*-------------------------------------------------------------------------
Subroutine fir11()
- 2nd-order LPF, fc = 2 kHz, G = 0.5
-------------------------------------------------------------------------*/
Float64 fir11(x)
Float64 x;
{
int i, K;
Float64 y = 0;
b11[0] = 0.2068627691;
b11[1] = 2 * 0.2068627691;
b11[2] = 0.2068627691;
}
181
/*-------------------------------------------------------------------------
Subroutine fir12()
- 2nd-order LPF, fc = 2 kHz, G = 0.5
-------------------------------------------------------------------------*/
Float64 fir12(x)
Float64 x;
{
int i, K;
Float64 y = 0;
b12[0] = 0.2068627691;
b12[1] = 2 * 0.2068627691;
b12[2] = 0.2068627691;
}
182
/*-------------------------------------------------------------------------
Subroutine fir13()
- 2nd-order LPF, fc = 2 kHz, G = 0.5
-------------------------------------------------------------------------*/
Float64 fir13(x)
Float64 x;
{
int i, K;
Float64 y = 0;
b13[0] = 0.2068627691;
b13[1] = 2 * 0.2068627691;
b13[2] = 0.2068627691;
/**************************************************************************
Subroutine listing for routine phase_lock_loop()
**************************************************************************/
/*-------------------------------------------------------------------------
Subroutine reset_integ1()
- avoid saturation of integral, integ1()
-------------------------------------------------------------------------*/
183
reset_integ1()
{
n2++;
if(n2 == 200)
{
w2[0] = 0; /* Reset integ1() */
y1_c1 = y1_c;
n2 = 0;
}
/*-------------------------------------------------------------------------
Subroutine integ1()
- integrate with Euler
-------------------------------------------------------------------------*/
Float64 integ1(x)
Float64 x;
{
w2[0] = w2[0] + x * ST1; /* Integrate with Euler */
return w2[0];
}
/*-------------------------------------------------------------------------
Subroutine fir1()
- 2nd-order LPF, fc = 100 Hz, G = 0.5
-------------------------------------------------------------------------*/
Float64 fir1(x)
Float64 x;
{
int i, K;
Float64 y = 0;
/*-------------------------------------------------------------------------
Subroutine pll()
- reference sinewave signal generation
-------------------------------------------------------------------------*/
Float64 pll(x)
Float64 x;
{
int i, K;
double y = 0;
{
y += b3[i] * w3[i]; /* Output adder */
}
/**************************************************************************
Routine phase_lock_loop()
**************************************************************************/
phase_lock_loop()
{
y1_e = fabs(y1_d);
else
{
vs_rms = vs_rms1;
enable3 = 1; /* Mains fault protection */
}
ds1104_adc_mux(2);
186
else
{
enable4 = 0; /* DC-bus voltage fault protection */
}
sine_ref_syn = -1 * delay9(sine_ref);
/* Synchronise sine_ref with source voltage */
/**************************************************************************
Routine extension_pq_theorem()
**************************************************************************/
extension_pq_theorem()
{
vsource_adc = fir11(vsource_adc1);
iload_adc = fir12(iload_adc1);
ihpf_adc = fir13(ihpf_adc1);
vsource_adc_90deg = delay4(vsource_adc);
/* 90-degree phase shift of vsource_adc */
/**************************************************************************
Routine compensating_current_ref()
**************************************************************************/
compensating_current_ref()
{
sine_ref_90deg = delay8(sine_ref_syn);
/* 90-degree phase shift of sine_ref */
ic_ref1 = -1 * delay10(ic_ref2);
/* Phase delay compensation */
else
ic_ref = ic_ref1;
188
if (iselect == 0)
iref_out = sine_ref_syn;
else if (iselect == 1)
iref_out = ip_load;
else if (iselect == 2)
iref_out = iq_load;
else if (iselect == 3)
iref_out = ihpw_load;
else if (iselect == 4)
iref_out = iq_hpf;
else if (iselect == 5)
iref_out = ic_load;
else if (iselect == 6)
iref_out = ic_ref;
ds1104_dac_strobe();
/* Activate the previously written DAC values synchronously */
/**************************************************************************
Routine system_fault_protection()
**************************************************************************/
system_fault_protection()
{
else
{
ds1104_bit_io_clear(DS1104_DIO11); /* Sets I/O port 11 to '0' */
}
}
189
/**************************************************************************
Routine error_hook_function()
- is activated when an error message is generated
**************************************************************************/
int error_hook_function(msg_submodule_type sm, msg_no_type no)
{
/**************************************************************************
Interrupt service routine 0, isr_srt0()
- Hysteresis current controller
**************************************************************************/
isr_srt0()
{
else
{
ds1104_bit_io_set(mask_set); /* Remain I/O 5 and I/O 17 */
}
}
190
/**************************************************************************
Interrupt service routine 1, isr_srt1()
- Reference sinewave generation
- Compensation Current Reference and DC source Current estimation
**************************************************************************/
isr_srt1()
{
ts_timestamp_type ts; /* Time stamping function */
ds1104_adc_start(DS1104_ADC1|DS1104_ADC2|DS1104_ADC3|DS1104_ADC4);
/* Start Mux ADC & 12-bit's ADC simultaneously */
host_service(1, &ts);
/* Data acquisition service using time stamping */
/**************************************************************************
Main Program
**************************************************************************/
void main()
{
/* Variables Initialisation */
n1 = 0;
n2 = 0;
Pload = 1;
Qload = 1;
Qhpf = 1;
/* Message generation */
msg_info_set(MSG_SM_USER, 0, "System Started.");
/* Background service */
while(1)
{
RTLIB_BACKGROUND_SERVICE();
_floating_point_type(64,IEEE)
_integer_type(32)
exec_time0
{
type: flt (64,IEEE)
alias: "Execution Time 0"
flags: READONLY
}
endgroup
exec_time1
{
type: flt (64,IEEE)
alias: "Execution Time 1"
flags: READONLY
}
endgroup
vsource_adc flt
vs_rms flt
sine_ref flt
y1_a flt
endgroup
iload_adc flt
ihpf_adc flt
Pload flt
Pload_dc flt
Qload flt
Qload_dc flt
Qhpf flt
Qhpf_dc flt
endgroup
sine_ref_syn flt
sine_ref_90deg flt
ip_load flt
iq_load flt
194
ihpw_load flt
iq_hpf flt
ic_load flt
ic_ref flt
is_compensated flt
endgroup
icomp_adc flt
i_hysteresis flt
enable1 int
enable2 int
enable3 int
enable4 int
endgroup
vcap_adc flt
endgroup
ipv flt
ipv_ref flt
endgroup
iselect int
endgroup
endgroup
196
compensation current reference. Therefore, the instantaneous active power of nonlinear load
can be calculated as
p L (t ) = v PCC (t ) ⋅ iL (t )
= VPCC I L,1 cos(φ − θ1 ) − VPCC I L,1 cos(2ωt + φ + θ1 )
∞
+ ∑ 2V
n=2
PCC I L ,n sin (nωt + θ n )sin (ωt + φ)
= pL + ~ pL (4)
The instantaneous reactive power of nonlinear load can be
written as follows:
q L (t ) = v PCC
'
(t )⋅ iL (t )
= VPCC I L,1 sin (φ − θ1 ) − VPCC I L,1 sin (2ωt + φ + θ1 )
∞
− ∑ 2V
n=2
PCC I L ,n sin (nωt + θ n )sin (ωt + φ)
= q L + q~L (5)
The instantaneous reactive power of HPF can be calculated as
198
q hp (t ) = v PCC
'
(t ) ⋅ ihp (t ) By this way, i f is driven to follow the current reference i *f
( ) ( )
= VPCC I hp ,1 sin φ − 90o − VPCC I hp ,1 sin 2ωt + φ + 90 o within a fixed hysteresis band. The switching frequency
depends on how fast the current changes from the upper limit
= q hp + q~hp (6) to the lower limit and vice versa. Therefore, the switching
where p , q and p represent the constant part, p , q~
L L hp
~
L L frequency does not remain constant but varies with respect to
the current waveform.
and ~ '
php denote the variant component, and v PCC (t ) denotes
the PCC voltage shifted by 90o .
By obtaining the constant part in (4), (5) and (6), the
harmonics ( iL , p ), active ( iL , q ) and reactive ( iL , h )
components of nonlinear load current and the reactive ( ihp , q )
component of the passive HPF current can be readily
calculated as follows:
p
iL , p (t ) = 2 L u (t ) (7)
VPCC
iL , q (t ) = 2
qL
VPCC
(
u t − 90o ) (8) Fig. 3. Simplified equivalent circuit of main power circuit.
ihp , q (t ) = 2
qhp
VPCC
(
u t − 90o ) (10)
A ⎡⎛ s ⎞
2
1⎛ s ⎞ ⎤
H hp (s ) = ⋅ ⎢⎜⎜ ⎟⎟ + ⎜⎜ ⎟⎟ + 1⎥ (12)
⎛ s ⎞ ⎢⎝ ωo ⎠ Q ⎝ ωo ⎠ ⎥⎦
s⎜ + 1⎟ ⎣
⎜ ωp ⎟
⎝ ⎠
In (12),
1 1 Rhp C hp Fig. 6. Bode magnitude diagram of the transfer function H cs (s ) from the
A= , ωo = , ωp = , Q = Rhp source current to the nonlinear load current.
C Lhp C hp Lhp Lhp
where A is gain coefficient, ωo is series resonant frequency,
ω p is pole frequency, and Q is HPF quality factor. III. SIMULATION RESULTS
For the simulation purpose, the leakage impedance of the The proposed hybrid APF was simulated using MATLAB
transformer is regarded as the source impedance, Ls = Simulink program. The system parameters are shown in Table
I. In the simulation, a diode rectifier with a DC-link capacitor
0.573mH (2.5 percent, 2 kVA base). The passive HPF is tuned
C d and a smoothing inductor Lsmooth was used as a harmonic
1
to the resonant frequency of 1 kHz ( f o = =1 producing nonlinear load. The simulated source voltage and
2π Lhp C hp
current waveforms without compensation for load resistance
kHz). This resonant frequency value is chosen as the filtering RL of 125 Ω are shown in Fig. 7.
performance of the APF is impaired above this frequency. The
design parameters of the HPF are TABLE I
Lhp = 1.15 mH MATLAB SIMULINK SIMULATION PARAMETERS
(a)
(a)
(b)
(b)
Fig. 9. Simulated results with proposed scheme. (a) source voltage and (b)
source current waveforms.
(a)
(a)
(b)
Fig. 8. Simulated results with shunt APF. (a) source voltage and (b) source
current waveforms.
(b)
Fig. 10 shows the proposed system performance when the
load resistance changes stepwise from 250 Ω to 125 Ω at Fig. 10. Simulated results with the proposed scheme in a case of step load
time t = 0.6 s. The simulation results show that the proposed change. (a) source voltage and (b) source current.
system is able to keep the source current sinusoidal under this
transient condition.
During normal operation, as 300 W of PV arrays power is
processed by the hybrid APF at time t = 0.6 s, the
corresponding simulated source voltage and current
waveforms are presented in Fig. 11. The simulation results
show that the source current remains sinusoidal waveform and
201
TABLE II Advances in Power System Control, Operation and Management, vol. 2,
HARMONIC CURRENT COMPONENTS pp. 594-598, Nov. 1991.
[2] H. L. Jou, J. C. Wu, and H. Y. Chu, "New single-phase active power
Load Basic APF Proposed Scheme filter," in Proc. IEE Electronic Power Application, vol. 141, no. 3, pp.
n iL(n) / iL(1) is(n) / is(1) is(n) / is(1) 129-134, May 1994.
[%] [%] [%] [3] C. Y. Hsu, and H. –Y. Wu, "A new single-phase active power with
5 39.95 1.60 1.63 reduced energy storage capacitor," in Proc. IEE Electronic Power
7 13.40 1.55 0.07 Applications, vol. 143, no. 1, pp. 23-28, Jan. 1996.
11 6.31 1.26 0.61 [4] S. G. Jeong and M. H. Woo, "DSP-based active power filter with
13 3.51 0.91 0.69 predictive current control," IEEE Trans. Ind. Electron., vol. 44, pp. 329-
17 2.21 0.55 0.79 336, June 1997.
19 1.88 0.48 0.68 [5] S. Buso, L. Malesani, P. Mattavelli, and R. Veronese, "Design and fully
23 1.19 0.22 0.43 digital control of parallel active power filters for thyristor rectifiers to
25 1.14 0.14 0.32 comply with IEC-1000-3-2 standards," IEEE Trans. Ind. Applicat., vol.
29 0.82 0.22 0.06 34, pp. 508-517, May/June 1998.
31 0.70 0.26 0.03 [6] M. Routimo, M. Salo, and H. Tuusa, "A novel control method for
35 0.57 0.11 0.15 wideband harmonic compensation," in Proc. IEEE PEDS’03 Conf., vol.
37 0.47 0.02 0.15 1, Nov. 2003, pp. 799-804.
THD2 kHz 76.83 3.58 3.19 [7] S. Fukuda and T. Endoh, "Control method for a combined active power
THD20 kHz 4.39 3.21 filter system employing a current source converter and a high pass
filter," IEEE Trans. Ind. Applicat., vol. 31, no. 3, pp. 590-597, May-June
1995.
[8] T. –F. Wu, C. –L. Shen, C. H. Chang, and J. –Y. Chiu, "A 1 φ 3W grid-
connection PV power inverter with partial active power filter," in Proc.
IEEE PESC’02, vol. 3, June 2002, pp. 1512-1517.
[9] S. Kim, G. Yoo, and J. Song, "A bifunctional utility connected
photovoltaic system with power factor correction and U.P.S. facilify," in
Proc. of Photovoltaic Specialist Conf., May 1996, pp. 1363-1368.
[10] C. Lijun and A. V. Jouanne, "A comparison and assessment of hybrid
filter topologies and control algorithms," in Proc. IEEE PESC’01, vol. 2,
June 2001, pp. 565-570.
[11] Y. Komatsu and T. Kawabata, "Characteristics of three phase active
(a) power filter using extension pq theory," in Proc. of the IEEE Ind.
Electron. Conf., vol. 2, July 1997, pp. 302-307.
[12] Y. Komatsu and T. Kawabata, "A control method of active power filter
in unsymmetrical voltage system," in Proc. IEEE PEDS’97 Conf., vol. 2,
May 1997, pp. 839-843.
[13] H. Akagi, Y. Kanazawa, and A. Nabae, "Instantaneous reactive power
compensators comprising switching devices without energy storage
components," IEEE Trans. Ind. Applicat., vol. IA-20, no. 3, pp. 625-630,
May/June 1984.
[14] J. K. Phipps, "A Transfer function approach to harmonic filter design,"
IEEE Ind. Applicat. Mag., vol. 3, pp. 68-82, Mar./Apr. 1997.
(b)
Perng-Cheng Tan was born in Johor, Malaysia in
Fig. 11. Simulated results for the proposed scheme with 300 W active power 1980. He received the B.Sc. degree in electrical
generation from PV arrays. (a) source voltage and (b) source current. engineering from Universiti Technologi Malaysia
(UTM), Johor, Malaysia, in 2003. He is currently
pursuing the M.E.E. degree at the Department of
Energy Conversion, Faculty of Electrical
IV. CONCLUSION Engineering, UTM, Malaysia.
His research interests are the areas of active
A new single-phase two-wire hybrid APF configuration
power filters, power electronics, and renewable
that interconnects the hybrid APF with the PV system is energy.
presented. The proposed scheme combines the APF with the
passive filter to improve the filtering performance of high-
Zainal Salam was born in Seremban, Malaysia in
order harmonics. Furthermore, the proposed scheme can deal 1963. He received his secondary education from
with PV power. The derivation of compensation current Victoria Institution, Kuala Lumpur. He obtained his
reference is simpler and clearer with the utilization of B.Sc., M.E.E. and Ph.D. from the University of
California, UTM and University of Birmingham,
extension p-q theorem. The simulation results show the
UK, in 1985, 1989 and 1997, respectively.
effectiveness of the proposed scheme for wideband harmonics He has been a lecturer at UTM for 18 years and
compensation and PV power handling capability. is currently the Head Department of Energy
Conversion Department. He has been working in
several researches and consulting works with SIRIM
and GBT on battery powered converters.
V. REFERENCES His research interests include all areas of power electronics. Currently, he
[1] D. Sutanto, M. Bou-rabee, K. S. Tam, and C. S. Chang, "Harmonic is involved in several IRPA projects in the area of renewable energy, power
filters for industrial power systems," in Proc. IEE International Conf. on electronics and machine control. His hobby is traveling.
203
P. C. Tan, Student Member, IEEE, and Z. Salam, Member, IEEE and A. Jusoh
Power Electronics and Drives Group, Department of Energy Conversion, Faculty of Electrical Engineering,
Universiti Teknologi Malaysia,
81310 UTM Skudai, Johor Bahru, Malaysia.
perngcheng@ieee.org, zainals@fke.utm.my, awang@fke.utm.my
Abstract—This paper presents a single-phase two-wire hybrid The idea of hybrid APF has been proposed by several
active power filter that is used in conjunction with photovoltaic researchers [8]-[10]. In this scheme, a passive filter is used in
system. The uniqueness of proposed scheme is the fact that it addition to a conventional APF. The main purpose of the
improves the filtering performance of the conventional active passive filter is to improve the damping performance of high-
power filter, as well as simultaneously supplies the power from order harmonics.
the photovoltaic array to the load and distribution system. The
current commands derivation is based on the extension Recently, there is an increasing concern about the
instantaneous-reactive power theorem. The proposed scheme is environment pollution. The need to generate pollution-free
described in detail. It will primarily focus on the power circuit, energy has triggers considerable effort toward renewable
the compensation current reference derivation, and the passive source of energy [11]. Solar energy, in particular, is a
high-pass filter design. Experimental results obtained from a promising option. Efforts have been made to combine the APF
laboratory system that verifies the viability and effectiveness of with photovoltaic (PV) system [12]-[14]. However, it appears
the proposed scheme are presented. that no attempt has been made to combine a hybrid APF with
PV system.
Keywords-extension p-q theorem; hybrid active power filter;
photovoltaic; power electronics In this paper, a new variation of a hybrid APF is developed.
We propose a hybrid APF topology for a single-phase two-wire
I. INTRODUCTION system, connected to a PV array. The proposed topology is
unique because it effectively filters harmonics current less than
Due to the proliferation of nonlinear and switching loads 1 kHz and of higher frequency. Furthermore, it simultaneously
from power electronics converters, there is an increasing supplies the power from the PV array to the load and the
concern to control and reduce the harmonics current in distribution. The main contribution of this work is the
distribution power lines [1]. These types of loads draw application of the extension instantaneous-reactive power (p-q)
nonsinusoidal currents from the mains, causing power quality theorem to derive the compensation current reference for this
(PQ) problems. topology. Although the derivation of current reference based
The passive filtering is the simplest solution to mitigate the on extension p-q theorem is not new [13]-[15], this approach
harmonics problem. Although simple, the passive filter is large, has not yet being applied to a single-phase two-wire hybrid
heavy and bulky [2], [3]. The passive filter is known to cause APF system involving passive high-pass filter (HPF), APF and
resonance, thus affecting the stability of the power systems. As PV array. Using the extension p-q theorem, the resulting
the regulatory requirements become more stringent, the passive equations for the reference current of single-phase two-wire
filter might not meet future revisions of a particular Standard. system is simpler compared with the p-q theorem presented in
[16].
Remarkable progress in power electronics had spurred
interest in active power filter (APF) for harmonics mitigation. This paper will describe the proposed hybrid APF with PV
The basic principle of APF is to utilize power electronics system. It will primarily focus on the power circuit, the
technologies to produce harmonics current components that compensation current reference derivation, and the passive
cancel the harmonics current components from the nonlinear HPF design. Finally, the experimental results that verify the
loads. Previously, majority of the controllers developed for theoretical predictions of the proposed configuration will be
APF are based on analog circuits [4], [5]. As a result, the APF presented.
is inherently subjected to signal drift. Digital controller using
digital signal processor (DSP) or microprocessor is preferable, II. PRINCIPLE OF OPERATION
primarily due to its flexibility and immunity to noise [6], [7]. Fig. 1 presents the proposed hybrid APF with PV system
However it is known that using digital methods, the high order block diagram, connected in parallel with a nonlinear load. It
harmonics are not filtered effectively and the switching ripples consists of a passive HPF, a single-phase APF constructed
remain in the source current. This is due to the time and phase using a full-bridge voltage source inverter (VSI) and PV array.
delay in digital controller.
∞
i L (t ) = ∑ 2 I L,n sin (nωt + θ n ) . (1)
n =1
Figure 1. Configuration of the proposed hybrid APF with PV system.
(
i hp (t ) = 2 I hp,n sin ωt + 90 o . ) (3)
p L (t ) = v PCC (t ) ⋅ i L (t )
= pL + ~
pL . (4)
q L (t ) = v PCC
'
(t )⋅ i L (t )
= q L + q~L . (5)
Figure 2. Overall system configuration and control block diagram.
205
The instantaneous reactive power of HPF can be calculated as and Z s is the equivalent source impedance assumed to be a
simple inductor. In Fig. 3, the shunt APF is assumed to act as
an ideal current source which produces the compensation
q hp (t ) = v PCC
'
(t )⋅ i hp (t ) current that follows the current reference, while the nonlinear
load is considered as a harmonics current source.
= q hp + q~hp , (6) Since we are only interested in the system performance
with the harmonics components, we can neglect the source
where p L , q L and p hp represent the constant part, ~
p L , q~L voltage. This is because the source voltage is assumed to
contain only the fundamental frequency component.
and ~ '
p hp denote the variant component, and v PCC (t ) denotes A generalized transfer function approach to harmonic filter
the PCC voltage shifted by 90 o . design has been presented in [18]. This method is based on the
Laplace transform and superposition. In this work, the transfer
By obtaining the constant part in (4), (5) and (6), the active function approach to harmonic filter design is adopted for the
( i L, p ), reactive ( i L,q ) and harmonics ( i L,h ) components of passive HPF design. The HPF impedance transfer function
nonlinear load current and the reactive ( i hp ,q ) component of H hp (s ) can be derived in normalized form as
the passive HPF current can be readily calculated as follows:
⎡⎛ ⎞
2
⎞ ⎤
A s 1⎛ s
pL H hp (s ) = Z hp (s ) = ⋅ ⎢⎜⎜ ⎟ + ⎜ ⎟ + 1⎥ . (12)
i L, p (t ) = 2 u (t ) , (7) ⎛ s ⎞ ⎢⎝ ω o ⎟
⎠ Q ⎜⎝ ω o ⎟ ⎥
⎠ ⎦
V PCC s⎜ + 1⎟ ⎣
⎜ωp ⎟
⎝ ⎠
iL,q (t ) = 2
qL
VPCC
(
u t − 90o , ) (8) In (12),
where u (t ) is a unit vector in phase with the PCC voltage. The passive HPF is tuned to the resonant frequency of 1.28
1
Finally, the compensation current reference can be kHz ( f o = = 1.28 kHz). This resonant frequency
2π Lhp C hp
expressed as
value is chosen as the filtering performance of the APF is
impaired above this frequency.
PPV
i *f = i L,q + i L,h + i hp,q − I Cf ⋅ u (t ) + ⋅ u (t ) , (11) Depending on the value selected for the inductor bypass
VCf ,ref resistor R hp , many different transfer function characteristics
are possible. The inductor bypass resistor R hp is chosen based
where PPV is the active power of PV array, I Cf is the DC-
on the desired high-pass response and the series resonant
bus capacitor charging current, and VCf ,ref is DC-bus attenuation. The quality factors of 0.5 ≤ Q ≤ 2.0 are typical.
capacitor voltage reference.
Figure 3
B. Design of Passive High-Pass Filter
The second-order damped series resonant type HPF
topology is adopted in the proposed hybrid APF with PV
system. The HPF consists of a capacitor C hp , inductor Lhp
and an inductor bypass resistor R hp . Fig. 3 presents an
equivalent circuit of the proposed hybrid APF system for
harmonics, where Z hp is the equivalent impedance of HPF
Figure 3. Simplified model of the hybrid filter.
206
Higher Q factors allow more series resonant attenuation and III. EXPERIMENTAL RESULTS
less high-pass. By contrast, lower Q factors provide less series The proposed hybrid APF system was tested in the
resonant attenuation and greater high-pass response. Hence, the laboratory with a low-power experimental prototype. The
proper selection of Q is essentially required to satisfy the system parameters are shown in Table I. For the experimental
series resonant and high-pass response performances. In this system, the leakage impedance of the transformer is assumed to
work, the Q factor was selected as 0.69, considering the be the source impedance, L s = 0.76 mH. The passive HPF is
required high-pass response over a wide frequency band. tuned to the resonant frequency of 1.28 kHz. The design
parameters of the HPF are: Lhp = 1.76 mH, C hp = 8.8 µ F
After the hybrid APF with PV system is configured and
Z hp (s ) is known, the distribution system current to injected and R hp = 10 Ω . A diode rectifier with a DC-link capacitor
current transfer function H cds (s ) can be derived for the hybrid C d and a smoothing inductor L smooth was used as the load.
APF with PV system connected to the PCC as The control system was implemented using a dSPACE DS1104
DSP board.
i s ,h (s ) Z hp (s ) The source current waveform and its harmonics spectra
H cds (s ) = = . (13) without compensation are shown in Fig. 5. As can be seen, the
i h (s ) Z hp (s ) + Z s (s ) source current is highly distorted. Fig. 6 presents the source
current waveform with basic shunt APF. From the spectra, it
Transfer function (13) is important because it can be used to can be observed that for the basic APF the source current
assess the overall system performance. contains appreciable amount of high-order harmonics. The
harmonics are effectively filtered by the proposed scheme, as
A bode magnitude plot of H cds (s ) is shown in Fig. 4 depicted by Fig. 7. The total harmonic distortion calculated up
where it has one crest due to the parallel resonance between to 10 kHz (THD10 kHz) is reduced from 130 % to 36 % using the
L s + Lhp and C hp . In particular, the parallel resonance is a basic shunt APF. With the proposed scheme, the THD10 kHz is
problem, as it enlarges harmonics around the parallel resonant further reduced to 19 %.
1 Fig. 8 shows the performance of the proposed hybrid APF
frequency ( f r = = 1.07 kHz). This crest with a PV array during normal operation. Fig. 8(a) shows the
2π ( L s + Lhp )C hp
load current and compensated source current waveforms with
can be minimized by selecting the value of Q factor close to no active power generation from PV array. The active power is
0.7. For the plot shown in Fig. 4, the distribution system provided by the distribution line directly. Fig. 8(b) shows the
current to injected current transfer function H cds (s ) can be load current and compensated source current waveforms with
350 W active power generation from PV array. The
evaluated at low and high frequencies. For low frequencies, it
experimental results obtained show that the generated PV
has a 0 dB gain from 0 Hz to the parallel resonant frequency
power is provided to the load and distribution through the
f r . At f r the gain is determined by the selection of Q . For proposed hybrid APF system.
high frequencies, the roll-off of the high frequency components
above the parallel resonant frequency f r is -20 dB per decade.
TABLE I. EXPERIMENTAL SYSTEM PARAMETERS
Hence, the harmonics filtering is divided between the two
filters: the low-order harmonics are compensated using the Distribution Voltage Vu = 240 Vrms (50 Hz)
shunt APF, while the high-order harmonics are filtered by the Source Inductance Ls = 0.76 mH
passive HPF. Rectifier DC-link Capacitor Cd = 1000 µF
Figure 4. Bode magnitude diagram of the transfer function H cds (s ) for the
proposed hybrid APF system.
207
Figure 5(a) FigureFundamental
5(b)
is
(a) Scales: source current 2A/div, time 4ms/div. (b) Scales: spectra 100mA/div, frequency 1.25kHz/div.
Figure 5. Experimental
(a) results without compensation, (a) source current waveform and (b) source(b)
current spectra.
(a) Scales: source current 2A/div, time 4ms/div. (b) Scales: spectra 200mA/div, frequency 1.25kHz/div.
Figure 6. Experimental
(b) results with basic shunt APF, (a) source current waveform and (b) source(b)
current spectra.
(a) Scales: source current 2A/div, time 4ms/div. (b) Scales: spectra 200mA/div, frequency 1.25kHz/div.
Figure 7. Experimental
(a) results with proposed scheme, (a) source current waveform and (b) source(b)
current spectra.
is is
(a) Scales: load current 4A/div, source current 4A/div, time 4ms/div. (b) Scales: load current 4A/div, source current 4A/div, time 4ms/div.
Keywords: extension p-q theorem; hybrid active power filter; filters the remaining harmonics. The main purpose of this
passive high-pass filter; photovoltaic; power electronics. scheme is to improve the damping performance of high-order
harmonics and provide a cost-effective harmonic mitigation
Abstract approach [14].
Due to the proliferation of nonlinear and switching loads from Recently, there is an increasing concern about the
power electronics converters, there is an increasing concern to environment. The need to generate pollution-free energy has
control and reduce the harmonic currents in distribution triggers considerable effort toward renewable energy [2].
power lines. These types of loads draw nonsinusoidal currents Renewable energy such as sunlight, wind, flowing water and
from the mains, causing harmonic distortion. One of the biomass offer the promise of clean and abundant energy.
methods to reduce the problem is by using the power Solar energy, in particular, is especially an attractive option
electronics approach. This paper presents a single-phase because it does not generate any greenhouse gases and it is
hybrid active power filter connected to a photovoltaic array. inexhaustible. Efforts have been made to combine the APF
The uniqueness of the proposed scheme is the fact that it with photovoltaic (PV) array [10,12,16]. However, it appears
improves the filtering performance of the conventional shunt that no attempt has been made to combine a hybrid APF with
active power filter, as well as simultaneously supplies the PV array.
power from the photovoltaic array to the load. The
compensation current reference estimation is based on the In this paper, a new variation of a hybrid APF is developed.
extension instantaneous reactive-power theorem. We propose a hybrid APF topology for a single-phase system,
Experimental results obtained from a laboratory system that connected to a PV array. The proposed topology is unique
verifies the viability and effectiveness of the proposed scheme because it effectively filters harmonic currents less than 1
are presented. kHz and of higher frequency. Furthermore, it simultaneously
supplies the power from the PV array to the load and the
1 Introduction distribution source. The main contribution of this work is the
application of the extension instantaneous reactive-power
Remarkable progress in power electronics had spurred (p-q) theorem to estimate the compensation current reference
interest in active power filter (APF) for harmonic distortion for this topology. Although the compensation current
mitigation [1,3,5,7,8,9]. Digital controller using digital signal reference estimation based on extension p-q theorem is not
processor (DSP) or microprocessor is preferable for APF new [12,13,16], this approach has not yet being applied to a
application, primarily due to its flexibility and immunity to single-phase hybrid APF system involving passive HPF,
noise signals [1,3,8]. However, it is known that for digital shunt APF and PV array.
methods, the high order harmonics are not filtered effectively.
This is due to the hardware limitation of sampling rate in real- 2 Proposed system configuration
time application. Moreover, the utilisation of fast switching
transistors in APF application causes switching frequency Figure 1 shows the configuration of the proposed single-phase
noise appears in the compensated source current [4]. This hybrid APF topology, connected in parallel with the nonlinear
switching frequency noise required additional filtering to load being compensated. It consists of a passive HPF, a
prevent interference with other sensitive equipment. single-phase shunt APF constructed using a full-bridge
voltage source inverter (VSI) and a PV array. Subscript s, L, f
The idea of hybrid APF has been proposed by several and hp refer to source, load, shunt APF and passive HPF. The
researchers [6,11,14]. In this scheme, a low cost passive high- shunt APF and the PV array are connected back-to-back with
pass filter (HPF) is used in addition to the conventional APF. a DC-bus capacitor (Cf). The proposed hybrid APF is
The harmonic filtering task is divided between the two filters. connected with the distribution line at the point of common
The APF cancels the lower order harmonics, while the HPF coupling (PCC) through an interfacing inductor (Lf).
211
Distribution Source HPF. Since the aim in using the HPF is to improve the
voltage voltage filtering performance of high-order harmonics, the HPF can
vu Ls vs PCC Lsmooth Nonlinear load
2:1 be tuned to frequency where the filtering performance of the
is iL Cd RL shunt APF is impaired, i.e. close to 1 kHz. It is envisaged that
240 Vrms Rhp
this configuration is effective to improve the filtering
50Hz ihp performance of high-order harmonics. The passive HPF
Shunt APF PV array design for the proposed scheme is presented in [15].
Chp
Lhp S1 S3
if Lf +
Passive In the day-time with intensive sunlight, the proposed hybrid
HPF VCf Cf APF extracts power from the PV array, providing additional
S2 S4 _
PV current (iPV) to the load and distribution source. When the
distribution source need to provide the peak power to the
load, the energy provided by PV array can alleviate the
Figure 1: Configuration of the proposed hybrid APF burden of distribution source as illustrated in Figure 2. At
connected to a PV array. night and during no sunlight periods, the power required by
the load is delivered by the distribution source directly.
A second-order series resonant filter is selected as the passive
HPF in the proposed hybrid APF topology. It consists of a 4 The overall control system
capacitor (Chp), an inductor (Lhp) and an inductor bypass
resistor (Rhp). It acts like a sink for high-frequency harmonic Figure 3 shows the overall control system for the proposed
components. The power distribution system of interest is in scheme. The task of the control system is to produce
the form of a 240 Vrms, 50 Hz sinusoidal AC voltage (vu) appropriate gating signals for the switching transistors. It can
provided by the distribution source. An isolation transformer be found that the control system consists of an instantaneous
with turn ratio of 2:1 is used to scale down the distribution active/reactive power calculator (pL, qL & qhp calculator),
voltage. The leakage inductor of the isolation transformer is three low-pass filter (LPF), a compensation current estimator,
considered as the source inductor (Ls). a propotional-integral (PI) controller, a phase-lock loop (PLL)
and a fixed-band hysteresis current controller.
3 Operation principle
PPV
As illustrated by Figure 2, the operation principle of the DC-bus Voltage VCf,ref S1
VCf,ref Controller Hysteresis
S2
proposed hybrid APF is that it generates compensation _ +
IPV current
S3
ICf controller
current (if) equal and opposite in polarity to the reactive load VCf ∑ PI controller _ ∑ S4
current (iL,q), harmonic load current (iL,h) and reactive HPF + Gating
if,ref 2 signals
current (ihp,q). This compensation current is injected into the +
PCC through an interfacing inductor. The compensated + if,ref 1 if
iL,q + + if,ref
source current (is) is desired to be sinusoidal and in phase iL,h +
ihp,q _ _
with the source voltage (vs) to yield a maximum power factor. pL pL+ p~L
Compensation _ LPF _ ~ iL
qL q + qL p , q & q
current _ LPF _L L L hp ihp
is = iL,p + ihp,p - iPV iL = iL,p + iL,q + iL,h qhp qhp+ q~hp calculator
estimator LPF vs
-90o
cos(ωt)
is iL PLL
vs PCC Nonlinear load sin( ωt)
vu 2:1
DSP Based Implementation
240 Vrms
50Hz
Figure 3: Overall control system of the proposed hybrid APF.
The DC-bus voltage controller maintains the average voltage By obtaining the constant part in Equation (4), (5) and (6), the
across the DC-bus capacitor (VCf) constant against variations active (iL,p), reactive (iL,q) and harmonics (iL,h) components of
in distribution source. The DC voltage across the DC-bus load current and the reactive (ihp,q) component of the passive
capacitor is detected and compared with its reference voltage HPF current can be readily calculated as follows:
(VCf,ref). The compared result is processed by a PI controller to p
obtain the desired amplitude of the DC-bus capacitor charging iL , p (t ) = 2 L u (t ) , (7)
Vs
current (ICf). This charging current is then subtracted from the
PV current (IPV). The resulting current is then multiplied with
the reference sinewave (sin(ωt)) to form second component of qL
iL, q (t ) = 2 u (t − 90o ) , (8)
current reference signal (if,ref 2). In order to generate the Vs
compensation current (if) that follows the current reference
signal (if,ref), the fixed-band hysteresis current control method iL, h (t ) = iL (t ) − iL , p (t ) − iL, q (t ) , (9)
is adopted.
and
4.1 Compensation current reference estimation
qhp
ihp , q (t ) = 2 u (t − 90o ) , (10)
Compensation current reference estimation for the single- Vs
phase APF based on extension p-q theorem has been presented
in [16]. In this work, the application of the theorem is further
where u(t) is a unit vector in phase with the source voltage.
extended to a single-phase hybrid APF connected to a PV
array.
Finally, the compensation current reference can be expressed
as
For a single-phase system with nonlinear load, the load current
P
can be represented as i f , ref = iL, q + iL, h + ihp , q − I Cf ⋅ u (t ) + PV ⋅ u (t ) ,(11)
∞ VCf , ref
i L (t ) = ∑ 2 I L,n sin(nωt + θ n ) . (1)
n =1 where PPV is the active power of PV array, ICf is the DC-bus
capacitor charging current, and VCf,ref is DC-bus capacitor
Under normal circumstances, the source voltage can be voltage reference.
assumed to be a sinusoidal, i.e.,
v s (t ) = 2Vs sin(ωt + φ) . (2) 5 Experimental results
The proposed hybrid APF connected to a PV array was tested
The HPF current can be represented as in the laboratory with a low-power experimental prototype as
ihp (t ) = 2 I hp sin(ωt + 90 ° ) . (3) shown in Figure 4. The VSI was built using 1200 V, 25 A
IGBTs. The control system was implemented using a
Therefore, the instantaneous active load power can be dSPACE DS1104 DSP board. For the experimental system,
calculated as the leakage impedance of the transformer is assumed to be the
p L (t ) = vs (t ) ⋅ iL (t ) source impedance (Ls = 0.76 mH). The passive HPF is tuned
to the resonant frequency of 1.28 kHz. The design parameters
of the HPF are: Lhp = 1.76 mH, Chp = 8.8 µF and Rhp = 10 Ω.
= pL + ~
pL . (4) A full-bridge diode rectifier with DC smoothing capacitor
(Cd), resistive load (RL) and AC smoothing inductor (Lsmooth)
The instantaneous reactive load power can be written as was used as the nonlinear load. Other prototype parameters
q L (t ) = vs' (t ) ⋅ iL (t ) are shown in Table 1.
= q L + q~L .
Distribution Voltage Vu = 240 Vrms (50 Hz)
(5)
Rectifier DC-link Capacitor Cd = 1000 µF
Rectifier Smoothing Inductor Lsmooth = 1.15 mH
The instantaneous reactive HPF power can be calculated as
Maximum Switching Frequency fsw,max = 10 kHz
qhp (t ) = vs' (t ) ⋅ ihp (t )
Hysteresis Current Control Band H = 1.0 Apeak-to-peak
APF Inductor Lf = 10.0 mH
= qhp + q~hp . (6)
APF DC-bus Capacitor Cf = 990 µF
DC-bus Capacitor Voltage Reference VCf,ref = 250 Vdc
where pL , qL and php represent the constant part, ~ pL , q~L Load Resistor RL = 250 Ω
and ~
php denote the variant component, and v s' (t ) denotes the
Table 1: Experimental prototype parameters.
source voltage shifted by 90˚.
213
4 is
2
5 3
7
(a) Scales: source current 1 A/div, time 4 ms/div
8
Fundamental
Fundamental
Fundamental
(b) Scales: spectra 200 mA/div, frequency 1.25 kHz/div