Computer-Aided Design of Digital Filters. Digital Filters. Digital Filters. Digital Filters. Design of Equiripple Linear-Phase FIR Filters

Size: px
Start display at page:

Download "Computer-Aided Design of Digital Filters. Digital Filters. Digital Filters. Digital Filters. Design of Equiripple Linear-Phase FIR Filters"

Transcription

1 Computer-Aided Design of Digital Filters The FIR filter design techniques discussed so far can be easily implemented on a computer In addition, there are a number of FIR filter design algorithms that rely on some type of optimization techniques that are used to minimize the error between the desired frequency response and that of the computer-generated filter Computer-Aided Design of Digital Filters Basic idea behind the computer-based iterative technique j et H ( e ) denote the frequency response of the digital filter H( to be designed approximating the desired frequency j response D( e ), given as a piecewise linear function of, in some sense 3 Computer-Aided Design of Digital Filters Objective - Determine iteratively the coefficients of H( so that the difference j j between between H ( e ) and D( e ) over closed subintervals of π is minimized This difference usually specified as a weighted error function j j j E ( = W ( e )[ H ( e ) D( e )] j where W ( e ) is some user-specified weighting function 4 Computer-Aided Design of Digital Filters Chebyshev or minimax criterion - Minimizes the peak absolute value of the weighted error: ε = maxe ( R where R is the set of disjoint frequency bands j in the range π, on which D( e ) is defined 5 inear-phase FIR Filters The linear-phase FIR filter obtained by minimizing the peak absolute value of ε = maxe( R is usually called the equiripple FIR filter After ε is minimized, the weighted error function E( exhibits an equiripple behavior in the frequency range R 6 inear-phase FIR Filters The general form of frequency response of a causal linear-phase FIR filter of length M+: j jm jβ ( H ( e ) = e e H ( where the amplitude response H ( ( is a real function of Weighted error function ( is given by E ( = W ( [ H ( D( ] where D( is the desired amplitude response and W ( is a positive weighting function

2 7 inear-phase FIR Filters Parks-McClellan Algorithm - Based on iteratively adjusting the coefficients of H ( ( until the peak absolute value of E( is minimized If peak absolute value of E( in a band a b is εo, then the absolute error satisfies ( ε H ( ) D( o, a b W ( 8 inear-phase FIR Filters For filter design,, in the passband D( =, in the stopband H ( ( is required to satisfy the above desired response with a ripple of ± δ p in the passband and a ripple of in the stopband δ s 9 inear-phase FIR Filters Thus, weighting function can be chosen either as, in the passband W ( = δ p / δs, in thestopband or δs / δ p, in the passband W ( =, in thestopband inear-phase FIR Filters ( M Type FIR Filter - H ( = a[ k]cos( k) k= where a[] = h[ M ], a[ k] = h[ M k], k M Type FIR filter - (M + ) / H ( ( = where b k] k= b[ k]cos ( ( k ) ) M [ [ + + ], M = h k k inear-phase FIR Filters ( M Type 3 FIR Filter - H ( = c[ k]sin( k) k = where c[ k] = h[ M k], k M Type 4 FIR Filter - (M + ) / H ( ( = d[ k]sin ( k where k= d[ k] = h[ M + k], ( )) k M + inear-phase FIR Filters Amplitude response for all 4 types of linearphase FIR filters can be expressed as H ( ( = Q( A( where, for Type cos( /), for Type Q( = sin(, for Type 3 sin( / ), for Type 4

3 and inear-phase FIR Filters where A( = a [ k]cos( k) k= a[ k], b[ k], a [ k] = c [ k], d[ k], for Type for Type for Type 3 for Type 4 inear-phase FIR Filters with M, for Type M, for Type = M, for Type 3 M, for Type 4 b [ k ], c [ k], and d[ k], are related to b[k], c[k], and d[k], respectively inear-phase FIR Filters Modified form of weighted error function E ( = W ( [ Q( A( D( ] D( = W ( Q( [ A( ] Q( = W ( [ A( D( ] where we have used the notation W ( = W ( Q( D( = D( / Q( 6 inear-phase FIR Filters Optimization Problem - Determine a [ k ] which minimize the peak absolute value ε of E( = W( [ a [ k]cos( k) D( ] k= over the specified frequency bands R After a [ k ] has been determined, corresponding coefficients of the original A( are computed from which h[n] are determined 7 inear-phase FIR Filters Alternation Theorem - A( is the best unique approximation of D( obtained by minimizing peak absolute value ε of E( = W ( [ Q( A( D( ] if and only if there exist at least + extremal frequencies, { i}, i +, in a closed subset R of the frequency range π such that < < < < + and E ) = E ( ), E ( i) = ε for all i ( i i + 8 inear-phase FIR Filters Consider a Type FIR filter with an amplitude response A( whose approximation error E ( satisfies the Alternation Theorem Peaks of E ( are at = i, i + where de ( / d = Since in the passband and stopband, W ( ) and D ( ) are piecewise constant, de ( da( = = at = i d d 3

4 9 inear-phase FIR Filters Using cos( k ) = Tk (cos, where T k (x) is the k-th order Chebyshev polynomial T ( ) cos( cos k x = k x) A( can be expressed as = k A( ) k= α[ k](cos which is an th-order polynomial in cos Hence, A( can have at most local minima and maxima inside specified passband and stopband inear-phase FIR Filters At bandedges, = p and = s, E ( is a maximum, and hence A( has extrema at these points A( can have extrema at = and = π Therefore, there are at most +3 extremal frequencies of E ( For linear-phase FIR filters with K specified bandedges, there can be at most +K+ extremal frequencies inear-phase FIR Filters The set of equations W ( )[ A( ) D( )] = ( ) i i i i ε, i + is written in a matrix form [] D ( cos( ) cos( ) / W ( ) a cos( ) cos( ) / W ( ) a [] D( M M O M M M = cos( ) cos( ) ( ) / W ( ) a [ ] M D( cos( ε + ) cos( + ) ( ) / W ( + ) ) ) ) D ( + ) inear-phase FIR Filters The matrix equation can be solved for the unknowns a [ i ] and ε if the locations of the + extremal frequencies are known a priori The Remez exchange algorithm is used to determine the locations of the extremal frequencies 3 Remez Exchange Algorithm Step : A set of initial values of extremal frequencies are either chosen or are available from completion of previous stage Step : Value of ε is computed using cd( + cd( + + c + ( ) ε = D + ( ) + c c c W ( W ( W ( + ) where = + c n cos( ) cos( i= n i) i n 4 Remez Exchange Algorithm Step 3: Values of A( at = i are then computed using ( ) i ε A( i ) = + D( i ), i + W ( ) i Step 4: The polynomial A( is determined by interpolating the above values at the + extremal frequencies using the agrange interpolation formula 4

5 Remez Exchange Algorithm Step 4: The new error function E ( = W ( [ A( D( ] is computed at a dense set S ( S ) of frequencies. In practice S = 6 is adequate. Determine the + new extremal frequencies from the values of E ( evaluated at the dense set of frequencies. Step 5: If the peak values ε of E ( are equal in magnitude, algorithm has converged. Otherwise, go back to Step. Remez Exchange Algorithm Illustration of algorithm Iteration process is stopped if the difference between the values of the peak absolute errors between two consecutive stages is less than a preset value, e.g., Remez Exchange Algorithm Example-Approximate the desired function D( x) =.x. defined for the range x by a linear function a x + a by minimizing the peak value of the absolute error max.x. a ax x [,] Stage : Choose arbitrarily the initial extremal points x =, x =.5, x.5 3 = Remez Exchange Algorithm Solve the three linear equations l a + axl ( ) ε = D( xl ), l =,,3 i.e., a..5 a =.75.5 ε.375 for the given extremal points yielding a =.375, a =.65, ε.75 = Remez Exchange Algorithm Plot of E ( x) =.x.65x +.75 along with values of error at chosen extremal points shown below Error x Note: Errors are equal in magnitude and alternate in sign 3 Remez Exchange Algorithm Stage : Choose extremal points where E ( x) assumes its maximum absolute values These arex =, x =.75, x3 = New values of unknowns are obtained by solving a..75 a =.588 ε 4.3 yielding a =.656, a =., ε.556 = 5

6 3 Remez Exchange Algorithm Plot of E ( x) =.x.x along with values of error at chosen extremal points shown below Error x 3 Remez Exchange Algorithm Stage 3: Choose extremal points where E ( x) assumes its maximum absolute values These arex =, x =, x3 = New values of unknowns are obtained by solving a a =.. ε 4.3 yielding a =.65, a =., ε.55 = 33 Remez Exchange Algorithm Plot of E3 ( x) =.x.x +.55 along with values of error at chosen extremal points shown below Error x Algorithm has converged as ε is also the maximum value of the absolute error 34 Design of Minimum-Phase FIR Filters inear-phase FIR filters with narrow transition bands are of very high order, and as a result have a very long group delay that is about half the filter order By relaxing the linear-phase requirement, it is possible to design an FIR filter of lower order thus reducing the overall group delay and the computational cost Design of Minimum-Phase FIR Filters A very simple method of minimum-phase FIR filter is described next Consider an arbitrary FIR transfer function of degree N: N n N H ( = h[ n] z = h[ ] ( ξ z ) n= k= k Design of Minimum-Phase FIR Filters The mirror-image polynomial to H( is given by ˆ N H ( = z H ( z = N n= ) h[ N n] z n = h[ N] N ( k= z / ξ ) The zeros of Hˆ ( are thus at z = / ξk, i.e., are reciprocal to the zeros of H( at z = ξ k k

7 37 Design of Minimum-Phase FIR Filters As a result, ˆ N G( = H ( H ( = z H ( H ( z ) has zeros exhibiting mirror-image symmetry in the z-plane and is thus a Type linearphase transfer function of order N Moreover, if H( has a zero on the unit circle, Hˆ ( will also have a zero on the unit circle at the conjugate reciprocal position Design of Minimum-Phase FIR Filters Thus, unit circle zeros of G( occur in pairs On the unit circle we have H ( e j ( ) = G( G ( ( Moreover, the amplitude response G ( ( has double zeros in the frequency range [, π] 38 Design of Minimum-Phase FIR Filters Design Procedure Step : Design a Type linear-phase transfer function F( of degree N satisfying the specifications: ( δ p F( + δ p for [, p] ( δs F( δ p for [ s, π] Note that F( has single unit circle zeros Design of Minimum-Phase FIR Filters Step : Determine the linear-phase transfer function N G( = δ s z + F( Its amplitude response satisfies ( + δs δ p G( + δs + δ p for [, p] ( G( δ s for [ s, π] Design of Minimum-Phase FIR Filters Note that G( has double zeros on the unit circle and all other zeros are situated with a mirror-image symmetry Hence, it can be expressed in the form N G( = z Hm( Hm( z ) where H m ( is a minimum-phase transfer function containing all zeros of G( that are inside the unit circle and one each of the unit circle double zeros Design of Minimum-Phase FIR Filters Step 3: Determine H m ( from G( by applying a spectral factorization (F ) The passband ripple δ p and the stopband ripple (F ) δ s of F( must be chosen to ensure that the specified passband ripple δ p and the stopband ripple of H m ( are satisfied δ s 4 7

8 43 Design of Minimum-Phase FIR Filters It can be shown δ p δ δ s p = +, δs = + δs + δs An estimate of the order N of H m ( can be found by first estimating the order of F( and then dividing it by If the estimated order of F( is an odd integer, it should be increased by 44 FIR Digital Filter Design Using MATAB Order Estimation - Kaiser s Formula: log( δ pδs ) N 4.6( s p) / π Note: Filter order N is inversely proportional to transition band width ( s p ) and does not depend on actual location of transition band 45 FIR Digital Filter Design Using MATAB Hermann-Rabiner-Chan s Formula: D ( δ p, δs) F( δ p, δs)[( s p) / π] N ( s p) / π where D ( δ p, δs) = [ a(log δ p) + a(log δ p) + a3] log + [ a4(log δ p ) + a5(log δ p) + a6] F( δ p, δs) = b + b[log δ p log δs] with a =.539, a =.74, a3 =.476 a4 =.66, a5 =.594, a6 =.478 b =.7, b = δ s FIR Digital Filter Design Using MATAB Formula valid for δ p δ s For δ p < δ s, formula to be used is obtained by interchanging δ p and δs Both formulas provide only an estimate of the required filter order N Frequency response of FIR filter designed using this estimated order may or may not meet the given specifications If specifications are not met, increase filter order until they are met 47 FIR Digital Filter Design Using MATAB MATAB code fragments for estimating filter order using Kaiser s formula num = - *log(sqrt(dp*ds)) - 3; den = 4.6*(Fs - Fp)/FT; N = ceil(num/den); M-file remezord implements Hermann- Rabiner-Chan s order estimation formula 48 FIR Digital Filter Design Using MATAB For FIR filter design using the Kaiser window, window order is estimated using the M-file kaiserord The M-file kaiserord can in some cases generate a value of N which is either greater or smaller than the required minimum order If filter designed using the estimated order N does not meet the specifications, N should either be gradually increased or decreased until the specifications are met 8

9 49 The M-file remez can be used to design an equiripple FIR filter using the Parks- McClellan algorithm Example-Design an equiripple FIR filter with the specifications: F p =.8 khz, Fs = khz, FT = 4 khz, α p =. 5dB, α s = 4 db Here, δ p =. 559 and =. δ s 5 MATAB code fragments used are [N, fpts, mag, wt] = remezord(fedge, mval, dev, FT); b = remez(n, fpts, mag, wt); where fedge = [8 ], mval = [ ], dev = [.559.],and FT = 4 5 The computed gain response with the filter order obtained (N = 8) does not meet the specifications ( α p =.6dB, α s = 38. 7dB) Specifications are met with N = Equiripple FIR owpass Filter Passband Details Example- Design a linear-phase FIR bandpass filter of order 6 with a passband from.3 to.5, and stopbands from to.5 and from.55 to The pertinent input data here are N = 6 fpts = [ ] mag = [ ] wt = [ ] 53 Computed gain response shown below where α p = db, =8. 7 db - -4 α s N = 6, weight ratio = We redesign the filter with order increased to Computed gain response shown below where =.4 db, = 5. db α p Note: Increase in order improves gain response at the expense of increased computational complexity α s N =, weight ratio =

10 55 α s can be increased at the expenses of a larger α p by decreasing the relative weight N =, weight ratio = / ratio W ( ) = δ p / δs Gain response of - bandpass filter of -4 order obtained -6 with a weight vector [. ] Now α p =.76dB, = db α s 56 Plots of absolute error for st design Absolute error has same peak value in all bands As = 3, and there are 4 band edges, there can be at most + 6 = 8 extrema Error plot exhibits 7 extrema Absolute Error.. -. N = 6, weight ratio = 57 Absolute error has same peak value in all bands for the nd design Absolute error in passband of 3rd design is times the error in the stopbands Absolute Error 4 x -3 - N =, weight ratio = N =, weight ratio = / Example- Design a linear-phase FIR bandpass filter of order 6 with a passband from.3 to.5, and stopbands from to.5 and from.6 to with unequal weights The pertinent input data here are N = 6 fpts = [ ] mag = [ ] wt = [.3] 59 Plots of gain response and absolute error shown below Absolute Error Response in the second transition band shows a peak with a value higher than that in passband Result does not contradict alternation theorem As N = 6, M = 3, and hence, there must be at least M + = 3 extremal frequencies Plot of absolute error shows the presence of 3 extremal frequencies

11 6 If gain response of filter designed exhibits a nonmonotonic behavior, it is recommended that either the filter order or the bandedges or the weighting function be adjusted until a satisfactory gain response has been obtained Gain plot obtained by moving the - second stopband -4 edge to Equiripple FIR Differentiator A lowpass differentiator has a bandlimited frequency response j j, p H DIF ( e ) =, s π where p represents the passband and s π represents the stopband For the design phase we choose W ( = /, D( =, p 63 Equiripple FIR Differentiator The M-file remezord cannot be used to estimate the order of an FIR differentiator Example-Design a full-band ( p = π) differentiator of order Code fragment to use b = remez(n, fpts, mag, differentiator ); where N = fpts = [ ] mag = [ pi] 64 Equiripple FIR Differentiator Plots of magnitude response and absolute error Magnitude Absolute error increases with as the algorithm results in an equiripple error of the function [ A ( ) ] Absolute Error Equiripple FIR Differentiator Example-Design a lowpass differentiator of order 5 with p =. 4π and s =. 45π Code fragment to use b = remez(n, fpts, mag, differentiator ); where N = 5 fpts = [.4.45 ] mag = [.4*pi ] Equiripple FIR Differentiator Plot of the magnitude response of the lowpass differentiator Magnitude

12 67 Equiripple FIR Hilbert Transformer Desired amplitude response of a bandpass Hilbert transformer is D( ) =, H with weighting function W ( ) =, H Impulse response of an ideal Hilbert transformer satisfies the condition h HT [ n] =, for n even which can be met by a Type 3 FIR filter 68 Equiripple FIR Hilbert Transformer Example-Design a linear-phase bandpass FIR Hilbert transformer of order with =. π, H =. 9π Code fragment to use b = remez(n, fpts, mag, Hilbert ); where N = fpts = [..9] mag = [ ] Equiripple FIR Hilbert Transformer Plots of magnitude response and absolute error Magnitude Absolute Error Window-Based FIR Filter Window Generation - Code fragments to use w = blackman(); w = hamming(); w = hanning(); w = chebwin(, Rs); w = kaiser(, beta); where window length is odd Window-Based FIR Filter Example-Kaiser window design for use in a lowpass FIR filter design Specifications of lowpass filter: p =. 3π, s =. 4π, α s = 5 db δ s =. 36 Code fragments to use [N, Wn, beta, ftype] = kaiserord(fpts, mag,dev); w = kaiser(n+, beta); where fpts = [.3.4] mag = [ ] dev = [.36.36] 7 Window-Based FIR Filter Plot of the gain response of the Kaiser window Gain Response of Kaiser Window

13 73 Window-Based FIR Filter M-files available are fir and fir firis used to design conventional lowpass, highpass, bandpass, bandstop and multiband FIR filters firis used to design FIR filters with arbitrarily shaped magnitude response Infir, Hamming window is used as a default if no window is specified 74 Window-Based FIR Filter Example-Design using a Kaiser window a lowpass FIR filter with the specifications: p =. 3π, s =. 4π, δ s =. 36 Code fragments to use [N, Wn, beta, ftype] = kaiserord(fpts, mag, dev); b = fir(n, Wn, kaiser(n+, beta)); where fpts = [.3.4] mag = [ ] dev = [.36.36] 75 Window-Based FIR Filter Plot of gain response owpass Filter Designed Using Kaiser Window Window-Based FIR Filter Example-Design using a Kaiser window a highpass FIR filter with the specifications: p =. 55π, s =. 4π, δ s =. Code fragments to use [N, Wn, beta, ftype] = kaiserord(fpts, mag, dev); b = fir(n, Wn, ftype, kaiser(n+, beta)); where fpts = [.4.55] mag = [ ] dev = [..] Window-Based FIR Filter Plot of gain response Higpass Filter Designed Using Kaiser Window Window-Based FIR Filter Example- Design using a Hamming window an FIR filter of order with three different constant magnitude levels:.3 in the frequency range [,.8],. in the frequency range [.3,.5], and.7 in the frequency range [.5,.]

14 79 Window-Based FIR Filter Code fragment to use b = fir(, fpts, mval); where fpts = [ ]; mval = [ ]; Magnitude Multiband Filter Minimum-Phase FIR Filter The minimum-phase FIR filter design method outlined earlier involves the spectral factorization of a Type linear-phase FIR transfer function G( with a non-negative amplitude response in the form N G( = z Hm( Hm( z ) where H m ( contains all zeros of G( that are inside the unit circle and one each of the unit circle double zeros Spectral Factorization Spectral Factorization 8 We next outline the basic idea behind a simple spectral factorization method Without any loss of generality we consider the spectral factorization of a 6-th order linear-linear phase FIR transfer function G( with a non-negative amplitude response: 3 G ( = g + g z + g z + g z 3 4 z 5 z g + g + g z 8 Our objective is to express the above G( in the form 3 G( = z Hm( Hm( z ) where 3 H m ( = a + az + az + a3z is the minimum-phase factor of G( Spectral Factorization Spectral Factorization 83 Expressing G( in terms of the coefficients of H m ( we get G( = ( a 3 z + az + az + a3 ) ( a + a z + a z + a z 3 3 Forming the product of the two polynomials given above and comparing the coefficients of like powers of z the product with that of G( given on the previous slide we arrive at 4 equations given in the next slide ) 84 = a + a + a a3 = aa + aa aa3 = aa aa3 3 a3 g + g + g + g = a The above set of equations is then solved iteratively using the Newton-Raphson method 4

15 85 Spectral Factorization First, the initial values of a i are chosen to ensure that H m ( has all zeros strictly inside the unit circle Then, the coefficients a i are changed by adding the corrections e i so that the modified values a i + e i satisfy better the set of 4 equalities given in the previous slide The process is repeated until the iteration converges 86 Spectral Factorization Substituting a i + e i in the 4 equations given earlier and expanding the products, a set of linear equations are obtained by eliminating all quadratic terms in e i from the expansion In matrix form, these equations can be written as Ae = b where a a a a3 a + + = a a a3 a a A a a3 a a a3 a 87 Spectral Factorization and e g a a a a3 e e =, b = g e aa aa aa3 g aa aa 3 e3 g aa3 The matrix A can be expressed as a a a a3 a a a a3 a = a a3 a + a a A a a3 a a a3 a 88 Spectral Factorization The iteration convergence is checked at each step by evaluating the error term 3 i e = i The error term first decreases monotonically and the iteration is stopped when the error starts increasing The M-file minphase.m implements the above spectral factorization method 89 Minimum-Phase FIR Filter Example Design a minimum-phase lowpass FIR filter with the following specifications: p =. 45π, s =. 6π, Rp = db and R s = 6 db Using Program _3.m we arrive at the desired filter Plots of zeros of G(, zeros of H m (, and the gain response of H m ( are shown in the next slide 9 Imaginary Part Minimum-Phase FIR Filter Zeros of G( Real Part Imaginary Part Gain response of H m ( Zeros of H m ( Real Part 8 5

16 Maximum-Phase FIR Filter Design of Computationally Efficient FIR Digital Filters A maximum-phase spectral factor of a linear-phase FIR filter with an impulse response b of even order with a nonnegative zero-phase frequency response can be designed by first computing its minimum-phase spectral factor h and the using the statement G = fliplr(h) As indicated earlier, the order N of a linearphase FIR filter is inversely proportional to the width of the transition band Hence, in the case of an FIR filter with a very sharp transition, the order of the filter is very high This is particularly critical in designing very narrow-band or very wide-band FIR filters 9 9 Design of Computationally Efficient FIR Digital Filters Design of Computationally Efficient FIR Digital Filters The computational complexity of a digital filter is basically determined by the total number of multipliers and adders needed to implement the filter The direct form implementation of a linearphase FIR filter of order N requires, in general, N + multipliers and N two-input adders We now outline two methods of realizing computationally efficient linear-phase FIR filters The basic building block in both methods is an FIR subfilter structure with a periodic impulse response The Periodic Filter Section Consider a Type linear-phase FIR filter F( of even degree N: F( = N n= f [ n] z n Its delay-complementary filter E( is given by N / N / N n E( = z F( = z f [ n] z = ( f [ N / ]) z N / N n n N = / n= n f [ n] z 96 The Periodic Filter Section The transfer function H( obtained by replacing z in F( with z, with being a positive integer, is given by H ( = F( z ) = N n= f [ n] z n The order of H( is thus N A direct realization of H( is obtained by simply replacing each unit delay in the realization of F( with unit delays 6

17 The Periodic Filter Section The Periodic Filter Section Note: The number of multiplers and delays in the realization of H( is the same as those in the realization of F( The transfer function H( has a sparse impulse response of length N +, with zero-valued samples inserted between every consecutive pair of impulse response samples of F( The parameter is called the sparsity factor The relations between the amplitude responses of these two filters is given by ( ( H ( = F( It follows from the above that the amplitude response H ( ( is a period function of with a period π/ The Periodic Filter Section The Periodic Filter Section One period of H ( ( is obtained by compressing the amplitude response F ( ( in the interval [, π] to the interval [, π/] A transfer function H( with a frequency response that is a periodic function of with a period π/ is called a periodic filter If F( is a lowpass filter with a single pasband and a single stopband, H( will be a multiband filter with / + pasbands and / stopbands as shown in the next slide for = 4 99 The Periodic Filter Section ( F) π p s (F) F( G( = E( delay-complementary filter E( periodic filter H( H( = F( E( = _ F( ( (F) π p F) π s ( F) ( F) π+ ( F) s π s π p delay-complementary periodic filter G( The Periodic Filter Section et F( be a lowpass filter with passband (F ) edge at p and and stopband edge at (F ) s, where (F s ) < π Then, the passband and stopband edges of the first band of H( are at p / and p /, respectively The passband and stopband edges of the second band of H( are at ( π ± p ) / and ( π ± p ) /, respectively, and so on as shown on the previous slide 7

18 3 The Periodic Filter Section The width of the transition bands of H( are ( s p ) /, which is -th of that of F( ikewise, the transfer function G( by replacing z in E( with z, is given by N / G( = E( z ) = z F( z ) = z N / N n= f [ n] z n The amplitude response of G( is given by ( ( ( G( = H ( = F( 4 The overall filter H IFIR ( is designed as a cascade of a linear-phase FIR filter F( z ) and another filter I( that suppreses the undesired passbands of the periodic filter section as shown below F( z ) I( periodic filter interpolator The widths of the transition band and the passband of the cascade are th of those of F( 5 The cascaded structure is called the interpolated finite impulse response (IFIR) filter, as the missing impulse response samples of the periodic filter section are being interpolated by the filter section I(, called the interpolator As the filter F( determines approximately the shape of the amplitude response of the IFIR filter, it is called a shaping filter 6 Design Steps IFIR specifications: passband edge, stopband edge s, passband ripple δ p p, stopband ripple δ s Shaping filter specifications: F passband edge ( p ) = p F stopband edge ( s ) = s passband ripple δ p = δ p / F stopband ripple δ ( ) = δ s s 7 The interpolator I( has to be designed to preserve the passband of F( z ) in the frequency range [, p] and mask the amplitude response of F( z ) in the frequency range [ s, π], where the periodic subfilter has unwanted passbands and transition bands This latter region is defined by / π k πk R = + π U s,min s, k= 8 The transition band of the interpolator is the frequency range π p, s Figure below shows the amplitude responses of H IFIR ( and I( H IFIR( p I ( s π s π +s don't care 4 π s π 8

19 9 Summarinzing, the design specifications for F( and I( are as follows: ( δ for p F( + δ p [, p] ( δ for s F( δs [ s, π] ( I ) ( ( I ) for δ p I ( + δ p [, p] ( I ) ( ( I ) for δs I ( δs R The two linear-phase FIR filters F( and I( can be designed using the Parks- McClellan method Example Filter specifications are as follows:,,, p =. 5π s =. π δ p =. δ s =. It follows from the figure in Slide that to ensure no overlaps between adjacent passbands of F( z ), we should choose to satisfy the condition s π < s For our example, this reduces to. π < π. π implying < 5 Hence, the largest value of that can be used is = 4, yielding an IFIR structure requiring the least number of multipliers As a result, the specifications for F( and I( are as given in the next slide F(: p =. 6π, s =. 8π δ p =., δs =. ( I ) ( I ) I(: p =. 5π, s =. 3π ( I ) ( I ) δ p =., δs =. The filter orders of F( and I( obtained using remezord are: Order of F( = 3 Order of I( = 43 3 It can be shown that the filters F( and I( designed using remez with the above orders do not lead to an IFIR design meeting the minimum stopband attenuation of 6 db To meet the stopband specifications, the orders of F( and I( need to be increased to 33 and 46, respectively 4 The pertinent gain responses of the redesigned IFIR filter are shown below: I( F(z 4 ) The number of multipliers needed to implement F( and hence, F( z 4 ) is R F H IFIR ( = ( 33 + ) / = 7 9

20 5 The number of multipliers needed to implement I( is: R I = ( 46 + ) / = 4 As a result, the total number of multipliers needed to implement H IFIR ( is R IFIR = = 4 The number of multipliers needed to implement the direct single-stage implementation of the FIR filter is = 6 ( + ) / 6 This approach makes use of the relation between a periodic filter H ( = F( z ) generated from a Type linear-phase FIR filter of even degree N and its delaycomplementary filter G( given by N / N / G( = z H ( = z F( z ) The amplitude responses of F(, its delaycomplentary filter E(, the periodic filter H( and its delay-complentary filter G( are shown in the next slide 7 F( delay-complementary filter E( E( = _ F( ( F) π p s (F) G( = E( periodic filter H( H( = F( ( π p F) s (F) π ( F) ( F) π+ ( F) s π s π p delay-complementary periodic filter G( 8 By selectively masking out the unwanted pasbands of both H( and G( by cascading each with appropriate masking filters I ( and I (, respectively, and connecting the resulting cascades in prallel, we can design a large class of FIR filters with sharper transition bands The overall structure is then realized as indicated in the next slide 9 F( z ) I ( + N/ z + I ( z N / Note:The delay block can be realized by tapping the FIR structure implementing F( z ) Also, I ( and I ( can share the same delay-chain if they are realized using the transposed direct form structure The transfer function of the overall structure is given by ( = H ( I ( G( I ( H FM + N / = F( z ) I( + [ z F( z )] I ( The corresponding amplitude response is ( ( ( ( ( H FM ( = F( I( + [ F( ] I(

21 The overall computational complexity is given by the complexities of F(, I ( and I ( All these three filters have wide transition bands and, in general, require considerably fewer multipliers and adders than that required in a direct design of the desired sharp cutoff filter Design Objective Given the specifications of H FM (, determine the specifications of F(, I ( and I ( design these 3 filters Design method Illustrated for lowpass filter design Two different situations may arise depending on how the transition band of H FM ( is created Case A Transition band of H FM ( is from one of the transition bands of H( I ( I ( π π ( p F) ( F) π+ p (F) 4π s H FM ( Bandedges of H FM ( are related to the bandedges of F( as follows: lπ + lπ + s p p =, s =, l 3 ( F) π π+ ( F) p π+ s 4 Case B Transition band of H FM ( is from one of the transition bands of G( I ( I ( (F ) π (F) (F) s π p π+ p H FM ( Bandedges of H FM ( are related to the bandedges of F( as follows: lπ p lπ p p =, s =, Example Specifications for a lowpass filter: p =. 4π, s =. 4π, δ p =., and =. δ s 5 ( F) ( F) π π s π p 6

22 7 For designing H FM ( the optimum value of is in the range By calculating the total number of multipliers needed to realize F(, I (, and I ( for all possible values of, we arrive at the realization requiring the least number of multipliers obtained for =6 is 9 which is about 5% of that required in a direct single-stage realization 8 The gain response of the designed filter is shown below: 4 _ 6 _

Multirate Digital Signal Processing

Multirate Digital Signal Processing Multirate Digital Signal Processing Basic Sampling Rate Alteration Devices Up-sampler - Used to increase the sampling rate by an integer factor Down-sampler - Used to decrease the sampling rate by an integer

More information

Filter Design Problem

Filter Design Problem Filter Design Problem Design of frequency-selective filters usually starts with a specification of their frequency response function. Practical filters have passband and stopband ripples, while exhibiting

More information

Digital Signal Processing Lecture 9 - Design of Digital Filters - FIR

Digital Signal Processing Lecture 9 - Design of Digital Filters - FIR Digital Signal Processing - Design of Digital Filters - FIR Electrical Engineering and Computer Science University of Tennessee, Knoxville November 3, 2015 Overview 1 2 3 4 Roadmap Introduction Discrete-time

More information

LINEAR-PHASE FIR FILTERS DESIGN

LINEAR-PHASE FIR FILTERS DESIGN LINEAR-PHASE FIR FILTERS DESIGN Prof. Siripong Potisuk inimum-phase Filters A digital filter is a minimum-phase filter if and only if all of its zeros lie inside or on the unit circle; otherwise, it is

More information

Quadrature-Mirror Filter Bank

Quadrature-Mirror Filter Bank Quadrature-Mirror Filter Bank In many applications, a discrete-time signal x[n] is split into a number of subband signals { v k [ n]} by means of an analysis filter bank The subband signals are then processed

More information

Filter structures ELEC-E5410

Filter structures ELEC-E5410 Filter structures ELEC-E5410 Contents FIR filter basics Ideal impulse responses Polyphase decomposition Fractional delay by polyphase structure Nyquist filters Half-band filters Gibbs phenomenon Discrete-time

More information

1. FIR Filter Design

1. FIR Filter Design ELEN E4810: Digital Signal Processing Topic 9: Filter Design: FIR 1. Windowed Impulse Response 2. Window Shapes 3. Design by Iterative Optimization 1 1. FIR Filter Design! FIR filters! no poles (just zeros)!

More information

Filter Analysis and Design

Filter Analysis and Design Filter Analysis and Design Butterworth Filters Butterworth filters have a transfer function whose squared magnitude has the form H a ( jω ) 2 = 1 ( ) 2n. 1+ ω / ω c * M. J. Roberts - All Rights Reserved

More information

Stability Condition in Terms of the Pole Locations

Stability Condition in Terms of the Pole Locations Stability Condition in Terms of the Pole Locations A causal LTI digital filter is BIBO stable if and only if its impulse response h[n] is absolutely summable, i.e., 1 = S h [ n] < n= We now develop a stability

More information

Perfect Reconstruction Two- Channel FIR Filter Banks

Perfect Reconstruction Two- Channel FIR Filter Banks Perfect Reconstruction Two- Channel FIR Filter Banks A perfect reconstruction two-channel FIR filter bank with linear-phase FIR filters can be designed if the power-complementary requirement e jω + e jω

More information

LABORATORY 3 FINITE IMPULSE RESPONSE FILTERS

LABORATORY 3 FINITE IMPULSE RESPONSE FILTERS LABORATORY 3 FINITE IMPULSE RESPONSE FILTERS 3.. Introduction A digital filter is a discrete system, used with the purpose of changing the amplitude and/or phase spectrum of a signal. The systems (filters)

More information

EFFICIENT REMEZ ALGORITHMS FOR THE DESIGN OF NONRECURSIVE FILTERS

EFFICIENT REMEZ ALGORITHMS FOR THE DESIGN OF NONRECURSIVE FILTERS EFFICIENT REMEZ ALGORITHMS FOR THE DESIGN OF NONRECURSIVE FILTERS Copyright 2003- Andreas Antoniou Victoria, BC, Canada Email: aantoniou@ieee.org July 24, 2007 Frame # 1 Slide # 1 A. Antoniou EFFICIENT

More information

Optimal Design of Real and Complex Minimum Phase Digital FIR Filters

Optimal Design of Real and Complex Minimum Phase Digital FIR Filters Optimal Design of Real and Complex Minimum Phase Digital FIR Filters Niranjan Damera-Venkata and Brian L. Evans Embedded Signal Processing Laboratory Dept. of Electrical and Computer Engineering The University

More information

Design of IIR filters

Design of IIR filters Design of IIR filters Standard methods of design of digital infinite impulse response (IIR) filters usually consist of three steps, namely: 1 design of a continuous-time (CT) prototype low-pass filter;

More information

FIR BAND-PASS DIGITAL DIFFERENTIATORS WITH FLAT PASSBAND AND EQUIRIPPLE STOPBAND CHARACTERISTICS. T. Yoshida, Y. Sugiura, N.

FIR BAND-PASS DIGITAL DIFFERENTIATORS WITH FLAT PASSBAND AND EQUIRIPPLE STOPBAND CHARACTERISTICS. T. Yoshida, Y. Sugiura, N. FIR BAND-PASS DIGITAL DIFFERENTIATORS WITH FLAT PASSBAND AND EQUIRIPPLE STOPBAND CHARACTERISTICS T. Yoshida, Y. Sugiura, N. Aikawa Tokyo University of Science Faculty of Industrial Science and Technology

More information

Basic Design Approaches

Basic Design Approaches (Classic) IIR filter design: Basic Design Approaches. Convert the digital filter specifications into an analog prototype lowpass filter specifications. Determine the analog lowpass filter transfer function

More information

INF3440/INF4440. Design of digital filters

INF3440/INF4440. Design of digital filters Last week lecture Today s lecture: Chapter 8.1-8.3, 8.4.2, 8.5.3 INF3440/INF4440. Design of digital filters October 2004 Last week lecture Today s lecture: Chapter 8.1-8.3, 8.4.2, 8.5.3 Last lectures:

More information

DIGITAL SIGNAL PROCESSING UNIT III INFINITE IMPULSE RESPONSE DIGITAL FILTERS. 3.6 Design of Digital Filter using Digital to Digital

DIGITAL SIGNAL PROCESSING UNIT III INFINITE IMPULSE RESPONSE DIGITAL FILTERS. 3.6 Design of Digital Filter using Digital to Digital DIGITAL SIGNAL PROCESSING UNIT III INFINITE IMPULSE RESPONSE DIGITAL FILTERS Contents: 3.1 Introduction IIR Filters 3.2 Transformation Function Derivation 3.3 Review of Analog IIR Filters 3.3.1 Butterworth

More information

LAB 6: FIR Filter Design Summer 2011

LAB 6: FIR Filter Design Summer 2011 University of Illinois at Urbana-Champaign Department of Electrical and Computer Engineering ECE 311: Digital Signal Processing Lab Chandra Radhakrishnan Peter Kairouz LAB 6: FIR Filter Design Summer 011

More information

-Digital Signal Processing- FIR Filter Design. Lecture May-16

-Digital Signal Processing- FIR Filter Design. Lecture May-16 -Digital Signal Processing- FIR Filter Design Lecture-17 24-May-16 FIR Filter Design! FIR filters can also be designed from a frequency response specification.! The equivalent sampled impulse response

More information

SYNTHESIS OF BIRECIPROCAL WAVE DIGITAL FILTERS WITH EQUIRIPPLE AMPLITUDE AND PHASE

SYNTHESIS OF BIRECIPROCAL WAVE DIGITAL FILTERS WITH EQUIRIPPLE AMPLITUDE AND PHASE SYNTHESIS OF BIRECIPROCAL WAVE DIGITAL FILTERS WITH EQUIRIPPLE AMPLITUDE AND PHASE M. Yaseen Dept. of Electrical and Electronic Eng., University of Assiut Assiut, Egypt Tel: 088-336488 Fax: 088-33553 E-Mail

More information

Digital Signal Processing

Digital Signal Processing COMP ENG 4TL4: Digital Signal Processing Notes for Lecture #24 Tuesday, November 4, 2003 6.8 IIR Filter Design Properties of IIR Filters: IIR filters may be unstable Causal IIR filters with rational system

More information

On the Frequency-Domain Properties of Savitzky-Golay Filters

On the Frequency-Domain Properties of Savitzky-Golay Filters On the Frequency-Domain Properties of Savitzky-Golay Filters Ronald W Schafer HP Laboratories HPL-2-9 Keyword(s): Savitzky-Golay filter, least-squares polynomial approximation, smoothing Abstract: This

More information

Multirate signal processing

Multirate signal processing Multirate signal processing Discrete-time systems with different sampling rates at various parts of the system are called multirate systems. The need for such systems arises in many applications, including

More information

Exercises in Digital Signal Processing

Exercises in Digital Signal Processing Exercises in Digital Signal Processing Ivan W. Selesnick September, 5 Contents The Discrete Fourier Transform The Fast Fourier Transform 8 3 Filters and Review 4 Linear-Phase FIR Digital Filters 5 5 Windows

More information

Digital Filter Structures. Basic IIR Digital Filter Structures. of an LTI digital filter is given by the convolution sum or, by the linear constant

Digital Filter Structures. Basic IIR Digital Filter Structures. of an LTI digital filter is given by the convolution sum or, by the linear constant Digital Filter Chapter 8 Digital Filter Block Diagram Representation Equivalent Basic FIR Digital Filter Basic IIR Digital Filter. Block Diagram Representation In the time domain, the input-output relations

More information

ELEG 5173L Digital Signal Processing Ch. 5 Digital Filters

ELEG 5173L Digital Signal Processing Ch. 5 Digital Filters Department of Electrical Engineering University of Aransas ELEG 573L Digital Signal Processing Ch. 5 Digital Filters Dr. Jingxian Wu wuj@uar.edu OUTLINE 2 FIR and IIR Filters Filter Structures Analog Filters

More information

Chapter 7: Filter Design 7.1 Practical Filter Terminology

Chapter 7: Filter Design 7.1 Practical Filter Terminology hapter 7: Filter Design 7. Practical Filter Terminology Analog and digital filters and their designs constitute one of the major emphasis areas in signal processing and communication systems. This is due

More information

Absolute Specifications: A typical absolute specification of a lowpass filter is shown in figure 1 where:

Absolute Specifications: A typical absolute specification of a lowpass filter is shown in figure 1 where: FIR FILTER DESIGN The design of an digital filte is caied out in thee steps: ) Specification: Befoe we can design a filte we must have some specifications. These ae detemined by the application. ) Appoximations

More information

EE 521: Instrumentation and Measurements

EE 521: Instrumentation and Measurements Aly El-Osery Electrical Engineering Department, New Mexico Tech Socorro, New Mexico, USA November 1, 2009 1 / 27 1 The z-transform 2 Linear Time-Invariant System 3 Filter Design IIR Filters FIR Filters

More information

POLYNOMIAL-BASED INTERPOLATION FILTERS PART I: FILTER SYNTHESIS*

POLYNOMIAL-BASED INTERPOLATION FILTERS PART I: FILTER SYNTHESIS* CIRCUITS SYSTEMS SIGNAL PROCESSING c Birkhäuser Boston (27) VOL. 26, NO. 2, 27, PP. 115 146 DOI: 1.17/s34-5-74-8 POLYNOMIAL-BASED INTERPOLATION FILTERS PART I: FILTER SYNTHESIS* Jussi Vesma 1 and Tapio

More information

DISCRETE-TIME SIGNAL PROCESSING

DISCRETE-TIME SIGNAL PROCESSING THIRD EDITION DISCRETE-TIME SIGNAL PROCESSING ALAN V. OPPENHEIM MASSACHUSETTS INSTITUTE OF TECHNOLOGY RONALD W. SCHÄFER HEWLETT-PACKARD LABORATORIES Upper Saddle River Boston Columbus San Francisco New

More information

Enhanced Steiglitz-McBride Procedure for. Minimax IIR Digital Filters

Enhanced Steiglitz-McBride Procedure for. Minimax IIR Digital Filters Enhanced Steiglitz-McBride Procedure for Minimax IIR Digital Filters Wu-Sheng Lu Takao Hinamoto University of Victoria Hiroshima University Victoria, Canada Higashi-Hiroshima, Japan May 30, 2018 1 Outline

More information

Chapter 7: IIR Filter Design Techniques

Chapter 7: IIR Filter Design Techniques IUST-EE Chapter 7: IIR Filter Design Techniques Contents Performance Specifications Pole-Zero Placement Method Impulse Invariant Method Bilinear Transformation Classical Analog Filters DSP-Shokouhi Advantages

More information

DSP. Chapter-3 : Filter Design. Marc Moonen. Dept. E.E./ESAT-STADIUS, KU Leuven

DSP. Chapter-3 : Filter Design. Marc Moonen. Dept. E.E./ESAT-STADIUS, KU Leuven DSP Chapter-3 : Filter Design Marc Moonen Dept. E.E./ESAT-STADIUS, KU Leuven marc.moonen@esat.kuleuven.be www.esat.kuleuven.be/stadius/ Filter Design Process Step-1 : Define filter specs Pass-band, stop-band,

More information

Digital Signal Processing

Digital Signal Processing COMP ENG 4TL4: Digital Signal Processing Notes for Lecture #20 Wednesday, October 22, 2003 6.4 The Phase Response and Distortionless Transmission In most filter applications, the magnitude response H(e

More information

ECE 8440 Unit 17. Parks- McClellan Algorithm

ECE 8440 Unit 17. Parks- McClellan Algorithm Parks- McClellan Algorithm ECE 8440 Unit 17 The Parks- McClellan Algorithm is a computer method to find the unit sample response h(n for an op=mum FIR filter that sa=sfies the condi=ons of the Alterna=on

More information

UNIT - III PART A. 2. Mention any two techniques for digitizing the transfer function of an analog filter?

UNIT - III PART A. 2. Mention any two techniques for digitizing the transfer function of an analog filter? UNIT - III PART A. Mention the important features of the IIR filters? i) The physically realizable IIR filters does not have linear phase. ii) The IIR filter specification includes the desired characteristics

More information

INFINITE-IMPULSE RESPONSE DIGITAL FILTERS Classical analog filters and their conversion to digital filters 4. THE BUTTERWORTH ANALOG FILTER

INFINITE-IMPULSE RESPONSE DIGITAL FILTERS Classical analog filters and their conversion to digital filters 4. THE BUTTERWORTH ANALOG FILTER INFINITE-IMPULSE RESPONSE DIGITAL FILTERS Classical analog filters and their conversion to digital filters. INTRODUCTION 2. IIR FILTER DESIGN 3. ANALOG FILTERS 4. THE BUTTERWORTH ANALOG FILTER 5. THE CHEBYSHEV-I

More information

2. Typical Discrete-Time Systems All-Pass Systems (5.5) 2.2. Minimum-Phase Systems (5.6) 2.3. Generalized Linear-Phase Systems (5.

2. Typical Discrete-Time Systems All-Pass Systems (5.5) 2.2. Minimum-Phase Systems (5.6) 2.3. Generalized Linear-Phase Systems (5. . Typical Discrete-Time Systems.1. All-Pass Systems (5.5).. Minimum-Phase Systems (5.6).3. Generalized Linear-Phase Systems (5.7) .1. All-Pass Systems An all-pass system is defined as a system which has

More information

Lecture 7 Discrete Systems

Lecture 7 Discrete Systems Lecture 7 Discrete Systems EE 52: Instrumentation and Measurements Lecture Notes Update on November, 29 Aly El-Osery, Electrical Engineering Dept., New Mexico Tech 7. Contents The z-transform 2 Linear

More information

Tunable IIR Digital Filters

Tunable IIR Digital Filters Tunable IIR Digital Filters We have described earlier two st-order and two nd-order IIR digital transfer functions with tunable frequency response characteristics We shall show now that these transfer

More information

Design of Orthonormal Wavelet Filter Banks Using the Remez Exchange Algorithm

Design of Orthonormal Wavelet Filter Banks Using the Remez Exchange Algorithm Electronics and Communications in Japan, Part 3, Vol. 81, No. 6, 1998 Translated from Denshi Joho Tsushin Gakkai Ronbunshi, Vol. J80-A, No. 9, September 1997, pp. 1396 1402 Design of Orthonormal Wavelet

More information

Optimum Ordering and Pole-Zero Pairing of the Cascade Form IIR. Digital Filter

Optimum Ordering and Pole-Zero Pairing of the Cascade Form IIR. Digital Filter Optimum Ordering and Pole-Zero Pairing of the Cascade Form IIR Digital Filter There are many possible cascade realiations of a higher order IIR transfer function obtained by different pole-ero pairings

More information

PS403 - Digital Signal processing

PS403 - Digital Signal processing PS403 - Digital Signal processing 6. DSP - Recursive (IIR) Digital Filters Key Text: Digital Signal Processing with Computer Applications (2 nd Ed.) Paul A Lynn and Wolfgang Fuerst, (Publisher: John Wiley

More information

Digital Filter Structures

Digital Filter Structures Chapter 8 Digital Filter Structures 清大電機系林嘉文 cwlin@ee.nthu.edu.tw 03-5731152 8-1 Block Diagram Representation The convolution sum description of an LTI discrete-time system can, in principle, be used to

More information

ECE 410 DIGITAL SIGNAL PROCESSING D. Munson University of Illinois Chapter 12

ECE 410 DIGITAL SIGNAL PROCESSING D. Munson University of Illinois Chapter 12 . ECE 40 DIGITAL SIGNAL PROCESSING D. Munson University of Illinois Chapter IIR Filter Design ) Based on Analog Prototype a) Impulse invariant design b) Bilinear transformation ( ) ~ widely used ) Computer-Aided

More information

Filters and Tuned Amplifiers

Filters and Tuned Amplifiers Filters and Tuned Amplifiers Essential building block in many systems, particularly in communication and instrumentation systems Typically implemented in one of three technologies: passive LC filters,

More information

1 1.27z z 2. 1 z H 2

1 1.27z z 2. 1 z H 2 E481 Digital Signal Processing Exam Date: Thursday -1-1 16:15 18:45 Final Exam - Solutions Dan Ellis 1. (a) In this direct-form II second-order-section filter, the first stage has

More information

ECSE 512 Digital Signal Processing I Fall 2010 FINAL EXAMINATION

ECSE 512 Digital Signal Processing I Fall 2010 FINAL EXAMINATION FINAL EXAMINATION 9:00 am 12:00 pm, December 20, 2010 Duration: 180 minutes Examiner: Prof. M. Vu Assoc. Examiner: Prof. B. Champagne There are 6 questions for a total of 120 points. This is a closed book

More information

DSP-CIS. Chapter-4: FIR & IIR Filter Design. Marc Moonen

DSP-CIS. Chapter-4: FIR & IIR Filter Design. Marc Moonen DSP-CIS Chapter-4: FIR & IIR Filter Design Marc Moonen Dept. E.E./ESAT-STADIUS, KU Leuven marc.moonen@esat.kuleuven.be www.esat.kuleuven.be/stadius/ PART-II : Filter Design/Realization Step-1 : Define

More information

We have shown earlier that the 1st-order lowpass transfer function

We have shown earlier that the 1st-order lowpass transfer function Tunable IIR Digital Filters We have described earlier two st-order and two nd-order IIR digital transfer functions with tunable frequency response characteristics We shall show now that these transfer

More information

Digital Signal Processing

Digital Signal Processing COMP ENG 4TL4: Digital Signal Processing Notes for Lecture #21 Friday, October 24, 2003 Types of causal FIR (generalized) linear-phase filters: Type I: Symmetric impulse response: with order M an even

More information

Butterworth Filter Properties

Butterworth Filter Properties OpenStax-CNX module: m693 Butterworth Filter Properties C. Sidney Burrus This work is produced by OpenStax-CNX and licensed under the Creative Commons Attribution License 3. This section develops the properties

More information

UNIVERSITY OF OSLO. Faculty of mathematics and natural sciences. Forslag til fasit, versjon-01: Problem 1 Signals and systems.

UNIVERSITY OF OSLO. Faculty of mathematics and natural sciences. Forslag til fasit, versjon-01: Problem 1 Signals and systems. UNIVERSITY OF OSLO Faculty of mathematics and natural sciences Examination in INF3470/4470 Digital signal processing Day of examination: December 1th, 016 Examination hours: 14:30 18.30 This problem set

More information

A Unified Approach to the Design of Interpolated and Frequency Response Masking FIR Filters

A Unified Approach to the Design of Interpolated and Frequency Response Masking FIR Filters A Unified Approach to the Design of Interpolated and Frequency Response Masking FIR Filters Wu Sheng Lu akao Hinamoto University of Victoria Hiroshima University Victoria, Canada Higashi Hiroshima, Japan

More information

Signal Processing. Lecture 10: FIR Filter Design. Ahmet Taha Koru, Ph. D. Yildiz Technical University Fall

Signal Processing. Lecture 10: FIR Filter Design. Ahmet Taha Koru, Ph. D. Yildiz Technical University Fall Signal Processing Lecture 10: FIR Filter Design Ahmet Taha Koru, Ph. D. Yildiz Technical University 2017-2018 Fall ATK (YTU) Signal Processing 2017-2018 Fall 1 / 47 Introduction Introduction ATK (YTU)

More information

Optimum Ordering and Pole-Zero Pairing. Optimum Ordering and Pole-Zero Pairing Consider the scaled cascade structure shown below

Optimum Ordering and Pole-Zero Pairing. Optimum Ordering and Pole-Zero Pairing Consider the scaled cascade structure shown below Pole-Zero Pairing of the Cascade Form IIR Digital Filter There are many possible cascade realiations of a higher order IIR transfer function obtained by different pole-ero pairings and ordering Each one

More information

Design of FIR Nyquist Filters with Low Group Delay

Design of FIR Nyquist Filters with Low Group Delay 454 IEEE TRASACTIOS O SIGAL PROCESSIG, VOL. 47, O. 5, MAY 999 Design of FIR yquist Filters with Low Group Delay Xi Zhang and Toshinori Yoshikawa Abstract A new method is proposed for designing FIR yquist

More information

Fourier Series Representation of

Fourier Series Representation of Fourier Series Representation of Periodic Signals Rui Wang, Assistant professor Dept. of Information and Communication Tongji University it Email: ruiwang@tongji.edu.cn Outline The response of LIT system

More information

ELEG 305: Digital Signal Processing

ELEG 305: Digital Signal Processing ELEG 305: Digital Signal Processing Lecture : Design of Digital IIR Filters (Part I) Kenneth E. Barner Department of Electrical and Computer Engineering University of Delaware Fall 008 K. E. Barner (Univ.

More information

Problem Set 9 Solutions

Problem Set 9 Solutions Problem Set 9 Solutions EE23: Digital Signal Processing. From Figure below, we see that the DTFT of the windowed sequence approaches the actual DTFT as the window size increases. Gibb s phenomenon is absent

More information

DESIGN OF LINEAR-PHASE LATTICE WAVE DIGITAL FILTERS

DESIGN OF LINEAR-PHASE LATTICE WAVE DIGITAL FILTERS DESIGN OF LINEAR-PHASE LAICE WAVE DIGIAL FILERS HŒkan Johansson and Lars Wanhammar Department of Electrical Engineering, Linkšping University S-58 83 Linkšping, Sweden E-mail: hakanj@isy.liu.se, larsw@isy.liu.se

More information

Design of Stable IIR filters with prescribed flatness and approximately linear phase

Design of Stable IIR filters with prescribed flatness and approximately linear phase Design of Stable IIR filters with prescribed flatness and approximately linear phase YASUNORI SUGITA Nagaoka University of Technology Dept. of Electrical Engineering Nagaoka city, Niigata-pref., JAPAN

More information

IT DIGITAL SIGNAL PROCESSING (2013 regulation) UNIT-1 SIGNALS AND SYSTEMS PART-A

IT DIGITAL SIGNAL PROCESSING (2013 regulation) UNIT-1 SIGNALS AND SYSTEMS PART-A DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING IT6502 - DIGITAL SIGNAL PROCESSING (2013 regulation) UNIT-1 SIGNALS AND SYSTEMS PART-A 1. What is a continuous and discrete time signal? Continuous

More information

Digital Control & Digital Filters. Lectures 21 & 22

Digital Control & Digital Filters. Lectures 21 & 22 Digital Controls & Digital Filters Lectures 2 & 22, Professor Department of Electrical and Computer Engineering Colorado State University Spring 205 Review of Analog Filters-Cont. Types of Analog Filters:

More information

EE482: Digital Signal Processing Applications

EE482: Digital Signal Processing Applications Professor Brendan Morris, SEB 3216, brendan.morris@unlv.edu EE482: Digital Signal Processing Applications Spring 2014 TTh 14:30-15:45 CBC C222 Lecture 05 IIR Design 14/03/04 http://www.ee.unlv.edu/~b1morris/ee482/

More information

Maximally Flat Lowpass Digital Differentiators

Maximally Flat Lowpass Digital Differentiators Maximally Flat Lowpass Digital Differentiators Ivan W. Selesnick August 3, 00 Electrical Engineering, Polytechnic University 6 Metrotech Center, Brooklyn, NY 0 selesi@taco.poly.edu tel: 78 60-36 fax: 78

More information

Neural Network Algorithm for Designing FIR Filters Utilizing Frequency-Response Masking Technique

Neural Network Algorithm for Designing FIR Filters Utilizing Frequency-Response Masking Technique Wang XH, He YG, Li TZ. Neural network algorithm for designing FIR filters utilizing frequency-response masking technique. JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY 4(3): 463 471 May 009 Neural Network

More information

2.161 Signal Processing: Continuous and Discrete Fall 2008

2.161 Signal Processing: Continuous and Discrete Fall 2008 IT OpenCourseWare http://ocw.mit.edu 2.161 Signal Processing: Continuous and Discrete all 2008 or information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms. assachusetts

More information

(Refer Slide Time: 01:28 03:51 min)

(Refer Slide Time: 01:28 03:51 min) Digital Signal Processing Prof. S. C. Dutta Roy Department of Electrical Engineering Indian Institute of Technology, Delhi Lecture 40 FIR Design by Windowing This is the 40 th lecture and our topic for

More information

ECE503: Digital Signal Processing Lecture 5

ECE503: Digital Signal Processing Lecture 5 ECE53: Digital Signal Processing Lecture 5 D. Richard Brown III WPI 3-February-22 WPI D. Richard Brown III 3-February-22 / 32 Lecture 5 Topics. Magnitude and phase characterization of transfer functions

More information

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science Discrete-Time Signal Processing Fall 2005

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science Discrete-Time Signal Processing Fall 2005 1 MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science 6.341 Discrete-Time Signal Processing Fall 2005 FINAL EXAM Friday, December 16, 2005 Walker (50-340) 1:30pm

More information

Linear Programming Algorithms for Sparse Filter Design

Linear Programming Algorithms for Sparse Filter Design Linear Programming Algorithms for Sparse Filter Design The MIT Faculty has made this article openly available. Please share how this access benefits you. Your story matters. Citation As Published Publisher

More information

REAL TIME DIGITAL SIGNAL PROCESSING

REAL TIME DIGITAL SIGNAL PROCESSING REAL TIME DIGITAL SIGNAL PROCESSING www.electron.frba.utn.edu.ar/dplab Digital Filters FIR and IIR. Design parameters. Implementation types. Constraints. Filters: General classification Filters: General

More information

Analog and Digital Filter Design

Analog and Digital Filter Design Analog and Digital Filter Design by Jens Hee http://jenshee.dk October 208 Change log 28. september 208. Document started.. october 208. Figures added. 6. october 208. Bilinear transform chapter extended.

More information

MITOCW watch?v=jtj3v Rx7E

MITOCW watch?v=jtj3v Rx7E MITOCW watch?v=jtj3v Rx7E The following content is provided under a Creative Commons license. Your support will help MIT OpenCourseWare continue to offer high quality educational resources for free. To

More information

Digital Speech Processing Lecture 10. Short-Time Fourier Analysis Methods - Filter Bank Design

Digital Speech Processing Lecture 10. Short-Time Fourier Analysis Methods - Filter Bank Design Digital Speech Processing Lecture Short-Time Fourier Analysis Methods - Filter Bank Design Review of STFT j j ˆ m ˆ. X e x[ mw ] [ nˆ m] e nˆ function of nˆ looks like a time sequence function of ˆ looks

More information

Review of Fundamentals of Digital Signal Processing

Review of Fundamentals of Digital Signal Processing Chapter 2 Review of Fundamentals of Digital Signal Processing 2.1 (a) This system is not linear (the constant term makes it non linear) but is shift-invariant (b) This system is linear but not shift-invariant

More information

Cast of Characters. Some Symbols, Functions, and Variables Used in the Book

Cast of Characters. Some Symbols, Functions, and Variables Used in the Book Page 1 of 6 Cast of Characters Some s, Functions, and Variables Used in the Book Digital Signal Processing and the Microcontroller by Dale Grover and John R. Deller ISBN 0-13-081348-6 Prentice Hall, 1998

More information

DIGITAL SIGNAL PROCESSING. Chapter 6 IIR Filter Design

DIGITAL SIGNAL PROCESSING. Chapter 6 IIR Filter Design DIGITAL SIGNAL PROCESSING Chapter 6 IIR Filter Design OER Digital Signal Processing by Dr. Norizam Sulaiman work is under licensed Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International

More information

EEO 401 Digital Signal Processing Prof. Mark Fowler

EEO 401 Digital Signal Processing Prof. Mark Fowler EEO 41 Digital Signal Pocessing Pof. Mak Fowle Note Set #31 Linea Phase FIR Design Optimum Equiipple (Paks-McClellan) Reading: Sect. 1.2.4 1.2.6 of Poakis & Manolakis 1/2 Motivation The window method and

More information

Discrete-time Symmetric/Antisymmetric FIR Filter Design

Discrete-time Symmetric/Antisymmetric FIR Filter Design Discrete-time Symmetric/Antisymmetric FIR Filter Design Presenter: Dr. Bingo Wing-Kuen Ling Center for Digital Signal Processing Research, Department of Electronic Engineering, King s College London. Collaborators

More information

DEPARTMENT OF EI DIGITAL SIGNAL PROCESSING ASSIGNMENT 1

DEPARTMENT OF EI DIGITAL SIGNAL PROCESSING ASSIGNMENT 1 This PDF is Created by Simpo PDF Creator unregistered version - http://wwwsimpopdfcom Study hard, for the well is deep, and our brains are shallow DEPARTMENT OF EI DIGITAL SIGNAL PROCESSING ASSIGNMENT

More information

Review of Fundamentals of Digital Signal Processing

Review of Fundamentals of Digital Signal Processing Solution Manual for Theory and Applications of Digital Speech Processing by Lawrence Rabiner and Ronald Schafer Click here to Purchase full Solution Manual at http://solutionmanuals.info Link download

More information

A DESIGN OF FIR FILTERS WITH VARIABLE NOTCHES CONSIDERING REDUCTION METHOD OF POLYNOMIAL COEFFICIENTS FOR REAL-TIME SIGNAL PROCESSING

A DESIGN OF FIR FILTERS WITH VARIABLE NOTCHES CONSIDERING REDUCTION METHOD OF POLYNOMIAL COEFFICIENTS FOR REAL-TIME SIGNAL PROCESSING International Journal of Innovative Computing, Information and Control ICIC International c 23 ISSN 349-498 Volume 9, Number 9, September 23 pp. 3527 3536 A DESIGN OF FIR FILTERS WITH VARIABLE NOTCHES

More information

SPEECH ANALYSIS AND SYNTHESIS

SPEECH ANALYSIS AND SYNTHESIS 16 Chapter 2 SPEECH ANALYSIS AND SYNTHESIS 2.1 INTRODUCTION: Speech signal analysis is used to characterize the spectral information of an input speech signal. Speech signal analysis [52-53] techniques

More information

Analysis of Finite Wordlength Effects

Analysis of Finite Wordlength Effects Analysis of Finite Wordlength Effects Ideally, the system parameters along with the signal variables have infinite precision taing any value between and In practice, they can tae only discrete values within

More information

Digital Signal Processing Lecture 8 - Filter Design - IIR

Digital Signal Processing Lecture 8 - Filter Design - IIR Digital Signal Processing - Filter Design - IIR Electrical Engineering and Computer Science University of Tennessee, Knoxville October 20, 2015 Overview 1 2 3 4 5 6 Roadmap Discrete-time signals and systems

More information

Design of Coprime DFT Arrays and Filter Banks

Design of Coprime DFT Arrays and Filter Banks Design o Coprime DFT Arrays and Filter Banks Chun-Lin Liu clliu@caltechedu P P Vaidyanathan ppvnath@systemscaltechedu Digital Signal Processing Group Electrical Engineering Caliornia Institute o Technology

More information

LTI Discrete-Time Systems in Transform Domain Ideal Filters Zero Phase Transfer Functions Linear Phase Transfer Functions

LTI Discrete-Time Systems in Transform Domain Ideal Filters Zero Phase Transfer Functions Linear Phase Transfer Functions LTI Discrete-Time Systems in Transform Domain Ideal Filters Zero Pase Transfer Functions Linear Pase Transfer Functions Tania Stataki 811b t.stataki@imperial.ac.uk Types of Transfer Functions Te time-domain

More information

The basic structure of the L-channel QMF bank is shown below

The basic structure of the L-channel QMF bank is shown below -Channel QMF Bans The basic structure of the -channel QMF ban is shown below The expressions for the -transforms of various intermediate signals in the above structure are given by Copyright, S. K. Mitra

More information

A REALIZATION OF FIR FILTERS WITH SIMULTANEOUSLY VARIABLE BANDWIDTH AND FRACTIONAL DELAY. Håkan Johansson and Amir Eghbali

A REALIZATION OF FIR FILTERS WITH SIMULTANEOUSLY VARIABLE BANDWIDTH AND FRACTIONAL DELAY. Håkan Johansson and Amir Eghbali 0th European Signal Processing Conference (EUSIPCO 01) Bucharest, Romania, August 7-31, 01 A REALIZATION OF FIR FILTERS WITH SIMULTANEOUSLY VARIABLE BANDWIDTH AND FRACTIONAL DELAY Håkan Johansson and Amir

More information

Lecture 3 - Design of Digital Filters

Lecture 3 - Design of Digital Filters Lecture 3 - Design of Digital Filters 3.1 Simple filters In the previous lecture we considered the polynomial fit as a case example of designing a smoothing filter. The approximation to an ideal LPF can

More information

# FIR. [ ] = b k. # [ ]x[ n " k] [ ] = h k. x[ n] = Ae j" e j# ˆ n Complex exponential input. [ ]Ae j" e j ˆ. ˆ )Ae j# e j ˆ. y n. y n.

# FIR. [ ] = b k. # [ ]x[ n  k] [ ] = h k. x[ n] = Ae j e j# ˆ n Complex exponential input. [ ]Ae j e j ˆ. ˆ )Ae j# e j ˆ. y n. y n. [ ] = h k M [ ] = b k x[ n " k] FIR k= M [ ]x[ n " k] convolution k= x[ n] = Ae j" e j ˆ n Complex exponential input [ ] = h k M % k= [ ]Ae j" e j ˆ % M = ' h[ k]e " j ˆ & k= k = H (" ˆ )Ae j e j ˆ ( )

More information

Part 4: IIR Filters Optimization Approach. Tutorial ISCAS 2007

Part 4: IIR Filters Optimization Approach. Tutorial ISCAS 2007 Part 4: IIR Filters Optimization Approach Tutorial ISCAS 2007 Copyright 2007 Andreas Antoniou Victoria, BC, Canada Email: aantoniou@ieee.org July 24, 2007 Frame # 1 Slide # 1 A. Antoniou Part4: IIR Filters

More information

Design of Narrow Stopband Recursive Digital Filter

Design of Narrow Stopband Recursive Digital Filter FACTA UNIVERSITATIS (NIŠ) SER.: ELEC. ENERG. vol. 24, no. 1, April 211, 119-13 Design of Narrow Stopband Recursive Digital Filter Goran Stančić and Saša Nikolić Abstract: The procedure for design of narrow

More information

representation of speech

representation of speech Digital Speech Processing Lectures 7-8 Time Domain Methods in Speech Processing 1 General Synthesis Model voiced sound amplitude Log Areas, Reflection Coefficients, Formants, Vocal Tract Polynomial, l

More information

Introduction to Digital Signal Processing

Introduction to Digital Signal Processing Introduction to Digital Signal Processing 1.1 What is DSP? DSP is a technique of performing the mathematical operations on the signals in digital domain. As real time signals are analog in nature we need

More information

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science. Fall Solutions for Problem Set 2

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science. Fall Solutions for Problem Set 2 Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Issued: Tuesday, September 5. 6.: Discrete-Time Signal Processing Fall 5 Solutions for Problem Set Problem.

More information