Improvement of CIC Filter Characteristics

DOI : 10.17577/IJERTV3IS042430

Download Full-Text PDF Cite this Publication

Text Only Version

Improvement of CIC Filter Characteristics

Ajinkya Gogi

Dept. of Electronics and Telecommunication,

K. J. Somaiya College of Engineering, Mumbai, India.

Sangeeta Kulkarni

Dept. of Electronics and Telecommunication,

  1. J. Somaiya College of Engineering, Mumbai, India.

    Abstract This paper presents comparison between CIC filter, narrowband CIC filter and wideband CIC filter. It also gives comparison between RS filter, modified RS filter and compensated modified RS filter for a decimation factor of 64. Techniques like narrowband compensation, wideband compensation and RS filters improve the performance characteristics of CIC filters. Narrowband and wideband compensation techniques improve the passband characteristics, and RS filters improve the stopband characteristics. Multistage realization furthur improves the performance characteristics of the enhancement techniques.

    KeywordsCIC filters, Narrowband compensation, Wideband compensation, RS filter

    1. INTRODUCTION

      comparison between RS filter, Modified RS filter and Compensated modified RS filter is performed . The paper is organized as follows. Section 2 gives the introduction of CIC filters along with its gain responses. Section 3 gives the method to improve passband characteristics. Section 4 gives the method to improve stopband characteristics. Section 5 gives the analysis of the comparison done for the decimation factor of 64.

    2. CIC FILTERS

      The term CIC filter we use only for the cascade-integrator- comb implementation scheme. The frequency response

      ( )following from (1) is given by,

      1 (/2)

      Cascaded integrator-comb (CIC) filters are multirate filters

      =

      (/2)

      [(1)/2] (2)

      used for realizing large sample rate changes in digital systems. They are also known as Hogenauer filters [1]. CIC filters are typically employed in applications that have a large excess sample rate. That is, the system sample rate is much larger than the bandwidth occupied by the signal. They are frequently used in digital down-converters and digital up- converters. The transfer function of the CIC filter is given by

      Example 1: Consider D = 16 and K = 1, 2, 3, 4. Figure 2(a) shows the magnitude responses and Figure 2(b) shows the passband zoom. Figure 2(a) illustrates, the H ejw exhibits the comb-like magnitude response. The natural nulls of the comb filter occur exactly at the integer multiples of Fx /D thus

      providing the maximum alias suppression at those

      frequencies. The aliasing bandwidths around the nulls are

      1 1

      = 1 1

      (1)

      narrow, and usually too small to provide sufficient suppression of aliasing in the entire baseband of the signal. A

      where D is the decimation ratio, and K is the number of the stages. CIC filters are multiplierless structures, consisting of only adders and delay elements which is a great advantage when aiming at low power consumption. They first perform the averaging operation then follow it with the decimation.

      Fig. 1 CIC decimation filter

      The magnitude characteristic of CIC filter has a passband droop in the desired passband that is dependent upon the decimation factor D and the cascade size K. The authors, G.

      J. Dolecek and S. K. Mitra, proposed an idea for improving the passband using compensating filters. Narrowband and wideband compensation techniques improve the passband characteristics [2], [3]. The Rotated Sinc (RS) filter was proposed by G. J. Dolecek and S. K. Mitra to increase the attenuations and widths in the folding bands i.e stopband characteristics [5]-[6].

      In this paper, we give a comparison between CIC filter, narrowband CIC filter and wideband CIC filter. Also a

      very poor magnitude characteristic of the comb filter is improved by cascading several identical comb filters.

      Fig. 2 Illustratiion of magnitude response in Example 1

      The multistage realization improves the selectivity and the stop-band attenuation of the overall filter: the selectivity and the stopband attenuation are augmented with the increase of the number of comb filter sections. The filter has multiple nulls with multiplicity equal to the number of the sections. Consequently, the stopband attenuation in the null intervals is very high. For modifying the comb filter magnitude response one can use only two parameters: the comb filter order (D), and the number of the comb filter sections (K) [2]. Figure 2(b) illustrates a monotonic passband characteristic produces an inevitable passband droop, which for many applications should be compensated.

    3. METHOD TO IMPROVE PASSBAND

      1. Narrowband Compensation Technique

        Consider a second order compensation filter [3]

        = 1 + 2 2 /2 (3)

        where b is a integer parameter. Using the well known relation

        2 = (1 2 )/2 (4)

        The corresponding transfer function can be expressed as

        () = 2 +2 1 2+2 + 2 + 2 (5)

        Denoting

        = 2 +2 ; = 2+2 + 2 ; (6)

        Substituting in the above equation we get,

        () = 1 + 2 (7)

        We use a simple MATLAB program based on (2) to find the corresponding value b for a given K.

        Example 2: Consider D = 16, K = 2 and b = 2. Using (1) and

        (5), we get,

        Fig. 3 Illustratiion of magnitude response in Example 2

      2. Wideband Compensation Technique

      Consider the transfer function of the three coefficient FIR filter. [4]

      = + 2 + 3 (9)

      with the corresponding magnitude characteristic

      = 2 + (10)

      The condition that the magnitude characteristic has the value 1 for w= 0, gives

      = 1 2 (11)

      Replacing Eq (3.2.2.3) into Eq (3.2.2.2) we arrive at

      = 2 1 + 1 (12)

      = (16) =

      1 1 16 2

      16 1 1

      The value of b is estimated minimizing the squared error in the passband

      × 24 1 24 + 2 16 + 32 (8)

      TABLE I

      TYPICAL VALUES OF COMPENSATION FILTER PARAMETER

      where

      2

      0

      (13)

      Number of stages (K)

      Parameter (b)

      2

      2

      3,4

      1

      5,6,7,8

      0

      9,10,11

      -1

      2 2 {2[ 1] + 1} 1 2

      =

      (14)

      2

      The estimated value of b is rounded using the rounding constant r = 26 resulting in

      = 4 × 26 (15)

      From (11) and (15), we have

      = 72 × 26 (16)

      Using (9), (15) and (16), we arrive at

      = 26 4 + 722 43 (17)

      Finally from (17) the proposed filter is given as

      = 24 24 + 2 2 + 3 (18)

      The proposed filter is multiplier-free with only three adders and can be implemented at a lower rate after down sampling by D by making use of the multirate identity. The corresponding magnitude characteristic approximates inverse

      magnitude characteristic of (1), for K = 1, in the passband. The same is confirmed for K > 1 [4].

      =

      1 1 2 + 2

      = 2

      1 2 1 + 2 (23)

      The cascade of CIC filter and the filter ()is given as follows,

      Fig. 4 Illustratiion of magnitude response in Example 3

      = (24)

      1 < 3

      = 1 > 3 (19)

      Fig. 5 Illustratiion of magnitude response in Example 4

      where K is the CIC parameter. The total number of additions depends on K, as given by

      = 3 3 (20)

      3 3 > 3

      The magnitude response of this filter is given as

      Example 3: Consider D = 16 and K = 5. Using (1), (18) and

      +

      (19), we get,

      1 sin 2

      sin

      2 sin 2

      = (16 ) =

      1 1 16 5

      16 1 1

      = 3

      sin 2

      sin

      + 2

      sin

      2

      (25)

      × 24 16 24 + 2 32

      + 48 21

      According to (19) and (20), the compensator needs four stages requiring a total of 12 adders [4]. Magnitude characteristic zoom in the passband is shown in Figure 4(b), thus confirming the good passband compensation.

    4. METHOD TO IMPROVE STOPBAND

      1. RS Filter

        The Rotated Sinc (RS) filter was proposed to increase the attenuations and widths in the folding bands [5]. By applying a clockwise rotation of radians to any zero of CIC filter, we obtain the following transfer function

        Example 4: Consider D=16, K=1 and =0.0184. The magnitude response and passband zooms for the RS filter is shown in Figure 5(a) and (b) respectively.

        It is observed that the folding band widths are wider and the attenuations are increased in comparison with the CIC filter. However, the passband droop is increased and additionally RS filter needs two multipliers, one working at high input rate [5].

      2. Modified RS filter

        Considering that the downsampling factor D can be expressed as a product of integers,

        = 1 2 . (26)

        We can rewrite as

        1 1

        =

        1 1

        (21)

        = 1 ()2

        1

        (27)

        An expression equivalent to (21) is obtained by applying the opposite rotation

        where

        1 =

        1 1 1

        1 ; 2 =

        1 1 12

        1 (28)

        1 1

        1 1

        2 1

        =

        1 1 (22)

        The corresponding frequency responses are, respectively,

        These two filters have complex coefficients, but they can be cascaded, thus obtaining a filter () with real coefficients.

        1 = 1

        (/2) ; ( )

        one, are improved. Additionally, the filter Hr (z) works at a

        1 2 (1 /2) 2

        1 (1 /2)

        lower rate [5].

      3. Compensated Modified RS filter

      =

      1

      (/2)

      (29)

      The generalized form of modified comb is given as follows

      Therefore the decimation filter can be constructed using different number of stages for the two sections resulting in a modified transfer function H2(z) given by:

      = 1 1 2 1 2 (30)

      = [1 ()]1 2 1 2 . 2 1. 1 (34)

      where

      The filter H

      (z) can be moved to a low rate which is D

      times

      2 =

      1 1 1

      (35)

      2 2

      1 2

      lesser than the high input rate. Additionally, the polyphase decomposition of the filter H1 (z) moves all filtering to a lower rate.

      1 =

      =1

      1

      ; 2 = ; 0 = 1 (36)

      =1

      and the corresponding magnitude response is

      ( ) =

      1

      (1/2)

      (2 /2)

      (37)

      Fig. 6 Illustratiion of magnitude response in Example 5

      The corresponding RS filter is modified in such way that it can also be moved to a lower rate [5]. Using (23) and (30), we get,

      =

      Fig. 7 Illustratiion of magnitude response in Example 6

      1 1 2 + 2

      =

      (31)

      It should be noted that by using different values for the number Ki of factors in each stage, the magnitude

      /1 2 1 2 1 1 + 21

      The corresponding modified RS filter is obtained as the cascade of the modified comb filter (30) and the modified rotated filter (31).

      characteristic of the modified comb can be improved over that of the original comb decimator. Using the results from above sections, later a decimator filter was proposed in the following form [6].

      =

      (32)

      , = (38)

      The corresponding magnitude response is

      +

      The polyphase decomposition of the comb filters in the first section allows the sub filters to operate at a lower rate, which

      is D1 time lower than the input rate. In that way there is no filtering at high input rate.

      1

      =

      sin

      2 1

      sin

      2 (33)

      Example 6: Consider K = 3; D=16, D1

      =D2

      = 2, D3

      = 4, K1 =

      2

      sin + 1

      2

      2

      sin 1

      2

      K2 = K3 =4, =0.0184, b=1. The magnitude response and passband zooms for the RS filter, Modified RS filter and

      Example 5: Consider D=16, K=1, K1=3, K2=2, D1=D2=4 and =0.0184. The magnitude response and passband zooms for the RS filter for is shown in Figure 6(a) and (b) respectively. The magnitude responses along with the zoom in the first folding band are shown in Figure 6(a) and (b). It is observed that the attenuation in the all folding bands except the last

      Compensated Modified RS filter is shown in Figure 7(a) and

      (b) respectively [6]. It is observed that not only stopband but also passband is improved.

    5. ANALYSIS

  1. Comparison between CIC filter, Narrowband CIC filter and Wideband CIC filter

    Fig. 8 Comparison between CIC filter, Narrowband CIC filter and Wideband CIC filter

    TABLE II

    Comparison between CIC filter, Narrowband CIC filter and

    Wideband CIC filter

    Decimation

    technique

    Specification

    Passband

    Droop (dB)

    CIC filter

    D = 64, K = 5

    -0.2929

    Narrowband CIC

    filter

    D = 64, b = -2,

    K = 5

    0.05178

    Wideband CIC

    filter

    D = 64, b = -2,

    K = 5

    0.05015

    It is observed that wideband CIC filter has better passband characteristics but narrowband CIC filter requires only one compensation filter section to be cascaded at the end whereas wideband CIC filter requires more compensation filters to be cascaded. Table II gives the values of passband and stopband attenuation.

  2. Comparison between RS filter, Modified RS filter and Compensated modified RS filter

It is observed that the RS filter has better passband characteristic while the modified RS filter has higher attenuations in the folding bands. Compensation techniques for the same improve their respective characteristics. Table III gives the values of passband and stopband attenuation.

Fig. 9 Comparison between RS filter, Modified RS filter and Compensated modified RS filter

TABLE III

Comparison between RS filter, Modified RS filter and Compensated modified RS filter

Decimation technique

Specification

Passband Droop

(dB)

Alias Rejection

(dB)

RS filter

D = 64; K = 1;

B = 0.0184

-1.2

-54.23

Modified RS filter

D1 = 8; D2 = 8;

K1 = 4; K2 = 4;

B = 0.0184

-1.358

-127.3

Compensated Modified RS

filter

D1 = 8; D2 = 8;

K1 = 4; K2 = 4;

B = 0.0184; b =0

-1.019

-127.3

REFERENCES

  1. Hogenauer, B Eugene, An Economial Class of Digital Filters for Decimation and Interpolation, IEEE Transactions on Acoustics, Speech, and Signal Processing, vol. asp-29, no 2, April 1981.

  2. Ljiljana M (2009) Multirate filtering for digital signal processing: MATLAB applications. Hershey, PA: Information Science Reference.

  3. Jovanovic Dolecek, G. & Mitra, S. K. (2008), Simple Method for Compensation of CIC Decimation Filter, Electronics Letters, Vol. 44, No. 19, (September 11, 2008), ISSN 0013-5194.

  4. ] Jovanovic Dolecek, G. (2009). Simple Wideband CIC Compensator, Electronics Letters, Vol. 45, No. 24, (November 2009), pp. 1270-1272, ISSN 0013-5194.

  5. Jovanovic Dolecek, G. & Mitra, S. K. (2004). Efficient Multistage Comb-Modifed Rotated Sinc (RS) decimator. Proceedings XII European Signal Processing Conference EUSIPCO-2004, pp. 1425- 1428, ISBN 0-7803-7664-1, Vienna, Austria, September, 6-10, 2004.

  6. Jovanovic Dolecek, G. & Mitra, S. K. (2005a). A New Multistage Comb-modified Rotated Sinc (RS) Decimator with Sharpened Magnitude Response, IEICE Transactions on Information and Systems: Special Issue on Recent Advances in Circuits and Systems, Vol. E88-D, No. 7, (July 2005),pp. 1331-1339, ISSN 105-0011.

Leave a Reply