Documente Academic
Documente Profesional
Documente Cultură
Continuous-Time Filters
Parameters
Passband: Range of frequencies for which attenuation is zero
Stopband: Range of frequencies for which attenuation is
infinity
Cut-off Frrequency: Frequency which separates the stopband
and passband
Classification
Low-pass Filter
High pass Filter
Band Pass Filter
Band Reject Filter
All Pass Filter
Analog Vs Digital Filters
Implementation
Analog Filters: Analog components –Resistors,
Inductors & Capacitors
Digital Filters: Described by difference equations
and implemented with S/W like C or Assembly
language, MATLAB
Classification of Digital Filters
Infinite Impulse Response Filters
Finite Impulse Response Filters
Advantages of Digital Filters
Many I/P signals can be filtered by one digital filter
without replacing the h/w.
Linear Phase response in FIRs
Environment( temperature, humidity) doesn’t vary
performance
Filtering is using computers so filtered and unfiltered
data can be saved for future use.
Portable
Highly Flexible
VLSI technology can reduce H/W and power
consumption
Use at very low frequencies as in Biomedical applications
Maintenance not required frequently as in analog filters
Digital Filters: Advantages and Disadvantages
Disadvantages
Speed Limitation:
Use of ADC and DAC reduces speed of filter, depending
on conversion time of ADC and settling time of DAC
Speed of Digital Processor controls digital filtering
operation
Finite Word length : Accuracy of digital filtering depends
on
Word length for binary encoding
ADC noise, due to quantization of continuous signals
Round off noise during computation
Design and development time for digital H/W is more
Ideal Low Pass Filter
Ideal Discrete LPF are not realizable as:
They have constant gain in passband and zero gain in stopband
They have Linear Phase Response
H 1, c
H 0, c
1
h k e and h n
H jk
H e
j n
d
k 2
Sincn
h n ,n 0
n Ideal filter characteristics are non-causal
c hence unrealizable.
h n ,n 0
Filter Specifications- Realizable Digital LPF
Specifications
Passband
1 1 H 1 2 0 p
Stopband
2 H 1 1 p s
H 2 s
Parameters
Peak deviation in passband
1
2Peak deviation in stopband
1 j / j c
2N
1
Hc s
2
1 s / j c
2N
sn 1 j c
1/ 2 N
j c e j 2 n 1 / 2 N
for n 0,1,..., N - 1
N poles on a circle of radius
c Cutoff frequency
Chebyshev Filters
Equiripple in the passband and monotonic in the stopband
Or equiripple in the stopband and monotonic in the passband
Hc j
2
1
1 V / c
2 2
VN x cos N cos 1 x
N
VN(x)=N order chebyshev polynomial.
IIR Digital Filter design
n
Laplace of sampled h(t) is
H s H s h nTs e snTs
*
n 0
Z Transform of h(n) is n
H z sTs
h
n0
n z n
; z e
h n h nT Ak e u n
N N
u n Ak e ak T n
ak nT
k 1 k 1
System function
N
Ak
H z ak T 1
k 1 1 e z
ak T
Pole s=ak in s-domain transform into pole at
ze
Examples
2
H a s
Solution
s 1 s 2 0.29 z
H z 2
z 1.488 z 0.54
1 Solution
H a s
s 1 s 2
0.2326 z 1
H z
1 0.5032 z 1 0.0498 z 2
Examples
H a s
s 2
s 1 s 3
Solution
1 1
H z 1 / 2[ T 1
3T 1
]
1 e z 1 e z
Disadvantages Impulse Invariance Method
Bilinear transformation
2 1 z 1
s
1
Transformed system function
T 1 z
2 1 z 1
H z Hc
1
Again T cancels out so we can ignore it T 1 z
We can solve the transformation for z as
j 1 T / 2 s 1 T / 2 jT / 2
Which yields ,comparing real andimaginary parts
z re s j
1 T / 2 s 1 T / 2 jT / 2
2 r 2 1 2 T
tan or 2 tan 1 d
1 r 2r cos
2
Td Td 2 2
z plane to s plane Mapping
2 r 2 1 2 T
tan or 2 tan 1 d
1 r 2r cos
2
Td Td 2 2
r / 4
Analog filter System Function is
s 0 .1
H a s
s 0.1 2 9
Solution
1 0.027 z 1 0.973z 2
H z
8.572 11 .84 z 1 8.177 z 2
Digital Frequency Transformation
In original z plane and in new Z plane is frequency variable
Unit circle in one plane has to map into unit circle in other plane
Inside of unit circle in z plane must map into inside of unit circle in Z
plane.
LPF to LPF
Z a1 sin 2
z 1 G ( Z 1 ) a
1 aZ 1 sin 2
LPF to HPF
z 1 1
G(Z )
Z 1 a a
cos 2
1 aZ 1 cos 2