Tutorial_DSP
Tutorial_DSP
Design a digital IIR Butterworth low-pass filter that satisfies the following specifications:
• Passband ripple ≤ 1 dB
• Stopband attenuation ≥ 40 dB
Use the bilinear transformation method. Determine the filter order and provide the transfer
function coefficients.
Q2
Design a digital IIR Butterworth high-pass filter using the impulse invariance method for the
following specifications:
Q3
An ECG signal is sampled at 1 kHz. To remove high-frequency noise from the signal, design a
Butterworth low-pass filter that passes frequencies below 100 Hz and attenuates frequencies
above 250 Hz by at least 40 dB.
• Plot the frequency response and comment on its suitability for ECG signal cleaning.
• What challenges might arise if the order is too high or too low?
Q4
In an audio signal processing application, we need to design a high-pass filter to remove low-
frequency hum (below 60 Hz) from a recorded voice signal. The signal is sampled at 16 kHz.
• Simulate the step response and interpret its behavior in the context of audio clarity and
phase distortion.
Q5
An IoT-based environmental sensor system samples data at 2 kHz and needs to filter out both
high-frequency noise above 500 Hz and low-frequency drift below 5 Hz.
• Design a band-pass filter using a cascade of Butterworth high-pass and low-pass IIR
filters to meet the requirement.
• Show the design steps, including individual HPF and LPF specifications, order calculation,
and coefficient extraction.
• Discuss how power consumption and computation overhead might impact filter choice
on a resource-constrained embedded platform.
Q6
Design a digital IIR Butterworth low-pass filter using impulse invariant transformation for the
following specifications:
Determine the digital transfer function H(z). Provide the pole locations and comment on the
stability of the filter.
Q7
Design a 2nd-order Butterworth high-pass filter using impulse invariance. The analog cutoff
frequency is 500 rad/s, and the sampling frequency is 4000 Hz.
• Derive the digital transfer function.
• Plot the pole-zero diagram and discuss the characteristics of the resulting digital filter.
Q8
An ECG signal acquired from a portable medical device is sampled at 1000 Hz. To remove
unwanted muscle noise, design a Butterworth low-pass filter using impulse invariant
transformation with the following constraints:
• Analyze whether the impulse invariance method introduces aliasing, and discuss how it
would impact biomedical signal fidelity.
Q9
In audio signal processing, a high-pass filter is required to eliminate power-line hum below 60
Hz from a voice recording. The signal is sampled at 8000 Hz.
Design a Butterworth high-pass filter using impulse invariant transformation:
• Stopband attenuation ≥ 30 dB
• Evaluate the impact of aliasing introduced by IIT for this application and whether
bilinear transformation would be more appropriate.
Q10
A smart sensor node samples environmental signals at 2 kHz. Noise exists below 5 Hz and above
500 Hz.
Design a band-pass filter using a cascade of a Butterworth high-pass and low-pass filter, both
designed using impulse invariance:
• High-pass: Analog cutoff at 30 rad/s
• Derive both analog prototypes, discretize using IIT, and cascade them.
• Provide the final H(z) and discuss the performance and any aliasing effects.
Q11
Design a digital Butterworth low-pass IIR filter using the bilinear transformation method. The
specifications are as follows:
• Passband ripple ≤ 1 dB
• Stopband attenuation ≥ 40 dB
Tasks:
Q12
Design a digital Butterworth high-pass filter using bilinear transformation with the following
design criteria:
• Passband ripple ≤ 1 dB
Tasks:
Q13
An ECG signal sampled at 1 kHz needs noise removal without affecting key diagnostic
frequencies (<100 Hz).
Design a Butterworth low-pass IIR filter using the bilinear transformation method:
• Stopband attenuation ≥ 40 dB
• Passband ripple ≤ 1 dB
Tasks:
• Plot the magnitude response and comment on suitability for ECG signal processing
Q14
In a digital audio processor, design a high-pass Butterworth filter using bilinear transformation
to remove power line hum:
Tasks:
• Prewarp the frequencies
Q15
An environmental sensor in an IoT node samples data at 2 kHz. It needs to filter out drift (<5 Hz)
and high-frequency noise (>500 Hz).
Design a Butterworth band-pass filter using a cascade of high-pass and low-pass filters, both
designed using bilinear transformation:
Tasks:
Q16
Design an FIR low-pass filter using the Hamming window method with the following
specifications:
Tasks:
• Derive the ideal impulse response hd(n)h_d(n)hd(n)
Q17
Design an FIR high-pass filter using the Blackman window technique for:
Tasks:
Q18
Design an FIR low-pass filter to remove high-frequency noise from an ECG signal sampled at 1
kHz. The signal bandwidth is below 150 Hz.
Tasks:
Q19
A digital audio recorder samples at 16 kHz. Design an FIR high-pass filter using a Rectangular
window to remove low-frequency components:
• Cutoff frequency = 80 Hz
Tasks:
Q20
• Stopband: 45 Hz to 55 Hz
Tasks:
x(n)={1, 2, 0, 0},0≤n≤3
Q22
Let:
Q23
A 4-point sequence:
x(n)={1, 1, 1, 1}
• Explain what this tells you about the signal in frequency domain.
Let:
x(n)={1, 0, −1, 0}
X(N−k)=X∗(k)
• Comment on what type of symmetry (even/odd) this signal represents in time domain.
Q25
Let:
x(n)={1, 2, 3, 4}
• Show that:
Xshift(k)=X(k)⋅e−j2πNk
Q26
Q27
Q28
Q29
Let:
• Suggest how zero-padding can make circular convolution yield the same result as linear
convolution