Professional Documents
Culture Documents
Improvement
CHAPTER 1
INTRODUCTION
1.1 General
Power Quality is a set of electrical boundaries that allows apiece of equipment to function
in its intended manner withoutsignificant loss of performance or life expectancy. Thethree phase
power generated at the generating station is purelysinusoidal in nature[11][2]. Wide spread
application
of
static
powerelectronics
converters,
zero
and
negative
sequence
componentsoriginated by the use of single phase and unbalanced loads,reactive power, voltage
sag, voltage swell, flicker, voltageinterruption etc. results voltage and current harmonics.The
harmonics presence in the power lines results in variedproblems, like, greater power losses in
distribution; problemsof electromagnetic interference in communication systems;and operation
failures of protection devices, electronic equipmentsand, industrial processes. Due to these
problems, thequality of the electrical energy delivered to the end consumersis, more than ever, an
object of great concern. The passivefilters have been used as a conventional solution to
solveharmonic currents problems, but they have disadvantages likeelectromagnetic interference,
possible resonance, fixed compensation,bulkiness etc. To cope with these disadvantages,recent
efforts have been concentrated on the development of Active Power Filters (APF) [9].The
compensation strategy of Shunt Active Power Filter (SAPF) in two ways, Synchronous
DetectionMethod (SDM) and digital control based on instantaneouspower theory (p-q theory).
The control strategies of SAPFsystem are detailed in the second part of this paper.
Simulationresults in the third part demonstrate a comparative studybetween the two methods and
show the advantages of digitalcontrol over SDM.
Page 1
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
Page 2
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
F) Current magnitude variation is the variation of the load current magnitude which also
results in voltage magnitude variations.
G) Current phase variation Ideally, the voltage and current waveforms should be in
phase so that the power factor perceived by the source is unity. Deviation from this
situation is termed as current phase variation.
H) Voltage and current imbalances Voltage imbalance in three phase systems where the
rms values of the voltages in each phase or the phase angle differences between
consecutive phases are not equal, can affect the ratio of negative sequence and positive
sequence voltage components. This can result in large differences between the highest
and lowest values of voltage magnitude and phase difference. The voltage imbalance
leads to large load current imbalances.
I) Voltage fluctuation The fast variation in voltage magnitude is called voltage fluctuation
or voltage flicker and can affect the performance of the equipment.
J) Harmonic voltage distortion The ideal voltage waveform is a sinusoidal wave of
constant frequency. But, when there is voltage distortion, it may be a sum of sine waves
with frequencies which are multiples of fundamental frequency. These non-fundamental
components contribute to harmonic distortion. The harmonic current components result in
harmonic voltage components and hence a non-sinusoidal voltage in the system.
K) Harmonic current distortion Harmonic current distortion is the complementary
phenomenon of harmonic voltage distortion. They are mutually dependent as harmonic
voltage distortion is mainly due to non-sinusoidal load currents.
L) Inter-harmonic voltage and current components are generated by equipment such as
cyclo-converters, heating controllers and arc furnaces, which generate current
components at such frequencies which are not integral multiples of fundamental
frequency. In fact, there may be sub-harmonic frequency currents as well. These interDept of E&E ,AIT Chikmaglure
Page 3
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
harmonic components can cause resonance between the line inductances and capacitor
banks. The sub-harmonic currents can lead to saturation of transformers and in turn to
damage of synchronous generators and turbines.
M) Voltage notching - In three phase converters during commutation from one device to
another, short circuits for short durations can cause voltage reduction or notching. Voltage
notching leads to higher order harmonics.
N) Interruptions Supply interruption is a condition in which the voltage at the supply
terminals is close to zero or less than 10% according to IEEE Standard 1159 -1995.
Faults or protection equipment mal-tripping can cause interruptions.
1) Under voltages Short duration under voltages are known as voltage sags and longer
duration under voltages are called under voltages. Voltage sag is a reduction in the supply
voltage magnitude followed by a voltage recovery after a short period of time. Voltage
sagsare mostly caused by short circuit faults in the system and by starting of large motors.
P) Over voltages- Over voltages of very short duration and high magnitude are called
transient over voltages/voltage spikes/voltage surges. Over voltages with duration
between one cycle and one minute are called voltage swells or temporary power
frequency over voltages. Longer duration over voltages are called over voltages. Over
voltages are caused by lightning strokes, switching operations, sudden load reduction,
single phase short circuits and nonlinearities.
Q) Electromagnetic compatibility (EMC) EMC is defined by IEC (International
Electrotechnical Commission) as the ability of a device, equipment or system to function
satisfactorily in its electromagnetic environment without introducing intolerable
electromagnetic disturbances to anything in that environment.
Page 4
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
Load on AC Supply
AC Supply on Load
-Current Harmonic
Filtering.
-Reactive current
Compensation.
-Current unbalance.
-Voltage Flicker.
Series
Current harmonic
-Voltage sag/swell.
filtering.
-Voltage unbalance.
-Reactive current
-Voltage distortion.
compensation.
-Voltage interruption.
-Current unbalance.
-Voltage flicker.
-Voltage Flicker.
-Voltage notching
-Voltage unbalance
Table1.2.3: The selection of the type of active power filter to improve power quality
Dept of E&E ,AIT Chikmaglure
Page 5
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
Table1.2.4 (A):Harmonic voltages at PCC until order 25 in percentage of the nominal voltage
This standard also establishes that voltage total harmonicdistortion (THD), including the
first 40 harmonics, must notexceed 8%.
Page 6
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
B. IEC 61000
This set of IEC (International ElectrotechnicalCommission) standards [2-4] is concerned
withelectromagnetic compatibility (EMC) and includes thefollowing parts:
1. General General considerations, definitions andterminology: 61000-1-x.
2. Environment Description of the environment,classification of the environment,
compatibilitylevels: 61000-2-x.
3. Limits Emission limits, immunity limits: 61000-3-x.
4. Testing and Measurement Techniques Providestechniques and measurement rules in
order to assurethe compliance with the other parts of the standard:61000-4-x.
5. Installation and mitigation guidelines Providesguidelines in the application of
equipment such asfilters, compensators, surge arresters, etc, in order tosolve the problems
related with power quality:61000-5-x.
6. Generic standards Sets up the required immunitylevels for general-purpose
equipments or for specifictypes of equipment: 61000-6-x.
9. Miscellaneous: 61000-9-x
Table1.2.4(B): Compatibility levels for individual harmonic voltages in public low-voltage
Networks.
Page 7
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
Class 1- applies to protected networks and it has the lowest lower compatibility levels (lower
than that publicnetworks). It concerns the use of devices and equipmentsvery sensitive to electric
disturbances, v. g. technologicallaboratories instrumentation, certain automation andprotective
equipments, specific computers, etc.
Class 2- applies to PCC and to the internal connectingpoints in the general industrial
environment. It also appliesto public networks.
Class 3- is only applicable to internal connection pointsof the industrial environments. The
compatibility level isgreater than that of the class 2 for certain disturbances. Thisclass should
always be considered whenever one of theseconditions is met:
- Most of the loads are fed through converters.
- There are melting machines.
- Large capacity drives are started up very often.
- The loads change rapidly.
C. ANSI/IEEE 519-1992
According to this standard, which is presently beingupdated, the distribution companies
are responsible forkeeping the quality of voltage in all their systems. Thisstandard sets up the
distortion limits for the different voltagelevels of the electric networks [15].
TABLE 1.2.4(D): Maximum distortion levels
Page 8
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
1.3. Motivation
Faster power quality improvement is a perquisite for industrial and consumer equipments
and SAPF offers better performance than other state of the art compensation methods. It
improves power quality by significantlyreducing the harmonic components in currents and
correcting the power factor.
filter in power quality improvement, where the main body of the project is preceded by detailed
tables of contents including list of figures, tables, and glossary followed by units used in the
report which is follower by appendices which contains the screen shots and explains some of the
key technology elements and off the shelf components used in the project. The body of the
project
also contains details of development and deployment environment used during the
implementation of the project, the test cases executed to validate the features of the project
followed by conclusion.
Page 9
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
Page 10
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
CHAPTER 2
LITERATURY SURVEY
Impact of Distributed Power Flow Controller to Improve Power Quality
Based on Synchronous Reference Frame Method Ahmad Jamshidi, S.
Masoud Barakati, and M. Moradi Ghahderijani. IACSIT International
Journal of Engineering and Technology, Vol. 4, No. 5, October 201[3].
Distributed power flow controller (DPFC) which is similar to unified power flow
controller (UPFC) in structure, is used to mitigate the voltage sag and swell as a power quality
issue. Unlike UPFC, the common dc-link in DPFC, between the shunt and series converters is
eliminated and three-phase series converter is divided to several single-phase series distributed
converters through the transmission lineAlso to detect the voltage sags and determine the three
single-phase reference voltages of DPFC, the synchronous reference frame method is proposed.
The power quality enhancement of the power transmissionsystems is an vital issue in power
industry. In this study, the, application of DPFC as a new FACTS device, in the voltage, sag and
swell mitigation of a system composed of athree-phase source connected to a non-linear load
through theparallel transmission lines is simulated in Mat lab/Simulinkenvironment.
The voltage dip is analyzed by implementing athree-phase fault close to the system load.
To detect thevoltage sags and determine the three single phase referencevoltages of DPFC, the
SRF method is used as a detection anddetermination method. The obtained simulation results
showthe effectiveness of DPFC in power quality enhancement,especially in sag and swell
mitigation.
Page 11
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
used to eliminate these power qualityproblems. The work presented in this investigation
consistsof various aspects on design and control of shunt activefilter (AF) for 3-wire system.In
this paper, the performance of AF underdifferent load dynamics is verified using SRF
controlalgorithm. AF is operated in UPF mode, ZVR mode andalso under distorted supply mains
conditions. Moreover,SRF control scheme is best suited under distorted supplyconditions. In all
the cases, AF has yielded thesatisfactory response with self supported DC busvoltage.
DSP Based Digital Controller for Shunt Active Power Filter to Improve
Power Quality.Ginnes K John1, Sindhu M R2, and Manjula G Nair3.
International Journal of Recent Trends in Engineering, Vol 2, No. 7, November
200[5].
Power quality has been very interesting research area for past many years. Current
harmonics are one of the most significant power quality issues, which is usually resolved by
using shunt passive filters or shunt active filters. In this paper ICOS algorithm based shunt
active filter is implemented in analog circuit and tested for a nonlinear load. The test results show
Dept of E&E ,AIT Chikmaglure
Page 12
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
that it can compensate for current harmonics. The algorithm was implemented digitally by dsPIC
30F 4011microcontroller with help of MPLAB C30 Compiler.
Afonso,
for a
Page 13
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
modification of the input load current can be activated by the power filter only when capacitor C
ischarged with a particular voltage.
CHAPTER 3
POWER FILTER
3.1 FILTER
A filter is a circuit that is designed to pass a specified band of frequencies while
attenuating all the signals outside that band .It is a frequency selective circuit[1].
There are two types of filters
1) Passive power filter
2) Active power filter
Power electronics devices are widely used in different fields and for different practical
applications. Theexpansion of their field of applications is related to the knowledge of the device
behavior and of theirperformances. One of the most interesting field of application is load
compensation, i.e. active filtering of loadharmonics, load unbalance and / or load power factor
compensation. Both items require a proper drive of powerelectronics apparatus. This result can
be easily obtained by designing specific software programmes. Thedevelopment of these
Dept of E&E ,AIT Chikmaglure
Page 14
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
programmes can be satisfactorily made only on the basis of the theoretical knowledge and ofthe
preliminary evaluation of mathematical models of power electronics devices. It is well-known
that these devicesmake largely use of solid-state semiconductor switches. They have non-linear
electric characteristics that lead tocomplicate analytical expressions of mathematical models. An
important step for solving many practical problemsis researches devoted to evaluate solutions of
non linear system of differential equations that depict mathematicalmodels of such devices. It is
indeed not easy to get general solutions of these problems but it can be considered a
remarkable research effort to try to find solutions for specific devices. In order to obtain these
results, integraltransformations are sometimes useful, because operations in complex domains
make
it
possible
to
find
easier
solutions
in
analytical
closed
form.[11]
with
Page 15
APF OFF
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
(ii)Medium power applications: are used in three phase systems ranging from 100kVA to
10MVA (for current harmonic compensation). Speed of response is in the range100ms-1 sec.
(iii) High power applications: Implementation of very high power dynamic filter
isextremely ineffective because of the lack of high switching frequency power devicesthat can
control the current flow at high power ratings. This is a major limitation forsuch systems. Here,
response time is in the range of tens of seconds.33However, the rating of active filters is very
close to load rating (up to 80%) and hence costof shunt active filters is high. They are difficult to
be implemented in large scale.
Page 16
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
Page 17
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
Page 18
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
Page 19
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
Page 20
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
CHAPTER 4
Page 21
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
domain. The design of the system is perhaps the most critical factor affecting the quality of the
software and has a major impact on the later phases, particularly testing and maintenance.
System design describes all the major data structure, file format, output as well as major modules
in the system and their Specification is decided.
4.2. P Q THEORY
4.2.1. Principles of p-q theory
The Generalized Theory of the Instantaneous Reactive Power in Three-Phase Circuits",
proposed by Akagiet al., and also known as the p-q theory, is an interesting tool to apply to the
control of active power filters, or even to analyze three-phase power systems in order to detect
problems related to harmonics, reactive power and unbalance[12].
The p-q theory implements a transformation from a stationary reference system in a-b-c
coordinates, to a systemwith coordinates --0. It corresponds to an algebraic transformation,
known as Clarke transformation, whichalso produces a stationary reference system, where
coordinates - are orthogonal to each other, and coordinate 0corresponds to the zero-sequence
component. The zero sequence component calculated here differs from the oneobtained by the
symmetrical components transformation, or Fortescue transformation, by a 3 factor. The voltages
and currents in --0 coordinates are calculated as follows: [7][1].
[ v0
Dept of E&E ,AIT Chikmaglure
v ] =A* [ v a v b v c ] (1)
Page 22
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
[ i0
i i ] =A* [ i a i b i c ]
Where,
[ ]
1
2
A =
2/3 . 1
0
1
2
1
2
3
2
1
2
1
2
3
2
p
A. Instantaneous Zero-Sequence Power ( 0)
p0=v 0 i 0= p 0+~
p 0 (2)
Page 23
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
~
p0 -Alternating value of the instantaneous zero-sequencepower. It means the energy per time
unity that is exchangedbetween the power source and the load through the zero-sequence
components of voltage andcurrent.
The zero-sequence power exists only in three-phase systems with neutral wire. Moreover,
the systems must have both unbalanced voltages and currents, or the same third order harmonics,
in both voltage and current, for at least one phase. It is important to notice that
exist in apower system without the presence of
~
p0
. Since
~
p0 is
p 0
cannot
component (it only exchanges energy with the load, and does not transfer any energy to the
load), both
p 0
and
~
p0
must be compensated[15].
(3)
p Mean value of the instantaneous real power. It correspondsto the energy per time unity
that is transferredfrom the power source to the load, in a balanced way,through the a-b-c
coordinates (it is, indeed, the onlydesired power component to be supplied by the powersource).
~
p Alternating value of the instantaneous real power. It isthe energy per time unity that is
~
exchanged betweenthe power source and the load, through the a-b-c coordinates.Since p does
not involve any energy transferencefrom the power source to load, it must becompensated.
Page 24
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
[ ( v a v b ) . ic + ( v bv c ) .ia + ( v cv a ) . ib ]
3
(5)
This is a well known expression used in conventionalreactive power meters, in power systems
without harmonicsand with balanced sinusoidal voltages. These instruments, of the
electrodynamics type, display the mean value of equation(5). The instantaneous imaginary power
differs fromthe conventional reactive power, because in the first case all the harmonics in voltage
and current are considered.
In the special case of a balanced sinusoidal voltagesupply and a balanced load, with or without
q =3. V . I 1 . sin 1 )
harmonics, q is equal to the conventional reactive power (
It is also important to note that the three-phase instantaneouspower (
p3
) can be
written in both coordinates systems,a-b-c and --0, assuming the same value:
p3=v a . i a +v b . i b+ v c . i c = pa + pb + pc
p3=v . i +v . i +v 0 .i 0= p+ p0
Thus, to make the three-phase instantaneous power constant,it is necessary to compensate the
alternating powercomponents
compensate only
~
p0
~
p0
p and ~
. Since, as seen before, it is not possibleto
Page 25
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
~
The compensation of the p-q theory undesired power components ( p
p0
and q)
can be accomplished with the use of an active power filter. The dynamic response of this active
filter will depend on the time interval required by its control system to calculate these values[15].
va vb vc
while
the nonlinear loads connected to each phase produces nonlinear load currents
i a , i b ,i c
.When
the SAPF block is not operating the nonlinear load current are themselves the line currents
i sa , i sb ,i sc
i ca ,i cb , i cc ,
phase opposition to harmonic currentin each of the lines. This compensates the harmonic
Dept of E&E ,AIT Chikmaglure
Page 26
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
distortion and makes the source current balanced sinusoidal while the load current remains
nonlinear. The SAPF block is basically divided into two parts. The first part is a control block
which does necessary computations and operations to generate the compensation current
reference. This reference is fed to the IGBT based Voltage Source Inverter (VSI). A dc capacitor
usually works as the source of power for the VSI.
Page 27
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
coordinates, so
that the active filter can supplythis power to the load through the 0 coordinate (see Fig.4.2.3) in
abalanced way. Also the active filter capacitor can compensate
p0
~
and p . The instantaneous
imaginary power (q), which includesthe conventional reactive power, can be compensated
withoutany capacitor .So for a three-phase system with balancedsinusoidal voltages, the supply
currents are also sinusoidalbalanced, and in phase with the voltages. Thus, the powersupply now
considers the nonlinear load as a purely resistive symmetrical load. The reference compensation
i ,i
currents in the coordinates c c can be calculated from [10].
[]
][ ]
i c
1
v v p z
= 2 2.
.
qz
i c v +v v v
px =~
p p
p = p0
q x =q=q + ~
q
Where
x q x
are the powers to be compensated. Also,the reference compensation current in
p
the 0 coordinate is
i0
itself,
i c0 =i0
Page 28
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
[]
ca
cb
cc
i
i
i
[ ][ ]
1
2
1
= 2/3 . 2
1
2
1
2
1
2
i c 0
3
ic
2
3 i c
2
i cn=( i ca +i cb +i cc )
When the currents are fed to the VSI it generates theexact replica of these currents but in
magnitude equal to theoriginal line currents. These replicated compensation currentsare then
injected to the system to obtain in-phase sinusoidalsource currents with the line voltages that is
to conform powerquality.
This theory is based on time-domain, what makes it validfor operation in steady-state or
transitory regime, as wellas for generic voltage and current power systemwaveforms, allowing to
control the active power filters inreal-time. Another important characteristic of this theoryis the
simplicity of the calculations, which involves onlyalgebraic calculation (exception done to the
need ofseparating the mean and alternated values of the calculated power components)[12].
Page 29
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
Page 30
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
Figure 4.2.4:p-q Theory without Shunt Active Power Filter for load set A
Figure 4.2.5:p-q Theory without Shunt Active Power Filter for load set B
Page 31
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
Page 32
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
pa=( p dc v am ) / ( v am +v bm + v cm )
pb=( p dc v bm ) / ( v am+ v bm + v cm )
pc =( pdc v cm ) / ( v am +v bm + v cm )
Where
v am , v bmv cm
v a ( t ) , v b ( t )v c ( t )
i ca=i sai a
i cb=i sb ib
i cc=i sc i c
The compensation current references
replica of these currents
i ca , i cbi cc
instantaneous to track the compensation currents, it is modeled as a current amplifier with unity
gain.[11][7].
Page 33
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
4.5.Architecture Strategies
The architectural design process is concerned with establishing a basic structural
framework for a system. It involves identifying the major components of the system and
communications between these components. The initial design process of identifying these subsystems and establishing a framework for sub-system control and communication is called
architecture design and the output of this design process is a description of the software
architecture. The architecture of the proposed approach is
Page 34
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
Page 35
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
NO
SAPF operating
YES
Ia,Ib,Ic
themselves
current
i sa
Stop
Page 36
i sb
i sc
Degration in PF
&harmonic distortion
line
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
p0
alpha and betacoordinates, so that the active filter can supply this power to the load through the 0
~
~
p
coordinate in a balanced way. Also the active filter capacitor can compensate p and 0
The instantaneous imaginary power (q), which includesthe conventional reactive power, can be
compensated withoutany capacitor. So for a three-phase system with balancedsinusoidal
voltages, the supply currents are also sinusoidalbalanced, and in phase with the voltages.
Page 37
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
4.7.DETAILED DESIGN
Once the high level design is completed the next stage is to perform detailed design of the
software. While the high level design focuses on the tasks to be performed, the detailed design
concentrates on how these can be performed. Detailed design is a phase where in the internal
logic of each of the modules specified in high-level design is determined. In this phase details
and algorithmic design of each of the modules is specified. Other low-level components and
subcomponents are also described in this section. Each subsection of this section will refer to or
contain a detailed description of system software component. Each subsection of this section
refers to or contains a details description of a system software component. The Algorithm has the
following operations on:
Page 38
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
power electronic converters to improve the power quality of distribution system customers this
work shows that digital control provides better power quality improvement than SDM.
Algorithm:
Phase voltage are Va,Vb,Vc
Nonlinear load currents are Ia,Ib,Ic
Step 1: The source is a balanced Y-connected three-phase voltage source areVa,Vb,Vc
Step 2: The nonlinear loads connected to each phase produces Ia,Ib,Ic.
Step 3: The SAPF block is not operating the nonlinear load current are themselves the
line currents Isa,Isb,Isc
Step 4: It causes degradation in power factor and introduces harmonic distortion.
Step 5: When the SAPF block is operating it injects currents Ica,Icb,Iccequal in magnitude.
Step 6: In phase opposition to harmonic current in each of the lines.
Step 7: This compensates the harmonic distortion.
Step 8: Makes the source current balanced sinusoidal while the load current remains nonlinear.
Page 39
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
Algorithm 2
Step 1:The power components obtained through is p because it corresponds to the energy
transferred from the supply to the load.
Step 2: To compensate all the other quantities SAPF is used.
Step 3: To compensate
p0
alphaand betacoordinates.
Step 4: The active filter can supply this power to the load through the 0 coordinate in a balanced
way.
Step 5:The active filter capacitor can compensate
~
p0
p and ~
Step 6:The instantaneous imaginary power (q), which includes the conventional reactive power,
can be compensated without any capacitor.
Step 7: Three-phase system with balanced sinusoidal voltages, the supply currents are also
sinusoidal balanced, and in phase with the voltages.
Page 40
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
Page 41
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
5.1.1.SIMULINK
Computersimulationisawidelyacceptedtoolforanalysisanddesignofelectricalsystems,thelargeinterc
onnectedpowersystems.DigitalsimulationtoolslikeMATLABofferaconvenientmechanismtosolvet
heseproblems.Itcanbeusedinalmostallfieldofscience,engineeringandinanyotherfieldinwhichextens
ivemathematicalsimulationandvisualreferencerequired.MATLABoffersexcellentplottingfeaturesa
ndgraphicshandlingtechniquessothattheusercanhaveavisualreference.
SIMULINK (Simulation and Link) works with MATLAB to offer modeling, simulating,
and analyzing of dynamical systems under a graphical user interface (GUI) environment. The
construction of a model is simplified with click-and-drag mouse operations. SIMULINK
includes a comprehensive block library of toolboxes for both linear and nonlinear analyses.
Models are hierarchical, which allow using both top-down and bottom-up approaches. As
Dept of E&E ,AIT Chikmaglure
Page 42
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
SIMULINK is an integral part of MATLAB, it is easy to switch back and forth during the
analysis process and thus, the user may take full advantage of features offered in both
environments.
Page 43
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
5.1.2SIMPOWERSYSTEMS
SimPowerSystemsandSimMechanicsofthePhysicalModellingproductfamilyworktogether
withSimulinktomodelelectrical,mechanical,andcontrolSystems.
Page 44
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
5.1.2.1.TheRoleofSimulationinDesign
Electricalpowersystemsarecombinationsofelectricalandelectromechanicaldeviceslikemotorsandge
nerators.Engineersworkinginthisdisciplineareconstantlyimprovingtheperformanceofthesystems.R
Dept of E&E ,AIT Chikmaglure
Page 45
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
equirementsfordrasticallyimprovedefficiencyhaveforcedpowersystemdesignerstousepowerelectro
nicDevicesandsophisticatecontrolsystemconceptsthattaxtraditionalanalysistoolsandTechniques.Fu
rthercomplicatingtheanalystsroleisthefactthatthesystemisoftensononlinearthattheonlywaytounder
standitisthroughsimulation.
Landbasedpowergenerationfromhydroelectric,steam,orotherdevicesarenottheonlyuseofpowersyst
ems.Acommonattributeofthesesystemsistheiruseofpowerelectronicsandcontrolsystemstoachievet
heirperformanceobjectives.
SimPowerSysemsisamoderntoolthatallowsscientistsandengineerstorapidlyandeasilybuildmodelst
hatsimulatepowersystems.SimPowerSystemsusestheSimulinkenvironment,allowingyoutobuildam
odelusingsimpleclickanddragprocedures.Notonlycanyoudrawthecircuittopologyrapidly,butyouran
alysisofthecircuitcanincludeitsinteractionswithmechanical,thermal,control,andotherdisciplines.Th
isispossiblebecausealltheelectricalpartsofthesimulationinteractwiththeextensiveSimulinkmodelin
glibrary.SinceSimulinkusesMATLABasitscomputationalengine,designerscanalsoMATLABtoolbo
xesandSimulinkblocksets.SimPowerSystemsandSimMechanicsshareaspecialPhysicalModelingbl
ockandconnectionlineinterface.
5.2SimPowerSystemsLibraries
WecanrapidlyputSimPowerSystemstowork.Thelibrariescontainmodelsoftypicalpowerequipments
uchastransformers,lines,machines,andpowerelectronics.Thesemodelsareprovenonescomingfromt
extbooks,andtheirvalidityisbasedontheexperienceofthePowerSystemstestingandSimulationLabora
toryofHydroQuebec,alargeNorthAmericanutilitylocatedinCanada,andalsoontheexprienceofEcol
edeTechnologiesuprieureandUniversiteLaval.ThecapabilitiesofSimPowerSystemsformodelingty
picalelectricalSystemsareillustratedindemonstrationfiles.AndforuserswhowanttorefreshtheirKno
wledgeofpowersystemtheory,therearealsoselflearningcasestudies.Followingaretheblocksusedforthesimulation.
5.2.1Three Phasesource
5.2.1a.Description:
Dept of E&E ,AIT Chikmaglure
Page 46
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
TheThree-PhaseSourceblockimplementsabalancedthreephasevoltagesourcewithinternalRLimpedance.ThethreevoltagesourcesareconnectedinYwithaneutralconnectionthatcanbeinternally
groundedormadeaccessible.Youcanspecifythesourceinternalresistanceandinductanceeitherdirectly
byenteringRandLvaluesorindirectlybyspecifyingthesourceinductiveshort-circuitlevelandX/Rratio.
5.2.1b.DialogBoxandParameters
5.2.1c.Phase-to-phasermsvoltage
Theinternalphase-to-phasevoltageinvoltsRMS(Vrms).
5.2.1d.PhaseangleofphaseA
ThephaseangleoftheinternalvoltagegeneratedbyphaseA,indegrees.Thethreevoltagesaregen
Dept of E&E ,AIT Chikmaglure
Page 47
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
eratedinpositivesequence.Thus,phaseBandphaseCinternalvoltagesarelaggingphaseArespectivelyb
y120degreesand240degrees.
5.2.1e.Frequency
Thesourcefrequencyinhertz(Hz).
5.2.1f.Internalconnection
Theinternalconnectionofthethreeinternalvoltagesources.Theblockiconisupdatedaccordingt
othesourceconnection.
Selectoneofthefollowingthreeconnections:
Y-ThethreevoltagesourcesareconnectedinYtoaninternalfloatingneutral.
YnThethreevoltagesourcesareconnectedinYtoaneutralconnectionwhichismadeaccessiblethro
ughafourthterminal.
Yg-ThethreevoltagesourcesareconnectedinYtoaninternallygroundedneutral.
Specifyimpedanceusingshort-circuitlevel:
Selecttospecifyinternalimpedanceusingtheinductiveshort-circuitlevelandX/Rratio.
3-phaseshort-circuitslevelatbasevoltage:
L=
v 2base 1
.
p sc 2 f
Thethree-phaseinductiveshort-circuitpower,involtsamperes(VA),atspecifiedbasevoltage,usedtocomputetheinternalinductanceL.Thisparameterisavail
ableonlyifSpecifyimpedanceusingshort-circuitlevelisselected.
Page 48
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
TheinternalinductanceL(inH)iscomputedfromtheinductivethree-phases
short-
circuitspowerPsc(inVA),basevoltageVbase(inVrmsphase-tophase),andsourcefrequencyf(inHz)asfollows:
5.2.1g.Basevoltage
Thephase-to-phasebasevoltage,involtsRMS,usedtospecifythethree-phaseshortcircuitlevel.Thebasevoltageisusuallythenominalsourcevoltage.ThisparameterisavailableonlyifSpe
cifyimpedanceusingshort-circuitlevelisselected.
5.2.1h.X/Rratio
R=
X
2 fL
=
X
X
R
R
( )
TheX/Rratioatnominalsourcefrequencyorqualityfactoroftheinternalsourceimpedance.This
parameterisavailableonlyifSpecifyimpedanceusingshort-circuitlevelisselected.
TheinternalresistanceRiscomputedfromthesourcereactanceX(in)atspecifiedfrequency,and
X/Rratioasfollows:
5.2.1i.Sourceresistance
ThisparameterisavailableonlyifSpecifyimpedanceusingshortcircuitlevelisnotselected.Thesourceinternalresistanceinohms.
5.2.1j.Sourceinductance
ThisparameterisavailableonlyifSpecifyimpedanceusingshortcircuitlevelisnotselected.Thesourceinternalinductanceinhenries(H).
Page 49
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
5.2.2Three-PhaseV-IMeasurement:
5.2.2a.Description:
TheThree-PhaseV-IMeasurementblockisusedtomeasurethreephasevoltagesandcurrentsinacircuit.Whenconnectedinserieswiththreephaseelements,itreturnsthethreephase-to-groundorphase-to-phasevoltagesandthethreelinecurrents.
Theblockcanoutputthevoltagesandcurrentsinperunit(p.u.)valuesorinvoltsandamperes.Ifyouchooset
omeasurethevoltagesandcurrentsinp.u.,theThree-PhaseVIMeasurementblockdoesthefollowingconversions:
V abc ( p. u)=
V abc ( volt )
( V baseLL )
3
Where
V baseLL
I abc ( p . u)=
.2
I abc ( amperes )
P base
.2
V baseLL 3
isthebaseline-to-linevoltageinvoltsRMSand
phasebasepowerinvolts-amperes.Thetwobasevalues
V baseLL
and
Pbase
Pbase
isthethree-
arespecifiedintheThree-
PhaseMeasurementblockmenu.
Thesteady-statevoltageandcurrentphasesmeasuredbytheThree-PhaseVIMeasurementblockcanbeobtainedfromthePowerguiblockbyselectingSteadyStateVoltagesandCurrents.ThephasormagnitudesdisplayedinthePowerguistayinpeakorRMSvalues
eveniftheoutputsignalsareconvertedtop.u.
Page 50
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
5.2.2b.DialogBoxandParameters
Signal label
Dept of E&E ,AIT Chikmaglure
Page 51
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
Specifies a label tag for the voltage measurements.Voltages in pu, based on peak value of
nominal phase-to-ground voltage .If selected, the measured phase-to-ground voltages are
converted in pu.Voltages in Pu, based on peak value of nominal phase-to-phase voltage
If selected, the measured phase-to-phase voltages are converted in pu. This parameter is
not visible in the dialog box if Voltage measurement parameter is set to phase-to-ground or no.
Nominal voltage used for pu measurement (Vrms phase-phase)
The nominal voltage, in volts RMS, used to convert the measured voltages in pu. This
parameter is not visible in the dialog box if Voltage measurement parameter is set to no.
5.2.2d. Current measurement
Select yes if you want to measure the three-phase currents that flow through the block.
Use a label
If selected, the current measurements are sent to a labeled signal. Use a From block to
read the currents. The Goto tag of the From block must correspond to the label specified by
the Signal label parameter. If not selected, the current measurements are available via the
I abc
Page 52
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
Set to Real-Imag to output the real and imaginary parts of the measured voltages and
currents.
Set to Magnitude-Angle to output the magnitudes and angles of the measured voltages
and currents.
Set to Magnitude to output the magnitudes of the measured voltages and currents. The
output is a scalar value.
5.2.2g. Inputs and Outputs
V abc
.
V abc
The
three
measured
phase-to-ground
or
phase-to-phase
voltages.
The
output disappears when the Use a label parameter is selected or when the Voltage
I abc
label parameter is selected or when the Current measurement menu is set to no.
Page 53
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
CHAPTER 6
Page 54
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
Figure 6.1:The three phase load currents for load set A (a)
ia
(a)
ib
and (a)
ic
Figure 6.2:The three phase load currents for load set B (a)
ia
(a)
ib
and (a)
ic
Page 55
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
Figure 6.3:The three phase source currents before compensation for load
(P-q-SAPF) (a)
i sa
(b)
i sb
and (c)
i sc
Figure 6.4: The three phase compensation currents for load (p-q SAPF) (a)
Dept of E&E ,AIT Chikmaglure
Page 56
i ca
(b)
i cb
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
(C)
i cc
Figure 6.5:The three phase source currents after compensation for load
(p-q -SAPF) (a)
i sa
(b)
i sb
and (c)
i sc
Page 57
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
Figure 6.6:The three phase compensation currents for load (SDM- SAPF) (a)
i cb
(C)
i cc
Figure 6.7:The three phase source currents before compensation for load
(SDM-SAPF) (a)
i sa
(b)
i sb
and (c)
i sc
Page 58
i ca
(b)
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
Figure 6.8:The three phase source currents after compensation for load
(SDM-SAPF) (a)
i sa
(b)
i sb
and (c)
i sc
Page 59
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
BIBILOGRAPHY
[1]
E. W. J. M. Joo Afonso, Maurcio Aredes, Shunt active filter for power quality
improvement, International Conference UIE 2000 Electricityfor a Sustainable Urban
Development Lisboa, Portugal, Nov. 2000.
[2]
[3] Ahmad Jamshidi, S. Masoud Barakati, and M. Moradi Ghahderijani. Impact of Distributed
Power Flow Controller to Improve Power Quality Based on Synchronous Reference
Frame Method. IACSIT International Journal of Engineering and Technology, Vol. 4,
No. 5, October 2012.
[4]
[5]
Ginnes K John1, Sindhu M R2, and Manjula G Nair3. DSP Based Digital Controller for
Shunt Active Power Filter to Improve Power Quality. International Journal of Recent
Trends in Engineering, Vol 2, No. 7, November 2009.
[6]
Page 60
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
[7]
[9]
Janko Nastran, Member, IEEE, Rafael Cajhen Matija Seliger, and Peter Jereb, Active
power filter for nonlinear ac loads .Member, IEEE transactionson power electronics,
vol. 9, no. 1, january 1994
[10]
[11]
Moleykutty George and 2Kartik Prasad Basu Three-Phase Shunt Active Power Filter.
63100 Cyberjaya, Malaysia American Journal of Applied Sciences 5 (8): 909-916, 2008
ISSN 1546-9239
[12]
Emlio F. Couto, Jlio S. Martins, Joo L. Afonso Simulation Results of a Shunt Active
Power Filter withControl Based on p-q Theory. Department of Industrial Electronic
University of Minho Campus de Azurm 4800-058 Guimares (Portugal)
[13]
Moinuddin k Syed, 2dr. BV Sanker ram Instantaneous power theory based active
power filter: a matlab/ simulink approach.
[14]
Joo L. Afonso, M. J. Seplveda Freitas, and Jlio S. Martins, p-q Theory Power
Components Calculations.ISIE2003 - IEEE International Symposium on Industrial
Electronics Rio de Janeiro, Brasil, 9-11 Junho de 2003, ISBN: 0-7803-7912-8
[16] Joo L. Afonso, Member IEEE, H. J. Ribeiro da Silva and Jlio. S. Martins, Member IEEE
Active Filters for Power Quality Improvement. 2001 IEEE Porto PowerTech, 10-13 Set. 2001,
Porto, Portugal, ISBN: 0 7803 7139 9.
Dept of E&E ,AIT Chikmaglure
Page 61
Synchronous Detection and Digital control of Shunt Active Power Filter in Power Quality
Improvement
BIODATA
NAME: Mahesh C Giriyappanavar
USN: 4AI12EPS05
DATE OF BIRTH: 4TH December 1990
MAIL ID: Maheshgiriyappanavar@gmail.com
ADDRESS:M.C. Giriyappanavar
Near S.R.S High School, Guttal
Tq/dst: Haveri (581108)
ACADEMIC QULIFICATION: Electrical and Electronics Engineering
S.T.J.I.T College Ranebennure
Visvesvaraya University
First Class (64.63%)
Page 62