The Journey of Radios From Hardware to Software 114
An anonymous reader writes "The New York Times is carrying a story all about the process of replacing radios with software. The article tells the tale of Vanu Bose, son of the man who started the Bose company, and his quest to bring software to what was previously a hardware-only enterprise. He met a lot of resistance in the 90s to his ideas, because processor technology was not up to the task. Now that technology has caught up with Vanu, his software (and other products like it) are increasingly replacing now-outdated hardware components. 'Well-established companies like Motorola and Ericsson now use elements of software-defined radio for their base stations. But Mr. Bose was the first to come to market with software that could handle multiple networks with the same equipment. Software radio appears to offer an elegant solution to what has been a vexing problem: how to have a single handset, like a cellphone, communicate across multiple networks. For instance, the G.S.M. standard, for global system for mobile communications, is used broadly in Europe, and most notably in the United States by AT&T.'"
An interesting idea (Score:4, Interesting)
Re: (Score:2)
Re: (Score:3, Insightful)
Re: (Score:2)
Re:An interesting idea (Score:5, Informative)
Well, yeah. Square wave outputs do tend to generate alllll sorts of harmonics. But it does technically work. If I were serious about it, I'd at least add a capacitor across the output, to make some attempt at filtration.
The "schematic" involved an 8-pin microprocessor, with two outputs each connected to a 1k resistor. The other ends of both resistors were connected to the antenna. Not very efficient, but as a proof of concept, it was a cool toy. Tuning was completely via software (tweak the timing loop to provide the correct waveform.)
You want pictures? Happy to oblige. (The idea was to see just how simple a transmitter I could make...)
http://www.intellectualism.org/electronics/schematic.jpg [intellectualism.org]
http://www.intellectualism.org/electronics/Closeup.jpg [intellectualism.org]
Re: (Score:2)
Why do you have two outputs from the IC?
Re: (Score:2)
Re: (Score:2)
Re: (Score:1)
Re:An interesting idea (Score:4, Informative)
Bottom line - the harmonics can be taken care of by wave-shaping, i.e. you take the output load configuration into equation as you design the radio.
Re:An interesting pretty picture? (Score:1)
You don't get away THAT easily.
Yes. I would like to see a picture.
Two resistors: A couple of zig-zigs with some 'Omega' symbols attached.
The ummm, third component: "And then a miracle happens"
Please elaborate with a simple schematic of the 3rd component.
Long ago I built a tube radio. The only part I could not have done easily myself was the glass, tungsten and vacuum crapola in the radio tubes. The rest was a snap.
Given a bit of time I could have built them too.
And this was long a
Re: (Score:2)
The third component is a microprocessor. Those things have like..dozens of transistors.
I suppose you could say that the software is the magic, but you don't ask for a s
Re: (Score:1)
the only part I could not have done easily myself was the glass, tungsten and vacuum crapola in the radio tubes
I remember the Barium and other getters.. As a brief Chemistry student, always wanted to develop that stuff.
And most current microprocessors contain many manymore than like..dozens of transistors.
Like, like I said: Gimme the schematic. Of the hardware.
The software is easy. Or at least it used to be.
But then, when I think about it, could I have drawn a 100' copper wire
Re: (Score:2)
Re: (Score:1)
Re: (Score:1)
And I can make one with no resistors, no microcontrollers, a core from a roll of toilet paper, some fine wire, a steel razor blade and a piece of the so-called lead (it's really graphite) from a #2 pencil.
;)
Obvious Next Step (Score:2)
Re: (Score:1)
Re:Obvious Next Step (Score:4, Insightful)
Re: (Score:2)
Re: (Score:1)
(1) All physical processes are deterministic.
(2) All deterministic problems are computable.
It is well known that there are lots of deterministic problems which are not computable [wikipedia.org].
If you somehow are making a deep philosophical statement that no problems derived from simulating physical reality are in this category of problems (a statement which as far as I can see needs justification), you still have the problem that they might well be
Re:Obvious Next Step (Score:4, Insightful)
Software radios are awesome! (Score:2, Offtopic)
Re: (Score:1)
AT+MS=V34
AT&F&C1&D2
It's the multiplexing (Score:5, Informative)
It's not that a single software-defined radio is all that important. It's that you can do the transforms on the incoming waveform and then extract N different channels with one signal processing system. That's what's been making cellular base stations go for almost two decades. (All the hard work is on the receive side; transmission is easy.)
First generation cellular base stations (i.e. AMPS) had one big analog card per channel, each heavily shielded from its neighbors. The amount of hardware required was huge, and cell sites tended not to be fully populated with channel cards, so they were easy to overload.
Then things started to go digital, with combinations of analog and DSP components processing the signal. Both GSM and CDMA inherently assume digital processing, and in early systems, hard-wired special purpose components were used. As CPUs get faster, there's a steady trend toward using general purpose CPUs.
It's still rare to actually process RF directly in software. Usually, there's a local oscillator and mixer to down-convert the desired band to a working IF frequency, which is then digitized and processed. So it's only necessary to digitize at maybe 10-100MHz, not up in the gigahertz range.
For lower bands, though, a true software RF receivers [rfspace.com] are available. These just suck up everything from 0 to 30MHz and digitize it. An attached PC does all the hard work.
Maybe use block frequency converters? (Score:3, Interesting)
didn't someone ... (Score:2, Interesting)
Re:didn't someone ... (Score:4, Interesting)
That's an oversimplification, but it may be what you were thinking of.
Re: (Score:3, Informative)
Nyquist apply to the signal you want to process. If you want to do your filtering in the digital domain you will first have to capture both your wanted signal and the signals you seek to suppress. Otherwise you have your selectivity in your hard-ware and not in your software.
The function of "ADC with lots of front-end bandwidth" is what the hardware in the RF front-end is doing in a traditional radio system.
In GSM you must be able to detect your own signal at say -108dBm while you have a blocker at 0d
Re: (Score:2)
Resolving the 108 dB dynamic range requires 18 bits and not 36. The RF energy is measured in power which is impedance agnostic while A/D and D/A converters deal with voltages. Of course even a converter with 18 bit
Re: (Score:2)
You are right about the 18 bits for the dynamic range. The three bits for having enough s/n of the wanted signal is still needed though so it would be 21 bit.
You are also right that this is slightly academic since no-one would implement a handset in this way.
I am also rather sure that even the base-station in the story is using a band-select filter in front of the LNA to limit the signal to in-band blockers.
Re: (Score:2)
Re: (Score:2)
Limiting your in-put bandwidth to 20-40MHz is a big help against blocking signals. The most power-full blockers for a base-station will either be out-of-band blockers like TV broad-casting, radar or other applications or it will be handsets from competing cellular providers that operate outside the providers own licensed band.
It would make sense for an operator to order base-stations with a duplex filter only wide enough to cover the frequencies for which the operator have a license.
All modern handsets
Re: (Score:2)
Handsets certainly face a different set of challenges but having to only transmit and receive on a single channel or pair helps a lot. For many years now even completely analog receivers often have had varactor tuned RF filters b
Re: (Score:2)
If your radio is entirely based on software, then you'll need to do the filtering and de-modulation using digital filters and that will handle the "entire" wave and will actually nee
Re: (Score:2)
Somewhere there has to be an analog filter that is one channel wide. Cellular handsets, whether GSM or CDMA use SAW filters for that job and synthesizers to mix the desired signal down to the SAW filter freq.
Re: (Score:2)
You can get around the channel select SAW filter by using direct conversion.
In a modern handset (not software radio) you would use direct conversion meaning that you would create two sets of mixing products between your incoming signal and two copies of an LO running at the carrier frequency 90 degrees out of phase with each other.
The desired signal would be represented by the resulting complex signal from the two mixers (real and imaginary part) and the output from the mixers will be low pass filtered
Re: (Score:2)
In real direct conversion handsets there still is a synthesizer, there still is filtering to meet Adjacent Channel Power (ACP) requirements and strong signals out of band as these radios are full duplex. So you really haven't gained much vs. the tradi
Re: (Score:2)
Adjacent Channel Power requirements can be handled by the on-chip low-pass filters. In CDMA2000 you have a channel bandwidth of around 1200kHz so you implement channel select low-pass filters with 600kHz bandwidth which is very do-able on-chip. These filters are analogue (they have to be before the A/D).
Re: (Score:2)
Re: (Score:1)
Nope, not quite. If you want to digitize a signal with a bandwidth of 1 GHz, you'd need to sample it at at least 2 GHz. You can sample a signal with a 1 GHz center frequency at significantly less than 2 GHz as long as the signal is sufficiently band-limited (to prevent aliasing) and the bandwidth of the data converter and front-end are greater than 1 GHz. It's not uncommon to find affordable ADCs with sample rates around
Re: (Score:1)
Two Words (Score:5, Informative)
Re: (Score:3, Informative)
Even if you're not an amateur radio operator, it's worth checking out if you're interested in SDR. And the banquet speaker this year is Bruce Perens of Debian and OSI fame.
http://www.tapr.org/dcc [tapr.org]
Re: (Score:2)
I figure in a few more years we'll get cheap SDR.
Re:Two Words (Score:4, Informative)
You can use a capture card with a BT878 chip as a cheap entry into SDR and GNU Radio. See Here [domenech.org]
The card I have didn't require any kind of modifications, and I've successfully captured signals all the way up to about 400kHz directly from the air simply using a long wire, including digital radio (the unfortunately named DRM [wikipedia.org]) signals.
Re: (Score:3, Interesting)
Three Letters (Score:2)
http://www.dslreports.com/forum/r18623835-FCC-says-freeopen-source-software-radio-drivers-are-OK/ [dslreports.com]
A little too much feature creep. (Score:1, Offtopic)
Companies seem to forget that there is still a market for the simple. It took me two weeks of looking to find a piece of stand alone desktop equipment that satisfactorily met the following requirements:
1) AM/FM radio
2) AC plug
3) Headphone jack
4) Let's try keeping it under $30
5) Doesn't look like crap.
Sometimes, all you want is to listen to the baseball game on the radio. I didn't want to stream online (especially paying the usurious fees charged by MLB). I didn't want to change batteries. I didn
Re: (Score:3, Funny)
Re:A little too much feature creep. (Score:4, Insightful)
This is about radios in a variety of communication devices. Like cell phones. And cell phone towers. Especially cell phone towers. Not so much your Sony Walkman et al.
Looking in the wrong section. (Score:3, Interesting)
Why does it have to "not look like crap?" Why can't it look like you didn't overspend on sony quality?
Now.. whatever happened to mass-produced small crystal radios? Those'd be interesting for hurricane kits, especially if they could tune the broadcast FM band (but obviously not as an FM receiver. You can still hear FM with an AM reciever, it just doesn't sound all that great. Voice is fine, though.)
Re: (Score:1)
Crystal radios ?? (Score:2)
Re: (Score:2)
I read this and... (Score:2)
I read this and end up believing that my next radio will be delivered to me as a software printout on a sheet of paper.
Re: (Score:3, Funny)
I read this and end up believing that my next radio will be delivered to me as a software printout on a sheet of paper.
Typing in program listings? I thought that had pretty much died out by the end of the 1980s, and thank God for that. It was a PITA back then, can you imagine how long it would take you to type in software nowadays? If we generously assume that one can fit a 16KB BASIC listing onto one A4/legal-sized page, a 16MB program (pretty small by today's standards) would require 1000 pages!
(Meanwhile, a double-layer DVD's worth of data would need roughly half a million pages, so you'd need a small truck to deliver
Bose blows (Score:1, Informative)
Mod parent up (Score:2, Informative)
Re: (Score:2)
Re: (Score:2)
No highs, no lows, gotta be Bose.
Re:Bose blows (Score:5, Funny)
Only midrange! Must be Bose.
Re: (Score:1)
Everyone says Bose sucks, but no one ever says, well, who is better.
Also, what's the -best- sound card for hardware wavetable MIDI synthesis?
Re: (Score:3, Informative)
Ok, I'll bite.
I worked years ago in the Audio department at a best buy. I don't know the current state of home electronics, but I know what the mid-range state of electronics was about, oh, 8 years ago.
If Bose is not a quality audio solution, then who is? Are we back to Sony, Pioneer?
I'd rather have EITHER of those brands of speakers over bose. Any day. We also sold Cerwin Vega and JBL and yamaha, and I'd rather have any of those. The only brand that I'd buy bose over was "KLH", which was our generic h
What's that stuff between 100-250Hz? Must be Bose. (Score:1)
Having actually swept set of Bose 901's with Audio Precision gear and a calibrated mic, I can tell you that they've got one of the flattest responses I've seen. (Assuming of course you use the big equalizer box that comes with it...)
Problem is people nowadays have become accustomed to "XLOUDPHATDXBASS". People listen to portable radios with the "loudness" switch set to the on position. They listen to radio stations which heavily process their audio with excessive bass and treble, with
Re: (Score:2)
Cell Phones (Score:2, Interesting)
Re: (Score:1)
That part about the sim-cards will come true approximately when hell freezes over, pigs fly and W
Re: (Score:2)
Re: (Score:1)
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
gnuradio (Score:2)
if anyone's interested, more here:
http://www.gnu.org/software/gnuradio/doc/exploring-gnuradio.html [gnu.org]
and a bunch of links on wikipedia:
http://en.wikipedia.org/wiki/Gnuradio [wikipedia.org]
Not the first time I noticed this (Score:3, Interesting)
Re: (Score:2)
Re: (Score:2)
Vanu Bose's bitter battle with MIT (Score:1)
In older days, his father Amar Bose's company was made possible because MIT let him have the patent for nothing. Now that Amar is (presumably) a billionaire from his high profit-margin products that gross $600 million a year, he has donated $6 million back to
Re: (Score:2)
As for paying no royalties, I guess it's not the same as owning the patent. I wonder how it works
Re: (Score:2, Informative)
To paraphrase the argument, MIT its entitled to royalties, which are tied to the value of the patent, but not equity, since the company's value is more than just the patent (unless that company exists only to hold the patent).
Re: (Score:2)
When places such as MIT demand a part of any patent before it is actually invented, and other corporations demand a piece of any patent even if the invention was developed outside of their environment, it corrupts the whole pu
Emergency Communications (Score:3, Interesting)
Re: (Score:2)
BTW th
Re: (Score:1)
Cellphones aren't viable for use in emergency services. The towers jam up, or tip over, or loose power. Or all three. Sure, having a cellphone is handy for patching patient information to a hospital or ordering up sandwiches and beverages for the emergency crews. But typical cellphone handsets just aren't built for rough service (eg: getting hit with a fire hose, falling off the running board of a moving fire truck), nor are cellular networks known for disaster-tolerance, nor are cellphones viable for h
Re: (Score:2)
The DoD's new Software-based Radio (Score:4, Interesting)
That's a direct quote from the Wikipedia article (which looks like it's pretty accurate), located here: http://en.wikipedia.org/wiki/JTRS [wikipedia.org]
I'm in the Army, and buddies of mine have played with it and can attest that "it's pretty cool"
You should see the aerial.. (Score:2)
The aerials for these things are mostly ignored but are nothing short of impressive.
Re: (Score:2)
Re: (Score:2)
Software radio scaners (Score:2, Interesting)
http://groups.yahoo.com/group/gnu_radio_scanner/ [yahoo.com]
This is a group looking to build on the GNU Radio blocks.
GNU Radio (Score:2)
Software replacing hardware... (Score:5, Interesting)
There are just two big problems that have made software control a non-starter.
First is customization. Put a spring in the mechanics of an engine, and I can replace it with a shorter/longer/stronger/weaker spring. I can heat it up to weaken it, grind it down, etc... With software, you are given a black box, binary-only, with no documentation on how it works, and definitely no common interface to access and modify it. So every time car companies add another function to their cars' onboard computers, and take away mechanical systems, there's extreme resistance, as buyers know they're out of the loop, and if they want to adjust anything, or if something should go wrong, they can only take it to the select few company-blessed shops, which have paid the necessary bribes to get enough info to do just a few basic things with the onboard computer. And you're entirely screwed if you want more changes than that, because the company doesn't WANT you to, and without man millions of dollars on the line, you're not even a blip on their radar.
Despite what many believe, cost is almost never a problem. For low cost products, low-end micro-controllers can be found for pennies, and even cheaper are the basic I/O elements like thermistors, power meters, transistors, relays, etc. Yet even the dirt cheap processors sold today can do many millions of calculations per second, far faster than could be needed for damn near any products.
Second, and perhaps more important, is reliability. Computer hardware is EXTREMELY reliable. You can go buy a dirt cheap commodity CPU, RAM and MOBO, and be pretty damn sure it will run for 20 years without a SINGLE error. The only big exception to this is power supplies... a marginal one, not supplying enough power will cause a crash, but that generallyonly happens in the case of the cheapest no-name junk. What's more, go up a small step to a high quality MOBO, ECC RAM, redundant PSUs, UPS, etc., and you'll never ever see a hardware-induced glitch.
The reliability problem comes ENTIRELY from poor software, and mostly commonly available kernels, at that. People don't want to believe that, but the facts are that computers are 100% pure math machines, and math is 100% accurate. A computer will do exactly what you tell it to do, but most people are trying to program their computer through several million lines of indirection... If you write, in hex, a simple loop with a bit of processing, a computer will run it error-free, from here until doomsday, but programing a complex system in hex is much too hard, and human programmers aren't perfect enough to do so.
The only real possibility to ensure reliability with reasonable development time is something very much like a micro-kernel. You need a tiny bit (a few hundred KBs) of EXTREMELY-thoroughly audited code, that can very strictly manage memory, do strict input and bounds checking, carefully manage communications between independent modules of code, instantly tear-down and restart any bit of code which shows the slightest signs of an error, and also strictly ensuring real-time operation.
I'm not endorsing any product here. The fact is nothing like this exists. That is why we aren't seeing mechanical systems having components being replaced by software as quickly as they can be redesigned. Open source operating systems
Re: (Score:2)
You seem to be arguing that hardware is more flexible than software - but surely you are not that stupid?
A) How many cellphones now have user customizable parts like "spri
Re: (Score:2)
Re: (Score:2)
SDR has been around for years (Score:1)
Anyone from ACT/SDR reading this could perhaps fill in more details.
I think the company is out of business now. Here's an early press release:
http://www.rmit.edu.au/browse/News%20and%20Events%2FFor%20Media%2FNews%2Fby%20date%2F2000%2F;ID=poid0yrprddq;STATUS=A [rmit.edu.au]