Detection of Noise in High Pass Butterworth IIR Filter using MATLAB

DOI : 10.17577/IJERTV3IS20646

Download Full-Text PDF Cite this Publication

Text Only Version

Detection of Noise in High Pass Butterworth IIR Filter using MATLAB

Vijay Kr. Srivastava1, Lalit Maurya2, Er. Rajesh Mehra3

1, 2(M.E. Student Electronics and Communication, National Institute of Technical Teacher Training and Research, Punjab University, Chandgarh)

3(Associate Prof. Electronics and Communication, National Institute of Technical Teacher Training and Research, Punjab University, Chandgarh)

Abstract Filters plays a vital role in every electronic system. The basic need for the filtering is to pass the desired frequencies and reject others. There is a lot of use of filtering in the digital signal processing areas of data communication, digital video,

practice, it is not feasible to compute the output of the IIR filter using (1) because the length of its impulse response is too long (infinite in theory). Instead, the IIR filtering equation is expressed in recursive form:

imaging and voice communication. The idea of this paper is to

design the high pass Butterworth IIR filter using MATLAB

= = + . . (3)

considering different parameters such as cutoff frequencies,

=0

=0

=1

order and see the variation of these parameters on noise.

Keywords IIR, FIR, FDA

  1. INTRODUCTION

    To fulfill the challenges rising in area of Digital communication system design digital signal processing technique are used. Analog filters are continuous-time systems for which both the input and output are continuous-time signals. Digital filters are discrete-time systems whose input and output are discrete-time signals. A filter is a system or network that selectively changes the wave shape, amplitude- frequency and/or phase-frequency characteristics of a signal in desired manner. Common filtering objectives are to improve the quality of signal (for example, to remove or reduce noise), to extract information from signal or to separate two or more signals.

    The term digital filter refers to specific hardware or software routine that perform the filtering algorithm. Digital filters play a vital role in DSP. Compared with analog filters they are preferred in a number of applications (for example data compression, biomedical signal processing, speech processing, Image processing, Data transmission) [1]

    Digital filters are broadly divided into two classes, namely infinite impulse response (IIR) and finite impulse response (FIR). The input and output signals to the filter are related by the convolution sum.

    Where ak and bk are the coefficient of the filter [2]. IIR digital filter is ideally design using MATLAB. The digital filter could be divided into FIR digital filter and IIR digital filter according to the unit-impulse response or the reality architecture, could be divided into Chebyshev filter, Butterworth filter and so on. According to the method of design, could be divided into low-pass filter (LPF), high-pass filter (HPF), band-pass filter (BPF) and band-stop filter (BSF) according to the function. [3].There are two major issues that need to be answered before one can develop the digital transfer function. The first and foremost issue is the development of a reasonable frequency response specification from the requirements of the overall system in which the digital filter is to be employed. The second issue is to determine whether an FIR or an IIR digital filter is to be designed. [4]

  2. MATHEMATICALANALYSIS OF BUTTERWORTH FILTER DESIGN

    Bilineartransformation method is a popular technique for designing of IIR digital filters. Butterworth filter is the simplest of the four classical filters.The Butterworth filter can be realized by using simple first order or biquad stages cascaded together to achieve the desired order, pass band response, and cut-off frequency. The Butterworth filter has a maximally flat response, i.e., no pass band ripple and a roll-off of -20dB per pole.The magnitude function for an Nth-order Butterworth filter with a pass band edge p is given by :

    () = (1)

    =0

    () = 1

    1 + 2

    2

    (4)

    1

    () = (2)

    =0

    Respectively (1) and (2) represent IIR and FIR filters. Noting

    that x(n),y(n) and h(n) representrespectivelyinput, output and unit impulse response of the filter. N is order of the filter.In

    At = p

    1

    ( ) =

    1 + 2

    (5)

    Thus, the parameter determines the maximum variation in passband transmission, Amax,according to

    = 20 1 + 2 (6) Conversely, given Amax, the value of can be determine from

    Figure 1: Round off noise response of Butterworth High pass filter with N=10, Fs=48khz, Fc=100Hz

    = 10 /10 1 (7)

    Observe that in the Butterworth response the maximum deviation in passband transmission occurs at the passband edge only [5].

    Figure: The magnitude response of Butterworth filter

  3. IMPLEMENTATION

    As we know that in the processing of signal their is additon of sme noise in it. So this is necessery to remove this noise for the transmission of signal. There noise can be removed by using different techniques. Many of these methods we have to use Butterworth technique of IIR filter for denoising of input signal [6]. In this paper we analyze signal by using MATLAB FDA toolbox. In this paper we have to investigate the unique property of Butterworth High Pass filter in terms of magnitude responses in the pass band, stop band, and transition band regions. In this paper we are designing Butterworth technique of High Pass IIR filter for removing the noise from the signal. For the designing of Butterworth High Pass filter we have to consider different types of parameters such as Cut off frequency, order of filter .We will implement this Butterworth High pass filter using MATLAB FDA toolbox. In the FDA toolbox first we consider the cut off frequency and see the effect of this on noise [7]. For this design other parameters would be assumed constant such parameters are following: Sampling Frequency Fs=48KHZ, Order of filter N=10, Attenuation= 3 db.

    Figure 2: Round off noise response of Butterworth High pass filter with N=10, Fs=48khz, Fc=200Hz

    Figure 3: Round off noise response of Butterworth High pass filter with N=10, Fs=48khz, Fc=500Hz

    Figure 4: Round off noise response of Butterworth High pass filter with N=10, Fs=48khz, Fc=1Khz

    Figure 5: Round off noise response of Butterworth High pass filter with N=10, Fs=48khz, Fc=2Khz

    Figure 6: Round off noise response of Butterworth High pass filter with N=10, Fs=48khz, Fc=3Khz

    Figure 7: Round off noise response of Butterworth High pass filter with N=10, Fs=48khz, Fc=5Khz

    Figure 8: Round off noise response of Butterworth High pass filter with N=10, Fs=48khz, Fc=10.8Khz

    The second parameter is order of the filter. Now we see the variation of noise with the order of Butterworth high pass filter by using MATLAB FDA Toolbox. For this other parameters would be remain constant such as :

    Cut off Frequency Fc= 10.8 khz,Sampling Frequency Fs=48 khz, Attenuation= 3db

    Figure 9: Round off noise response of Butterworth High pass filter with N=1, Fs=48khz, Fc=10.8 khz

    Figure 10: Round off noise response of Butterworth High pass filter with N=5, Fs=48khz, Fc=10.8 khz

    Figure 11: Round off noise response of Butterworth High pass filter with N=10, Fs=48khz, Fc=10.8 khz

    Figure 12: Round off noise response of Butterworth High pass filter with N=15, Fs=48khz, Fc=10.8 khz

    Figure 13: Round off nose response of Butterworth High pass filter with N=20, Fs=48khz, Fc=10.8 khz

  4. CONCOLUSION

Judging the variation of noise for different cut off frequencies, it can be said that from fig-1 to fig-3 the noise is decreasing, if we increase the cut off frequency the noise is increased as shown in fig-4, further if we increase the frequency the noise is reduced. So we can conclude that cut off frequency is not

the exact value which separates the pass band and stop band, basically cut off frequency is a range which means it would take some values to separate the pass band and stop band.

We can also analyze the variation of noise with the order of filter. The order of filter is an important parameter for designing of any filter. We will see here that how these order of filter effects the noise in the signal. We can analyze from fig9 that when the order of filter, N=1 then noise in the signal is very high. As we increased the order of filter, the noise in the signal is reduced as we can see from fig 10 to 13 where the order of filter N= 5, 10, 15 and 20 respectively.

REFERENCES

  1. Miss Zin Ma Ma Myo, Dr. Zaw Min Aung and Dr. Zaw Min Naing Desing and Implementation of Active Band- Pass Filter for Low Frequency RFID System Proceedings of the International MultiConfrence of Engineers and Computer Scientists 2009 Vol.1,IMECS 2009, March 18- 20,2009, Hong Kong.

  2. Zhang Ke , Wu Binbin ,Zhang Wei ,Suh Heejong, "The application of the IIR filters based on FPGA in the DTV field", 2009 IEEE DOI 10.1109/IFCSTA.2009.338

  3. F. Yassa, J. Jasica, et al. A silicon compiler for digital signal processing: Methodology, implementation, and applications. Proc. IEEE, 75(9):12721282, Sep 1987.

  4. Sanjit K. Mitra , "Digital Signal Processing", second edition, McGraw- Hill.

  5. Adel S. Sedra, Kenneth C. Smith, "Microelectronics Circuits", fifth edition, OXFORD UNIVERSITY PRESS, 2004.

  6. L. B. Jackson, "Roundoff-Noise Analysis for Fixed- Point Digital Filters Realized in Cascade or Parralel Form," IEEE Transactions on Audio and Electroacoustics, vol. AU- 18, no. 2, pp. 107-122, June 1970.

  7. Er.krishan, Er.Kapil Gulati, Er.Munish Gupta, Er. Rajni , "NOISE DETECTION IN IIR DIGITAL FILTER USING MATLAB", Second International Conference on Advanced Computing & Communication Technologies, 2012

Leave a Reply