Upload
others
View
9
Download
0
Embed Size (px)
Citation preview
P. Bruschi - Analog Filter Design 1
Analog Filter Design
Part. 1: Introduction
Definition of Filter
• Electronic filters are linear circuits whose operation is defined in the frequency domain, i.e. they are introduced to perform different amplitude and/or phase modifications on different frequency components.
• Digital Filters (or Numerical Filters) operates on digital (i.e. coded) signals
• Analog Filters operate on analog signals, i.e. signals where the information is directly tied to the infinite set of values that a voltage or a current may assume over a finite interval (range).
P. Bruschi - Analog Filter Design 2
Brief Filter History: The Basis
P. Bruschi - Analog Filter Design 3
Harmonic Analysis
200 BC: Apollonius of Perga theory of “deferents and epicycles”
(the basis of later (100 AD) Ptolemaic system of astronomy),
maybe anticipated by Babylon mathematicians intuitions
1822 Joseph Fourier: Théorie Analytique de la Chaleur. Preceded by
Euler, d’Alembert and Bernoulli works on trigonometric interpolation.
Electrical Network Analysis
1845 Gustav Robert Kirchhoff: Kirchhoff Circuit Laws (KCL, KVL)
1880-1889 Olivier Heaviside developed the Telegrapher's equations and coined the terms
inductance, conductance, impedance etc.
1893 Charles P. Steinmetz: “Complex Quantities and Their Use in Electrical Engineering“ In
the same year, Arthur Kennely introduced the complex impedance concept
Brief Filter History: Resonance
P. Bruschi - Analog Filter Design 4
1898 – Sir Oliver Lodge: Syntonic tuningMarconi RTX with syntonic tuning
Acoustic resonance was know since the invention of the first musical instruments. Acoustical (i.e. mechanical) resonance allows selecting and enhancing individual
frequencies. It suggested the first FDM (frequency division multiplexing) application to telegraph lines based on electrical resonance.
Electrical resonance was first observed
in the discharge transient of Leiden Jars
Not suitable for telephone
FDM, but sufficient for Radio
tuning
Brief filter history: The beginning of the electronics era
P. Bruschi - Analog Filter Design 5
1904 – John Ambrose Fleming Valve (Vacuum Diode)
1906 – Lee De Forest “Audion” Vacuum Triode
1912 – Lee De Forest: cascaded amplifier stages
1915 – G. A. Campbell – K.W. Wagner “wave filters”first example of filter theory: Image Parameters Theory
1911 – First Triode-based Amplifiers and Oscillators
Brief Filter History: Towards Modern Filter Theory
P. Bruschi - Analog Filter Design 6
1930 – Stephen Butterworth introduces maximally flat filters. (with amplifier to separate stages)
1917 – Edwin Howard Armstrong: First Superhetorodyne Radio
1927 – Harold Stephen Black: application of negative feedback to amplifiers
1920 – Introduction of the term “feedback” (referred to positive FB)
1920-30 – Diffusion of Frequency Division Multiplexing for telephone calls.
1925-40 – Progressive introduction of the Network Syntesysapproach to filter design. Primary contributors was Wilhelm Cauer
Vacuum tube era
Filter operation
The role of a filter can be:
• Modify the magnitude of different frequency components. These filters are by far the most commonly used.
• Modify the phase of different frequency components (i.e. to compensate for an unwanted phase response of a filter of an amplifier)
P. Bruschi - Analog Filter Design 7
Real filters generally change both the phase and magnitude of a signal
Analog filters: General properties
P. Bruschi - Analog Filter Design 8
Common properties:
Linearity
Time Invariance
Stability (BIBO: Bounded Input -> Bounded Output)
Filters may be:
Lumped / Distributed
Active / Passive
Continuous-time / Discrete-Time
Lumped element networks
P. Bruschi - Analog Filter Design 9
Lumped element networks are made up of components, whose state
and/or behavior is completely defined by a discrete number of
quantities.
Lumped element networks are simplifications or real systems, which
are spatially distributed (i.e. the relevant quantities are given as function
of space variables, defined over a continuous domain).
Lumped Distributed
(e.g. transmission line)
Passive and Active Networks (Linear)
P. Bruschi - Analog Filter Design 10
Passive network:
Includes only passive components (resistors capacitors, inductors, transformers)
When connected to external independent sources, the net energy flux into
the network is always positive
Passive network Active network
Continuous and Discrete Time
P. Bruschi - Analog Filter Design 11
Continuous time: the signal at all time
values belonging to a continuous interval
are significant
Discrete time: the signal assumes significant
values only at time intervals that form a
countable (i.e. discrete) and ordered set.
The signal is then a sequence of values s(n)
A sequence can be considered as the result of sampling a continuous-time signal
This relationship is not univocal
Time and Value Discretization
P. Bruschi - Analog Filter Design 12
Discrete
magnitude
(digital)
Continuous
magnitude
(analog)
Discrete Time Continuous Time
Filter types according to the ideal magnitude response
P. Bruschi - Analog Filter Design 13
fc synonyms:
Corner frequency
Cut-off frequency
fCL Corner Freq – Low
fCH Corner Freq – High
Real filters: the approximation function
P. Bruschi - Analog Filter Design 14
The Low Pass filter is
the reference for other
types
Frequency are general
given as angular
frequencies (w)
A Transition Band (TB) is
introduced
Note: wp is generally different from wc (-3 dB frequency)
3 dB
wc
Approximation parameters for high-pass, band-pass, band-stop filters
P. Bruschi - Analog Filter Design 15
P. Bruschi - Analog Filter Design 16
The approximation problem for
time-continuous analog filters
Approximation Problem
P. Bruschi - Analog Filter Design 17
)0(
)()(
jH
jHjH N
N
www
The reference filter, HN(jw), is: Low Pass
Normalized
)()0()(N
N jHjHjHw
ww
:)( wjH NN
SSNS
N
PPNP
w
www
w
www
The first step is reducing the wide variability in filter characteristics by designing
a “reference filter” from which the actual filter can be derived through
“transformations”.
Gain normalization
Characteristic frequency normalization
wN and H(j0) depend on the actual filter
Approximation Problem
P. Bruschi - Analog Filter Design 18
1|)(|
1|)(|
2
2
ww
jHjK
N
2
2
|)(|1
1|)(|
ww
jKjH N
Ideal Case:
wSB in the 0
PB in the 1|)(|2
jH N
w
SB in the
PB in the 0|)(|2
jK
In order to classify the filters, it is convenient to define the function |k(jw)| as
follows:
1
0 0∞
Approximation Problem
P. Bruschi - Analog Filter Design 19
Real Case:
w
SB in the1
PB in the 1 |)(|
2
2
2a
jK
2
2)(1log10
)(
1log10
)0(
)(log20 w
w
w jK
jHjH
jHA
NN
N
P
21log10 aAP Worst case: 110 10
PA
a
Similarly: 21log10 SA 110 10
SA
Approximation Problem
P. Bruschi - Analog Filter Design 20
We need to find a function K(s) such that |K(jw)|2 satisfies the conditions:
ww
www
for1
for 1 |)(|
2
2
2
SN
PNajK
Clearly:
There are infinite solutions to this mathematical problem
Solutions should lead to a feasible HN(s)
Lumped element filter: HN(s) should be a rational functions:
)(
)()(
sD
sNsH Where N(s) and D(s) are polynomial
Notable cases
P. Bruschi - Analog Filter Design 21
Maximally Flat Magnitude Filters (e.g. Butterworth Filters)
Chebyshev Filters
Inverse Chebyshev Filters
Elliptical Filters
Bessel Filters
General selection criteria:
The lower the polynomial order, the better the solution
Monotonic behavior in the PB can be required
Asymptotic behavior for w>>wS could be important
Phase response: a linear response is often required
Maximally Flat Magnitude (MFM) Approximation
P. Bruschi - Analog Filter Design 22
nssK )(
nnjKjjK
222)()()( wwww
nN
jK
jH222
1
1
)(1
1)(
w
w
w
....16
5
8
3
2
11
664422wwww
nnn
N jH
All derivatives up to the (2n-1)th are zero for w=0.
Maximally Flat Magnitude (MFM) Approximation
P. Bruschi - Analog Filter Design 23
nN jH22
2
1
1)(
ww
Since HN(s) is the Fourier transform of a real signal
(the impulsive response): HN*(jw)=HN(-jw). Then:
2 2
1( ) ( )
1N N n
H j H jw w w
Maximally Flat Magnitude (MFM) Approximation
P. Bruschi - Analog Filter Design 24
2 2
1 1( ) ( )
( ) ( ) 1N N n
H s H sD s D s s
s j jsw w
Thus, HN(s) is an all-poles function:
The roots of D(s)D(-s) are the solutions of 1+2(-s2)n=0
)(
1)(
sDsH N
2 2
1( ) ( )
1N N n
H s H ss
Maximally Flat Magnitude (MFM) Approximation
P. Bruschi - Analog Filter Design 25
2
1
2
12
2
2 111
1
njnnn
ess
integer :2
12exp
11
kn
nkjs
n
k
Radius:
n
1
1
oddn for 2
of multipleseven
evenn for 2
of multiples odd
:angle
n
n
Maximally Flat Magnitude (MFM) Approximation
P. Bruschi - Analog Filter Design 26
n even n odd
sk
n
k k
N
sssH
1)(
1)(
Butterworth Filters
P. Bruschi - Analog Filter Design 27
The Butterworth filter is a MFM filter with =1
It can be shown that the case ≠1 is identical to
=1 but with simple frequency transformation
nN jH
21
1)(
ww
n
N
jH2
1
1)(
w
w
wNon normalized (actual) filter
)(sDn are the Butterworth polynomials
Butterworth Filters
P. Bruschi - Analog Filter Design 28
Logarithmic
Magnitude
nN jH
21
1)(
ww dBjH N 3
2
1)(
1w
w1wCN
CN ww
Filter Parameter Determination
P. Bruschi - Analog Filter Design 29
110 10 PA
aajKjK PNSN ww |)(||)(| 110 10 SA
njK ww |)(|
w
w
w
w
110
110
10
10
p
S
A
An
P
S
n
PN
SN
a
w
w
P
S
n
log2
log
nPN
n
PN aa
1
wwn
PCNPN
N
P a
1
wwwww
w
Butterworth filter : example
P. Bruschi - Analog Filter Design 30
fP=1 kHz
fS=2 kHz
AP=1 dB
AS=60 dB
509.0110 10 PA
a
1000110 10 SA
1965
a
P
S
P
S
f
f
w
w
063.12
1
ww
Pn
PC fa
1194.10
log2
log
w
w
P
S
n
61086.3
Chebyshev Filters
P. Bruschi - Analog Filter Design 31
ww nCjK )( Cn(w): n-th order Chebyshev polynomial
ww
www
1harccoscosh
1arccoscos
n
nCn
21 )(2 nnn CxxCxC
xxCxC 10 ;1 122
2 xxC
Chebyshev polynomials: properties
P. Bruschi - Analog Filter Design 32
ww
www
1harccoscosh
1arccoscos
n
nCn
For 0<w<1 oscillates between 0 and 1
For w=0 : 0 if n odd, 1 if n even
For w=1 : 1 for every n
For w>0 increase monotonically
2
wnC
wChebyshev polynomial have the highest leading term coefficient than any other
Polynomial constrained to be less than 1 (in modulus) for w between 0 and 1
6w
For w=1.2
1st
2nd
3rd
Chebyshev filters: Pass Band Attenuation
P. Bruschi - Analog Filter Design 33
ww nCjK )(
)(1
1)(
22w
w
n
N
CjH
1)(1
110
2w
w jH N
PN ww 1)()0(
)(
1
1
2
w
w
w
N
N jHjH
jH
110 10 PA
a
1dB3
5.0dB1e.g.
P
P
A
A
Chebyshev filters: Stop Band Attenuation
P. Bruschi - Analog Filter Design 34
www SNSNnSN nCjK arccoshcosh)(
w SNn arccoshcosh
110
110
10
10
2
2
P
S
A
A
w
)(arccosh
)(arccoshmin
SN
n
Inverse Chebyshev filters (or Chebyshev type II)
P. Bruschi - Analog Filter Design 35
Target: Obtain monotonic behavior in the pass-band (no ripple) and ripple
In the stop-band
w
w1
1)(
nC
jK
)1
(
11
1)(
22
w
w
n
N
C
jH
2
11
1)1(
jH N
Elliptic (or Cauer) Filters
P. Bruschi - Analog Filter Design 36
ww nRjK )(
Rn : “elliptical” rational function : NR(w) / DR(w)
ww
221
1)(
n
N
RjH
1||for 1)( such that
oddn for
evenn for
2/1
122
22
2/
122
22
ww
www
ww
www
ww
ww
w
n
szkpk
n
k zk
pk
n
k zk
pk
n
RM
M
M
R
Phase, delay, group delay
P. Bruschi - Analog Filter Design 37
In order to maintain the shape of a generic signal, the following conditions
must be respected:
All the significant frequency components of the signal fall into the filter
pass-band, which should be as flat as possible:
The filter phase response in the pass-band should be of the type:
Rtw
If this condition is fulfilled, the input signal is simply delayed by time tR.
In other words, the group delay should be constant. The group delay
is defined as:
w
d
dG
Bessel Filters
P. Bruschi - Analog Filter Design 38
Constant group delay is very important in systems that has to handle digital
transmissions, where signal distortion may result in high BER (Bit Error Rate),
or even in unrecoverable signal.
The Bessel filter is obtained by considering an all-pole function:
sD
KsH N
We start from a generic polynomial D(s), substitute s=jw and than calculate
the phase of HN by:
w
w
jD
jD
Re
Imarctan
Bessel Filters
P. Bruschi - Analog Filter Design 39
The Bessel Filters are derived by:
Taylor’s expansion of the arctan() functionis calculated obtaining a
polynomial approximation of the phase;
The first derivative of the phase approximation is calculated
The constant term of the derivative is set to 1 (group delay=1)
Higher order terms are set to zero; this corresponds to setting the
derivatives of the group delay to zero. The number of derivatives that can be
nulled depends on the filter order.
The result is a maximally flat group delay
Can be used to purposely introduce a delay
Bessel filters, examples
P. Bruschi - Analog Filter Design 40
2
2
1
23
2
12
........
15;15156)(:3
3;33)(:2
1;1)(:1
nnn DsDnD
KssssD
KsssD
KssD
Denominators of various order for unity group delay
The Bessel filter is less selective than a Butterworth filter of same
order, but its phase response is much more linear
(Bessel polynomials, recursive expression)
)2ln(123 w ndB
Approximate
expression for n ≥ 3
N
D
N w
w
ww
1(pass-band group delay after frequency scaling)
Summary of filter characteristics
P. Bruschi - Analog Filter Design 41
Butterworth: maximally flat in the pass-band and monotonic
everywhere
Chebyshev: More selective than Butterworth (sharper transition),
but ripple in the pass-band (monotonic in the stop-band)
Inverse Chebyshev: Same selectivity than Chebyshev, but ripple in
the stop-band (flat in the pass-band). Magnitude do not
decrease asymptotically in the stop-band
Elliptic: Best selectivity, but ripple in both the pass-band and stop-
band. Magnitude do not decrease asymptotically in the
stop-band
Bessel: The least selective of all other filters, but the best in terms
of phase linearity (constant group-delay in the pass-band)
Other continuous time filters
P. Bruschi - Analog Filter Design 42
Optimum L-filter (Papoulis)
Obtains the best selectivity with a monotonic response. Compared with a
Butterworth of the same order filter it is sharper in the transition band, but
less flat (but still monotonic) in the pass-band.
All pass filters (phase equalizers). Their common characteristic is that for
each pole they have a zero with opposite real part. As a result, they have
RHP (right half plane) zeros and their step response is generally preceded
by a glitch in the opposite direction with respect to the final value.
For step-like signals, low-pass phase equalizers (e.g. Bessel filters) are to
be preferred.
Filters based on Padè approximations: The Padè approximation is the
best n-order rational function that approximate an arbitrary function. It is
used for the approximation of the ideal delay: exp(-jwtD). The all-pass
functions are a particular case of Padè approximation.
Frequency transformations
P. Bruschi - Analog Filter Design 43
The aim of frequency transformations are:
Change the characteristic frequencies with respect to the normalized case
Change the low pass response into an high pass, band-pass etc.
N
n
ss
w
w
w
w
s
s
Bsn
0
0
0
ss N
n
w
1
0
0
0
w
w
w
s
s
Bsn
All characteristic frequencies are multiplied by wN
High pass Band-Pass Band Stop
Pass Band transformation: meaning of B, w0
P. Bruschi - Analog Filter Design 44
w
w
w
ww
w
w
w
www 0
0
00
0
0
Bj
j
j
Bj n
w
w
w
www 0
0
0
Bn
BB
w
w
w
w
w
www 2
1
11
0
0
0
0
w
w
w
s
s
Bsn
0
0
0
10
w
wfor small variations around w0, such that:
P. Bruschi - Analog Filter Design 45
2211
2211
2
0
01
2
0
02
BBBBnn
wwwww
wwwww
Pass Band transformation: meaning of B, w0
Bww 12
0
2
0
012
21
2w
ww
ww B
0:for wB
P. Bruschi - Analog Filter Design 46
Pass Band transformation: meaning of B, w0
When w=w0, wn =0. Then, the response of the
pass-band filter at w0 is the D.C. value (wn=0)
of the prototype low pass filter.
For w variations from w0, wn moves away from
the origin. When w<w0, wn is negative, so that
H(w) is the complex conjugate of the values
at w>w0 (see the phase diagram in the figure)
The bandwidth B is the difference between
the frequencies w1 and w2, for which the
absolute value of the normalized frequency is
unity.
If the bandwidth B is much smaller than
frequency w0 (selective filter), than w1 and w2
are symmetrical with respect to w0. 0