Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
By
(12623114)
TITLE: Analysis and simulation of a three-phase shunt active power filter with PQ theory control
technique
ABSTRACT
This project investigates the analysis and simulation of a shunt active power filter. The shunt active
power filter provides current harmonic compensation for a nonlinear load on a single bus network.
Current harmonic compensation is achieved by implementation of a PQ theory controller, which
monitors the load current and injects equal amplitude and opposite phase compensation currents to
neutralise load current harmonics. This ensures the source current remains fundamental. The project
simulated results showed that a shunt active power filter is suited for use in current harmonic
compensation on any bus on a power system network.
TECHNICAL REPORT
REPORT
EXAMINER CO-EXAMINER
Synopsis
This project investigates the analysis and simulation of a shunt active power filter.
The shunt active power filter provides current harmonic compensation for a
injects equal amplitude and opposite phase compensation currents to neutralise load
current harmonics. This ensures the source current remains fundamental. The project
simulated results showed that a shunt active power filter is suited for use in current
Matthew Lee
7 Scott Road
WANNEROO WA 6065
I, Matthew Lee, hereby submit this thesis entitled “Analysis and Simulation of a
Three Phase Shunt Active filter using PQ Theory Control Technique” as partial
fulfillment for the degree of Bachelor of Engineering (Electrical Engineering).
Yours sincerely,
Matthew Lee
12623114
Acknowledgements
I would like to acknowledge and thank Dr Mohammad A.S Masoum for his role as
information throughout this project. Though the project did not always go to plan, Dr
Masoum was always able to suggest alternative methods for various parts of the
project, and contributed greatly to the success of both the thesis and project
presentation.
I would also like to acknowledge Mr Rob Thornton of EnergySafety for his countless
I would also like to acknowledge Mr. Douglas Bonsu for giving up many of his
I would also like to acknowledge Miss Miriam Hamilton for her many hours spent
i
Table of Contents
Acknowledgements................................................................................................................................ i
List of Figures...................................................................................................................................... vi
CHAPTER 1 ......................................................................................................................................... 1
1.0 INTRODUCTION.......................................................................................................................... 1
1.1 The need for harmonic compensation.......................................................................................................... 1
1.2 Objective and aims ...................................................................................................................................... 2
1.3 Overview of project ..................................................................................................................................... 3
CHAPTER 2 ......................................................................................................................................... 5
CHAPTER 3 ....................................................................................................................................... 12
ii
3.5.1 Reactive power compensation ......................................................................................... 23
3.5.2 Harmonic compensation .................................................................................................. 24
3.5.2.1 Compensation of voltage harmonics................................................................... 24
3.5.2.2 Compensation of current harmonics ................................................................... 24
3.5.3 Balancing of three phase systems .................................................................................... 25
3.5.3.1 Balancing of mains voltage in three phase systems ............................................ 25
3.5.3.2 Balancing of mains current in three phase systems............................................. 25
3.5.4 Multiple compensation..................................................................................................... 26
3.5.4.1 Harmonic current with reactive power compensation......................................... 26
3.5.4.2 Harmonic voltages with reactive power compensation....................................... 26
3.5.4.3 Harmonic current and voltages ........................................................................... 26
3.5.4.4 Harmonic current and voltages with reactive power compensation.................... 27
3.6 Classification based upon control technique............................................................................................. 28
3.6.1 Open loop systems ........................................................................................................... 28
3.6.2 Closed loop systems......................................................................................................... 28
3.6.2.1 Constant capacitor voltage technique.................................................................. 29
3.6.2.2 Constant inductor current technique ................................................................... 29
3.6.2.3 Optimisation technique ....................................................................................... 29
3.6.2.4 Linear voltage control technique......................................................................... 30
3.6.2.5 Other techniques ................................................................................................. 30
3.7 Active filters harmonic detection and extraction ....................................................................................... 31
3.7.1 Types of harmonic detection strategies............................................................................ 31
3.7.1.1 Load current sensing ........................................................................................... 31
3.7.1.2 Source current sensing ........................................................................................ 32
3.7.1.3 Point of Common Coupling (PCC) voltage sensing ........................................... 32
3.8 Classification based upon current/voltage reference estimation technique .............................................. 34
3.8.1 Current/voltage reference synthesis (continuous time-domain)....................................... 34
3.8.1.1 High pass filter method....................................................................................... 34
3.8.1.2 Low pass filter method........................................................................................ 35
3.8.2 Current/voltage reference calculation (discrete time or frequency domain) .................... 35
3.8.2.1 Time domain approaches .................................................................................... 35
3.8.2.1.1 Instantaneous reactive power algorithm ............................................... 36
3.8.2.1.2 Synchronous detection algorithm ......................................................... 37
3.8.2.1.3 Constant active power algorithm .......................................................... 37
3.8.2.1.4 Constant power factor algorithm .......................................................... 37
3.8.2.1.5 Fictitious power compensation algorithm............................................. 37
3.8.2.1.6 Synchronous frame based algorithm..................................................... 38
3.8.2.1.7 Synchronous flux detection algorithm .................................................. 38
3.8.2.2 Frequency domain approaches............................................................................ 38
3.8.2.2.1 Conventional Fourier and FFT algorithms ........................................... 39
3.8.2.2.2 Sine multiplication technique ............................................................... 39
3.8.2.2.3 Modified Fourier series techniques....................................................... 39
3.8.2.3 Other algorithms ................................................................................................. 40
CHAPTER 4 ....................................................................................................................................... 41
iii
4.3 Critical component operation.................................................................................................................... 42
4.3.1 DC voltage regulator........................................................................................................ 42
4.3.2 Active Filter Controller.................................................................................................... 44
4.3.2.1 Positive-sequence voltage detector ..................................................................... 44
4.3.2.2 The PQ Theory.................................................................................................... 47
4.3.3 Dynamic hysteresis band PWM controller....................................................................... 50
4.3.4 Other components ............................................................................................................ 53
CHAPTER 5 ....................................................................................................................................... 54
CHAPTER 6 ....................................................................................................................................... 69
CHAPTER 7 ....................................................................................................................................... 78
7.0 CONCLUSION............................................................................................................................. 78
7.1 Discussion.................................................................................................................................................. 78
7.2 Future Implications ................................................................................................................................... 79
CHAPTER 8 ....................................................................................................................................... 80
APPENDICES .................................................................................................................................... 81
Appendix A – Gantt Chart ............................................................................................................................... 82
iv
Appendix B – Filter combinations ................................................................................................................... 84
Appendix C – Summary and Comparison of Filters ........................................................................................ 87
Appendix D – Shunt Active Filter System ........................................................................................................ 89
Appendix E – PQ Theory Controller ............................................................................................................... 90
Appendix F – DC Voltage Regulator MATLAB Code ..................................................................................... 91
Appendix G – Dynamic Hysteresis PWM Current Controller MATLAB Code................................................ 92
v
List of Figures
Figure 3.1 Generalized block diagram for active power filters [2] ..................................................... 13
Figure 3.2 Subdivisions of active filters according to speed response and power rating [2] .............. 14
Figure 3.3 Subdivision of power system filters according to power circuit configurations
and connections [2]............................................................................................................. 17
Figure 3.4 Shunt active filter used alone [4] ....................................................................................... 18
Figure 3.5 Shunt active filter network configuration [2] ..................................................................... 18
Figure 3.6 Series active filter configuration [2] .................................................................................. 19
Figure 3.7 Series active filter used alone [4]....................................................................................... 19
Figure 3.8 Combination of shunt and series active filters [2] ............................................................. 20
Figure 3.9 Series active and shunt filter combination [2] ................................................................... 20
Figure 3.10 Shunt active and shunt passive filter combination [2] ..................................................... 21
Figure 3.11 Active filter in series with shunt passive filter combination [2] ....................................... 22
Figure 3.12 Subdivision according to compensated variables [2]....................................................... 23
Figure 3.13 Classification of active power filters according to control techniques [2] ...................... 28
Figure 3.14 Load current sensing compensation schematic [7] .......................................................... 32
Figure 3.15 Source current sensing compensation schematic [7] ....................................................... 32
Figure 3.16 PCC voltage sensing compensation schematic [7]........................................................... 33
Figure 3.17 Subdivision according to current/voltage estimation techniques [2] ............................... 34
Figure 3.18 Calculations for the constant instantaneous supply power control strategy [8] .............. 36
Figure 4.1 DC voltage regulator schematic[6].................................................................................... 43
Figure 4.2 Block diagram of the fundamental positive sequence voltage detector [6] ........................ 47
Figure 4.3 Power components of the p-q theory in alpha-beta-0 coordinates [10]............................. 49
Figure 4.4 PQ theory control [6]......................................................................................................... 50
Figure 4.5 Hysteresis controller [6] .................................................................................................... 51
Figure 4.6 Hysteresis band PWM control [11].................................................................................... 52
Figure 5.1 Simulated DC voltage regulator circuit ............................................................................. 55
Figure 5.2 DC voltage regulator limit function ................................................................................... 55
Figure 5.3 Positive voltage sequence detector model .......................................................................... 56
Figure 5.4 PLL and sine generator ...................................................................................................... 57
Figure 5.5 Synchronising PLL circuit [12].......................................................................................... 57
Figure 5.6 Waveforms of Iα, Iβ and load current distortion ................................................................. 58
Figure 5.7 Total PQ theory model ....................................................................................................... 59
Figure 5.8 Power calculation............................................................................................................... 60
Figure 5.9 Clarke transformation ........................................................................................................ 60
Figure 5.10 Vα, Vβ to PQ controller ..................................................................................................... 60
Figure 5.11 Input harmonic load current............................................................................................. 61
Figure 5.12 Power waveform............................................................................................................... 61
vi
Figure 5.13 α-β current reference calculations ................................................................................... 62
Figure 5.14 Reference alpha-beta current ........................................................................................... 62
Figure 5.15 Alpha-Beta-0 to phase current compensation .................................................................. 63
Figure 5.16 Three phase compensation current................................................................................... 63
Figure 5.17 IEEE transaction paper comparisons – compensation currents [6] ................................ 64
Figure 5.18 Top stage view .................................................................................................................. 65
Figure 5.19 Hysteresis control model .................................................................................................. 66
Figure 5.20 Shunt inverter ................................................................................................................... 67
Figure 5.21 Shunt system ..................................................................................................................... 68
Figure 6.1 Three phase 6 pulse current source converter .................................................................. 69
Figure 6.2 Output current waveform ................................................................................................... 70
Figure 6.3 THD before active filter...................................................................................................... 70
Figure 6.4 THD reduction after active filter ........................................................................................ 71
Figure 6.5 Source current waveforms before compensation................................................................ 72
Figure 6.6 Source current waveforms after compensation .................................................................. 72
Figure 6.7 Single phase diode rectifier ................................................................................................ 73
Figure 6.8 Single phase diode rectifier output voltage and current..................................................... 73
Figure 6.9 Uncompensated THD system.............................................................................................. 74
Figure 6.10 Compensated THD system................................................................................................ 74
Figure 6.11 Uncompensated phase source current.............................................................................. 75
Figure 6.12 Diode rectifier compensated waveform ............................................................................ 75
Figure 6.13 Computed source and current waveforms [6] .................................................................. 76
Figure A.1 Gantt chart......................................................................................................................... 82
Figure A.2 Gantt chart (continued)...................................................................................................... 83
Figure B.1 Basic parallel-passive filter for current-source nonlinear loads. ...................................... 84
Figure B.2 Basic series-passive filter for voltage-source nonlinear loads. ......................................... 84
Figure B.3 Basic parallel-active filter for current-source nonlinear loads. ........................................ 84
Figure B.4 Basic series-active filter for voltage-source nonlinear loads............................................. 84
Figure B.5 Parallel combination of parallel-active and parallel-passive filters for current-
source nonlinear loads. ....................................................................................................... 84
Figure B.6 Series combination of series-active and series-passive filters for voltage-source
nonlinear loads.................................................................................................................... 84
Figure B.7 Hybrid of series-active and parallel-passive filters for current-source nonlinear
loads .................................................................................................................................... 84
Figure B.8 Hybrid of parallel-active and series-passive filters for voltage-source nonlinear
loads .................................................................................................................................... 84
Figure B.9 Series combination of parallel-passive and parallel-active filters for current-
source nonlinear loads ........................................................................................................ 84
Figure B.10 Parallel combination of series-passive and series-active filters for voltage-
source nonlinear loads. ....................................................................................................... 85
Figure B.11 Combined system of series-active and parallel-active filters for current-source
nonlinear loads.................................................................................................................... 85
vii
Figure B.12 Combined system of series-active and parallel-active filters for voltage-source
nonlinear loads.................................................................................................................... 85
Figure B.13 Combined system of series-passive and parallel-passive filters for current-
source nonlinear loads. ....................................................................................................... 85
Figure B.14 Combined system of parallel-passive and series-passive filters for voltage-
source nonlinear loads. ....................................................................................................... 85
Figure B.15 Circuit I to reduce fundamental voltage of parallel-active filter. .................................... 85
Figure B.16 Circuit I to reduce fundamental current of series-active filter......................................... 85
Figure B.17 Circuit II to reduce fundamental voltage of parallel-active filter. ................................... 85
Figure B.18 Circuit II to reduce fundamental current of series-active filter. ...................................... 85
Figure B.19 Circuit III to reduce fundamental voltage of parallel-active filter................................... 86
Figure B.20 Circuit III to reduce fundamental current of series-active filter. ..................................... 86
Figure B.21 Circuit IV to reduce fundamental voltage of parallel-active filter................................... 86
Figure B.22 Circuit IV to reduce fundamental current of series-active filter. ..................................... 86
Figure D.1 Shunt active filter system ................................................................................................... 89
Figure E.1 PQ theory controller .......................................................................................................... 90
viii
List of Tables
Table 4.1 Variation conditions for the capacitor voltage Vc1 and Vc2................................................. 42
Table C.1A Comparison of filters ........................................................................................................ 87
Table C.1A (continued) Comparison of filters ..................................................................................... 88
ix
CHAPTER 1
1.0 INTRODUCTION
The implementation of Active Filters in this modern electronic age has become an
technology since the early eighties and significant trends of power electronic devices
quality and reliable supply. Power electronic devices such as computers, printers,
faxes, fluorescent lighting and most other office equipment all create harmonics.
Nonlinear loads create harmonics by drawing current in abrupt short pulses rather
Hz. Harmonics of frequencies above this value that are created at the load end must be
supplied from the generator. The major issues associated with the supply of
harmonics to nonlinear loads are severe overheating and insulation damage. Increased
of its windings. If this heating were continued to the point at which the insulation
fails, a flashover may occur should it be combined with leakage current from its
conductors. This would permanently damage the device and result in loss of
1
One solution to this foreseeable problem is to install active filters for each nonlinear
load in the power system network. Although presently very uneconomical, the
installation of active filters proves indispensable for solving power quality problems
phase sequence current compensation. Ultimately, this would ensure a polluted free
The objective of this project is to thoroughly analyse and simulate a shunt active
power filter. In doing so, the accuracy of current compensation for current harmonics
found at a nonlinear load, for the PQ theory control technique is supported and also
substantiates the reliability and effectiveness of this model for integration into a
power system network. The model is implemented across a two bus network
The aim of the system simulation is to verify the active filters effectiveness for a
variety of different nonlinear load cases. These are a six pulse thyristor current
converter and a three phase diode bridge rectifier with RL load. In each scenario, total
One of the most important features of the shunt active filter system proposed is its
2
sequence voltage detector from within the active filter controller is the key component
of the system. The positive sequence voltage detector gives incredible versatility to
the application of the active filter, because it can be installed and compensate for load
current harmonics even when the input voltage is highly distorted and unbalanced.
When filters alike do not contain this feature and is installed with a distorted voltage
input, the outcome is a low efficient current harmonic compensator with poor
Chapter 2 introduces the concept of harmonic filtering and the key approaches
power rating, speed of response, power circuit, the compensated variable, the control
Chapter 4 describes the shunt three phase active filter model configuration. The
reasoning behind major key components of the model are thoroughly argued
discussed.
3
Chapter 5 implements the simulation of the shunt three phase active filter
Chapter 6 provides the model verification of the shunt active filter in the form of two
case study scenarios. Each case study is investigated and an output of the results are
justified.
Chapter 7 concluded the thesis and provides suggestions for future scope of work.
4
CHAPTER 2
Harmonic filters are used to eliminate the harmonic distortion caused by nonlinear
eliminate the potentially dangerous effects of harmonic currents active within the
power distribution system. Filters can be designed to trap these currents and, through
the use of a series of capacitors, coils, and resistors, shunt them to ground. A filter
Filters are often the most common solution that is used to mitigate harmonics from a
power system. Unlike other solutions, filters offer a simpler inexpensive alternative
with high benefits. There are three different types of filters each offering their own
unique solution to reduce and eliminate harmonics. These harmonic filters are
broadly classified into passive, active and hybrid structures. The choice of filter used
is dependent upon the nature of the problem and the economic cost associated with
implementation.
and resistors thus not requiring any operational amplifiers. Passive filters are
inexpensive compared with most other mitigating devices. Its structure may be either
of the series or parallel type. The structure chosen for implementation depends on the
type of harmonic source present. Internally, they cause the harmonic current to
5
resonate at its frequency. Through this approach, the harmonic currents are
attenuated in the LC circuits tuned to the harmonic orders requiring filtering. This
prevents the severe harmonic currents traveling upstream to the power source
An active filter is implemented when orders of harmonic currents are varying. One
case evident of demanding varying harmonics from the power system are variable
speed drives. Its structure may be either of the series of parallel type. The structure
chosen for implementation depends on the type of harmonic sources present in the
power system and the effects that different filter solutions would cause to the overall
to inject negative harmonics into the network effectively replacing a portion of the
distorted current wave coming from the load. This is achieved by producing
harmonic components of equal amplitude but opposite phase shift, which cancel the
Hybrid filters combine an active filter and a passive filter. Its structure may be either
of the series or parallel type. The passive filter carries out basic filtering (5th order,
for example) and the active filter, through precise control, covers higher harmonics.
6
2.3 Classification of harmonic filters by system configuration
There are many filter configurations which can be designed to eliminate troublesome
their effects on the power system has lead to the derivation of 22 filter configurations
as shown in figures B.1 through to B.22. Figures B.1, B.3, B.5, B.7, B.9, B.15, B.17,
B.19 and B.21 are recognised configurations and figures B.2, B.4 and B.11 are
unfamiliar. Figures B.6, B.8, B.10, B.12, B.13, B.14, B.16, B.18, B.20 and B.22 are
novel and newly presented by [1]. Figures B.1, B.3, B.5, B.7, B.9, B.11, B.13, B.15,
B.17, B.19 and B.21 are dual to figures B.2, B.4, B.6, B.8, B.10, B.12, B.14, B.16,
B.18, B.20 and B.22 respectively. The filter configurations are in either parallel or
series however, the components used to achieve this are the same. This is due to the
two types of harmonic sources namely, current type and voltage type sources. It is
evident that other combinations based on these 22 basic configurations are possible.
For example, figures B.9 and B.10 can be modified using the dominant harmonic
The configuration shown in figure B.1 is that of a parallel passive filter (PPF). The
frequency. The filter is designed to provide a high impedance block at the load or
harmonic current source. This high impedance path effectively blocks currents of the
tuned harmonic order, thus acting as a harmonic current sink. The ultimate circuit of
the PPF is a capacitor. The configuration shown in figure B.2 is that of a series
passive filter (SPF). Unlike the PPF, the SPF acts like a current harmonic dam
providing high impedance blocks to the harmonic voltages of a specific order which
7
filters are connected in series of which each LC component is tuned for the
respective 5th, 7th and 11th harmonic orders. The three resonant circuits provide a high
impedance path specifically designed to block the 5th, 7th and 11th harmonic orders
Figure B.3 shows the basic configuration of a parallel active filter (PAF). This filter
injects and supplies to the nonlinear load, harmonic currents of the same amplitude
but opposite phase shift. This effectively is designed to cancel the load harmonic
current. Thus, this filter acts like a harmonic current source. Figure B.4 shows the
basic configuration of a series active filter (SAF). Unlike the configuration in figure
B.3, this filter is connected in series and injects and supplies to the nonlinear voltage
source, harmonic voltage of the same amplitude but of opposite phase. This filter acts
like a harmonic voltage source to block harmonic current flow. The inverter used for
the PAF and SAF can be either a voltage source or current source inverter. In figures,
B.3-B.4, a voltage source inverter was used and this is evident by the energy storing
A parallel and series combination of a PAF and PPF is shown in figures B.5 and B.6,
loads and the series combination is well-matched with voltage source nonlinear loads
as discussed previously. Due to the limited switching frequency and rating of the
active inverter, the PAF is better suited for the compensation of low order harmonics
such as the 5th and 7th. The PPF on the other hand is better equipped and compact to
handle the upper order harmonics such as the 11th. The combination of the two filters
provides excellent role sharing and be used in applications where a number of lower
8
Figure B.7 shows a hybrid system of a small SAF and a PPF for current-source
nonlinear loads. The small SAF is used to eliminate the PPF’s problems, such as
performance. The PPF sinks the load-harmonic current. Figure B.8 and B.7 are dual
circuits, where the hybrid system of a PAF and a SPF is designed for voltage-source
nonlinear loads. Contrary to figure B.7, the SPF in figure B.8 blocks harmonic
current and the PAF can be used to enhance the SPF’s performance and eliminate the
Figure B.9 shows a unique configuration whereby the rating of the PAF can be
reduced. This figure shows the series combination of a PPF and PAF. The PAF as
usual, injects harmonic current to the load to cancel out the load harmonics. In
addition, the PAF also provides fundamental current. This reduces the size of the VA
rating of the PAF and still provides excellent performance, as does a PAF. Figure
B.10 is the dual circuit of figure B.9 and shows a parallel combination of a SPF and
SAF. Similarly, the VA rating of the SAF can be reduced by letting fundamental
Figure B.11 shows a perfect model for true filter elimination for current source
nonlinear loads. This configuration includes all active components and therefore is
designed to eliminate all harmonic content rather than simply providing attenuation.
The PAF as usual, supplies harmonic current to the nonlinear load of equal amplitude
but opposite phase to cancel the load harmonic current. The SAF also blocks any
harmonic current from flowing through the line. In providing total elimination of
9
harmonic current, this configuration also ensures a pure sinusoidal and constant
voltage to the load. Figure B.12 is the dual circuit of figure B.11. This configuration
is ideal for voltage type harmonic loads. This system blocks harmonic current and
provides a pure sinusoidal voltage to all loads connected. Figure B.13 and B.14 show
the respective combination of passive filters for harmonic current-source loads and
Active filters are expensive and have difficulties with high power application,
rating. Figures B.15 through B.22 shows examples of how to reduce fundamental
voltage across the PAF and fundamental current through the SAF. For example, in
figure B.15 the C and L form a voltage divider to reduce fundamental voltage across
the PAF. The fundamental voltage across the PAF is determined by impedance ratio
of C and L. Figure B.16 shows the dual circuit of figure B.15, where C and L form a
impedance ratio and reduce the fundamental voltage further. On the contrary, figure
B.18 uses an LC series resonating at the line frequency, thus further reducing the
SAF’s fundamental current. In figures B.19 and B.21, fundamental voltages across
the PAF can be reduced to zero by controlling the PAF’s injected fundamental
current. Similarly, in figures B.20 and B.22, fundamental current through the SAF
can be reduced to zero by controlling the SAF’s produced fundamental voltage [1].
10
2.5 Advantages/Disadvantages of each filter for application choice
Shunt passive filters have been widely used because of their low cost and low loss.
This is because the components are common but also because no active elements are
required. The performances of the filters are very sensitive to the power system
impedance and series or parallel resonance with the power system impedance may
occur. Also, the effective compensation with the variation of the voltage can not be
The performance of parallel active power filters (APF) does not depend on the power
system impedance, and dynamic compensation of harmonic and reactive power can
becomes very large because it must withstand the line-frequency utility voltage.
Associated with the large VA converter rating are high cost, high electro-magnetic
11
CHAPTER 3
3.0 ACTIVE FILTERS RECOMMENDED STRATEGY
3.1 Introduction
Active Filters are commonly used for providing harmonic compensation to a system
distribution level or for reactive power or voltage control at high voltage distribution
level [2]. These functions may be combined in a single circuit to achieve the various
functions mentioned above or in separate active filters which can attack each aspect
individually. The block diagram presented in section 3.2 shows the basic sequence of
operation for the active filter. This diagram shows various sections of the filter each
The block diagram shown in figure 3.1 represents the key components of a typical
active power filter along with their interconnections. The reference signal estimator
monitors the harmonic current from the nonlinear load along with information about
other system variables. The reference signal from the current estimator, as well as
other signals, drives the overall system controller. This in turn provides the control
for the PWM switching pattern generator. The output of the PWM pattern generator
controls the power circuit through a suitable interface. The power circuit in the
12
Figure 3.1 Generalized block diagram for active power filters [2]
Active power filters according to [2] can be classified based on the following criteria:
system
The block diagram shown in figure 3.2 shows the classification based on this
criterion. The size of nonlinear loads play a major role in deciding the way different
control methods are implemented. The filter required for compensation must be
practical for the load and this decision affects the speed of response. In general a
reciprocal relationship exists between the cost of a particular system to the required
13
Figure 3.2 Subdivisions of active filters according to speed response and power rating [2]
commercial buildings, hospitals and for a wide range of medium sized factory loads
and motor drive systems. Active filters chosen for this power range employ
sophisticated techniques catering with high pulse number PWM voltage or current
source inverters. The response time for smaller applications is relatively much faster
than other sizes ranging from ten microseconds to ten milliseconds. This type
Low power rating loads generally require single phase active filters [3]. They are
This application means that current harmonics can be treated at the point of common
coupling (PCC). It is often economical and practical to install single phase active
filters on distribution based sites of reduced size capacity than a larger rated filter
installed upstream. This is due to the large number of the single-phase loads within
14
one building and the harmful consequences associated with the presence of large
amounts of harmonic in the neutral line. This allows for more selective compensation
as the operating conditions vary. Due to the load capacity drawn from residential
loads, it is rare for a high concentration of harmonics, and thus the impacts on the
neutral lines are not significant. Residential customers tend not invest in purchasing
active filters because there are no compulsory harmonic regulations however, the
increased moving to improved performance since only low ratings are employed [2].
filter configurations can be tested and installed based upon whether the loads are
reconfigured to compensate for three individual single phases in one unit or for a
single three-phase supply. When nonlinear loads are balanced, meaning all three
employed [4]. This choice of inverter is used when the objective is to eliminate as
many current harmonics as possible, assuming that the magnitudes and respective
phase angles in each phase are the same. In the situation when nonlinear loads are
application. Due to the fact that phase unbalances are reduced on this sized system,
15
inductive static compensators, line-commutated thyristor converters, synchronous
economic as reactive power compensation using active filters often is not viable.
This is due to the high voltage as well as problems with isolation and series/parallel
connection of switches. The speed of response expected in this range is of the order
because of the lack of high switching frequency power devices that can control the
current flow. Thus, this is a major disadvantage for such systems. In addition, even
the latest advances in semiconductor technology still fall short as extra high voltages
pollution upstream affecting high power ranges above 10MVA is not such a problem
compared against low power systems. The implementation of single and three phase
filters downstream at the low voltage system provides suitable compensation such
compensation is then the major concern and is usually compensated for by using
compensators. The required response time for such cases is in the range of tens of
seconds, which is sufficient for contactors and circuit breakers to operate after taking
the optimal-switching decision. Power fluctuations in the range of a few seconds are,
on the other hand, treated by the generating stations' ancillary devices. [2]
16
3.4 Classification according to power circuit, configurations and connections
The choice of power circuit chosen for the active filter greatly influences its
the correct circuit configuration is chosen. Figure 3.3 classes’ three major types of
Figure 3.3 Subdivision of power system filters according to power circuit configurations and
connections [2]
most industrial processes. Figures 3.4-3.5 show the system configuration of the shunt
design. The active filter is connected in parallel at the PCC and is fed from the main
power circuit. The objective of the shunt active filter is to supply opposing harmonic
current to the nonlinear load effectively resulting in a net harmonic current. This
means that the supply signals remain purely fundamental. Shunt filters also have the
three-phase currents. Since the active filter is connected in parallel to the PCC, only
carried in the unit. For an increased range of power ratings, several shunt active
17
switched-capacitor circuits, lattice-structured filters and voltage-regulator-type
filters[2].
waveform across the load. This is achieved by producing a PWM voltage waveform
which is added or subtracted against the supply voltage waveform. The choice of
power circuit used in most cases is the voltage-fed PWM inverter without a current
minor loop. The active filter acts as a voltage source and thus it is often a preferred
solution of harmonic producing loads such as large capacity diode rectifiers with
capacitive loads. In general, series active filters are less commonly used against the
shunt design. Unlike the shunt filter which carries mainly compensation current, the
series circuit has to handle high load currents. This causes an increased rating of the
filter suitable to carry the increased current. Series filters offer the main advantage
18
voltage-waveform harmonics. This means the load contains a pure sinusoidal
waveform [2].
The diagram shown in figure 3.8 shows the combination of both parallel and series
active filters. This system combines both the benefits of the shunt and series and is
often used to achieve the demanding power system requirements. The control of
active filters can be complex. A combination of the two provides an even greater
complexity. The higher cost involved in a more complex design has shown a reduced
demand for the combined structure. As a result of the increased cost and complexity,
this combination has received less attention than other configurations. Flexible AC
19
transmission systems, commonly abbreviated as FACTS regularly make use of the
arrangement [2].
The combination of the active parallel and active series filters in 3.4.3.1 was seen to
be very complex in control yielding a high cost. One method of reducing these
problems was to replace the parallel active filter with a passive structure. The series
accompanied by a parallel passive filter to provide a path for the harmonic currents
over the characteristics of plain series active filters and the extension of their
elimination. Passive filters are often easier and simple to implement and do not
require any control circuit. This, this deserves to be most beneficial. [2]
20
3.4.3.3 Combination of shunt active and passive filters
As mentioned in 3.4.1, shunt active filters are best suitable to compensate for lower
order harmonics thus only requiring low power rating which serves most economical.
This configuration makes use of a passive filter which serves to compensate for the
high order load current harmonics. This combination, represented by figure 3.10
compensate for higher powers without excessive costs for high-power switching. The
major disadvantage of this configuration is the fact that passive filters can only be
tuned for a specific predefined harmonic and thus cannot be easily changed for loads
Figure 3.10 Shunt active and shunt passive filter combination [2]
21
3.4.3.4 Active filter in series with shunt passive filters
The combination of an active filter in series with a shunt passive filter is considered a
significant design configuration for medium and high voltage applications. The
passive filter is designed to reduce the voltage stress applied to the switches in the
active filter. This design is in its infancy of development however, further research is
Figure 3.11 Active filter in series with shunt passive filter combination [2]
22
3.5 Classification according to compensated variable
Active filters are designed to provide suitable compensation for a particular variable
The shunt active filter does provide reactive power compensation however; they
rarely treat the problem of power-factor correction on its own owing to the fact that
are available in the market. When this technique is applied, lower power applications
are more suited since the currents needed for reactive-power compensation are of the
same order of magnitude as the rated current of the load. It would be a waste of
sophisticated equipment to tackle them without the use of other power factor-
23
3.5.2 Harmonic compensation
Within the system, active filters can be used to provide suitable harmonic
compensation for voltage harmonics and current harmonics. These harmonic are the
In general, the concern for compensating voltage harmonics is not high due to the
fact that power supplies usually have low impedance [5]. Generally, at the point of
common coupling, ridged standards are implemented to ensure a correct level of total
This is important for harmonic voltage sensitive devices such as power system
harmonics, this however, does not negate the necessity to current harmonic
compensation [2].
by [4]. From 3.5.2.1, current harmonics are greatly reduced by the compensation of
current harmonics is not only important for reasons such as device heating and
reduction in life of devices but also in design of power system equipment. One of the
major design criteria covers the magnitude of the current and its waveform. This is to
reduce cable and feeder losses. Since the root mean square (RMS) of the load current
24
incorporates the sum of squares of individual harmonics, true current harmonic
compensation will aid system designers for better approached power rating
equipment [2].
In most low and medium voltage distribution systems, it is frequent to find situations
where the currents and voltages in the three phases are not balanced and are not
and is not displaced by 120 degrees. This is a direct result of current imbalances and
the severity of the system imbalances is governed by the magnitude of the supply
waveform. On high voltage systems, the supply impedance does not impact severely
on system performance and thus the problem of mains voltage unbalances are
In low power applications such as compensating for residential loads, the magnitude
of currents supplied to the grid depends entirely upon the level of imbalance in the
system. In most cases, the compensator would be forced to supply rated current [4].
25
3.5.4 Multiple compensation
different combinations to improve the effectiveness of the filter. The following are
One very common filter design makes use of combining aspects of reactive power
compensation together with harmonic current elimination. This ensures the supply
current remains purely fundamental free from distributing harmonics whilst making
certain the current is in phase with the supply voltage [6]. This approach is very cost
effective because only one device is used for all aspects rather than including
multiple circuits for each individual objective. The active filter used here however,
suffers from poor power switching limits and thus can only serve as a compensator
This combination, however rare, takes place in certain configurations for controlling
the voltage harmonics, which would normally affect indirectly (using suitable
To compensate for both current and voltage system harmonics, a shunt and series
active filter configuration must be used respectively. Integrating this filter serves to
eliminate load harmonics whilst ensuring the supply remains fundamental. This type
of design contains very complex control algorithms and is normally used only for
26
very sensitive devices such as power-system-protection equipment and
This filter design incorporates all three compensating variables into one unit. It
controls all harmonics and reactive power within the system. This is achieved by
design is very complex and difficult to maintain and thus is not often employed [2].
27
3.6 Classification based upon control technique
Figure 3.13 presents the basic control structure for active power system filters. The
two main techniques are open look control and closed loop control.
Figure 3.13 Classification of active power filters according to control techniques [2]
Open-loop systems sense the load current and the harmonics it contains. They inject
a fixed amount of power in the form of current (mainly reactive) into the system,
which may compensate for most of the harmonics and/or reactive power available.
Since there is no feedback loop on this system, there is no reference to check the
performance and accuracy of the filter. This is a traditional technique and in present
Closed loop control systems incorporate a feedback loop providing greater accuracy
well over the open loop design. This feature enables true sensing of the required
variables under consideration. Almost all new techniques in use are of this type.
28
3.6.2.1 Constant capacitor voltage technique
In this technique, the DC link contains a capacitor and once charged, this capacitor
voltage is the voltage source which controls the current waveform by PWM
techniques. The voltage across the terminals of the capacitor often fluctuates due to
the fact that energy is either supplied or expelled. To regulate and maintain terminal
voltage levels, a reference voltage is chosen. The difference between the actual
capacitor voltage and the predefined reference voltage determines the active
component of power required to compensate for losses in the filter. This error
The control replaces the use of the capacitor in the DC link with an inductor. The
system operates much the same as mentioned in 3.6.2.1 however; the capacitor
voltage is replaced with the inductor current. This is achieved in two ways: (i)
current pulse-width modulation where like in 3.6.2.1, the PWM provides the required
pulses to represent the average current signal and (ii) current pulse amplitude
modulation which is a new control method provides the active filter with a basis for
same. The rate of rise of the current and the amplitude depend mainly on the size of
the capacitors and the initial voltages on them. These factors are functions of the
switching patterns, and they provide considerable flexibility in shaping the waveform
of the current drawn by the filter. The key to controlling these filter configurations is
29
to determine the appropriate switching function for the switches. The main task of
time delay exists between the detection of a change in the harmonic current and the
application of the new set of switching angles obtained from the optimisation
procedure. This system is mainly suitable for constant or slowly varying loads [2].
Series active filters incorporating the additional benefit of voltage regulation can be
controlled using the linear voltage control technique. Through regularly charging and
discharging the capacitor through linear control, the capacitor voltage can be
regulated. The reference capacitor voltage can be determined based upon the
harmonic reference. The charge in the supply loop of the circuit and thus switching
contrast to the abrupt changes in inverter voltage waveforms. This technique ensures
that the supply side receives no abrupt variation of voltage and this reduces the
amount of high-frequency harmonics injected into the supply due to the presence of
Other control techniques exist that simply provide small changes to the
predecessors. These techniques may include the use of state of the art adaptive,
without the use of Digital Signal Processing (DSP). These techniques can be
30
3.7 Active filters harmonic detection and extraction
harmonic currents of the same magnitude but opposite phase to the load harmonic
currents. Before the inverter can subtly inject opposing harmonic currents into the
efficiently sense and determine the harmonic current from the nonlinear load.
There are 3 different types of harmonic detection strategies used to determine the
reference command;
2. Measuring source harmonic current and controlling the filter to minimise it;
and
This method involves measurement of the load current and subsequent extraction of
its harmonic content using a high pass filter scheme. The harmonic components, so
extracted, are adjusted for polarity and used as reference commands for the current
controller. This is explained with the help of equation 3.1 and figure 3.14. Denoting
the harmonic components of the load current by ilh , the describing equation for this
strategy is
31
i*c (t ) = ilh (t ) (3.1)
In this strategy, the source current is measured and its harmonic component
by equation 3.2. Denoting the harmonic components of the source current by ish , the
Common Coupling (PCC) voltage, e(t). The harmonic component is then used to
32
3.3. Denoting the harmonic components of the PCC voltage by eh , the describing
i*c (t ) = K vh × eh (t ) (3.3)
Load current sensing and supply current sensing are suitable for shunt active filters
installed in the vicinity of one or more harmonic producing loads by individual high-
powered consumers. PCC voltage sensing is suitable for shunt active filters, which
most basic harmonic detection method for series active filters acting as a voltage
source [4].
33
3.8 Classification based upon current/voltage reference estimation technique
There are numerous techniques each sub classified in figure 3.17 which propose
methods to calculate and determine the appropriate compensating reference current
used for the active filter to pass to the PWM inverter.
In this method, an analogue signal filter is applied at the supply side to determine the
current harmonics from the supply. This technique is very simple and easy to
implement however introduces major amounts of magnitude and phase errors [2].
This method uses a high pass filter to pass high ordered frequencies effectively
removing low order components in the load current signal. The filtered frequencies
34
3.8.1.2 Low pass filter method
This method is favored in terms of reference synthesis because unlike the high pass
filter method, the effects of noise in the filtered portion are suppressed. The desired
reference value is the harmonic component found in the load current. This is
implementing a low pass filter from the total load current. This presents the harmonic
portion from the load current waveform. This technique however, introduces large
phase and magnitude errors as well as the effects of noise. The calculation of
harmonics therefore provides the most appropriate alternative. Two major techniques
The following seven subdivisions of time-domain approaches are mainly used for
can be adopted for single- or three-phase systems. The time-domain methods are
mainly used to gain more speed or fewer calculations compared to the frequency-
35
3.8.2.1.1 Instantaneous reactive power algorithm
⎛ p ⎞ ⎛ vα vβ ⎞ ⎛ iα ⎞
⎜ ⎟ = ⎜ −v ⎟ .⎜ ⎟
vα ⎠ ⎝ iβ ⎠ (3.4)
⎝q⎠ ⎝ β
The values of the instantaneous power p and q, which are the real and respective
reactive and distorted powers in the system. The dc components of p and q represent
the active and reactive powers and must be removed with high-pass filters to retain
matrix to the abc-frame represent the harmonic distortion, which is given as the
reference for the current controller. These processes are depicted in figure 3.18.
Figure 3.18 Calculations for the constant instantaneous supply power control strategy [8]
This operation takes place only under the assumption that the three-phase system is
balanced and that the voltage waveforms are purely sinusoidal. If, on the other hand,
36
3.8.2.1.2 Synchronous detection algorithm
This technique relies in the fact that the three phase currents are balanced. The
average power is calculated and divided equally between the three phases. The signal
is then synchronised relative to the mains voltage for each phase. This technique,
however easy to implement, suffers from the fact that it depends to a great extent on
The instantaneous and average powers of the load are calculated. The active power
component of the system is controlled to keep the instantaneous real power constant,
while maintaining the imaginary power to zero. This technique performs fairly well
under ordinary conditions. However, the performance deteriorates when the supply is
contaminated. [2, 9]
This technique forces the instantaneous current signal to track the voltage-reference
waveform. This implies that the power factor is fixed to unity and the system would
compensation. [2]
different definition of power. This approach is suitable for both single and three
37
3.8.2.1.6 Synchronous frame based algorithm
This algorithm relies on Park transformations to transform the three phase system
from a stationary reference frame into synchronously rotating direct, quadrature and
frequency component is transformed into DC quantities [34]. The active and reactive
components of the system are represented by the direct and quadrature components,
respectively. The high-order harmonics still remain in the signal; however they are
eliminated from the system and they represent the reference harmonic current. The
system is very stable since the controller deals mainly with DC quantities. The
However, it applies the transformation on the flux linkage of the filter inductance,
which is then controlled using the output voltages and currents in separate integral
loops. The presence of these integral loops incorporates time delays, which depend
on the frequency response of the special feed forward and feedback integrators.[2]
rearranged in such a manner that this provides the result as fast as possible with a
produce the distortion canceling output. With this strategy the inverter switching
38
frequency must be more than twice the highest compensating harmonic frequency.
This strategy has a poorer dynamic response and it not as widely used. [2]
Using the Fast Fourier Transform (FFT), the harmonic current can be reconstructed
by eliminating the fundamental component from the transformed current signal and
then the inverse transform is applied to obtain a time-domain signal. The main
disadvantage of this system is the accompanying time delay. This technique needs to
take samples of one complete cycle (or an integral number of cycles) to generate the
Fourier coefficients and it is therefore suitable for slowly varying load conditions.[2]
This method relies on the process of multiplying the current signal by a sine wave of
the fundamental frequency and integrating the result. This results in a loss of all the
high-order harmonics using a simple low-pass filter. The performance is still slow
(more than one complete mains cycle). This technique is similar to the Fourier
The principle behind this technique is that only the fundamental component of
current is calculated and this is used to separate the total harmonic signal from the
relies on modifying the main Fourier series equations to generate a recursive formula
with a sliding window. This technique is adapted to use two different circular arrays
to store the components of the sine and cosine coefficients computed every sampling
sub cycle. The newly computed values of the desired coefficient are stored in place
of the old ones and the overall sums of the sine and cosine coefficients are updated
39
continuously. The computation time is much less than that of other techniques used
for single-phase applications. This technique is equally suitable for single- or three-
There are numerous optimization and estimation techniques, and all the utilities and
libraries for estimation can be used to perform this task. However some new methods
arise, such as the neural network and adaptive-estimation techniques which are fairly
40
CHAPTER 4
4.1 Introduction
The objective of shunt active filters is ultimately the same, the primary goal being to
compensate for current harmonics in the power system. A variety of active filters
also extend upon this initial goal to include reactive power compensation and as an
power system network. This active filter model subtly compensates for current
harmonics from the generator. Although the demand for current harmonics may only
supply this current. This causes the generator to operate at frequencies above the
nominal 50Hz or 60Hz and in doing so, also creates a negative phase-sequence
current through the parallel branch of the network in order to compensate for the
current harmonic demand of the nonlinear load. The role of the active filter controller
is to sense and monitor the load current and to appropriately determine the correct
41
reference harmonic current for the inverter. Once the correct reference harmonic
controller which then is sent to the inverter for injection into the network. Appendix
D shows the model of the three phase four wire shunt active power filter using a
level. It supervises the dc capacitor voltages and provides two control signals, Ploss
and ε . The capacitor voltages of C1 and C2 vary by certain conditions caused by the
shape of the current reference and the hysteresis bandwidth. If the current references
are assumed to be composed from zero-sequence components, the line currents will
return through the neutral wire. For a split capacitor inverter topology as shown in
figure D.1, the currents can flow in both directions through the switches and
di fk
i fk > 0 and <0 Increase the voltage in C1
dt
di fk
i fk < 0 and <0 Decrease the voltage in C1
dt
di fk
i fk < 0 and >0 Increase the voltage in C2
dt
di fk
i fk > 0 and >0 Decrease the voltage in C2
dt
Table 4.1 Variation conditions for the capacitor voltage Vc1 and Vc2
42
Figure 4.1 DC voltage regulator schematic[6]
The inputs to the dc voltage regulator are the two capacitor voltages and an internal
fixed reference voltage. The capacitor voltage difference from the reference input is
insensitive to the fundamental frequency voltage variations which appear when the
active filter compensates the fundamental zero sequence current of the load. The
signal Ploss. Ploss aims to compensate for losses in the PWM converter which tends to
discharge the dc capacitors and thus neutralise the dc bus voltage variations. This
The second output from the dc voltage regulator is the dynamic offset level. This
offset level is dynamic because it changes accordingly as to ensure that the difference
in dc capacitor voltages (Vc2 − Vc1 ) stays within an acceptable tolerance limit. The
capacitor voltage difference is filtered and then sent along with the reference voltage
43
The limit function must adhere to the following limits:
⎧ε = −1 ⇔ ΔV < −0.05Vref
⎪
⎪ ΔV (4.1)
⎨ε = ⇔ − 0.05Vref ≤ ΔV ≤ 0.05Vref
⎪ 0.05Vref
⎪ε = 1 ⇔ ΔV > 0.05Vref
⎩
appropriate control theory. This model incorporates the PQ theory. The input to the
controller monitors the load current waveform and the source voltage waveform and
calculates power based upon these parameters. Since the shunt active filter is
the power waveform can be assumed to be attributed solely by the current harmonics
demanded by the nonlinear load. If one assumes that the voltage waveform is
perfectly sinusoidal and free from all harmonics then this condition becomes true. If
the three phase voltage input to the controller is unbalanced or high distorted, then
the reference currents calculated would not completely filter the current harmonics
demanded by the nonlinear load. This situation gives rise for the need of a positive
The positive sequence voltage detector shown in figure 4.2 derives the positive
sequence fundamental signal from a three phase voltage signal carried by the power
line. The PLL control circuit tracks the positive sequence voltage at the fundamental
frequency of highly distorted and unbalanced three phase signals. The synchronizing
circuit determines accurately the fundamental frequency of the system voltage and
44
phase angle of the measured signals which may be unbalanced and contain
harmonics.
The fundamental frequency is used as input to a sine wave generator that produces
three auxiliary signals namely ( i 'a , i 'b , i 'c ) to be used as ‘fundamental positive
sequence currents’ along the detector [6]. These currents together with the line
calculation. Equation 4.2 shows the transformation matrix which converts the phase
voltages and phase currents into the appropriate reference frame. Equation 4.3
determines the power values composed from the fundamental positive sequence
The α − β voltage reference box of figure 4.2 calculates the alpha and beta reference
voltages given by equation 4.4. Finally, the a-b-c instantaneous values of the
equation 4.5. The voltages calculated from equation 8 are now considered as input to
Thus the purpose of the positive sequence voltage detector is justified as the active
45
⎛ 1 1 1 ⎞
⎜ 2 2 2 ⎟⎟ v
⎛ v0 ⎞ ⎜ ⎛ a⎞
⎜ ⎟ 2⎜ −1 −1 ⎟ ⎜ ⎟
⎜ vα ⎟ = 3 ⎜ 1
2
. vb
2 ⎟ ⎜⎜ ⎟⎟
⎜v ⎟ ⎜ ⎟ ⎝ vc ⎠
⎝ β⎠ ⎜ 3 − 3⎟
⎜ 0 ⎟
⎝ 2 2 ⎠ (4.2)
⎛ 1 1 1 ⎞
⎜ 2 2 2 ⎟⎟ i
⎛ i0 ⎞ ⎜ ⎛ a⎞
⎜ ⎟ 2⎜ −1 −1 ⎟ ⎜ ⎟
⎜ iα ⎟ = 3 ⎜ 1
2
. ib
2 ⎟ ⎜⎜ ⎟⎟
⎜i ⎟ ⎜ ⎟ ⎝ ic ⎠
⎝ β⎠ ⎜ 3 − 3⎟
⎜ 0 ⎟
⎝ 2 2 ⎠
⎛ p0 ⎞ ⎛ v0 0 0 ⎞ ⎛ i0 ⎞
⎜ ⎟ ⎜ ⎟⎜ ⎟
⎜ p ⎟=⎜ 0 vα vβ ⎟ . ⎜ iα ⎟ (4.3)
⎜ q⎟ ⎜0 − vβ vα ⎟⎠ ⎜⎝ iβ ⎟⎠
⎝ ⎠ ⎝
⎛ ⎞
⎜ 1 0 ⎟
⎛ v 'a ⎞ ⎜ ⎟
⎜ ⎟ 2 ⎜ −1 3 ⎟ ⎛ v 'α ⎞ (4.5)
⎜ v 'b ⎟ = 3 ⎜ 2 .⎜ ⎟
2 ⎟ ⎝ v 'β ⎠
⎜v' ⎟ ⎜ ⎟
⎝ c⎠
⎜ −1 3⎟
⎜ − ⎟
⎝ 2 2 ⎠
46
Figure 4.2 Block diagram of the fundamental positive sequence voltage detector [6]
The p-q theory formally known as “The Generalized Theory of the Instantaneous
[10] It is based in instantaneous values in three phase power systems with or without
neutral wire, and is valid for steady state or transitory operations, as well as for
generic voltage and current waveforms. The p-q theory consists of an algebraic
and the load harmonic currents in the a-b-c coordinates to the α − β − 0 reference
frame followed by the calculation of the real and reactive instantaneous power
components.
From equation (4.3), equation (4.6) shows how expanding the matrices give the
p0 = v0 × i0
p = vα × iα + vβ × iβ (4.6)
q = vα × iβ − vβ × iα
Figure 4.3 shows a diagram of the interactions of each of the power components
within the power system and how each relates to one another.
47
p0 is the average value of the instantaneous zero sequence power. This corresponds
to the power which is transferred from the power supply to the load through the zero
~
p0 corresponds to the alternating power of the instantaneous zero sequence power.
This relates to the exchanged power between the power supply and the load through
the zero sequence components of voltage and current. The zero sequence power only
p is the mean value of the instantaneous real power. This corresponds to the energy
per unit time unity which is transferred from the power supply to the load.
~
p is alternating value of the instantaneous real power. This corresponds to power
exchanged between the phases of the load. This component is not constructive to the
system and is accountable for the undesirable current which circulate between the
system phases. The reactive power does not transfer power from the supply to the
48
Figure 4.3 Power components of the p-q theory in alpha-beta-0 coordinates [10]
From figure 4.3, the only component of the power obtained through the p-q theory
that is desirable and constructive is the average real power and the average zero
sequence power. This is because power is transferred from the supply to the load.
The other components of power are less desirable and this can be compensated by
The control diagram for the shunt active filter controller is shown in figure 4.4. An
important component to note is the high pass filter with cut off frequency of 50Hz.
This filter receives the instantaneous real power from equation 4.3 and filters all
frequencies of power greater than the fundamental. The output waveform is thus the
justified as once can assume a perfectly sinusoidal voltage source by virtue of the
− vβ ⎞ ⎛⎜ − p + Δ p ⎞⎟
~
⎛ i *cα ⎞ 1 ⎛ vα
⎜ ⎟= 2 ⎜ ⎟.
⎜ i * ⎟ v + v 2 .⎜ v vα ⎟⎠ ⎜ − q ⎟
(4.7)
⎝ cβ ⎠ α β ⎝ β ⎝ ⎠
49
⎛ 1 ⎞
⎜ 1 0 ⎟
⎜ 2 ⎟ ⎛ −i ⎞
⎛ i *ca ⎞ (4.8)
2⎜ 3 ⎟⎜
0
⎜ ⎟ 1 −1 ⎟
⎜ i *cb ⎟ = ⎜ ⎟ . ⎜ i *0α ⎟
⎜i* ⎟ 3⎜ 2 2 2 ⎟⎜ ⎟
⎝ cc ⎠ ⎜ ⎟ ⎝ i *cβ ⎠
1 −1 − 3
⎜⎜ ⎟
⎝ 2 2 2 ⎟⎠
The harmonic power output from the high pass filter together with the reactive power
is used in equation 4.7 to determine the alpha and beta references of the currents.
These currents are then inputs to equation 4.8 where the instantaneous current
band PWM controller. The shunt line current tracks the reference current within a
with the measured values of compensation currents, the command signals for the
50
Figure 4.6 illustrates the principle of the dynamic hysteresis current controller
technique. If the shunt line current exceeds the maximum limit of the hysteresis
band, the upper switch of the inverter arm is turned off and the lower switch is turned
on. As a result, the current starts to decay. If the current crosses the minimum limit of
the hysteresis band, the lower switch of the inverter arm is turned off and the upper
switch is turned on. As a result, the current gets back into the hysteresis band. Hence,
the shunt line current is forced to track the reference current with the hysteresis band.
ε S1
S2
i fa
i fb S3
i fc
S4
i *ca
S5
i *cb
i *cc S6
The signal ε actuates as a dynamic offset level that is added to both hysteresis band
limits in the PWM current control as shown in figure 4.5. The maximum and
51
Thus, the signal ε shifts the hysteresis band to change the switching times such that
52
4.3.4 Other components
Appendix D shows an inductive filter and RC high pass filter placed at the inverter
output. The inductive filter is designed to limit the ripple of the compensation
currents whilst the RC high pass filter is set in the active filter output to filter the
Low power active filters are installed close to each problematic load, avoiding the
circulation of current harmonics, reactive currents and neutral currents through the
utility power lines. This solution reduces the power lines losses and voltage drops,
53
CHAPTER 5
5.1 Introduction
Simulation is a powerful way to reduce development time and ensure the proper
allowed the study of its behavior under different operation conditions, and permitted
the tuning of some controller parameters together with the optimization of the active
filter component values. Matlab/Simulink and the Power System Blockset were used
Each component of the shunt active filter controller was simulated and tested. Major
54
5.2.1 DC voltage regulator
The block model for the dc voltage regulator is shown in figure 5.1.
The reference voltage is equal to 600V. Vdc1 and Vdc2 are ‘from tags’ that monitor the
capacitor voltage value and are inputs to the dc voltage regulator. The limit function
obeys equation 4.1 and is shown in figure 5.2 along with the MATLAB code for the
The parameter values for the PI control such as the proportional gain (Kp) and
integral gain (Ki) were achieved through a trial and error approach until the system
55
5.2.2 Active Filter Controller
The block model for the positive sequence voltage detector is shown in figure 5.3.
The input is a three phase unbalanced or high distorted voltage and the output gives a
purely sinusoidal voltage, free from harmonics which is used as the input to the p-q
controller.
The PLL block model combined with the sine generator model is shown in figure
5.4. The input is unbalanced or highly distorted three phase voltages and the output is
three phase auxiliary currents used as ‘fundamental positive sequence signals’ along
⎡ K ⎤
the detector. The normalized inputs for the PI controller ⎢G ( s ) = K p + i ⎥ are Kp =
⎣ s ⎦
0.98, Ki = 80.
56
Figure 5.4 PLL and sine generator
The PLL and sine generator model shown in figure 5.4 can be verified by figure 5.5
ia (ω t ) ωt ia1
Vab sin(ω t ) sin(ω t − π / 2)
X
P3φ ω 1 ib1
∑ sin(ω t − π / 2 − 2π / 3)
s
Vcb
X ic1
sin(ω t + 2π / 3) sin(ω t − π / 2 + 2π / 3)
ic (ω t )
Since the current harmonic nonlinear load used for this simulation are balanced and
thus demands current harmonics only, the voltage will remain sinusoidal. To test and
verify that the model is correct, three phase load distorted current waveforms are
57
Figure 5.6 Waveforms of Iα, Iβ and load current distortion
Figure 5.6 shows the three phase distorted nonlinear load input to the positive
sequence detector. The output shows Iα and I β perfectly sinusoidal. Thus the
positive sequence voltage detector had been modeled and is shown through
58
5.2.2.2 PQ Theory model
Appendix E shows the complete PQ theory circuit schematic found in the IEEE
transaction paper [6]. The total simulated model of the PQ theory is shown in figure
5.7.
The inputs to the PQ controller are the measured load currents from the nonlinear
load and the α − β voltage reference from the positive sequence voltage detector.
The outputs are the three phase reference currents to be sent to the inverter for
injection. A closer analysis of the power calculation block diagram is shown in figure
5.8. The three phase harmonic load currents are converted into the α − β current
reference using equation 4.2 and is modeled by figure 5.9. Figure 5.8 used equation
59
Figure 5.8 Power calculation
The waveforms showed in figures 5.10 and 5.11 represent the input voltage and load
60
Figure 5.11 Input harmonic load current
The waveform of the instantaneous power shown in figure 5.12 comprises of current
61
The inverse power transformation block model shown in figure 5.13 gives the
Using the single second order high pass filter, the waveform from the inverse power
The inverse current reference transformation block model shown in figure 5.15 gives
62
Figure 5.15 Alpha-Beta-0 to phase current compensation
The waveform from the inverse current transformation is shown in figure 5.16. These
three phase currents are then sent to the filter for injection through the shunt branch
63
The IEEE transaction paper of [4] shows a subtle difference between the three phase
between some components of the controller and system network which were
64
5.2.2.3 Dynamic hysteresis PWM current converter model
The top stage level of the dynamic hysteresis current PWM converter is shown in
figure 5.18. The inputs are the reference currents from the PQ controller, the
dynamic offset level, the bandwidth and the shunt line current. The outputs are
Within each of the three hysteresis control blocks, a series of functions are set in
order to appropriately control each switch of the inverter. Equation 4.9 is modeled
and the calculated process behind each hysteresis control block together with the
respectively.
65
Figure 5.19 Hysteresis control model
Figure 5.20 shows the inverter portion of the active filter responsible for injecting the
compensation current in the parallel branch to supplement the current harmonic load
demanded from by the source. Vdc1 and Vdc2 are two dc capacitors used to provide
the necessary voltage to power the inverter. This voltage is regulated by the dc
voltage regulator. The shunt inverter receives signals sent from the dynamic
hysteresis PWM current controller and outputs three phase compensation currents.
66
Figure 5.20 Shunt inverter
67
5.2.4 System Modeling
Figure 5.21 shows the shunt system connected into the existing power system
network. The connected lines before the active filter are from the generator and the
connected line after the filter connects to the nonlinear load. The system consists of
the shunt inverter along with series commutation inductance of 2.5 millihenries. A
tuned high pass filter is also connected to filter the inverter commutation frequencies.
68
CHAPTER 6
6.0 MODEL VERIFICATION – CASE STUDIES
6.1 Introduction
A three phase six pulse current source converter and a three phase diode rectifier are
used independently to verify the functionality of the active filter in its ability to
Figure 6.1 shows the three phase six pulse current source converter used to model the
current harmonic nonlinear load. The thyristor converter receives switching signals
from the synchronized six pulse generator and outputs a controlled dc waveform due
to the alpha angle set by the generator. Values for the α angle = 30 degrees, R = 25.5
69
The output current from the thyristor converter is shown in figure 6.2.
Figure 6.3 shows the effect of current harmonics due to the nonlinear load to the
power system network. Since a balanced nonlinear load is connected across three
phases, the total harmonic distortion (THD) over the entire system will be the same
across a particular phase. Without the shunt active filter connected, the THD due to
70
Figure 6.4 THD reduction after active filter
Figure 6.4 shows the shunt system connected into the power system network. With
the shunt active filter connected, the THD due to the three phase thyristor converter
is 2.234%. This value shows a 30.416% compensation of the active filter compared
to the THD found in figure 6.3. Thus, the filter is compensating as desired.
Figures 6.5 and 6.6 show the three phase source current waveform before
71
Figure 6.5 Source current waveforms before compensation
72
6.3 Verification Procedure – Three phase diode rectifier
Figure 6.7 shows the harmonic load model of the diode rectifier with an RL load.
The connection of the diode presents a balanced load as the rectifier was connected
across all three phases to ground. The commutation inductance = 3 mH, Rdc =20
Figure 6.8 shows the diode rectifier output voltage and current
Figure 6.8 Single phase diode rectifier output voltage and current
73
6.3.2 Compensation Results
Figure 6.9 shows the uncompensated power system network with the three phase
diode rectifier as load. The THD of the system is 21.52%. Figure 6.10 shows the
power system when the shunt active filter was implemented. The THD was brought
down to 2.106%.
74
6.3.3 Source Waveforms
Figures 6.11 and 6.12 showed the uncompensated and compensated source current
75
6.4 Discussion
The waveform shown in figures 6.13 is the IEEE paper waveform of the source
current found in [6]. The configuration of the system model from the paper included
a diode bridge connected at t = 30ms from b-phase and neutral, two controlled
(thyristor) bridges connected after t = 40ms across all phases and a-phase and neutral
loads; this project incorporated the two loads used in the case studies for separate
testing. Thus, figures 6.6 and 6.7 concur with the sinusoidal relationship of figure
6.13.
From sections 6.2.2 and 6.3.2, the THD was reduced to 2.234% and 2.106%
respectively. The active filter does not totally filter all harmonics, such as reducing
times to shape the output waveforms as desired. This short abrupt switching, self
76
Another source of harmonics comes from efficiency issues from the positive
sequence voltage detector which could have propagated throughout the system. If
this is true, harmonics from the input voltage source would contribute to inaccurate
compensation and this could also partially contribute to the small THD.
77
CHAPTER 7
7.0 CONCLUSION
7.1 Discussion
This project investigated the analysis and simulation of a shunt active power filter.
The project simulated results showed that the shunt active power filter model
proposed was suited for use in current harmonic compensation on any single bus on a
power system network. One of the areas of strength for this project includes the
unbalanced input signals. The filter, given these input conditions has the ability to
extract the positive sequence component of the input voltage as it compensates for
current harmonics. Thus, the filter acts as if it was connected to a perfectly sinusoidal
input.
Another major strength of this shunt active power filter is the results achieved under
the two case study scenarios. For each of the given nonlinear loads, the active filter
reduced the total harmonic distortion to below 5%. The strength is the fact that the
advantage and adds to the positive outcome to the overall success of the
compensation.
Areas of weakness in this project include the efficiency of the major high pass filter,
which is responsible for filtering the harmonic component from the real power
78
waveform. In addition, the hysteresis band PWM current controller proves a likely
For future research, once might consider designing a higher order high pass filter for
within the controller. This filter is responsible for filtering out the harmonic
component of the real power. As all filters are not ideal, and thus lack in their ability
calculation of the reference currents and thus compensation currents. This error is
such that the compensation currents will not exactly match the load harmonic
currents and thus harmonic currents will remain in the system. Although the total
harmonic distortion will be reduced, designing a filter of a higher order will prove
The determination of the PI controller values is also another area of interest for
regulator maintaining a regulated voltage across the two capacitors such that it will
provide voltage to power the inverter. In general the determination of these values is
very cumbersome and for this project a trial and error approach was sustained. These
values are accurate to the extent of observing output waveforms from the controller
and adjusting the parameters accordingly to achieve a plateau curve at time increases.
79
CHAPTER 8
8.0 BIBLIOGRAPHY
80
APPENDICES
81
Appendix A – Gantt Chart
82
Figure A.2 Gantt chart (continued)
83
Appendix B – Filter combinations
84
Figure B.14 Combined system of parallel-
Figure B.10 Parallel combination of series- passive and series-passive filters for
passive and series-active filters for voltage- voltage-source nonlinear loads.
source nonlinear loads.
85
Figure B.19 Circuit III to reduce
fundamental voltage of parallel-active
filter.
86
Appendix C – Summary and Comparison of Filters
87
A.13 SPF: harmonic SPF: for harmonic Better performance SPF I*VSh ,
isolation isolation and source than PPF alone, VT PAF: V*(Ivar+ILh)/ cheap
PPF: harmonic harmonic becomes sinusoidal
compensation / CSNL compensation; even when VSh exists
PPF: for load-
harmonic
compensation
A.14 SPF: harmonic SPF: load-harmonic Make the terminal SPF: I*VLh ,
compen. compensation; voltage VT more PPF: V*Ih(upstream/adjacent) / cheap
PPF: harmonic PPF: provides shunt sinusoidal when
shunting/ VSNL to adjacent harmonic source and adjacent
loads harmonic exist
A.15 Use LC circuits to Fundamental voltage An optimum design is Fig.A.15:(VXL
A.17 reduce fundamental of the PAF can be desirable to minimize /(XC+XL)+ILhXC)*ILh
A.19 voltage applied on reduced to XL the total VA rating of Fig.A.17:(VXL
A.21 PAF / CSNL /(XC+XL) in Fig.A.15, PAF and total system /(XP+XL)+ILhXP)*ILh
to XL/(XP+XL) in cost. Dynamic var Fig. A.19:ILhXP*(ILh+V/XP)
Fig.A.17, and to zero compensation not Fig. A.21:ILhXC*(ILh+V/XC)
in Fig. A.19 and possible.
A.21. On the other
hand, harmonic
current injected by
the PAF will cause
harmonic drop over
XC or XP.
A.16 Use LC circuit to Fundamental current An optimum design is Fig.A.16:(IXL /(XC+XL)+VLh
A.18 reduce fundamental of the SAF can be desirable to minimize /XL)*VLh
A.20 current flowing reduced to XL the total VA rating of Fig.A.18:(VXL /(XS+XL)+VLh /
A.22 through SAF/ VSNL /(XC+XL) in Fig.A.16, SAF and total system XS)*ILh
to XL/(XC+XL) in cost. Dynamic voltage Fig. A.20:VLh / XS*(VLh+IXS)
Fig.A.18, and to zero regulation not Fig. A.22:VLh /XL*(VLh+IXL)
in Fig. A.20 and possible.
A.22. On the other
hand, harmonic
voltage produced by
the SAF will cause
harmonic current over
XC or XP.
88
Appendix D – Shunt Active Filter System
89
Appendix E – PQ Theory Controller
90
Appendix F – DC Voltage Regulator MATLAB Code
else
y=e;
end
91
Appendix G – Dynamic Hysteresis PWM Current Controller MATLAB Code
else
y=u3;
end
92