+ Post New Thread
Results 1 to 7 of 7
  1. #1
    Junior Member level 3
    Points: 864, Level: 6

    Join Date
    May 2009
    Location
    China
    Posts
    27
    Helped
    1 / 1
    Points
    864
    Level
    6

    ciccomp

    Hi,all
    I am in a project of Sigma-Delta ADC. But I get in trouble when I design the digital filter in the MATLAB. The filter consists of a CIC, a CICCOMP and two halfband. When CIC is followed by the CICCOMP and then the twe halfbands, the CICCOMP can compensate the droop caused by the CIC in the passband well. But when I exchange the order between the CICCOMP and the first halfband(the order now is CIC-halfband-CICCOMP-halfband), there will be a bugle in the passband which is like overcompensation. I don't know why it happens. I attach the figure I simulate and the code I used in the MATLAB.

    So thanks for your response.

    this is the code i use in the matlab.
    Fs = 6144000; % Input sampling frequency
    Fpass = 21770; % Frequency band of interest
    M = 16; % Decimation factor of CIC
    Hcic = design(fdesign.decimator(M,'CIC',01,Fpass,120,Fs)) ;
    Hd = cascade(dfilt.scalar(1/gain(Hcic)),Hcic); %the CIC filter
    hb=fdesign.decimator(2,'halfband',148460,120,38400 0);%first halfband
    Hb=equiripple(hb);
    d = fdesign.ciccomp(Hcic.DifferentialDelay, ...
    Hcic.NumberOfSections,Fpass,74230,.01,120,192000); %CICCOMP
    Hdc=design(d);
    filter1=cascade(Hd,Hb,Hdc);
    fvtool(filter)

    •   AltAdvertisment

        
       

  2. #2
    Junior Member level 3
    Points: 864, Level: 6

    Join Date
    May 2009
    Location
    China
    Posts
    27
    Helped
    1 / 1
    Points
    864
    Level
    6

    Re: Does the order of the CICCOMP matter in the matlab?

    waiting~~~~



    •   AltAdvertisment

        
       

  3. #3
    Junior Member level 3
    Points: 864, Level: 6

    Join Date
    May 2009
    Location
    China
    Posts
    27
    Helped
    1 / 1
    Points
    864
    Level
    6

    Re: Does the order of the CICCOMP matter in the matlab?

    somebody help~~~



    •   AltAdvertisment

        
       

  4. #4
    Junior Member level 3
    Points: 864, Level: 6

    Join Date
    May 2009
    Location
    China
    Posts
    27
    Helped
    1 / 1
    Points
    864
    Level
    6

    Re: Does the order of the CICCOMP matter in the matlab?

    ~~~~~~



  5. #5
    Junior Member level 3
    Points: 864, Level: 6

    Join Date
    May 2009
    Location
    China
    Posts
    27
    Helped
    1 / 1
    Points
    864
    Level
    6

    Does the order of the CICCOMP matter in the matlab?

    my matlab version is 7.1~~~



    •   AltAdvertisment

        
       

  6. #6
    Junior Member level 3
    Points: 864, Level: 6

    Join Date
    May 2009
    Location
    China
    Posts
    27
    Helped
    1 / 1
    Points
    864
    Level
    6

    Does the order of the CICCOMP matter in the matlab?

    i try it again in matlab2009a
    but the problem exists as before. Anyone knows the answer?



  7. #7
    Newbie level 4
    Points: 491, Level: 4

    Join Date
    May 2010
    Location
    Malaysia
    Posts
    6
    Helped
    0 / 0
    Points
    491
    Level
    4

    Re: Does the order of the CICCOMP matter in the matlab?

    Hi all, Im also into this CIC design. Can I know how to build the following in Matlab to see the graph response?


    Thanks for help~ :)



--[[ ]]--