91av

Radio sans frontières

One frequency, one broadcaster: traditional radio and TV licensing leave vast tracts of precious bandwidth unused, yet there is a neat way to let signals roam the spectrum. Licence holders will object, but are they powerless to prevent the rise of softwar

FOR most people modern technology is a nightmare of impenetrable acronyms and standards. Does your phone have Bluetooth? Your laptop have Wi-Fi? Is your PDA GPRS-enabled? Does your car come with built-in GPS? Should you care?

As long as it works, perhaps not. Often the only reason you need to know which one of these a device supports is to know if it can communicate with another one. But that may soon change. On the way are intelligent devices that can autonomously choose the best radio signal, based on the local conditions around it and on how busy each frequency is. Prepare to be rescued from the electronic Tower of Babel.

This latest revolution is not just about neat gadgets for lay people. It will also force a radical rethink of who owns and controls the airwaves. To some experts it even paves the way for a complete overhaul of radio communications and instantly solves one of the biggest problems in radio communications: interference. “Radio interference doesn’t really exist,” says David Reed, co-director of the viral communications lab at the MIT Media Laboratory. “It is not a property of radio waves, but rather a by-product of badly designed receivers.”

Behind this scientific and economic earthquake is an idea that has in fact been around for over a decade: software defined radio (SDR). Essentially it is just software that emulates the hard-wired functions of a traditional radio (91av, 17 May 1997, p 26). But only now have powerful computer chips become cheap enough to realise the promise of SDR on a grand scale. “Twenty years ago it was pointless to run SDR on anything but a supercomputer. Today we all carry around that much computing power in our pockets,” says Reed.

The principal difference between SDR and standard radio is simple. When you wire together the components of a hardware radio transceiver (transmitter-receiver), they only respond to a particular frequency band and type of modulation (the variations in frequency or amplitude that let you piggyback information on the carrier wave). To change the sort of signal the radio can pick up – FM instead of AM, for example – you need to wire up a completely different circuit using different components.

SDR changes all that. You still need an antenna and an amplifier to receive and boost received radio waves, but these are not signal-specific (see Diagram). SDR then uses hardware called an analogue-to-digital converter, which constructs a digital approximation of the smooth radio signal. The software can then process this digital representation to search for any signal that might be there, with the only limiting factor being the size and shape of the antenna. And because software switches tasks so readily, you can change which sort of signal you are looking for practically in real time.

Radio sans frontières

For example, a software-based mobile phone could switch from normal cellphone frequencies to the much faster Wi-Fi band whenever it is near a hotspot. It may sound far-fetched, but Intel has already produced such a device. Its prototype, dubbed the Universal Communicator, integrates four different communications schemes: GSM (ordinary cellphone networks), GPS, Wi-Fi and Bluetooth. It lets you place a call over the standard GSM network, and then seamlessly passes the call to a Wi-Fi hotspot if you come within range. The device uses GPS to pinpoint your location outdoors and then undetectably switch to a Wi-Fi-based positioning system indoors (91av, 26 June, p 21).

Intel’s prototype seems innocent enough. It used existing standards because they show something that can work immediately. But that belies SDR’s potential for disruption: you can broadcast anywhere on the spectrum in a blink of an eye and at virtually no extra cost. The implications are causing a storm.

In most countries today, the right to broadcast on the bulk of the radio spectrum is strictly licensed by regulators. For example, in the US the Federal Communications Commission (FCC) doles out licences to radio broadcasters, while the UK has a communications regulator called Ofcom. In each country the radio spectrum is divided up by frequency into unlicensed and licensed bands. For example, Wi-Fi operates on an unlicensed band around 2.4 gigahertz, whereas GSM, FM radio and UHF television broadcasts all use licensed frequencies. The licensing was put in place to ensure as little interfere as possible on each frequency, a pitfall easily demonstrated by switching on a hairdryer near a TV set – the ensuing fuzz on the screen is caused by radiation from the drier’s motor, which acts a bit like a random noise radio transmitter.

SDR is fundamentally challenging this old-fashioned approach to regulating the airwaves. “It’s an accident of history,” says Reed. “The existing framework was chosen because when radio was invented all we knew how to do was filter out signals according to frequency.”

As an analogy, imagine dropping two stones into a pond in different locations. As the ripples from the stones radiate and overlap, a pond skater sitting at some point on the pond’s surface would be aware that the surface was moving up and down, but it couldn’t tell there were two separate stones responsible for this wave. From its perspective the two signals have combined to form a third.

Similarly, if a single receiver happens to pick up two radio signals from different sources, it can’t distinguish the two: all it hears is the sum of both signals at that point. One signal is commonly said to cause interference with the other, yet as anyone who’s watched the ripples on a pond will know, when waves meet they hardly interfere at all, and actually pass through each other. The same happens with radio waves. The term interference is misleading, if not downright wrong, says Reed. “Fundamentally, two different radiation sources don’t interact,” he says. Although radio waves from separate sources might overlap, and a radio listening in might pick up a distorted transmission, the information in each signal is not altered or destroyed. “What we perceive as interference is in fact poor receiver design,” he says. “You can always reconstruct the waves if you have enough information.”

Each receiver hears a slightly different blend of signals depending on its location. The key to teasing them apart is having multiple receivers listening at different points and then pooling their information to separate out one signal from another. It’s a bit like having an overview of the radio signals in the same way we watch the surface of the pond. Once you can do that, then you can start transmitting a virtually limitless number of signals simultaneously at any frequency.

It sounds too good to be true, but Reed is already working on ways of making it happen. However, it will mean all radios will have to be able to transmit as well as receive. “We’ve grown up most of our lives with the idea that receivers exist without transmitters, but those radios are very handicapped in this sort of environment,” says Reed. If he gets his way, the impact will be profound. “What we’re talking about is virtually limitless wireless bandwidth,” he says. “Virtually” because so far no one has worked a way of calculating what exactly is the maximum amount of information that can be transmitted over the air waves.

Virtually unlimited bandwidth

There is a theoretical limit, however, described by engineer Claude Shannon in the late 1940s. The Shannon limit of any device is constrained by the bandwidth the device can receive, and how much energy it receives compared with the “noise” level in the environment. In practice that limit is huge. “It’s fairly easy to believe that a device that a human can hold (and won’t get too hot) can cope with something between 100 to 1000 gigabits per second,” says Reed. That sort of signal would broadcast across a wide range of frequencies simultaneously using a technology called Ultra-Wideband (91av, 24 April, p 28).

But before we reach those heady days of virtually unlimited bandwidth, there are years of fighting to come. It is not just a question of persuading the regulators of the potential benefits of SDR, it is also about convincing licence holders to stomach the change. Reed likens owning a licence to a portion of the spectrum to controlling access to particular shades of colour. “Each licensee gets exclusive access to certain colours, and that seems unnatural and unfair to me,” he says. But he faces an uphill struggle to change this.

For starters, many mobile phone operators have paid tens of billions of pounds for exclusive access to portions of the radio spectrum inhabited by 3G mobile phones. And commercial TV and radio companies pay annual fees to broadcast their signals to the public undisturbed. They will not readily give up that control and allow vagabond signals to stroll across their costly turf as software radios search for an empty spot to make a quick call or transmit a signal.

“Most of the available spectrum has been licensed,” says Paul Kolodzy, a professor of engineering and technology management at the Stevens Institute of Technology in New Jersey. “But most of that licensed spectrum is being used only about 10 per cent of the time.” Reed agrees. “When you look at TV signals, for example, only 25 per cent of the energy in the signal is information, the rest is wasted. Why shouldn’t someone make sporadic use of that idle space?” he asks.

Such inefficiency also grates on the regulators. Both the FCC and Ofcom are thinking about how to change the status quo. They are preparing a “spot” market in spectrum space, where licence holders could sublet, buy or sell portions of their unused spectrum to other companies who want access to the airwaves.

Ofcom is keeping an open mind about SDR. If people could leap in and out of the spectrum without being noticed, says William Webb Ofcom’s head of research and development, then “that wouldn’t be harmful, and it should then be possible for regulators to allow software radios even within the current licence structure”.

Instead of a licence specifying which technology and which band it is restricted to, permits would be far more flexible. “In the future, that licence might say that you can transmit at this much maximum power in this frequency, your emissions outside of that band can’t exceed this limit, and your emissions beyond a fixed geographical radius can’t exceed this level,” says Webb. Calculating those boundaries will depend on how SDR manages to fit in around existing signals in practice.

This means war

In the US, things aren’t looking quite so easy. “The battle lines are being drawn,” says David Rivas, chief technology officer of Sun Microsystems’ consumer and mobile systems group. “Many industries and corporations are concerned that the footing of their businesses will be ripped out from under them.”

Some licensees simply object to having paid billions for exclusive rights only to be told that they may be obliged to share. Others worry that squatters won’t leave when the licence-holders need their space back. Vetting and balancing such concerns takes time. “Rules to allow cellular phones began in the late 1960s and weren’t completed until the 1980s – and no one was objecting to cellular radio,” says Stagg Newman, a former chief technologist for the FCC.

There’s an even bigger worry for regulators and licence holders: what happens when the public gets its hands on SDR? “Suppose someone fiddles with the software and suddenly they’re operating on the air traffic control frequency?” says Newman. Or it could be something as subtle as tweaking software to broadcast a much stronger signal than regulations allow on a particular frequency, thereby drowning out other transmissions.

Regulators are mulling over three approaches. One is to make sure the hardware devices authenticate the origin of the software; another is to have the receiving device scan downloaded software to ensure it is well-behaved; the third is to design devices so that they’re physically unable to run software that violates certain rules.

The third approach is Kolodzy’s favourite. Hackers have so far managed to break through the first two types of defences. “It’s much easier to determine whether something is operating properly,” he says. “It’s like having a governor on your car’s engine to control speed. The governor can’t determine if you have the right to drive this car or if you always obey all the rules of the road. It just makes sure you can’t drive faster than the speed limit.”

That argument leaves some SDR enthusiasts cold. “If someone speeds, you give them a ticket; you don’t limit the capacity of cars,” says Matt Ettus, one of the brains behind an open-source project called GnuRadio. Besides, he says, “there already are millions of devices out there that don’t enforce that. The horse has left the barn”.

GnuRadio’s mission is to develop software radios and distribute them for free, to show that software radio can’t be bottled up by corporations or regulatory constraints. Ettus is part of a growing “open spectrum” movement, sparked in part by the advance of software radio technology, that seeks to abolish regulations and open the entire spectrum to anyone who wants to use it. The philosophy: governments license portions of the spectrum to avoid radio “interference”, but if there’s another way around this bogeyman, why not use it and allow everyone in on the party?

Most observers agree regulators will move towards a structure where frequencies are shared, but the process is going to take a long time – unless their hand is forced. And Reed says that one little-discussed side effect of GnuRadio could ignite a stick of dynamite under licence holders.

Reed already uses GnuRadio for experiments, and enthusiasts have written decoding software for HDTV, FM and AM radio. There are now efforts being made to create software to decode proprietary formats, including the mobile phones standards such as GSM and UMTS, the technology used in 3G phones. That could open a huge can of worms. Whereas in the past operators had control over who accessed their network because they controlled the production of the hardware, now anyone can emulate their hardware with off-the-shelf electronics. The only protection they really have is through patents on their designs.

This is similar to the problem the software industry faces with pirated copies of its software. “Stopping the distribution of software that infringes your patent is much harder than stopping a manufacturer from making devices that infringe your patent,” says Reed. “So people could build their own mobile phones and potentially connect into existing networks without having to buy a device provided by that network.”

Ettus and a team of enthusiasts have designed and built prototypes of a hardware device that can run any GnuRadio-compatible software, called the Universal Software Radio Peripheral. A manufacturer is now in the process of making the first production-line units. Others are sure to follow.

And Ettus isn’t the first to make such a device. Software radio development company Vanu in Cambridge, Massachusetts, recently demonstrated how existing portable devices are powerful enough to act as software-defined radios. It turned a PDA into a dual-function radio, serving as an FM walkie-talkie and a police-band receiver. And upcoming software will also be able to process mobile phone signals.

It is going to be a long hard fight to free the airwaves, and in the end it will probably be a compromise. Regulation will have to be greatly relaxed to allow these devices to grow. And it is unlikely today’s licence holders will relinquish control of their turf for a long time yet. But like it or not, software radio is here and it’s coming to a gadget near you.