DSP Handouts
DSP Handouts
DSP Handouts
Handout
Basic Elements of a Signal Processing System
Elementary Signals:
Classification of DT Signals
N
1
P lim
2
x ( n)
N 2 N 1
n N
Neither EN → ∞ P→∞
Any signal x[n] can be broken into a sum of an even part % odd part like this
Discrete-Time Systems:
Classification of Systems:
y[n] x[m]h[n m]
m
Exponential DFS
N 1
1
x ( n)
N
X ( k )e
k 0
j 2 nk / N
Where
N 1
X (k ) x(n)e j 2 nk / N
n 0
Discrete Fourier Transform
N-point DFT can be defined as
N 1
X (k ) x(n)e j 2 nk / N
n 0
Properties of DFT:
Additions: N(N-1)
Multiplications: N2
Additions: N log 2 N
N
Multiplications: log 2 N
2
8-point DIT FFT diagram:
1. Butterworth Filters
2. Chebyshev Filters
a. Chebyshev Type – I
b. Chebyshev Type – II
1. Direct Method
2. Indirect Method
o Digital specifications → Analog specifications → design analog filter H(s) →
Transform analog filter into digital.
1. Impulse Invariant
T
N N
Ci Ci
s p
i 1
i 1 1 e
PT
i
z 1
i
2. Bilinear transformation
2
tan
T 2
2 1 z 1
s
T 1 z 1
Step 1: Choose the type of transformation i.e., impulse invariant or bilinear transformation
Step 2: Convert digital frequencies into analog and calculate the ratio of edge frequencies.
For Bilinear:
2 2 p
s tan s and p tan
T 2 T 2
s p
s and p
T T
p
c 1
1 2N
A2 1
1
For EVEN N:
N /2
c2
H (s) 2
k 1 s bk c s c
2
For ODD N:
N 1
c 2
c2
H ( s)
s c
k 1 s 2 bk c s c2
Where
2k 1
bk 2sin
2N
Step 6: Using the chosen transformation, transform analog transfer function H(s) into
digital i.e., H(z)
Step 1: Choose the type of transformation i.e., impulse invariant or bilinear transformation
Step 2: Convert digital frequencies into analog and calculate the ratio of edge frequencies.
For Bilinear:
2 2 p
s tan s and p tan
T 2 T 2
1 1
1
2
cosh 1 2 1
A2
N
cosh 1 s
p
p
c 1
1 2N
A2 1
1
For EVEN N:
N /2
Bk c2
H (s)
k 1 s 2 bk c s Ck c2
For ODD N:
N 1
B0c 2
Bk c2
H ( s)
s C0c
k 1 s 2 bk c s Ck c2
2k 1
Where bk 2 yN sin
2N
2k 1
Ck yN2 cos 2 and C0 yN
2N
1 1
N
1 1 2 1 1 2 1
1 N 1
y N 2 1 2 1
2
Step 7: Using the chosen transformation, transform analog transfer function H(s) into
digital i.e., H(z)
FIR Filters
Group Delay g :
d
g ( )
d
Phase delay p :
( )
p
Window Functions
H e e d
1
hd (n) i i n
2 d
Step 3: Obtain the finite duration impulse response by multiplying with window function
h(n) hd (n).w(n)