Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Technology

Ask Eric Blossom about Software-Defined Radio 181

Eric Blossom is an electrical engineer with a history of working with radio and communications security. He gave a presentation at the recent H2K2 conference about his work with GNU Radio, which is, bar none, the single most exciting software project in existence today. (Imagine computing devices that communicate seamlessly across the entire electromagnetic spectrum.) As usual, we'll forward some of the best questions to Eric and post his responses when we receive them.
This discussion has been archived. No new comments can be posted.

Ask Eric Blossom about Software-Defined Radio

Comments Filter:
  • which is, bar none, the single most exciting software project in existence today

    Some people may disagree with this sentiment.

    I, for example, am looking forward to Doom3 more than this project which I've only just heard about.

    How can you justify these wild claims?
    • No doubt. I've never really been excited about GNUradio. How can you say it's more exciting than Linux, Samba, or LTSP?

      • Re:Bar none? (Score:3, Interesting)

        by Wumpus ( 9548 )
        With CPU cycles being as cheap as they are now, and with most desktop systems being ridiculously fast for what they're asked to do, I could think of a few interesting things you could pull off with something like this.

        Hook your computer up to your digital cable system, and have it do the QAM demodulation. Then, pump the results to an MPEG transport demux and MPEG decoder. Boom. Instant digital cable box.

        Same thing, in reverse. Output IF, and hook it up to an upconverter and amplifier. Now you're your own cable company. The equipment typically used to do this is insanely expansive, and hard to get. This can make community cable television, for example, much easier and cheaper to implement.

        Interestingly, the decoding/encoding is all done on a commodity, general purpose computer, so all copy protection schemes become hackable, the way they were with software DVD players.

        More importantly, software is easier to fix and upgrade than hardware. This could result in significant cost savings for people who want to use this kind of technology commercially. ...and, having said that, this is not a new concept - winmodems have been doing this for a while now.
        • Hook your computer up to your digital cable system, and have it do the QAM demodulation. Then, pump the results to an MPEG transport demux and MPEG decoder. Boom. Instant digital cable box.

          Boom. Instant jail time. Digital cable systems are scrambled with 3DES or Rijndael or RC4 or some other cipher. This is what the DMCA was actually intended for: to prevent piracy of cable and satellite television service.

          so all copy protection schemes become hackable

          By people who don't mind being sexually assaulted in the anus [goatse.cx]. Homosexual rape is one of the biggest problem in American prisons (and I'd imagine, prisons worldwide).

          and, having said that, this is not a new concept - winmodems have been doing this for a while now

          That was my first thought: "What the heck? A winmodem for 802.11? And it's actually endorsed by the FSF?"

          • Boom. Instant jail time. Digital cable systems are scrambled with 3DES or Rijndael or RC4 or some other cipher. This is what the DMCA was actually intended for: to prevent piracy of cable and satellite television service.

            Actually I was thinking that this can be a good way for MSOs to offer service to people who don't want a digital cable box.

            Of course, knowing how these guys work, it will never happen.

            By people who don't mind being sexually assaulted in the anus.

            Or people whose country doesn't have DMCA like laws yet, or people who have the sense to distribute their work anonymously, and the means to do so.

            I was just stating that software systems can be hacked. I don't think hacking a copy protection scheme is ethically wrong - using this knowledge to violate the social contract that stipulates that people are entitled to compensation for their work, is.

  • playboy gets an XM radio channel, and development floureshes. just another example of how pr0n drives all new technology.
  • by minddog ( 460206 ) on Monday September 09, 2002 @12:57PM (#4222004) Journal
    I was recently at H2K2 and heard this forum which right away made me ecstatic(sp?). An issue that was brought up was how this can impact the DMCA, FCC, and the big corps. You guys were saying Sony, and the other conglomerates were forming a committee that would do a digital signature to say what was allowed to be copied, and not through a dual channel checking...My question is what is the status of digital radio and its rights in the present world? To my understanding you can have a very high number of digital channels inside a single band which makes licensed analog frequencies just a waste of money to corporations if they use GNURadio as a means to transmit data long distances. Anyways, looking forward to some feedback and goodwork, I'll be joining this revolution soon, just got the dual server built ;)
    • by killthiskid ( 197397 ) on Monday September 09, 2002 @01:06PM (#4222080) Homepage Journal

      I'm thought something along the same lines... used to be that any RF that came into a person's airspace was fair game... now that's not true. It can be illegal just to 'listen in' (esp. if it involves decrypting the signal).

      It seems to me we're moving the complexity away from expense to duplicate hardware into 'free' to duplicate software. With the increase in power and decrease in cost of general purpose (programable) electronics (i.e. CPU, radio recievers, ADCs, etc), one person can write complex software that can then be used to utilize the (relativiely) inexpensive hardware.

      Once you have the hardware setup, you can change the software and:

      • Listen to police band.
      • Listen to cell phone.
      • Listen to XM radio
      • Listen to satelite transmissions
      • Listen to military communications?
    • To my understanding you can have a very high number of digital channels inside a single band which makes licensed analog frequencies just a waste of money to corporations if they use GNURadio as a means to transmit data long distances.

      Not strictly true.

      The amount of data that you can stuff into one frequency band within given power and noise specifications has a hard limit, no matter what the encoding scheme. Every once in a while someone claims that spread-spectrum or scrambled or UWB some other encoding scheme will surmount this, and every time someone else points out that this is not correct.

      The encoding in conventional radio broadcasts is wasteful, but they don't need to adopt software-controlled radio to get better information densities. Look at satellite relays or any other data transfer in regimes where bandwidth is expensive to see what can actually be done.

      Software-definable radio is still an interesting subject, of course.
      • My understanding is that the classical commercial radio modulation schemes are a price/performance tradeoff, with most of the price part based on the technologies available before 1970. It all has to be modulated and demodulated with "dumb" hardware, and the receivers have to be commodity items.

        That said, we could probably start stuffing multi-channel digital signals into the spaces between the existing analog channels, or do some frequency hopping spread spectrum into those gaps, and get some decent performance in existing bandwidth.
        • That said, we could probably start stuffing multi-channel digital signals into the spaces between the existing analog channels, or do some frequency hopping spread spectrum into those gaps, and get some decent performance in existing bandwidth.

          While in principle we could do that, in practice the problems are twofold.

          Firstly, we'd need to be using extremely good equipment to get the required dropoff in intensity outside our desired bands. Software radio isn't a magic bullet, here. Nonlinearities in your output stages and jittering and drifting in your modulation clock are just a few of the many things that conspire to screw you up here.

          And building a bandpass filter that sharp the old-fashioned way is just painful.

          So, we wouldn't be able to do this easily or cheaply.

          Secondly, getting permission to use an already-claimed section of bandwidth makes pulling teeth look easy, so I doubt such a system would ever realistically be implemented. If you're not worried about legality, just use a lower-quality software radio rig to transmit spread-spectrum signals below the noise floor and pray that nobody near you notices fading.

          But, again, it's a nifty toy, and potentially quite useful as a simultaneous multi-channel _receiver_, which is what most of the first-glance stuff on the software radio page was about. Also useful as a tool if you're doing R&D with radio devices (and so have permission to clutter the spectrum in your area).
  • by wowbagger ( 69688 ) on Monday September 09, 2002 @12:58PM (#4222011) Homepage Journal
    The GNU radio page is a little thin on the hardware requirements to run the code - could you spell them out?

    I realize this might be complex, and that the answer might be of the form

    to demodulate a 16QAM signal at 115.2kBaud, you would need an XYZ digitizer card reading the 455 kHz IF and a AAA GHz Athlon CPU. To recover standard multplex FM, you would need a 123 digitizer reading the 455 kHz IF and a BBB GHz Athlon. To decode GSM you need a FFF digitizer reading the 10.7 MHz IF and a quad Athlon.


    But as both a ham and one who designs SDRs, I'd like to know where this resides on the Home Hacking Scale....
    • I'm one of the other GNURadio developers...


      You can just use a soundcard if that's all you have. It will get you 44 kHz of bandwidth. Then you'd need a rf tuner in front of that.

      On the high end, we use a $1k+ 20Ms/s card with a cable tuner.

      It is widely believed, but not yet proven, that you can coax raw samples from a BT8x8 video capture card, which would be a great boon, as those are cheap.

      • I'm one of the other GNURadio developers...

        You can just use a soundcard if that's all you have. It will get you 44 kHz of bandwidth. Then you'd need a rf tuner in front of that.

        On the high end, we use a $1k+ 20Ms/s card with a cable tuner.

        It is widely believed, but not yet proven, that you can coax raw samples from a BT8x8 video capture card, which would be a great boon, as those are cheap.

        No. I think you missed the point of the question, one I would like answered also. What equipment is really needed to receive radio signals? For example, the website shows looking at the FM band, but talks about the same high end $1k+ card that you mentioned that goes up to 20Ms/s samples. Clearly more equipment than this is needed to deal with the 107mhz FM band. You are apparently assuming we have something lying around that will comvert the FM band to a lower frequency. Many of use don't, unless you want to count an FM radio (which makes the need for a software radio less pressing). If we're talking about software modulation/demodulation let's just say so, if we're really talking about "Imagine computing devices that communicate seamlessly across the entire electromagnetic spectrum." then lets spell out all of the equipment that is needed to pick out signals that might be in the Ghz range.

        • by d.valued ( 150022 ) on Monday September 09, 2002 @07:27PM (#4224566) Journal
          Tangential to this.. is there any talk amongst the GNU Radio folks on building a piece of hardware that complements this software project, or is supposed to work with whatever devices the user has on hand/will build?
        • "You can just use a soundcard if that's all you have. It will get you 44 kHz of bandwidth. Then you'd need a rf tuner in front of that."

          ...
          Clearly more equipment than this is needed to deal with the 107mhz FM band

          I think you are confusing bandwidth with center frequency. FM radio stations are spaced at center frequencies 200 kHz apart e.g. 107.1, 107.3

          So the maximum bandwidth they could possibly use is 200 kHz minus the transition bandwidth. I don't know what this is off the top of my head, but I'd guess it's around 50kHz.

          You might be able to use 44 kHz of bandwidth to receive an FM radio station, but it wouldn't sound very good, since the dynamic range would be severely clipped.

          AM radio stations are spaced 10kHz apart, which would fit quite handily into 44 kHz.

          • No, I'm not confused at all, I understand bandwidth, center frequency and the rest. I work in satellite communications and also have a ham license.

            You seem confused in that you are missing the main question, which is What equipment is really needed to actually receive radio signals with this software. Sure, you can demux some signals with a sound card (I have some ham software that does a great job of this, was actually able to tune a remote receiver over the Internet, send myself the audio packets, play it back and point a mic at my speaker, recapture and digitize the audio, and pick low level signals out of the resulting information). But the original posting claimed that you could make a radio receiver with this software. Clearly you can't - you need some sort of tuner that operates at much higher frequencies than this will process, even with the fancy $1000 card mentioned, as well as with a common sound card. I want to know just what other hardware I have to have to use this fancy demux software to actually pick signals out of the air, and a sound card ain't gonna cut it.

  • Sounds familiar (Score:4, Interesting)

    by FreshMeat-BWG ( 541411 ) <bengoodwyn@ m e .com> on Monday September 09, 2002 @12:58PM (#4222017) Homepage
    As in WinModems doing the modulation/demodulation. These devices were a nightmare. After trying several I went back to a good old hardware-based-modulation modem.

    Are there parallels to this technology? and if so, how will GNU Radio avoid those pitfalls?

  • What is the link between GNUradio and 802.11b?
  • by Consul ( 119169 ) on Monday September 09, 2002 @12:59PM (#4222020) Journal
    I read through the GNU Radio website, and even though I found it informative in terms of the basic idea and examples, I couldn't find anything relating to what extra hardware is needed. (Maybe I just didn't look long enough?)

    What extra hardware is needed in addition to a computer? Are we talking DSP chips and boards, or something a little more exotic?

    Thank you for a potentially exciting project, though. This makes me want to renew my ham radio license. :o)
    • you have to check the mailing lists really, its a slow moving project tho
    • You won't need any external DSP resources, but the term "software-defined radio" is still a gross misnomer because you still need an RF front end to do anything really interesting.

      At a minimum, this would consist of a mixer and 1st local-oscillator synthesizer, preferably with an RF preamp in front of it all depending on what frequencies you want to cover and what kind of antenna and feedline you're running.

      The mixer and RF preamp can be off-the-shelf parts from Mini-Circuits [minicircuits.com] or eBay.

      The synthesizer is less convenient. I'm finishing an article on a "turnkey" octave-range VHF/UHF/microwave synthesizer design (http://www.qsl.net/ke5fx/synth.html [qsl.net] that anyone with a decent soldering iron should be able to put together, but it's still not a trivial project.

      A lot of software-defined radio efforts are targeted at relatively narrow bands like the 2.4 GHz ISM band, where a bandpass filter can theoretically be used to take advantage of ADC aliasing via undersampling. With a scheme like this, you can dispense with the mixer and synthesizer. I'm not optimistic about these kinds of ideas, though... to achieve competitive performance, every dollar you save on the mixer and 1st LO synthesizer will have to be spent on a super-high-quality ADC configuration. It seems like the sensitivity would be pretty crappy, not to mention the fact that plenty of interfering sources near other aliased frequencies would be likely to survive the trip through the front-end filter. (I will admit that I don't have any direct experience with this topology, though.... there are probably quite a few advantages that I'm glossing over.)

      At any rate, though, by keeping the traditional front-end mixer and oscillator while letting software handle the IF processing, you can use an ordinary sound card in a direct-conversion scheme (see this month's QEX [arrl.org] to demodulate just about anything in the entire spectrum -- FM, NBFM, AM, SSB, FSK, QAM, you name it. To me, that seems a lot more interesting than the "Antenna at the ADC" schemes that a lot of people are hyping.
    • This discussion has an apalling lack of 'peers' who are RF qualified.

      Software radio has been a fad for at least a decade, but in a much less ambitious sense. Mostly the focus has been on using embedded DSP in place of dedicated radio circuits - and the cost/power performance has moved in this direction (generally), particularly for smaller manufacturing volumes .

      A 'universal' radio is substantially more difficult. Radio sensitivity is limited by the inherent noise of the receiver, the dynamic range of the receiver components, including the demodulator, and gain. These components are in 'conflict', that is, more gain can limit the noise of the receiver, but may limit dynamic range more.

      There are also difficult architectural issues. A direct conversion radio (converts in one step to baseband) suffers from LO re-transmission (illegal if over certain limits), DC-offset and drift, noise and dynamic range. Single conversion to an Intermediate Frequeny (IF) simplifies these problems, but the choice of Local Oscillator (Synthesizer), including noise characteristics, switching frequency and bandwidth, combined with the necesary amplifier gain, broadband filters, mixer dynamic range, input power and noise, are complex.

      Any attempt to transmit raises complex circuit and regulatory issues.

      Radio requires a real investment in time to understand RF circuits, modulation theory, encoding and decoding techniques, protocols and regulations.

      Jumping ahead to a Linux application that 'assumes' an always appropriate (wideband or universal) radio seems like an unfortunate waste of time.

      The same code might be interesting, however, as a tutorial on modulation and protocols - if it's any good, but there are better sources.
      • IMHO, one of the best things they could do with this is start a "smart radio" configuration standard, where the digital radio components could be discovered or described, and the "software radio" would use the appropriate interfaces.

        Of course, concepts like this usually fall within the bounds of the IEEE, or worse, the ITU. Still, this could be a good tool to drive such technologies.
  • Interference (Score:2, Offtopic)

    by ChrisDolan ( 24101 )
    This is one project where hacking the code can kill people or land you in jail. Don't broadcast on the wrong frequency!

    Keep this away from radio telescopes!
    • How the f*ck is this off topic?
    • This is one project where hacking the code can kill people or land you in jail. Don't broadcast on the wrong frequency!

      Keep this away from radio telescopes!

      That brings up a good question. Are there going to be some software restrictions on which frequencies you can use? Would those restrictions be in the source or options you can change on the fly?

      It seems like a good idea to put at least one barrier between users and transmitting on police frequencies. But what kind of barrier? Should any restrictions prevent listening as well? What about military transmissions? Or air traffic control frequencies? Or the band the Secret Service uses?

      Where should the line be drawn? What does the law say?

      • Re:Interference (Score:2, Insightful)

        by AB3A ( 192265 )
        Well, there have always been limits on where you can transmit, what modulation you use, and on what freqencies. However, the not-so-recent legislation on what you can receive (ECPA) are about as ill advised as recent legislation on what you can copy (DMCA).

        First, the old saw about "Don't say anything on the air that you wouldn't want the whole world to hear" has basically been discarded by the Cell Phone industry. They got Congress to put up legislation ensuring that the police need a warrent even to monitor your cordless phone. This is universally regarded as a dumb idea by most people who know what a radio is.

        Second, they got certain modulation techniques declared off limits. It is illegal to demodulate an FM subcarrier without permission from the originator of the signal. Again, if I were monitoring SCA broadcasts from an FM station, how would they ever know?

        Just as Open Source is driving copyright owners and licensing contract lawyers nuts, so too is Software Defined Radio. It basically brings all modulation techniques back within easy reach of the average Joe radio listener. No more of this nonsense of saying that demodulating police MDT transmissions is illegal.

        My question for Eric Blossom is whether challenging the ECPA was one of the motivating factors behind this project. If not, are they the least bit interested in adhering to the ECPA's various prohibitions, or is that also irrelevant?


      • The parent post really sounds like the common knee-jerk reaction these days whenever a new and potentially industry, culture, or world changing technology comes along.

        Repeat after me: technology is neither good nor evil, only its uses are.

        Should any restrictions prevent listening as well? What about military transmissions? Or air traffic control frequencies? Or the band the Secret Service uses?

        1) Any mission-essential military transmissions have been encrypted pretty much since radio encryption has been possible. I'd even wager that the military were the ones who developed it in the first place. I work on an Air Force flightline and even us maintenance folks use handheld radios with strong encryption.

        2) ATC transmissions are not really all that interesting, even for someone planning to do something nasty. They are mostly composed of things like: "Control, this is Boeing November 3771 Whiskey requesting an ILS to runway 28L." An unauthorized person transmitting on ATC freqs would be bad, but that's already illegal. (Software radio is hardly required anyway, the equipment to transmit on aviation freqs isn't extremely expensive.)

        3) See #1.

        In short, everything that needs to be kept secret already is. Transmitting illegaly is still illegal. These two facts would not be changed by the advent of software radio.
      • ...transmitting with unlicensed transmitters in regulated frequency bands is already illegal. In Canada, CRTC uses various methods of ELINT to track down such folks and I'm sure FCC does the same in the States.

        Is having every Tom, Dick and Harry transmitting on whatever band they feel like at whatever power they feel like a good idea? Hell no. That's why it is illegal, and if you do so and they catch you, the results are pretty ugly. If it kills someone, I'm not sure you might not get charged with some sort of related Felony.

        One other poster said:
        Just as Open Source is driving copyright owners and licensing contract lawyers nuts, so too is Software Defined Radio. It basically brings all modulation techniques back within easy reach of the average Joe radio listener. No more of this nonsense of saying that demodulating police MDT transmissions is illegal.

        What use will demodulating a data signal do? I guess if everything is sent en-clair in ASCII text without a lot of heavy archaic or proprietary protocol overheads, you could get a lot out of old style MDTs. Most modern police mobile computers (palmtops, laptops, etc.) integrate at least rudimentary encryption (some limitations are placed by the public data network used as a VPN in many cases - low BW channels make long keys and multi-transaction authentications a very bad thing...).

        I worked on systems for a Canadian federal police agency and they integrated encryption to prevent some geek with a scanner and a PC from harvesting police transactions. It's true the basic crypto probably wouldn't stand up to rigoous long-term attack, but it would at least deter casual busybodies and peeping Toms. Stopping dedicated hackers with time/capability/intent is a much uglier proposition, as we all know.

        The legislation going in place now is stupid because it is relatively unenforceable (re decoding encodings/modulations like FM). But, OTOH, it is just one more play in the Gov't playbooks if someone gives them an opportunity by getting caught doing something dumb.

        I really hate unenforceable laws - they're a waste of taxpayers money. Kinda like the rules about your dog defecating in your back yard, where the Bylaw officer is not a Peace officer and has no right to enter your property.... unenforceable. And therefore retarded.

        But then, if the gov't (especially as it pertains to computers/comms) wasn't bought by lobbyists and run by the techno-clueless (for the most part), the world would be a very different place methinks.
        • It's true the basic crypto probably wouldn't stand up to rigoous long-term attack, but it would at least deter casual busybodies and peeping Toms. Stopping dedicated hackers with time/capability/intent is a much uglier proposition, as we all know.

          Sounds like the worst of the official mindset. We lose the transparency of citizens hearing police communications, but the determined and well-funded bad guy can still intercept them. And since there's an appearance of security, the agency will be less alert to such interception. So Scientology, organzied crime, and foreign intelligence get a boost in eluding investigations.
          • Not at all.

            First, if you accept that the only way to keep a secret is if two people know and one of them is dead and the other dead as well, then you've captured the root of the problem.

            At some level, crypto can be cracked. The plan is that by the time someone can DL and crack the crypto, that the transactions have been processed, the sessions closed, etc. and no session hijack is possible.

            And you talk about citizen transparency: Do your really want everyone with a radio knowing that the cops are responding to a domestic dispute at your place? Or that they book you for impaired. Or that they didn't actually find a disturbance, just found you naked doing the chicken dance with your boyfriend? That's the kind of "situational reporting" and data that goes into police transfers. Also things like them fetching your police records (criminal history). You'd really like everyone to have free access? What a terrible idea that would be.

            You probably shoulnd't be concerned about the FSB finding out you were dancing naked on your lawn, but you might not want your neighbour LoudMouth Bill, the area gossip, finding out and telling everyone.

            Also, it is quite difficult to detect penetrations of networks. This is a tough feat in wired networks and none too easy in wireless. Most intrusions by true professional crackers probably go undetected.

            We could spend millions of dollars (tens of millions, hundreds of millions) on crypto and infosec and intrusion detection. And we'd be out those many millions and still someone with the will and backing could crack it. And the villains would apply their money to cracking other aspects of the system we can't afford to defend (we underpay our cops, for example).

            Security is about balance - You try to arrange every part of your organization's infrastructure and personel base to be difficult to crack in proportion to the risk of a penetration and the likelihood of a penetration.

            The Canadian RCMP spend enough money on security to make it difficult for anyone without serious inside knowledge and some heavy backing to crack the system. That's good enough for most situations, and they have special provisions in place for the few cases where this isn't enough.

            I'd be more worried if every police data transaction was publicly transparent. Talk about a recipe for disaster....
  • I don't understand the page. What does this project DO, exactly? Does it really matter if a wave happens to be generated in software or hardware? Aren't both old news?

    Anyone want to clarify?

    • Re:What does it DO? (Score:4, Informative)

      by affegott ( 104661 ) on Monday September 09, 2002 @01:16PM (#4222153)
      It allows you to encode/decode different signals on the airwaves...

      For example, they have demonstrated it decoding two FM radio broadcasts at the same time using their ADC and a cable modem tuner.

      It replaces the hardware components involved in decoding signals... you could built a cell phone that only needs a tuner and and ADC, the rest in software. Depending on the tuning range of the tuner you use, your computer could become MANY different kinds of radios.

      That is the cool thing about SDR... when a new fancy modulation technique comes along, you only have to upgrade the software... cell companies love this. I would assume those base stations can get pricey...
      • Oh, I see. That is interesting.
      • you could built a cell phone that only needs a tuner and and ADC, the rest in software.

        If you don't mind having a bulky fan-cooled mobile phone with minimal battery life :)

        Actually, I was under the impression that techniques like this were already in widespread use (albeit with DSP chips rather than x86 PCs)
        • They are in use, but until recently computing power hadn't caught up so DSP's were needed...

          Good old Moore's Law has come to the rescue again.

          The best part of SDR is it lets you design/test NEW modulation techniques changing hardware... maybe someone will cook up a new modulation scheme optimized for P2P MP3 and prOn sharing. (j/k).

          It is some pretty neat stuff, and I hope more companies pick up on this. Maybe someone could create a universal cell phone that reconfigures itself to the network is on (FPGA based possibly). The RF hardware could stay fixed in the shell of the phone, the software could do the rrest...
  • Work Arounds (Score:3, Interesting)

    by haplo21112 ( 184264 ) <haplo@epithna.cCOFFEEom minus caffeine> on Monday September 09, 2002 @01:00PM (#4222034) Homepage
    With the restrictions to broaccasting on the internet that seem to be spring up by the day do you think this tech can become a work around. In otherwords most restrictions ar based on the faact that its the audio being rebroadcast. Perhaps is it were the Stations actual signal being broadcast across the net and recided by a capable piece of software, many of the restrictions would no longer apply. Since its the carrier signal taking the content to my computer rather than an audio codec. This would negate most of the complaints that have caused many internet radio stations to go offline....

    Your thoughts?
  • by Gekko ( 45112 ) on Monday September 09, 2002 @01:06PM (#4222081)
    What work has been done with the DoD. Can GNU Radio realistly be expected to compete with the likes of the Motorola DMR in the Defense sector?
  • by Anonymous Coward
    Using speakers to transmit the signal is of course the simple way to go about creating software radio transmitter and receiver, but not the only one. This software, called Tempest-AM [silcnet.org] (and I hear Frequency Modulation is coded too, though not released) creates a pattern on the monitor screen which causes the monitor to transmit radio signal on the selected carrier and frequency. The software could be used to transmit data as well, at least if a bit more novel modulation would be employed.
  • by Anonymous Coward on Monday September 09, 2002 @01:09PM (#4222104)
    Isn't the Slashdot blurb.. how shall I put this.. completely and totally incorrect?

    The Slashdot story implies this project will bring: computing devices that communicate seamlessly across the entire electromagnetic spectrum.

    Surely this is an exaggeration.

    It is possible to imagine real-time processing of kHz, and possibly MHz signals in software.

    There are issues with getting and antenna with decent response over a very wide range, but we can sidestep that. The point is, the ADC and actual processing of the waveform with the CPU is not unreasonable with x86 hardware.

    But if you're looking at microwave communications... that just isn't plausible to me at all.

    The ADC time resolution would surely require dedicated equipment. You could put this on a PCI card, but the PCI bus obviously does not have bandwidth for a GHz signal.

    I would think the point of this is not to cover a wide range of the spectrum at all, but instead to process a range such as 1 kHz - 10 kHz in new and unusual ways.

    And of course the applications are not limited to wireless devices! This could be just as useful with transmission down coax.
  • but WHAT is it ? (Score:3, Insightful)

    by Anonymous Coward on Monday September 09, 2002 @01:16PM (#4222155)
    [not a question for Eric Blossom unless highly moderated ;)]

    Could actually someone explain what GNU radio does? Even after visiting the site, I stil have _no clue_ what it is and what's the goal.

    Same for GNU Bayonne.

    Both sound like cool projects but hard to understand what they do.

    Would someone care to explain to the world what this project is (eg: with this, you can transmit RF waves using only a speaker), that'd be great.

    Thx
    • Here's what I think it is
      1. Go over to your clock radio on your bed stand and crack it open.
      2. Look at all the radio-related things in there. You've got some capacators, resistors, a neato tuning thing.
      3. GNU Radio replaces all that with software.
      What's good/neat? Well, right now, the "decoding" of radio waves to sound is done totally analog. This new system would give the same results, but you could apply filters to never have any static. Also, you woudln't be limited by the range of frequencies the tuner deal could handle. It's just as easy (provided you have the cpu) to decode 97.1 FM as some 900 MHz cordless phone.

      And, it's all done in software, and it's all digital, and that's always good!

  • by geirt ( 55254 ) on Monday September 09, 2002 @01:18PM (#4222170)

    I want a feature list containing all the geeky details

    • Frequency range.
    • Bandwidth (do you want to sample the whole FM band (or GSM/GPS/CB/ham bands), or just a single channel/station).
    • Sample frequency and depth (ie, fast and few bits, and do decimation in software or slow and many bits with less CPU overhead)
    • Necessary spurious free dynamic range, or some other dynamic range specification.
    • Interface to the PC (PCI, firewire, USB ...).
    • Antenna connector (OK, I know that one: BNC)

    Radio design is about trading features against each other, eg. if you want a large frequency range, you will usually end up with noisy oscillators giving you poor large signal handling, and low selectivity (ability to listen to weak stations close (in frequency) to a strong one. If you want good sensitivity, you loose large signal handling. If you want narrow filters, you get lower sensitivity (ok, this is a software radio, so you can do extra filtering in software, so this might not apply). You get the idea. Always compromises.

  • (Imagine computing devices that communicate seamlessly across the entire electromagnetic spectrum.)

    Okay, I'm imagining it. But that's not what this is, right (even though it's a cool project)? Radio's just a tiny part of the electromagnetic spectrum [lbl.gov]. This presumably isn't going to be transmitting in visible light, let alone hard X-rays and gamma rays.

  • by eyefish ( 324893 ) on Monday September 09, 2002 @01:23PM (#4222210)
    After reading some posts, some people seem to be a bit confused as to what this is and how it can be used. Well, for the /. crowd, here's a specific example which will put all this into perspective:

    Now that generating waves becomes a software problem, it means that theoretically anything that before needed hardware to modulate/demodulate (or encode/decode, depending how you look at it) signals can now be done in software. Practially, this means that you can transform your machine into a WiFi or Bluetooth system by simply installing the right software. It also means that as new future wireless technologies emerge, your hardware can support them by a simple software install.

    Similarly, anything that uses radio waves can be "emulated", like a good old FM/AM radio (the website has sample code for this), a Walky-Talkie, a home wireless phone, or even a cell phone!!!

    So now you see why there's a lot of exitement around this. If the project could only get more funding (Intel? AMD? IBM? Sun? Motorolla? Sony?) to speed this up...
    • Practially, this means that you can transform your machine into a WiFi or Bluetooth system by simply installing the right software. It also means that as new future wireless technologies emerge, your hardware can support them by a simple software install.

      And a hardware upgrade, since your WaveMangler 3700 card can only handle signals up to 3.7 GHz, but the new Sub Ether Space Net nodes talk at 5.2 GHz...

      Still fun and useful, though.
    • by WillWare ( 11935 ) on Monday September 09, 2002 @02:01PM (#4222371) Homepage Journal
      Now that generating waves becomes a software problem...

      It has always been possible to generate waves in software. What's novel here is that it's being done in real time in the IF range of frequencies. Computers are still not quite fast enough to do this in the frequency range of the carrier signal.

      When you tune your FM radio, your receiver accepts a signal centered at around 90-100 MHz and downshifts it to 10.7 MHz. The 90-100 MHz is called "radio frequency", the 10.7 MHz is called "intermediate frequency". No matter what station you listen to, it gets shifted down to the same intermediate frequency, so that once it's there, it can go thru exactly the same frequency.

      The conversion from RF to IF is a pretty simple process that ignores the actual audio content of the signal. Once it's in IF, an FM demodulator picks off the audio that was modulated onto the carrier at the transmitter. AM radio also uses an intermediate frequency, but it's 455 kHz instead of 10.7 MHz.

      GNU Radio depends upon commodity computers to sample and process the signal in real time. The Nyquist sampling theorem says you must sample at twice the frequency of interest as a theoretical minimum; in practice you'd like to sample more like threee or four times the frequency. So when you run GNU Radio, samples are whipping through your computer at 30 or 40 megasamples per second, at least for the IF processing. The audio processing can be done at a much more leisurely pace.

      Since the computer can't hope to keep up with the 90-100 MHz raw carrier (yet, anyway) there must still be some external circuitry to perform the RF->IF downshift. But that's the relatively simple circuitry - by specifying everything else in software you get a hugely flexible radio. I've drooled with envy watching people use all-mode radios to talk to satellites in orbit, but those suckers are expensive! You need to be able to do AM modulation on the 2 meter band (144-148 MHz). Now maybe I can try it one of these days.

      • No matter what station you listen to, it gets shifted down to the same intermediate frequency, so that once it's there, it can go thru exactly the same frequency.

        Brain spazz, sorry. That should say "circuitry". Once you're in the IF domain, the circuitry is carefully tuned for 10.7 MHz. For instance filters can have fixed-value components, which is cheaper and more reliable than trying to make them adjustable.

      • Nyquist limit (Score:3, Insightful)

        by wowbagger ( 69688 )
        Actually, you DON'T need to sample a 10.7 IF at double speed.

        The Nyquist theorm states you must sample your signal at not less than twice the bandwidth of your signal. You can limit the 10.7 IF to 60 kHz bandwidth and then sample it at 120 kHz just fine - this is called subsampling.

        In effect your analog to digital converter becomes an additional mixer in the processing chain. If you think about it, sampling is just multiplying the signal by a stream of Dirac impulses in the time domain, which corrisponds to convolution by a Dirac impulse in the frequency domain - just like an analog mixer.

        HOWEVER - you HAVE to bandwidth limit your IF correctly - if you sample at 120kHz and you have stuff leaking through at a bandwidth of 70 kHz you are screwed - your signals will fold over in the frequency domain.

        For those who are interested, look up the Intersil 50216 - it is a dedicated chip that does much of the signal processing for you.

        What would be COOL would be for the FSF to sell PCI cards with a 50216, 50217, and an FPGA - then you could really do some cool stuff.
        • You can limit the 10.7 IF to 60 kHz bandwidth and then sample it at 120 kHz just fine - this is called subsampling.

          You're right, that would work for a receiver. You couldn't use that idea for a transmitter, though.

          A cool thing would be to have two carrier-frequency oscillators running at 90 degrees representing the cosine and sine. If you multiply them both by coefficients and add them, and the coefficients are band-limited signals, you've got a very flexible modulator. It's also pretty easy to build a demodulator that works the same way. And you don't need an IF stage.

          If FSF is going to build a radio PCI board, I'm hoping they'll do the cosine-sine-modulator version.

          • cosine-sine-modulation

            It turns out there's a name for this, IQ modulation, where "I" means "in phase" and "Q" means "quadrature". There is a quite elegant Java simulation [educatorscorner.com] that shows what's going on.

    • Practially, this means that you can transform your machine into a WiFi or Bluetooth system by simply installing the right software.

      That doesn't seem possible. At the very least an antenna and possibly some signal amplification/attenuation circuitry will be needed, no? Soundcards only have a limited amount of bandwidth, S/N, etc. so what other type of hardware will I need before it's -actually- "simply installing the right software"?

      It also means that as new future wireless technologies emerge, your hardware can support them by a simple software install.

      Again, I'm not an RF expert, but are you saying there will be no need to buy different antenna hardware for different parts of the EM spectrum?
      • You are correct that some ammount of hardware will be required for RF. However that hardware would be pretty minimal. Such as a handfull of electronics and a circuit board bought as a mail order kit.

        You are also correct that you need more then a soundcard to get good bandwidth.

        The question is: why would you want to do WiFi or Bluetooth in software? It would be the same as a software only winModem. Dedicated hardware for that is cheap. Where the power of software radio really comes from is the ability to prototype new modes, and Hams are going to love this. As another poster wrote, nice all-mode rigs are expensive. Software radio, a soundcard, and transciever, will do the job at an affordable price.
    • Doesn't this sound an awful lot like a "Winmodem"? And arent those universally dispised by the Linux crowd because, instead of hardware, you need infinately more complex drivers? But here we have the exact same idea being proposed by a GPL proponent and suddenly it's "hands down" the greatest thing ever? At least try to appear unbiased. This flip-flop of idealism is giving me a sore neck!
  • by Nomad7674 ( 453223 ) on Monday September 09, 2002 @01:24PM (#4222214) Homepage Journal
    This technology sounds like the kind of thing which could greatly add to the convergence of devices that clutter the electronic life. You could extend convergence not only as a Smartphone but have in one device (though perhaps not simultaneously):
    1. Cell phone
    2. Computing power (PDA)
    3. FRS radio device
    4. 802.11x network device
    5. Police scanner
    6. Television reciever
    7. etc.

    Have you been approached by police departments, FedEx, etc. to develop devices to allow their people to do more stuff in fewer packages?
  • What is your strategy with dealing with the existing licensees of the electromagnetic spectrum. They will likely see GNUradio as both an economic threat to their exisiting business' and as a technological threat in terms of interference. Moreover, how do you intend to gain support of regional regulators (ie: FCC, OFTEL, etc.)?
  • Will GNU Radio support Ultra Wide Band? Soon, someday, never?

    Great project. Thanks.
  • I really miss the old FM car radio pushbuttons. Then, again, I miss actually liking the music.

    "My repetition threshold has been exceeded."
  • What resolution do you need to digitize the raw input in order to get a clean demodulation? I would have thought it would be pretty high (at least 64 bits).

    Also, along the same vein, has anyone looked into simply storing the input stream unaltered onto mass storage and then simply picking apart the bits that the user wants to view? This could make a truly ultimate TiVo-like unit once the speed got high enough (pick some times and record *ALL* channels). For now, I'd settle for a radio-TiVO (record all radio/ham stations at once).

  • I gather from some prior posts that a single device won't allow this software to "communicate seamlessly across the entire electromagnetic spectrum". However, this doesn't rule out the possibility of a range of devices that can accomplish this. What do you see when you envision these devices? What are the implications of such devices in terms of possible applications and possible ubuses, intentional or unintentional?
  • Not to take anything away from a cool project, but this kind of work is already being done in the amateur radio community.

    Check out the DSP-10 [tapr.org] designed by Bob Larkin, W7PUA and offered as a kit by TAPR [tapr.org]. It receives and transmits in the 2 meter amateur band (144-148MHz) using a standalone DSP card (that has power similar to a PC sound card). The code to drive it is all open source, and the DSP can not only handle traditional modes, but can also be programmed to do all sorts of neat stuff. New modulation schemes programmed into the DSP-10 have resulted in successful "moonbounce" (that's right, using the moon as a radio signal reflector) contacts with much lower power/smaller antennas than ever before used.

  • by rediguana ( 104664 ) on Monday September 09, 2002 @02:07PM (#4222413)
    Perhaps one of the best current applications of software radio is to act as a bridge between multiple radio systems.

    Take for example an event, such as a terrorist attack, that warrants the use of many agencies that span a wide spectrum of roles and budgets. In the US, this means from local fire, EMS, law enforcement, response teams, HazMat, right on up to FBI, US Marshalls, Secret Service, FEMA and across to public works and everyone else involved in the response effort.

    Communications in these situation has always been a big problem. It was highlighted nearly a year ago in New York and Arlington.

    What a software radio unit would allow you to do is set up on site and when in operation the unit allows all the different radio systems of the agencies - who of course have different budgets, and hence equipment - to communicate relatively easily with each other as the software radio does the transformations from one radio signal and channel to another. And this can be done without reprogramming the frequencies on the radios, as you can use agencies predesiginated channels.

    Perhaps the coolest thing is that it can be set up to work with current equipment, so apart from the bridge, and associated hardware, agencies preexisting radios will work. This is all good especially when you consider that people at the Pentagon were carrying around combos like 2 radios, 3 cell phones, and 3 pagers just to keep on top of everything.

    By moving it to software, you can target everything to nearly one device - to the point where you plug phone lines (could be cable/sattelite/rf) into the bridge, and people on radios can make phone calls.

    Another benefit is that it could be used in radio dense environments to bridge radio communications as radio devices increase in popularity by allowing them to use frequencies they weren't originially designed for. I think thats pretty cool.

    Cheers
  • by McCart42 ( 207315 ) on Monday September 09, 2002 @02:44PM (#4222498) Homepage
    If I'm interested in doing research in this field someday, and I'm currently a computer engineering major, what are some good electives that I might take? Aside from general programming necessities, what sort of signal processing courses are necessary to understand the underlying aspects of software-defined radio?
    • Would some moderator do me a big favor and mod this up? I would also like very much to see an answer to this question.
      Particularly, I'm curious as to what areas would be good to do research in. I'd like to try and help out in a part that doesn't already have a lot of support (like decoding FM radio). Any ideas?
  • Imagine computing devices that communicate seamlessly across the entire electromagnetic spectrum.

    Did you say the entire electromagnetic spectrum? Visible and otherwise, I hope?

    Someone needs to sneak one of these into a dance club. Preferably one with an impressive multicolored light show, and strobe lights. And clubbers using cell phones and other 'chic' wireless devices. That should cover a wide electromagnetic range.

    Just to see what they get out of all that 'input'.
  • So, will there be a way/API for writing our own plugins/working with other plugins? Or, better yet, a way to get the output from this out to other apps (sockets, etc)?

    The reason I ask is that I'd love to take the planned GPS code (mentioned in the "future directions" section of the project) and use it to make a GPS-based stratum-1 NTP source. Real stratum-1 time servers are expensive...doing this all w/software would be cool.

    (Yes, I know, it wouldn't be easy to get microsecond accuracy, but it'd be a hell of a lot better than nothing.)
  • Perhaps this could allow Napster to reinvent itself as a encrypted broadband spread spectrum music distribution service.
  • This is a neat hack, but not a breakthrough. Software-defined radios have been around for years. Most cellular base stations use them. It's far cheaper to have multichannel software-defined radios than several hundred physical radio transceivers. Cellular handsets are starting to go this way, too.

    GNU Radio typically uses a TV tuner card that downconverts 6MHz of spectrum (one TV signal, or about half the FM broadcast band) and digitizes it. Software can then be used to do an FFT and extract a few channels. More CPU power lets you extract more stations.

    Again, an neat hack, but not a big deal.

  • Isn't this simply a variation on a WinModem?
  • applications (Score:2, Interesting)

    In the future will this project let me do the folloing.

    Watch digital TV
    Listen to digital radio

    and analog of the above
    using just my PC and an inexpensive cature card eg bt848?
    what about encryped signals will systems like this be able to brute force encrypted digital TV/ cabel/satterlite chanels?
  • How does this compare/relate to commercial efforts such as ParkerVision's Direct2Data [d2d.com] and Vanu Bose's company Vanu [vanu.com]? ParkerVision has a number of patents [d2d.com] on their technology, will this be a problem for you?
  • by Anonymous Coward
    Hi, I've read a few snippets about Ultra Wide Band (UWB) which sound really promising. Could you please comment on UWB?

    Second, what is the bandwidth limitations of the SDR in the GNU project, if any? Audio?

    Finally, I want a duplex link to a remote device (more than 100 miles away) that I can send commands to and get back data such as pictures from a digital camera. Low bandwidth in the link is OK. What would you suggest?

    Regards,
    Chip
  • by jukal ( 523582 ) on Monday September 09, 2002 @03:42PM (#4222924) Journal
    this thesis work [mit.edu] gives some insight, summarum:

    • new capabilities and applications
    • principal limitations: A/d converters & processors
    • SR disrupts the traditional value chain:
      - dedicated semiconductors vs general-purpose processors
      - Vendors vs OS designers and software programmers
    • Cellular industry: Cost reduction > 30%, new business models, promotion of VMNOs & improved roaming
    • Regulatory impact:
      - short term: certification
      - long term: standardication & spectrum management
  • How do I build one? You've got screenshots, etc. on your web site but no schematics. No pics of hardware. No antennas. How do I follow in your footsteps?
  • Is there good reference hardware that you could recommend to use this with?

    Also, is the code generated solely for PPC/x86 processors, or can you generate code for Digitial Signal Processors? What is the current limitation on the signal bandwidth that can be processed digitally - processing power, data throughput, or what?

  • Are you worried about illegal uses, such as using this to make a GPS spoofer transmitter?
  • Hardware patents? (Score:3, Interesting)

    by cornice ( 9801 ) on Monday September 09, 2002 @04:01PM (#4223177)
    Up until now, free software has mostly threatened closed commercial software. GNU Radio, however, might make some hardware manufacturers squirm a bit. If I can use a generic device along with GNU Radio to emulate a range of devices how will this impact the makers of those devices and are you (or users of GNU Radio) possibly violating patents for some of those devices? It seems that GNU Radio will stir up more mud in the IP and DRM debates. What are your thoughts on this?
  • by Anonymous Coward
    Will GNU Radio serve as an open source engine of sorts to facilitate the decoding of live signals like POCSAG, FLEX, MDT, RTTY, etc..etc.. for developers who want to focus solely on decoding the protocols without the bother of doing DSP, or is this there a bigger picture? How will GNU Radio receive signals to process? What will be the requirements of the DAC equipment to be support under GNU Radio?
  • In a nutshell (Score:3, Insightful)

    by PD ( 9577 ) <slashdotlinux@pdrap.org> on Monday September 09, 2002 @04:14PM (#4223305) Homepage Journal
    This project is to the radio what the general purpose computer is to the abacus.
  • According to the FCC, it's illegal to sell radio receivers that can 'listen in' on cell phone conversations. This equipment will obviously have that capability, and there's no way to remove it. I suppose we won't be seeing the hardware for sale any time soon.
  • This is a neat idea, but please be aware of semiconductor physics before getting overly excited about it's capabilities. You can't communicate seamlessy across the whole electromagnetic spectrum with any device that's affordable. That's why they mention "broadband" on the website. Most of the time when you gain flexibility, you also bring on a butt load of tradeoffs like more power consumption and poor performance. It is a really good idea, though. Hope it takes off!
  • In my experience, it's much harder to develop DSP software compared to developing hardware for the same task. Hardware design these days is a mature engineering discipline. Software development remains a high-risk black art, DSP doubly so. Also, for some signal processing tasks, the demand on processing power far outstrips the current processors. For something like a 3G modem you might need 20 Gigaflops to implement it in software. Even a plain well designed comms receiver from 20 years ago with a couple of crystal filters cannot be fully emulated with today's DSP technology. Complemented and enhanced - yes, but not emulated. How do you show that software-defined radio is up to more than just filling a very limited and specialised niche?

  • Question for Eric (Score:2, Interesting)

    by Anonymous Coward
    How does this project relate to other Open Software defined radio projects such as the ARRL digital radio group and the Tuscan Amateur Packet Radio's Software Defined radio project?

    Can you give us more information on the goals of your project in relation to the goals for these other projects? Thanks.

    See http://www.tapr.org/tapr/dv/index.html for info on the TAPR digital voice group. Go to http://www.arrl.org/announce/reports-0107/digital. html for a report from the ARRL committee.

    Jay Sissom KA9OKT
  • As you are probably aware, the fruits of the Broadcast Protection Discussion Group were brought before congresspeople. Rep. Tauzin and Sen. Hollings both urged the FCC to move forward on the broadcast flag mandate.

    Since a broadcast flag is only effective if devices that receive it can act on it, legislation would be passed to outlaw devices that don't act on the flag or that allow their users to modify their behavior.

    This would make GNU Radio illegal.

    Since GNU Radio is obviously a good thing, what would you if such legislation came to pass?

  • For a couple of hundred US dollars I can get a PCI card with an FPGA or some such field-programmable logic device. Isn't this the right way to do most of the signal processing for "software" radio? Why or why not?

  • I love the idea of software defined radio. I may get involved in the project in some fashion.

    Would you care to speculate on the probability of success for those who want to pass legislation aimed at "plugging the analog hole?"

    I ask because it seems to me that such mis-guided legislation would be poison to many endeavors, yours included.

    respectfully,
    Mamba-mamba
    --
  • What I mean by this is since this is digital, is it encrypted by default? If this is so, how will the DMCA affect this type of radio?
  • Eventually, software-defined radio will come to mobile phones and PDAs, and you'll be able to just download new software to switch from CDMA to GSM and so on. At least, that's the vision - your RF hardware must still be able to handle the right frequencies.

If it wasn't for Newton, we wouldn't have to eat bruised apples.

Working...