22ec305 DSP Unit 4 Digital Notes
22ec305 DSP Unit 4 Digital Notes
2
Please read this disclaimer before proceeding:
This document is confidential and intended solely for the educational purpose of
RMK Group of Educational Institutions. If you have received this document
through email in error, please notify the system manager. This document
contains proprietary information and is intended only to the respective group /
learning community as intended. If you are not the addressee you should not
disseminate, distribute or copy through e-mail. Please notify the sender
immediately by e-mail if you have received this document by mistake and delete
this document from your system. If you are not the intended recipient you are
notified that disclosing, copying, distributing or taking any action in reliance on
the contents of this information is strictly prohibited.
3
R.M.K. ENGINEERING COLLEGE
Date : 21.08.2024
4
Table of Contents
S.No Contents Page
Number
1 Course Objectives 7
2 Pre Requisites 8
3 Syllabus 9
4 Course outcomes 10
13
6.1 Lecture Plan
14
6.2 Activity based learning
18
6.3 Lecture Notes
➢ Linear Phase characteristics of FIR filter 19
method
method
81
6.4 Assignments
85
6.5 Part A Q & A
88
6.6 Part B Qs
5
S.No Contents Page
Number
90
6.7 Supportive online Certification
courses
91
6.8 Real time Applications in day to day
life and to Industry
92
6.9 Contents beyond the Syllabus
7 Assessment Schedule 93
6
1. COURSE OBJECTIVES
OBJECTIVES:
▪ To Examine the LTI systems using Z Transform.
▪ To describe the characteristics of IIR filters and design IIR filters for given
specifications.
▪ To familiarize different design methods available for FIR filters and its realization
structures.
7
2. PRE-REQUISITES
By learning this course, the Student will gain knowledge about Laplace Transform
and Z-Transforms in solving differential and difference equations in this course.
8
3. SYLLABUS
Discrete Fourier transform (DFT) and its properties - periodicity, symmetry and
circular convolution. FFT Algorithm- Radix -2 DIT FFT, Radix-2 DIF FFT- overlap
save and overlap add method.
Analog filters - Butterworth filters, Chebyshev Type I filters (Up to 2nd order)
Transformation of analog filters into equivalent digital filters using Bilinear Z
Transform method - Realization Structures for IIR filters- direct, cascade and
parallel forms.
Design of linear phase FIR filters using Fourier series and windowing method -
Rectangular, Hamming and Hanning window- Realization structures for FIR filters
– Transversal and linear phase structures – Comparison of FIR and IIR Filters.
TOTAL : 45 PERIODS
9
4. COURSE OUTCOMES
10
5. CO- PO/PSO Mapping
Program
Program Outcomes Specific
Course Leve
Outcomes
Outcom l of K3,
es CO K3 K4 K4 K5 K5, A3 A2 A3 A3 A3 A3 A2 K5 K5 K3
K6
PO- PO- PO- PO- PO- PO- PO- PO- PSO- PSO- PSO-
PO-1 PO-2 PO-3 PO-12
4 5 6 7 8 9 10 11 1 2 3
C305.1 K3 3 3 2 2 2 1 - - - - 1 1 - 2 3
C305.2 K3 3 3 2 2 2 1 - - - - 1 1 - 2 3
C305.3 K3 3 3 2 2 2 1 - - - - 1 1 - 2 3
C305.4 K3 3 3 2 2 2 1 - - - - 1 1 - 2 3
C305.5 K3 2 3 3 2 2 1 - - - - 1 1 - 1 2
C305.6 K2 2 3 3 2 2 1 - - - - 1 1 - 1 2
C305 3 3 2 2 2 1 - - - - 1 1 - 2 3
11
UNIT IV FINITE IMPULSE RESPONSE FILTERS
12
6.1 LECTURE PLAN
UNIT IV – FINITE IMPULSE RESPONSE FILTER
Mode of Delivery
Taxonomy level
Proposed Date
No. of Periods
Pertaining CO
Actual Date
Reason for
Deviation
S.No
Topic
13
6.2 ACTIVITY BASED LEARNING
1.Using Hamming window method, design a lowpass FIR digital filter that satisfy the
following specifications :
◦ Cutoff frequency (fc) = 3.4 KHz
◦ Sampling rate (Fs) = 12 KHz
◦ Transition band = 800 Hz
◦ Passband ripple ≤ 0.1 dB
◦ Stopband attenuation ≥ 50 dB
Generate the impulse response and the frequency response of the filter using matlab code
14
2. write a MATLAB script that implements the window method for digital FIR filter
design to compute the filter coefficients that would satisfy the following
specifications:
◦ Stopband attenuation ≥ 40 dB
Your script must also generate the impulse response and the frequency response
plots.
15
PUZZLES
Puzzle 1:
❑ It is a stable filter.
Puzzle 2:
Puzzle 3:
❑ It is a canonical structure
PUZZLE 4:
16
PUZZLES ANSWERS
Puzzle 1:
Puzzle 2:
Puzzle 3:
PUZZLE 4:
17
6.3 Lecture Notes
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
IDEAL PHASE FREQUENCY RESPONSE
S.NO Type of Filter
BANDPASS FILTER
3.
BANDPASS FILTER
3.
BAND STOP
4. FILTER
41
LINEAR PHASE FREQUENCY RESPONSE
BANDPASS FILTER
3.
LOW PASS
1. FILTER
HIGH PASS
2. FILTER
BANDPASS
FILTER
3.
BAND STOP
4. FILTER
42
Windows for Linear Phase FIR filter
1 Rectangular
2 Hamming
3 Hanning
1 Rectangular
2 Hamming
3 Hanning
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
LINK TO VIDEOS:
a) 0 CO3 K3
b) 1
c) -1
d) None of the mentioned
81
CO BT
Q.No Questions
Level Level
5. Which of the following is not suitable either as low pass or a
high pass filter?
a) Low pass
b) High pass CO3 K3
c) Band pass
d) Bans stop
a) HI(ω)-j HR(ω)
b) HR(ω)-j HI(ω) CO3 K3
c) HR(ω)+j HI(ω)
d) HI(ω)+j HR(ω)
a) πδ(ω)-0.5-j0.5cot(ω/2)
b) πδ(ω)-0.5+j0.5cot(ω/2)
c) πδ(ω)+0.5+j0.5cot(ω/2) CO3 K3
d) πδ(ω)+0.5-j0.5cot(ω/2)
82
CO BT
Q.No Questions
Level Level
9. The frequency ωP is called as ______________
a) ωP+ ωS
CO3 K3
b) -ωP+ ωS
c) ωP-ωS
d) None of the mentioned
CO3 K3
a) zM+1.H(z-1)=±H(z)
b) z-(M+1).H(z-1)=±H(z)
c) z(M-1).H(z-1)=±H(z)
d) z-(M-1).H(z-1)=±H(z)
12. What is the peak side lobe (in dB) for a rectangular window?
a) -13
b) -27 CO3 K3
c) -32
d) -58
13 What is the peak side lobe (in dB) for a Hanning window?
a) -13
b) -27
c) -32 CO3 K3
d) -58
83
CO BT
Q.No Questions
Level Level
14. Design an digital FIR filter approximating the ideal frequency
respone :
H(e(jw )) = 1.e(-jωα) for -π/3 ≤ ω ≤ π/3
0 otherwise CO3 K3
Find the values of h(n) for N=9. Also find H(z)
CO3 K3
a) Hamming window
b) Hanning window
c) Kaiser window
d) Blackman window
17 Design an digital FIR filter approximating the ideal frequency
respone :
H(e(jw )) = 1.e(-j5ω) for -π/5 ≤ ω ≤ π/5
0 otherwise CO3 K3
Find the values of h(n) using HANNING window. Also find
H(z)
CO3 K3
84
6.5 Part A Q & A (with K level and CO)
CO3 K1
2.
CO3 K2
3.
CO3 K1
85
5. What are the desirable characteristics of windows?
The desirable characteristics of windows are
They are finite duration sequences used to modify
the impulse response of the FIR filters in order to CO3 K1
reduce the ripples in pass band and stop band. It
also achieves the desired transition from pass band
to stop band.
6. What is the reason that FIR filter is always stable?
The FIR filter is always stable as it is realized non-
recursively (i.e) it does not depend on past output CO3
K2
sequences.
8.
CO3 K1
86
9.
CO3 K1
10.
CO3 K1
11.
CO3 K1
12.
CO3 K1
13.
CO3 K1
14.
CO3 K2
87
6.6 Part B Qs (with K level and CO)
PART – B UNIT-IV
1.
CO3 K3
2.
CO3 K3
3.
Design a band pass filter which approximates the ideal filter
with cut-off frequencies at 0.2 rad/sec and 0.3 rad/sec. The
CO3 K3
filter order is M = 7. Use the Hamming window function.
4.
CO3 K3
5.
Design a FIR Band pass filter to attenuate the signal from
1.2 rad/sec to 1.8 rad/sec with N=11 using Fourier Series CO3 K3
method.
6.
CO3 K3
7.
CO3 K3
8.
CO3 K3
88
9.
CO3 K3
10.
K3
CO3
89
6.7 Supportive online Certification courses (NPTEL,
Swayam, Coursera, Udemy, etc.,)
https://swayam.gov.in/nd1_noc19_ee50/
https://www.coursera.org/learn/dsp1
INSTRUCTOR
Paolo Prandoni
https://online.stanford.edu/courses/ee264-digital-signal-processing
EE264
90
6.8 Real time Applications in day to day life and to
Industry
1. https://www.analog.com/media/en/technical-documentation/dsp-
book/dsp_book_Ch9.pdf
APPLICATIONS OF DSP
91
6.9 Contents beyond the Syllabus ( COE related Value
added courses)
1. https://ieeexplore.ieee.org/document/1180138
Application of FIR digital filtering techniques based on programmable
DSP-digital signal processor in a homing weapon
2. https://www.fpga4student.com/2017/01/a-low-pass-fir-filter-in-vhdl.html
A low pass FIR filter for ECG Denoising in VHDL
92
7. Assessment Schedule
93
8. Prescribed Text Books & Reference Books
TEXT BOOK:
REFERENCES:
94
9. Mini Project suggestions
95
Thank you
Disclaimer:
This document is confidential and intended solely for the educational purpose of RMK Group of
Educational Institutions. If you have received this document through email in error, please notify the
system manager. This document contains proprietary information and is intended only to the
respective group / learning community as intended. If you are not the addressee you should not
disseminate, distribute or copy through e-mail. Please notify the sender immediately by e-mail if you
have received this document by mistake and delete this document from your system. If you are not
the intended recipient you are notified that disclosing, copying, distributing or taking any action in
reliance on the contents of this information is strictly prohibited.
96