0% found this document useful (0 votes)
18 views

mid3

Uploaded by

drakekimy.560
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

mid3

Uploaded by

drakekimy.560
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Digital Signal Processing Dr. Yasmine M.

Tabra
College of Information Engineering Fourth year
Information and Communication Department 2021-2022

MID TERM 3 EXAM

Q1:

A low pass filter with cutoff frequency of 𝑤𝑐 rad/sec is given by


𝑤𝑐
𝐻𝐿 (𝑠) =
𝑠 + 𝑤𝑐

Use the given 𝐻𝐿 (𝑠) and the bilinear transformation to design a corresponding digital IIR low
pass filter with cutoff frequency 20 Hz and sampling rate 60 Hz.

Q2:

Consider the following specification for low pass filter

0.99 ≤ |𝐻(𝑒 𝑗𝑤 )| ≤ 1.01 0 ≤ |𝑤| ≤ 0.3𝜋

|𝐻(𝑒 𝑗𝑤 )| ≤ 0.01 0.35π ≤ |w| ≤ π

Design a linear phase FIR filter to meet these specifications using window design method.
Digital Signal Processing Dr. Yasmine M. Tabra
College of Information Engineering Fourth year
Information and Communication Department 2021-2022

Solution:

Q1:

The digital frequency

𝑤𝑑 = 2𝜋𝑓 = 2𝜋(20) = 40𝜋 𝑟𝑎𝑑/𝑠𝑒𝑐


1 1
Sampling time 𝑇 = 𝑓 = 60 𝑠𝑒𝑐
𝑠

Calculate angular frequency


2 𝑤𝑑 𝑇 40𝜋/60
𝑤𝑐 = 𝑇 𝑡𝑎𝑛 2
= 120 𝑡𝑎𝑛 ( 2
) = 120 tan(𝜋/3) = 120 tan(60) = 207.8 rad/sec

Substitute 𝑤𝑐 in 𝐻𝑝 (𝑠)
207.8
𝐻𝑝 (𝑠) =
𝑠 + 207.8
Next, apply the bilinear transformation

2 1 − 𝑧 −1 1 − 𝑧 −1
𝑠= ( ) = 120 ( )
𝑇 1 + 𝑧 −1 1 + 𝑧 −1
207.8
207.8 120 1.73 1 + 𝑧 −1
𝐻𝑝 (𝑧) = = = .
1 − 𝑧 −1 1 − 𝑧 −1 207.8 1 − 𝑧 −1 1 + 𝑧 −1
120 ( −1 ) + 207.8 −1 + −1 + 1.73
1+𝑧 1+𝑧 120 1+𝑧
1.73 + 1.73𝑧 −1 1.73 + 1.73𝑧 −1 1.73 + 1.73𝑧 −1
= = =
1 − 𝑧 −1 + 1.73 + 1.73𝑧 −1 2.73 + 0.73𝑧 −1 2.73(1 + 0.267𝑧 −1 )
0.366(1.73 + 1.73𝑧 −1 ) 0.633 + 0.633𝑧 −1
𝐻𝑝 (𝑧) = =
(1 + 0.267𝑧 −1 ) (1 + 0.267𝑧 −1 )

Q2:

𝐴 = −20 log 𝛿𝑠 = −40 𝑑𝐵 use hanning window

∆𝑤 = 0.05𝜋, ∆𝑓 = 0.025
8𝜋 3.1
𝑁= = 160, 𝑜𝑟 𝑁 = = 124
0.05𝜋 0.025
1 2𝜋𝑛
𝑤(𝑛) = [1 − cos ( )]
2 160
0.3𝜋 + 0.35𝜋
𝑤𝑐 = = 0.325𝜋
2
1 𝜋(𝑛 − 80) sin(0.325𝜋(𝑛 − 80))
ℎ𝑑 (𝑛) = 𝑤(𝑛) = [1 − cos ( )] .
2 80 𝜋(𝑛 − 80)
Digital Signal Processing Dr. Yasmine M. Tabra
College of Information Engineering Fourth year
Information and Communication Department 2021-2022

0.325𝜋
ℎ𝑑 (80) = = 0.325
𝜋

You might also like