Software Defined Radio


62 posts   Page 2 of 3   1, 2, 3
by ve3gkn » Thu Feb 23, 2012 8:53 pm
Great discussion on SDR, although I'm not a programmer, my interest would be to use the R-PI along with my Flex-1500 rig.

Any thoughts along this line?

73, Gord
Posts: 1
Joined: Thu Feb 23, 2012 8:43 pm
by kj6dzb » Fri Feb 24, 2012 5:14 am
Im swaying tords using the rasbarry pi as a platform to gauge the prepossessing power of the arm CPUs to do DSP sampling with DAC like the MAX5879 and LM97593 ,  ADC  with the ADC12D1800, or DUC/DDC with the GC6016.  Is there any one in the United states interested in designing test circuits to test this sort of chip, for RF sampling. on the Raspberry Pi or other TI DSPs cpus?

73 kj6dzb Mathison Ott
Posts: 11
Joined: Thu Jan 05, 2012 12:01 am
by RAThomas » Fri Feb 24, 2012 10:26 pm
Not SDR related, but still ham related: I'm kicking around using the R-Pi in an FRS/GPRS radio hack where I hijack the existing tuner-IC-to-microcontroller serial link (among other signals) to wind up with a programmable radio for at least the 70 cm band.  Granted, applying a microcontroller to the task would be cheaper, but...
Posts: 7
Joined: Mon Feb 06, 2012 7:03 pm
by bobaruni » Sun Mar 04, 2012 11:37 am
Well, I for one am very interested in something like this coming to life.

I have built a couple of simple SDR front end circuits that interface to the PC's audio in and am very impressed at the ability hear very very distant radio stations surpassing anything I have ever seen that is super-het or super-regen. It would be nice to not have to cart an entire PC around :)

I have seen a simple SDR design somewhere using a PIC 33F DSC (40 MIPS fixed point DSP) connected to a codec chip.

Surely even if we didn't get access to the RPi's DSP core, we still have much more than 40 MIPS to play with to decode the I/Q but there's still the problem of getting the ADC interfaced.
Posts: 2
Joined: Sat Feb 18, 2012 1:24 pm
by Laid » Mon Mar 12, 2012 5:06 pm
Hi!

As a radio amateur myself and also a SDR designer, I have long waited for something like Raspberry to become available, so I can design a radio "shield" for it. As Raspberry seems to do the same to high-end development range as Arduino did for basic automation for artists and students, it seems the right one to go with.

So, decided to give a little try for crowdfunding and created a project for basic SDR board what would be an inexpensive entry-level radio module for Raspberry.

http://www.rockethub.com/proje.....spberry-pi

The more high-end project I have, the SDR MK1.5 http://uvb-76.net/p/sdr-mk15-andrus.html could benefit from processor upgrade as well, but the professional receiver is likely too complicated and expensive concept for successful crowdfunding, so the one I am creating is more a entry-level.

The architecture will consist of preamp, analog downconverter with programmable clock synthesizer, a good quality 24-bit ADC and some filters and glue logic, and perhaps couple of buttons and rotary encoder to make it truly standalone unit.

The feature requests are more than welcome, but pleas emid the price!

Best Regards,

Andrus.

ai5eedave said:


As a ham radio operator, electrical engineer, and part time amateur radio designer hack, I have been kicking around the idea of a small low frequency (30 kHz to 100ish MHz) sampling device for the front end of a software defined radio (SDR). I envision the front end being similar to the system designed by Sinisa Tasic (YU1LM out of Serbia), except built exclusively with surface mount components to minimize size, and laid out on a board the size of the Raspi. See http://yu1lm.qrpradio.com/SDR&.....-YU1LM.pdf for a detailed description of what the RF front end would likely resemble.

I imagine that a PIC could be used to perform the analog sampling of the down-converted RF, and to convert the samples to I2C or SPI (since there is no analog capability available directly on the board. The PIC would also talk to a programmable crystal oscillator to be used for the local oscillator. A small amount of ham radio SDR software for Linux already exists, and it may be executable directly on the Raspi board. If not, some coding would have to be done, possibly making use of the onboard DSP once the DSP folks let us see behind the curtain.

This seams like a natural thing to do with a board built around a cellphone processor anyway…

Posts: 2
Joined: Mon Mar 12, 2012 4:51 pm
by jonititan » Wed Apr 18, 2012 1:43 pm
Perhaps a USB TV tuner could be used.

A very cheap SDR receiver has been demonstrated using certain of the ezcap range

http://sdr.osmocom.org/trac/wiki/rtl-sdr
Posts: 30
Joined: Sat Aug 06, 2011 2:05 pm
by zemned » Mon Apr 23, 2012 10:19 am
I have successfully got rtl-sdr running acquisitions on my RPi at 2MSPS and used offline processing to verify I was receiving valid signals by tuning it into radio 1.  I have also been able to port across the gnuradio toolkit to RPi ( a few makefile hacks required).  I'm looking at the best way of performing demanding DSP operations on the RPi at present with an aim to creating a DAB receiver running on the RPi in the longer term.
Posts: 2
Joined: Mon Apr 23, 2012 9:12 am
by kj6dzb » Tue Apr 24, 2012 3:29 am
WOW!!! Looks like you Have your PI....

As for your boment about DSP progressing the GHPSDR3 group at the sdr-widget google group is porting the FTT too openCL and openGL, in order to stream line the CPU load and primary to off load the waterfall to the GPU. This will help when the 3d waterfall is in the QT Radio. http://napan.ca/ghpsdr3/index....../Main_Page

If you would please join the group Alex has the openCL and GL code ready to go, but as that I dont know when I will get the Pi. Is worth the time to be the first on in the group to give the new code a run on the Pi.

73

Mathison kj6dzb
Posts: 11
Joined: Thu Jan 05, 2012 12:01 am
by ai5eedave » Tue Apr 24, 2012 10:20 pm
Yep, I am insanely jealous that you already have your Pi... I was up a 1:00am local time on launch day trying to "register my interest", but I didn't get an official confirmation page from Element 14 until about 3:00am after many, many tries. That probably puts me at about 100,000th in line. The longer I have to wait for my Pi to show up, the more anticlimatic it will probably be :)

I just might have to buy an EzTV666 tuner - It doesn't cover the HF ham bands, but at EUR19.99 (USD$26.ish) you can't beat the price. Maybe I should design a simple upconverter rather than an HF Quadrature Sampling Detector (QSD).
User avatar
Posts: 8
Joined: Tue Nov 22, 2011 11:48 pm
by gsh » Thu Apr 26, 2012 7:06 pm
It might be worth waiting for one of my guys to finish the project they're working on right now, which is a USB front end with all the important stuff running on the vector processor.  (i.e. the GPU)...

That way it all happens without having to kill the ARM

Gordon
--
Gordon Hollingworth PhD
Raspberry Pi - Director of Software Engineering
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 827
Joined: Sat Sep 10, 2011 11:43 am
by kj6dzb » Thu Apr 26, 2012 7:45 pm
GHPSDR3-alex has all the FFT comps running in openGL and the AMD FFT kernel.

We just got the Android aHPSDR client to do OpenGL waterfalls last night.

There are quite a few SDR hardware boards supported in GHPSDR3... +1

Gordon could you explain????

Mathison
Posts: 11
Joined: Thu Jan 05, 2012 12:01 am
by zemned » Fri Apr 27, 2012 2:46 pm
I'm that guy gsh / kj6zdzb!

I am looking at how to expose an SDR module API in the RPi that would allow us to tap into the DSP elements of the RPI; these can perform raw processing of floating point numbers many times faster than the ARMv6.

The ultimate aim is to get the API shipped in the RPi binaries distribution and provide a DAB reference design with the configuration and data acquisition (from rtl-sdr) being done on the ARM and the actual hard work being performed by the high performance DSPs on RPi.  As the API would effectively configure and connect functional blocks such as decimation filters, FFT etc.. and all the acquisition is on the ARM side, others should be able to develop more radio designs without severe limitations.

Regarding graphical display of waterfall graphs etc, the RPi supports OpenGL ES2 so that is all possible at the moment.

BR,

zemned (m1zem).
Posts: 2
Joined: Mon Apr 23, 2012 9:12 am
by kj6dzb » Fri Apr 27, 2012 5:11 pm
Thats wonderful... I dought im telling you but there is a significant performance increase when the GPU and CPUs stream line the FFT.

You should seriously check out the GHPSDR3 server...  http://napan.ca/ghpsdr3/index......ain_Page   Once RPis start to arrive in California we can test the GL code. We have integrated the AMD FFT kernel , Arm FFT, but with no RPi.....

Please we have worked for over a year building this up and there is still some good! stuff to come around the end of the year(roadMap).  If you would consider participating in the RPi +  GHPSDR3 love baby!

I hope SDR enthusiast start moving toads board like the HiQSDR, enabling wide bandwidth sampling, thats were streamlined FFT computations are going to come in to play.

73 Mathison KJ6DZB
Posts: 11
Joined: Thu Jan 05, 2012 12:01 am
by katzohki » Fri Apr 27, 2012 7:34 pm
I would love to be a part of this! Let me know if there's any way I can be involved.

My senior project in college was a SDR (not a very good one) and I've always wanted to do more in SDR. My specialty is sort of DSP too.

--Jesse

KJ6EZQ
Posts: 9
Joined: Fri Apr 27, 2012 6:24 pm
by Dave_G_2 » Sat Apr 28, 2012 9:07 am
Haven't read all the posts here in great detail (too many of them) so apologies if this has been covered before.

Why not bring the signals (I & Q) down to around 10KHz then feed them to a 16bit SPI type ADC?

Manufactures like TI, MAXIM, NXP and National make several low cost ($5 to $10) 16bit ADCs, some are even 8 channels.

According to the datasheet, the Pi can set it's SPI clock as high as 125MHz.

The bits (31 - 20) to set the frequency of the SPI_CLOCK can be found in the AUXSPI1/1_CTL0 register at address 0x7E215080.

Certainly more then good enough for sampling "audio" in the 10 to 20KHz range.

The SPI could of course also be used to set the frequency of a DDS chip acting as the local oscillator thus allowing for a fully tunable SDR radio.
User avatar
Posts: 196
Joined: Sat Apr 14, 2012 7:04 pm
by katzohki » Mon Apr 30, 2012 4:54 am
I forgot to mention this. I'd like to see this used as a VLF receiver.
Posts: 9
Joined: Fri Apr 27, 2012 6:24 pm
by kj6dzb » Mon Apr 30, 2012 5:16 am
Katzohki, Lets see the server post on http://qtradio.napan.ca/qtradi.....radio.pl 

Dave G2, get this to work: GC6016 or the ADC12D1800. Then we can really benchmark the CPU a TMS320C6713B-300 for the FFT and networking and Pi of sort for a Qt radio... Ive heard of a lot of VLF signals... never watched the band...

73
Posts: 11
Joined: Thu Jan 05, 2012 12:01 am
by Dave_G_2 » Mon Apr 30, 2012 12:39 pm
Hi kj6dzb

I suspect that the ADC12D1800 might be a bit of an overkill.

It's a 3.6Gbs/s ADC which the Pi will probably struggle to make full use of.

From the casual glance at the chips specs, it also seems to have a 12 bit parallel output which would pretty much use up a large majority of the Pi's available I/Os  and leave very little for other possibly required functions such as a tunable front end pre-selector.

I was thinking more along the lines of a 16 bit SPI ADC which can handle say 100 or so Ms/s.

Surely this will be sufficient to digitize the 10KHz (or so) I&Q signals?

I'm not a radio ham, so possibly I'm under estimating the task at hand.
User avatar
Posts: 196
Joined: Sat Apr 14, 2012 7:04 pm
by kj6dzb » Sat May 05, 2012 6:30 pm
The ADC12D1800 board is not only for the RPi.  The RPi could lock onto the FFT stream over Ethernet, or if programed the FPGA could send it's streams to another DSP server or over Ethernet your Qt-radio client running on a RPi or what ever...  I dought the Pi is going to have a hard time running up against any hard hitters that run DSP servers processes large chunks of spectrum.

Broadband spectrum sampling has to take place on a custom FPGA based system, if its with GC6016 or ADC12D1800 or something else. Every one is bouncing off the walls on this RPi SDR thing....  There are lots of ways to set up 10 to 192khz sampling systems,  the hacked usb tuner cards do about 2mhz, but to really get a SDR to Sample and synthesize RF with out specialized circuits for a one band or another.... I think we must  tackle FPGA based SDRs.

The HiQSDR is a good example of a FPGA SDR, but If the design operated on the assumption that its going to feed a Qtradio interface or even stream to another DSP server and the size of the board could come down.  http://www.hiqsdr.org/

The GHPSDR3 wiget group is discussing possible FPGA's  to accomplish the task. If the board is developed to from specks from thou out the community, then we may be talking about a new line of SDR board for mid scale production.

73

Mathison KJ6DZB
Posts: 11
Joined: Thu Jan 05, 2012 12:01 am
by caulktel » Sun May 06, 2012 6:48 pm
I also am very interested in using the Pi for SDR, in fact I have almost finished my SoftRock lite II kit. Can't wait to get it cranked up and start listening.

KB6QVI
Posts: 17
Joined: Wed Feb 08, 2012 8:59 pm
by PaulTech » Wed May 09, 2012 9:47 pm
caulktel, after getting my RTL SDR I decided to buy a soft66lite which was quite easy to build, I'm now trying to get a DDS attached to a arduino to control the frequency. And I'm looking at an old scanner trying to work out the best way to attach a connector to the 10.7MHz IF. Maybe use the 232 port on the arduino to control the scanner too.

So now I will have quite a bit of SDR gear if my RPi ever arrives, I'm probably down for the 100,000th.
Posts: 25
Joined: Sat Mar 03, 2012 1:21 am
by caulktel » Fri May 11, 2012 1:00 pm
I'm in the same boat as you, hurry up and wait. and I ordered mine about 8 hours after it went on sale. I would like to get familiar with the Arduino also, just not sure which one to buy. Thanks for the soft66lite info, I didn't know about that one. There are a lot of SDR radios out there and I would like to find a good USB radio a give it a try. The softrock lite II that I built works okay but seems to have lots of birdies, maybe it will perform better when I get it in a case and shielded. The local oscillator after being divided down is sitting at 7.056Mhz and obliterates most of the entire spectrum within the tuning range. Could be the SDR software I'm using also, Rocky.
Posts: 17
Joined: Wed Feb 08, 2012 8:59 pm