FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > DSP

DSP comp.dsp newsgroup, mailing list

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-03-2004, 12:11 PM
David Joseph Bonnici
Guest
 
Posts: n/a
Default Filter with (x/sin(x))^N frequency response?

Hi, I need the name of the filter that has a frequency response of the
form (x/sin(x))^N.

See a picture of the frequency response at
http://www.geocities.com/netspiri/xo...hepowerofN.jpg
N here is set to 3. I know for sure that it is an FIR.

Is there a filter design tool to design such a filter?

Thanks
DJB
Reply With Quote
  #3 (permalink)  
Old 06-03-2004, 03:30 PM
Matt Timmermans
Guest
 
Posts: n/a
Default Re: Filter with (x/sin(x))^N frequency response?

"David Joseph Bonnici" <[email protected]> wrote in message
news:[email protected] om...
> Hi, I need the name of the filter that has a frequency response of the
> form (x/sin(x))^N.


It's cascaded integrator-comb (CIC) filter. A google for CIC filters will
provide lots of info.


Reply With Quote
  #4 (permalink)  
Old 06-03-2004, 04:41 PM
Jerry Avins
Guest
 
Posts: n/a
Default Re: Filter with (x/sin(x))^N frequency response?

David Joseph Bonnici wrote:

> Hi, I need the name of the filter that has a frequency response of the
> form (x/sin(x))^N.
>
> See a picture of the frequency response at
> http://www.geocities.com/netspiri/xo...hepowerofN.jpg
> N here is set to 3. I know for sure that it is an FIR.
>
> Is there a filter design tool to design such a filter?
>
> Thanks
> DJB


It looks like a cascaded integrator comb filter. While a CIC is not a
transversal filter, it does indeed have a finite impulse response.

Jerry
--
Engineering is the art of making what you want from things you can get.
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ

Reply With Quote
  #5 (permalink)  
Old 06-03-2004, 09:19 PM
David Joseph Bonnici
Guest
 
Posts: n/a
Default Re: Filter with (x/sin(x))^N frequency response?

This frequency response is not of the CIC but this filter is used as a
compensation filter for the CIC, so as to compensate for poor droops.
The CIC has a frequency response of ((sin(x))/x)^N and so it is why
this filter is needed.

You can see it documented on page 6 bottom on the xilinx IP data sheet
of the CIC.
http://www.xilinx.com/ipcenter/catal...C_CIC_V1_0.pdf

Many Thanks
DJB
Reply With Quote
  #6 (permalink)  
Old 06-04-2004, 02:30 AM
L. M.
Guest
 
Posts: n/a
Default Re: Filter with (x/sin(x))^N frequency response?

Take a look at Matlab FIRLS.

"David Joseph Bonnici" <[email protected]> wrote in message
news:[email protected] om...
> Hi, I need the name of the filter that has a frequency response of the
> form (x/sin(x))^N.
>
> See a picture of the frequency response at
> http://www.geocities.com/netspiri/xo...hepowerofN.jpg
> N here is set to 3. I know for sure that it is an FIR.
>
> Is there a filter design tool to design such a filter?
>
> Thanks
> DJB



Reply With Quote
  #7 (permalink)  
Old 06-04-2004, 02:33 AM
Don
Guest
 
Posts: n/a
Default Re: Filter with (x/sin(x))^N frequency response?

Hi David,

From your postings, I gather what you're looking for is an "inverse sinc
compensator" filter, used to compensate for passband droop of a CIC
decimator. Is this correct?

The Filter Design Toolbox (from The MathWorks --- and please note that I
work for MathWorks) has support for the design of such filters, especially
for the fixed-point implementations used in practice to compensate for CIC
filters.

I have used the FDATool (filter design and analysis tool) GUI in the toolbox
for this sort of thing, since the design often needs to be interactive for
minimizing fixed-point word sizes, etc. The amount you diddle with the
fixed-point settings depends on where you're going with the filter (say, an
FPGA, when the CIC is in the front-end of a software radio).

One FIR filter design in particular, constrained equiripple ("firceqrip"),
has options that are specific to inverse sinc compensation. Basically, you
can specify "c" and "p" in the equation:
1/sinc(c*f)^p
to accurately describe the parameters for the inverse-sinc compensator
design.

I hope this helps.
--Don


"David Joseph Bonnici" <[email protected]> wrote in message
news:[email protected] om...
> Hi, I need the name of the filter that has a frequency response of the
> form (x/sin(x))^N.
>
> See a picture of the frequency response at
> http://www.geocities.com/netspiri/xo...hepowerofN.jpg
> N here is set to 3. I know for sure that it is an FIR.
>
> Is there a filter design tool to design such a filter?
>
> Thanks
> DJB



Reply With Quote
  #8 (permalink)  
Old 06-04-2004, 03:15 AM
Ray Andraka
Guest
 
Posts: n/a
Default Re: Filter with (x/sin(x))^N frequency response?

No, that is the inverse of a CIC response. Typically, the CIC response is
further band limited by a bandpass filter, so you are only dealing with the
droop for the top of the passband. If you extend too far down the droop,
you wind up with a lot of snr degradation in the upper part of your passband
because you are attenuating with the CIC and then amplifying with the
correction. It also makes your correction filter much higher order.

Anyway, you can design the correction filter by using the frequency sampling
method for designing FIR filters. Remember, only the portion in your final
passband need be corrected. The following matlab snippet makes a correction
filter:

points=30000;
f=0:1/((n*r*points)-1):1/(r);
crf=abs((sin(pi*n*r*f)./(n*r*sin(pi*f))).^m);
crf(1)=1;
rf=(1./crf(1oints/15+1));
ff=[(0:15/points:1)];
ccf=fir2(6,ff,rf); %odd filter length
ccf=ccf/max(ccf);


Jerry Avins wrote:

> David Joseph Bonnici wrote:
>
> > Hi, I need the name of the filter that has a frequency response of the
> > form (x/sin(x))^N.
> >
> > See a picture of the frequency response at
> > http://www.geocities.com/netspiri/xo...hepowerofN.jpg
> > N here is set to 3. I know for sure that it is an FIR.
> >
> > Is there a filter design tool to design such a filter?
> >
> > Thanks
> > DJB

>
> It looks like a cascaded integrator comb filter. While a CIC is not a
> transversal filter, it does indeed have a finite impulse response.
>
> Jerry
> --
> Engineering is the art of making what you want from things you can get.
> ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ


--
--Ray Andraka, P.E.
President, the Andraka Consulting Group, Inc.
401/884-7930 Fax 401/884-7950
email [email protected]
http://www.andraka.com

"They that give up essential liberty to obtain a little
temporary safety deserve neither liberty nor safety."
-Benjamin Franklin, 1759


Reply With Quote
  #9 (permalink)  
Old 06-04-2004, 03:18 AM
Jerry Avins
Guest
 
Posts: n/a
Default Re: Filter with (x/sin(x))^N frequency response?

Ray Andraka wrote:
> No, that is the inverse of a CIC response. ...


Oh, well. I seem to be getting cross eyed.

Jerry
--
Engineering is the art of making what you want from things you can get.
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ

Reply With Quote
  #10 (permalink)  
Old 06-04-2004, 08:08 AM
David Joseph Bonnici
Guest
 
Posts: n/a
Default Re: Filter with (x/sin(x))^N frequency response?

A million of times of thank you, to the guys who have helped me in
this problem. Before I saw your suggestions I was trying to compensate
for that poor droop by using a pre-warped 2nd order chebyshev
(implemented on dsp and not on FPGA). I must say that it also gave
quite some good performance but since it is an IIR it has some the
non-linear phase drawback.

Again Thank you
David
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Question on Frequency Response- VHDL AMS Omar VHDL 0 10-11-2004 03:58 PM
FIR roots and frequency response Bob Cain DSP 73 02-26-2004 08:02 PM
Frequency response of an FIR filter I. R. Khan DSP 4 02-18-2004 03:31 AM
Frequency response of DFT single bin Jon Harris DSP 6 09-11-2003 01:46 AM
Filter banks Response. Craig DSP 4 07-17-2003 03:05 PM


All times are GMT +1. The time now is 04:41 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved