Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE) PDF Download

Windowing

Disadvantage of F.S is abrupt truncation of FS expansion of the freq response. This truncation result in a poor convergence of the series.

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

The abrupt truncation of infinite series is equivalent to multiplying it with the rectangular 
sequence.

WR(n) = 1        |n| ≤ M

= 0 else where

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

WR(ejw) => FT of Rectangular Window

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

  •  Main lobe width = Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE) & it can be reduced by increasing N, but area of side lobe will be constant.
  • For larger value of N, transition region can be reduced, but we will find overshoots & undershoots on pass band and non zero response in stop band because of larger side lobes. So there overshoots and leakage will not change significantly when rectangular window is used. This result is known as Gibbs Phenomenon.

The desined window chts are

1. Small width of main lobe of the fre response of the window containing as much as of the total energy as possible.

2. Side lobes of the frequency response that decrease in energy as w tends to π

3. even function about n=0

4. zero in the range  Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

Let us consider the effect of tapering the rectangular window sequence linearly from the middle to the ends.

Triangular Window:

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

= 0 else where

In this side lobe level is smaller that that of rectangular window, being reduced from -13 to -25dB to the maximum. However, the main lobe width is now 8π/N There is trade off between main lobe width and side levels.

General raised cosine window is 

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

= 0 else where

If α=0.5 Hanning Window

If α =0.54 Hamming Window

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

Kaiser Window

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

= 0 else where

β is constant that specifies a freq response trade off between the peak height of the side lobe ripples and the width or energy of main lobe and Io(x) is the zeroth order modified Bessel function of the first kind. Io(x) can be computed from its power series expansion given by

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

WindowPeak amplitude of side lobe dBTransition width of main lobeMinimum stop band deviation dB
Rectangular-13Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)-21
Triangular-25Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)-25
Hanning-31Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)-44
Hamming-41Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)-53
BlackMan-57Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)-74
Kaiservariablevariable-

If we let K1,W1 and K1,W1 represent cutoff (pass band) * stop band requirements for the digital filter, we can use the following steps in design procedure.

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

1. Select the window type from table to be the one highest up one list such that the stop band gain exceeds K2.

2. Select no. of points in the windows function to satisfy the transition width for the type of window used. If Wt is the transition width, we must have Wt = W2-W1≥ Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

where K depends on type of window used.

K=1 for rectangular , k=2 triangular…..

Therefore       Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

If analog freq are given, it must be converted in to Digital using w= Ω T

Ex:

Apply the Hamming Window to improve the low pass filter magnitude response ontained 
in ex1:

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

= 0            else where

N = 2M+1 = 21

WH(0) = 1                 WH(6) = 0.39785

WH(1) = 0.97749       WH(7) = 0.26962

WH(2) = 0.91215       WH(8) = 0.16785

WH(3) = 0.81038       WH(9) = 0.10251

WH(4) = 0.68215      WH(10) = 0.08  

WH(5) = 0.54

Next these window sequence values are multipled with coefficients h(n), obtained in ex1, to ontain modified F.S Co eff h’(n)

h’(0) =0.25

h’(1) =0.22

h’(2) =0.14517

h’(3) =0.0608

h’(4) =0

h’(5) =0.02431

h’(6) =0.02111

h’(7) =-0.0086725

h’(8) =0

h’(9) =0.00256

h’(10) =0.00255

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

bi' = h’(i-M)  0≤ i ≤ 20      h’(-n) = h’(n)

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

Ex:

Find a suitable window and calculate the required order the filter to design a LP digital filter to be used A/D-H(Z)-D/A structure that will have a -3dB cutoff of at 30π rad/sec and an attenuation of 50dB at 45 π rad/sec. the system will use a sampling rate of 100 sample /sec

Sol:
The desired equivalent digital specifications are obtained as

Digital ….. Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE) k2≤ -50dB

1. to obtain a stop band attenuation of -50dB or more a Hamming window is shosen since it has the smallest transition band.

2. the approximate no. of points needed to satisfy the transition band requirement (or the order of the filter ) can be found for w1 =0.3 π rad &w2 = 0.45 π rad, using Hamming window (k=2), to be

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

N = 27 is selected

  • the attractive property of the Kaiser window is that the side lobe level and main lobe width can be varied continuously by simple varying the parameter β . Also as in other window, the main lobe width can be adjusted by varying N.
  • we can find out the order of Kaiser window, N and the Kaiser parameters β to design FIR filter with a pass band ripple equal to or less that Ap, a minimum stop band attenuation equal to or greater than As, and a transition width Wt, using the following steps:

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

Therefore: solving above eq forδ , we get

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

Calculate As using the shosen values 

Aso=-20logδ

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

Step 3:

Calculate the parameter β as follows for 

β= 0            for Aso ≤ 21 dB

= 0.5842(Aso -21)0.4 + 0.07886(Aso -21)       for 21< Aso ≤ 50 dB

= 0.1102(Aso -8.7)            for Aso >50 dB

Step 4:

Calculate D as follows

D = 0.9222          for Aso≤ 21 dB      

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE) for As>21 dB

Step 5:

Select the lowest odd value of N satisfying the inequality

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

Wsam : Angular Sampling frequency

Ω sam : Analog Freq

Ω t = Ω s- Ω p     for LPF

      = Ω s- Ω p     for HPF

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

-3dB cutoff freq Ω c can ve considered as follows

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE) for LPF & HPF

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

Calculate the Kaiser parameter and the no. of points in Kaiser window to satisfy the following lowpass specifications.

Pass band ripple in the freq range 0 to 1.5 rad/sec ≤ 0.1 dB

Minimum stop band attenuation in 2.5 to 5.0 rad /s ≥ 40 dB

Sampling frequency : 10 rad/s

Sol:

The impulse response samples can be calculated using h(n) = Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

And the no. of points required in this sequence can be found as follows

Step1:

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

Therefore we choose, δ = 5.7564*10 -3

Step 2:

Aso = -20 log( 5.7564*10-3 ) = 44.797 dB

Step 3 & 4:

β = 0.5842 ( 44.797  -21)0.4 + 0.07886 ( 44.797  -21) = 3.9524

D = 2.566

Step 5:

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

 

The document Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE) is a part of the Electronics and Communication Engineering (ECE) Course Digital Signal Processing.
All you need of Electronics and Communication Engineering (ECE) at this link: Electronics and Communication Engineering (ECE)
3 videos|50 docs|54 tests

Top Courses for Electronics and Communication Engineering (ECE)

FAQs on Filter Design using Windowing Techniques - Digital Signal Processing - Electronics and Communication Engineering (ECE)

1. What is windowing in filter design?
Ans. Windowing in filter design is a technique used to improve the performance of filters by reducing the side lobes or spectral leakage in the frequency response. It involves multiplying the ideal filter response with a window function, which tapers the edges of the filter response and reduces the amplitude of the side lobes.
2. Why is windowing important in filter design?
Ans. Windowing is important in filter design because it helps in achieving the desired trade-off between the main lobe width and the suppression of side lobes in the frequency response. By applying a window function to the ideal filter response, we can reduce the spectral leakage and improve the overall performance of the filter.
3. What are some commonly used window functions in filter design?
Ans. There are several commonly used window functions in filter design, including the Hamming, Hanning, Blackman, Kaiser, and rectangular window. Each window function has its own characteristics and trade-offs in terms of main lobe width, side lobe suppression, and computational complexity.
4. How does windowing affect the frequency response of a filter?
Ans. Windowing affects the frequency response of a filter by reducing the side lobes or spectral leakage. It achieves this by tapering the edges of the filter response, which smoothens the transition between the passband and stopband. This results in a narrower main lobe width and improved side lobe suppression.
5. Are there any drawbacks of windowing in filter design?
Ans. Yes, there are some drawbacks of windowing in filter design. One drawback is the widening of the main lobe width, which can cause a loss in filter selectivity. Another drawback is the introduction of ripples in the passband and stopband due to the convolution of the window function with the ideal filter response. These drawbacks need to be carefully considered while selecting a window function for a specific filter design application.
3 videos|50 docs|54 tests
Download as PDF
Explore Courses for Electronics and Communication Engineering (ECE) exam

Top Courses for Electronics and Communication Engineering (ECE)

Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev
Related Searches

study material

,

Important questions

,

Previous Year Questions with Solutions

,

Exam

,

pdf

,

past year papers

,

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

,

Summary

,

mock tests for examination

,

shortcuts and tricks

,

Semester Notes

,

video lectures

,

Extra Questions

,

Free

,

MCQs

,

Sample Paper

,

Viva Questions

,

ppt

,

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

,

practice quizzes

,

Objective type Questions

,

Filter Design using Windowing Techniques | Digital Signal Processing - Electronics and Communication Engineering (ECE)

;