Active Filters: A Unified Approach

188
Active Filters: A Unified Approach A thesis submitted for the degree of Doctor of Philosophy by Ziaddin Daie Koozehkanani Department of Electrical Engineering and Electronics, Brunel University April 1996

Transcript of Active Filters: A Unified Approach

Page 1: Active Filters: A Unified Approach

Active Filters: A Unified Approach

A thesis submitted for the degree of Doctor of Philosophy

by

Ziaddin Daie Koozehkanani

Department of Electrical Engineering and Electronics, Brunel University

April 1996

Page 2: Active Filters: A Unified Approach

Dedicated to

my wife Fariba, my children Nasim and Rcta, my mvtlier and my late father

with love and respect

Page 3: Active Filters: A Unified Approach

ACKNOWLEDGMENTS

The author gratefully expresses his sincere appreciation to his supervisor Dr Pratap

hichta for his invaluable guidance and encouragement throughout the course of the

research work. Ills keen interest and constructive comments contributed greatly to the

development of the work.

The author thanks Dr M. Darwish for his valuable discussion during the work and also

thanks the staff of the Power Electronic Group for their friendship and providing the

necessary research facilities.

Finally. the author sincerely acknowledges the financial support provided by the Iranian

Ministry of High Education for this coursc.

i

Page 4: Active Filters: A Unified Approach

ABSTRACT

The increase in the occurrence of non-linear loads in power systems has caused

considerable concern to power utilities and manufacturers of power electronics

equipment. To alleviate the problems caused by generation of current harmonics, there

has been considerable interest in the use of active filters. This thesis presents a unified

approach to the design of active filter configurations. It is shown that this approach

offers a systematic method of classifying existing structures and it can be used for

developing new circuits.

il

Page 5: Active Filters: A Unified Approach

Contents

CONTENTS

Acknowledgments

Abstract

Contents

Symbols and Abbreviations

1. Introduction

1.1 Background information and objectives

1.1.1 Background information

1.1.2 Aims and objectives

1.2 Historical perspective and review of published work

i ri

In

vi

I

2

2

4

7

1.2.1 Historical perspective 7

1.2.2 Review of active filtering methods 9

1.2.2.1 Switched-capacitor filters 9

1.2.2.2 Voltage and current-source configurations 12

1.3 Author's contribution 17

2. Techniques for Synthesizing Active Filters 20

Iii

Page 6: Active Filters: A Unified Approach

Contcnu

2.1 The principle of active filtering method 21

2.2 Criteria for design of active filters 21

2.3 Specification of the current in active filter applications 22

2.4 Role and importance of energy storage elements in active filter structure27

2.5 Basic techniques for building active filter 29

2.5.1 One terminal of inductor fixed and the other floating 29

2.5.2 Both terminals of the inductor floating 57

2.5.3 Constant current source as a storage element 68

2.6 Conclusion 69

3. Operation and Performance of Proposed Active Filters 71

3.1 Performance criteria for active filters 72

3.2 Operation and performance of active filter scheme No. 4 (Section 2.5.1)72

3.3 Operation and performance of active filter scheme No. 6 (Section 2.5.1)80

3.4 Operation and performance of active filter scheme No. 7 (Section 2.5.1)88

3.5 Conclusion

4. Conclusions and Future Work

4.1 Conclusions

4.2 Future work

97

98

99

101

References 1 06

Appendices

A Microprocessor Control of Active Filters 117

iv

Page 7: Active Filters: A Unified Approach

Contcntt

A. 1 Software design

A. 2 Switch implementation

A. 3 Need for isolation

A. 4 Complete driver circuit

118

119

120

121

B Evaluation of Switching Pattern and Circuit Parameters by General

Optimization Method 124

B. 1 Load with fixed condition 125

B. 2 Load with varying condition 129

C FORTRAN Programs for Optimisation Method 132

C. 1 Main Program 133

G2 Subroutine'FUNCERR' for evaluation of cost function 140

C. 3 Subroutine 'DERRO' for evaluation of gradient of cost function and

direction of steepest descent 144

C. 4 Subroutine'FUNC' for analysis of the proposed active filter circuits 147

D Published Papers 171

V

Page 8: Active Filters: A Unified Approach

Symbols and Abbreviations

Symbols

Lower and upper case symbols are used to represent instantaneous and rms quantities,

respectively. Peak values are represented by upper case symbols with '^'. Subscripts i,

dc, f, and I indicate quantities related to the ac input supply, dc supply, filter and load

respectively. Subscripts n-1,2,3, ... and dis denote the harmonics and the total

distortion component, respectively.

C capacitance, F

L inductance, 11

R resistance, 12

V and v voltage, volt

I and i current, amp

P., average power. W

S apparent power, VA

Ti efficiency

vi

Page 9: Active Filters: A Unified Approach

0 is the angle by which the supply current lags supply voltage

µ distortion factors that equals to 1,1 /I,

COS ©, displacement factor

f frequcnccy. hertz

(a 2nf, radian /sex

The symbols and arrangements that are used for unidirectional and bi-directional

switches are shown in the following Figures.

/. _ -->Zý symbol T

The arrangement

The unidirectional switch

. _ý. _

symbol

The arrangement

The bi-directional switch

Abbre%iations

MOSFET metal-oxide-semiconductor field effect transistor

TIHD total harmonic distortion

va

Page 10: Active Filters: A Unified Approach

PF powcr factor

SW switch

viii

Page 11: Active Filters: A Unified Approach

Introduction Chapter One

CHAPTER ONE

Introduction

This introductory chapter is concerned with three aspects of this investigation: (a) the

background information relating to the problems bcing investigated and the objectives of

this research, (b) the historical perspective and the review of published work and (c) the

outline of the author's contribution and achievements.

I

Page 12: Active Filters: A Unified Approach

Introduction Chapter One

1.1 Background Information and Objccth"cs

1.1.1 Background Information

In recent years there has been a considerable growth in the use of non-linear and time-

varying loads such as large industrial static converters down to power supplies for small

domestic electronic devices. Iligh efficiency, compact size and case of control, coupled

with the ever decreasing cost of power electronics and associated technologies, makes

the use of these circuits very attractive for all power conditioning applications.

'Mere are however a number of serious drawbacks associated with power electronics

circuits; the most serious being the tendency to draw non-sinusoidal current from the

supply. This distortion of the supply current results in degradation of the power factor

and if the level of current harmonics is high, they interact with the network impedance

causing voltage distortion.

Harmonics can also cause problems in a variety of other ways. One of the most

destructive and costly of these, is through resonance between power factor correction

capacitors and system inductance. This resonance can lead to large currents and the

possible degradation of capacitors, which in turn could lead to catastrophic breakdown.

Furthermore, the harmonics which are injected back into the mains supply can interfere

with other consumers connected to the supply. Power converters arc also responsible

for the generation of RFI and EAMI [Arrilaga 85J.

2

Page 13: Active Filters: A Unified Approach

Introduction Chnptcx One

Powcr systems as a whole arc also affected by harmonics through increased losses in

transmission equipment, eddy currrnts In transformer and motor laminations, as well as

harmonic torque in ac machines [Anillaga 851.

Nonlinear and time-varying loads arc classified into identifiable and unidentifiable loads,

depending on whether they arc easy to detect at the point of connection. Large capacity

diodes or thyristor rectifiers, cycloconvcrters installed by high and medium-voltage

consumers are typical identifiable harmonic-producing loads. On the other hand, single-

phase diode rectifiers with capacitive smoothing are representative of unidentified loads.

Examples of these are TV sets and personal computers. Although a single-phase diode

rectifier generates a negligible amount of harmonic current, the total amount of harmonic

current produced by large number of single-phase diode rectifiers has become dominant

in power distribution systems [Rjoual 95, Akagi 95].

With increasing demands on the quality of supply being placed on electricity distribution

utilities, it is likely that there will soon be stringent regulations regarding the amount of

distortion and power factor degradation that any consumer may impose on the supply.

In recent years, the quality of power supply has become an important issue and

recommended harmonic limits have been published by various organizations; among

them are updated IEEE519 and IEC standards [IEEE Std. 519 92, IEC 90J.

Generally individual low power and high power consumers are required to be responsible

for limiting the current harmonics caused by power electronics equipment, while the

3

Page 14: Active Filters: A Unified Approach

tntroduciion Chaptcr One

electric utility companies are responsible for limiting voltage harmonics at the point of

common coupling in power transmission and distribution systems (Xu 94J.

1.1.2 Aims and objectives

Under normal conditions, the power supply can be assumed to be a sinusoidal voltage

source.

v, (t) V. sin to t

A non-linear load consists of fundamental component and higher-order harmonics

represented by [iisu 96J:

fi(t)= 2 1. sin(nwt+0�) somi

'Therefore the instantaneous load power can be expressed as

p, L(t)=v, (c)it(c)

(1)

=1, V�sin=wt cos0, +I, V�sinto t coswt sin O, + IV. sinwtl�sin(nwt+0. ) (2)

..:

In this equation the first term is the mal power, the second term is the reactive power

and the third term represents the harmonic power, i. e.

..

!, V. sin co tcosw tsin8, + V. sinwtl�sin(nw t+6. ) (4) w. 2

Because of the vide spread use of non"lincar loads it is not possible to eliminate current

harmonics totally from supply systems, because it is very difficult to estimate in advance

the distribution and level of current harmonics in a network. For some problems , such

4

Page 15: Active Filters: A Unified Approach

introduction Chaptcr One

as interference with telecommunication systems. it is morc economical to protect these

systems locally (Arrillaga 851.

A more realistic objective can be to reduce the problem to an acceptable level at the

point of common coupling with other consumers as recommended by harmonic

standards. Many research papers and methods have been proposed to solve these

problems. One approach is to use power conveners. such as boost regulators. which do

not generate significant currcnt harmonics (Dakyo 951.

Use of filters, active or passive. must ensure that they do not interfere with the load

requirement. This implies that series passive filters may be used, provided that they are

used in conjunction with shunt filters, so that load requirements arc met [Fukuda 95,

Peng 931.

Figure 1.1 shows the diagram of a system used for filtering current harmonics using

shunt filters. The filter is connected in parallel with the load and should operate in a

manner such that the total current drawn by the filter and the load is sinusoidal.

ac supply

f, - 4

itarmonus Generating A

linear Load

r ..

Generating Non- linear hood

Filter

Figure 1.1 Principal of shunt filtering technique

S

Page 16: Active Filters: A Unified Approach

Introduction Chapter One

As equations (1) and (2) show. it non-linear load requires both reactive as well as

harmonic power. If ideally. a shunt filter compensates for both thcsc powers, then the

supply current would be sinusoidal and In phase with the supply voltage i. e.

l, (t)"/, cos©, sinrau=l, sinwt (4)

whcrc %m it cos 8, (s) I lowcvcr the supply must provide not only the real power of the load, but also the losses

associatcd with the filters jCavallini 941.

Passive LC filters and power capacitors have been used to attenuate the current

harmonics and improve power factor conventionally. The passive filters although

effective have a number of limitations. Individual filter sections arc required for

controlling each harmonic and therefore overall harmonic current compensation may be

uneconomical. Whilst passive filters are reliable and easy to design, their performance

depends on network impedance and are sensitive to supply voltage distortion. Also there

is a possibility of voltage and current amplification due to parallel and series resonance

phenomena (Pereira 95, Cavallini 94].

Active filtering techniques, unlike passive filters, provide flexibility such that they can

cope with the variation in the filtering requirements, as the load and system conditions

vary. The active filters rather than introducing resonance in the network can be used to

dampen existing resonance [Le 93. Pereira 95]. Significant changes in their

characteristics can be achieved just by software measures, without hardware

modification. provided the filters are adequately rated. The combined topology of these

6

Page 17: Active Filters: A Unified Approach

Introduction Chapter One

filtcz (scrics-conncctcd) with passivc filtcrs. rcducc greatly the aforcmcntioncd problems

of using only passivc filters (Rastogi 95. Pouliqucn 95. Pcng 931.

Active filters are inherently time varying structures, because they are controlled via

switches and their associated switching patterns. Various configurations have been

proposed in the past and in the main they employ voltage or current source inverters

(Grady 901.

The active filters can be classified according to their configurations and control strategies

as discussed later in this chapter.

1.2 historical Perspective and Review of Published Work

1.2.1 Historical perspective

The harmonics in power systems, particularly harmonics caused by static converters,

have been the subject of concern for many years. In 1945 a classical paper on harmonic

generation by static converters was written by J. GRead [Read 451 which was followed

by a large number of papers in this topic during the 1950s and 1960s. These papers

were summarised in a book by Kimbark [Kimbark 711 which contains over 60

references. Since 1975, the subject of power system harmonics has been regularly

discussed at international meetings and extensive bibliographies were produced. A

complete book on power system harmonics has been published by J. Arrillaga,

D. A. Bradlcy and P. S. Bodgere in 1985 which contains the description, theory and design

7

Page 18: Active Filters: A Unified Approach

Inuvduction Chapter One

of passive filters. A close examination of published work indicates that until recently

only passive filtering techniques were the subjects of concern. There havc bccn several

attempts to achieve harmonic current control by other means including:

" Triple harmonic injection in 1968.1969 [Died 69)

" Magnetic flux compensation in 1972 [Sasaki 711

" D. C ripple injection in 1980 [Baird 801

" Thyristorised harmonic cancellation device in 1980 (Emanuel 80)

" Switching taps of interphase reactor (Nliyairi 86)

" Increasing the number of rectification pulses [Arrillaga 851

" Boost converters [Rastogoi 94, Dakyo 951

The last two methods are used to improve the characteristics of particular nonlinear

loads in order to reduce distortion, so strictly speaking they cannot be called filtering

methods. The others are filtering techniques which use active elements. Most of these

methods are concerned with harmonic reduction in specific cases of static high power

converters and can not be generalised. These methods are usually employed to reduce

harmonics over a limited range. Some of these techniques overcome some of the

limitations associated with passive filters but still have serious drawbacks.

At present a great deal of research has been devoted to the problem of harmonic

elimination by active filtering methods using circuit configurations, which can be used at

network level rather than for individual loads. The most recent developments in this area

include the following.

8

Page 19: Active Filters: A Unified Approach

Introduction Chapter One

" Switched capacitor techniques(Mehta 901

" Voltage source conveners (Machmoum 95, Jou 951

" Current source conveners (d tayashi 88, Fukuda 9Sj

A detailed study of the published papers relating to these techniques has been carried

out. A brief description of these methods together with their relative merits is

summarised below to identify the present trends.

1.2.2 Review of Active Filtering Methods

The active filters can be classified in a number of different ways. They can be divided

into active dc and active ac types. The former has been employed to compensate for

voltage or current harmonics on the dc side of power converters such as in HHVDC

systems [Bottino 95, Delaney 95). However in this thesis, the emphasis is on active ac

filters and the term 'active filter' is used for ac types only.

1.2.2.1 Switched-capacitor filters

The method, as shown in the Figure 1.2 and described in (Mchia 901, consists of two

capacitors in parallel with two bi-dinemional switches in series with each capacitor. The

combination is connected to the mains via an inductor. The two switches are operated in

antiphase so that the current flows through them alternately. The values of the

capacitors, the inductor and the pattern of switching functions define the filter

characteristics.

Two strategies for control of active filters have been used in the past: analytical methods

and pattern recognition techniques. In the analytical methods the switching pattern is W

9

Page 20: Active Filters: A Unified Approach

inuoducttat Chapter One

generated by detailed analysis of the current waveshapes. With the pattern recognition

approach, the system is trained with samples of practical waveforms to Identify the

required switching pattern from previously learnt data. Both methods arc carried out In

the frequency domain and arc amenable to on-line or off-line strategies.

ac $ wply

4 i, º L -6 ý-

Ilarm nics Generating

Load lý 1

T--T-r Figure 1.2 The switched capacitor filter

In this analytical method. the switching pattern and circuit parameters are opdmiscd to

minimise the difference between load current harmonics and filter current harmonics,

which is called the error function. This control technique is carried out in frequency

domain for off-line control, such that if the coefficients of harmonics in the load and filter

currents are denoted respectively by C. and X., the error function, J, which is minimised,

is given by

Nu

ý. -X; w. J

Figure 1.3 outlines a typical experimental set-up which is used in the pattern recognition

method. It uses a 486,33 MHz computer. In practice the whole system could be built

on a custom chip using well established microelectronics technology

10

Page 21: Active Filters: A Unified Approach

lnuoducdon

Q. C.

supply C. T. and ZCD.

I Switthtd-Capatttor filter

Non linear load (such as power supply in U. P. S. system)

Chaptcr One

Detection. Recognition and Generation System

S Sae 64

tis, cs / cycic

CFT ý- Find and

Match

Output pattern /. I)

NumI rr

ý-#

Figure 1.3 The pattern recognition method

The zero-crossing detector synchronizes the system with the mains, and the current

transformer monitors the current. The 486 machine samples the waveform and via the

FFP software. the frequency spectrum is determined. Using a range of loads, the system

is taught predictable events (waveforms). During commissioning or actual operation of

the circuit, the sampled waveform is processed, and the system finds the best appropriate

match with the stored information.

In the event that the match is not accurate, it is possible to intervene, teach and update

the 'knowledge-base' in the machine. It is claimed that the main benefit of this approach

is that it is significantly faster, because the system does not require any time for on-line

calculations. Also it is more adaptable and capable of modification in service [Darwish

931.

11

Page 22: Active Filters: A Unified Approach

lnuoducdon Chaptct One

1.2.2.2 Voltage-source and current-source configurations

Two fundamental approaches, in conjunction with voltage-type and cumnt-typc

converters. incorporating control strategies. either in time or frequency domain, have

bccn proposed in recent publications (Saetieo 95).

The voltage-source and the current-source configurations are illustrated in Figures 1.4

and 1.5. The converters, in principle, arc standard voltage-source or current-source

devices where either the voltage or current on the dc side is maintained constant. In

both cases, the dc source receives its power from the ac power system, either through

the switching action or through a separate charging circuit [Malesani 91[.

ac swºvly

ac supply

r

4

IL

tr L 4-

Harmonics Generating

Load

Figure 1.4 Voltage-type Active Filter

IL

Ilarmonics Generating

Load J

Figure 1.5 Current-type Active Filter

li -º

12

Page 23: Active Filters: A Unified Approach

Introduction Chapter One

Some references propose that these types of active filters may be used in conjunction

with conventional tuned harmonic high-pass filters. Thcsc hybrid systems offer the

advantages of reduced converter size and cost 1 ukuda 95J. It is not possible to identify

in the literature a clear trend as to which type is preferred. The choice depends on the

source of harmonic current at the specified bus, equipment cost, and amount of

correction desired.

Voltage-type conveners have an advantage in that they can be readily operated in

parallel to increase the overall rating [Komatsugi 86). Generally voltage-type converters

are lighter and less expensive than current-type converters. The main drawback of

voltage-type converters lies in the increased complexity of their control systems. For

systems with several converters connected in parallel, this complexity is greatly

increased

Current-type converters are, on the other hand, claimed to be simple and more reliable

Higher losses are their main drawback. Losses arc less important in low-power

applications but very important in high-power applications. Since voltage type

converters are easily configured for parallel operation, they are likely to be used for

network-wide compensation.

Current-type will continue to be popular for single-node distortion problems. In other

words, electricity utility interest is likely to be focused on voltage-type conveners, while

industrial users will most likely use both types.

13

Page 24: Active Filters: A Unified Approach

Inuoduction Chaptu One

31c control stralM

The control strategy in time-domain, is based on the principle of holding instantaneous

voltage or current within some reasonable tolerance limits, with respect to the supply

voltage. An instantaneous error function is computed 'on-line', and it is the difference

between actual and refcrenc c waveforms.

Time-domain control strategy can be classified as:

- Triangular-wave

- hysteresis

The triangular-wave method (Peng 881 is the easiest to implement. it can be used to

generate either a two-state or three-state switching function. A two-state switching

function consists of a dc source that can be connected either positively or negatively, as

illustrated by c'(t) in Figure 1.6.

Euractcd (without fundamental conyvncni) error function c(t)

4

c'(t1 ...

I

. -. . _. ýý am. ....

Figure 1.6 Control strategy with two states triangle-waveform method

A three state switching function can be positive, negative, or zero (off). Therefore the

inverter is always 'on', when a two-state function is used, but it can be turned off when a

14

Page 25: Active Filters: A Unified Approach

Introduction Chnptct One

three-state function is employed. For a currcnt"sourcc converter. the off-state

corresponds to the inductor being short-circuited through a frcc"whccling diode.

As shown in Figure 1.6, the extracted error function c(t) for the triangle-wave method is

compared to a higher-frequency triangle carrier wave up to 50 Khz [Grady 901. The

inverter is switched each time the two curves cross, and the result is an injected signal,

e'(t), that produces equal but opposite distortion. The net effect is reduction of the

extracted error and compensation of distorted waveforms.

The most commonly proposed time-domain control technique is the hysteresis method

(Sactico 95J. Preset upper and lower tolerance limits are compared to the extracted

error signaL As long as the error is within the tolerance band, no switching action is

taken. Switching action occurs whenever the error leaves the tolerance band. When

using a two-state switching function, the inverter is always 'on'. However, when a

three-state switching function is used, the inverter is 'off. as long as the error is within

the tolerance band. The injected signal, c'(t), for this case is illustrated in Figure 1.7.

Extracted (without fundamental component) error function c(t)

e(r)

hysteºuis band . ý/ý: ýýý"ýýýýýýýýssýýýýýýýýýý ýý

I

e'(t)

II Figure 1.7 Control strategy with hysteresis

r #

15

Page 26: Active Filters: A Unified Approach

Introduction Chapter One

Control strategy in the frequency-domain is based on the principle of Fourier analysis

and periodicity of the distorted voltage or current waveform to be corrected. The recent

references (Choc 891 use Fourier transforms to determine the harmonics to be injected.

Once the Fourier transform is obtained, an inverter switching function is computed to

produce the distortion-cancclling output. The inverter switching frequency must be

more than twice the highest compensating harmonic frequency (Choe 89].

The operating principle for frcqucncy-domain converters is illustrated in Figure 1.8.

Extracted error c (t) is obtained using a 5011z filter circuit. Next, the Fourier transform

of e(t) is taken. Finally, a compensating switching function c(t) is constructed by solving

a set of nonlinear equations to detcnnine the precise switching times. This can be

accomplished with either two-state or three state strategies as shown in Figure 1.9. The

nonlinear equations are usually linearised about some operating point.

Mtasurcd wavtfvrm f(t)

C(I) 4

ý j(t) _ ýF� tin(nwypt +A�)

T

Error function without fundan ental co ponent ý

e(t) - Y. F, sin(nuot +0�)

Figure 1.8 Measured waveform and extracted error signal for frequency-domain control strategy

16

Page 27: Active Filters: A Unified Approach

introduction Chaptcr One

Two-state rwtuhtng junuton

t'( I) " ý. . -. . -ý. t-

ýý S. -I

T 7'J. -ee, rtate switching fwetton

C'( t) In Ll --

El u D

II S f

Figure 1.9 Two-state and three state switching functions in frcqucncy-domain control strategy

The main disadvantage is that the computation time required can be very high, thereby

reducing the speed of response. his time can be reduced by using expert systems.

1.3 Author's Contribution

Whilst the research into active filters extends over the past decade, it is only very

recently [Akagi 951 that there has been any serious implementation of this technique.

Over this period a number of different approaches have been proposed and investigated.

However, there has been a lack of any coherent theoretical basis for the various

techniques proposed. The author's aim was to carry out a critical survey of existing

techniques and attempt to produce a generalized approach.

The author claims to have made the following contributions.

17

Page 28: Active Filters: A Unified Approach

lntraluction Chapter One

" In chapter I the existing active filter circuits and their control techniques arc critically

reviewed.

" The aim of all active filters is to match the filter current to the harmonic current

drawn by non-linear loads. This is generally achieved using approximation methods

which aim to generate the required waveshape of the filter current within some set

boundaries. In chapter 2 the author has proposed that these approximation methods

can be classified into the following categories.

(i) continuous pieccwisc linear approximation

(ii) continuous piccewise non-linear approximation

(iii) discontinuous piecewise linear approximation

" The aim of these methods is to linearise the overall effect of non-linear loads using

active filters.

" It is recognised that the control of energy flow in storage elements (L and C),

particularly L, plays a key role in active filters. This fact together with the

approximation techniques, is employed to propose functional diagrams which are

used to classify existing circuits and develop new structures.

" Several new circuits are proposed, and simulated results arc given, to identify the

major characteristics of these structures.

" Chapter 3 contains the details of design of the new circuits incorporating two criteria;

(1) optimisation based on minimisation of total current harmonic distortion.

18

Page 29: Active Filters: A Unified Approach

Introduction Chapter One

(ii) optimisation based on minimisation of total apparent powcr (power factor

correction and minimisation of power consumption in the filters ).

" The optimisation methods together with the details of computer programs written by

the author arc included in the appendices.

19

Page 30: Active Filters: A Unified Approach

Techniques for Synthesizing Active Filters Chapter Two

CIIAI'TEK'IIYO

Techniques for Synthesising Active Filters

This chapter focuses on the principles of this work. The design criteria of active filtering

techniques arc discussed and a generalised approach for synthesising active filters is

developed. It is shown that the existing circuits fall within this generalised approach.

The main contribution of this approach, however, is that it can be used for developing

new circuits. A number of new circuits which have been developed are described,

analysed and simulation results are presented.

20

Page 31: Active Filters: A Unified Approach

Techniques for Synthesizing Active Rhea Chapter Two

2.1 The Principle of Active IIlltering Method

Figure 2.1 shows the principle of the method used for filtering unwanted current

harmonics caused by non-linear loads using shunt active filters (Cavillini 94, Akagi 95).

The active filter is connected in parallel with the load so that the total current drawn

from the supply is purely sinusoidal. and ideally. the filter current should contain no

fundamental component of current. This requires that the structure of the active filter

should be time varying in nature such that the overall system Is linear. Therefore the

magnitude, the order and the phase of the individual current harmonics drawn by the

filter should be controlled.

I. wd

vj

"r

0

4b. º

*-a

I& Non-linear load

Active Filter

Figure 2.1 Principle of active filtering technique

2.2 Criteria for Design of Active Filters

The design of active filters must meet a number of important criteria:

" The rate of rise of current (di /dt) in the circuits should not exceed the specified limits

of the semiconductor switches, otherwise the switches would be damaged.

" The voltage and current ratings of the switches should be within the specified limits.

" For economic reasons, the power dissipation should be minimized as much as possible

and the component count should be low.

21

Page 32: Active Filters: A Unified Approach

Techniques (o S)nthcsiting Active Him Chnptu Two

" Since the passive circuit elements in the active filters are fixed at the design stage, the

flexibility required should be achieved through judicious selection of switching

patterns which may require on-line control.

" Ideal active filters should not consume any real power. however because active

filters use reactive elements, in general certain amount of real and reactive power

consumption is inevitable. Whenever possible. the reactive power should be

maintained in the leading mode so that, if anything, power systems would benefit from

the introduction of such devices.

23 Specification of the current in active filter applications

For active filter applications, as already explained, the requirement is that the supply

current should be sinusoidal. The supply current consists of nonlinear-load and filter

currents:

%, Y, ', y, =I+ tý,

ý ,=k sin (w t+8)

or

=-I, r,., +k sin (w t+0)

where k is a scaling factor based on the mal power demand of the load and filter current

and 0 is the phase of the fundamental current

Therefore the filter current waveform should approximate the required shape. This can

be achieved by tracking the required current waveform within set boundaries. The

author has proposed a classification of seven different tracking techniques. In the

follo%%ing sections these techniques are described, and it is shown that the currently

22

Page 33: Active Filters: A Unified Approach

Techniques for Synthcctiing Active Filtc» Chapter Two

employed approach for constructing active filters, as wcll as the new circuits proposed

here. ernpioy one of these tracking techniques.

(a) Picceisc -

inear_ upnmx; cation: As shown in Figurc 2.2, the filter current is

continuous but its rate of change, di /dt. Is varied (positive or negative) such that its

magnitude is maintained within spccificd boundaries by employing a suitable switching

function. In practice. as will be shown, this is achieved by changing circuit topologies

which control the flow of energy between the supply and the filter as well as the

distribution of energy within the filter

di dli di <0 ' dt'*RO

t. 1 I. twil tool

Figure 2.2 The Pieccwise Linear approximation method.

For the filter current to track the rcquized waveshape the following condition should be

satisfied

di di -> dr ý. º

dt .., r e,...,,

23

Page 34: Active Filters: A Unified Approach

Tcchniqucs for SynthcsLzing Arrive P'iltus Chaptu Two

(b) N=wisc nonli gcat. tippmsi don: This method is illustrated in Figures 2.3. As in

method (a), the filter current is continuous but here its rate of change, di ldt, Is varied as

well as dpi kits (positive or negative) such that its magnitude is maintained within

specified boundaries by employing a suitable switching function

d'! d't

(i)

-- ý- .. i-ý ý- d1 t4-ý. -I! dit+.. r". J

4. a to 4. º

J

dt<0. , >0

di d'i di ýý' dt'

(ü)

1«i Ir 4N

24

Page 35: Active Filters: A Unified Approach

Techniques for Synthcslsing Active Filters Chapter Two

di d' «i >q .J 8<<q

(iii)

( N)

r0 ., ->O

41 16 to. i

t.. t 4 L. i

Figure 2.3 The Pieccwise Nonlinear approximation with four different strategies

For the filter current to track the required waveshape, the initial values of the rate of

change of the current at the instant of switching should satisfy the following conditions

di di

dt P- ""u. ̀ ' `'" > dr

di II di I

dr d'1 d't

dis p- OM&A, 60 .. d. & >

dt'

d'i d't

dl' p,. I>I__

i ýi_ ýý

25

Page 36: Active Filters: A Unified Approach

Techniques for Synthcsiting Active Filters Chaptcr Two

It should be noted that in strategy (i) it is only necessary to satisfy the first of the above

conditions for alternate switching instants only.

(c) Picce rise near discontinuous ap : In this method as shown in Figure

2.4, the filter currcnt is discontinuous and its rate of change, di /dt, is constant.

ý>D .i mD di'

boon LzrL

(i) tr1 to t*41 t.. 1

di o aTý

0 i) ý. ý. _ý

switching partcrn

................. ,.. _......., _...................... ;....................... . 4.1 to 10.1 4.1

Figure 2.4 The Piecewise Linear discontinuous approximation method.

26

Page 37: Active Filters: A Unified Approach

Techniques for S)nthcsising Active Filtcn Chapter Two

In the strategy (ii) the filter current is a square"wave function with constant magnitude lo.

In this strategy because of severity of discontinuity, the filter current cannot approximate

to the required current with an acceptable difference. I lowcvcr, by appropriate selection

of switching instants, the low frequency components of this wavefonn can match the

required current.

For the filter current to track the required waveshape the following conditions for the

two strategies should be satisfied respectively,

for strategy (i)

di >di -- dt p., dl., º -

I rN� i,.. ".,. ý.. < I 1,.,. ýý. r... + I and for strategy (ii).

1. >(XIi)'a

M2(N+1y2, Na13 5....

Where 1. is the peak value of the harmonic component'n', which has the maximum value

among other components in the required current. M is the number of pulses within a

quarter period and Nis the maximum order of harmonics to be eliminated IKIM 871.

2.4 Role and importance of energy storage elements in active filter structure

As explained in Chapter 1. for the purpose of harmonic current suppression, the active

filter should provide the instantaneous harmonic power required by the load, and to

improve the power factor it could also compensate for the lagging reactive power. This

means that the required characteristics of the active filter can be achieved using energy

storage elements in conjunciton with the switching pattern of the switches.

27

Page 38: Active Filters: A Unified Approach

Techniques for Synthcxiainr Actirc Filters Chapter Two

If in these structures. the losses in the switches and inductors are neglected, then the

instantaneous power that is handled by these structures is contained within the storage

elements. The instantaneous power in a capacitor and an inductor arc given by:

t

1'cr,,,,,, ( ')a VC /C � yC (Cý)�C d-vc

dt 2 dt

pi, ý. cM. itia vt IL L

dt <<

2 di

'tiros the instantaneous distribution of energy within a given structure depends on the

size of the circuit elements, voltage, current and their derivatives relating to those

elements. Generally the basic principle of active filters is to control the flow of energy

between the supply and the filter by altering the circuit topology via switches.

The variation of stored energy in an inductor is proportional to the rate of change of

current in it, and that for the capacitor is equal to the rate of change of voltage across it.

Since the objective of active filters is to control current and its rate of change, rather than

voltage, inductors are inherently better for this purpose. Also since the voltage across

an inductor is proportional to the rate of change of current in it, this rate of change can

be controlled by controlling the voltage across the inductor. These two factors underline

the various techniques employed for constructing filter structures as will be shown in this

chapter.

In the following sections the various configurations are described and their relative

merits discussed. The simulation results are presented for the new configurations. These

28

Page 39: Active Filters: A Unified Approach

Tochniqucs for Synthcsis. ing ActlYe i`iltcty Chaptcr Two

results provide a picture of the behavior of the circuits and arc backed up by the

experimental results in the next chapter. The computer programs for these circuits are

shown in Appendix C.

IS Basic techniques for building Active filters

There arc two methods of controlling the voltage across Inductors and thereby the rate

of change of current in it. In one case the voltage at one terminal of the inductor is fixed

whilst the other terminal is allowed to 'float'. In the alternative mode both the terminals

are allowed to 'float'. The term 'float' is used here with a very specific meaning. For

example, if the potential of one terminal of an inductor is determined by a fixed voltage

source whilst the potential of the other terminal depends on its connection to alternative

points in the circuit, then the second terminal is referred to as the 'floating' terminal.

The alternative configurations are discussed below with the view to classifying the

existing circuits and synthesizing new structures.

2.5.1 One terminal of the inductor fixed and the other floating

In this mode the current in the inductor is the input current into the filter and is

continuous which is its main characteristic. There are eight different structures.

(1) Floating terminal alternately connected to the positive and negative voltage source

(piecewise linear approximation)

The functional arrangement for this is shown Figure 2.5

29

Page 40: Active Filters: A Unified Approach

Tahniqucs for Synthaidng Active Fiiltc» Chapter Two

nerartve dc jW'lly "V*

vl

polirtve dc Juppty fV4

Figure 2.5 Functional Diagram

In each case the rate of change of current in the inductor can be computed as follows.

When the switch is connected to the positive dc supply

di a y, - VA

dt G

When the switch is connected to the negative dc supply

di =

y+ ± Vs dt L

whine V1 is greater than vi.

Assuming that the instantaneous value of the supply voltage during the switching periods

is constant. the second derivative of the filter current is approximately zero:

d2f 1dv0 d2 tL dt

This shows that the filter current is composed of pieccwise lincarised segments as

discussed in section 2.3. This mode of controlling the rate of change of current in the

inductor can be implemented as shown in Figure 2.6 (a) in which a single dc source is

30

Page 41: Active Filters: A Unified Approach

Tahniqucs for synthcsitlng AcdYe riitm choptar Two

used by incorporating a bridge arrangement for the switches. Instead of a dc voltage

supply as in Figure (a). the ahcmative approach Is to use a capacitor as In (b)

tMachmoum 95 1. The pairs of switches S1. Si and S3. S4 operate synchronously in anti-

phase and their order of operations changes every other half-cycle to guarantee the odd

symmetry for the filter current.

(a)

Q (b)

L C

Figure 2.6 Practical circuits a and b

The main disadvantage of this approach is that the circuit is inflexible, in that, for a given

size of inductor, the rate of change of current is approximately constant because of the

fixed dc voltage. 'Therefore to track the required current waveshape with an acceptable

accuracy, a compromise has to be achieved between the size of the inductor and the

switching frequency i. e. smaller the inductor higher the required switching frequency.

31

Page 42: Active Filters: A Unified Approach

Techniques for Synthesizing Active Filters Chapter Two

(2) Floating terminal alternately connected to a de voltage and ground (piccewise linear

approximation):

The functional arrangement for this is shown in Figure 2.7 below.

around

Y.

dc sry+ply VA,

Figure 2.7 Functional diagram

In each position of the switch the rate of change of current in the inductor can be

computed as follows.

When the switch is connected to the ground

dl yt dt L

When the switch is connected to the dc supply

A_v, - V,, dt L

what V& is greater than vj.

Again assuming that the instantaneous value of the supply voltage during the switching

period is constant, the second derivative of the filter current is approximately zero:

d'J Idv' "0 dt2 Ldt

32

Page 43: Active Filters: A Unified Approach

Tochnlqucs for Synthaliing Active Shen Chapter Two

This shows that the filter current as in the technique (a) above is composed of piecewise

lincariscai scgmcnts.

This mode of controlling the rate of change of current in the Inductor can be

implemented using exactly the same practical circuit as the one used for the previous

configuration shown in Figure Z. G. However the pairs of switches Si and S4 and S, and

S2 are used for different task as explained in (Torrey 95]. Whilst the switches S, and S2

operate synchronously in anti-phase, the switch S2 Is 'on' during the negative half-cycle

and the switch Si is'on' during the positive half-cycle.

As in the previous circuit of scheme (1), the choice of the size of the inductor, L. is a

matter of compromise. The ability of the filter to track the required current improves as

the filter inductance is made smaller. However the switching frequency has to be

increased to keep the tracking error within acceptable limits.

(3) Floating terminal alternately connected to two capacitors of different sizes

(piccewise non-linear approximation):

The functional diagram for this approach is shown in Figure 2.8.. The following

equations can be written for two positions of the switch.

When the switch is connected to the capacitor C, :

di `

vý - vl dt L

dif I d(v, -v, ) 1 dvº 1 dr= L di L di LCI

33

Page 44: Active Filters: A Unified Approach

Techniques for Synthesizing Active 1'iltcrs Chapter Two

When the switch is connected to the capacitor Ci

A, Y, - Y, di L

d't ! d(v, - y, 2) 1dv dis aL dl ~L dl LCt

ycI

vs

va

Ct

Figure 2.8 Functional diagram

The size of the two capacitors are chosen to be unequal with a large difference in order

to cope with the requirements of piecewise non-linear approaximation method (b-i).

This provides a large difference in the second derivatives of the filter current as implied

by the above equations.

To satisfy the first condition of the approximation method. the magnitude of the rate of

change of the filter current should be higher than that of the required current at the

alternate s%itching instants. Therefore as the equations show the size of the inductor

should be relatively small.

34

Page 45: Active Filters: A Unified Approach

Techniques for Synthcslting Active F Urn Chaptct Two

The basic rcquircmcnt of this circuit is that the resonant frequency associated with the

two capacitors and the inductor should be less than the switching frequency, to prevent

this frequency component from appearing in the filter current. It becomes ncccssary to

select a relatively large value of inductance or capacitance. This of course limits the rate

of change of current which can be achieved. Nevenheless the choice of capacitor and

inductor values and the switching pattern is a matter of compromise IMehta 90].

The main drawback of this circuit is that the voltage across the capacitors remains

unchanged during their off' states so that for a given size of inductor. the initial rate of

change of current is determined by the previous 'on' states. Since this does not allow the

control over the initial rate of change of current in the inductor at the instants of

switching, the circuit is inflexible.

Figure 2.9 shows a practical implementation of this circuit

V4

L.................... _..,. "" t

. ". . .. .. :" .

:

Ci C=

: ,..

"'""..

................. ""'""

Figure 2.9 Practical circuit

35

Page 46: Active Filters: A Unified Approach

Tcchniqucs rot Synths king Active Filters Chapter Two

(4) floating terminal connected alternately to a capacitor and the ground

(picccwisc non-linear approximation)

This is the first of several new amingcmcnts proposed by the author and is illustrated by

its functional diagram in figure 2.10. This is an example of the picccwisc nonlinear

approximation method (b"ii). growid

C

Figure 2.10 Functional diagram

The rate of change of current in the inductor for this arrangement can be calculated as

follows.

When the switch is connected to the ground

dl ..

!L dt L

When the switch is connected to the capacitor

d, _vi

vC di L

d'I ..

I d(v, -yc) M- I dyc

_- i

dr= L dt L dt LC

36

Page 47: Active Filters: A Unified Approach

Techniques for Synthcsiting Active Filters Chapter Two

These equations show that the rate of change of current in the Inductor, when the

inductor Is conncctcd to the ground, is of the same polarity as the supply voltage. To

obtain the rate of change of the current of the polarity opposite to that of the supply (or

occasionally with the same polarity of supply but opposite d'l /dti), the Inductor is

connected to the capacitor. Figure 2.11 shows a practical Implementation of this circuit.

Simulation results arc shown in Figures 2.12 and 2.13.

Similar to the previous circuit. the resonant frequency of the L"C components should be

less than the switching frequency. A relatively large value of L would limit the rate at

which the current in the inductor can change. Therefore it is preferable to use a

relatively small inductor in conjunction with a relatively high switching frequency as will

be shown in Chapter 3.

This circuit has a %rry simple structure and is quite flexible. This approach suffers from

the same drawback as techniques (1) and (2). Le. to track the required current. the

switching frequency has to be quite high.

IL ý

V,

i ".. e.............. -....

." .

.

C

. T. ........................

Figure 2.11 Practical circuit ( new )

37

Page 48: Active Filters: A Unified Approach

Techniques for Synthesising Active Filters Chapter Two

ý. ". """.......... " ................. 1 ................. 0.. "

I I I I I I 0

I I I I 4 I I I

ý ý. lw

0.

.S""ü.

""" 1ý ,""$ ' ""'" 1D ""ýý

"",, " "" ""ý ."., ý ."ý ., " .,.. ý

.""

.,.......,... " ", "

vl ., h ," a"

."''"

.. ý

."ý

ý ý ýý : ýN ýý

a .;. ý 61 . C c,; ý C C.

ý I. 9

%n r 0-4

.' .ý

.., ý :

I

h H 0 .r .ý

V, ý.!

0

C,

. C! I

ro ,, CI/ ý.. . uI 7 o.,

. .,. ... ., .,..

%"I

ý- !

v. Ia( Y. V ý.

u. V V

4. / . _. ý

-4 :w. O8

, "-ý , .wý .a. , b .q .ý

;O

c .............. i--"--- 0 .,

ööö ý. ""

to 'º N

Vý .

ro . r4

i

--ý. ý ýý N

ýA ý

e O

ýö0 ýN 0

Figure 2,12 Simulation results of scheme No. 4 section 2.5.1

Page 49: Active Filters: A Unified Approach

Tcchniqucs rot Synthesising Active Filius

ý_... _.

I'...

"....... 1 r.......

. ý ý

M ý

O

�4

_N ý

O

O

- ......,

I 11 1/ " 11 1/ 1 "1 "1

4 I

cpt %0 to %0 "c 6

tt i

f

ý

ý

;.... ý

1J

....

r ------

0ö ý rl

F4 A.

f

I I I

i ... i1..

ýý

ýý ý ý

C

I º----"--a ° f-"---- { 000

.,

M

0

R N

qr 0

N

N

N

"c 0 0

N

a a

N

0 00 CV N

1

r........,

ýý

O Cl NN

1

Chaptct Two

Oh .yr; " e

w, H Q.

Figure 2.13 Second simulation results of scheme No-4 section 2.5.1

Page 50: Active Filters: A Unified Approach

Techniques for Synthesizing Active hirers Chnptu Two

(5) Floating terminal connected to the opposite ends of a capacitor (piccewise nonlinear

approximation)

This is a new arrangement and its functional diagram is shown in figure 2.14.

ve

--ý F- on C

--a 40

switch

ground

Figure 2.14 Functional diagram

The following equations apply to the two different states of the structure.

When the switch is in the position shown in the functional diagram

di vr'yc di L

d'iId(vt-v,, ) Idyc! dti -L dt ft L dt LC

When the switch is in the alternative position

di =

v, +Y

dt L

d? i_ 1 d(v, +ve) ýI

dvC__ I dt' -L di L dt C

40

Page 51: Active Filters: A Unified Approach

Tochniqucs for Synthesizing Active Filters Chaplet Two

As the above equations show, the polarity of the rate of change of current (di /dt) is

dictated by the value of the voltage across the capacitor with respect to the input

voltage. This makes the circuit more flexible compared with arrangement (3).

The basic requirement for this circuit, similar to the previous circuits, is that the

resonance frequency of the L. C components should be less than the switching frequency.

A relatively large value of the inductor limits the rate of the change of current and

therefore a relatively large capacitor is preferred (Kanani-195).

Use of a relatively larger capacitor is the main disadvantage of this circuit so that as the

equations show, this limits the second derivative of the filter current. Therefore for rapid

variation in the required current, the circuit cannot satisfy the second condition of

nonlinear approximation method (b).

Figure 2.15 shows the practical implementation of the circuit. The pairs of switches S1,

S2 and S3, S., operate synchronously in anti-phase to connect the floating terminal of the

inductor to the capacitor terminals alternately. Circuit simulation results are shown in

Figures 2.16 and 2.17.

C

Figure 2.15 Practical circuit (ncw )

41

Page 52: Active Filters: A Unified Approach

Techniques for Synthulsing Active Titus Ch3pIcr Two

................................... Im ............................. ý.... T i

111/ /. 11".

1111 rl

1"1/""1 1/11 /11

_. _1

'"ýý-º ýý º I. ::.. ý ýIH7"I:: -ý "9

mc.: ý........... ,". -. N... ýý0 in 'ýý.., "'ý

ý. "",

,., ., ý

,.; "",

,",,, ,, ", ý

.............. ..... ", ý'1

:',, " "'ý ." "".

.., ,...,

"', ,., ,''. ",

,",, ý

, ., ,. '"",

ý

..........:....... ý in

., ".... ,',

.r,.. cI........... ýö

Q nr b, � --'

ý G

Ii. ;,

I

dý .7'ý0

14 I

o', v a)

:: ="". -' -- -4

. .ý; a.......... o

C? ;ýl"" yýV

ü''= .. _

La ý.. v. ý. . -1 tý ,ýý "ý

............ V1 . rl

p4

"aý .b.. ',

. a, + i

o; ý ýa ---------------

o V4

0

ý Cý. ----- .+ O. S Q. SL

O' Lý .

.., ý

ý., "+ ý. ý1ý

.. .ý::........... ýn

............ { ai............ ý........... ý............ + -N.,

. °, ÖÖÖý r1

I""" "r N to

Figure 2.16 Simulation results of scheme No. 5 section 2.5.1

Page 53: Active Filters: A Unified Approach

Tcchniques for Synthcsising Active filtcn

ý------ ý--"--- N ý 0 r/

xN iiG ®

O

i

i M

ccj

(

I .. t

4

ý-..... ý ;

:( :ý

I

. v ic

N

N

P4 lia 1`«, . ý-; a.

'I

ý--"----ý Oý

d 0

d 0 ,<0 0

r------ý I*

"I 4I $I

. 44 44

4 .I

II wf

:I

.,

in N .ý .ý 1

r ......,

"a $$ "I "I II

ýý

0 44 0 N

Chapter Two

.... a.. ý. 0 ý II

II "I 1(

II "I

.$ ,I "I

.,

.. :ý

ý 0 44

;+m +N

Oº Oýº +

mO+ + too  r

fw w

ýý a, 1ý

,ý !, : ý ro ýý

Figure 2.17 Simulation results of scheme No. 5 section 2.5.1

Page 54: Active Filters: A Unified Approach

Techniques for Synthcsizing Active Filters Chaptcr Two

(6) Two capacitors alternately connected to the floating terminal of the inductor and an

auxiliary inductor (picccwisc non"lincar approximation)

In this new topology, shown in Figure 2.18. unlike the previous approaches above, the

capacitors exchange energy alternately with auxiliary inductor as well the supply. Ibis

provides a greater flexibility over the control of the initial values of di / dt via the control

of voltages across the capacitors as required by the approximation method (b-iv). The

current in the resonant circuit (La. Cl) or (La. C2) does not appear at the terminals of

the filter and thus has no effect on the filter current (Kanani"2 95].

V,

Figure 3.18 Functional diagram

The equations relating the circuit parameters arc obtained as follows. When the

capacitor C, is connected to the input supply and capacitor C2 is connected to the

auxiliary inductor L

di_ v, - va dr L

44

Page 55: Active Filters: A Unified Approach

Techniques for Synthesizing Active Filtcn

d? l 1 d(v, -v,, ) ! dv _t dt' aL di L dt LCI

di t yet

dt L.

Chaptu Two

When the capacitor C2 is connected to the input supply and capacitor C, is connected to

the auxiliary inductor L.

- n

Výt

dt L

d'! _

1 d(v, -v, 2) l dvL dtj L dt L di

diL ve, ýa_.. di L.

a" I LCi

For this circuit, as in the previous circuits, the resonance frequency of the inductor L and

the capacitors should be less than the switching frequency. This makes it necessary to

select a relatively large value of inductor or capacitor. Although, in this circuit, this does

not have a significant effect on the rate of change of filter current, it limits the magnitude

of the second derivitive; the choice of the sizes of the capacitors and the inductor is a

matter of compromise. The practical implementation is shown in Figure 2.19 and

presented in (Kanani-2 95). Simulation results are shown in Figures 2.20 and 2.21.

v,

C iLI I1

\isj

______ 4 /s1

''ca

Figure 2.19 Practical circuit ( new )

IL

11

45

Page 56: Active Filters: A Unified Approach

Techniques for Synthesising Active Filtc»

... ". """". "". """"""". . "". . """"

y ,c ,w C

0 ,G ,E ;V

, .+ V y ;C

r Qr

;a ,C .ý . II. ; .+ ,o ,s . .+ :

-+

,c ,v " I.

a LY

.u ;ý ,a ,G

,a

t ---------------- 0

1

t a

ý ý vº

. . n.

I

I

w

co I" .4 u

G. a co

.... ý,. :,

:. .I ..

.... "I "

O

Li c 0 C 0 ý 0 U

.r 0 u C

.. ýý a

*0 c

.d

0 w ý ý

ý c

"""... ""........

m:: .d.. V V

ý U 4 tº y .r -4 W ý .j ý

, ý. ,

-------------- a ý 1

( I

Chaptcr Twp

, I.

ý

ý

i ý rl

r

P4

ý ý ý .,

ý 0 ý .+

@

.......... in rn ý- ý .+

I

I

M P-4

I

a"r Vý` aý

s 0 '. 1 c i-"----

n 0 0ý .. tD "N

rý N 1 rl

G Figure 2.20 Simulation results of scheme No. 6 section 2.5.1

Page 57: Active Filters: A Unified Approach

Techniques for Synthesising Active Filtc»

r----"- r. "-a"-"

ý ;

I....... T

ý ý

M ý

O

ý

I N ý

m

0

(

f ý..

ý ;

, CýC .ý . .ý ..... 1....

..

..

I---

0 a .4

ý

a I

lu to 0 a 0

a

I

. ý ý

'4. ©_ I I 41 . -4

}......... ý 13

O< ec IC 0

10

N

+ +N !.. """""" , Z, '

PC co OOO co

ý r4

N .r C. C. a tA a

aaa1

f1 1! i 11 "" " "i

"1 "

"1 "1 " "t ý" "

"" "t "t "t

au m I 0

i

I I

I

I 0 a I

f- a0aa a*1

Chapter Two

I- ..... "T

IIII II1I 1III "III ""aI IIII "III IIII

.$a "7, I

,I1I

""aa a1"

."aa

:Iaa

ý

0 N

I1Iý

II1

ý", ý I"""I "r

. ., ..

. ..

;ý :. ";

;. .. . ., ,,

:, ... ý

;.

Figure 2.21 Second simulation results of scheme No. 6 section 2.5.1

i N ý ý ýO

0

N

....! ý

ý ;

. ý ý ,

! in at 04 " ý0

_l

.ý .-

.

f.

ý ý 0 ýo ý

47

Page 58: Active Filters: A Unified Approach

Techniques for Synthcslting Active Filters Chartcr Two

Compared with the previous circuits this configuration has increased losses bocausc it

uses an extra inductor.

(7) Floating terminal alternately connected to the two terminals of a resonant circuit,

two capacitors and an auxiliary inductor ( pieccwise nonlinear approximation )

This is a new arrangement and is shown in figure 2.22.

VI

resonant circuit

Figure 2.22 The functional diagram

As shown in the functional diagram, the voltage at the floating terminal of the inductor is

equal to the voltage, VG , across capacitor I in one state and in other state it is equal to

the voltage, vci- vQ, across the two capacitors in series.

The two states of the switch can be represented by the following equations.

When the switch is in the position shown in the functional diagram

di v, - v,, -sý dt L

d'i- I d(y, -yc, )w-I dycr `-i+lL dt= L dt L dt LC,

dit. yc, - vc, dt L.

49

Page 59: Active Filters: A Unified Approach

Techniques to Synthesizing Active Filtc s Chaptcr Two

duct DI di C3

When the switch is in the alternative position di

22 Vct Vrt

di LL

d'! I d(v, -v{, +vm J 7 "L di

1 (dvrtdycL)=-4+11. ý

_L L dt dt LC, LC,

di L, dil

= vcº - vc;

dti't2 a

-{t -0 dt C,

'These equations show that the change in di /dt of the filter current at the instant of

switching is controlled by voltage, v c2, across capacitor 2. This facilitates the control

over the initial values of the rate of change of current as required for nonlinear

approximation of the required current. Figure 2.23 illustrates a method of implementing

this mode of control. The simulation results arc shown in Figures 2.24 and 2.25.

L.

Figure 2.23 Practical circuit ( new )

49

Page 60: Active Filters: A Unified Approach

Techniques for Synthesising Active Filius

ýrsssssssssssssssssssssssssssssssssl

M ý

0

.ý"': " .I ä

,. ý 0 N

I

ir

ý N ý 1

�4

U

I. a N

1

ý

ý ý ý

ý ;

Chapter Two

frrrrrrrrrrrrrrrrr"rr""rrrarrrrrrrrrY 11

1ý "7

ý

ýý

ý ý ýý . ýý , .,

ý..

........... a in ..

C 11

0

Figure 2.24 Simulation results of scheme No. 7 section 2.5.1

50

Page 61: Active Filters: A Unified Approach

Techniques for Synthesizing Active fltus

r-"---"- e- ý

ý ý ý

ý--....

I

.. I

M

Q

V4

N

O

0

Cfaptu Two

lr r 'aaaaaaa, 'aaaaaaal ýaCacaos /11111

äýs'1J 1/11/1

111/110 1/1/11N

/1/1/1

1/1111 /111/1

111111 111111

11"111 111/11

"/"/11 11"1/1 "/1/11

111

11"1"/-

1

IT Co r ý

:. H

9

i...

ý

,.,. ,.. *ý ,..., ýý w ýI4 ý. i . I. .. ý. . 1.4 if ,.. ,, ý ,ý; ,., r, ý. ý

n"

II

N0

I

M

iý _ý _ý

0

C

a I I I

I

F. -. _. -. K

PC c

H

Ip p6 11

I, N

Y f

0

ß4 >O

t3ý ý

10i; ýä

.+a o; I -+; Io a, ý., ý" o ý------- J. -0 "t .c "t "c 0

0000 ., .ý

a u C

cº V ý

I

ýa %o 0 ä

. Lo

. ýo ,.. w

.

.. ý,

.ýý

.1.1

.1N..

.. n. ý

.... ý ..

.ýO. ý

... ýq .M .' co

.ý.

F... .... }" o F... .... ý 13

Figure 2.25 Second simulation results of scheme No. 7 section 2.5.1

N .r a a vi 0 O O

51

Page 62: Active Filters: A Unified Approach

Techniques (or Synthesizing Active Pipets Chatter Two

The disadvantage of achieving non-linear approximation using the resonant circuit hue

is that there is a presence of rclativcly high frequency harmonics in the rcsonant"loop.

However these can be attenuated by using a relatively larger inductor or high frequency

switching. Nevertheless the selection of components and switching patterns Is a matter

of compromise as described In Chapter 3.

(8) Floating terminal alternately connected to the two terminals of a resonant circuit "

one capacitor and two auxiliary inductors ( picccwisc nonlinear approximation )

This is an alternative method of achieving pieccwisc non-linear approximation. 't'his new

arrangement is shown in Figure 2.26

vi

resonant circuit

Figure 2.26 Functional diagram

As shown in the functional diagram, the voltage of the floating terminal of the inductor is

equal to the voltage, v1I . across the inductor, 1,1, in one state and in other state it is

equal to the voltage, vt, az. across the inductor, L.

The voltage across the inductor, Li, is given by

.: _L. =d(i-lc, rý = L. =(di

ý vr ý

di dt- dt

52

Page 63: Active Filters: A Unified Approach

Techniques for Synthesizing Active Filtcn

Rcplacing dd` ý gý"r in the abovc cxiuation Sim:

.i L di

vLJ'} L vc.! Q La dl s!

choptcr'Two

The nclation between the voltages across the two inductors and voltage across the

capacitor in the resonance circuit can be expressed by the following equation:

VW -VW= VC

Solution of the above equations gives the voltage across the auxiliary inductors in tarns

of voltage across the capacitor and the rate of change of current dildt.

yc"L. t yti! a- I. .

di di.

I--!. L Lot

di d yrL

V1.2 j_

Gel. L, i

Then the equations relating the two states of the switch are summarised below.

When the switch is in the position shown in the functional diagram

di vj - vc. 2 v' +(

42 L,, + Li2 ) VC

dr =L-... = L . ºL,: L+(L. 1 + L., )

Assuming that the supply voltage is constant during the switching periods

d: i .. L.: dyc

dr= L(Iy, +ly: )+L., Ly= di L(L., +L. =)+L., L. = C

53

Page 64: Active Filters: A Unified Approach

Tcchniqucs for Synthcsiaing Ac6vc Fil kcrt Chapter Two

di dUs. YLat vc

a rs dt L,,

When the switch is in the alternative position

-ý di v, - yt, t y'

(L, t+Li2 VC

dr aL L+-`142 Ib, +1,.:

d! j M

-L. º L dvC .º

dt' L(L., +L. t)+Ly, Lyi di L(Ly, +Lti=)+Lti, Ltil C

. di

vrL dt ýý ýI r L.!

The above equations show that the rate of change of current is controlled by the voltage

across the capacitor with respect to the input voltage. Compared with the previous

circuit this circuit employs three inductors thereby introducing higher losses.

Figure 2.27 illustrates a method of implementing this mode of control and Figures 2.28

and 2.29 show the simulation results.

1 1

Figure 2.27 Practical circuit (ncw)

54

Page 65: Active Filters: A Unified Approach

0

Techniques for Synthcstsing Active Eiltun

awe a

1 / ý

.,. ý

. m. rl

A

ý

"ý II.

1

1

1

&M a .ý... i. .. ý. 0z r1 ý

NI

.ýU

0 I

ý N

ý 0 ý .ý

, in in

ý ý

C --- 1

ý. 1 1ý

O ri

s

w

P4 .. 4 gm a V a 0

0 0 0

L- -------------- - -. 7 -------------=--

Cliaptcr Two

r 5_ ....... es..... ea" sees_s.. " C""" eCT ý 11

/1 Ip 1 '/'1

S

I " ".. "

...........: ""ý

." vý

.. " .ý

., ""

i

,............ C3 in

.ý .r ,..

I

1""1 1I 1"1 1I

I1 I"II II II 1"""f""+""""L / II

I+"1

1

II

+f"1

1I

1"II

I

II

I""1

II

Ia"""""I""""ý

s c9

I

91

r. -1

c

I

_. _ __. 1

ýý .4 --ý" in

N

00 ý....... N ÖOOOý

b qr N

Figure 2.28 Simulation results of scheme No. 8 section 2.5.1

55

Page 66: Active Filters: A Unified Approach

Techniques far Synthesising Active Filtcn Chapter Two

'......., '.......

.

I

ý

I

v A O

ý_------1 0 ve 0 sc Cl

r". _"S" N ý

O

r1

_H ý

m

O

1N

rý ý

ýO ý

ý

i ý

ý

H

f'

10

('Co 0

a M tim

N .r a a

C

Pa. a. a. 1 r...... a1

ýýýý h.,.

º1ºIº 111Iº

ººIIº /º/I

IºIºI "º1ºI

Iº/1" "ºIºI "1"I

"1"ºI I1IºI

"1"/1 aI"/1 1/"" "I/I: "1it I11"

"I01"

I"a""/i

"I1

ii

aý ýo ao ýo .0" �0 9w

r.

I4

14

.1.

.f ::; .I

"1.

......

f- 0ýýýýsT M

-o 1.

tr

ýa

NI ý 1I

:: q:: 41, .1ý.

.1 ý' , ," IX - Iý1. I

, ,IdI ..: H2H

I. I1 ý. ".

,. �.

/ :

f 14. til .I IIh40

fII1II ,. I1,. I, ý4II I"17II IV10

ý. C$. ý I WI

,c,

, *0 li . Iý .. 1 rp .ý .r. " +d a

ýO' ýý

' ý

ý ýýýý

----1 C r" ýº----i 0 r-

ý so :n

II

ý ;

. , , , ýö .ý .ý

oo00 0m NNNNN 111

Figure 2.29 Second simulation results of scheme No. 8 section 2.5.1

56

Page 67: Active Filters: A Unified Approach

Techniques for Synthesizing Active ritten Chajxcr Two

2.5.2 Both terminals of the inductor floating

The group of circuits in this category belong to the pioccwise linear discontinuous mode.

The main distinguishing characteristic of these circuits is that the filter current has

significant quantity of higher order harmonics and therefore it may be necessary in some

of these circuits to include passive filters.

(1) The floating terminals are alternately connected to the supply and short circuited

(piecewise linear discontinous approximation method)

This arrangement is shown in Figure 2.30. The filter current is the sum of the currents in

the two inductors during their connection periods to the supply and related as follows.

When inductor I is connected to the supply and the other one is short-circuited:

t=f,

di dt dr 11

dt

When inductor 2 is connected to the supply and the other one is short-circuited.

f=ti

ctt cdi =ý dr di 4

ý& = dt

57

Page 68: Active Filters: A Unified Approach

Techniques for Synthesising Active Filius Chapter Two

ýu

Vl

vu

Figure 2.30 Functional diagram

'these equations show that the di/dt of the current in the inductor is of the same polarity

as the supply voltage when they are connected to it. The current in the inductors, when

they are short-circuited, remains constant, assuming that there are no losses in the

inductors. This implies that the inductors are energised during one half-cycle of the

supply voltage and deenergised during the other half-cycle of the supply. Therefore,

compared with the previous structures, the fundamental component of the current has a

much higher magnitude. Further, the rate at which the filter current can be controlled is

slower than in the previous circuits, making this circuit rather inflexible. The practical

implementation of this circuit is shown in Figure 2.31.

58

Page 69: Active Filters: A Unified Approach

Tahniqucs for Synthcslilng Active Run Chnrtcr Two

I ý .

ý

S: ý

_ý Si

L. t ý

Figurc 2.31 Practical circuit

(2) Floating terminals alternately connected to the supply and a capacitor

(piecewise linear discontinuous approximation)

The new arrangement is shown in Figure 2.32. The filter current is the sum of the two

inductors currents during their connection periods to the supply.

Vu

vr

Vu

Figure 2.32 Functional diagram

59

Page 70: Active Filters: A Unified Approach

Techniques fot Synthesising Active Filters Chapw Two

The following equations can be written for two states of the switches.

When L, is connected to the supply and the other one is in parallel with the capacitor :

tall

di &2

dA av,

di di

d4. ý

VG dr iz

When L2 is connected to the supply and the othcr one is in parallel with the capacitor

I= i1

d} sý

dt dt

A= dt 11

ý ý ý

The equations show that the di/dt of the current in the inductor is of the same polarity as

the supply voltage when they are connected to it. In the previous circuit (1), the current

in the inductor is controlled by the supply voltage. However in this circuit, currents in

the inductors can be controlled more flexibly via the resonant circuits. It should be noted

that the resonant current within the filter does not appear in the filter current. A

practical implementation for this approach is shown in Figure 2.33 and simulated results

are illustrated in Figure 2.34 and 2.35.

I

V1

4 Sý

ý

La

Figurt 2.33 Practical circuit ( new )

60

Page 71: Active Filters: A Unified Approach

Tahnlquu for Synthcslsing Active liltr»

rºººº"ºººººsººaººººººººººeººººººººº1

0

.. ý .. ý

O. O A

r1 ý  

ä :I

be :3 o14 N

t

u

I

I

W .J :ä

:0 ý .ý . - _4.

3

.ý C 6a w w ý u

; 'a

,o ,a

F-""-"".... ---.... y.. OO rH

"" "" ""

ý ý

f rrrrrrrrrrrrr"rsrrrrr"rrrrs"rrrrrrrý

ý :

0 0

"SIS

ý ,

,

, :

ý ;

,

, :

ý ý

w ý .ý M W4 6. d

A 0 a

Chapscr Tvºa

2

Ie ýN "

º º º º ºý º . ºý

ý :

6

ý ý ý ý ý

0 in r/

rl

p

........... J

1M

I

I

I

in fn ýý

19 ý ,ý

77 } in N r1

ý----ýý 1

ý,.

., F------------ ------------ -----------. f N

ööö°

%D le c4

0 0 I- C --------------

0 ý

Figure 2.34 Simulation results of scheme No. 2 section 2.5.2

61

Page 72: Active Filters: A Unified Approach

Techniques for Synthesising Active Filt n

ý. _....

0

""""""""1

'

I..

i=

v 10 0

t 1

C ý....

C 4

0 I

f

"t

4

"a SS SC SC

. ý ý

w 5 0

.:

N

®

G

ý

I

I....

, ý

, ,

w' v; fJ . r, . 4. cý. ;

.o Lýýýýý"

.t "c C CD P. 4

F-----"-. ý C F""""n. u..:. oc oc 00 P-4

ý PC 00 ry

N

.. ac .0 0

Nd "

N

O

N .. a a

NQ

O

Chet Two

r....... 1' f.......,

11/ "1"1 /1"1 "/11 11/ "111 /"11 "11" "1" 1"1/ ""1/ $1"1

N

ý ý

ch d mý ".

ý Fä

N

ý ý

I

I

4 f

0

ý"..... ii. 1 11 11 1 11 11 1 11

1/

1/ /

f1 11 1

I 0 44

ý ;..., ; 'aD . 1v

w h 0

A.

ý :

. ýo P4

N N " ý

ý

I 0

I I

. :, ,. ý .ýý . . ti . :ýý

ý

ý ý ý , ;"Wf!

ý `ý ý . ., ,ý . .ý .. .ý

; .0; -Z : .. rp .ý

... .I. t

.ý. ý

.ýOý.

.ýo..

.. " i5 +.... J... ý O F... Tl... ý

C5 0o cý NNN f'd

11

Figure 2.35 Second simulation results of scheme No. 2 section 2.5.2

62

Page 73: Active Filters: A Unified Approach

Techniques (cx Synthesizing Active f"iltcrs Chaptct Two

This circuit has basically the same drawback as those for techniques (1), (2) and (4) In

section 2.5.1 in that for a given size of inductor. the circuit does not have the flexibility

to track any rapid variations in the required current. In those circuits it was possible to

increase the switching frequency to overcome this problem IIowever in this circuit the

switching frcqucncy is limited because of the time required for the inductor to energise

and dcenergise via the capacitor.

(3) Floating terminals of the inductor alternately connected to the two supply terninals

The ar angemcnt is shown in Figure 2.36.

t

V,

r+"itch

Figure 2,36 Functional diagram

I.

This approach can be represented in the two states by the following equation.

When the switch is in the position shown in the functional diagram

i=it, diL

= dl

_ vL

dt dt L

When the switch is in the alternative position

I= - IL

63

Page 74: Active Filters: A Unified Approach

Tcchniqucs for S>nthcsizing Active Filtm Chaptct Two

dt di L

Because of the 'severity' of the discontinuity in the filter current i. e. at cvcry instant of

s%itching it changes from a negative to a positive value, the filter current contains a

much higher proportion and magnitude of higher order harmonics. In practice to

alleviate this problem. often an auxiliary passive low-pass series filter is employed

Illayashi 881 as shown in Figure 2.37. Of course it would also be possible to use another

active filter instead.

vL

Figure 2.37 Functional diagram including passive filter

The rate of change of current, di Idt, in this modified arrangement can be rcprescntcd

di dl vL _. L. a-n: __

by the following equation.

di dt

vi - vý L,

This implies that the di Idt is a continuous function because the voltage across the

capacitor is continuous. Assuming that the supply voltage during the switching periods

is constant, then

d'1 11dv c dt' L, di L, dt

64

Page 75: Active Filters: A Unified Approach

Tcchniqucs for Synthcxiting Acthc Filters Chaptu Two

The rate of change of voltage across the capacitor depends on the position of the switch

and can be expressed by the following equations.

When the switch is in the position shown in the functional diagram

dvoc IL dr c

ýa .ý dt L

If the switch is in the alternative position

ýýý -9 L dt c

. ý

dt L

'these equations imply that the rate of change of the capacitor voltage varies with the

switching operation and as a consequence this can provide the rcquircd flexibility over

the control of the rate of change of the filter current. This approach is another example

of the use of piecewise non-linear approximation method.

A practical implementation of this method is shown in the Figure 2.38. The pairs of

switches S, S2 and S3 . S4 operate in anti-phase. The simulation results are presented in

Figures 2.39 and 2.40.

0 .............. ..

Vl Q i : -0.

ý ý_: ý:

low -pan passive filter

Figure 2.38 Practical circuit ( new )

I L

65

Page 76: Active Filters: A Unified Approach

Tcchniques for Synthesising Actirc Fiitus

f ............. 00 ......... 0.0 ....... 1

oý .. .ý. .. 1�

N. U a .1

C

I

w . ý,

v ýo I U

Chapter Two

0. ssss. s s. s"sssssssssssss0f". "sssss. T

S 1"1 ý"6

ý ý ý

I

I"

q

I I I a

9 II

I 9

ý ý ý.. ý ý

, ý

ý ý ý

ý ý ý

:

ý

r

ý

ý

I

-. 4

ii , .r,

ý. ;

'n aI

e' 0';

:I ýw ýý

9 w " ..

ý b ý ý

äý ý e7 .4

'2 rO ýM

vi N ý

ý ý

ý ý ýN

u ý". ". ............ 1... "........ 0 > ÖOOý

Figure 2.39 Simulation resvIts of scheme''o. 3 section 2: '5.2

to ..

.ý wl

ý ý I.

ý ý

ý

0

66

Page 77: Active Filters: A Unified Approach

Tcthniqucs (of SyntAcsising Activc i'iltus

r.... efl

ý

rsssssssl

t

... 1.... ý '"i'

I

i C ;.

\.

ý

r. ý.....

. ý ý ,

ý :: ý

N ý

a

rN

ýN ý

0

A M ý ýc t 0

ý. V C U 7 C' C il

ta.

Chapter Two

0-0 mm1 0- 0.. *.. 1 f- 00 0T

""111" ""1"/1 "i"1110 "1ý/11N 1/"/11 /1"111 """/"r """""r """""ý """""1 "1""ý" """""

ý""ý "1. "tr """""" "". ""ý

.ý. ", ý

. rrýýý """"""" ýý" ý

""""1ý

aý . f

"i4....

:' .; :' ,, ., ., .ý ;. ý. ý

: :iý. ; .i1; 0.3 , "1 ... i, 1 "1 on - I.

A

-rI ý "i « -. I" .ýr,.. I, 0 .1 i J$

IU "" gIt4

:Aý

,, ý ,., ý. .ý.. ý ,. ý ,., .. ,. ý ý"ý

,: 'i M

N

f \I f

1ýiý

"1ýý

ý1ýý

I I 4 4 I ". y. /".. "1

111"1 /1/11

11111 1111

11111

Iý) :: d:: 11 ý ". ... q, .. ý.

'I )� 'ý '' ä

1ý"11

1"/1 11'

"111/ý1

" .. ý ýý ý _+ "A"V" ýý . .. ý .

t1 4\. .i4\'C. ' 11

O E..!!!!!! O jl.. l.. l. }. ,., 1t1t1

PC "C PC dOO0O0 CO MOýO fV fV tV /Y CV

Figure 2.40 Second simulation results of schcme No. 3 section 2.5.2

b,.,, c% "'o"' 0ý.. ý ý. ý. ý,

67

1 I

-o . ýc

«.

:ý ýý ,ý

ý ýý ýo ýN r ýy

Page 78: Active Filters: A Unified Approach

Tcchniqucs for SynthcsistnS Active Mitcr, t Chartu Two

The disadvantage of this approach is that prescncc of the current transients associated

with the low-pass filter (for cxamplc when the circuit is switched on). It is possible to

overcome this problem by inserting damping resistors which of course introduce losses

jllayashi 881.

2.5.3 Constant current source as a storage clement

In this arrangement. as shown in Figure 2. d 1, the constant current source is achieved

using a large inductance in a rectifier circuit jFukuda 95. Choc 89, Chicharo 931.

n+"ütk

I

V4

dc current luy+ply

Figure 141 Functional diagram

The equations for the circuit are as follows.

If the switch is in the position shown in the functional diagam

v,. =vj, 1=l0

If the switch is in the alternative position.

r4="vi. 1="l0

68

Page 79: Active Filters: A Unified Approach

Tahniqucs for SYnthesitinr Active F; ltcn Chaptcr Two

For most practical situations it is not necessary for filters to generate even harmonic

currants and thcrcforc the filter current must have odd symrixtry which can be achicvcd

by reversing the order of switching every half cycle.

C early the filter current has a square waveform with magnitude 1. and this approach is

an example of the discontinous linear approximation technique (c"ii). Similar to the

topology shown in Figure 2.37. this technique can not provide the picecwise

approximation which is acceptable. However. by appropriate selection of switching

instants, the low frequency (0.5 to 1 kht) components of this waveform can match the

required cumnt. To cancel the higher order harnxmics it is necessary to use a passive

high pass filter. A practical implementation of this approach is shown in Figure 2.42.

shuntpssistfiltcr

Figurc 2.42 Practical circuit

large inductor

2.6 Conclusion

It is shown that the operation of active filters is based on the manner in which the filter

current tracks the harmonic currents due to non-linear loads. In particular, it is shown

that tracking techniques are based on the control of two factors: di/dt and d31/ dt2 in the

69

Page 80: Active Filters: A Unified Approach

Tcchniqucs for Synthcsiring Active ripen Chapter Two

filtcr current. In the lincar tracking techniques di/ dt is controllcd and in the nonlinear

oncs both di/dt and d2i/dt2 arc the controlling factors.

In the structures based on the linear tracking techniques, high switching frrqucncy is

employed to track the rapid variation in the ha monic load-current. But in the structures

based on non-linear tracking techniques, it is the second derivative of the filter current

which is controlled and the switching frequencies arc lower. Therefore the switching

losses in the linear techniques are higher than those In the non-linear circuits. however

the disadvantage of the non-linear technique is that the filter current is affected by the

resonance associated with the filter circuit elements This drawback can be overcome by

applying constraints on the size of the circuit elements and switching frequencies such

that

f,. m. «. c. "ew < f,, ý:., r. ý. ý, º I

2z LC

LC > 1

4 n: f

These techniques can be subdivided into continuous and discontinuous filter-current

modes. In the discontinuous current mode the filter current contains higher order current

harmonics which are not required. In contrast. in the continuous-current mode there are

much less higher order current harmonics.

Based on this approach, existing active filter circuits have been classified and seven new

circuits have been developed, analysed and simulated. Three of these new structures

have been designed, built and tested in Chapter 3

70

Page 81: Active Filters: A Unified Approach

Opcraüan and pcrrocmancc of proposcd active rýltm Chalxct'itircc

CHAPTER THREE

Operation and Performance of Proposed Active Filters

On the basis of the unified approach outlined, seven new circuits were proposed and

theoretically investigated in Chapter 2. To assess the accuracy of the simulated results

three circuits were built and the results of experimental investigation are given in this

chapter.

The optimising criteria used for formulating the switching patterns and the circuit

parameters are based on two alternative objectives: (a) minimisation of total harmonic

distortion (TEID) and (b) minimisation of total apparent power demand. The

minimisation of total apparent power demand takes into account the power factor

improvement as well as losses in the filter.

71

Page 82: Active Filters: A Unified Approach

Opcration and pcrformanco of proposed acthv filtcra Chaptu Three

3.1 Performance Criteria for Active 1}iltcrs

The performance of an active filter is evaluated by mcasurcmcnt of three parameters, in

before and after filtering : Total 1lar monie Distortion, Power Factor and Efficiency. It is

assumed that the supply does not contain any voltage harmonic distortion.

The three parameters and associated symbols arc defined as follows.

" Total Distortion Componcnt of supply current.

" Total Harmonic Distortion in the supply current, %T! ID Q ! OOx

" Distortion Factor t=I

" Displacement Factor. cos0, (0, is the angle by which lit lags v, )

" Power Factor PF =µ cos0,.

" Average Power P� =VV lit cos 0,

" Apparent Power S=V, I,

" EfTicicncy n=P P+P wyr w.

3.2 Operation and Performance of Active Filter Scheme No. 4 (Section 2.5.1)

The active filters shown in Figures 3. land 3.2 are used to control harmonic currents in a

rectifier circuit feeding capacitive and inductive loads respectively. The filter consists of

three switches, one capacitor, one inductor and a by-pass resistor. Switches S1 and S2

operate in anti-phase such that they carry the input current alternately.

72

Page 83: Active Filters: A Unified Approach

nvlallrF MiIA inJ4ý. 'laýC iCtüli%C 1, %,,. l

4. mrr 1 k. W

1"'.

1..

ý

_: ýý `ý

Active filter

S

Figure 3.1 System configuration with a rectifier-inductive resistlvc load

trrtifi" with rAiwºtivr [+C, simi%v kxx!

I..: - , i...

ý--r--. -----

ii__ T F

Active filter

Figure 3.2 system configuration with a rectifier -capacitive resistive load

71

Page 84: Active Filters: A Unified Approach

Operation and perfonnance of proposed active riltent Chapter Throe

Since the transfer of current fmm one path to the other requires finite time, to avoid

short-circuiting the capacitor, an auxiliary by-pass circuit including a resistor (10.20

ohms) is used to facilitate this transfer of current. Appendix A shows the details of the

practical implementation of the switches and their driver circuits.

Tables 3.1 and 3.2 give the components of the active filter and the rectifier loads.

Table 3.1 The components used in implementing the system (figure 3.1)

Active Filter Non linear Load Inductor 14 4 mll In Inductor L, RO rnl t I. 9n Capacitor Co 8Ou

Table 3.2 The components used in implementing the system (Figure 3.2)

Active Filter Non linear Load Inductor 4 mN fß C itorC, 600) tF Capacitor Cl 80 uF Ruistor R, 263 0

Figures 3.3 and 3.4 show the relevant voltage and current waveforms for the two types

of load. The supply voltage peak value (line - neutral) is 60 V. Each Figure shows the

corresponding nonlinear load current and the active filter current. Note that the supply

current which is the sum of the filter and the non-linear load current is substantially

sinusoidal. The switching patterns are also shown.

74

Page 85: Active Filters: A Unified Approach

( 'apHer 11rn

. U4J, ý

" t,:, I.. I

Figure 3.3 The performance of the system with a rcctificr-inductive resistivc load

10 4 , 1;. L

. ... ý

Figure 3.4 Tice performance of the system a rectifier-capacitive resistive load

75

Page 86: Active Filters: A Unified Approach

The spcctr. t of the %upply current with and w ithout the active f ilter% arc shown ºn 1"iKurc. %

3.5 and 3. ( showing significant reductions in the current hannonics. the ciniuit

simulation results are shown in Figure 3.7

1 .. i

0

1,1 11 1.1 1111.

,,... ( ., - -. III,. ý.

Figure 3.5 The frequency spectra of the system with a rectifier-inductive resistive load

.;:. [

1 :..

F 11 li1C `ýý ý f1C i1C'ýýliCiiý \ ýý1C'ý tid iýt 1ilC ý\ ý1C111 \C i1ý1 .l iC, tit 1C1 '. . 1j1. iý 111\C fCýiti11\(' ýoat1

76

Page 87: Active Filters: A Unified Approach

Operation and performance of the proposed active filters Chaptu Mum

r--""-"-, ýes SC S" rr"oý. m. N

ý

O

ý

ýN

I IO

ý

N i2

%O "

r0000001

l .r cº 0 . w C.

v ge fli f

'O. SOS

.

.

.

....

!

ý

1

.yr... e.. r iii

01 i

11p

ý ý

ý ý" ý. ý ý.

O

I

. lr

.r r

6 w !+

ý a ö ý I« w

7

1 04

ý ý ý ý Co

.r

:k .. 4 C. a

O

O 0

Figure 3.7 Simulation results of system configuration (Figure 3.1)

77

Page 88: Active Filters: A Unified Approach

Operation and performance of proposed active film Chapter Tfucc

Tables 3.3 and 3.4 provide a summary of the performance of the system, Including the

total harmonic distortion MID). the power factor (PI) of the resulting supply current

and the efficiency of the filter.

Table 3.3 Harmonic perform=cc of system with a rectifier-Inductive ncsistivc load

Before Filtering Ater Filtering

The rmt value of supp ly current 1 17.19 18.49

Fourier Components of the supply current Ilarmonics No ,,. t

1 16.17.100 . 01)3% 18311100 0.095 Iý. (11/10) 4,82. (29.8) -0304 0.00. (0.0) 1.297 1,. (11/10) 2.43. (15.0) -0381 0.06. (03) . 0.618 I?. (1, l 1, ) 1.19. (73) -0.601 0.04, (02) 0.775 1,. (1, I1, ) Oil. (3.1) -0.960 0.12. (0.7) 4.074

0.21. (1j) 4365 0.23. (13) 4564 113. (113111) 0.23. (1.4i 3.365 0.15. (0,3) "1.446

030. (19) 2.8543 0.16. (0.9) 3.756 I,,. (1� / I, ) 028. (1.7) 2.599 0.17. (0.9) 2.4S0 1,,. (1,, 11, ) 023, (1.4) 2.470 036. (2.0) 2305 1:,. (I�1I, ) OJS. (09) 2396 0.00. (0.0) 2.605 1,,. (1=, / It) 0.03. (0.5 ) 2.428 0.09. (0.5) 1.769 1! 1. (111/I, ) O. 03. (02) 3J41 0.03. (0.2) 2.279

1,,. (I,, / 1, ) 0.05. (03) 3.821 0.11. (0.6) . 0.921 1,,. (I�/I1) 0.06. (0.4) 3.903 0.02. (02) 3591 1,,, (1,, /1, ) 0.03. (0.5 ) 3.773 0.02, (02) . 1.081 1,,, (133/ 1, ) 0.04. (0.5) 3.463 0.09. (05) 2.734 131. (1,, /1, ) 0.07. (0.4) 3.226 0.24. (13) 3.353 I,,. (I�/ 1, ) 0.06. (0.4) 2.946 0.06. (0.4) . 1.476

1 555 0.63 TIID 34.4% 3.52%

The harmonic and phase displacement and wee factors os lr current 11 0.94 0.99

cos 0 0.99 0.99 PF 0.93 0.95

The real wer of load and disci ion wer o thy filter and a cienev P {V 679.10 7693

0.83

78

Page 89: Active Filters: A Unified Approach

Opcration and performance of proposcd active f, ltcrs Chaplet Thrcc

Tablc 3.4 iiannonic performance of system with a rcctiCu-capacitive resistive load

Before Futering I. l fttr Filtering

The ems value of supp ly current J rnzt 6.30 8.28

Fourier Ca nents of the sr current Harmonics No Angmthude Ph ase

/ 4.661100 0364 8201100 0.746 1,. Mill) 3.28. (70.6) 4342 0.0010.0) . 0.244 Js. (11,11) 1.84139.4 2367 00010.0) 0.078 /,. (I, / I, ) 135.128.9 0.625 0.10. (12) 0231 1,. (1, /I, ) 0931199) -1331 OJ IIJ J) "0.732 1,,, (1,, I1, ) 0.4319.2) 3205 0.21. (2i) 3317 111'(111/10 031. (6.6) 1.564 02913.6) 2.287 I, s. (1, s/ I, ) 0.1914.0) 0237 027133) 0.184

0.1212.5) -0.822 0251303) -1.047 OJ2. (2.5) 3. äs9 0J411.7) 3.269

/it. 0.08. (1.7) 1.946 02.112.8) 1.324 0.0811.7) 0.604 023. (2.8) 2.893

I, s. (lis l l, ) 00611.2) -0.564 008109) 3.632 00410.8). -1.567 003109) " 1.065

I,,, (1 ,/I, ) 0. (410.8) 3.194 0J211.4) 1.728 Jet. (It, / J, ) 0.0410.8) 1.469 OJ611.9) 0.187

006112) 0.009 OJ61I. 9) IJ42 /is. (Iss/ ! t) 0.0611.2) "1.067 OJ311.5) 3.324 I,,. (J�/1, ) 0.03/06) 3.895 03311.5) -1.410

The distortion c Went of the supp ly current and the Total Harmonic Distortion I 42 0.9

TI1D %89.6 %11.24

The harmonic and pkm displacement and wee sctors n lv current 0.74 0.99

COS O 0.93 0.73 PF 0.69 0.73

The real "er of load and dissi Lion jwn wer of active filter wd effi ciency P,., ( W 183.9 253.4

11 0.73

These Tables relate to the situation where the filter operation is optimised for the

reduction of total harmonic distortion. The reduction achieved is different for the two

79

Page 90: Active Filters: A Unified Approach

Opcration and pctformancc of proposed salve filtctY Chaptct Thrcc

types of rectifier loads . For the rectifier circuit with the inductive toad the power factor

without the filter is already very high and therefore the effect of the filter is negligible and

the filter efficiency is high (0.88). For the rectifier circuit with the capacitve smoothing

the reduction in the total harmonic distortion achieved is 87% but the filter efficiency is

low (0.73) .

To optimise the system with the aim of improving the power factor and maximising the

efficiency one approach is to minimise the apparent power. With this approach, a high

operating efficiency can be achieved but the reduction in the Tl ID is obviously not as

high as the previous case. These facts are summarised in Tables 3.5 and 3.6

Table 3.5 Comparison of two optimisation approaches of system with a rectifier-inductive resistive load

7710 rF_ n it Before ilterin 34.44% 0.93 1.00 17.19

After filtering (for 711D.:. ) 352% 0.98 0.83 18.5 After filtering (forS.;. ) 23% 0.98 0.98 16.82

Table 3.6 Comparison of two optimisation approaches of system with a rcctificr-capacitive resistive load

7111) rF 11 11 Before term 89.69% 0.69 1.00 6.30

After filtering (for 711D. 4. ) 1124% 0.73 0.73 8.28 After filtering (for Ste. ) 18.65% 0.69 0.83 7.67

33 Operation and Performance of Active Filter Scheme No. 6 (Section 2.5.1)

The active filters shown in Figures 3.8 and 3.9 arc used to control harmonic currents in a

rectifier circuit feeding capacitive and inductive loads respectively. The filter consists of

80

Page 91: Active Filters: A Unified Approach

thrcc %m itihc%, t%%o ca)lacitor, %, twcº inductor% and a by-pas% rc%wc, r ti'Aitchc% ti) and

S2 operate in anti-phase such that they carry the input current alternately.

rtx: titicr with intluctive re., iitavr laatt

_.. ___.. _. l

N

lwrN1

---Ob . el

_ý 1_1

ý_I

H.

1 Active filter

/i

Figure 3.9 system configuration with a rectifier- inductive resistive load

tcciifirc w"ith caiwiuvc resiui. -c Ic>txt

ýý.: 5' .

a ý

ý

R IN

IL T

i

K

Acuve filter

Figure 3.9 systcni configuration With a rcctificr-capacitivc rrsistivckoad

81

Page 92: Active Filters: A Unified Approach

Opcratlon and performance of proposcd active filters Chapter ? iuco

Since the transfer of current from one path to the other requires finite time, to avoid

short-circuiting the capacitor an auxiliary by-pass circuit including a resistor (10-20

ohms) is used to facilitate this transfer of current. Appendix A shows the details of

practical implementation of the switches and their driver circuits.

Tables 3.7 and 3.8 give the components of the active filter and the rectifier loads.

Table 3.7 The components used in implementing the system (rigurc 3.8)

Active Filter Inductor Inductor Capacitor Cr Capacitor Co

13.15 n1113f1

,i "di. in 29.63 uF 100 uF

Non linear Load Inductor l. ý I so n11, l. 90 I

TABLE 3.8 The components used in implementing the system (figure 3.9)

Actire Filter Non linear Load Inductor 153m11,3.1 A C itor Co 6()0 It F Inductor . 12.6 m. 11.2.41 Resistor R, 263I1 Capacitor C 16 uF Capacitor Cn SO uF

Figures 3.10 and 3.11 show the relevant voltage and current waveforms for the two

types of load. The supply voltage peak value ( line " neutral ) is 60 V. Each Figure

shows the corresponding nonlinear load current and the active filter current. Note that

the supply current which is the sum of the filter and the non-linear load current is

substantially sinusoidal. The switching patterns are also shown.

82

Page 93: Active Filters: A Unified Approach

('hnlNct Thrcc

I :.

I ..

ý :,

ý1 ýýý

ýýý 0

-z--

LTI EEL; ][:: =

---

IMM"! = liux:: I= 0

hprc . +. 1t1 The }vrtonn. ºn. c (, t S) Steil) vIth a rc. tlticr ºndu. ºi%c rcSiStiýc load

I .. ý

t :.

I ,. I

r ýl., ý

ý1 ý. ý.

ý ýýý, ". ýi ý ý.

I ,,. ý ýý. ý.., ý". Cý.. .. ý... ýýýý ýý,. ý .. ý.. \\..... 5 ICý. ý...., ..: ýý. lý., i\l' . lý ýýiý\C ýýý. JJ

93

Page 94: Active Filters: A Unified Approach

rauen and pcrloxmanrc of pri1 %lt'd a. t*vc IuItcr. ('hapicr I hrn

Pic spectra of the supply current with and without the active filtm arc shown in figures

3.12 and 1.13 showing significant reductions in the current harnxxucs Simulation

results arc illustrated ºn Figure 3.14.

1 ..

,1 oi ý1; if1 ,1 it'k iliii f llli!,; k '; \ i ýýý, 1d

.I..

ýi..,

' 'i ",; r I , 11ý

1 ,(,.; I 1.1;.

Figure 3.13 The frequency . pwtra of system ith a rectifier-capacitive resistive load

94

Page 95: Active Filters: A Unified Approach

Opcntion and pcrfocmancc of ft proposed actirc flitun

rnneee

ý ý ý ý..

ý ý ý

ý

ý , ý..

, ý ý

ý ý ý ý

ý ý ý.. ý ý ý ýý

I ---, 1

Lace ens

r.. - .r

I I I I

ý--oa" I

4

I

I1

M r. a a as 01

ý 5 .ýý

ý

"I ,. I

III

III

$It I$I

III

_N ý ý 0

i " qm " e

H

" a 0 ý w o.

s

ý ý ý ý s , -ý

,ý", ýý I"""ý,

C'? taptu TMco

r"""""""y Ir. """""T ý 111 "11 "/1p 111N "111 1/1 "1"1

""1 111

"11" "/11 "/" """" "1/1

"111ý "/11 1""""1"""

""1"ý 11 V4

11

"1" "1" 01 ""

1 t/ "ý" "ý

"1xw "". I+ 01

; I "I

ý L.

L ",, v 1S1 r1 "ý ,I

ISI 1,1

I "1"/"1

"/Cr"""1 .. "/"t11

"1t""1" ""11

". ``

111/11

1r """ 11/t11

1" (% "/r"11

""n/1"111ý y`"

11u1""""1E r//""1"t1"ºQ+

"r"11 11 "" rj ""ýrýý"ý/"ý1ýF

141

: ý: 1 ý": I 1\ ; Iý: ; :: ýýý". ýý .... ;.,. ""ý

"N,. """. ."...

". "; -. ". ".

}..;.. wý" "..

ý.

_ CT u'

10 it º .. I. ."1. .1.1qI..  I" "1 1"

ý I' .ýI'ýýýý tl

.ýý qL , ,.,. ý ,,.,,, .,,., 1,

,1,....

III101 If ý 1/ a011 ,. I. ,,.. $. 111 ,. i. a111

-t ...

.. "ý. 1

,1.. 1.1

,. N"a"1 .I\I ;_nýý1O10 11

1.. 1.. Yýý. " "Iý ý ýý"L ý. 1.

"Iýý 'O ýII I

ýI1"1 1 .. ýII

:I: I; If: ý: ; C6 1N!

-, --4 iý

11 r0 , 110 ýý /1 !

_; ý ! 0-4"

1a7

U J4ý

li 0' a'

apONNNN P1 ;

Figure 3.14 Simulation results of system configuration (Figure 3.8)

d cý--"----1 0 ý_".. -" ;ýsG Hýý-"a cý--ý =-ý o ý. ý. _. ý. ö t .c "c 0ooooo2 Co

95

Page 96: Active Filters: A Unified Approach

Opcration and pcrformanco of propoyad arcüvc rýIcm Chaptcar Ttucc

Tables 3.9 and 3.10 provide a summary of the pcrformancc of the system including the

total harmonic distortion (Ti ID), the power factor (VF) of the resulting supply current

and the efficiency of the filter.

Table 3.9 1 lam ionic performance of system with a rcctificr"inductivc resistive load

IIffort Filtering After Filtering

The rnu ývzlut oa r current I 17.19 19.26

Fourier C nests o/tht sv current llarmonicsNo

1 16.17.100 .0 ()x896 19.07.100 -0.037 I,. (1, /1, ) 4.82. (298) -0208 1.23. (6.47) 0.011 Is. (Wh) I, ) 2.43. (15.0) -0383 050. ( 2.65) -1.124 1,. (1, /I, ) 1.19. (73) -0.601 031. (2.72) 0.283 1,, (I. 11, ) 051. (3.1) -0.960 0.47. (2. S1) -0394 I,,, (I� / 1, ) 021. (13) 4.363 035. (1.. 56) 3.652

023. (1.4) 3.363 026. (1.40) 3365 1,,. (I, s/1, ) 030. (19) 2.8583 0.29. (1.57) 2.775

028. (1.7) 2.599 034. (1.82) 2.778 I,,. (I,, / 1, ) 023. (1.4) 2.470 023. (1.22) 2.669 I,,. (I�/11) 0JS. (09) 2.396 0.14. (0.77) 1.810 I,,. (I11/11) 0.04. (0.5 ) 2.428 OJS. (0.83) 3.192 III-MI/11) 0.03. (0,2) 3.141 0.02. (0.11) 0.625 127. (111411) 0.05. (OJ) 3.821 0.06. (031) 343 1,,. (1, " / 1, ) 0.06. (0.4) 3.904 0.07. (038) 3.919

0.04. (05) 3.773 0.07. (0.45) 4.182 I,,. (I,, / l, ) 0.08. (0.5) 3.463 0.04. ( 0.42) 3.140

(, )I/ It) 0.07. (0.4) 3.226 0.04. (0.47) 3361 0.06. (0.4) 2.946 0. (N. (021) 2.477

The distortion component of the supply current and the Total Harmonic Distortion IA.

1 5.55 1.69

TI/D 34.4 % 8.83%

The harmonic and phate die acement and wer . zctors of a ly current 0.94 0.99

COS © 0.99 0.99 PF 0.93 0.98

The real er of load and dissi ion er of active filter and a , cientw pW 679.10 MI

0.84

86

Page 97: Active Filters: A Unified Approach

Opcration and performance or proposed active riltctt C'hACtcr Three

Table 3.10 harmonic performance of the system with it malficr. capacidvc rcsisdvc load

Bt/ort F ilurteg After F iitering

The rnu value o sup ply current / rmt 630 7.8.1

Fourier Co ncnts of the s lr current Ilarmonks No

4.66/100 OJ64 7.771100 0.192 I,. (1,11, ) 328. (70.6) 4342 0.10113) "1393 It. (1,11, ) 1.84139.4 2367 0/4/0.6) 3.415 1,. (1, l 1, ) 1354289 0.625 0.1812.4 1.031 It. (W id I, ) 093/19.9) "1331 041/4.1 "1.414

0.43/91) 3.205 0,24/3.1) 0.566 I,,. (! is / I, ) 031. (6.6) I., S64 0.06, (0.9) 1.838 I,,, (1, s / 1, ) 0.19, (4.0) 0.237 027. (3.5) 0.178 1,,. (! n /l i) 0.12, (2.5) -0.822 02012.71 0254 I, ". (!, "//, ) 0.12125) 3.649 0.04, (1.1) . 0.777

01)3/1.7) 1.946 0.17/2.3 2.447 I,,. ( 1� / I, ) 013/1.7) 0.604 0.06. (0.9) 0.302 l, s. (! � / 1, ) 0.06, (12) -0.564 0.0510.7) -0.936

(In/ Ii) ODs. (0.8). "1.567 OJ I /I S) 2.802 1,0, (1, "! !, ) 0.04/0.4) 3.194 0.1311.8) 3.399

0.0410.8) 1.469 0.02/03) 1.016 0.06/12) 0.009 0.03/0.4) 4.659 0.0611.2) -1.067 0.0. (0.0) 0204

Ir,, (I�! !, ) 0.03/06) 3.895 O. 0. (0.0) 4.518 The distortion component of the supply current and the Total Harmonic Distortion

IA, 1 4.2 0.65 T1/D , 89.6% 8.4%

The harmonic and hate die acerrunt and wee tones of su lr current 0.74 0.99

COS 0, 0.93 0.94 PF 0.69 0.97

Thereat wer o load and disci tine wer of active Ater and a cieney P (W) 183.9 323.06

11 0.58

These Tables relate to the situation where the filter operation is optimised for the

reduction of total harmonic distortion. The reduction achieved is different for the two

types of rectifier loads. For the rectifier circuit with the inductive load the power factor

87

Page 98: Active Filters: A Unified Approach

Operation and pcrformancc of proposal active filters Chapter Thum

without the filter is already cry high and therefore the effect of the fitter is negligible and

the filter efficiency is relatively high (0.84). For the rectifier circuit with the capacitve

smoothing the reduction in the total harmonic distortion achieved is 90% but the filter

efficiency is low (0.56).

To optimise the system with the aim of improving the power factor and maximising the

efficiency one approach is to minimise the apparent power. With this approach as

shown in the Tables 3.11 and 3.12. a high operating efficiency can be achieved but the

reduction in the 71 ID is not substantial. These facts arc summarised in these Tables.

Table 3.11 Comparison of two optimisation appraches of system with a rcctificr"inductivc resistive load

7111) f IF In 11 Before filterin 34.4% 0.93 1.00 17.19

After filtering (for TiID.,;, ) 8.53% 0.93 0.84 1926 After filterinit (for S.,. ) 2554% 0.96 0.98 16.85

Table 3.12 Comparison of two optimisation appraches of system with a rectifier-capacitive resistive load

Before term 89.69% 0.69 1.00 6.30 After filtering (for TIID,.,. ) 8.4% 0.97 0J8 7.84

After filtering (for S.,. ) 37.19% 0.88 0.85 S. 74

3.4 Operation and Performance of Active Filter Scheme No. 7 (Section 2.5.1)

The active filters shown in Figures 3.15 and 3.16 are used to control harmonic currents

in a rectifier circuit feeding capacitive and inductive loads respectively. The filter

consists of three switches, two capacitors. two inductors and a by-pass resistor.

88

Page 99: Active Filters: A Unified Approach

tiwýtches Sl and S2 operate in anti phase such that they carry the input current

altcrnatcly.

,. Aitirc filler L.!

-

Cn . -.,

Figure 3.1 5 system configuration with rectifier-inductive resistive load

rr. ctaTicr w ºun inctucciwt rciEsüvr kuf

rec; tillrr with caiariuvc rcaY. rtir-c 1t'xx1

t...... Iw. e I I ̀ . Ln

ý.

R

k"

AeUvt (titer

Figure 3.16 svstcni configuration vºith rcctificr-raparitivc resistivc load

hU

Page 100: Active Filters: A Unified Approach

Again, since the transfer of current from one path to the other rcquircs finite time, to

avoid short-circuiting the capacitor an auxiliary by-pass circuit including a resistor (10-

20 ohms) is used to facilitate this transfer of current.

Tables 3.13 and 3.14 givc the components of the active filter and the rectifier loads.

Table 3.13 The cmponcnts used in implementing the system (Figure 3.15)

Inductor active Filter

Inductor Lf. Capacitor C Capacitor Ca

9.75 ml/, Y. I Cl 2.81 ncllA. 9n

25 i+F. A 8 uF, tl

Table 3.14 The components used in implementing the system(Figurc 3.16)

actiºv Filter Non linear Load Inductor 14 8,80 m11,30 Capacitor C 600 tF Inductor 4. 320 nJlA. 9fl Resistor Ri 26. Sq Capacitor C 11 uF Capacitor Cc 8 uF

Figures 3.17 and 3.18 show the relevant voltage and current waveforms for the two

types of load. The supply voltage peak value ( line - neutral ) Is 60 V. Each Figure

shows the corresponding nonlinear load current and the active filter current. Note that

the supply current which is the sum of the filter and the non-linear load current is

substantially sinusoidal. The switching patterns are also shown.

90

Page 101: Active Filters: A Unified Approach

1 11ff1

'()ýIhº

I, -, ,.

1,.. .. ý"..

I i

Figurc 3.17 The pcrfermancc of system with mctificr-inductive rc%l%tivc load

1 ".

I :..

, .,,. ý, �

1 1: . ,. ", .,,,.:,

Figure 3.18 The pcrlumiancc (if ayacm with rrrtiticr-capaiin% c resistive load

91

Page 102: Active Filters: A Unified Approach

'11ic %Pcctr. t of the supply curTrnt with aril without the active tilicr, % are shown in I"ºgures

3.19 and 3.20 showing significant reductions in the current haniumm-%. Simulation

results are presented ºn Figure 3.21.

,. ý

l 'r ,,; r ,

I; 'C `)I }ll i(iki, U('il, \ ; 4', ; 't , , '. ": C ill \1 i; }t 1c" Il! lc'I l(ldil, 11\c ll'ýl`11\(' 1(), lci

. ýA Jiý i

ý F, , ,, i((, li. k

I

Figure 3.20 The frequency spectra of system with rrctificr-capacitive resistive load

q,

Page 103: Active Filters: A Unified Approach

Opendon and performance of tM propow active fdim Chaptu T rto

Fe.... "1

I

I

'. "-a"--

""V I so 11" so "I$ "ty 1II "SIS "51ý "/11 111 "111

"111

"1/1 I11

$1/1 /111

"111 /111I

1//1 I"""/""". r1

r1ý "1I I- "1/ "III $"

, ý

f

ý ý ý

ý ý ý

[D s ý

w N

a% as ý

a

rý" " !

1 f t f

i

I

!

I !

! 1 !"

1 1

!

N ý

O

rl

w ;2

O

rasaaaaal 'aaaaaaa, 'aaaaaaalr ý

t

I

$ ý" "Mý " . "S'" " "ý"

""""ý"

". ." "O" ..

1

ý

.

ý ý ý

,i;

i, : : ý,: ä: : J.., ý .ýII : 4. . ', ýI :I

UýIý. "IH :IA: o: kt :0 :

ýý'ýýfpýý .ý t!, ý ++ý ý 0.

ý I'aý

La '. ,

ß. ý"0ýýý

._. }.. -".. { O ý. ý---"""- O ý. ------ ="a F-- "--I 0 ý------- aOý

.C "t °0000 ut pOONNNNN

Figure 3.21 Simulation results of system configwration (Figure1 3.15)

/r1 rrr /1ýr1Y1 1rU.

/rCr1/ wr .1r1

S

ý ý º

ý ý ý ý ý

rIr1r1

;".. ". r rrý. ,.. ý, 4" ,"

ýr". r ,,... r ,,. ý. " ý. ýý" ý,.. r

,r. r

ý.. '.. ý". r ,, ý". " "" I" C/ ."ý" "ý, ". " IIýr. ý

ýI, ", "Ir

-.. """

.ýý .ý I. . ..

:. .ý ý. ;.

II'Is: el- ": '. : .. - ',,.., ',, I. ' ,. '!. 1 IIII) i,,,. I I...,..

.ý�ýý.. .... ,.... - """". "r"t" ,.. ". """"

,""""" ,"1ý" 'f

", N". " .Y "".,

ý'. .""" .""" "..;. "

32

" ,-""""" """""""" ,"O""""" t"". tr. t ""

"t"t""r" trt""r"tt """""""t"

.. ""

I1 ý', IýI

1ý I Ii'

93

Page 104: Active Filters: A Unified Approach

Opcration and puformancc of proposed active filtcn Chaptu'1hroc

Tables 3.15 and 3.16 provide a summary of the performance of the system Including

the total harmonic distortion (TMID), the power factor (Pr) of the resulting supply

current and the efficiency of the filter

Table 3.15 1larmonic performance of system v%1th rectifier"inducdvvc resistive load

Bijou Filtering Aper Filtering

The not value ot v rurrent ! rnu 17.19 1848

Fourier Co nests of the sr current Harmonics No Amlirude- l' 1

16.17.100 . 0.0896 1830. (100 . 0.028 it. (1,11, ) 4,52. (29,8) . 0.203 0.14. (0.79) 1.735 1,. (I ,II, ) 2.43. (15.0) . 0383 0.13. (0.76) . 0.905

149. (73) . 0.601 0.01. (0.09) 3.162 1,. (10,11) 0.51. (3j) . 0.960 0.49. (2.72) 4.561

021. (13) 4,368 0.16. (0") "1.061 l,,, (! u l l, ) 023. (1.4) 3365 0.69. (3.79) 3.754

0.10, (19) 2.5883 0.42. (2J1) . 0.176 1, r. (1�l!, ) 028. (1.7) 2.599 021. (1.43) 0.941 I, ". (l,. lIt) 023. (1.4) 2.470 052. (2.86) 2.563 121. (121111) OJS. (09) 2.396 Oil. (1.72) 4.387

0.0.5. (0.5 ) 2.423 053. (1.84) 3.395 1,,. (I� / l, ) O03. (02) 3.141 027. (1.53) 3.139 1,,. (I�/!, ) 0.05. (0J) 3.821 0.49. (2.70) "0.019 I, ". (/�/!, ) 0.06. (0.4) 3903 0.: 6. (1.47) 3.882

0.03. (05) 3.773 0J2. (0.69) 4.394 0.03. (05) 3.463 0.09. (0.54) 4.649

l,,. (I)/ l, ) 0.07. (0.4) 3226 0.05. ( 0.30) 3.130 I,,, (I�/l, ) 0.06. (0.4) 2.946 0.06. (0.37) 3.549

The distortion c nent oftht supp ly current and the Total Harmonic Distortion Ill 1 535 1.42

THD 34.4% 7.78%

The harmonic and laze dis acenunt and urea utors of supply current It 0.94 0.99

COS © 0.99 0.99 PF 0.93 0.98

The real w+er of load and dissi pation pau vr of active lter and effi ciency PW 679.10 768.63

T1 I O. ß4

94

Page 105: Active Filters: A Unified Approach

Opctation and pctformance of proposed active fittcrt Chaptct Thtm

Tablc 3.16 1larmonic performance of system with rcctificr. capacitivc rcsistivc load

i !r( rnit )

Harmonics No

Before f Urtrist

i The rntt WIMP njxiy+/+lr t+vrrnl 630 I 7 . 16

Fourier Consi+ontnit ojtht tsyý Currtnt Amplitude I P1ºQte rrQsf º,?

It I 1.66, f l00) I 0.364 1t. ( !, I /i ) 3.28.170.6) 4342 It. (I1111) JB4j39.4) 2367 1r. (1rI1l) I 1J5.08.9) I 0.62S IN (to II, ) 093119.9) 110. (111111) 0.4302)

02116.6 )

"1.331 3.205 I wS61

J, i. ( l, il li ) 0.190.0) 0.237 0.12. (2S) -0.822

Iº.. ( Iº. l 1º )I 0J2. (2.5) I. (1� I l, ) O. Q4. (!. 7)

3.659 1.946

0114, (1.7) 0.6A4 I: s. rI: s/1,1 I OM. (/., ) 1 -0s64

rr Pt d`n

7.50/! O() 0.2(Äq 011/3.3) 4286 D. 12. (1. q) 1 2.110 0.1 4. (2.0 )_ l 1.449 0.1411.9) -0169 OJO. (!. 4) 1 0.033 0.18. (7i) 1 1.0.0

0-10. (4.1)___l -0.113 0.1B. R S1 1 -0.275

I2,. (1»l I1) 1 0.04, (0.8), 1 -!. 367 1 1: ". f ! i"/ 1, ) OMAS) 3.194 11ý, (1ýý / 1ý ) 0.04, (0.8) 1.469

0M, (1.2) 0.009

1 0.06.0.2) 1 -1.067 Irr. ( 1i, 1 !, )I0.03106) I 3r895

O. On, fO.: º_ 1.626

016, rJij 1 2.054 i 3.967

0Z2,0.0) 1 "1_514 a. nrs. (I. oý 1 1.483 OA: . (U. 4) 1 -1.441 o. r6il. v)

4286

2.939 0.06, (1.0) 1 3.714 0. J6, R. 2) ý . i. OßJ 022.0.1) 2.901

The distortion component oft he supply current and the Total Harmonic Distortion Idu

T! lD 420

. R9,6% 0.77

i

Aper Filtering

10-18%

The lunnsnnic and phase dicplarement and power rtnrs of supply current it

cos or, PF

0.74 0.93 0.69

0.99 0.97 0.97

The real nr of lead and dissipation pa r o(arriyelilter and egiciencv P(W)

TI 315.0

038

These Tables relate to the situation where the filter operation is optimised for the

reduction of total harmonic distortion. The reduction achieved is different for the two

183.9

9$

Page 106: Active Filters: A Unified Approach

Operation and pcrf«mancc of proposcd active filter: Chapter Three

types of rectifier loads. For the rectifier circuit with the Inductive load the power factor

without the filter is already very high and therefore the effect of the filter is negligible and

the filter efficiency is relatively high (0.88). For the rectifier circuit with the capacitve

smoothing the reduction in the total harmonic distortion achieved is 91% but the filter

efficiency is low (0.58).

To optimise the system %ith the aim of improving in the power factor and maximising

the efficiency one approach is to minimise the apparent power. With this approach as

shown in the Tables 3.17 and 3.18, a high operating a iciency can be achieved but the

reduction in the TIID is obviously not as high as the previous case. These facts arc

summarised in Tables.

Table 3.17 Comparison of two optimisation approaches of system with rcctificr-inductive resistive load

Tiff) PF Before terin 34.4% 0.93 1.0 17.19

After fikering (for 771D,. ) 7.78% 0.98 0.88 18.48

After filtering (for &j. ) 13.7596 0.98 0.94 18.07

Table 3.18 Comparison of two optimisation approaches of system with rectificr-capacitivc resistive load

r In 11 Before terin 89.169% 0.69 1.0 630

After filtering (for 771D,... ) 1033% 0.97 0.58 7.0 After filtering (for S.., ) 21% 023 O. ä6 5.93

96

Page 107: Active Filters: A Unified Approach

Operation and performance orpropowd actin rºiim Chnpur "me

IS Conclusion

Thcre is close agreement between the results of the simulation study on the new circuits

with the experimental work. All three circuits were optimised for best performance in

respect of TI ID which was achieved in the region of %3 to 11%. On this basis, Scheme

No. 4 (section 2.5.1) has superior performance in reduction of harmonics with high

efficiency. Scheme No 6 and 7. (scction 2.5.1) have lower efficiency but their effect on

the improvement in the power factor are greater.

97

Page 108: Active Filters: A Unified Approach

Conclusion and Future Vw'otk Chapter Four

CHAPTER FOUR

Conclusions and Future work

The unified approach for the classification, design and synthesis of active filters proposed

in this work has been shown to be viable. With this approach the basic parameters which

control the characteristics of active filters arc easily identified, thereby providing a useful

procedure for selection of suitable circuits for various applications. The main features of

this approach are summarised in this chapter

The work carried out was limited to the application of active filters for controlling

current harmonics generated by non"lincar loads in ac power systems. There is

considerable scope for applying this approach to the control of voltage harmonics in ac

systems which is also outlined here.

98

Page 109: Active Filters: A Unified Approach

Conclusion and Future Work Claptcr Four

4.1 Conclusions

'laic results of this study including the design. analysis and cxpcrimcntal work on a

number of new circuits are summarised below.

1. The classification method proposed in this thesis is based on techniques of 'tracking'

the required filter current by controlling di /dt and d' 1/ dt2 of the filter current.

2. Since the filtering requirements for non-linear loads arc likely to vary. it does not

seem possible to find a single topology which would mcct all the rcquircmcnts.

Thcrcforc the unified approach allows the designer to select the most appropriate

approximation tracking technique and the associated circuit configuration for a given

application.

3. Since the unified approach is based on the control of di /dt and dpi /dt2 the key

dement in active filters is an inductor. It is the control of energy flow in the inductor

which defines the characteristics of the filters. This control is achieved through the

control of voltage across the inductor in a number of different ways which in turn,

define the various circuit configurations.

4. The compensation strategy and the corresponding circuit topology can be selected on

the basis of the factors to be optimised. In this work the new circuits were optimised

to reduce THD and the apparent power consumed by non-linear loads including the

filters.

99

Page 110: Active Filters: A Unified Approach

Conclusion and Future Woik Chapter Four

5. The effectiveness of three proposed active filters have bccn assessed by applying them

to two types of loads: a rectifier circuit with inductive smoothing (i. e. low level of

input current harmonics) and a rectifier circuit with capacitive smoothing (i. e. high

level of input current harmonics). It is confirmed that it is possible to improve the

MID as well as the overall power factor.

6. It is shown that, for most of the proposed schcrncs, the resonant current of the L -C

components in the active filters can be prevented from appearing in the supply

current by reaching a compromise between the size of the circuit elements and the

switching frequency. This of course has the advantage of reducing the apparent

power demand in the system.

7. The switching frequencies (2 kliz to 4 kliz) in the proposed schemes are generally

not high, therefore the losses in the switches (especially the switching losses) are

much less than those in the inductor. No attempt was made to reduce the losses in the

inductors. for example by selection of special cores which may have the effect of

increasing the overall cost.

8. Whilst the experimental work was based on a low voltage. low power system the

principles outlined are applicable to high voltage and power ratings provided that

suitable switches are available.

100

Page 111: Active Filters: A Unified Approach

Conclusion and Future Work Chaptct flout

41 Future Work

The experimental work was carried out on opcn"loop systems. The switching patterns

for the various circuits were precalculatod using the optimisation method described in

Appendix B. In practical applications this approach would be too slow for on-line

control. There is considerable scope for work on methods of operating these types of

filters in a closcd loop environment. Since it is not possible to predict current hannonics

in power systems with the required degree of accuracy, the investigation on use of neural

networks would prove fruitful.

The unified approach proposed in this work is equally applicable to the construction of

active series filters for control of voltage harmonics in power systems. Recently. a

combined system of shunt passive and series active filter has been proposed by the

several authors [Peng 93, Rastogi 94. nerve 95]. f=igure 4.1 illustrates a general

diagram of series active filtering technique. the series active filter is controlled to

present a low impedance at the fundamental frequency and high resistance to the supply

and load harmonics.

Active filter

vj

ý,. Rrýr 1 1-

1 ff

Non-linear load

Figure 4.1 Principle of series active filter technique

r !!:! ý

101

Page 112: Active Filters: A Unified Approach

Conclusion and Future Wok Chaptc Four

It was shown in chapter two that the basic principle of active filters for controlling

current harmonics is to control the flow of energy between the supply and the filter by

altering the circuit topology via switches and the management of energy flow in the

inductive elements of the filters. This principle can be extended to provide a unificd

approach to the classification of series filters for control of voltage harm ics as follows.

The variation of the storcd cncrgy in a capacitor is proponlonai to the ratc of changc of

voltage across it and can be expressed as:

i . Pý,. k, (t)s ý'cIc ° tictCý )"- dt 2 dt

Since the objective of series active filters is to control the voltage and its rate of change,

rather than the current, capacitors are inherently better for this purpose. The

classification technique proposed for the active current harmonic filters can be extended

to the voltage harmonic filters. Three typical configurations with relevant equations are

given below.

(a) Both capacitor terminals fixed:

The arrangement is illustrated in Figure 4.2. The pairs of switches Si, S2 and S3, S4

operate synchronously in anti-phase. The following equations represents two states of

the structure:

When the pair of switches Si. S2 are in the 'on' state

dv, f a t"y+1L

dt C

When the pair switches S3. S4 are in the 'on' state

102

Page 113: Active Filters: A Unified Approach

Conclusion and Future Wock Chapta Pour

dý tc di c

ý ............................ ........... t

c r_ ý

Active filter

vu vi

(b) One capacitor tcrrtinal floating andshc oth_crfixcý:

The arrangement is shown in Figure 4.3.

vi

Non4incar load

Figure 4.2 Proposed scheme (a) for series active filter

......................................

L: Actiºti Jitter

4

Ji0 __-ý.

VI Non-JüAtar load

Figure 4.3 Proposed scheme (b) for series active filter

103

Page 114: Active Filters: A Unified Approach

Conclusion and Future Wok Chnptrr Four

The two switches Si and S, operate in anti"phase. The rate of change of voltage across

the capacitor for this configuration can be computed with the following equations:

When switch SI is in the 'on' state

dt di C,

dL= , _ýL. di C,

When switch Sj is in the 'on" state

dv dvt2 dc di C,

dv ý4. dt C,

(c) Both capacitor tr inals iloatinc:

The arrangement is shown in Figure 4.4.

...................................... Ve

4

vi

Active filter

ý

ý

Yf Non-linear load

Figure 4.4 Proposed scheme (c) for series active filter

104

Page 115: Active Filters: A Unified Approach

Conclusion and Future work Chapter Four

The pairs of switches SI. Sl and Si. S4 operate synchronously in anti"phasc. 'tlhc

following equations apply for the two states of the structure:

When the pair of switches S1. S, arc in the 'on' state

dv dy di dt C

When the pair of switches S,. S. arc in the 'on" state

-j-a_dyc aý1L'L dt di C

105

Page 116: Active Filters: A Unified Approach

REFERENCES

Akagi 95 Akagi, ll.

"New Trends in Activc Filters"

Proc. 6th EPE Confcrence, Selvilla, Vo1.0., pp 17.26, Sep. 95

Arrilaga 85 Arrilaga, J., Bradley. D. A., Dodger, P. S.

"Power System Hammonics"

Wiley, 1985

Baird 80 Baird, L. Arrilaga, J.

"Harmonic Reduction in D. C-Ripple Reinjection"

Proc. IEE. 1980, C, 127, pp 294-303

IIcgovic 93 Begovic, Ai. At.. Djuric. P. M., Dunlap, S.. Phadake, A. G.

"Frequency Tracking in Power Networks in thee Presence of I larmonics"

106

Page 117: Active Filters: A Unified Approach

IEEE Trans. on Powcr Dclicvcry, Vol. 8, No. 2, April 93

Bird 69 Bird, B. M., March, J. r., Mclcllan, P. R.

"harmonic Reduction in Multiplex Converter by Triple Frequency

Current Injection"

Proc. IEE, 1969,116 (10), pp. 1730.1734

Bottino 95 Botdno, M. P., Dclfino, B.. Garza. G.. Morini, A.

"Harmonic Interaction in IIVDC Link Between AC Systems at Diffcrcnt

Frequencies"

Proc. 6th EPE Conference, Vol. 3. pp 509.514. September 95

Cavallini 94 Cavallini, A., hiontanari, C. G.

"Compensation Strategies for Shunt Activc. Filter Control"

IEEE Trans. on Power Electronics, Vol. 9. No. 6. Nov. 94

Chicharo 93 Chicharo, J. F., Dcjsakulurit, D., Sarath, B., Percra. P.

"A Centroid Based Switching Strategy for Active Power Filters"

IEEE Trans. on Power Electronics, Vol. 8. No. d. October 93

Choc 89 Choc, G. H., Wallace, A. K., Park, M. il.

"Analysis and Control of Active Power Filter with Optimised Injection"

IEEE Trans. on Power Electronics, Vol. 4. No. 4. October 89

107

Page 118: Active Filters: A Unified Approach

Dakyo 95 Dakyo, B., I. c. J. C. Protin. L.

"Single Phase Active Powcr Factor Corncction"

Proc. 6th EPE Contcrcncc. Vol. 3, pp 286.291, Scptcmbcr 95

Darwish 93 Darwish. M.. Mchta, M.. Darwish, M. M.

"Control Strategics for Active Filter Using Pattern Recognition

Techniques"

Rec. 24th Annual PESC Conference. pp1081.87. Junc 93

Delaney 95 Deaney. EJ.. Morrison, R. E.

"Minimisation of Intesharmonic Current from a Current Source A. C

Drive by Means of a Selective D. C. Side Active Filtere'

IEEE Trans. on Power Electronics, Vol. 10. No. 3. July 95

Emanuel 80 Emanuel. A.. Chandra, NiI., Gulachcnski, E. M.

" Thyristorised Harmonic Cancellation Device"

IEEE PES. A. 80.113.1.1980

Fukuds 95 Fukuds, S., Endon, T.

" Control Method for a Combined Active Filter System Employing a

Currcnt Source Con cncr and ai ligh Pass Filter"

IEEE Trans. on Industry Application, Vol. 31, No. 3, Jun. 95

108

Page 119: Active Filters: A Unified Approach

Grady 90 Grady, w. M., Samotyj. Iota., Noyola, A. l I. "Survey of Activc Powcr Unc Condition Atcthodologics"

IEEE Trans. on Power Delivery. Vol. S. No. 3. July 90

llayashi 88 1layashi, Y., Sato, N., Takahashi, K.

"A Novel Control of a Current Source Active Filter For AC Power

System I lamwnic Compensation "

88Ci 12565-0/88/0000.08374 1.001988 IUUU (Unknown Source)

llerve 95 Have. P.. i3cttcga. M., Miaoxin. W.

"A New Control Strategy of Combined System of Scrics Active and

Shunt Passive Filters for Minimising Passive Filter Number"

Proc. 6th EPE Conference, Vol. 1, pp 135-138, Scptcmbcr 95

Iisu 96 Ilsu, C. Y., Wu, ILY.

"A New Single-Phase Active Power Filter With Reduced Energy Storage

Capacity"

IEE Proc: Electr. Power Appl., Vol. 143, No. 1, January 96.

IEEE 519 92 IEEE Std. 519-1992

"IEEE Recommended Practices and Requirements for harmonic Control

in Electric Power Systems", 1993

109

Page 120: Active Filters: A Unified Approach

IEC 90 IEC Sub"Committcc 77A report

"Disturbances Caused by Equipment Connected to the Public Low

Voltage Supply System Pan 2: 11armonics". 1990

(Revised Ddraft of IEC 555.2)

Jou 95 Jou, ILL

"Performance Comparison of the Thrcc-11hasc Activc-Pow"cr-Filtcr

Algorithms"

IEE Proc: Gcncr. Transm. Distrib.. vol. 142, No. 6, Nov. 95.

Kanani-195 Koouhkanani. Z. D.. Nichta, P., Darwish, M.

"Active Symmetrical lattice Filter For harmonic Current Reduction"

Proc. 6th EPE Conference, Vol. 1, pp 869-873. September 95

Kanani-2 95 Koozchkanani, ZD, hichta, P., Darwish, M.

"Active Filter for Eliminating Harmonics Caused by Nonlinear Circuit

Elements..

Electronics Letters, Vol. 31, No. 13, pp. 1041.1042 June 95

Kim 87 Kim, S. H, Park. J. K., Kim, J. 11., Chat, G. 11., Park, N1.11

"An Improved PWNI Corr nt Control Method for I larmonic Elimination

Using Active Power Filter"

110

Page 121: Active Filters: A Unified Approach

C112499"2/87/000-09275 0 1987.1CCi?

Kim 94 him, S., Enjcd, P. N., Packcbush, P., Pitcl, I. J.

"A New Approach to improve Power Factor and Reduce t tannonics In a

Threc"Phase Diode RectiticTType Utility Interface"

IEEE Trans. on industry Application, Vol. 30, No. 6, Dec. 94

Kimbark 71 Kimbark, E. ß.

"Direct Current Transmission"

Vol. 1, John Wiley and Sons, 1971

Komatsugi 86 Komatsugi, K., Imura, T.

"Harmonic Current Compensator Composed of Static Power Converters"

Proc. of the IEEE"PESC, pp. 283.290, June 1986

Le 93 Lc, T. N., Percia, M., Renz, K., Vaupcl, G.

"Active Damping of Resonances in Power Systems"

IEEE/PESC Summer Meeting, Vancouver, B. C. Canada, July 93

Lcdwich 95 Lcdwich, G., Doulai, P.

"Multiple Convener Pcrformancc and Active Filtering"

IEEE Trans. on Power Electronics, Vol. 10. No. 3. May 95

III

Page 122: Active Filters: A Unified Approach

Lucnbcrgcr 73 Lucnbcrgcr, D. Q.

"Introduction to Linear and Nonlinear Programming"

Addison"Wcslcy, 1973

Luo 95 Luo, S.. I Iou. Z.

"An Adaptive Detecting Method for I lannonic and Reactive Currents"

IEEE Trans. on Industry Electronics, Vol. 42. No. 1. rcb 95

Machmoum 95 Machmoum, M.. l3ruyant, N.. Scala. S.. Docuff, R. L.

"A Practical Approach to Harmonic Current Compensation by a Single-

Phase Active i=nter"

Proc. 6th EPE Conference, Vol. 2. pp 505.510. September 95

Malesani 91 Malesani, L. rossetto, L. Tcnti, P.

"Active Power Filter With hybrid Energy Storage"

IEEE Trans. on Power Electronics, ol. 6, No. 3, July 91

Mchta 90 Mehta, P.. Darwish, M., Thomson, T.

"Switched-capacitors filters"

IEEE Trans. on Power Electronics, Vol. 5. No. 3. July 90

Miyairi 86 Atiyairi, S., Tida, S., Nakata, k., htasukawa, S.

112

Page 123: Active Filters: A Unified Approach

"New Adcthod for Reducing I Iannonics Involves! In Input and Output of

Rectifier with Intcrphas Ttunsfonnct"

IEEE Trans. on Industry Application. Vol. IA-22. No. 5, Oct. 86

Moran 95 Moran, L. A.. Dixon. J. W.. Wallancc. R. R.

"A Tturc"Phasc Active Filter Operating with fixed Switching (Frequency

for Reactive Power and CurTcnt Harmonic Compensation "

IEEE- Trans. on Industrial Electronics, Vol. 42, No. d. August 95.

Nastran 94 Nastran, J.. Cajhcn. It., Seliger. M.. Jcrcb. P.

"Active Power Filter for Nonlinear AC Loads"

IEEE Trans. on Power Elcctronics, Vol. 9. No. 1. January 94

Pcng 88 Peng, F. Z. Akagi. IL, Nabic, A.

"A New Approach for I Iannonic Compensation in Power Systems"

Conf. Rec. IEEE"IAS Annual Aiectingm pp 874-880.88

Peng 93 Aging, F. -, Alagi, It., Nable, A.

"Compensation Charactristics of the Combined System of Shunt Passive

and series Active Filters"

IEEE Trans,. on Industry Application, Vol. 29, No. 1. Feb. 93

P+crcira 95 P+crtira, M.. Sadck, K.

113

Page 124: Active Filters: A Unified Approach

"Damping I larmonics In The Power Systcm with Active Fiitc s"

Proc. 6th CPC Confcmncc. Vol. 1. pp 123.128, Scptcrnbcr 95

Pouliqucn 95 Pouliqucn. I L. Lcmcdc, P., Plantivc. IL

"Voltage Ilamwnics Source Compensation Using A Shunt Active Filter"

Proc. 6th EPE Conference. Vol. 1, pp 117.122. September 95

Rastogi 94 Rastogi, M., Naik, R., Mohan, N.

"A Comparative Evaluation on Harmonic Reduction Techniques inThrec-

Phase Utility Interface of Power Electronic Loads

IEEE Trans. on Industry Application, Vol. 30, No. 3, Oct. 94

Rastogi 95 Rastogi, M., Mohan, N.. Edris, A. A.

"Hybrid-Active Filtering of Harmonics Current in Power Systems"

IEEE Trans. on Power Delivery, Vol. 10. No. 3. Oct 95

Rjoul 95 Rjoual. P., Dcflandre, T.

"Impact on the Distribution and Transmission Systems of I larmonic

Current Injection Due to Capacitive Load Ratifier in Commercial.

Residential and Industrial Installation"

Proc. 6th EPE Conference. Vol. 3, pp 503.508. September 95

Rcad 45 Rcad, J. G

114

Page 125: Active Filters: A Unified Approach

'ne Calculation of acctificr and invcncr N-rfornwncc Charactrixtics"

J. IEE, I't H. 92,495,1943

Rodriguez 93 Rodriguez, J.. Wicchmann. L.. Suarez, A.. Ilarria. A.

"A New Contribution to the Control of a Single Phase Active Power

Miter"

Second Brazilian Power Electronics Conferencc'COBEP'93

Round 94 Round, S. D., Duck, R. M.

" Real Timc Optimisation of an Active rltcr's Pcrformancc"

IEEE Trans. on Industrial Elcctronics, Vol. 41, No. 3, June 94, pp 278-284.

Saetieo 95 Sactieo, S., Dcvaraji, It, Torrey, D. A.

"The Design and implementation of a Threc-Phase Active Power Filter

Based on Sliding node Control"

IEEE Trans. on Industry Application, Vol. 31, No. 5, Oct. 95

Sasaki 71 Sasaki, li., Machida, T.

"A New Method to Eliminate a. c. I larmonic Current by Magnetic Flux

Compensation Consideration on Basic Design"

IEEE Trans. PAS, Vol. 90, No. S, pp. 2009.2019, Oct 71

Torrey 95 Torrey, D. A.. Al-Zamct. A. M.

its

Page 126: Active Filters: A Unified Approach

" 5ingic-i'tiasc Actim Powcr riitcrx for Multipic Nonlinear Loads"

IEEE Trans. on i'owcr [ilcctronics. Vol. 10. No. 3. May 95

Xu 95 Xu, W., Alansour. Y.. Siggcrs. C.. I lughcs. M. B.

" Developing Utility Harmonic Regulations Based on IEEE STD 519 -

B. C. Ilydro's Approach "

IEEE Trans. on Power Delivery. Vol. 10. No. 3, July95. pp 1423.26

Zhang 93 Zhang, W., Asplund, G. Abcrg, A., Jonsson, U.. Loof, 0.

"Active DC Filter For II VDC System"

IEEE Trans. on Power Delivery, Vol. g. No. 3, July 93

116

Page 127: Active Filters: A Unified Approach

Miuopnxcssm Control Al+pcndin A

AI'I'ENUIX A

Microprocessor Control of Active 14 'liters

The switching pattern are evaluated using the optimisation method as described in

Appendix B. It was shown in chapters 2 and 3 that the switching pattern which is used to

control the switches in the active filters has to be varied as the load conditions change.

The control of active filters requires a fast, accurate and flexible controller. The

microprocessor-bused controllers can provide all these features. In particular, flexibility

can be achieved through software. An Intel SDK-86 microprocessor development board

which is programmed in machine code is used for this purpose. In this appendix the

software design and experimental setup with complete driver circuits for the switches are

detailed.

117

Page 128: Active Filters: A Unified Approach

Aticwpnxcuoc Control Appendix A

A. 1 Software Design

Figurt A. 1 shows the block diagram of the controllcr.

Active Filter

SwitthtAl --m-m-4 pattern

HEEE ý... ý......... ý Sý ;

,ý.

Juk, oMocru

Zero crossing detector

Dritt cinuil

Drive circuit

Si

So

......... ý..........

A. 1 Block diagram of the controller

The appropriate switching patterns that are evaluated theoretically for a number of load

conditions arc stored in suitable addresses in the microprocessor EPROM. Each address

is labeled by one of the parameters (such as the magnitude of the load resistance),

relating to the load condition and is specified with a number.

When this parameter is entered through the keyboard or a digital input port, the

program which is written in 8086 assembly language searches for the corresponding

switching pattern. Before generating the switching pattern. the program should wait

and receive a trigger pulse from the zero crossing detector. This synchronieses the

timing of the switching pulses with the supply voltage. The program then transmits the

required switching pulses to the driver circuits via the output ports. The flowchart

shown in Figure Al describes the procedure for generating switching patterns. The

listing of the assembly program can be found at the end of this appendix

118

Page 129: Active Filters: A Unified Approach

Microproccssot Control Apixndix A

Jw. ittu peu r2A u c" anl M. r2cu.. y4w

3 Rwlprt r2A/4º «t.... +c.

. psss. n: y t. b.

A.. 1 tA. yrc ýer A'.. eýlm.: cawsr. a, /º«, tºr IGw lA*. yA tAe

I iiA% lAf c. º+epwftd. y A+k #Aq

pa.., y cdkold"*t 446, "o of look of I&bk rtiRt tAt pMt&r N.

I 144:. J:. t wrrw

i C1r"Ce e+r?. e

I

flrtitt jolty err tiw iw took MP Obit

I POW aI he Adis %i.! YI nI'It At

i. A .*l. br.

Figure A. 2 Flo%vchart of 8086 program

Al Switch Implementation

The most popular semiconductor devices arc thyristors, gate"turn off types (GTO's).

BiTs, and AMOSFETs. These devices have their own particular features that make them

especially suited to a particular application. For example. the thyristor is capable of

119

Page 130: Active Filters: A Unified Approach

Micrvprtxusot Control Al+pcndlx A

passing high currcnts and blocking large voltages, the i3JT is a fast switching dcvicc,

and the MOSIFET is simple to drive and has a low 'on' resistance.

In this work, the author has limited the supply voltages to 60 V, to the nccd for high

blocking voltage is not that great. More important factors arc the simplicity of driving,

low switching losses and high switching speed. Consequently the MOSITT 1Ri`i'462

was selected which is a N-channel device with maximum drain source voltage of 500 V.

maximum drain current of 17 Amp, and 'on' resistance of 0.35 f2.

As explained in the list of symbols, since the MOSFET Is a one-way switch. it has to be

connected to a bridge rectifier to operate as a bi-directional switch shown in Figure A. 3.

ZK SNiul,

ttrminaLt

Figure A3 The bi-directional s%%itrh implementation

A. 3 The Need for Isolation

The MOSFETs need the control signal to be applied across the gate and source. This is

straightforward when all the sources are connected together. but in this application, the

source terminals can not be connected together due to the presence of the bridge

rectifier. Therefore separate isolated power supplies should be used for the switches,

i. e. neither of the output terminals is connected to the ground. To apply the control

120

Page 131: Active Filters: A Unified Approach

signals to the thrce isolated driver circuits, optoaisolaters arc ncccssary. The 6N137

opto-isolator which incorporates high specd logic circuits and has a propagation delay of

the order of Sons arc suitable for this application.

A. 4 Complete Driver Circuit

The driver circuit used is shown in the Figure A. 4. To provide the necessary 5 volts for

the opto-isolartor logic from the 15 volts for the MOSFE1' driver a simple potential

divider using two resistors, 10011 and 200 fl. were used. The 4.7 kfl pull-up resistor at

the output of the opto-isolator was found to give the fastest response.

To prevent any possible damage to the driver circuits in the event that a NIOSF-: "F' fails a

resistor is inserted at the output of the driver. The capacitor in parallel with the resistor

is to ensure that high switching speed is maintained. The Zener diode at the output of

the MOSFET driver is for extra protection in case of large voltage spikes on MOSF ETs.

ItnlauQ fISV supply 0

200fß

-{ +SV

Input Signal

500

M137 1

............

;..........

lOQil .......... 1

4.7Ri1

4

Iso1auQ Crowi. l

10 , 7667

Figure A. 4 The complete driver Ccircuit

I 330nF I RF P462

I

J. 2M .4

isv

121

Page 132: Active Filters: A Unified Approach

Microprocessor Conuol

psssmblxp.. mZjm

80286. TAi3 I DUMMY SEGMENT PARA AT 100 CODC This program gc. ncratc the switching pattern for the active filiar icha»c 4 "soction 2.5.1 The hoof the rcquired tablcs should be suppUcd via the kc>t I to the address 150

MOV DX. OFFFI MOV AL. 9011 OUT DX. AL

ZCROSS MOV DX. OF'M11 LOOP IN Al, DX

AND AL. 0111 JZ LOOP MOV D1.011

START MOV St. 15011 MOV DX. OFFFCII MOV Ci.. (Sij i"1OV DX. OFFSET TADLL' XOR Cit. Ci1 S1iL CX. 1 ADD OX. CX MOV Si. CS: (DXj MOV CX. CS: (Sij AfOV All. 0311

SWITCH MOV AL, 1011 OUT DX. AL NOP NOP NOP NOP NOP NOP ADD S1.211 MOV BX, CS: (S1j MOV AL. All 1iOR AL. OF11 MOV Ali. AL OUT DX. AL

DELAY DEC BX JNZ DELAY SUB CX. 02I1 JNZ SWITCH ADD DL 01 II CMP DI. 0211 JE ZCROSS 1MP START

Appendix A

; CNADLE PORT P2 ; MAKt3 PORT A AS INPUT PORT U. C AS OUTPUT

ADDRESS OP PORT 2A TO DX ; SYNCIIRONIES WMI ZERO CROSSING DETECTOR

; RCAD TADLL NUAtDCit ADDRESS OP PORT 2C TO DX

; UX CONTAINS TAULOS ADDRESS CLEAR TOP 8U ITS OF C ; MAKE WORD ADDRESS (MULTIPLY BY 2) ; POINT INTO TABLE ADDRESS OF SWITCI I PATZ' N TO St ; LOAD CONTENTS OP SI INTO CX

; POINT TO NEXT WORD IN TABLE ; GET NEXT WORD FROM TADLE

; GENERATL DELAY

122

Page 133: Active Filters: A Unified Approach

TABLE WORD TAB0. TAU1

TARO contains a switching pattern for elimination of harmonic current of a rcctiliu circuit with smoothing inductor ; Thc compensation achicved: NI1... a]7. TI1Ddl. 02 Filter components: La (Am11.1.9fl). Cs80u Nonlinear load components: Bridge ratifier. L aSOm. R. La 1.9fl

TABO WORD 0B211,01411,07211,00111.06CIi, 0011i, OSAII WORD 082 11,0W 11,04C11.03111.02911.02E11,03D11 WORD 01911,03111,04611.04611.02911.03611.02011 WORD 04311,02811,04211,02D11,031'4 1,02011,0S B 11 WORD 02011,03D11,021311,04511.02911.03A11,03311 WORD 04711,03311,04011,04C11.01 DI I. (Mill. 001 II WORD 06611,01311,04111.03211,07211,00111.06011 WORD 00111. OSAII, 08211.00111, WC11.0.1111.02911 WORD 02011,03DI1,01911,03111,0t611. (U611.02911 WORD 03611,02E11,04311.0281 i, 0421 i, 02DI1,03111 WORD 02011.03 1311.02011.03D11.021111.04311.02911 WORD 03A11.033! 1,04711,03311,04011, O4C11,01 DI I WORD 04111.00111,06611.01311,04114,01011

. TAB I contains a switching paucrn for elimination of harmonic currant of a ratifier circuit with smoothing capacitor The compensation achicvai: Nil. 1 37. TimD=0.017 fiiitu components: Ls (dmil. i. 9fl). C=80uF Nonlinear load componaus: Bridge recti net. C=6C10uV. R{. "263f1

TAB) WORD 013211.01911.031111.03311,03E11.03F1). 03311 WORD 03811.03211,03D11.07611.00211,06D11,00211 WORD 05511.00411.05811.02711.05111.01 D11,05D11 WORD 01211.07511.01011.05111.01911.068)1.01 F11 WORD 04111.02711.05211,02311,03ER, 02311.04511 WORD 02C11,03E11,02911.04111.03511.04B11.03211 WORD 03711,02131-1,03811, O2D11.03811,03311.03101 WORD 03FR. 03311.03811,03211.03D11,07611,00211 WORD 06D11,00211,05511.00411,05811.02711.03 111 WORD 01 D)1.05DII, 01211,07511.01011.05111.01911 WORD 06811.01 F11.04111.02711.0521t. 02311.0301 WORD 02311,04311,02C11,03E11.02911,04111.03511 WORD 04811.03211.03711.02811,03811,01411

END

123

Page 134: Active Filters: A Unified Approach

Optimisation method Aprcndin 0

APPENDIX 11

Evaluation of Switching Pattern and Circuit Parameters by

General Optimisation Method

A number of on - line and off - line switching pattern strategies (Choe 88, Akagi 88,

Peng 881 have been reported in the literature which are suitable for active filter

applications. Exact comparison of the performance and capability of the different active

filter circuits through their theoretical and practical results require that the switching

pattern and parameters are evaluated using the same method.

This appendix is concerned with a general optimisation method that can be uscd for all

active filter circuits which are developed using the generalised approach in chapter 2.

The method is suitable for determining the circuit parameters and switching pattern for

constant and varying load conditions.

124

Page 135: Active Filters: A Unified Approach

Optimisation method AMnifix 0

11.1 Load with fixed condition

With rcfcrcncc to the flgurr i3.1, if the cocfficicnt of harnxmics of L..,, + Lj

arc A. and i3.. the functions

ýý A; f 13� and "% a IA, a ff ( Ix ý

Sol

ý ýs. , sllafltrz' uz

w. 1

called the cost functions (Round 941 are the measure of supply current harmonics

distortion and its effective value ( apparent power ) respectively. Where vector. t,

denotes the switching instants and, x, denotes the size of the circuit elements. Nl d.,.,, is

the maximum range of frequency to be eliminated..

Non-linear load

Active filter

Figure B-1 Principal of shunt activc filtering technique

The objective is to minimise the cost function by optimising the switching pattern and

the circuit parameters subject to the following constraints.

" The switching instants should be in the order 0:!: t, 5 tl S ... S tc /w and also its

pattern must have a halt wave symmetry to eliminate even harmonics.

125

Page 136: Active Filters: A Unified Approach

Optimisation mcthod Appcndl* U

" The circuit paramctus should satisfy the limitations outlined in chaptcr 2 mganiing

the filtering rcquircments for each configuration.

The summary of algorithm used is shown in the Figure 13.2 and described below.

(1) The starting points, t', for switching instants are calculated as the midpoints of

pulses in a uniform switching pattern or can be taken as random values tl; U's Fro... 40

n is the number of switching instant in each half period ) and also the starting values for

the size of elements, x' are taken some random practical values (m is the number of

elements in the circuit). For simplicity the two set of variables, vector matrix rtj.. t and

[x]. XI are substituted by one vector matrix [yI.. such that I y1°. y, °.... y. °, y.. 1°9

y"209 " "" Y&M OlT

at tl0 0 11 00 11

0... $t.

09 X) 09X! 0

r"" 74.0 )T

(2) The filter current i< for the above s%itching points Is calculated using Runge Kutta

method for analysis of filter.

(3) The total current is calculated i., *== i, a + iii�

(4) The harmonic coefficients of the total current up to NII.. = arc evaluated and the

cost function J is calculated

(5) The conjugate direction method [Luenbcrgcr. 73j is modified and employed to

minimize the cost function and determine the optimum values of the switching instants

and the circuit parameters as follows:

126

Page 137: Active Filters: A Unified Approach

Optimisation method Appendix 0

(a) The gradient of the cost function, J' mspcct to the switching instants and circuit

parameters is evaluated.

9 '2 VJa1g1. g2, """g. "g.., "g.. i"..

0g... I

DJý ý ýý all c ars,

1 are,

1 are,,

(b) The direction of the steepest descent is set to be equal to g° which is the initial

value of g that is obtained respect to the initial values of switching pattern and circuit

parameters,

d°= -g° or

ý (ýI0" d2Or "" ""e+

def1O+ d. "20+ """Oý " d. �. ° 1 1t .1 S1"" OýO r.. ."9: 9

9041 9 g. "! 960 .r 5"21

(C) t= [t,, T=, ..., t� t,, 11, t,.;, ..., t,.,, IT arc set to the small numbers that are

proportional to the size of the steepest descent du [d,, d2, ..., d., d..,, d.. 2. ..., d,..,

) j

so that if for example s;, is the number of digits of d+ then ti 10-51

Fori=1,2.3.... n+m

(d) The values of the switching instants and circuit paramctcrs (elements) are evaluated

by the following expression:

Yu = Yi

Yi = Yi

127

Page 138: Active Filters: A Unified Approach

Optimisation method Appendix 11

y, a y10 + c4 d+° whCre c4 s z,.

000.

y... - y. «. 0

(c) The cost function J for the above switching instants and circuit paramctcrs are

recalculated and plotted against c4 .

(f)'Ihe initial switching pattern and circuit parameters are reset with the new values and

c4 is incremented and steps from d to c are repeated until the minimum value of J Is

found.

(g) The direction of the stcepcst descent d is evaluated as

d=-e+ßd" whcrc ß=g g.

(h) The starting s%itching instants and circuit parameters are reset by the new evaluated

values of y=[y,, y:...., y., y.. 1, y. a... *. y... jT

r) The initial values ofd and g are reset by the new values that occur at J.;.

(j) steps from c to i are repeated until the minimum value of J. Is obtained.

128

Page 139: Active Filters: A Unified Approach

Optimisatlon method Appendix 11

If the cost function J reaches zero. Lc., the total harmonics up to Nil. are canceled.

The main complete program that is written in Fortran language is shown in tgppcndix C.

U. 2 load with varying condition

For varying load conditions the aim is to dctcrmine the switching pattern whilst

maintaining fixed values of the circuit parameters. The summary of the algorithm used

is shown in Figure 1.3 where i rrprcscnts the varying load condition.

(1) Mic paramcters and the switching pattcrn for the circuit arc cvaluatcd for one of the

load conditions by the method described above.

(2) The values of circuit elements are reset to these values.

(3) The switching pattern for the filter with the evaluated parameters arc optimized for

different conditions of load and stored, and also the values of cost functions for each

case are calculated and averaged.

(4) The above process is repeated for i-2,3..... k to achieve the minimum average of

the cost functions. The corresponding values of the circuit elements at this minimum are

considered as the best values. The corresponding svºitching patterns arc the most

optimum.

129

Page 140: Active Filters: A Unified Approach

Optimisation method

Set 4 in 0

I Set NN... Ad 40nbtr of Arnwow+u

"J AorL1 be fJiiwi"w

I S. ( XUIX. lAt *.. wbs of r. rcuV ioLtleAtl ill Aovc), cft of i" wdiutt

I Rtlä the load trºewf i,., N KDOT lokuiAi-U tycM eriiyed roluqt

I Read tA. lnnrtw j poiw foº rwitc AiAl lsao. +ut t "1 Ill. 4'. ti -. L'lrawdcircr+7prrwrltºt

i' .! tý. ]y', .. tt. ' 1r . BotA ad of iqorftttiol

cw bt rrprae41ed with oft Ad aI

i , O1 yl 07,

a-%-. A'. N-41. i. -'. w ý. ý'! r

AwdtYsir tA. Jrikr cirtrit ( tttcq tAd n, /o. w.. ti, sc cf rw; tcAi>s iwttaRtr oat" rVWAlte" )dwi

eotryptrt Ow ip,, for tAd t+mwr roifttr of kW ctnret

C'alnJak the Adnwomie eawiowewtt cliho sold cllrtßt. Lwq " 40. " 4.0 dt1. i t1dYlif she coo

GktJaa At tnt+tidat vrctoº of A. cost fiwctim

respdd to Ike rw+tcAid j iRtcadrs d%! cictiit p. vd, wekn j0 let. It. .. 4. t.. t" t.. t.. "". i"",

l

rat

set the direction of steh! detest

dew, e

T I E. dru. f the tw t+owddJiesctim s. /4.4. ... L S.. t. 4. t. ... 4. e

f. rrcA that jar i"1.2. J....

L. 10 tip (" t J. lr " the wlwwber c(d't'u o/A

6

No

Set the iintct: w ef stsspsat dscsrd

t�e., pf. l

t&*ti a' t-t" t-1

tt

JºppcnJfu U

I

i

Figurt 13 2 flowchart of optimisation method for the load with fixed condition

130

Page 141: Active Filters: A Unified Approach

Optimisation method Appctxfix n

Stt K" t4 mrýJW q/ Acrd to+d+: au

I Gv: sn IAt lad wid tawd+t: m

lot

Ea. trsu ihr . rt. et t(, k fdt. ek+wewU gold w, "NChwt Ne.. *

1 Gtr. i. rt dm md j... c. ýe,

fiert U4 �drt qf the faber fttrwrw with Ute f WAIMA J twd. et

I Eval. um the nicArq p+se. o/`n dfferrd1 t"J tewär: mv +oiA IM

wmt f'iLtº demrw

I Cak. 4u Ur colltgwwd. Ag taN

jwaioou in waA Oo+Ario+

I Cwry+ce A. fNwe eflAe

c, w&. tau+t tae j. wctie, e. 'J., '

Tait tAe Wt best wtnrt tfeleiweau

as At suatiq waIw aaf the correstoadiat

srah"ete. t sw*chiat Patteru as t4

staºtiat iatiaaulaº alfferaat /oa, t

caa"ioas

Irrirr 'J. 'AAt

Tale tAe rtier wst. n e(tAe f Ste. e.: rcAA4 psetav e4+wemu . +1 A.

eu A. bex emoperr'te *Otago

I

T+ie tAr tit. u aj elanr*t te tM

swrim walw Aid diM At tt+drattd s., ttAuq P+ao%s

dW IU swti41 iAýaw/o. dy'Jmrýt

Jord cowlýtiwv

In if NO

I Tall aAstt wlrt d tIpwrou at ad Rsed "In" ! c+ da Mw

Figure B. 3 Flowchart of optimisation method for a load with varying condition

131

Page 142: Active Filters: A Unified Approach

APPENDIX C

FORTRAN Program for Optimisation Method

Detailed in Appendix 11

The program consists of a main program and three subroutines; 'FUNC. 'F"UNCiRR'

and 'DERRO'. In the main program. one of two Functions; MID' and 'Apparent

power' as a cost function is chosen for minimisation and the sampling points of the load

current are read. The active filter scheme for investigation is selected and the parameters

and initial values for elements of the circuit are set. The main program also resets the

switching instants and circuit parameters with new values after each iteration of

execution of the program and finally the optimised switching pattern and circuit

parameters are stored in to the output file. The analysis of active filter circuit for any

evaluated switching pattern in any iteration is performed in a subroutine program

'FUNC'. using Rung-Kutta method. Subroutine FUNCERR evaluates the cost function

and related factors for any new operating conditions. The gradient vector of cost

function with respect to the switching instants and circuit parameters and the direction of

the steepest descent [Lucnbcrgcr 73j are calculated in the subroutine 'DERRO.

132

Page 143: Active Filters: A Unified Approach

Cl Main Program

'The Following parunctcrs and files should be specified before staring the program.

" MTS, may be set to l for minimisation of tcxal harmonk distortion or 0 (or the

" minimisation of cftcetive value of supply current (Apparent iwrºu)

" NMAX. is the number of switching instants In half cycle

" NIIMAX. is the maximum order of harmonies which arc required to eliminate

" NDOT. is the number of sampling of load cumcnt

" Peak value of sinusoidcal Input supply voltage

" NELEMI, is the number of inductive elements

" NELEM, is the total number of Inductive and capacitive elements

" SIZIN, Limited value for size of Inductive elements

" SIZCAP. Limited value for site of capacitive elements

" The values of sampling points of load current should be supplied to the fite calla! " load ".

" The initial values of inductive and capacitive elements should be supplied respectively to the file

called "elements"in the order Lt. Lz. L,, . ». Ct, Cy, C,, ".

*After execution of the program, the information about optimised switching Instants and circuit

"parameters can be found in the rile called "results". This rile also contains all the parameters

"rclatod to the performance of active filter such as Total harmonic distortion (TI ID). Efficiency

"(q ) and Apparant power (S ) at optimised operating Condition.

PARAMETER (MTS=1)

PARAMETER (NMAX= 24, NIIMMAX= 37. NUOT= 2000, VM$0)

PARAMETER (NELERII= 2. NELEM= 4, SIZIN=10. Er3. SIZCAPa 100. E-6)

PARAMETER (IN I=10,1N2= 20. IN3= 30. OUTa 40. Dix 100)

INTEGER COUNTER. SE. SO

rcal CUL (NDOT). CERR (N)OT)

133

Page 144: Active Filters: A Unified Approach

Computer Programs

rcal T (NDOT). TINO (NMAX). TIN (NMAX/R). TK (NMAX). TC (NMAX)

real X (NCI. LAi). XO (NC1. EM). XK (NCLCM). XC (NCLCM)

rcal) C (NMAX). CO (NMAX). COt'F (NMAX)

real CX (NELE: Ai). CXO (NCLCbi). COi"TX (NEI. E. XQ.

rcal

EN

DA (0: KM. NMAXRDAX (0: KM. NF1. GI).

AL FUNC, DERRO. FUNCCRR

INTRINSIC COS. SIN. ATAN

PARAMEfu"R (PER= 20.01A3. IIMiR=1O. 0ß-03)

PI= 4. O ATAN (1.0)

OPEN (IN I. FILE ='load')

OPEN (IN2. FILE ='instants')

OPEN (IN3. FILE ='clcrncnts')

OPEN (OUT. FILE ='results')

TIME= 0.0

DO 1 JJ=1. NDOT/2

READ (10. ') CUL (JJ)

IF (JJ. GT. NTRIGER) THEN

T (JJ)= TIME+DELTIME

TIME= T (JJ)

DELTI11E, - PER/NDOT

CUL (JJ+NDOTR)= -CUL (JJ)

T (JJ+ND(YT/2)= T (JJ)+Iii'ER

ENDIF

1 CONTINUE

DELTAT= T (2)-T (1)

READ (30, ") (XO (1). 1=1. NELEM)

" READ (20. ") MNO m. In 1. NMAXl2)

Aricndlx C

134

Page 145: Active Filters: A Unified Approach

DO 2 In 1. NMAX/2

TINO (I)= (2'l"1)'PER/(2*NMAX)

TIN (I) TINO (1)

2 CONTINUE

DO 21 1=1. NELEM

X(I)X0(q

21 CONTINUE

WRITE (40, *): 'Thc Initial Valucs of Switching Instants"'

WRITE (40.19) (TIN (1), In 1. NMAX/2)

WRITE (40, *). "lle Initial Valucs of Circuit Elcrncnts-

WRITE (40,19) (X (1). 1=1. NELEM)

NW= 0

COUNTER=1

NH= NHMAX

4 CALL FUNC (VM, CUL. CERR. T. Till, X, NDOT, NMAX, NEL 1, PER)

CALL FUNCERR (MTSNW. CUL. CERR, N11. NDOT. AM

AJ0= AJT

AJK= AJ0

IF (COUNTER. EQ. 1) MIEN

AJC= AJK

END IF

K= 0

3 DO 44 J=1. NMAX/2

CO (J)= 0.0

44 CONTINUE

DO 45 J=1. NELEM

CXO (J)= 0.0

13S

Page 146: Active Filters: A Unified Approach

Computer Programs Appendix C

45 CON'TiNUE

19 FORMAT (1 F20.12)

DTIN= T (2)-T (1)

DX= 1.0E-3

CALL DERRO (NM. NW. NELEMI, COFF, COM. N11, CUt., TIN. X. i'CR. DT1N, DX. DA

f. DAX. K. KM. T. NMAX. hT. I. EM, NDOT. VM)

DO 50 J=1. NMAX/2

SG=0

SE= 0

37 C (J)= CO (J)+COFF (J)

40 TIN (J)= TINO (J)+C (J)*DA (K. J)

TIN (J+NMAX12)= TIN (J)+IIPER

IF ( C1'IN (J). LE. (J-1)*PER/NMAX). OR. (t1N (J). (3T. (J)*PER/NMAX).

+ OR. (TIN (J). LEDELTAT). OR. (TIN (J). GE. 1iPER-DELTAT)) T1IEN

C(J= 0.9*C(J)

GO TO 40

END IF

CALL FUNC (VM. CUL. CERR. T. TIN. X. NDOT. NAU1X. NhLEM. i'CR)

CALL FUNCERR (NiTS. NW. CUL. CERR. Nit, NDOT. AM

IF (AJT. LT. AJO) THEN

AJO= AJT

T1N0 (J)= TIN (J)

TINO (J+NMAXR)= TINO (J)+1IPER

co(n=c(n GO TO 37

ELSE IF (AJT. GT. AJO) THEN

COFF (J)= -COFF (A

136

Page 147: Active Filters: A Unified Approach

Compute Programs

CO (J)= CO (J)+COFF (J) TIN (n= TINO (J) TIN (J+NMAX/2)= TIN (J)+IIPER

SG= SG+1

IF(SG. LT. 2)GOTO37

ELSE

CO (J)= C (J)

71N (J) TINO (J)

TIN (J+NMAX12)= TIN (J)+IIPER

SE-- SEA

IF (SE. LT. S) GO TO 37

END IF

WRITE (6, "), "AJT, AJC, ASK, ASO, K. J. SO. SE"

WRITE (6.69), AM AJC. AM A10, K. J, SO. SH

69 FORMAT (IX, 4F12.6,414)

SO CONTINUE

DO31J=1, N LEM

SG= 0

Sir 0

38 CX (J» CXO (J)+COFFX (S)

X (J)= XO (J)+CX (J)"DAX (K, J)

IF (J. L. E. NELENiI. AND. X (J). GTSMN. OR. J. GT. NEI. EMIAND.

+X (J). GT. SIZCA) THEN

X(J)XO(J)

END IF

CALL FUNC (VM, CUL., CERR, T. TIN, X. NDOT, NMLAX. NEUEM, PER)

CALL FUNCERR (MTS, NW. CUL, CERR. N11. NDOT. AJT)

AMvndtx C

137

Page 148: Active Filters: A Unified Approach

Computer Programs

IF (AJT. LT. AJO) THEN

AJO= AJT

xo (J)= x (J)

cxo(J= cxrn GO TO 38

ELSE IF (AJT. GT. AJO) THEN

COFFX (J)= -COFFX (J)

CXO (J)= CXO (J)+COFFX (J)

x (J)-- xo (rn SG= SG+1

IF (SO. LT. 2) GO TO 38

ELSE

Cxo (J)= CX (n x (r)= XO (J)

SE-- SE+1

IF (SE. LT. S) GO TO 38

END IF

WRITE (6. "). "AJT. AJC, AJK. AJO. K. J. SG. SE'

WRITE (6,69). AJT. AJC. AJK. AJO. K. J. SG. SE

51 CONTINUE

IF (AJO. LT. AJK) THEN

K= K+1

AJK= AJO

DO 23 I=1. NMAX

TK (I)= TIN (i)

23 CONTINUE

DO 24 J=1. NELFJ%i

/1ppcndix C

138

Page 149: Active Filters: A Unified Approach

XK (n= X (1) 24 CONTINUE

GO TO 3

ELSE

IF (K. EQ. 0. ) THEN

K= K+1

AJO= AM

GOTO3

ýEt ýND

IF

RITE (40,

WRITE (40. ")'AJK. NH, COUNTER'

WRITE (40,32), AJK, NH, COUNTER

32 FORMAT (1F12.8,2X, 13,13)

IF (NH. LT. NHMAX) THEN

NH= NH+2

GOTO48

END IF

END IF

IF (AJK. LT. AJC) THEN

COUNTER= COUNTER+1

AIC= AIK

DO 33 I=1. NMAX

TC (I)= TK (1)

33 CONTINUE

DO 34 J=1. NELEM

XC (J)= XK (J)

34 CONTINUE

139

Page 150: Active Filters: A Unified Approach

Computer Programs

NIT= 3

GOTO48

ELSE

NW-I

CALL FUNCERR (MTS, NW, CUL, CERR, NI i, NDOT, AM

AJmin= AJC

WRITE (40, '("AJmin, NIIMAX, COUNTER'))

WRITE (40,32), Aim in, NHMAX, COUNTER

WRITE (40. '("Thc Final Optimised Switching IInstants") )

WRITE (40,12) (TC (1), 1=1, NMAX)

WRITE (40, '("Thc Final Optimised Circuit Elements'))

WRITE (40,12) (XC (1). 1=1, NELEM)

END IF

12 FORMAT (1F12.8)

CLOSE (10)

CLOSE (20)

CLOSE (30)

CLOSE (40)

STOP

END

Ancndix C

C. 2 Subroutine ̀ FUNCERR' For Evaluation of Cost Function and the Related Parameters to the

Performance of Active Filter

SUBROUTINE FUNCERR (MTS, NW. X, Y. NII, 'DO. AJT)

real X (IWO), Y (NDO), NDAMPy, NDAMPX

INTRINSIC SIN, COS. ATAN. SQRT

P1= 4.0*ATAN (1.0)

140

Page 151: Active Filters: A Unified Approach

WP= NDO

SIGMAOy= 0.0

DO2N=1. NH. 2

SUMUy= 0.0

SUMVy= 0.0

DO 1 In 1. NDO

SUMUy= SUMUy+Y (I)*SIN (1*2.0*PI*N/WP)

SUMVy= SUMVy+Y (I)*COS (I*2.0*PI*N/WP)

1 CONTINUE

Uy= 2.0*SUMUy/WP

Vy= 2.0*SUMVy/WP

AMPy= SQRT ( (Uy**2+Vy**2)R. )

IF (UytT. 0.0) THEN

PHy = ATAN (Vy/Uy)+PI

ELSE

PHy= ATAN (Vy/Uy)

END IF

IF (N. EQ. 1) THEN

AMPIy= AMPy

PHIy= PHy

END IF

SIGMAy= SIGMAOy+AMPy**2.

SIGMAOy= SIGMAy

DAMPy= AMPy*SQRT (2. )

NDAMPy= Ab'IPy/AMP 1y

IF (NW. EQ. 1) THEN

WRITE (40. *). ' Harmonics No., Amplitude. Ptasc after f iltaing'

141

Page 152: Active Filters: A Unified Approach

Computer Programs

WRITE (40,25), N. DAMPy. PIIy

END IF

25 FORMAT (3X, 217116,16)

2 CONTINUE

SIGMAOx= 0.0

DO4N=I. NH. 2

SUMUx= 0.0

SUMVx= 0.0

DO3I= 1, NDO

SUMUx= SUMUx+X (I)'SIN (I02.0'PI'NJWP)

SUMUx= SUMVx+X (1)'COS (I*2.0*PI*N/WP)

3 CONTINUE

Ux= 2.0'SUMUx/WP

Vx= 2.0'SUMVx/WP

AMPx= SQRT ((Ux"2+Vx"2)/2. )

IF (Ux. LT. 0.0) THEN

PHx = ATAN (Vx/Ux)+PI

ELSE

PHx= ATAN (Vx/Ux)

END IF

IF (N. EQ. 1) THEN

AMPIx= AMPx

PH l x= PHx

END IF

SIGMAx= SIGMAOx+AMPx*02.

SIGMAOx= SIGMAx

DAMPx= AMPx'SQRT (2. )

AMcndix C

142

Page 153: Active Filters: A Unified Approach

Computer Programs Appc. rºdfx C

NDAMPx= AMPx/AMP 1x

IF (NW. EQ. I) THEN

WRITE (40, *), " Harmonic No., Amplitude. Phase before filtering'

WRITE (40,25), N. DAMPx, PHz

END IF

4 CONTINUE

THDy= SQRT (SIGMAy-AMPIy**2. )/AMPIy

THDx= SQRT (SIGMAx-AMPIx**2. )/AMPIy

IF (NW. EQ. 1) THEN

WRITE (40, *), "Total Harmonic Distortion values after and before filtering"

WRITE (40,26). THDy. THDx

END IF

26 FORMAT (3X, 2F12.6)

DPFy= COS (PHIy)

DPFx= COS (PHI x)

PFy= DPFy/SQRT (I+THDy**2. )

PFx= DPFx/SQRT (I+THDx**2. )

EFF= (AMPIy*DPFx)/(AMPly*DPFy)

IF (MTS. EQ. 1) THEN

AJT= THDy

ELSE

AJT= SQRT (SIGMAyr2. )

END IF

IF (NW. EQ. 1) THEN

WRITE (40, *), 'Power Factor values after and before filtering. Efficiency. Cost Function'

WRITE (40,27), PFy, PFx, EFF. AJT

END IF

143

Page 154: Active Filters: A Unified Approach

Computer Programs Appendix C

27 FORMAT (3X. 4F12.6)

END

C. 3 Subroutine DERRO for Evaluation of Gradient of Coat Function (respect to the aMitching

instants and circuit parameters) and the Direction of Steepest Descent

SUBROUTINE DERRO (MTS, NW. NELEMI, COFF. COFFX, Nit. CULT IN. X. PER, DT1N.

+ DX. DA, DAX, K. KM. T. NMA, NELEM. NDOT. VM)

PARAMETER (NM= 100, NDO= 2000. KN= 100. NELG" 10)

real DJ (0: KN. NM/2), DDJ (KN), DA (0: KM. NMA/2). CUS (NDOT)

real TIND (NM), DJT ((Y KN, NM/2). CERRX (NDO). CERRXX (NDO)

real T (NDOT), DDTJ (KN). COFF (NMA), COFFX (NELE. M)

real PER. DTIN. TIN (NMA), X (NELEM). XD (NIlE). DAX (0: Kht, NELEM)

real DJX (0: KN. NELE). DJTX (0: KN. NELE)

INTRINSIC ABS. EXP

EXTERNAL FUNC, FUNCERR

CALL FUNC (VM, CUL, CERRX. T, TIN. X, NDOT, NMA, NELC. M. PER)

CALL FUNCERR (MTS, NW, CUL, CERRX, NH, NDOT, AITX)

DO7I=1. NMA/2

DO5J=1. NMA/2

IF (J. EQJ) THEN

TIND (J)= TIN (J)+DTIN

ELSE

TIND (J)= TIN (J)

END IF

5 CONTINUE

CALL FUNC (VM. CUL. CERRXX, T. TIND, X. NDOT. NMA. N13. Ill. PER)

CALL FUNCERR (MTSIIW. CUL, CERRXX, NIT. NDOT. AI TXX)

144

Page 155: Active Filters: A Unified Approach

DJT (K, I)= AJTXX-AM

DJ (k, I)= DJT (K, I)/DTIN

7 CONTINUE

DO 17 I=1. NELEM

IF (I. GT. NELEMI) THEN

DX= DX* I. E-3

END IF

DO 15 J=1, NELF. M

IF (J. EQ. 1) THEN

XD (J)= X (J)+DX

ELSE

XD(n=X(n END IF

15 CONTINUE

CALL FUNC (VM, CUL. CERRXX, T. TIN, XD, NDOT. NMA. Iv`ELEAI. PER)

CALL FUNCERR (MTS, NW. CUL, CERRX7i, NN. NDOT. AJ'ih'Aj

DJTX (K, I)= AJTXX-AJTX

DJX (K, D= DM (K. I)/DX

17 CONTINUE

J= I

DO 9 I=1. NAV'l

DDJ (K)= FJ0+2. 'DJ (K, I)'"2A+DJX (K. J)"o2A

DDTJ (K)= FTJ0+4! (DJ (K. n-DJ (K-1.1))"DJ (K. 1)+

+ (DJX (K. J)-DJX (K-1. J))"DJX (K. J)

FJO= DDJ (K)

FTJO= DDTJ (K)

IF (J. LT. NELEM) THEN

145

Page 156: Active Filters: A Unified Approach

Computer Programs

J= J+1

END IF

9 CONTINUE

FJO= 0.0

FTJO= 0.0

J= 1

DO 10 I=1, NMA/2

IF (K. EQ. O) THEN

DA (K, 1)= -DJ (K, I)

DAX (K, J)= -DJX (K, J)

ELSE

KNI= DDJ (K)/DDJ (K-1)

KNTI= DDTJ (K)/DDJ (K-1)

DA (K, I)= -DJ (K, I)+KNTI"DA (K-1,1)

DAX (K, J)= -DJX (K, J)+KNTI'DAX (K-1, J)

END IF

50 IF (ABS (DAM I)). GT. I. E18) THEN

DA (K, 1)= 0.99"DA (K, 1)

GO TO 50

END IF

51 IF (ABS (DAX (K. J)). GT. 1. E18) THEN

60

DAX (K, J)= 0.99*DAX (K, J) GOTOS1

END IF

s=0.0 COFF (T)= 0.2* 10. ** (-S)

IF (COFF (t)*ABS (DA (K, 1)). GT. 10.0**4) THEN

Amcrtidix C

146

Page 157: Active Filters: A Unified Approach

S= 5+1.0

GO TO 60

END IF

S= 0.0

61 COFFX (J)= 0.2010. ** (-S)

IF (J. LENELEMI. AND. COFFX (J)"ABS (DAX (K. 3)). QT. 10.0"". 4)'11lEN

S= 5+1.0

GO TO 61

END IF

S= 0.0

62 COFFX (J)= 0.2"10.00 ("S)

IF (J. GT. NELEMI. AND. COFFX (J)OABS (DAX (K. J)). GT. 10.0"". 6) T111: Jd

S= 5+1.0

GO TO 62

END IF

IF (J. LT. NELEM) THEN

J= J+1

END IF

10 CONTINUE

END

C. 4 Subroutine'FUNC' for Analysis of the Proposed Active Filter circuits

C A. 1 Scheme No. 4 of section 23.1

SUBROUTINE FUNC (VM. CUS, CERR. MIN. X. ND. NMAX. N'ELEAM. PER)

PARAMETER (NDO=2000. NM=100 )

real CUF (NDO ). TIN (8"NMAX ). T (ND ). TIME. CERR (NDO )

real TI (8 NM ). CUS (NDO ). X (N'ELEM )

147

Page 158: Active Filters: A Unified Approach

PARAMETER (RL=2 )

INTEGER SP

EXTERNAL RUNG, FUNCHAR

INTRINSIC SIN, ATAN, COS

DO 2 NN=0,8*NMAX, NMAX/ 2

DO 2 1=1, NMAX/ 2

TIN (I+NMAX/ 2)=PER/ 2+TIN (T )

TI (I+NN )=TIN (I )+PER*NN/ NMAX

2 CONTINUE

DELTAT=T (2)-T (1)

CUR=0. O

Vcl=0.0

Vc2=0.0

TIMFr-0.0

J=1

DO 4 JJ=1,8*ND

IF (TIME. LE. TI (J ))THEN

SP=1

CALL RUNG (DELTAT, CUR, Vc. VM, X (I RL. X (2). TIMI?, Sp)

ELSE IF ((TTME. GT. TI (J ))AND. (TIME. LE. T1(J+1)))TJIEN

SPA

CALL RUNG (DELTAT, CUR, Vc, VM, X (1). RI, X (2). T 1(E. SP)

ELSE

J=J+2

END IF

IF (JJ. GT. 6*ND. AND. JJLE. 7*ND )THEN

CUF (JJ-6*ND )BUR

148

Page 159: Active Filters: A Unified Approach

Computer Programs Appendix C

CERR (J1-6*ND )=CUS (JJ-6*ND )+CUF (JJ-6*ND )

END IF

TIME=TIME+DELTAT

4 CONTINUE

END

SUBROUTINE RUNG (DELTAT, CUR. Vc, VM. L. R. C. TIME. Sp)

INTRINSIC SIN, ATAN, EXP

rcal W. L. R. C

INTEGER SP

PI=4! ATAN (L)

W=2. *PI *50.

IF (SP. EQ. 1)THEN

Sit= (VM*SIN (W*TIME )-RL*CUR )/ L

S12= (VM*SIN (W* (TIME+DELTAT/ 2. ))"RL' (CURfSI1'DELTAT/ 2. ))l L

S13= (VM*SIN (W* (TIME+DELTAT/ 2. )MO (CUR+SI2'DELTAT/ 2. ))/ L

S14= (VM*SIN (W* (TIME+DELTAT )}RL' (CUR+S13*DELTAT ))/ L

C(JR=CUR+ (SI1+2. *SI2+2. *S13+S14 )/ 6. *DELTAT

Vc=Vc

ELSE

SI1= (VM*SIN (W *TIME ). RL*CUR-Vc )/ L

SKI=CUR/ C

S12= (VM*SIN (W* (TIME+DELTAT/ 2. ))-RL* (CUR+SI1'DELTAT/ 2. )

+- (Vc+SK1 *DELTAT/ 2. ))/ L

SK2= (CUR+SI I *DELTAT/ 2. )/ C

S13= (VM*SIN (W* (TIME+DELTAT/2. )}RL* (CUR+S12'DFI. TAT/ 2. )

+- (Vc+SK2*DELTAT/ 2. ))/ L

149

Page 160: Active Filters: A Unified Approach

Computer Programs

SK3= (CUR+S12"DELTAT/ 2. )l C

S14a (VM"SIN (W" (TIME+DELTAT ))"RL" (CUR+SI39DELTAT )

+" (Vc+SK3 "DELTAT ))/ L

SK4= (CUR+S13"DELTAT )/ C

CUR=CUR+ (SI1+2. "S12+2. "S13+Si4 )/ 6. "DMTAT

Vc=Vc+ (SKI+2. "SK2+2. "SK3+SK4 )/6. "DCLTAT

END IF

END

r. 4.2 Scheme No .5 of action 2.5.1

SUBROUTINE FUNC (VM, CUS. CORR. T. TIN, X, ND, NMAX, NELEM, Pot)

PARAMETER (NDO=2000. NM=100 )

real CUF (NDO ). TIN (8*NMAX ), T (ND ). TIME, CERR (NDO )

real TI (8"NM ). CUS (NDO ). X (NELEAi )

PARAMETER ( RL=IA )

INTEGER SP

EXTERNAL RUNG

INTRINSIC SIN, ATAN, COS

DO 2 NNE. 8"NMAX. NM AX/ 2

DO 2 1=1, NMAX/ 2

TIN (I+NMAX/ 2)--PER/ 2+T1N (1)

TI (I+NN )=TIN (I )+PER"NN/ NMAX

2 CONTINUE

DELTAT=T (2)-T (1)

CUR=0.0

VC=o. O

TIME=0. O

Appendix C

150

Page 161: Active Filters: A Unified Approach

Computer Programs Appendix C

J=1

D04 JJ=1.8"ND

IF (TiME. LE. TI (J ))T1IFN

SPsI

CALL RUNG (DELTAT. Vc. CUR. VM. X. NELEM. RL, TIME. SP)

ELSE IF ( (TIME. GT. TI (J ))AND. (T1ME. LE. TI (J+1)))TI IEN

SP=0

CALL RUNG (DFLTAT. Vc, CUR. VM. X. ELEM. RI.. TIME, SP)

ELSE

J=J+2

END IF

IF (JJ. GT. 6*ND. AND. JJ. LE. 7*ND )THEN

CUP (JJ-6'ND)=CUR

CERR (JJ-6*ND ECUS (JJ-6*ND )+CUP (JJ. 6*ND )

END IF

TIME=TIME+DELTAT

4 CONTINUE

END

SUBROUTINE RUNG (DELTAT. Vc. CUR, W. I. X. NELEMM. RL. TIME. SP)

INTEGER SP

INTRINSIC SIN. ATAN

real L, C. X (NELEM )

PI=4'ATAN (I. )

W=2. "P1"S0.

L--X(I)

C=X(2)

151

Page 162: Active Filters: A Unified Approach

IP (SP. EQ. 1)TIIEN

SI1= (VM*SIN (W «TIME )-RL*CUR"Vc YL

SKI=CUR/ C

SI2= (VM*SIN (W' (TIME+DELTATi2. )j-RL" (CUR+SI1'DEI. TAT/2. )

+" (Vc+S Kl *DELTAT/ 2. ))/ L

SK2= (CUR+Si l *DELTAT/ 2. )/ C

SI3= (VM*SIN (W' (TIME+DELTAT/2. »RL' (CUR+S12'DELTAT/2. )

+" (Vc+S K2'DELTAT/ 2. ))/ L

SK3= (CUR+S12*DELTAT/ 2. )1 C

S14= (VM*SIN (W' (TIMS+DELTAT)}RL' (CUR+SI3'DELTAT)

+- (Vc+SK3*DELTAT ))/ L

SK4= (CUR+Si3'DELTAT )/ C

CUR=CUR+ (SI1+2. 'S12+2. *S13+S14 )16. 'DELTAT

Vc=Vc+(SK1+2. 'SK2+2. 'SK3+SKß )/6. *DELTAT

ELSE

Si1= (VM*SIN (W'TIME )-RL*CUR+Vc )/ L

SKI=-CUR/ C

S12= (VM*SIN (W" (Tibffi+DELTAT/2. )}RL" (CUR+SI1'DELTAT/2. )

++ (Vc+SKI'DELTAT/ 2. ))/ L

SK2=" (CUR+SI1 *DELTAT/ 2. )/ C

Si3= (VM*SIN (W' (1IN'IE+DELTAT/2 )}RL* (CUR+SI2*DELTAT/2. )

++ (Vc+S K2' DELTAT/ 2. ))/ L

SK3=. (CUR+SI2*DELTAT/ 2. )1 C

S14= (VM"SIN (W' (TIME+DELTAT )}RL' (CUR+S13'DELTAT )

++ (Vc+SK3'DELTAT ))/ L

SKd=- (CUR+SI3'DELTAT )I C

CUR=CUR+(SI1+2. 'S12+2. 'SI3+S14)/6. *DI]. TAT

152

Page 163: Active Filters: A Unified Approach

Vc=Vc+ (SKI+2. "SK2+2. "SK3+SK4 )16. "DELTAT

END IF

END

C 4. Sc me No. 6 section 2 S. 1

SUBROUTINE FUNC (VM, CUS. CERR. T. TIN, X. ND, NMAX. NELEM. MIR)

PARAMETER (NDO=2000, NM=100 )

rcal CUP (NDO ), TIN (8'NMAX ), T (ND). TIME, CERR (NDO )

rcal TI (8'NM ). CUS (NDO ), X (NEI. EM )

PARAMETER (RL =2.4. RL3=1.4 )

INTEGER SP

EXTERNAL RUNG, FUNCIIAR

INTRINSIC SIN. ATAN. COS

DO 2 NN=O. B'NMAX, NMAX/ 2

DO 21=1. NMAX/ 2

TIN (I+NMAX/ 2)=PER/ 2+TIN (1)

TI (I+NN )=TIN (I )+PER'NN/ NMAX

2 CONTINUE

DELTAT=T (2)-T (1)

CUR1=0.0

CUR2=0.0

Vc1=0.0

Vc2 0.0

TIME=0.0

J=1

DO 4 JJ=1.8'ND

IF (TIME. LETI (J ))THEN

153

Page 164: Active Filters: A Unified Approach

Computer Programs Appendix C

SP=1

CALL RUNG (DELTAT, Vcl. Vc2, CURL. CUR2. VAI. X (I). RL. X (2). RLa.

+X (3 ), X (4 ). TIME )

CUR=CUR1

ELSE IF ((TLME. OT. TI ())). AND. (TIMI3. LE. TL ()+1 )))T1IEN

SP=0

CALL RUNG (DELTAT. Vc2. Vc 1. CUR 1. CUR2. VM. X (i ). RL. X (2). RLn.

+ X(4). X(3). TIME)

CUR=CURL

ELSE

1=J+2

END IF

IF (JJ. GT. 6'ND. ANDJJ. LE. 7'ND )TIIEN

CUF (JJ-6'ND )BUR

CERR (JJ-6'ND )=CUS (JJ. 6'ND )+CUF (JJ-6'ND )

END IF

TIME=TIME+DELTAT

4 CONTINUE

END

SUBROUTINE RUNG (DE TAT. Vca, Vcb. CUR1. CUR2. VM. 1, RL, La. RLa.

+ C1. C2. TIME)

INTRINSIC SIN. ATAN. EX?

real W. L. La. Cl. C2

PI=4! ATAN (L)

W=2. "PI. 50.

SI I= (VM"SIN (W'TIME)-Vca"RL*CUR I )/ L

154

Page 165: Active Filters: A Unified Approach

SK1=CURI/CI

S12= (VM'SIN (W (TIME+DELTAT/2. ))- (Vca+SKl'DELTAT/2. )"

+ RL' (CURI+SI1'DELTAT/2. ))/ L

SK2= (CUR1+Si 1'DELTAT/ 2. )/ CI

SI3= (VM'SIN (W' (TIME+DELTAT/2. ))- (Va+SK2'DII. TAT/2. )-

+ RL' (CUR1+Si2'DELTAT/2. ))/L

S K3=, (CUR 1+SI2'DELTAT/ 2. )ICI S14= (VM'SIN (W' (TIME+DELTAT )). (Va+SK3'DELTAT )-

+ RL' (CUR1+S13'DELTAT))/L

SK4= (CUR 1+SI3'DELTAT )/ C1

CURI=CUR1+ (SI1+2. 'SI2+2.0S13+S14 )/ 6. 'DII. TAT

Vca=Vca+ (SKI+2. 'SK2+2. 'SK3+SK4 )16. 'DELTAT

SI11= (-Vcb-RLa'CUR2 )/ La

SKKI=CUR2/ C2

S112= (- (Vcb+SKKi'DELTAT/ 2. )-RLa' (CUR2+SiI1'DELTAT/ 2. )y La

SKK2= (CUR2+SII I'DELTAT/ 2. )/ C2

SII3= (- (Vcb+SKK2'DELTAT/ 2. )-RLa' (CUR2+SI1211DMTAT/ 2. »1 La

SKK3= (CUR2+SII2'DELTAT/ 2. Y C2

S114= (- (Vcb+SKK3'DELTAT )-RLa' (CUR2+S113'DELTAT )y La

SKK4= (CUR2+SI13'DELTAT )/ C2

CUR2--CUR2+ (Silt+2,0SI12+2, 'S113+SI11)/6. 'DELTAT

Vc1=Vcb+ (SKK 1+2. 'SKK2+2. 'SKK3+S KKd )16. 'DELTAT

END

TM. 4 Scheme No. 7 of section 25.1

SUBROUTINE FUNC (VM, CUS. CERR. T. TIN. X. ND. NMAX. NELEM. Pat)

PARAMETER (NDO=2000. NM=100 )

155

Page 166: Active Filters: A Unified Approach

real CUF (NDO ). TIN (80NMAX ), T (ND). TIME, CERR (NDO )

real TI (8'NM ). CUS (NDO ). X (NELEM )

PARAMETER (RL=2.4, RLa=IA )

INTEGER SP

EXTERNAL RUNG, FUNCIIAR

INTRINSIC SIN, ATAN, COS

DO 2 NN=O, 8'NMAX, NMAX/ 2

DO 2 I=1, NMAX/ 2

TIN (I+NMAX/ 2 )--PER/ 2+TIN (1)

TI (I+NN )=TIN (I )+PER'NN/ NMAX

2 CONTINUE

DELTAT=T (2)-T (1)

CUR=0.0

CURL=O. 0

VC1=0.0

Vc2--0.0

TIME=0.0

J=1

DO 4 JJ=1.8'ND

IF (TIMELE. TI (J ))THEN

SP=I

CALL RUNG (DELTAT. Vc 1. Vc2, CUR. CURL. VM, X (1). RL, X (2). RLa.

+X (3 ). X (4 ). TIME. SP )

ELSE IF ((UMEGT TI (J ))AND. (TIMILLE. TI (J+1)))T11EN

SP=O

CALL RUNG (DELTAT, Vc1. Vc2, CUR. CURL, VM, X (1), RL. X (2). RLa.

+ X(3), X(4). TIME. SP)

156

Page 167: Active Filters: A Unified Approach

Computer Programs AS dix C

ELSE

J=J+2

END IF

IF (JJ. GT. 6'NDAND. JJ. LE. 7"ND )TIIEN

CUP (JJ-6"ND )--CUR

CERR (JJ. 6"ND)=CUS (JJ-6`ND )+CUF (JJ-6"ND )

END IF

TIME=TIME+DELTAT

4 CONTINUE

END

SUBROUTINE RUNG (DELTAT. Vca. Vcb, CUR. CURL. VM. L. RL. La, RLa.

+ Ci. C2. TIME, SP)

INTRINSIC SIN, ATAN, EJG'

real W. L. La, C1. C2

INTEGER SP

PI=4! ATAN (L)

W=2. "PI"50.

IF (SP-EQ. O )THEN

SI1= (VM'SIN (W''TIriE )-Vca-RL'CUR )/ L

SKI= (CUR-CURL )/ C1

SKKI=CURUC2

SI11= (Vca-Vcb-RLa'CURL )/ La

512= (VM"SIN (W (TIME+DELTAT/ 2. )). (Vca+SKl "D11. TAT/2. )-

+ RL" (CUR+SI 1 "DELTAT/ 2. ))/ L

SK2= (CUR+SI I "DELTAT/ 2. - (CURL+SII1 "DELTAT/ 2. ))/ C1

SK K2= (CURL+S II 1 "DELTAT/ 2. )l C2

157

Page 168: Active Filters: A Unified Approach

Compute Programs Appcndlx C

S112= (Vca+SKl'DELTAT/2. " (Vcb+SKKi"DEI. TAT/2. )"

+ RLa' (CURL+SII1'DELTAT/2. »/ La

S13= (VM'SIN (W' (TIME+DELTAT/ 2. ))- (Vca+SK2"DELTAT/ 2. )-

+ RL' (CUR+S12"DELTAT/ 2. ))/ L

SK3= (CUR+S12'D£iTAT/ 2. - (CURL+S1120DEI. TAT/ 2. ))/ C1

SKK3= (CURL+SII2'DELTAT/ 2. )1 C2

SIi3= (Vca+SK2'DELTAT/2. - (Vcb+SKK2"DELTAT/ 2. ).

+ RLa' (CURL+S112'DELTAT/2. ))/La

S14= (VM'SIN (W' (TIME+DELTAT ))- (VCa+SK3"DELTAT )-

+ RL' (CUR+SI3"DELTAT ))/ L

SK4= (CUR+S13'DELTAT (CURL+SI13"DELTAT ))ICI

SKK4= (CURL+SI13'DELTAT )/ C2

SII4= (Vca+SK3'DELTAT- (Vcb+SKK3"DELTAT )-

+ RLa' (CURL+SII3"DELTAT ))/ La

CUR=CUR+ (SI1+2.0SI2+2.0S13+SI4 )/ 6. 'DI7. TAT

Vca=Vca+(SK1+2. 'SK2+2. 'SK3+SK4 )/6. "DELTAT

CURL-CURL+ (SIl i+2. "SI12+2. 'SII3+S114 )/ 6. 'DELTAT

Vcb=Vcb+ (SKK1+2. "SKK2+2. 'SKK3+SKK4 )/6. 'DI? I-TAT

ELSE

SI1= (VM'SIN (W'TiME )-Vca+Vcb-RL"CUR )/ L

SKI= (CUR-CURL )/ CI

SKKI=" (CUR-CURL )/ C2

SII1= (Vca-Vcb-RLa'CURL )/ La

SI2= (VM'SIN (W' (TIME+DELTAT/ 2. )} (Vca+SKl "DELTAT/ 2. )

++ (Vcb+SKKI"DELTAT/ 2. }RL' (CUR+SiI'DEI. TAT/ 2. ))/ L

SK2= (CUR+SiI'DELTAT/2. - (CURL+SiII'DELTAT/2. ))/ Cl

SKK2=- (CUR+SI1'DELTAT/ 2. - (CURL+SII I'DELTAT/ 2. ))/ C2

158

Page 169: Active Filters: A Unified Approach

Computer Programs Appendix C

S112= (Vca+SKi'DELTAT/2. " (Vcb+SKKI'DELTAT/2. )-

+ RLa* (CURL+SIII"DELTAT/2. »/ La

SI3= (VM*SIN (W' (TIME+DELTAT/2. ))" (Vca+SK2"DMTAT/2. )

++ (Vcb+SKK2'DELTAT/ 2. )-RL* (CUR+Si2'DELTAT/ 2, ))I L

SK3= (CUR+SI2'DELTAT/ 2. - (CURL+SII2"DELTAT/ 2. )ICI

S KK3=- (CUR+SI2*DELTAT/ 2. " (CURL+S II2'DELTAT/ 2. ))I C2

S1I3= (Vca+SK2*DELTAT/2. - (Vcb+SKK2'DCLTAT/ 2. )-

+ RLa* (CURL+SII2*DELTAT/2. »t La

S14= (VM*SIN (W' (TlbiE+DELTAT ))- (Vca+SK3'DELTAT )

++ (Vcb+SKK3*DELTAT )-RL' (CUR+SI3"DELTAT ))/ L

SK4= (CUR+SI3*DELTAT- (CURL+SII311DELTAT ))/ CI

SKK4=- (CUR+SI3'DELTAT" (CURL+SII3*DELTAT ))/ C2

S114= (Vca+SK3*DELTAT" (Vcb+SKK3*DELTAT )-

+ RLa* (CURL+SII3'DELTAT ))/ La

CUR--CUR+ (SI1+2. *SI2+2. *SI3+SI4 )/ 6. 'DE1. TAT

Vca=Vca+ (SKI+2. "SK2+2. 'SK3+SK4 )/6. "DELTAT

CURIr-CURL+(SIII+2. *SI12+2. *SI13+SIi4 )/6. *DELTAT

Vcb=Vcb+ (SKKI+2. *SKK2+2. 'SKK3+SKK4 )/ 6. 'DEI. TAT

END IF

END

CA-5 Scheme N0.8 of section 23.1

SUB ROUTINE FUNC (VM. CUS. CERR. T. TIN. X. ND. NA'[AX. NEI. EM. Pat)

PARAMETER (NDO=2000. NAi=100 )

teal CUF (NDO ). TIN (8"NMAX ). T (ND), TIME. CERR (NDO)

real TI (8"NM ). CUS (NDO ). X (NELF-M )

PARAN'IEIFR (RL=83. R1,31 =2. d. RLa2=l. d )

159

Page 170: Active Filters: A Unified Approach

Computer Programs

INTEGER SP

EXTERNAL RUNG, FUNCIIAR

INTRINSIC SIN. ATAN. COS

DO 2 NNE. 80NMAX. NMAX/ 2

DO 21=I. NMAX/ 2

TIN (I+NMAX/ 2)=PER/ 2+TIN (I)

TI (I+NN )=TIN (I )+PER"NN/ NMAX

2 CONTINUE

DELTAT=T (2)-T (1)

CUR=0.0

CURL=0.0

Vc=0.0

TIME-0.0

J=1

DO 4 JJ=1.8"ND

IF (TIME. LE. TI (J ))THEN

SP=1

CALL RUNG (DELTAT, Vc, CUR. CURL, Vhf. X (1), RI, X (2). Mal.

+X (3). RLa2, X (4). TIME, SP)

ELSE IF ((TIME. GT. TI (J ))AND. (IM . LE. TI (J+1)))THEN

SP=O

CALL RUNG (DELTAT. VC, CUR. CURL.. VM X (1). RL. X (2). RLai,

+X (3). RLa2, X (4). TIME, SP)

ELSE

J=J+2

END IF

IF (JJ. GT. 6'NDAND. JJ. I. E.? "ND )THEN

160

Page 171: Active Filters: A Unified Approach

Computer Programs Appendix C

CUP (JJ-6"ND )=CUR

CERR (JJ-6"ND)=CUS (JJ-6"ND)+CUV (JJ. 6'ND )

END IF

TIME=TIME+DELTAT

4 CONTINUE

END

SUBROUTINE RUNG (Dß. TAT. Vc. CUR. CURL. VM. L. RL, is I. KLA I.

+ Lat. RLA2. C. TIME. SP )

INTRINSIC SIN. ATAN. EXP

real W, L, Lat. W. C

INTEGER SP

PI=4. 'ATAN (L)

W=2. 'PI'50.

IF (SP. EQ. 1)THEN

SII= (VM'SIN (W'TIME )-Lal 'SII I-RIaI'CURI., RL'CUR YL

SKI= (CUR-CURL)/ C

Slll- (Vc+La2'SI I- (RIal+RLa2 )'CURL+RLa2'CUR )/ (Lal+La2)

S12- (VM'SIN (W' (TIME+DELTAT/2. ))-lal'SI12-

+ RLaI' (CURL+SII I'DELTAT/2. ). RL' (CUR+SI I'DELTAT/ 2. ))/ L

SK2= (CUR+SI1'DELTAT/2. " (CURL+SIII'DELTAT/2. )y C

S112= (Vc+SK1'DELTAT/2. +La2'S12.

+ (RLal+RLa2 )' (CURL+SII1'DELTAT/ 2. )+RLa2' (CUR+SlI'DELTAT/2. )X (Lal+La2 )

S13= (VM'SIN (W' (TIME+DELTAT/2. ))"Iai'S113"

+ RLaI' (CURL+S112'DELTAT/ 2. }RL' (CUR+SI2'DELTAT/ 2. )W L

SK3= (CUR+S12'DELTAT/ 2. - (CURL+SI12'DELTAT/ 2. )Y C

SI13= (Vc+SK2'DELTAT/ 2. +La2'S13-

161

Page 172: Active Filters: A Unified Approach

Computcr Programs Appcndix C

+ (RLaI+RLa2 )' (CURL+SII2"DELTAT/ 2, )+RLa2" (CUR+SI2"DELTAT/ 2. )y (Lal +La2 )

S14= (VM"SIN (W" (TIME+DELTAT))"Lal"S114"

+ RLaI " (CURL+S113"DELTAT )-RLO (CUR+SÜ"DELTAT ))/ L

SK4= (CUR+S130DELTAT" (CURL+S1136DELTAT ))/ C

SII4= (Vc+SK3'DELTAT+La2'S14-

+ (RLai+RLa2)" (CURL+Si13"DELTAT)+RLa2" (CUR+Si3'DELTAT))/(1. o1+La2 )

CUR=CUR+ (SI1+2. "S12+2. "SI3+S14 )/ 6. "DELTAT

Vc=Vc+ (SK1+2, "SK2+2. "SK3+SK4 )/6. "DELTAT

CURIr. -CURL+ (Sill +2. *SI12+2. *SI13+SI14 )/ 6. "DELTAT

ELSE

S11= (VM*SIN (W*TIhffi )+La2"SIi 1+RLA2*CURL- (RLa2+RL )'CUR )I (L+La2 )

SK1= (-CURL )/ C

SIl1= (Vc+La2*SI1- (RLaI+RLa2 )'CURL+RLa2'CUR )/ (Iai+La2 )

S12= (VM*SIN (W* (T1AiE+DELTAT/2. ))+La2'S1I2+

+ RLa2* (CURL+STI1'DELTAT/ 2. )- (RLa2+RL )* (CUR+S11'DI7. TAT/ 2. ))J (L+La2 )

SK2= (- (CURL+SII I'DELTAT/ 2. )Y C

S112= (Vc+SK1'DELTAT/ 2. +La2*S12-

+ (RLaI+RLa2)* (CURL+SII1*DELTAT/2. )+RLa2* (CUR+S11*DII. TAT/2. ))/(La1+La2 )

S13= (VM'SIN (W' (TIME+DELTAT/2. ))+La2*Sii3+

+ RLA2' (CURL+SII2*DELTAT/ 2. ). (RLa2+RL )* (CUR+S12'DELTAT/ 2. ))/ (L+La2 )

SK3= (- (CURL+SII2*DELTAT/ 2. ))/ C

S113= (Vc+SK2*DELTAT/ 2. +La2*S I3-

+ (RLal+RLa2 )* (CURL+SII2'DELTAT/ 2. )+RI. a2* (CUR+Si2*DELTAT/ 2. ))/ (Ia1+La2 )

SI4= (VM'SIN (W* (TIME+DELTAT))+La2'SIi4+

+ RLa2* (CURL+SII3'DELTAT )- (RLa2+RL )* (CUR+SI3*DELTAT ))/ (L+La2)

SK4= (- (CURL+SR3'DELTAT ))/ C

S114= (Vc+SK3*DELTAT+La2*S14-

162

Page 173: Active Filters: A Unified Approach

+ (RLAl+RLA2 )" (CURL+S113"DELTAT )+RLA2" (CUR+S13"DELTAT ))/ (La1+La2 )

CUR=CUR+ (Si) +2. "S12+2. "S13+S14 )/ 6. "DELTAT

Vc=Vc+ (SKI+2. 'SK2+2. "SK3+SK4 )/ 6. DEI. TAT

CURL-CURL (Sill+2! SI12+2. "SI13+S114 )/6. *DELTAT

END IF

END

CA6 Schcmc No. l of section 2.5.2

SUBROUTINE FUNC (VM, CUS, CERR, T, TIN. X. ND. NMAX, NEUEM. Pmt)

PARAMETER (NDO=2000, NM=100 )

real CUP (NDO ), TIN (8"NMAX ). T (ND), TIME, CERR (ND*)

real TI (8"NM ), CUS (NDO ), X (NEM I)

PARAMETER (RLI=2, RL2=2 )

INTEGER SP

E IERNAL RUNG, FUNCHAR

INTRINSIC SIN, ATAN. COS

DO 2 NN=O. B"NMAX, NMAX/ 2

DO 2 I=1. NMAX/ 2

TIN (I+NMAX/ 2)=PER/ 2+TIN (1)

TI (I+NN )=TIN (1)+PER"NN/ NMAX

2 CONTINUE

DELTAT=T (2)-T (1 )

CUR 1 =0.0

CUR2=0.0

TIME=0.0

TIMET =0.0

TIME2==0.0

163

Page 174: Active Filters: A Unified Approach

Computer Programs Appendix C

CUbo=O. O

J=1

DO 4 JJ=1.80ND

IF (TIME. LE. TI (J ))TUEN

SP=1

TIME2=TIME

CALL RUNG (DELTAT, CUR2. CUR1, VM. X (2). RL2. X (1). RL1.

+ TIME. TIME 1. CUbo )

CUR=CUR2

IF (TIME. GT. (TI (J )-DELTAT ))TI IEN

CUbo=CUR2

END IF

ELSE IF ( (TIME. GT. TI (J ))AND. (TIME. LE. TI (J+1 )))TIIEN

SP=O

TIMEI=TIME

CALL RUNG (DELTAT. CUR 1, CUR2, VM. X (1), RLI, X (2). RL2.

+ TIME, TIME2, CUbo )

CUR=CUR1

IF (TIME. GT. (TI (J+1)-DELTAT ))THEN

CUbo=CURI

END IF

ELSE

J=J+2

END IF

IF (JJ. GT. 6*NDANDJJ. LE. 7*ND )TIiEN

CUF (JJ-6*ND )=CUR

164

Page 175: Active Filters: A Unified Approach

Computer Programs Appendix C

CERR (JJ-6"ND)=CUS (JJ. 6"ND )+CUF (JJ-6 ND )

END IF

TIME=TIME+DELTAT

4 CONTINUE

END

SUBROUTINE RUNG (DELTAT. CURa, CURb, VM, La. RLa, Lb, Rib.

+ TIME. TIMEO, CUbo)

INTRINSIC SIN, ATAN. EXP

rcal W, La. Lb

W=B. * ATAN (1)* 50.

SI1=VM*SIN (W*TIME )/La "RLa'CURa/La

S12=VM*SIN (W' (TIME+DELTAT/ 2-))l La-RLa' (CURa+S I I'DELTAT/ 2. )/ La

SI3=VM*SIN (WO (TIME+DELTAT/ 2. )y La-RU' (CURa+S I2*DELTAT/ 2. )/ La

S14=VM*SIN (W* (TIME+DELTAT ))/ La-RLa'CURa+ (SI3'DELTAT )/ La

CURa=CURa+ (SI1+2. 'Si2+2. 'SI3+S14 )J 6. *DELTAT

CURB--CUbo*EXP (-RLb* (TIME-TIMED )/ Lb)

END

C. 4.7 Scheme Nol of section 2.5.

SUBROUTINE FUNC Mt. CUS. CERR. T. TIN. X. ND. NMAJX. NELEM. PER)

PARAMETER (NDO=2000. NM=100)

real CUF (NDO), TIN (8"NMAX), T (ND). TIME, CERR (NDO)

real TI (8"NM), CUS (NDO), X (NELERM)

PARAMETER (RLI=1.4. RL2=1.4)

INTEGER SP

EXTERNAL RUNG, FUNCIIAR

165

Page 176: Active Filters: A Unified Approach

DO 2 NN=O, 80NMAX, NMAX12

DO 21=1, NMAX/2

TIN (1+NMAX/2)=PERK+TIN (1)

TI (I+NN)=TIN (I)+PER"NN/NMAX

2 CONTINUE

DELTAT=T (2)-T (1)

CUR I O. 0

CUR2=0.0

Vc=O. 0

TIME=O. O

J=1

DO 4 JJ=1,8"ND

IF (TIME. LE. TI (1))THEN

SP=1

CALL RUNG (DELTAT, Vc, CURI, CUR2. VM. X (1), RLi, X (2), RL2. X (3). TIME)

CUR=CURI

ELSE IF ((TIME. GT. TI (J))AND. (T1ME. LE. TI (J+1)))TIIEN

SPA

CALL RUNG (DELTAT, Vc, CUR2, CUR 1. VM. X (2). RL2, X (1), RLI, X (3). TIME)

CUR=CUR2

ELSE

J=J+2

END IF

IF (JJ. GT. 6"NDAND. JJ. LE. 7"ND)TIIEN

CUF (JJ-6"ND)=CUR

CERR (JJ-6"ND)=CUS (JJ. 6"ND)+CUF (JJ. 6"ND)

END IF

166

Page 177: Active Filters: A Unified Approach

Computcr Progmms Appcndix C

TIME=TIME+DELTAT

4 CONTINUE

END

SUBROUTINE RUNG (DELTAT. Vc, CURa, CURb. VM, La, RLa, Lb. RLb. C. -n SIB)

INTRINSIC SIN. ATAN. EXP

rcal W. La. Lb, C

W=8. ' ATAN (1. )050.

S11= (VMOSIN (WOTIME)-RLaOCURa)/ La

S12= (VMOSIN (W0 (TIME+DELTAT/ 2. ))-ItIaO (CURa+SI 1 "DELTAT/ 2. ))/ La

SI3= (VMOSIN (W0 ('I'IME+DELTAT/ 2. ))"RLa' (CURa+S12"DELTAT/ 2. ))/ La

SI4= (VMOSIN (W' (TINffi+DELTAT))-RLa'CURa+ (S13'DEi. TAT)/ La

CURa=CURa+ (S11+2. OSi2+2. 'SI3+SI4)/ 6. 'DELTAT

SII I= (Vc-RLbOCURb)/ Lb

SKI=-CURb/C

S112= ((Vc+SKIODELTAT/ 2. )-RLb' (CURb+SIl1'DELTAT/ 2. ))/ Lb

SK2=- (CURb+SII I'DELTAT/ 2. )/ C

S113= ( (Vc+SK2"DELTAT/ 2. )-RLbO (CURb+SII2'DELTAT/ 2))/ Lb

SK3=- (CURb+SII2'DELTAT/ 2. )/ C

SII4= ( (Vc+SK3'DELTAT)-RLbO (CURb+SII30DELTAT)yLb

SK4=- (CURb+SI13'DELTAT)/ C

CURB--CURb+ (SII1+2. 'SI12+2. 'SII3+SÜ4)I 6. ODII. TAT

Vc=Vc+ (SK 1+2. OSK2+2. 'SK3+SK4)/ 6. 'DELTAT

END

C4.8 Scheme NO of section 25.2

SUBROUTINE FUNC (VM. CUS, CFRR. T. MN. X. ND. NMAX. NELL"Tl. PER)

PARAMETER (NDO=2000. NM=100 )

167

Page 178: Active Filters: A Unified Approach

Computer Programs Appendix C

rcal CUF (NDO ). TIN (8"NMAX ), T (ND ), TIME. CERR (NIX) )

rcal TI (8"NM ), CUS (NDO ). X (NELEM )

PARAMETER (RLs=2, RL=2 )

INTEGER SP

EXTERNAL RUNG

DO 2 NN=O. 8*NMAX. NMAX/ 2

DO 21=1, NMAX/ 2

TIN (I+NMAX/ 2 )--PER/ 2+TIN (1)

TI (t+NN)=TIN (I )+PER"NN/ NMAX

2 CONTINUE

DELTAT=T (2)-T (I )

CUR=O. O

CURL=0.0

VC =0.0

TIME 0.0

J=1

DO 4 JJ=1.8"ND

IF (TIME. LSTI (J ))THEN

SP=I

CALL RUNG (DELTAT. Vc. CUR, CURL. VM. X. NEL M. RLt. RI., TIME, Sp)

ELSE IF ((TIME. GT. TI (J ))AND. (TIMI:. LE. T1(J+1)))TI IEN

SPA

CALL RUNG (DELTAT. Vc, CUR, CURL. VAt. X, NELEM. RIs, RI., TIME, SP)

ELSE

J=J+2

END IF

IF (JJ. GT. 6"NDAND. JJ. I. E.? "ND )TiIEN

168

Page 179: Active Filters: A Unified Approach

Computer Programs A{+pcrulix C

CUF (JJ-6"ND )=CUR

CERR (JJ-6"ND )CUS (JJ-60ND )+CUF (JJ. 6"ND )

END IF

TIME=TIME+DELTAT

4 CONTINUE

END

SUBROUTINE RUNG (DELTAT. Vc. CUR. CURL, VM. X. NELEM. RLs, RI. TIME, Sp)

INTEGER SP

INTRINSIC SIN. ATAN

rcal Ls. C. X (NELEM ). L

W=8! ATAN (1. )'50.

LS--X (I

L--X(2)

C=X (3 )

IF (SP. EQ. 1)THEN

SI1= (VM'SIN (W'TIMS )-RLS'CUR-Vc )/ Ls

Sill= (VC-RI'CURL )/ L

SKI= (CUR-CURL )/ C

512= (VI"i'SIN (W' (TIME+DELTAT/ 2. ))-RLs' (CUR+SI1'DELTAT/ 2. )

+" (Vc+S K 1'DELTAT/ 2. ))/ Ls

S112= (Vc+SKI'DELTAT/ 2. -R1' (CURL+SII1'DELTAT/ 2. ))/ L

SK2= (CUR+SI1'DELTAT/ 2. -CURL-S1I1'DELTAT/ 2. )/ C

S13= (VM'SIN (W' (riME+DELTAT/ 2. ))"RLs' (CUR+St2'DELTAT/ 2. )

+" (Vc+SK2'DELTAT/ 2. ))/ Is

S113= (Vc+SK2'DELTAT/ 2. -RIO (CURL+S112'DELTAT/ 1)Y L

SK3= (CUR+SI2'DELTAT/ 2. -CURL-S112'DELTAT/ 2. )/ C

169

Page 180: Active Filters: A Unified Approach

Computer Programs Arrcndix C

S14= (VM*SIN (W' (I1ME+DELTAT ))-RLs' (CUR+S13'DELTAT )

+- (Vc+SK3*DELTAT ))/ Ls

S114= (Vc+S K3 * DELTAT-Ri' (CURL+S 113' D ELTAT ))/L

SK4= (CUR+SI3*DELTAT-CURL-SI130DELTAT )/ C

CUR=CUR+ (S II +2. *S 12+2. *S 13+S 14 )/ 6. * DELTAT

CURL-CURL+ (Si11+2. *S112+2. *S113+S114 )/ 6.0 Di-"LTAT

Vc=Vc+ (SK1+2. *SK2+2. *SK3+SK4 )/6. 'DELTAT

ELSE

Sit= (VM*SIN (W*TIME )-RLs'CUR-Vc )/ Ls

SII1= (-Vc-Ri'CURL )/ L

SKI= (CUR+CURL )/ C

SI2= (VM*SIN (W* (71ME+DELTAT/2. ))-RLs' (CUR +SIIDELTAT/2. )

+- (Vc+SK 10 DELTAT/ 2. ))/ Ls

SII2= (. (Vc+SK 10 DELTAT/ 2. )-RI ' (CURL+S111'DELTAT/ 2. ))/ L.

SK2= (CUR+SI1 *DELTAT/ 2. +CURL+S111 *DELTAT/ 2. )l C

513= (VM*SIN (W* (TIME+DELTAT/2. ))-RLs* (CUR+S12'DELTAT/ 2. )

+- (Vc+S K2*DELTAT/ 2. ))/ Ls

SI13= (- (Vc+SK2'DELTAT/ 2. )-Ri' (CURL+SI12'DELTAT/ 2. ))/ L

SK3= (CUR+S12*DELTAT/ 2. +CURL+Si12'DELTAT/ 2. )l C

S14= (VM*SIN (W* (TIME+DELTAT ))-RLs* (CUR+SI30DFLTAT )

+- (Vc+SK3*DELTAT ))/ Ls

S114= (- (Vc+SK3"DELTAT )-RI* (CURL+S113'DELTAT ))I L

SK4= (CUR+S13'DELTAT+CURL+Sl13'DELTAT )/C

CUR=CUR+ (Sit +2. OS12+2. OS13+SI4 j, / 6. 'DELTAT

CURL--CURL+ (Sil 1+2. *S112+2. 'SI13+S114 )I6. 'DELTAT

Vc=Vc+ (SKI+2. *SK2+2. *SK3+SK4 )/ 6. *DELTAT

END IF

END

170

Page 181: Active Filters: A Unified Approach

Published Papers Apic 1I* D

PUBLISHED PAPERS

1. Paper published in Electronics Letters Vol. 31 NO. 13, June 95

2. Paper presented in 6th European Conference EPE95, September 95

171

Page 182: Active Filters: A Unified Approach

AN ACTIVE FILTER FOR ELIMINATING CURRENT HARMONICS CAUSED BY NON- LINEAR CIRCUIT ELEMENTS Z. D. Koozchkananl. P. Mehta, M. K. Darwish

Appendix D

where Ru and Rv are the reiisuncet of the two inductors. Since the input currant and the current in the inductor Ls and the voltage across the capacitors are continuos. the initial conditions for the equations in one state is the final conditions in the previous state. The switching pattern associated with the twitches together with the circuit parameters determine the level and order of harmonics in the filter current. For the circuit to operate as an active filter, the aim is to determine a switching pattern appropriate to the harmonics to be eliminated in the non"lincar load current. !f the coefficient of harmonies of tae A.

and n.. the function i" f(t). , t4 . t� called we)

the cost function is the measure of harmonics in the tout current where vector t denotes the switching instants in switching pattern and Mimi% is the maximum range of frequency to be eliminated. The objective is to minimise the cost function by optimising the switching pattern. The conjugate direction method (3) is employed to achieve this. The summary of algorithm used is given below.

steps: for the starting t. itt: hin j tnstmtt (t 0I co"

90 " ry(to)Tand set d0 " -10 rep! . Fcr! *O12.... 4"!

a), Tat}. 1 Oil " rtdt'Ahett "t minimise fist " ands 1

b)Com tetit"t rC/(It'1)T

e)t'rdeitit. ". I. tat di. 1 "-ti"1 " e*di . T

t &4l5}. l bkýT E kPk

sup3: ReFtare t0 by t, ý sand Eo bark so tint Fig. 2 shows the input current waveform and its spectrum for a rectifier load with capacitive filter which is typical of the input stage of power supplies in most equipment. Figure 3 thowt the corresponding waveforms with the actibe filter connected to the circuit. This was achieved by optimising for forty one harmonics.

Lnb[Stu stn! i AcdrtFihtn_Cvrrrlt. Aer--w-mIn In mcent years there her ban an incmuing comm over the Introduction of current harmonic in pouts supply systems due to the use of non-linear bads such as television receivers. penonsi computers and thytiswrs for controlling electric motors, lamps and heaters. Conventional filtering techniques uhich use passive filters are Inflexible in that they can not cope with the variation in the filtering requirements u the load and system conditions vary. This pa tt presents the development of an active filter which can be connected across the offending non-liner bad and Is capable of self-tuning and overcomes the disadvanujes of the conventional passive filters.

Principle of operation: Fig. I illustrates the principle of the proposed technique used for filtering of current harmonics generated by a non-linear load. As shown, the filter is connected across the supply in parallel with the load. The filter consists of two capacitors. two inductors and two bi-directional switches. The switches are operated in antiphase so that the filter current through the inductor. L1. flows through the capacitors alternately. When one of the capacitors carries the filter current and the other one resonates with the inductor. Li The

resonant current within the filter dose not appear at the terminals of the filter and thus has no effect on the current. This in fact signifies the difference between this circuit and the conventional resonant filter. The rate of rise of current and the amplitude depends mainly on the size of capacitors and the initial voltages on them. These factors

are function of the switching pattern. These two factors

provides considerable flexibility in shaping the waveform of current drawn by the filter. If the phases. magnitudes and the frequency of the various current harmonics are controlled such that they match the undesirable current harmonics drawn by the non-linear load, the supply current is free of current harmonics. The key to the control of the filter is to determine the appropriate switching function for the switches as shown below.

Anahsis and erperimental results. -Assuming the direction of the currents in figure I and using the notations W. h=2 when switch I is closed and switch 2 is open and %ice versa. the circuit can be represented by the following

equations:

di ri - Vck -R i1

di L, dvck il

dt Ck

di2 -vCh - RL2 12

di L2

(1)

(2)

(3)

dvc h 12

s- dr ch

(4)

Conclusion: This novel approach for design of active filters Provides an ahemahe method of controlling currant harmonics generated by non-linear loads such as rectifiers. Whilst a conventional filter circuit can only anenuue a range of harmonics. the proposed approach can achieve almost complete elimination. It would be suitable for applications where the magnitude. phase and range of current harmonics art not predictable. on-line control of the filter would provide a food solution.

ZD. koaacUJ, ana: tt. P! ºI d, u. KKDsr+. ih (8rstt+d Uaivgsitry. Dcpartmes o! rrc. Eat. Ual, ridM Midskrea US$ 3P}1. U. KTd ("44) t93274= " Fas: ("j1) 193 23127! )

References I G. Choe. atºd P. AIa-110. "A new Ggtaion autttiad for AC hstmoaia Elininu; on by Acsive Po+u filtcn. " 1EEC Tram 00 tnJuIUW Ekcvon±a. %o1-33. No. 1. Pclarsjuy 19t1. rp. 1 t 1.1 t1 2 P. Aletta, M. Dar. itA, tin0 T. TAotttron. "s"Itrl+ed-Cý Mtua. " tEEE Tram. on Pw"st E3ccrronica vo1.3. Na3. )s1y, 1490, tp. 331-317 3 D. G. Larctsýu. " tuu. sr an0 aonda+cst pvttstnritieý. " Add+spa Wesley. l9t4,

172

Page 183: Active Filters: A Unified Approach

Publishcd Papcrs

( ý-ý -f

1 load

61tet Non-Untat l. o. d

".......... a........ s..... ""

1a-21Jm, Co a14 4" ý`i!

ý"

Active filter

il

................................. Fit. t: P. incfplt of ontve f ikt. ing redºwgrt

ý1

3rd Sth 7th 9th 11th 13th Fig 2 'T We current waveform of load (2AJdi, ) and its tpecmm

3rd sib 7th 9th 11th 13th

Fit 3 Me rrrrrnl we o,,, (2A/Jiv) q er ampo atimi and its tptmun

div

div

Appcndix D

173

Page 184: Active Filters: A Unified Approach

Publishcd Papers Appendix D

ACTIVE SYMMETRICAL LATTICE FILTER FOR h ARAIONIC CURRENT REDUCTION

ZD. Koouhkanani P. Atehta Nt. K. Darwish

Brunel University. Department of Electrical Engineering. U. K.

Abstract In recent years there has been increasing concern over the introduction of euntat harmonics in power supply systems due to the use of nonlinear loads such as thyristor converters. This has resulted in considerable interest in the development of active filters suitable for eliminating a range of current harmonics. This paper presents the development of active filters which are derived from the conventional symmetrical lattice circuits. To assess the effectiveness of this approach the filter is used to reduce current harmonics in a rectifier circuit feeding a capacitive load.

Kevwords. Active filter 'Current harmonics

PRINCIPLE OF ACTIVE LATTICE FILTER

Figure 1 shows the principle of the technique used for filtering current harmonics generated by a non-linear load. The active filter is connected in parallel with the load and it is in fact a non-linear device itself. This filter could be a switched-impedance element or another converter( I ).

are in anti-phase to the undesirable current harmonics drawn by the non"linea load. thereby eliminating harmonics in the supply eunent. The key to the control of the filter is to determine the appropriate switching function for the switches as shown below.

ANALYSIS AND EXI'ERIMEINTAL RESULTS

This paper presents two configurations of active filters

which are derived from a conventional symmetrical lattice filter by replacing some of the passive elements by switches. In the first configuration as shown in Figure 2. the pairs of bi-directional switches S, and Si

and S3 and S4 operate synchronously and in anti-phase. To avoid short circuiting the capacitor during the transfer of current from one set of switches to the other. a small resistor with a switch across it is included in series with the capacitor. This switch is opened during the transfer of current between the two pairs of main switches. The second configuration is a modification of the first circuit by replacing one pair of switches with inductors of the same size; the two switches operate synchronously. The filters are connected to the mains via inductors. The rate of rise of current in the first

circuit changes with the change in the polarity of the voltage on the capacitor during switching operation. The disadvantage of this circuit is that at high switching frequency the fundamental component of current drawn from the supply is quite significant and it is not totally reactive.

In the second circuit the switching operation changes not only the polarity of voltage across the capacitor but also the impedance of the filter from being inductive to capacitive and vice versa. Ihhese two factors in the second circuit provide considerable flexibility in shaping the waveform of current drawn by the circuit.

The various current harmonics in the circuit are controlled such that they have the same magnitude but

Analysts of the rut circuit

Considering the direction of the currents in the circuit of Figure 2. the circuit can be represented by the following equations: When a pair of switches are in the 'on'state

di t

1+ý ý ýl i- VC

di L, dvL i

dl c

(1)

(2)

«'hen the other pair of switches are in the 'on' state

di aY, - R, I+ VC

dt dye

a- dr C

(3)

(a)

%here R, is the resistance of the inductor. Since the voltage across the capacitor and the cuncnt thmulh the inductor must be continuous the initial conditions for the equations in one state are the final conditions for the previous state.

Analysts of the second circuit

Assuming the direction of the currtnts as shown in the circuit of Figure 3. the circuit can be represented by the following equations:

174

Page 185: Active Filters: A Unified Approach

Published Papers

When the switches are in the 'off state

1,,, =0

1"'L"lC

di

dt (5) vý-(R, +2RL)i-ve L,

dvý

dt C

When the switches are in the 'on' state

lalL+l, w

iL = i, w + 1c and then ic = i- 2i,,,

di v, - Rr i+ VC `. _ dt L,

dv IC

di C

replacing is from is =i-2 if,,, dvc 1- 2 if,

di c

(6)

c7i

(8)

In this state the capacitor is in parallel with the inductors and hence

L ý` + RL IL =- VC

since iL =i-l,

dý =

vc +Rt(i-1,,, ) +

di (9ý

dt L dt

where R, and RL are the resistance values of the inductors L, and L respectively.

The input current and the voltage across the capacitor are continuos, the initial conditions for one state are the final conditions for the previous state. The initial condition for the current in the switch. i,, . is zero. To prevent the possibility of high voltages appearing across the switches during the transition from the 'on' to the 'off state. the snubber circuits. not shown, have to be included.

The switching pattern associated with the switches together with the circuit parameters determine the magnitude and order of harmonics.

ApprAiix D

For the circuit to operate as an active filler. the Alm is to determine a switching patient apptopriatc to the harmonics to be eliminated in the load cuncnt.

Load Nith Rxcd condition:

If the coefrcicnt of harmonics of i,,,, r   i, a, i f i, w are A. and B. the function:

!  fi t, x)   . r. A� + bý . called the cast . "f

function, is the measure of harmonics in the total current %%here the vector. t. X. and Nil.,. jut the switching instant, the circuit parameters and the maximum range of frequency to be eliminated respectively.

The objective is to minimise the cost function by optimising the switching pattern and the magnitude of the circuit parameters. To achieve this. Initially the cost function is minimised for NN.,.,  3. 'then the resulting switching pattern and the parameter values are used as starting values to minimise the cost function for NH.,. ý $ and this process continues for higher Niimax values. The summary of the algorithm used is given below.

1) The starting points, 14, for switching instants arc calculated as the midpoints of pulses in a uniform switching pattern or can be taken as random values 110, t °, tj ... , t.

° (m is the number of switching instant in each period) and also starting values for elements xe are taken randomly. xt , xi° ..... x, ° (n it the number of independent elements in the circuit).

2) The fitter current, if. for the above switching inuantt and circuit parameters Is calculated using Rung Kutta method.

3) 71w tout current is calculated using i, s i, + i,.

4) The harmonic coefficients of total current up to r'tt.,., are evaluated and the cost function 1 is calculated.

5) The conjugate direction mcthod with modification is employed to minimise the cost function and dctumine the optimum values of the switching instants and circuit parameters as follows:

a) The gradient of the cost function are evaluated with respect to the snitching instants and circuit paramctcm

0: VJa f öp` "s °2.....

t 0

fo"ll 1t

aJ aJ aJ al aJ aJ s .. ý .ýýr. ... ý .. ý ý

a1, at=''.. +a! �a, t, 'as, ""at.

175

Page 186: Active Filters: A Unified Approach

Published Papers

b) The direction of the steepest descent is set to be equal to g° which is the initial value of g. d° or (d °. d1°`. ds°..... d,,,.. ° IT a IS, 'Si

, Si ß. "g... °1T

c) The small numbers proportional to the size of the steepest descent values are calculated and ß, (i =l. 2,3..... m+n) are set to these values. For example if S, is the number of digits of d, ° then pj . tp'(si. 1)

For i=1.2.3..... m+n

d) The values of the switching instants and circuit parameters are evaluated by the following expression: t =t°+ßd°and x =x°+ß d° where ts=(t°, ti. t°.... t2 IT are the starting switching instants and xs a (x°.

X2 ,.., x.

° IT are the starting values for circuit elements and ß= [F+I, p2,.., ßi'.

». Na"MIT "; Ia 10-(SI + 1). MI a nl

a... =p.,.. ao. e) The cost function 1 for the above switching instants and circuit parameters are recalculated.

i) ß, is incremented and steps from d to a are repeated until the minimum value of J is found.

g) The gradient of the cost function %ith respect to the new switching instants and parameters are calculated and the direction of the steepest descent d is c aluated as:

d =- e+ V d' where b° sr s =9 r8

h) The starting switching instants 0-I t°, t °, tjý.. . týO IT are reset by the new evaluated values oft =[ il. t2. t3.. to IT and also the starting values of circuit elements is =I X10. x20..... x.

° IT are reset by the new evaluated

values x=Ixt, xz...., x, ]T.

i) The values of d° and g° are reset by the values of d and g that occur at 7.;..

j) steps from c to j are repeated until the minimum value of J,,, �, is obtained.

If the cost function J reaches zero. i. e� all harmonics up to NH.. are cancelled and the filter would be an ideal filter.

Load Kith varying condition:

For varying load conditions the aim is to determine the switching pattern whilst maintaining fixed values of the circuit parameters. The summary of the algorithm used is shown in Figure 4 where i represents the varying load condition.

/lppufix n

1) The parameters and the switching pattern for the circuit are evaluated for one of the load conditions by the method described above. 2) The values of circuit elements are reset to these values. 3) The switching pattern for the filter with the evaluated parameters are optimised for different conditions of load and stored, and also the values of cost functions for each case are calculated and averaged 4) The above process is repeated for i"2,3.... ,k to achieve the minimum average of the cost functions. The corresponding values of the circuit elements at this minimum arc considered as the best values. The corresponding switching patterns are the most optimum.

Figures 5 and 6 show the unfiltered load current (ip� ), the filter current. the current waveform after compensation and the switching pattern for the two configurations respectively. iIgure 7 shoe-s the spectrum of the uncompensated load current. d'igures 6 and 9 illustrate the corresponding spectrum of current after compensation for the two circuits respectively. It should be noted that. whilst there is a significant reduction in the current harmonics. there is an increase in the fundamental component of the input current. This increase should not cause any problems because it is capacitive in nature.

Conclusion

The novel approach for design of active filters presented here provides an alternative method of controlling current harmonics generated by non-linear loads such as rectifiers. Whilst a conventional filter circuit can only attenuate a range of harmonics. the proposed approach can achieve almost complete elimination. Since the on-line control of the filter is feasible the proposed approach is suitable for applications where the magnitude, phase and range of current harmonics are not predictable.

The two circuits presented here belong to a family of active filters at present under investigation at Brunel University.

Rctcrcnces

1. G. Choe, and PJNin"Ho, 1988, IEEE Tram. M IndLgrial Elcctmnics. vol. äS, No. I pp. 141-147 2. P-%lchta. M. Darvº-ish. and T. Thomson. 1990. IECß Trans. on Pow-er Elea nies, vro13. No. 3.. pp. 331-337 3. D. G. I. uenberger. 1984, "linear and non-linear programming. " Addison"V1'uley..

Address of the authors

ßrund Uninnity. Department of Electrical Engineering. , Uxbridge, Middlesex UBE 3P11, U. k. Tcl: (+41)1895274000 " Fax: (+44) 1895 258 278

176

Page 187: Active Filters: A Unified Approach

Published Papers

i VI

ifil.,

Active fitter

Non-Linear Loa!

Appcndix D

Set K. tft! auttºhct of k»d tc" timt

ý.. ý... ýý

Coeuidu dK load 'kith clx+difion I" I

C"ilvae the º. ivt/ of the rilttt elements wd Cýe ýýiarhiný ýanern

-r- I

Gkyt"te coil R+ºwttian i

Figure 1 Principle of active filtering technique

1 -V

aah chi v lwi ä aha i -mmtl with the tt&tvmed tiles I

r ýº tvaluatt the $iltthing petuttt far difout $oad wnditiana with the ume reut tlementc

L S= S. 6mN

Figure 2 The proposed active filter

t the Mining

values and afso the evaluated

I

C= 35 µF panerný .ýý martins tamanu for c, aer"It

kad wn&tion,

L=1.4mi1

Figure 3 The second proposed active filter Figure 4

Flowchart for evaluating the active filter puarnctas and : witching pattern for a load with vuying conditions

177

t+nl I F+. d

Gkulate the tnttta{tlmß trat rweio ºr In each cuadition Ica 90 µF

ý R=20

Tale Ow values of elem nu 0

Sý /

LJi

Page 188: Active Filters: A Unified Approach

Published Papers

Ja-.

-V..

r7_I I ZZ ZI _1I_Z7Z I 771 11

rx1 zXzI 1Ix__IZXL zzz

Figure 5 Load current. filter current. compensated current and the switching pattern (4A/dtv; )

ýý Figure 7 Spectrum of the load current (50Hz. 150Hz, 250Hz.... )

Figure 9 Spectrum of the current after compensation in the second configuration (50Hz. 150Hz, 250Hz.... )

I div.

178

Appcndix D

figure 6 Load current. filter cumnt. compensated Current and the switching puttm for the second configuration (4&dlv. )

Figure S Spectrum of the current after compensation (50H:, 150Hz. 250Hs,... 1

dfv