Digital Signal Processing Module

Total Page:16

File Type:pdf, Size:1020Kb

Digital Signal Processing Module Module-16:Finite Impulse Response (FIR) Digital Filters Objectives: • To understand the concept of linear phase • To know the method of identifying the linear phase filter from its impulse response • To know the ways of identifying various types of linear phase filters • To understand the characteristics of FIR digital filters • To understand the frequency response of FIR filters • To differentiate between FIR and IIR filters based on various Characteristics Introduction: ❖ Linear Time Invariant systems can be classified according to whether the unit sample response sequence is of finite duration or is of infinite duration i.e. whether or not it has only a finite number of non zero terms. ❖ If the unit sample response sequence of the LTI system is of finite duration, the system is referred to as Finite Impulse Response system. ❖ The system with unit sample response ℎ(푛) = 푎푛푢(푛) is an example for IIR system and the system with unit sample response ℎ(푛) = 2 푓표푟 푛 = −1, 1 { 1 푓표푟 푛 = 0 } is an example for FIR system. 0 표푡ℎ푒푟푤푖푠푒 ∞ ❖ The response 푦(푛) for an input of 푥(푛) has the form 푦(푛) = ∑푘=−∞ 푥(푛 − 푘)ℎ(푘) = 푥(푛 + 1)ℎ(−1) + 푥(푛)ℎ(0) + 푥(푛 − 1)ℎ(1) = 2푥(푛 + 1) + 푥(푛) + 2푥(푛 − 1) This is the difference equation or recurrence relation expressing 푦(푛) in terms of the input only. It does not depend on other output values. ❖ A discrete LTI system can be described by the Nth order linear constant coefficient difference equation as 푁 푀 ∑푘=0 푎푘 푦(푛 − 푘) = ∑푚=0 푏푚 푥(푛 − 푚) ----(1) 1 푁 푀 ❖ From the above eqn., 푦(푛) = [− ∑푘=1 푎푘 푦(푛 − 푘) + ∑푚=0 푏푚 푥(푛 − 푎0 푚)] ---(2) ❖ If some 푎푘, 1 ≤ 푘 ≤ 푁 푖푠 푛표푛 푧푒푟표, the system represented by above eqn. Is an IIR system. ❖ If some 푎푘 = 0, 1 ≤ 푘 ≤ 푁, the above eqn. becomes 푦(푛) = 푀 푏푚 ∑푚=0 푥(푛 − 푚) --(3) 푎0 ∞ ❖ Comparing this eqn. with 푦(푛) = ∑푚=−∞ ℎ(푚)푥(푛 − 푚), 푏푚 푓표푟 푚 = 0,1, … 푀 ℎ(푚) = [ 푎0 ] which is an FIR system ---(4) 0 표푡ℎ푒푟푤푖푠푒 ❖ A discrete LTI is stable if and only if its unit sample response is absolutely summable i.e. ∞ ∑푘=−∞|ℎ(푘)| < ∞ ---(5) ❖ An FIR system described by eqn.(1) when 푎푘 = 0, 푘 = 1,2, … , 푁 is always stable since there are only a finite number of non zero samples h(n) and the series in eqn.(5) always converges. ❖ For any system to be physically realizable, it should be causal. ❖ A LTI system can be checked for causality by using the condition ℎ(푛) = 0 푓표푟 푛 < 0 , where h(n) is the unit sample response of the system. ❖ In the case of an FIR filter, even though h(n) is non causal, it can be sufficiently delayed to obtain a causal sequence( because of its finite length) representing a realizable filter. Thus, a realizable filter can always be obtained for an FIR filter. concept of Linear Phase: ➢ An ideal filter shows perfect transmission in the pass band and perfect ejection in the stop band ➢ Perfect transmission implies a transfer function with constant gain and linear phase over the pass band. ➢ The corresponding transfer Function can be given as 퐻(푓) = 퐾. 푒−푗푛휔, over the pass band, where 휔 = 2휋푓 ➢ The gain of a filter is given by |퐻(푓)| ➢ Constant gain 퐾 ensures that the output is an amplitude scaled replica of the input. ➢ If the gain is not constant over the required frequency range, it results in amplitude distortion ➢ The phase response of the filter is 휑(휔) = −휔푛. Linear phase ensures that the output is a time shifted replica of the input. ➢ If the phase shift is not linear with frequency, it results in Phase distortion, as the signal undergoes different delays for different frequencies. ➢ The DC gain of the filter will be at 푓 = 0 표푟 휔 = 0 and the high frequency gain is at 푓 = 0.5 표푟 휔 = 휋 . ➢ Computation of DC gain: ▪ 퐻(푧)푎푡 푧 = 1 ▪ 퐻(휔)푎푡 푓 = 0 표푟 휔 = 0 ▪ 퐻(0) = ∑ ℎ(푛) ▪ Ratio of sum of the RHS coefficients to that of LHS coefficients of the difference equation, where RHS refers to excitation and LHS refers to the response ➢ Computation of High Frequency gain: ▪ 퐻(푧)푎푡 푧 = −1 ▪ 퐻(휔) 푎푡 푓 = 0.5 표푟 휔 = 휋 푛 ▪ 퐻(휔)|휔=0.5 = ∑(−1) ℎ(푛) ▪ 푅푒푣푒푟푠푒 푡ℎ푒 푠푖푔푛 표푓 푎푙푡푒푟푛푎푡푒 푐표푒푓푓푖푐푖푒푛푡푠 표푓 푅퐻푆 푎푛푑 퐿퐻푆 표푓 푡ℎ푒 푑푖푓푓푒푟푒푛푐푒 푒푞푢푎푡푖표푛 푎푛푑 푡푎푘푒 푡ℎ푒 푟푎푡푖표 표푓 푡ℎ푒푖푟 푠푢푚 ➢ Phase delay of a sinusoid 푥(푡) = 퐴. cos(휔0푡 + 휃) = 퐴. cos [휔0(푡 − 푡푝)] is the quantity 휃 푡푝 = − and describes the time delay in the signal caused by a phase shift 휔0 of ‘휃′ 1 퐻(푓0) ➢ Phase delay of a digital filter is defined as 푡푝(푓0) = − . 2휋 푓0 ➢ Ex. 푐표푛푠푖푑푒푟 푦(푛) = 푥(푛) + 푥(푛 − 1) 푗휔 2 휔 − ⁄ . 푇ℎ푒 푐표푟푟푒푠푝표푛푑푖푛푔 퐻(휔) = 4퐶표푠 ( ) . 푒 2. 2 푇ℎ푢푠, 푡ℎ푒 푝ℎ푎푠푒 푟푒푠푝표푛푠푒 푖푠휃(휔) = 휔 휃(휔) 1 − . 푇ℎ푒 푐표푟푟푒푠푝표푛푑푖푛푔 푝ℎ푎푠푒 푑푒푙푎푦 푖푠 = . This system exhibits 2 휔 2 half a sample of time delay at each frequency. 1 푑퐻(푓) ➢ The Group delay of a digital filter is defined as푡 (푓) = − . 푔 2휋 푑푓 ➢ The group delay may be interpreted as the time delay of the amplitude of a sinusoid at frequency 휔 ➢ It refers to the fact that it specifies the delay experienced by a narrow-band ``group'' of sinusoidal components which have frequencies within a narrow frequency interval about ➢ For linear phase responses, i.e.,휃(휔) = −훼휔 for some constant 훼, the group delay and the phase delay are identical, and each may be interpreted as time delay (equal to 훼 samples when 휔 ∈ (−휋, 휋) ➢ For the system 푦(푛) = 푥(푛) + 푥(푛 − 1), 푡ℎ푒 푝ℎ푎푠푒 푟푒푠푝표푛푠푒 푖푠휃(휔) = 휔 − . 2 ➢ Thus, both the phase delay and the group delay of the above system are equal to half a sample at every frequency. ➢ For a linear phase filter, both Group delay and phase delay are constant. ➢ If the phase response is nonlinear then the relative phases of the sinusoidal signal components are generally altered by the filter. FIR filters and Linear Phase: ▪ The DTFT of a filter whose impulse response is symmetric about the origin is purely real or purely imaginary. ▪ The phase of such a filter is thus piecewise constant ▪ If the symmetric sequence is shifted (to make it causal), the phase is augmented by a linear phase term and becomes piecewise linear ▪ Generally, a filter whose impulse response is symmetric about its midpoint is termed as Linear Phase Filter. ▪ Linearity in phase results in a pure time delay with no amplitude distortion. ▪ An FIR filter with an impulse response symmetric about the midpoint will have linear phase and provides constant delay. ▪ For the sequence h(n) to be of finite length, the poles must lie at the origin. ▪ Sequences that are symmetric about the origin also require ℎ(푛) = ±ℎ(푛) 1 , which implies 퐻(푧) = ±퐻( ) 푧 ▪ The zeros of a linear phase sequence must occur in reciprocal pairs(conjugate pairs if complex to ensure real coefficients) Classification of Linear Phase Sequences ➢ The length N of finite symmetric sequences can be odd or even, since the center of symmetry may fall on a sample point (for odd N) or midway between samples (for even N). This results in four possible types of symmetric sequences Type-1 Sequence: • It has even symmetry and Odd length N and the centre of symmetry being 푁−1 the integer value = . 2 푁−1 −푗휔( ) • It’s frequency response may be expressed as 퐻(푓) = 퐻1(푓). 푒 2 , where 푁−3 ( ) 2 푁 − 1 푁 − 1 퐻 (푓) = ℎ ( ) + 2 ∑ ℎ(푛). cos (n − ) 휔 1 2 2 푛=0 푁−1 푁−1 • It has a linear phase of – 휔( ) and a constant group delay of . 2 2 • The amplitude spectrum is even symmetric about both f = 0 and f = 1 when the spectrum is studied over = (−2휋 ,2휋) . |퐻1(0)|푎푛푑|퐻1(1)| can be non zero . • The amplitude spectrum is even symmetric about both f=0 and f=0.5, when the spectrum is studied over = (−휋 ,휋) . |퐻1(0)|푎푛푑|퐻1(0.5)| can be non zero **It is sufficient to study over (ퟎ, ퟐ흅) 풐풓 (−흅, 흅) Type-2 Sequence • It has even symmetry and even length N and the centre of symmetry being 푁−1 the half integer value = 2 푁−1 −푗휔( ) • It’s frequency response may be expressed as 퐻(푓) = 퐻1(푓). 푒 2 , where 푁 ( −1) 2 푁 − 1 퐻 (푓) = 2 ∑ ℎ(푛). cos (n − ) 휔 1 2 푛=0 푁−1 푁−1 • It has a linear phase of – 휔( ) and a constant group delay of . 2 2 • The amplitude spectrum has even symmetry about f = 0 and odd symmetry about f = 1 when the spectrum is studied over 휔 = (−2휋 ,2휋).As a result, |퐻1(1)| is always zero . • The amplitude spectrum is even symmetric about both f=0 and f=0.5, when the spectrum is studied over = (−휋 ,휋).|퐻1(0.5)| is always zero Type-3 Sequence • It has odd symmetry and odd length N and the centre of symmetry being 푁−1 the integer value = 2 푁−1 휋 −푗휔( ) 푗 • It’s frequency response may be expressed as 퐻(푓) = 퐻1(푓).
Recommended publications
  • Crossover Filter Shape Comparisons a White Paper from Linea Research Paul Williams July 2013
    Crossover Filter Shape Comparisons A White Paper from Linea Research Paul Williams July 2013 Overview In this paper, we consider the various active crossover Fig.1 - Well behaved Magnitude Response filter types that are in general use and compare the 6 properties of these which are relevant to professional audio. We also look at a new crossover filter type and 0 consider how this compares with the more traditional 6 types. 12 Why do we need crossover filtering? 18 Professional loudspeaker systems invariably require two or more drivers with differing properties to enable the Magnitude,dB 24 system to cover the wide audio frequency range effectively. Low frequencies require large volumes of air 30 to be moved, requiring diaphragms with a large surface 36 3 4 area. Such large diaphragms would be unsuitable for 100 1 .10 1 .10 high frequencies because the large mass of the Frequency, Hz diaphragm could not be efficiently accelerated to the Low required velocities. It is clear then that we need to use High drivers with different properties in combination to cover Sum the frequency range, and to split the audio signal into bands appropriate for each driver, using a filter bank. In Phase response its simplest form, this filtering would comprise a This is a measure of how much the phase shift suffered high-pass filter for the high frequency driver and a by a signal passing from input to the summed acoustic low-pass filter for the low frequency driver. This is our output (again assuming ideal drivers) varies with crossover filter bank (or crossover network, or just changing frequency.
    [Show full text]
  • Bachelor Thesis
    BACHELOR THESIS Investigating Mastering Engineers' Usage of and Opinions on Linear Phase Equalizing in Digital Mastering Camilla Näsström 2016 Bachelor of Arts Audio Engineering Luleå University of Technology Department of Arts, Communication and Education C. Näsström Bachelor Thesis Acknowledgements Thanks to Jonas Ekeroot for supervising through this whole research project. Thanks to Nyssim Lefford and Jan Berg for the help with going from the first idea to the final result. I also want to thank the engineers participating in the interviews for taking their time sharing knowledge and experience. 2016 2 C. Näsström Bachelor Thesis Abstract This qualitative study investigates what mastering engineers think of linear phase responses in equalizers; how, when and why they would use it or not. Four engineers, working part time or full time with mastering, were interviewed in order to gain information about their thoughts and opinions on the subject. Meaning condensation was used to analyze the interviews. Results showed usage of and opinions on linear phase equalizers varied among the engineers. Some special areas suitable for linear phase equalization were brought up. Pre-ringing seemed to be an artifact that made two of the engineers avoid linear phase equalizing for most of their work. Readers might get some understanding of a linear phase response in filters and its applications in different mastering situations. 2016 3 C. Näsström Bachelor Thesis Table of contents 1 Introduction ............................................... 5 4.1 Analysis ............................................. 13 2. Background ............................................... 5 4.1.1 Meaning condensation .............. 13 2.1 The revolution of digital audio ............ 5 4.1.2 Audible qualities of a good 2.2 Digital audio software ........................
    [Show full text]
  • Design of Linear Phase Band Pass Finite Impulse Response Filter Based on Modified Particle Swarm Optimization Algorithm Assistant Lecturer
    مجلة كلية المأمون العدد الحادي و الثﻻثون 1028 Design Of Linear Phase Band Pass Finite Impulse Response Filter Based On Modified Particle Swarm Optimization Algorithm Assistant Lecturer. Nibras Othman Abdul Wahid Assistant Lecturer. Ali Adil Ali Ministry of Higher Education and Scientific Research, Lecturer Ali Subhi Abbod University of Diyala, Diyala/ Iraq Abstract Digital filters are elementary elements of Digital Signal Processing (DSP) scheme since they are extensively employed in numerous DSP applications. Finite Impulse Response (FIR) digital filter design has multiple factor optimizing, in which the current optimizing method does not work proficiently. Swarm intelligence is a technique that forms the population of interrelated suitable agents or swarms for self-organization. A Particle Swarm Optimization (PSO) that stands for a populating and optimizing scheme with adaptively nonlinear functions in multidimensional space is a distinctive model of a swarm system. The goal of this study is to explain a scheme of designing Linear Phase FIR filter based on an improved PSO algorithm called Modified Particle Swarm Optimization (MPSO). The simulated outcomes of this paper demonstrate that the MPSO method is finer than the conformist Genetic Algorithm (GA) in addition to the standard PSO algorithm with extra fast convergence rate and superior performance of the designed 30th order band pass FIR filter. The FIR filter design by means of MPSO Algorithm is simulated using MATLAB programming language version 7.14.0.739 (R2012a). Keywords: Modified Particle Swarm Optimization, FIR filter, Band Pass Filter, Evolutionary Optimization, Digital Signal Processing. 122 مجلة كلية المأمون العدد الحادي و الثﻻثون 1028 تصميم مرشحات امرار حزمة خطية الطور ذات استجابة اندفاع متناهية باﻻعتماد على خوارزمية تحسين سرب الجسيمات المعدلة م.م.
    [Show full text]
  • 3F3 – Digital Signal Processing (DSP)
    3F3 Digital Signal Processing Section 2: Digital Filters • A filter is a device which passes some signals 'more' than others (`selectivity’), e.g. a sinewave of one frequency more than one at another frequency. • We will deal with linear time-invariant (LTI) digital filters. • Recall that a linear system is defined by the principle of linear superposition: • If the linear system's parameters (coefficients) are constant, then it is Linear Time Invariant (LTI). [Some of the the material in this section is adapted from notes byDr Punskaya, Dr Doucet and Dr Macleod] TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A 3F3 Digital Signal Processing Write the input data sequence as: And the corresponding output sequence as: x 3F3 Digital Signal Processing The linear time-invariant digital filter can then be described by the difference equation: A direct form implementation of (3.1) is: xn = unit delay b0 bM yn a1 aN 3F3 Digital Signal Processing The operations shown in the Figure above are the full set of possible linear operations: • constant delays (by any number of samples), • addition or subtraction of signal paths, • multiplication (scaling) of signal paths by constants - (incl. -1), Any other operations make the system non-linear. Matlab filter functions 3F3 Digital Signal Processing Matlab has a filter command for implementation of linear digital filters. The format is y = filter( b, a, x); where b = [b0 b1 b2 ... bM ]; a = [ 1 a1 a2 a3 ... aN ]; So to compute the first P samples of the filter’s impulse
    [Show full text]
  • Optimal Design of Linear-Phase FIR Digital Filters with Very Flat Passbands and Equiripple Stopbands
    904 IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS, VOL. CAS-32, NO. 9, SEPTEMBER 1985 Optimal Design of Linear-Phase FIR Digital Filters with Very Flat Passbands and Equiripple Stopbands P. P. VAIDYANATHAN, MEMBER, IEEE Ahs~aet-A new technique is presented for the design of digital FIR nel. Under such a situation, a filter with a very flat filters, with a prescribed degree of flatness in the passband, and a pre- passband (at least in the region where the signal is expected scribed (equiripple) attenuation in the stopband. The design is based entirely on an appropriate use of the well-known Rem&-exchange al- to have most of its energy) is, therefore, preferred [15]. gorithm for the design of weighted Chebyshev FIR filters. The extreme Filters with such specifications can be designed by ap- versatility of this algorithm is combined with certain “maximally flat” FIR propriate modifications of the McClellan-Parks algorithm filter building blocks, in order to generate a wide family of filters. The [4], [6], i.e., by suitable choice of the weighting function of design technique directly leads to structures that have low passband sensi- the equiripple error. Other direct approaches that have also tivity properties. been described in the literature [2], [3] are based on a linear I. INTRODUCTION programming formulation, and Steiglitz has presented a Fortran source code in [2], which achieves this purpose. NE OF THE important problems in digital filtering However, all of the design procedures (for these types of that has been considered by a number of authors in 0 filters) that are known hitherto lead to impulse response the past is the design of linear-phase FIR filters with a very coefficients as outputs of the design procedure.
    [Show full text]
  • Signal Processing Toolbox User's Guide
    2 Filter Design 2-2 Filter Requirements and Specification 2-4 IIR Filter Design 2-6 Classical IIR Filter Design Using Analog Prototyping 2-9 Comparison of Classical IIR Filter Types 2-17 FIR Filter Design 2-18 Linear Phase Filters 2-19 Windowing Method 2-22 Multiband FIR Filter Design with Transition Bands 2-27 Constrained Least Squares FIR Filter Design 2-31 Arbitrary-Response Filter Design 2-37 Special Topics in IIR Filter Design 2-38 Analog Prototype Design 2-39 Frequency Transformation 2-41 Filter Discretization 2-45 References 2 Filter Design Filter Requirements and Specification The Signal Processing Toolbox provides functions that support a range of filter design methodologies. This chapter explains how to apply the filter design tools to Infinite Impulse Response (IIR) and Finite Impulse Response (FIR) filter design problems. The goal of filter design is to perform frequency dependent alteration of a data sequence. A possible requirement might be to remove noise above 30 Hz from a data sequence sampled at 100 Hz. A more rigorous specification might call for a specific amount of passband ripple, stopband attenuation, or transition width. A very precise specification could ask to achieve the performance goals with the minimum filter order, or it could call for an arbitrary magnitude shape, or it might require an FIR filter. Filter design methods differ primarily in how performance is specified. For “loosely specified” requirements, as in the first case above, a Butterworth IIR filter is often sufficient. To design a fifth-order 30 Hz lowpass Butterworth filter and apply it to the data in vector x, [b,a] = butter(5,30/50); y = filter(b,a,x); The second input argument to butter indicates the cutoff frequency, normal- ized to half the sampling frequency (the Nyquist frequency).
    [Show full text]
  • Design of FIR Filters
    Design of FIR Filters Elena Punskaya www-sigproc.eng.cam.ac.uk/~op205 Some material adapted from courses by Prof. Simon Godsill, Dr. Arnaud Doucet, Dr. Malcolm Macleod and Prof. Peter Rayner 68 FIR as a class of LTI Filters Transfer function of the filter is Finite Impulse Response (FIR) Filters: N = 0, no feedback 69 FIR Filters Let us consider an FIR filter of length M (order N=M-1, watch out! order – number of delays) 70 FIR filters Can immediately obtain the impulse response, with x(n)= δ(n) δ The impulse response is of finite length M, as required Note that FIR filters have only zeros (no poles). Hence known also as all-zero filters FIR filters also known as feedforward or non-recursive, or transversal 71 FIR Filters Digital FIR filters cannot be derived from analog filters – rational analog filters cannot have a finite impulse response. Why bother? 1. They are inherently stable 2. They can be designed to have a linear phase 3. There is a great flexibility in shaping their magnitude response 4. They are easy and convenient to implement Remember very fast implementation using FFT? 72 FIR Filter using the DFT FIR filter: Now N-point DFT (Y(k)) and then N-point IDFT (y(n)) can be used to compute standard convolution product and thus to perform linear filtering (given how efficient FFT is) 73 Linear-phase filters The ability to have an exactly linear phase response is the one of the most important of FIR filters A general FIR filter does not have a linear phase response but this property is satisfied when four linear phase filter types 74 Linear-phase filters – Filter types Some observations: • Type 1 – most versatile • Type 2 – frequency response is always 0 at ω=π – not suitable as a high-pass • Type 3 and 4 – introduce a π/2 phase shift, frequency response is always 0 at ω=0 - – not suitable as a high-pass 75 FIR Design Methods • Impulse response truncation – the simplest design method, has undesirable frequency domain-characteristics, not very useful but intro to … • Windowing design method – simple and convenient but not optimal, i.e.
    [Show full text]
  • Digital Filters
    4 DIGITAL FILTERS 4.1 Introduction 4.2 Linear Time-Invariant Filters 4.3 Recursive and non-Recursive Filters 7.4 Filtering, Convolution and Correlation Operations 7.5 Filter Structures 4.6 Design of FIR Filters 4.7 Design of Filterbanks 7.8 Design of IIR Filters 7.9 Issues in the Design and Implementation of a Digital Filter ilters are a basic component of all signal processing and telecommunication systems. The primary functions of a filter are one or F more of the followings: (a) to confine a signal into a prescribed frequency band or channel for example as in anti-aliasing filter or a radio/tv channel selector, (b) to decompose a signal into two or more sub-band signals for sub- band signal processing, for example in music coding, (c) to modify the frequency spectrum of a signal, for example in audio graphic equalizers, and (d) to model the input-output relation of a system such as a mobile communication channel, voice production, musical instruments, telephone line echo, and room acoustics. In this chapter we introduce the general form of the equation for a linear time-invariant filter and consider the various methods of description of a filter in time and frequency domains. We study different filter forms and structures and the design of low-pass filters, band-pass filters, band-stop filters and filter banks. We consider several applications of filters such as in audio graphic equalizers, noise reduction filters in Dolby systems, image deblurring, and image edge emphasis. 2 Chapter 5 Digital Filters 4.1 Introduction Filters are widely employed in signal processing and communication systems in applications such as channel equalization, noise reduction, radar, audio processing, video processing, biomedical signal processing, and analysis of economic and financial data.
    [Show full text]
  • Mixed-Signal and DSP Design Techniques, Digital Filters
    DIGITAL FILTERS SECTION 6 DIGITAL FILTERS I Finite Impulse Response (FIR) Filters I Infinite Impulse Response (IIR) Filters I Multirate Filters I Adaptive Filters 6.a DIGITAL FILTERS 6.b DIGITAL FILTERS SECTION 6 DIGITAL FILTERS Walt Kester INTRODUCTION Digital filtering is one of the most powerful tools of DSP. Apart from the obvious advantages of virtually eliminating errors in the filter associated with passive component fluctuations over time and temperature, op amp drift (active filters), etc., digital filters are capable of performance specifications that would, at best, be extremely difficult, if not impossible, to achieve with an analog implementation. In addition, the characteristics of a digital filter can be easily changed under software control. Therefore, they are widely used in adaptive filtering applications in communications such as echo cancellation in modems, noise cancellation, and speech recognition. The actual procedure for designing digital filters has the same fundamental elements as that for analog filters. First, the desired filter responses are characterized, and the filter parameters are then calculated. Characteristics such as amplitude and phase response are derived in the same way. The key difference between analog and digital filters is that instead of calculating resistor, capacitor, and inductor values for an analog filter, coefficient values are calculated for a digital filter. So for the digital filter, numbers replace the physical resistor and capacitor components of the analog filter. These numbers reside in a memory as filter coefficients and are used with the sampled data values from the ADC to perform the filter calculations. The real-time digital filter, because it is a discrete time function, works with digitized data as opposed to a continuous waveform, and a new data point is acquired each sampling period.
    [Show full text]
  • Design of Linear Phase FIR Notch Filters
    Sadhan& Vol. 15, Part 3, November 1990, pp. 133-155. © Printed in India. Design of linear phase FIR notch filters TIAN-HU YU, SANJIT K MITRA and HRVOJE BABIC t Signal and Image Processing Laboratory, Department of Electrical and Computer Engineering, University of California at Santa Barbara, Santa Barbara, CA 93106, USA tElectrotcchnical Faculty, University of Zagreb, Zagreb, Yugoslavia Abstract. This paper investigates some approaches for designing one- dimensional linear phase finite-duration impulse-responses (FIR) notch filters, which are based on the modification of several established design techniques of linear phase FIR band-selective filters. Based on extensive design examples and theoretical analysis, formulae have been developed for estimating the length of a linear phase FIR notch filter meeting the given specifications. In addition, the design of two-dimensional linear phase FIR notch filters is briefly considered. Illustrative examples are included. Keywords. Fig digital filter; digital filter design; digital notch filter. 1. Introduction The notch filter, which highly attenuates a particular frequency component in the input signal while leaving nearby frequency components relatively unchanged, is used in many applications. For example, the elimination of a sinusoidal interference corrupting a signal, such as the 60 Hz power-line interference in the design of a digital instrumentation system, is typically accomplished with a notch filter tuned to the frequency of the interference. Usually very narrow notch characteristic (width) is desired to filter out the single trequency or sinusoidal interference without distorting the signal. The design of infinite-duration impulse response (nR) notch filters has been considered by Carney (1963) and later by Hirano et al (1974).
    [Show full text]
  • On the Symmetry of FIR Filter with Linear Phase Stéphane Paquelet, Vincent Savaux
    On the symmetry of FIR filter with linear phase Stéphane Paquelet, Vincent Savaux To cite this version: Stéphane Paquelet, Vincent Savaux. On the symmetry of FIR filter with linear phase. Digital Signal Processing, Elsevier, 2018, 81 (2018), pp.57 - 60. 10.1016/j.dsp.2018.07.011. hal-01849361 HAL Id: hal-01849361 https://hal.archives-ouvertes.fr/hal-01849361 Submitted on 31 Jul 2018 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. DOI : https://doi.org/10.1016/j.dsp.2018.07.011 © 2018 . This manuscript version is made available under the CC - BY - NC - ND 4.0 license On the Symmetry of FIR Filter with Linear Phase Stéphane Paquelet, Vincent Savaux∗ Abstract This paper deals with signal processing theory related to finite impulse response (FIR) filters with linear phase. The aim is to show a new and complete proof of the equivalence between linear phase and symmetry or antisymmetry of the real coefficients of the filter. Despite numerous proofs are available in the literature, they are usually incomplete, even though the result is commonly used by the signal processing community. We hereby address a pending issue in digital signal processing: we first prove the uniqueness of the group delay for any decomposition amplitude-phase of the frequency response.
    [Show full text]