Question

Part I    Design of a DC Blocker FilterPart I    Design of a DC Blocker Filter Design...

Part I    Design of a DC Blocker FilterPart I    Design of a DC Blocker Filter

Design a digital filter to block DC signal using

- Plot the frequency response of your filter

  1. FIR filter
  2. IIR filter

0 0
Add a comment Improve this question Transcribed image text
Answer #1

*Since only constraint is to block DC, So only requirement is that it should have a zero at z = 1.

(a) Simplest FIR filter to achieve it is

                                                                

(b) Simplest IIR filter is

                                                            

Since IIR filter has to be stable, so its pole should lie within unit circle. So

                                                                           

Lets choose a = 0.5. So

                                                                        

MATLAB code to generate frequency response is shown below:

w = (-pi:2*pi/1000:pi);
z = exp(j*w);
HFIR = (1-z.^(-1));
HIIR = (1-z.^(-1))./(1-0.5*z.^(-1));
plot(w/pi,abs(HFIR))

hold all

grid on

plot(w/pi,abs(HIIR))

xlabel('\omega/\pi')

ylabel('magnitude')
legend('FIR filter','IIR Filter')
figure;
plot(w/pi,angle(HFIR)/pi*180)
hold all
grid on

plot(w/pi,angle(HIIR)/pi*180)

xlabel('\omega/\pi')

ylabel('phase(degree)')

legend('FIR filter','IIR Filter')

Magnitude response for both FIR and IIR filter is shown below:

Phase response for both FIR and IIR filter is shown below:

Add a comment
Know the answer?
Add Answer to:
Part I    Design of a DC Blocker FilterPart I    Design of a DC Blocker Filter Design...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 1. By using an analog filter with a Butterworth response of order 3, design a digital IIR low pass filter with 3-db cutoff frequency 2c 0.6TT a) b) c) Evaluate the transfer function of the analog fil...

    1. By using an analog filter with a Butterworth response of order 3, design a digital IIR low pass filter with 3-db cutoff frequency 2c 0.6TT a) b) c) Evaluate the transfer function of the analog filter (10marks) Skecth the block diagram of transfer function (5 marks) Plot the magnitude response of the filters. (5marks) 1. By using an analog filter with a Butterworth response of order 3, design a digital IIR low pass filter with 3-db cutoff frequency 2c...

  • Design a matlab code that: 1-play sound 2- add noise to the sound 3- filter the...

    Design a matlab code that: 1-play sound 2- add noise to the sound 3- filter the noised signal using fir or iir filter Note: FIR: Finite impulse response filter IIR: Infinite impulse response filter Please make code simple. don't copy other from other codes.

  • Design a second order IIR Butterworth low pass digital filter with a cutoff frequency of 500...

    Design a second order IIR Butterworth low pass digital filter with a cutoff frequency of 500 Hz and a sampling frequency of 10,000 Hz using bilinear transformation then find the following:                               The output (response) due to the following inputs:             Sinusoidal signal with a frequency of 100Hz.             Sinusoidal signal with a frequency of 500Hz.             Sinusoidal signal with a frequency of 2000Hz.       Repeat (a) above for a 6thorder Butterworth filter

  • 1. Design a 10th-order lowpass FIR filter using the window method (fir1) to cut frequencies above...

    1. Design a 10th-order lowpass FIR filter using the window method (fir1) to cut frequencies above 30Hz in an application where the sampling frequency is 125 Hz. 2. Plot the filter coefficients that define the filter (stem). 3. Plot the frequency response of the FIR filter designed (freqz) 4. Design a 100th-order lowpass FIR filter using the window method (fir1) to cut frequencies above 30Hz in an application where the sampling frequency is 125 Hz. Plot the filter coefficients that...

  • a) The transfer function of an ideal low-pass filter is and its impulse response is where...

    a) The transfer function of an ideal low-pass filter is and its impulse response is where oc is the cut-off frequency i) Is hLP[n] a finite impulse response (FIR) filter or an infinite impulse response filter (IIR)? Explain your answer ii Is hLP[n] a causal or a non-causal filter? Explain your answer iii) If ae-0. IT, plot the magnitude responses for the following impulse responses b) i) Let the five impulse response samples of a causal FIR filter be given...

  • Design lowpass IIR filter with the following specifications: Filter order = 2, Butterworth type C...

    Design lowpass IIR filter with the following specifications: Filter order = 2, Butterworth type Cut-off frequency=800 Hz Sampling rate =8000 Hz Design using the bilinear z-transform design method Print the lowpass IIR filter coefficients and plot the frequency responses using MATLAB. MATLAB>>freqz(bLP,aLP,512,8000); axis([0 4000 –40 1]); Label and print your graph. What is the filter gain at the cut-off frequency 800 Hz? What are the filter gains for the stopband at 2000 Hz and the passband at 50 Hz based...

  • Discrete Time Signal Processing Question 1. Consider an IIR filter A(1-2-1 cos ω0) 1-2cos ω02-1+2...

    Discrete Time Signal Processing Question 1. Consider an IIR filter A(1-2-1 cos ω0) 1-2cos ω02-1+2 I. Compute its impulse response using the difference equation with an impulse signal δ(n) as the input. Use trigonometric identities to simplify the result as much as you can 2. Draw the diagram showing the implementation of this filter in terms of adders, delays and multipliers Note: The IIR filter above generates a cosinusoidal signal when an impulse signal is applied at its input.] Question...

  • The transfer function of an ideal low-pass filter is given by: 4. a) i Prove that its impulse response is given by: a s...

    The transfer function of an ideal low-pass filter is given by: 4. a) i Prove that its impulse response is given by: a sin(na) π (na) where (Q is the cut-off frequency [-consoo] ii Is hIn] a FIR or an IIR filter? Is it causal or anti-causal filter? Explain 3 your answer. iii) If g. 0.1 π, plot the magnitude responses for the following impulse responses: The transfer function of an ideal low-pass filter is given by: 4. a) i...

  • 7. Consider the digital filter given by: x[n] yni - 1 2 1 + -1 For...

    7. Consider the digital filter given by: x[n] yni - 1 2 1 + -1 For this filter A. Determine if it is an IIR or FIR B. Calculate the difference equation C. Calculate the first four (4) samples of the impulse response D. Calculate the gain at DC (i.e., w = 0) E. Calculate the gain at the Nyquist frequency (i.e., w = 2

  • QUESTION 6 Зро Design a second-order IIR digital low-pass filter using Butterworth approximation....

    QUESTION 6 Зро Design a second-order IIR digital low-pass filter using Butterworth approximation. Use the bilinear transformation to convert the analogue fiter to a digital one (choose the sampling period T- 2 s and the cut-off frequency as 1 rad/'s). Express the digital transfer function of the filter H(z) as: In the box below, provide the numerical answer for b1. [Note: Don't normalise the transfer func on, i.e. b0 # 1). r98111acontentid1837836_1&step QUESTION 7 Windowing based FIR filter design techniques...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT