Prepared by
V.Thamizharasan
Assistant professor
Department of ECE
Erode Sengunthar Engineering College
IIR Filter:
Recursive type present output sample
depends on the present input & past input
and output sample.
FIR Filter:
Non Recursive type present output sample
depends on the present input & previous
input sample.
Impulse response: Realizable when
h(n)=0 for n≤0
Stability:
Filter rejects unwanted frequency from the input signal & allow
the desired frequencies to obtain the required shape of the output
signal.
Map the desired digital filter specification
into those for an equivalent analog filter.
Derive analog transfer function for the
analog proto type
Transform the analog transfer function into
digital transfer function.
S. No. Analog filter Digital filter
1 Processes analog inputs and
produce analog outputs
Processes and generate digital
data/signal.
2. Constructed by active/passive
electronic components
It consist of elements like adder,
multiplier and delay unit
3. It described by differential
equation
It described by difference
equation.
4. Frequency response can be
modified by changing the
components
Frequency response can be
modified by changing the filter
co-efficient
Advantages:
Not influenced by component ageing, temperature &
power supply variations
Highly immune to noise.
Varity of shapes for the amplitude and phase
response.
Does not occur impedance matching prblem.
Operate wide range of frequency
Altered the co-efficient at any time ,obtain the
desired response.
Multiple filtering is also possible in digital filtering.
Disadvantages:
Quantization errors occur.
Magnitude function of Butterworth filter is
N-order of the filter,
Ω
c-cut off frequency.
Magnitude square function of normalized butterworth filter
Ω
c
= 1 rad/sec.
Substitude s=jΩ
Substitute s=jΩ
Find the poles location by put denominator =0
1+(-S
2
)
N
=0
If N=odd if N=even
(-S
2
)
N
=-S
2N
(-S
2
)
N
=S
2N
Therefore
1-S
2N
=0 1+S
2N
=0
S
2N
=1 S
2N
=-1
S
2N
=e
j2π
S
2N
=e
-j2π
S=e
j2π/2N
S=e
-j2π/2N
S
k
=e
jπk/N
S
k
=e
jπ(2k-1)/N
If N=3
S
k
=e
jπk/N
for k=1,2,………2N
S
1
= e
jπ/3
=0.5+j0.86
S
2
= e
j2π/3
=-0.5+j0.86
S
3
= e
jπ
=1
S
4
= e
j4π/3
=-0.5-j0.86
S
5
= e
j5π/3
=0.5-j0.86
S
6
= e
j2π
=-1
1-1
-0.5+j0.86
0.5+j0.86
-0.5-j0.86 0.5-j0.86
Consider N=4
Dr=(s-s
1
)(s-s
2
) (s-s
3
) (s-s
4
)…..
Dr=(s+0.3826-j0.9238).(s+0.9238-j0.3826).
(s+0.9238-j0.3826) (s+0.3826+j0.9238)
Where
Stability :
considering only the poles that lie in the left half of the s-plane.
Dr=(s-s
1
)(s-s
2
) (s-s
3
) (s-s
4
)…..
Dr=(s+1)(s+0.5-j0.86)(s+0.5+j0.86)=(S+1)( S
2
+S+1)
Order (N) Denominator of H(S)
1 (S+1)
2 (S
2
+√2 S+1)
3 (S+1)( S
2
+S+1)
4 (S
2
+0.765 S+1) (S
2
+1.847S+1)
5 (S+1)( S
2
+0.618 S+1) (S
2
+1.618S+1)
6 ( S
2
+1.93185S+1) (S
2
+√2S+1) (S
2
+0.518S+1)
7 (S+1)( S
2
+1.809S+1) (S
2
+1.247S+1) (S
2
+0.44S+1)
Magnitude function can be return as
Taking logarithm on both side
Taking antilog on both side
Take logarithm for above equation and then find N.
Where
Where
Contains both poles & zeros
Exhibits a monotonic behavior in the pass
band
Equiripple behavior in the stop band.
Magnitude square response of N
th
order type-I filter is
εparameter related to ripple in pass band
C
N
(x)=cos(N cos
-1
x), |x|≤1 pass band.
C
N
(x)=cosh(N cosh
-1
x), |x|≤1 stop band.
Chebyshev polynomial is
C
N
(x)=2xC
N-1
(x)- C
N-2
(x),N>1
Where C
0
(x)=1 & C
1
(x)=x
N=odd N=even
C
N
(x) - C
N
(-x) C
N
(-x)
C
N
(0) 0 (-1)
N/2
C
N
(1) 1 1
C
N
(-1) -1 1
1.
2. C
N
(x) Oscillates with equal ripple between ±1 for |x|≤1
3.For all N 0≤| C
N
(x)|≤1 for 0≤|x|≤1
| C
N
(x)|>1 for |x|≥1
4. C
N
(x)is monotonically increasing for |x|>1 for all N.
Taking logarithm on both side
Taking antilog on both side
Substitute ε value
Equate Denominator is to zero & substitute s=jΩ
Equating real and imaginary part
Since cosh(Nϴ)>0 for ϴ real, then satisfying above equation only
Φ=(2k-1)π/2N for k=1,2,…………N
Find ϴ from above equation
For simplification
We know that
Where
Similarly
for k=1,2,….N
s.
No.
Parameter Butterworth Filter Chebyshev Filter
1 Magnitude
Response
Decrease monotonically
as frequency Ω increases
from 0 to ∞
It exhibits ripple in the
pass band or stop band
according to the type
2 Transmission
band
More Less
3. Poles •Lies on the circle
•No. of poles are more
•Lies on the ellipse
•No. of poles are less
4 Order Order of the filter is
more
Order of the filter is less
s.
No.
Transformati
on (or)
conversion
Equation
1LPF to LPF S S / Ω
C
2LPF to HPF S Ω
C
/S
3.LPF to BPF
4LPF to BSF
Methods:
1.Approximation of derivatives.
2.Bilinear Transformation
3.Impulse invariant transformation
4.Matched z-transformation
Converting analog filter into digital filter
Steps:
1.The jΩ axis in the s-plane should map into the unit circle in the z-plane.
Thus there will be direct relationship between the two frequency
variables in the two domains.
1.The left half of the s-plane should map into the inside of the unit circle
in the z-plane.
Thus a stable analog filter will be converted to stable digital
filter.
The z-transform of an infinite impulse response is
Mapping points from the s-plane to the z-plane
Substitute S=σ+jΩ
Express the complex variable Z in polar from as
Which gives
magnitude
Im(z)
Re(z)
Z-plane
S-
plane
j
Ω
σ
1.Any pole on jΩ axis
σ=0 then
2. σ<0
Im(z)
Re(z)
Z-plane
S-plane
jΩ
σ
3. σ>0
Infinite no.of s plane poles map to the
same location in the z-plane.
They must have same real parts and
imaginary parts. differs by some integer
multiple of 2π/T.
Cause aliasing when sampling of analog
signal.
They analog poles will not be aliased by the
impulse invariant mapping if they are
confined to the s-plane “primary strip”(with
in π/T of the real axis)
P
k
poles
C
k
co-efficient
The inverse Laplace transform H
a
(s) is
We know
Due to the presence of aliasing ,the impulse invariant
method is appropriate for the design of low pass &
bandpass filter.
It is not suitable for HIGH pass filter.
It is conformal mapping
Transforms the s-plane jΩ axis poles into the
unit circle in the z-plane
Mapping is only once
Avoid aliasing of frequency components.
All s-plane LHP poles are mapped into inside
of the unit circle in the z-plane
All s-plane RHP poles are mapped into
outside of unit circle in the z-plane
Warping effect
Low frequency w & Ω have linear relation ship
High frequency w & Ω does not have linear relation ship