Re: [Discuss-gnuradio] CIC stop band
Hans: I don't think you really want the CIC transfer function but the transfer function of the convolution of the half band filters and the CIC since that is the total transfer function through the FPGA. Am I right? Bob Hans Glitsch wrote: Hello, What is the stop band of the FPGA CIC filter? How do I figure out the attenuation at a given frequency outside my bandwidth? I'm decimating by 250. Thanks, Hans -- AMSAT Director and VP Engineering. Member: ARRL, AMSAT-DL, TAPR, Packrats, NJQRP, QRP ARCI, QCWA, FRC. ARRL SDR WG Chair If you're going to be crazy, you have to get paid for it or else you're going to be locked up. Hunter S. Thompson ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] CIC stop band
Hello, Thank you for the graphs. I wasn't aware that there was a HBF after the CIC. Yes, I'd like to know the frequency response of the whole usrp from input to output when I decimate by 250. Thank you to everyone for the help so far, Hans - Original Message - From: Firas abbas To: Hans Glitsch Cc: gnuradio mailing list ; Eric Blossom Sent: Wednesday, May 16, 2007 11:19 PM Subject: Re: [Discuss-gnuradio] CIC stop band Dear Hans, I think you meant the frequency response of CIC+ HBF filters. However, the USRP CIC decimation filter has 4 stages. I did MATLAB analysis for 4 stages CIC filter with decimation rate of 250 (as you requested) without the HBF. The spectrum analysis result is attached. The first plot is for entire range [0 to Fs/2]. The second one is zoomed near the interested band. You will see a huge theoretical gain (more than 190 dB) because of CIC bit growth. Firas Eric Blossom [EMAIL PROTECTED] wrote: On Wed, May 16, 2007 at 04:00:24PM -0700, Hans Glitsch wrote: Hello, What is the stop band of the FPGA CIC filter? How do I figure out the attenuation at a given frequency outside my bandwidth? I'm decimating by 250. Thanks, Hans It's a fourth order CIC. See http://users.snip.net/~donadio/cic.pdf for the transfer function. Eric ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio -- -- -- Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.5.467 / Virus Database: 269.6.5/792 - Release Date: 5/6/2007 9:01 PM -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Disabling the USRP FPGA HBF
Dear Matt, Dear Eric, Is there away to disable (or bypass) the USRP FPGA DDC half band filter? I want to get the samples directly from the CIC decimation filter and do the low pass filtering by software. I developed a MATLAB based professional 100KHz bandwidth digital down converter as shown in the attached m file. I want to test this design in USRP. In the mean time, I cannot do this because I don't have access to the CIC output samples because of the HBF. Waiting for your help, thank you. Firas. http://www.nabble.com/file/8491/testddc100k.m testddc100k.m -- View this message in context: http://www.nabble.com/Disabling-the-USRP-FPGA-HBF-tf3772529.html#a10666154 Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] CIC stop band
Hello, I can give you a precise MATLAB based simulated USRP frequency response. All what I need is the HBF coefficients. So this is an open invitation to our dear Matt to give us his designed USRP HBF coefficients or frequency response. Firas, Hans Glitsch wrote: Hello, Thank you for the graphs. I wasn't aware that there was a HBF after the CIC. Yes, I'd like to know the frequency response of the whole usrp from input to output when I decimate by 250. Thank you to everyone for the help so far, Hans - Original Message - From: Firas abbas To: Hans Glitsch Cc: gnuradio mailing list ; Eric Blossom Sent: Wednesday, May 16, 2007 11:19 PM Subject: Re: [Discuss-gnuradio] CIC stop band Dear Hans, I think you meant the frequency response of CIC+ HBF filters. However, the USRP CIC decimation filter has 4 stages. I did MATLAB analysis for 4 stages CIC filter with decimation rate of 250 (as you requested) without the HBF. The spectrum analysis result is attached. The first plot is for entire range [0 to Fs/2]. The second one is zoomed near the interested band. You will see a huge theoretical gain (more than 190 dB) because of CIC bit growth. Firas Eric Blossom [EMAIL PROTECTED] wrote: On Wed, May 16, 2007 at 04:00:24PM -0700, Hans Glitsch wrote: Hello, What is the stop band of the FPGA CIC filter? How do I figure out the attenuation at a given frequency outside my bandwidth? I'm decimating by 250. Thanks, Hans It's a fourth order CIC. See http://users.snip.net/~donadio/cic.pdf for the transfer function. Eric ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio -- -- -- Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.5.467 / Virus Database: 269.6.5/792 - Release Date: 5/6/2007 9:01 PM -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio -- View this message in context: http://www.nabble.com/wise-big-block-interleaving-in-GNURadio-tf3768964.html#a10666406 Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] CIC stop band
On 5/17/07, Eng. Firas [EMAIL PROTECTED] wrote: Hello, I can give you a precise MATLAB based simulated USRP frequency response. All what I need is the HBF coefficients. So this is an open invitation to our dear Matt to give us his designed USRP HBF coefficients or frequency response. Reading the documentation in the Verilog source file is helpful: http://gnuradio.org/trac/browser/gnuradio/trunk/usrp/fpga/sdr_lib/hb/halfband_decim.v The coefficient ROM is located here: http://gnuradio.org/trac/browser/gnuradio/trunk/usrp/fpga/sdr_lib/hb/coeff_rom.v Firas Brian ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] CIC stop band
Eng. Firas wrote: Hello, I can give you a precise MATLAB based simulated USRP frequency response. All what I need is the HBF coefficients. So this is an open invitation to our dear Matt to give us his designed USRP HBF coefficients or frequency response. Firas, The coefficients are here: http://gnuradio.org/trac/browser/gnuradio/trunk/usrp/fpga/sdr_lib/hb/coeff_rom.v Matt ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] CIC stop band
Thank you Brian Matt Using Matt HBF coefficients given by the verilog file [coeff_rom.v], I did the HBF frequency response analysis by MATLAB FDATOOL. Attached is the USRP HBF result frequency response. As we can see, there is a 6 dB passband gain. In my next step, I will try to provide the frequency response of the cascaded USRP CIC+HBF sections. Regards, Firas http://www.nabble.com/file/8495/USRP%20HBF.JPG USRP HBF.JPG Matt wrote: Hello, I can give you a precise MATLAB based simulated USRP frequency response. All what I need is the HBF coefficients. So this is an open invitation to our dear Matt to give us his designed USRP HBF coefficients or frequency response. Firas, The coefficients are here: http://gnuradio.org/trac/browser/gnuradio/trunk/usrp/fpga/sdr_lib/hb/coeff_rom.v Matt Brian Padalino wrote: On 5/17/07, Eng. Firas [EMAIL PROTECTED] wrote: Hello, I can give you a precise MATLAB based simulated USRP frequency response. All what I need is the HBF coefficients. So this is an open invitation to our dear Matt to give us his designed USRP HBF coefficients or frequency response. Reading the documentation in the Verilog source file is helpful: http://gnuradio.org/trac/browser/gnuradio/trunk/usrp/fpga/sdr_lib/hb/halfband_decim.v The coefficient ROM is located here: http://gnuradio.org/trac/browser/gnuradio/trunk/usrp/fpga/sdr_lib/hb/coeff_rom.v Firas Brian ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio -- View this message in context: http://www.nabble.com/wise-big-block-interleaving-in-GNURadio-tf3768964.html#a10667330 Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] help with sampling carrier frequency
Hi all, I am just getting started on GNU radio, I was hoping I could get some advice on some simple AM envelope detection. All I would like to do is detect whether or not there is a signal (ie carrier on) and pipe either ON (ie high signal 1) or OFF (ie low signal 0) to a general IO pin or even a vector for follow on processing. I assume there is already a class built to do this, but I haven't found anything. The basic idea behind this is simple morse code on my PC. I would like to be able to decode morse code. Has there been a project for this developed or thought about? Any help would be appreciated. Cheers, Dylan Dylan Waugh [EMAIL PROTECTED] Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=listsid=396545469 ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Complete USRP DDC Frequency Response Analysis
Dear Friends, Attached is a complete MATLAB based USRP DDC frequency response Analysis figures. The USRP DDC decimation rate was 64. The CIC filter response (decimation =32), HBF response (decimation =2) and cascaded CIC + HBF (total decimation =64) response figures are attached. The MatLab source file used in this analysis is also attached. I hope this is a useful work. Regards, Firas, http://www.nabble.com/file/8500/%280%20-%2032%29MHz%29%20CIC%20Frequency%20Response%20%28CIC%20decimation%20%3D32%29.JPG (0 - 32)MHz) CIC Frequency Response (CIC decimation =32).JPG http://www.nabble.com/file/8501/%280%20-%202%29MHz%29%20CIC%20Frequency%20Response%20%28decimation%20%3D32%29.JPG (0 - 2)MHz) CIC Frequency Response (decimation =32).JPG http://www.nabble.com/file/8502/Useful%20Band%20%280%20-%201%29MHz%29%20%20HBF%20Frequency%20Response.JPG Useful Band (0 - 1)MHz) HBF Frequency Response.JPG http://www.nabble.com/file/8503/Useful%20Band%20%280%20-%201%29MHz%29%20CIC%20%2B%20HBF%20Frequency%20Response%20%28decimation%20%3D64%29.JPG Useful Band (0 - 1)MHz) CIC + HBF Frequency Response (decimation =64).JPG http://www.nabble.com/file/8504/Full%20Band%20%280%20-%2032%29MHz%29%20USRP%20DDC%20Frequency%20Response%20%28decimation%20%3D64%29.JPG Full Band (0 - 32)MHz) USRP DDC Frequency Response (decimation =64).JPG http://www.nabble.com/file/8505/Useful%20Band%20%280%20-%201%29MHz%29%20USRP%20DDC%20Frequency%20Response%20%28decimation%20%3D64%29.JPG Useful Band (0 - 1)MHz) USRP DDC Frequency Response (decimation =64).JPG The MATLAB m File used to generate the above figures:- http://www.nabble.com/file/8506/usrpddc.m usrpddc.m -- View this message in context: http://www.nabble.com/Complete-USRP-DDC-Frequency-Response-Analysis-tf3773947.html#a10671057 Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Complete USRP DDC Frequency Response Analysis
Hi, Thank you very much for your help. Can you post the output of your matlab program for 250 total decimation? I would do it myself with your m file, but I don't have matlab. Thanks, Hans - Original Message - From: Eng. Firas [EMAIL PROTECTED] To: Discuss-gnuradio@gnu.org Sent: Thursday, May 17, 2007 12:47 PM Subject: [Discuss-gnuradio] Complete USRP DDC Frequency Response Analysis Dear Friends, Attached is a complete MATLAB based USRP DDC frequency response Analysis figures. The USRP DDC decimation rate was 64. The CIC filter response (decimation =32), HBF response (decimation =2) and cascaded CIC + HBF (total decimation =64) response figures are attached. The MatLab source file used in this analysis is also attached. I hope this is a useful work. Regards, Firas, http://www.nabble.com/file/8500/%280%20-%2032%29MHz%29%20CIC%20Frequency%20Response%20%28CIC%20decimation%20%3D32%29.JPG (0 - 32)MHz) CIC Frequency Response (CIC decimation =32).JPG http://www.nabble.com/file/8501/%280%20-%202%29MHz%29%20CIC%20Frequency%20Response%20%28decimation%20%3D32%29.JPG (0 - 2)MHz) CIC Frequency Response (decimation =32).JPG http://www.nabble.com/file/8502/Useful%20Band%20%280%20-%201%29MHz%29%20%20HBF%20Frequency%20Response.JPG Useful Band (0 - 1)MHz) HBF Frequency Response.JPG http://www.nabble.com/file/8503/Useful%20Band%20%280%20-%201%29MHz%29%20CIC%20%2B%20HBF%20Frequency%20Response%20%28decimation%20%3D64%29.JPG Useful Band (0 - 1)MHz) CIC + HBF Frequency Response (decimation =64).JPG http://www.nabble.com/file/8504/Full%20Band%20%280%20-%2032%29MHz%29%20USRP%20DDC%20Frequency%20Response%20%28decimation%20%3D64%29.JPG Full Band (0 - 32)MHz) USRP DDC Frequency Response (decimation =64).JPG http://www.nabble.com/file/8505/Useful%20Band%20%280%20-%201%29MHz%29%20USRP%20DDC%20Frequency%20Response%20%28decimation%20%3D64%29.JPG Useful Band (0 - 1)MHz) USRP DDC Frequency Response (decimation =64).JPG The MATLAB m File used to generate the above figures:- http://www.nabble.com/file/8506/usrpddc.m usrpddc.m -- View this message in context: http://www.nabble.com/Complete-USRP-DDC-Frequency-Response-Analysis-tf3773947.html#a10671057 Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.467 / Virus Database: 269.7.1/807 - Release Date: 5/16/2007 6:05 PM -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] CIC stop band
On Thu, May 17, 2007 at 08:06:22AM -0700, Hans Glitsch wrote: Hello, Thank you for the graphs. I wasn't aware that there was a HBF after the CIC. Yes, I'd like to know the frequency response of the whole usrp from input to output when I decimate by 250. Thank you to everyone for the help so far, Hans Hans, Are you using the 2rxhb_2tx.rbf (the default) or the 4rx_0tx.rbf fpga configuration? If it's the 4rx version, there is only the CIC, no halfband. The default 2rxhb_2tx has the halfband after the CIC. Eric ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Disabling the USRP FPGA HBF
On Thu, May 17, 2007 at 08:18:13AM -0700, Eng. Firas wrote: Dear Matt, Dear Eric, Is there away to disable (or bypass) the USRP FPGA DDC half band filter? I want to get the samples directly from the CIC decimation filter and do the low pass filtering by software. I developed a MATLAB based professional 100KHz bandwidth digital down converter as shown in the attached m file. I want to test this design in USRP. In the mean time, I cannot do this because I don't have access to the CIC output samples because of the HBF. Waiting for your help, thank you. Firas. http://www.nabble.com/file/8491/testddc100k.m testddc100k.m If receive only is OK, you can use the 4rx_0tx.rbf fpga configuration. u = usrp.source_c(0, fpga_filename=std_4rx_0tx.rbf) Eric ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Dayton
Unfortunately, I had to cancel my trip to Dayton at the last minute. Ettus Research will not be represented there this year, but we hope to be back next year. Sorry for any inconvenience this may cause. Matt ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Audio Sink Help
I've continued to hack away at the wx GUI stuff, primarily for a demo tomorrow and this coming Monday. But in the process I've been trying to figure out what's going on with the Linux-based aUs that folks have brought up in the recent past. I haven't figured out what's going on, is the bottom line. I'm using the latest SVN trunk, and both the original usrp_wfm_rec.py code as well as my mod GUI have this issue on my Ubuntu Edgy install (on both a VM as well as a real computer). Changing the sink's block parameter does nothing. Note that this does not happen on my OSX box .. the audio sounds crisp and there is no unexpected text output. Any thoughts on what I might try for the demo tomorrow would be appreciated. I'll check email again tomorrow around 9:30 AM. Demo is at ~1 PM. Lots of work to do before then. TIA! - MLD ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Complete USRP DDC Frequency Response Analysis
Dear Hans, Attached is the graphs you requested for USRP decimation =250. Regards, Firas http://www.nabble.com/file/8515/%5B0%201%5DMHz%2C%20decimation%3D250%2C%20CIC%2C%20HBF%2C%20CIC%2BHBF%20Response.JPG [0 1]MHz, decimation=250, CIC, HBF, CIC+HBF Response.JPG http://www.nabble.com/file/8516/%5B0%2032%5DMHz%2C%20decimation%3D250%2C%20USRP%20DDC%20Response.JPG [0 32]MHz, decimation=250, USRP DDC Response.JPG http://www.nabble.com/file/8517/%5B0%201%5DMHz%2C%20decimation%3D250%2C%20USRP%20DDC%20Response.JPG [0 1]MHz, decimation=250, USRP DDC Response.JPG Hans Glitsch wrote: Hi, Thank you very much for your help. Can you post the output of your matlab program for 250 total decimation? I would do it myself with your m file, but I don't have matlab. Thanks, Hans - Original Message - From: Eng. Firas [EMAIL PROTECTED] To: Discuss-gnuradio@gnu.org Sent: Thursday, May 17, 2007 12:47 PM Subject: [Discuss-gnuradio] Complete USRP DDC Frequency Response Analysis Dear Friends, Attached is a complete MATLAB based USRP DDC frequency response Analysis figures. The USRP DDC decimation rate was 64. The CIC filter response (decimation =32), HBF response (decimation =2) and cascaded CIC + HBF (total decimation =64) response figures are attached. The MatLab source file used in this analysis is also attached. I hope this is a useful work. Regards, Firas, http://www.nabble.com/file/8500/%280%20-%2032%29MHz%29%20CIC%20Frequency%20Response%20%28CIC%20decimation%20%3D32%29.JPG (0 - 32)MHz) CIC Frequency Response (CIC decimation =32).JPG http://www.nabble.com/file/8501/%280%20-%202%29MHz%29%20CIC%20Frequency%20Response%20%28decimation%20%3D32%29.JPG (0 - 2)MHz) CIC Frequency Response (decimation =32).JPG http://www.nabble.com/file/8502/Useful%20Band%20%280%20-%201%29MHz%29%20%20HBF%20Frequency%20Response.JPG Useful Band (0 - 1)MHz) HBF Frequency Response.JPG http://www.nabble.com/file/8503/Useful%20Band%20%280%20-%201%29MHz%29%20CIC%20%2B%20HBF%20Frequency%20Response%20%28decimation%20%3D64%29.JPG Useful Band (0 - 1)MHz) CIC + HBF Frequency Response (decimation =64).JPG http://www.nabble.com/file/8504/Full%20Band%20%280%20-%2032%29MHz%29%20USRP%20DDC%20Frequency%20Response%20%28decimation%20%3D64%29.JPG Full Band (0 - 32)MHz) USRP DDC Frequency Response (decimation =64).JPG http://www.nabble.com/file/8505/Useful%20Band%20%280%20-%201%29MHz%29%20USRP%20DDC%20Frequency%20Response%20%28decimation%20%3D64%29.JPG Useful Band (0 - 1)MHz) USRP DDC Frequency Response (decimation =64).JPG The MATLAB m File used to generate the above figures:- http://www.nabble.com/file/8506/usrpddc.m usrpddc.m -- View this message in context: http://www.nabble.com/Complete-USRP-DDC-Frequency-Response-Analysis-tf3773947.html#a10671057 Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.467 / Virus Database: 269.7.1/807 - Release Date: 5/16/2007 6:05 PM -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio -- View this message in context: http://www.nabble.com/Complete-USRP-DDC-Frequency-Response-Analysis-tf3773947.html#a10676455 Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio