Frequency-Response Masking FIR Filters

Similar documents
Narrow-Band and Wide-Band Frequency Masking FIR Filters with Short Delay

Design of a Sharp Linear-Phase FIR Filter Using the α-scaled Sampling Kernel

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

Design of IIR Half-Band Filters with Arbitrary Flatness and Its Application to Filter Banks

Experiment 4- Finite Impulse Response Filters

Continuously Variable Bandwidth Sharp FIR Filters with Low Complexity

F I R Filter (Finite Impulse Response)

Signals and Systems Lecture 6: Fourier Applications

4. Design of Discrete-Time Filters

Design of Two-Channel Low-Delay FIR Filter Banks Using Constrained Optimization

Design of FIR Filters

ECE438 - Laboratory 7a: Digital Filter Design (Week 1) By Prof. Charles Bouman and Prof. Mireille Boutin Fall 2015

GEORGIA INSTITUTE OF TECHNOLOGY. SCHOOL of ELECTRICAL and COMPUTER ENGINEERING. ECE 2026 Summer 2018 Lab #8: Filter Design of FIR Filters

DSP Laboratory (EELE 4110) Lab#10 Finite Impulse Response (FIR) Filters

Signals and Systems Lecture 6: Fourier Applications

Interpolation Filters for the GNURadio+USRP2 Platform

ELEC-C5230 Digitaalisen signaalinkäsittelyn perusteet

Digital Filters IIR (& Their Corresponding Analog Filters) Week Date Lecture Title

Infinite Impulse Response (IIR) Filter. Ikhwannul Kholis, ST., MT. Universitas 17 Agustus 1945 Jakarta

IIR Filter Design Chapter Intended Learning Outcomes: (i) Ability to design analog Butterworth filters

MULTIRATE DIGITAL SIGNAL PROCESSING

DIGITAL FILTERS. !! Finite Impulse Response (FIR) !! Infinite Impulse Response (IIR) !! Background. !! Matlab functions AGC DSP AGC DSP

Digital Processing of Continuous-Time Signals

Narrow-Band Low-Pass Digital Differentiator Design. Ivan Selesnick Polytechnic University Brooklyn, New York

Digital Processing of

Multiple Constant Multiplication for Digit-Serial Implementation of Low Power FIR Filters

Multirate Digital Signal Processing

Quantized Coefficient F.I.R. Filter for the Design of Filter Bank

This document is downloaded from DR-NTU, Nanyang Technological University Library, Singapore.

Part One. Efficient Digital Filters COPYRIGHTED MATERIAL

Aparna Tiwari, Vandana Thakre, Karuna Markam Deptt. Of ECE,M.I.T.S. Gwalior, M.P, India

Noise removal example. Today s topic. Digital Signal Processing. Lecture 3. Application Specific Integrated Circuits for


Implementation of CIC filter for DUC/DDC

On Minimizing the Look-up Table Size in Quasi Bandlimited Classical Waveform Oscillators

Biosignal filtering and artifact rejection. Biosignal processing, S Autumn 2012

Window Method. designates the window function. Commonly used window functions in FIR filters. are: 1. Rectangular Window:

Digital Filters FIR and IIR Systems

Estimation of filter order for prescribed, reduced group delay FIR filter design

Analog Lowpass Filter Specifications

Simulation of Frequency Response Masking Approach for FIR Filter design

Trade-Offs in Multiplier Block Algorithms for Low Power Digit-Serial FIR Filters

B.Tech III Year II Semester (R13) Regular & Supplementary Examinations May/June 2017 DIGITAL SIGNAL PROCESSING (Common to ECE and EIE)

AUTOMATIC IMPLEMENTATION OF FIR FILTERS ON FIELD PROGRAMMABLE GATE ARRAYS

Digital Filtering: Realization

Comparison of Different Techniques to Design an Efficient FIR Digital Filter

CS3291: Digital Signal Processing

Design and Simulation of Two Channel QMF Filter Bank using Equiripple Technique.

Performance Analysis of FIR Filter Design Using Reconfigurable Mac Unit

Final Exam Solutions June 14, 2006

A Lower Transition Width FIR Filter & its Noise Removal Performance on an ECG Signal

Laboratory Assignment 4. Fourier Sound Synthesis

arxiv: v1 [cs.it] 9 Mar 2016

Part B. Simple Digital Filters. 1. Simple FIR Digital Filters

APPENDIX A to VOLUME A1 TIMS FILTER RESPONSES

Team proposals are due tomorrow at 6PM Homework 4 is due next thur. Proposal presentations are next mon in 1311EECS.

Application of Fourier Transform in Signal Processing

Design of Digital Filter and Filter Bank using IFIR

PARALLEL coupled-line filters are widely used in microwave

Experiment 2 Effects of Filtering

Multirate DSP, part 1: Upsampling and downsampling

Design and Efficiency Analysis of one Class of Uniform Linear Phase FIR Filter Banks

8: IIR Filter Transformations

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District DEPARTMENT OF INFORMATION TECHNOLOGY DIGITAL SIGNAL PROCESSING UNIT 3

EE 470 Signals and Systems

THE DESIGN of microwave filters is based on

ON THEAPPLICATIONS OF THE FREQUENCY-RESPONSE MASKING TECHNIQUE IN ARRAY BEAMFORMING*

Active Filter Design Techniques

STANFORD UNIVERSITY. DEPARTMENT of ELECTRICAL ENGINEERING. EE 102B Spring 2013 Lab #05: Generating DTMF Signals

A Comparative Performance Analysis of High Pass Filter Using Bartlett Hanning And Blackman Harris Windows

Optimized FIR filter design using Truncated Multiplier Technique

Almost Perfect Reconstruction Filter Bank for Non-redundant, Approximately Shift-Invariant, Complex Wavelet Transforms

Module 9 AUDIO CODING. Version 2 ECE IIT, Kharagpur

Advanced Digital Signal Processing Part 5: Digital Filters

Copyright S. K. Mitra

Design of infinite impulse response (IIR) bandpass filter structure using particle swarm optimization

ECE 4213/5213 Homework 10

Design of IIR Digital Filters with Flat Passband and Equiripple Stopband Responses

On the design and efficient implementation of the Farrow structure. Citation Ieee Signal Processing Letters, 2003, v. 10 n. 7, p.

Design of FIR Filter on FPGAs using IP cores

APPLIED SIGNAL PROCESSING

Time-skew error correction in two-channel time-interleaved ADCs based on a two-rate approach and polynomial impulse responses

Application of Hardware Efficient CIC Compensation Filter in Narrow Band Filtering

IIR Ultra-Wideband Pulse Shaper Design

Design Of Multirate Linear Phase Decimation Filters For Oversampling Adcs

1. Find the magnitude and phase response of an FIR filter represented by the difference equation y(n)= 0.5 x(n) x(n-1)

Two-Dimensional Wavelets with Complementary Filter Banks

EKT 356 MICROWAVE COMMUNICATIONS CHAPTER 4: MICROWAVE FILTERS

A novel design of sparse FIR multiple notch filters with tunable notch frequencies

Design Digital Non-Recursive FIR Filter by Using Exponential Window

FIR Filters Digital Filters Without Feedback

Optimal Design RRC Pulse Shape Polyphase FIR Decimation Filter for Multi-Standard Wireless Transceivers

LECTURER NOTE SMJE3163 DSP

DAPL IIR Filter Module Manual

Low Complexity Spectrum Sensing using Variable Digital Filters for Cognitive Radio based Air-Ground Communication

EE247 - Lecture 2 Filters. EECS 247 Lecture 2: Filters 2005 H.K. Page 1. Administrative. Office hours for H.K. changed to:

Keywords FIR lowpass filter, transition bandwidth, sampling frequency, window length, filter order, and stopband attenuation.

Complex Digital Filters Using Isolated Poles and Zeroes

Tirupur, Tamilnadu, India 1 2

Transcription:

Frequency-Response Masking FIR Filters Georg Holzmann June 14, 2007 With the frequency-response masking technique it is possible to design sharp and linear phase FIR filters. Therefore a model filter and its complementary filter is generated and then each delay of these filters is replaced by M delays, which results in periodic, complementary model filters with much sharper transition bands. Finally two masking filters extract the desired bands to generate low-pass, high-pass, bandpass or bandstop filters with arbitrary bandwidth. Contents 1 Introduction 2 1.1 Filters Preserving Phase............................... 2 2 Frequency Response Masking 3 2.1 Narrow Band Filter Design............................. 3 2.2 Arbitrary Bandwidth Filter Design......................... 3 3 Parameter Optimization 7 3.1 Ripples of F...................................... 7 3.2 Optimizing F..................................... 8 3.3 Optimizing M..................................... 8 3.4 Multistage Frequency Response Masking...................... 8 3.5 Powers-of-Two Design Technique.......................... 9 4 Examples 9 4.1 Single-Stage Design.................................. 9 4.2 Multi-Stage Design.................................. 9 5 Conclusion 10 1

1 Introduction Frequency-response masking filters are a technique to design sharp low-pass, high-pass, bandpass and bandstop filters with arbitrary passband bandwidth, as first proposed by Lim in [4]. Furthermore this technique generates linear phase FIR filters, which have advantages such as guaranteed stability and are free of phase distortion. However, usually the problem with FIR filters is the high complexity for sharp filters, therefore the frequency-response masking technique results in filters with very sparse coefficients. Since only a very small fraction of its coefficient values are nonzero, its complexity is very much lower than the infinite wordlength minimax optimum filter (see [1]). With an additional multiplierless design method the complexity can be reduced to a minimum. This report is structured in five sections. In the rest of this Introduction some general principles of filters preserving phase are shown. Section 2 presents the general idea behind the frequency-response masking technique and Section 3 shows some optimization methods for its parameters. Finally examples are presented in Section 4 and some final remarks are given in Section 5. 1.1 Filters Preserving Phase Linear Phase FIR filters have the following properties (according to [6]): in linear phase FIR filters phase is a linear function of frequency they have a symmetric impulse response the phase delay ( phase ω ) is constant ( N 1 ) at every frequency also the group delay ( d N 1 dω phase) is constant ( 2 ) 2 A special case of linear phase filters are zero phase filters, where the phase delay is zero. The impulse response of such a filter is even about time 0 h(n) = h( n) therefore a zero phase filter cannot be causal (see figure 1). A real, even impulse response also corresponds to a real, even frequency response. Symmetric Linear Phase Filters are derived from a delayed zero-phase filter to be causal, therefore they are symmetric about the midpoint: h(n) = h(n 1 n), n = 0, 1,..., N 1 If H ZP is a zero-phase filter and N is odd, the following relationships are valid for the symmetric linear phase filter H(z): h ZP (n) = h(n N 1 ), n = 0, 1,..., N 1 2 H(z) = z N 1 2 H ZP (z) H(e jωt N 1 jω ) = e 2 T H ZP (e jωt ) 2

Figure 1: Impulse and frequency response of an non causal, length 11 zero phase FIR lowpass filter, both are real and even. 2 Frequency Response Masking 2.1 Narrow Band Filter Design In the basic frequency masking principle a linear phase model filter is used and each delay of this filter is replaced by M delays (which corresponds to an up sampling). This results in a periodic filter, the model and its images, with much sharper transition bands. Finally a masking filter extracts the desired band. Figure 2 illustrates this concept: A low-pass filter H a (z) with transition width a is used as a model filter. Then each delay of H a (z) is replaced by M delays to get a periodic filter with sharper transition bands: H b (z) = H a (z M ). If one uses the masking filter H c (z) the resulting frequency response H d (e jω ) = H b (e jω )H c (e jω ) can be generated with transition width a /M. If the masking filter H e (z) is used the resulting frequency response will be H f (e jω ) = H b (e jω )H e (e jω ), which is a bandpass filter. With this method it is possible to derive sharp filters (transition width a /M) from filters with much wider transition band (transition width a ). The advantages are, that only a few coefficients in the model filter are nonzero, so the overall complexity is very low. However, this is only suitable for narrow-band filters, because the passband bandwidth is reduced by the same factor. 2.2 Arbitrary Bandwidth Filter Design To extend this idea to an arbitrary bandwidth design, we construct an additional complementary filter to the model filter F a. Consider a filter F c complementary to the model filter F a. The z-transform of the symmetric 3

Figure 2: Frequency-response masking principle for narrow band filters. Description in the text. linear phase filter F a is F a (z) = z N 1 2 F a,zp (z) where F a,zp (z) is a zero-phase filter and N is odd. The complementary filter F c can be written as which results in F c (z) = z N 1 2 (1 F a,zp (z)) F c (z) = z N 1 2 F a (z) Therefore we can implement the complementary filter F c by subtracting the output of F a from a delayed version of the input (see figure 3). This can be realized without using extra delays, when we reuse the delays in F a as illustrated in figure 4. If now two masking filters, F Ma and F Mc for F a and F c, are used, it s possible to design wide-band sharp filters as shown in figure 5. Then we get the following filter F (z): 4

Figure 3: Realization of the complementary filter F c. Figure 4: Realization of the complementary filter F c reusing the delays of F a. F (z) = F a (z M )F Ma (z) + (z N 1 2 F a (z M ))F Mc (z) Figure 5: General structure of frequency-response masking filters. The whole concept is explained again according to figure 6: A model filter F a with cutoff frequencies θ and φ and its complementary filter F c is used. Replacing each delay of F a and F c by M delays results in periodic, complementary model filters. In the first example the masking filters F Ma and F Mc are used and one gets a resulting frequency response F (e jω ) with band edges ω P and ω S. In the second example the masking filter results in a different frequency response F (e jω ). Here it is possible to distinguish between two cases: Case1: the frequency response of F near the transition band is determined mainly by F a (as in the first example of figure 6), then pass- and stopband is defined by ω P = 2mπ + θ M, ω S = 2mπ + φ M 5

Figure 6: Frequency-response masking principle for arbitrary bandwidth filters. Description in the text. where m is an integer, indicating the images of the model filter. Case2: the frequency response of F near the transition band is mainly determined by F c (as in the second example of figure 6), then pass- and stopband is defined by ω P = 2mπ φ M, ω S = 2mπ θ M If one wants to synthesize a frequency-response masking filter, the parameters ω P and ω S are 6

given and m,m,θ,φ must be determined. M should be chosen that the overall complexity of the filter is minimized: for increasing M the masking filters must be sharper (higher complexity) and the model filters can be broader (lower complexity). Therefore this leads to an optimization problem, which is the topic of the next section. 3 Parameter Optimization 3.1 Ripples of F An other important issue are the ripples of the overall filter F (e jω ). In order to choose the right parameters we have to analyze the influence of the model and masking filters on the ripples. Let G(ω) be the desired value and δ(ω) the deviation from this value for each filter. Then we can express the filter F (e jω ) with G and δ of the individual filters: G(ω) + δ(ω) = (G Ma (ω) + δ Ma (ω))(g a (ω) + δ a (ω)) +(G Mc (ω) + δ Mc (ω))(1 G a (ω) δ a (ω)) We will now examine the effects of the parts of this formula for three different frequency ranges. Frequency Range 1: G Ma (ω) = G Mc (ω) = 1, so we are in the passband of F. In this range G(ω) = 1 and δ only depends on the masking filters: G(ω) = 1 G a (ω) = 1, δ(ω) δ Ma (ω) G a (ω) = 0, δ(ω) δ Mc (ω) Frequency Range 2: G Ma (ω) = G Mc (ω) = 0, which is the stopband of F. Here G(ω) = 0 and δ is the same as in Range 1: G(ω) = 0 G a (ω) = 1, δ(ω) δ Ma (ω) G a (ω) = 0, δ(ω) δ Mc (ω) Therefore, as a result from analyzing Range 1 and 2, F Ma and F Mc could be interpreted as low-pass filters with don t care bands within their pass- and stopbands (see figure 7), because F only depends on δ Ma (ω) if G a (ω) = 1 or on δ Mc (ω) if G a (ω) = 0. These don t care bands help to reduce the complexity of the masking filters. Frequency Range 3: G Ma (ω) G Mc (ω), this is the transition band of F. Here δ(ω) is a more complex function of δ a (ω), δ Ma (ω) and δ Mc (ω). However, it is possible to design the filter F a such that δ a (ω) partially compensates δ Ma (ω) and δ Mc (ω) in the transition band, as described in 3.2. 7

Figure 7: Don t Care bands of the masking filters. 3.2 Optimizing F As already said, F a has to be designed to compensate for δ Ma (ω) and δ Mc (ω), therefore a linear equation relating δ(ω) and F a must be obtained. According to [4] the following relation can be used: δ(ω) = F a,zp (Mω)(G Ma (ω) + δ Ma (ω) G Mc (ω) δ Mc (ω)) +G Mc (ω) + δ Mc (ω) G(ω) Now the minimization of δ(ω) in the transition band is a linear programming filter design problem and can be solved by a standard mathematical programming package as described in [3]. 3.3 Optimizing M There is no closed-form analytic expression for finding the optimum value of M (in [4]). Therefore a good choice of M can be obtained by estimating the filter complexity for each M (the number of nonzero multipliers) and then selecting the M which corresponds to the lowest estimate. However, many more recent papers address the right selection of the parameter M and suggest optimized designs (e.g. in [5]). 3.4 Multistage Frequency Response Masking The model and masking filters may again be synthesized using the frequency response masking technique, producing a multistage frequency response masking design. In figure 8 a two-stage design is shown, replacing the model filter with another frequency-response masking filter. 8

Figure 8: Multistage Frequency Response Masking: the model filter is replaced with another frequency-response masking filter. More details to find the right parameters for multistage frequency-response masking filters can be found in [5]. 3.5 Powers-of-Two Design Technique The complexity of the filter may be further reduced by constraining all the coefficient values to be a sum or difference of two powers-of-two using the powers-of-two design technique as described in [2]. In this case, all the multiplications can be performed just by using shifts and adds. 4 Examples 4.1 Single-Stage Design In this example a single-stage frequency-response masking filter, using the power-of-two design technique is designed (taken from [4]). The synthesized filter should meet the following specifications: bandedges at 0.3 and 0.305 sampling frequencies a maximum passband deviation of 0.1 db a minimum stopband attenuation of -40 db The frequency response of the synthesized filter is shown in figure 9. This filter requires 202 shift-add operations per sampling interval, whereas the infinite precision minimax optimum design requires 383 multiply and 382 add operations. 4.2 Multi-Stage Design The next example uses a multi-stage design technique (taken from [5]). The synthesized filter should meet the following specifications: bandedges at 0.2 and 0.2001 sampling frequencies a maximum passband deviation of 0.05 db 9

Figure 9: Synthesized, single-stage frequency-response masking low-pass filter as described in the text. Left the whole frequency response, right zoomed into the passband. a minimum stopband attenuation of -50 db The frequency response of the synthesized filter is shown in figure 10. Figure 10: Synthesized, multi-stage frequency-response masking low-pass filter as described in the text. Left the whole frequency response, right zoomed into the passband. In this example a five stage design was used with M 1 = M 2 = M 3 = M 4 = 4 and M 5 = 3. The total number of multipliers is 125, whereas the infinite precision minimax optimum design requires 12055 multiplications (!). 5 Conclusion In the frequency-response masking technique a model filter and its complementary filter is generated, as first proposed in [4]. Then each delay of these filters is replaced by M delays, 10

which results in periodic, complementary model filters with much sharper transition bands. Finally two masking filters extract the desired band. So it is possible to design sharp low-pass, high-pass, bandpass and bandstop linear phase filters with arbitrary passband bandwidth and the complexity of the resulting filter is very low, because only a small fraction of its coefficients are nonzero. With additional optimization methods (like multiplierless or multi-stage design), which is subject of many recent papers, it is possible to reduce the complexity to a minimum. References [1] O. Herrmann. Practical design rules for optimum finite impulse response lowpass digital filters. 1973. Bell Syst. Tech. J., vol. 52. [2] Y. C. Lim and S. R. Parker. Fir filter design over a dicrete powers-of-two coefficient space. 1983. IEEE transactions on circuits and systems. [3] Yong Ching Lim. Efficient special purpose linear programming for fir filter design. 1983. IEEE Trans. Acoust., Speech, Signal Processing, vol. ASSP-31. [4] Yong Ching Lim. Frequency-response masking approach for the synthesis of sharp linear phase digital filters. 1986. IEEE transactions on circuits and systems. [5] Yong Ching Lim. The optimum design of one- and two-dimensional fir filters using the frequency response masking technique. 1993. IEEE transactions on circuits and systems. [6] Julius O. Smith. Introduction to digital filters. 2006. Center for Computer Research in Music and Acoustics (CCRMA), Stanford University. 11