Tuesday 9 June 2015

Hams cram bands with TV Pi in the sky


It's TV, Jim, but not as we know it

The UK government may be used to flogging off frequencies for billions to mobile operators, but one lucky bunch of radioheads have just seen all their Christmases come at once. Regulator Ofcom has lent three new slices of etheric playground to British radio hams, with strict instructions to be awesome on there. The new bands at 70.5, 146 MHz and 2.3 GHz aren't to be used for idle chit-chat about dipoles or doom (Private Frazer would be drummed off certain frequencies for his incurable optimism) , but to develop new data standards and experiment with digital voice and video.

To get radiating you have to be a licensed ham and ask for access rights, and Ofcom warns that it may take the bands back if there are problems or someone else fancies them. Still, tests are already under way with digital TV that uses a fraction of the bandwidth of the stuff you get from Aunty. In a special edition of the British Amateur Television Club newsletter, BATC reports that using a combination of Raspberry Pis and open hardware and software, full-motion colour TV has been reliably sent and received over hundreds of kilometres using less than one-tenth of the airwaves needed for a channel of old-style analogue telly. Called RB-TV - reduced bandwidth television - it's based on existing DTV standards, but with much lower symbol rates, a job that's not as simple as just picking a lower sample rate for your MP3 compression.

While hams worldwide have dozens of bands available to them, from longwave to microwaves, most are either too crowded or too small for TV or broadband data. Those with room are all UHF and above, which is intrinsically short-range - although there are a few terrestrial repeating stations for TV. The new bands at 70.5 and 146 MHz have the potential for longer ranges, and there's talk of getting the new low-bandwidth TV stuff onto lower frequencies still.

The new bands have come about because existing commercial and government users have migrated to new digital systems (with varying amounts of competence) elsewhere on the spectrum - people like the gas board, the AA and the plod - although north of the border there are still some legacy users which mean the Scots can't get at the 70.5 MHz chunk just yet. Also, some bits of the coast near Ireland and France can't play with 146 MHz for fear of upsetting the less well-endowed neighbours.

With the great British public now thoroughly saturated with UHF digital TV and broadband wireless data, there's no obvious commercial use for the old frequencies. Below about 150 MHz, antennas are too big and propagation too variable to make them palatable. Indeed, large chunks of the VHF spectrum between 30 and 60 MHz haven't been reallocated since the BBC closed down 405 line telly in 1985, and with nobody lining up to claim the FM analogue broadcast band it's looking like analogue switch-off there can be delayed indefinitely.

So, the hams get to play - and get to develop new ideas that, although they too have no obvious commercial benefit, may still end up being useful outside the hobby. And if not, it'll still be damn good geeky fun.

Thursday 30 April 2015

The joy and despair of Mahler on a micro

This is all sorts of wonderful.  Twelve Sinclair ZX Spectrum vintage home computers, networked together to play the first bit of Mahler's First Symphony. Why? Because of a throw-away line in the original Spectrum's manual from 1982.

But I am troubled.

I taught myself programming on a ZX81, then a ZX Spectrum, and through a series of unlikely events ended up at Sinclair Research in the mid-80s. My first real job there was taking the original source code for the ZX Spectrum, which lived in a handful of largely undocumented slabs of raw Z80 mnemonics, and rebuilding it into an editable form for the ZX Spectrum 128 project. I had to rely on Ian Logan and Frank O'Hara's Complete Spectrum Rom Disassembly book, as the Sinclair documentation was about three comments and a semi-descriptive filename.

(Later, I worked for Amstrad on the Spectrums +2 and +3. I also wrote advertising copy for them. As the +3 had MIDI, I wrote that it "could play a symphony" - the boss made me take that out, over my objections,  as he wasn't sure it was technically true. Thirty years on, I have been proved right. Oh yes.)

As it was for uncounted thousands of others, the Spectrum was a life-shaping slab of warm black plastic.

I am unstinting in my love.

I am also a terrible snob. While I am delighted by the Mahler project, I must question some of the decisions.

The first is the use of a Raspberry Pi as the central synchronising conductor. Some may say that the Pi is the spiritual successor to those revolutionary days of home computing, and I would not demur. Some may say that it is not only valid but essential to allow the performance and interpretation of all great works of music to adapt to their times, bridging the sensibilities of the present with the eternal genius of the creator. Of course, of course.

But what we have here is the equivalent of original instruments playing music in the original style. The Pi is hugely connected - one would say  tainted - with Sinclair's great rival, Acorn Computers and its BBC Micro. Think Herbert von Karajan vs. Wilhelm Furtwängler, or Oasis vs. Blur. Having a Pi at the centre of things is like Blur reforming (oh, they have) and touring with Noel Gallagher as musical director (oh, he isn't). The Pi is a placeholder in the eternal war of Z80 vs 6502, and that must never, ever, be forgotten, let alone capitulated.

Why was the Pi even necessary? That a central synchroniser was needed - sure. Different Spectrums can run at subtly different speeds - the later models especially - and they can't keep time so well. But surely another Spectrum could waggle the virtual baton? Conductors do not keep strict tempo  - a job for metronomes -  and that is fine, as long as the orchestra follows.

The other is the use of modern Soectranet Ethernet adaptors. Now, these are wonderful in their own right; I saw the prototype running a Twitter client on a ZX Spectrum at the Bletchley Park Vintage Computing Fair a while ago, and rejoiced at the absurd pleasure it gave. But the Ethernet standard, 802.3, was introduced in 1983, the year after the Spectrum. Not quite anachronistic, certainly inappropriate. Why not use ZX Net, the network built into the Spectrum's own Interface 1? That would also provide the famous Sinclair-designed mass storage 'solution', the Microdrive, which nicely sidesteps the rather dull business of loading tape software into the twelve computers of the symphony.

I freely admit that these complaints are niggardly, mean and pointless. It would have meant a lot more work for the volunteers behind the project, and not one in a thousand of those attending would have cared. As it is, the project succeeded admirably in celebrating the hacker ethos, keeping history alive, and promoting the human nature of technology in an age where it can seem remote, commercial and slightly alien. Many would be more than satisfied with this.

But there is no point in being a terrible snob if one is prepared to be swayed by arguments over niggardliness, meanness and pointlessness.

There is either a right way, or there is not. I condemn these evil traducers to the burning pits of Hades, with a broken WH Smith's piano-keys cassette player, a wobbly RAM pack and an overheating regulator. for all eternity.





Sunday 26 April 2015

The Wristwatch of the Long Now

One of the many criticisms of the Apple Watch is that it is priced as an expensive to very expensive watch, but has the expected lifetime of a smartphone. Expensive watches hold their value, not for the four or five years that Apple products hold theirs, but across generations - so is this, too, to be lost? Why don't we try and do better?

I have always been fascinated by building electronics for a very long life. I collect old radios, and have one that's getting on for eighty years old: it's in a sorry state but is very capable of being revived. Earlier radios yet - the renowned cat's whisker sets - have nothing that wears out and need no power. If kept properly, they'll work as well in five hundred years as they did on the day they were made. (Transmitters are another matter, but even so...), I once built an 'eternal' Radio 4 Longwave receiver which was as simple as possible, had no moving parts except the speaker and no electrolytic capacitors (electro-chemical components that degrade over time) and was powered by a pair of solar cells. There's always the problem of night - I couldn't get around the need for rechargeable batteries, which die quite quickly, but they can last a long time if you treat them gently. it worked perfectly well for the ten years or so I had it.

But how do you build electronics for the centuries? Moreover, why would you? There are aesthetic and cultural reasons - we value antiquities for what they tell us about our ancestors, and ourselves, as well as their intrinsic beauty. They are messages from the past, time-travellers whose value constantly renews as we discover new ways to look at them. But there are practical aspects, too; what we can learn by reassessing lhe data locked inside their fabric informs our understanding today and predicting the future. There is no reason why electronics, our premier technology, shouldn't be consciously designed for that future, to carry on that work. It would be something that didn't deny consumerism but gives it more ambiguity, new ways to consider what it is, exactly, that we're doing - even who we are.

One of the most striking projects is the Clock of the Long Now, a multi-million dollar effort to build a timepiece that will not only survive ten millennia but keep good time throughout. It's mechanical, but the problems it faces - power, maintainability, reliability, clarity of operation, independence from external resources - are the same that any Methuselah electronics has to deal with. And there are no reasons to think that any of these problems would be unanswerable - when we do decide to design for the long-term, we can do quite well. The Voyager space probes are still alive after nearly forty years in space, after all, which is a lot harsher place to live than your front room. There's just no commercial imperative.

Which is where the concept of beauty comes in. We are predisposed to find well-engineered things worth having in themselves, far more so objects that also display consummate artistry.  Apple makes aesthetics one of its primary selling points, and that's worked out quite well, so it's safe to assume that there'll be a market for things that are not only beautiful and functional, but intend to hang around for hundreds of years.

What might these things be? A long-standing idea is that of the life catcher, a gizmo that records a wide variety of pictures and daily events over years, but none of the prototypes and experimental devices have been commercialised. These are probably too complex to be a good starting point for the new tradition of devices that outlive their owners I'm proposing

Any data stored over deep time is interesting. If you could look over even just your average daily ambient temperature over your lifetime, you'd find much to intrigue you. Or the loudest five minutes of audio every Christmas Day, or tiny snapshots of time spent with relatives, or how busy your WiFi is or... well, there is so much evanescent information in our lives. What would you most want to relive about your grandparents' time - or that of their grandparents?

Every aspect of design is challenging. Electronic components - simple and complex - do not have century-designed lifetimes, and some, such as flash memory, have very limited specifications. But that's because they haven't been built that way. Power sources wear out, mechanical systems wear out, solar cells degrade, and energy harvesting harvests very little. But you can design for intermittent power, and you can make things repairable and replaceable without disrupting the integrity of the data collected. And you can set your own rules: we're conditioned to think about continuous or periodic data collection, but what if there was, say, a diamond that quietly stored energy from light and only sampled and stored data when enough had been accumulated? Interesting things are only going to happen when there's light about, after all - so if you can crack a very low energy clock that maintains a timestamp, then you've got a worthwhile system.

That very wide range of challenges makes it somewhat unimportant exactly what the first finished device will do, because there's so much to sort out.  There are so many avenues to explore and we have so many marvellous new techniques in our toolbox of materials engineering. Each functional module can be developed in parallel, alongside research into form and purpose, and there will be commercial spin-offs along the way. Artists and craftspeople should find plenty of inspiration to play around with, too.

It'll be a long project and will take some dedication and support, but it's audacious enough to be worth it. The Clock Of The Long Now is funded by Jeff Bezos; Apple might like to think of the Wristwatch Of The Long Now as a very fitting complement.

Legacies can be potent.

Friday 24 April 2015

Digital switch-over for FM radio could be FM's golden chance

Now that analogue TV is dead in the UK and we're all watching Antiques Roadshow on terrestrial and satellite digital TV or iPlayer, people are talking about the FM radio switch-off. The Government is keen on this to save broadcasters money and encourage the digital radio industry, but nobody else likes the idea of making the hundreds of millions of FM sets obsolete  Originally, 2015 was going to be the final year for old-fashioned stereo wireless, but as this relied on 50 percent of UK listening being on DAB and the take-up seems stalled at around 35 percent that's been pushed to 2020 or beyond. Perhaps. As many smaller broadcasters on FM won't invest in DAB until there is a solid date, and until they do the DAB listener penetration won't go up much, we are at something of an impass.

It was relatively easy to switch off analogue TV. Nobody had to throw away their old tellies, as it has been easy and cheap to plug in a set-top adaptor box for years, and TVs in cars aren't an issue. And the frequencies freed up by the transition are very useful for data and thus very valuable - not the case for the VHF FM broadcast band, which is useless for anything else. Although one country - Norway - has said it will be closing down FM in 2016, it has a population basically half London's, No comparison.

So - not much money, not much demand, politically dangerous. It's probably not going to happen.

But if it did, what would it be like? What would happen at midnight on the great day? Would the listeners be left with nothing but memories of Tony Blackburn and the Archers as they tuned through the dead reaches of static between 88 and 108 MHz? Ho, ho, ho.

Take a look at this list of radio stations caught on a scan across the London FM band last year. More than forty of them are pirates who, one supposes, will not dutifully pull the plug at zero hour. Quite the opposite - with millions of receptive listeners having nothing else to detain them, one could expect the newly fallow channels to be populated by our piratical pals in microseconds. Nor is that difficult: a quick look through eBay shows that you can pick up FM transmitters with useful ranges for forty quid upwards. And if Ofcom can't be bothered to close down the pirates when they're active on a band that's officially in use, it certainly won't bother afterwards - and nobody's going to pony up the cash to make it happen anyway.

Which raises an intriguing possibility. It would be cheap and easy for a public-minded person in a community to set up DAB-FM gateway transmitters and replace the big broadcasters' missing signals. Capital and running costs would be minimal, and it's even plausible to add extra services (such as BBC 6 Music) that aren't on FM now. In fact, there'd be no way of stopping people from doing it, without some massive legal campaign by the authorities, and the political fall-out would not be pleasant.

So, how about encouraging that? Create a framework for co-ordinating transmitters and frequencies to avoid mutual interference, publish light technical guidelines and provide planning help for transmitter footprints, antenna positioning and so on. Much of this is already available online for free, and could be largely automated. It wouldn't even need to be a government service, although some thought would be needed for how to handle disputes and problems. The very real problems of malfunctioning or mal-adjusted equipment causing interference to other services - the air band is next door -  would remain, but even here there are a number of potential, low-cost and effective solutions to identifying and correcting such problems. There is now a glorious profusion of clever radio systems you can build for pennies that can scan bands and track, locate and characterise unwanted signals. This could even work better than the current rather ponderous and expensive Ofcom man-in-a-van approach.

The resulting largely deregulated FM band could be the best thing to happen to broadcast radio this century. Communities could have their mix of national and local broadcasters maintained, while getting the freedom to create their own low-cost stations at will. The burden of massive national network infrastructure that merely repeats DAB content would be lifted

You can, if you wish, get worried by thoughts of copyright and rights payments if just anyone can plug in a transmitter and become a broadcaster. Those are, I think, small fry compared to what's happening right now online

Wednesday 1 April 2015

High Resolution Audio - floored by the noise

I know why they do it, but it's not helping.

Xmos, a UK company I know and admire, sells processor chips. They're massively multicore and deterministic, acting more like programmable hardware than classic processors but (unlike FPGAs, for example) are easy to program. As a result, they're good at stuff that needs a lot of real-time data handled with low latency, such as audio processing.

Audio is a big part of Xmos' market, and that's good. Digital audio has made huge quantities of high-quality speech and music part of everyone's lives. Those of us who grew up before CDs were invented have some idea how remarkable the past forty years have been: the younger lot, however, take near-universal access at near-zero cost to practically perfect audio as their birthright. There is a lot more pleasure out there for the taking, and the world is much the better for it.

But not everyone is happy. One big problem is that people have stopped buying hi-fis - or, rather, people never buy them in the first place. Older people still do, but they're dying out. Those below 40 are used to having their music delivered by phone, laptop and tablet: they buy powered speakers or a sound bar, and perhaps they buy expensive headphones, but an amp, tuner and deck? Get hip, daddio.

The other thing people no longer do is repurchase music. I think my personal record for one particular piece of recorded sound is nine - cassette, 7" single, 12" single, LP, live LP, live video, CD, remastered CD - but then I never bothered with 8-track or pre-recorded Minidisc, and by the time DVDs arrived I'd gone online, never to return.

Large industries relied on both these long-lost activities, and aren't giving up without a fight. To persuade us to buy more kit and all our favourite music yet again, the audio industry and the recording industry have got together to sell us High Resolution Audio! And Xmos is playing its part.

High Resolution Audio is fantastic. It has virtually no limits on the number of bits per audio sample it can support, and no particular end to how many samples a second it can disgorge. And, of course, it eschews all that nasty audio compression like MP3 which excised large chunks of the music in order to keep the files manageable in the days that memory, disk storage and bandwidth all cost serious money Now we have huge memories and super-fast broadband, say the industry coven, we can at last escape the chains of Bad Audio and bathe in the sweet, sunlit waters of the Good Stuff.

If only it were true.

It isn't. Well-compressed audio is indistinguishable from uncompressed audio, because the bits that have been thrown away are the bits we don't actually perceive. You won't hear any difference when things are sampled faster than the old CD standard, because it - like audio compression - was designed to match our abilities as humans. And CD as an audio medium is better by any technical measure (dynamic range, noise, stability) than vinyl - which, curiously, is often touted as an example of 'better' audio.  Which it isn't

We know all this not just because of numbers on a page, but because you can do any number of scientific listening tests to prove it. (You can do any number of tests to disprove it, but they ain't scientific.) The whole business is as daft as the TV industry deciding to sell us all sets that can reproduce ultraviolet and infrared for 'more realistic' pictures.

And if you're engaged in something that even the TV industry finds too shameful to contemplate... boy.

The good news is that, by and large, people aren't buying it. Neil Young's Toblerone-styled Pono player/service has met with derision. (This from a demographic that thinks Beats headphones are a good idea.) Tidal looks like a wash-out from day one. There's enough knowledge out there on the Web about Nyquist and dynamic range and noise floors and generally sound audio engineering that there's no excuse for not knowing the truth. Moreover, you can sell high-quality audio stuff to the digital generation without the flap-doodle.

Which is why I think Xmos is doing itself a disservice by publicly backing the high-resolution audio circus. It doesn't need to do this: if designers want to build high-resolution audio circuits, they'll find the specs of the Xmos products do the job. But the company risks being seen as willing to market nonsense over sound engineering, and I'm not sure a component company that sells to engineers and wants a public profile of competence and trustworthiness needs that.

There is a lot wrong with digital audio, but little or none of it is down to the format. There are tons of very bad products out there - headphones, speakers - and even more atrociously recorded/mixed/produced/compressed content. Xmos could cheerfully campaign against that, even producing reference designs for systems that highlight such sins and, if at all possible, militate against them. And there's no sin in pointing out that its components can go as wide and as fast as you like.

Just don't promote the woo. It sounds awful.






Fast Radio Bursts - ET or BT?

 More fun than aliens

Want to save a few minutes of your life for something useful? Don't read any article headlined "Is this evidence of alien life?". It, more than any other, will follow the rule that any headline that's a question has the  answer "No!". 


There are always small batches of such headlines floating around, as there are always odd things going on that could conceivably be aliens, if only reality wasn't going to barge in rudely and say "My ball, I think". Most recently, such headlines have clustered around the strange bright spot on Ceres (here Alienated by The Register, which at least has the good grace to answer "No" as the first word in the subhead - having your SEO and mocking it being a hallmark of the doughty Vultures), Another batch was triggered by Putin's temporary disappearance. I won't dignify that with a link, but yes, really.

In general, the more scientific the journal the less likely little green men are to appear in a headline. So, what on earth (or off it) is New Scientist doing with "Is this ET?" - published the day before April 1st, to boot? Is it really ET?

I refer m'learned reader to my first paragraph.

There is some excuse for New Scientist. It's reporting on a fascinating phenomenon called Fast Radio Bursts, which have been puzzling radio astronomers for a while. These are - you've guessed it - transient bursts of radio energy that appear to come from outside the Galaxy but cannot be explained by any known cosmic mechanism. As this is the sort of thing that SETI watchers explicitly listen for and anything that can't immediately be explained could perhaps be the result of Vulcan broadcasters, then the question isn't actually illegal.

But it's still not a good question to ask in a headline if there's a more plausible answer. In this case, a little digging not only provides one but - and here one must frown a little sadly at the grown-ups - also comes up with a reason to have some fun with creatures even more extraordinary than aliens. There really are bizarre beasts at work, and New Scientist passed them over in favour of boring old bug-eyed monsters.

Ladies and gentlemen - no, FRBs are not aliens. Instead, I give you (probably) perytons - mythical beasts that are a cross between a stag and a bird.

The New Scientist article actually gets just about a far as you can in admitting this without being quite able to give up its fond hope for real aliens. The shame is that the piece is based on an Arxiv paper that doesn't pull that punch, leaving the reader in no doubt that perytons are afoot (the researchers, Hippke and Domainko, know how to leave the cake of conclusion on the plate for the reader while simultaneously scoffing it down).

Let's not bury the lede any deeoer. Perytons were created by the sainted Borges, who not-really-claimed to have fished them out of a non-existent medieval bestiary. Since then, they've been adopted by various fans of the fantastic, such as video game writers and Dungeons and Dragonistas. Most recently, this chmeric creation has found a roost in radio astronomy, where it is now shorthand for radio signals that  appear to have non-human causes but are really the byproduct of Homo sapiens' own radio activity.

FRBs look cosmic because they're rare - we've only spotted around a dozen - and have a key characteristic of very distant signals; they look like a very intense pulse of energy that's been smeared by a massive trip through intergalactic space. Pulses of radio energy squirt out lots of radio frequencies all at once, high and low, but the low frequency signals get delayed by free electrons hanging around between the stars. Thus, if a signal comes in from far enough away, by the time it gets to us the high frequencies arrive first and the lower stuff lags behind.

Called dispersion, this smearing mechanism is a good way of estimating distance to far-away radio sources such as pulsars, and it can also be used to map the density of the interstellar medium. (This is truly fascinating and eerily beautiful, and I'll get back to this in the future.)

FRBs do indeed show lots of dispersion. So much so, they have to come from outside the Galaxy. But if they're that distant, they must also be unbelievably powerful, far more so than pulsars - which, being staggeringly puissant spinning neutron stars, are already in the top league of ferociously energetic cosmic beasts. It beggars belief that such things could be natural.

So, ET? No! I've told you already! Perytons! There are three main reasons for believing this: iirst, of the eleven FRBs detected to date, ten have been from one site (the Parkes radio telescope). Second, while the dispersion measures are extreme, they're all very closely mathematically related - they have gaps between them that are integer multiples of exactly half the FRB smallest dispersion measure detected. Remember that the dispersion measure is a proxy for the distance of the event from the Earth - for this to be true in this case, the sources of the FRBs must be precisely arranged in space at exact distances from us.

And, finally, the FRBs have arrived in the telescopes apparently well-synchronised to Earthly seconds, the universal timing system that we use to make  our computers, satellites and mobile phone transmitters march in step.

If this is ET, the only reason it'll have pointed ears is because it's a troll.

The trouble with using dispersion to conclude distance is that it assumes the nature of the original pulse. With pulsars - also semi-facetiously labelled Little Green Men when first discovered by Joceyln Bell - we have enormous numbers of observations and a good model of what's going on. FRBs have none of this - if the original transmission just happens to sweep out high frequencies first and low frequencies later, then it'll look far away but could be on our own sofa. Called chirping, this is a very common technique in radar and other related areas. (Very common; i'm listening to a Chinese transmitter doing it on 14 MHz right now.)

A despressingly large amount of time and effort goes into identifying and squashing perytons. Entire frequency bands are marked off-limits. Governments create huge quiet-sky reserves in remote countryside for radio astronomers, where all transmitters are verboten. But still, hundreds and thousands of satellites are up there, full of radio systems and digital computers, all of which radiate some interference as they drift past the sensitive dishes of the deep-space listeners, and all manner of passive but reflective clutter in the sky can bounce back terrestrial interference over thousands of miles.

The herds of perytons sweep majestically across the sky, jabbering like antlered jackdaws: to date, not one has proved to be anything from a race more exotic than our own.

Which is slightly sad, but still a good story in its own right. More so,, I think, than could-it-be-aliens-no-not-really.

(Peryton image: "Perytonmontage" by (Copulating)_Red-shouldered_Hawks.jpg: leppyoneRedDeerCaithness.jpg:derivative work: Tsaag Valren. Licensed under CC BY-SA 3.0 via Wikimedia Commons - https://commons.wikimedia.org/wiki/File:Perytonmontage.jpg#/media/File:Perytonmontage.jpg)

Sunday 22 February 2015

Crosstown Traffic - the prequel

I love the history of technology, for a thousand reasons. Technology is evolution at warp speed: until humans came along, species changed and spread through nature over hundreds of thousands of years. You needed bigger teeth, or a thicker shell, or a way to tap into a particular food source, you had to wait for the right random mutation and enough generations of natural selection to get there. God, it took ages.

If humans wanted sharper teeth, they knapped flint to a knife. A thicker shell; carve a shield out of wood or weave plant fibres into a coat. You could think it up in an afternoon, tell everyone about in a day, have it everywhere in a month. (The inter-relationships between language and technology are severely in need of a good rummage, but, y'know, linguists are a tribe who tread their own path.). So, technology turns us from creatures that have to adapt at the speed of biology, to ones that can adapt at the speed of making things. Evolution is about creating advantages better than the other critter, so we're now really, really, really good at evolution. Of course we've taken over the planet. 

That alone would make the history of technology just the juiciest antelope to hunt - the grand view. But the tiniest stuff is equally delicious.A medical friend tells me the story about how, when she was doing her first house work in a London hospital, the common room got its first colour TV. It had just been installed; it was a Saturday afternoon, and five doctors were clustered around the set excitedly watching the football. Two men in brown shop-keeper coats came in, unplugged the telly - "Sorry, gents, there's a fault, we have to take it away" - and walked out with it. 

There was no fault. The men were audacious thieves. It was worth going to all that risk and trouble to take a TV out from under hte noses of its owners, because the thing was worth so much money. Now, nobody steals them any more: property crime in the NHS is down! TVs-as-a-thing, despite being just as much a part of our culture as before, have almost vanished.They're paper-thin. They cost very little, and their resale price is even less. What was an enormous, specialised collection of esoterica - a mammoth vacuum-filled glass tube with a particle accelerator built-in, fed by a 25 thousand volt power supply, connected to machinery with hundreds of adjustments and thousands of individual bits - is now a couple of chips costing tuppence and a glass panel that's printed with chemicals the same way a newspaper is printed with ink. Which, not coincidentally, is roughly what used to be a fax machine has become, what was a typewriter is now, where the souls of videorecorders and telephones and cameras and walkie-talkies now live, what large parts of an aircraft cockpit are, what an oscilloscope or a heartbeat monitor or whatever is. Everything is a couple of chips and a plate of glass. (Oh, and radio waves. We'll get onto those, be sure of that.)

And this in its own way is part of the digitisation of human culture,  the freeing of our information - which is to say, a large part of being human - from the need to evolve at the speed of making things. Instead, it - and thus to a large part we - now evolve at the speed of having ideas and writing them down. Look what happened last time we made that kind of leap. What a time to be alive.

And you say technology is dull? Jeez. 

None of which is what this blog was going to be about when I started it - which was about how the Cold War (another of my obsessions) hasn't gone away but has embedded itself, like viral DNA, in the tiniest, most intimate details of our everyday life. That'll have to wait until next time. 

Wednesday 18 February 2015

Strike a light - LiFi's dim prospects

I'm a fan of new technology, and a bigger fan of anything that makes communications faster, cheaper and easier for all. So I should be excited by a new-ish technology which calls itself LiFi.

I'm not. There are good technical and practical reasons why - but something rather more disturbing has made me even less of a fan.

The basic idea is simple enough, and has been around since Edison. Take an ordinary light and wobble the voltage to it fast enough, and some distance away those wobbles can be picked up by a photodetector and turned back into an electrical signal. Do it with voice, and you've got a telephone that works by light. Do it with data and you've got... well, that's how fibre optics work. These days, it's commonplace to push gigabits a second across oceans using the technique.

In fact, the original wifi specification included an LED option, sending around a megabit over the sort of LEDs you find in remote controls.

LiFi takes this idea and says 'let's do it with ordinary room LED lightbulbs'. Feed them with Internet, and you've got an alternative to wifi with none of that dreary old frequency congestion ("Radio spectrum is running out!"), Instead you get better privacy ("Light can't go through walls!") and much faster connections. And it'll be cheap!

And this is all true,now we have low-cost powerful LED room lighting. But is it useful?

There are three major drawbacks. First is the obvious one - it doesn't work in the dark. You may never want to use the Internet in the dark, of course, and you may never put your mobile phone into a pocket or your tablet into a bag. But if you do, it's lights out for your Internet connection.

The second is slightly more subtle. Lightbulbs make lousy receivers, and bright lights are very power-hungry. So how do you get your connection from your mobile device back to the Internet? You can't have another great lightbulb plugged into your iPhone, and you can't easily build in some super-sensitive receiver device into your room lightbulb. So, if you just want to use LiFi, you'll have to install special receivers in each room - and some sort of bright flashy thing on your mobile device.

LiFi has a development kit, called Li-1st, that has a separate transmit/receive dongle you leave under a special LiFi celing-mounted receiver/modulator that transmits from an LED lightbulb, which is pretty much how we've always done this sort of thing. You do get a massive 7(ish)Mbps both ways over a huge three metre range, mind. (I'd be interested in how much radio frequency interference it generates by zapping an ordinary LED luminaire at megahertz.)

Lastly, there's the small issue of getting the Internet to the lightbulb in the first place. You can install networking-over-powerline gateways, but lighting circuits tend to be separate from ring mains and I'm not sure that'll work terribly well. They're also not very good at doing fast - and it's another thing to install. Or you can install wired Ethernet to your lightbulb sockets: precisely the sort of thing wifi was designed to eliminate. (The Li-1st goes down this route, so you'll need ceiling Ethernet to play.)

Of course, you could solve the problem of the backchannel from your mobile and the data-to-the-lightbulb problem by using, er, wifi. Doesn't solve the darkness problem, and it introduces one of its own - why do you need LiFi at all?

These are the sort of problems that sank the original wifi-over-light idea, as well as various other efforts to fill ordinary rooms with light-based data. As far as I can tell, LiFi's sole original idea is that you can use standard LED room lighting, and that doesn't actually fix much.

It doesn't work for me: it has the scent of the wrong technology trying to fix the wrong problem. There are red herrings in its spectrum: wifi, which it aims to replace, is very fast and cheap and getting better all the time. (It also works in the dark.)  Stuff like 90 GHz radio has just as much chance of fixing the radio spectrum crunch.

Plus, LiFi has a problem all its own - it's hideously overhyped. Visible light communication (VLC) can indeed go very fast, but headline speeds have no practical application (let alone commercially interesting ones) in the use model for the technology is "Internet everywhere by changing your lightbulbs". And very fast optical comms are nothing new; they are indeed useful in specialist applications.

And there is a lot of interesting research being done in the UK by the Ultra-parallel visible light communications (UP-VLC) project. on the basic technology of doing very clever things with solid-state lighting, which most certainly includes data transmission. Some time in the future, some of these ideas will have some cogent and practical applications. Some may be revolutionary.

Nonetheless, this is how it's being pushed - replace all the lightbulbs in the world with LiFi lightbulbs, and magic happens. Thirty movies a second from your Anglepoise! Billion dollar markets around the corner! Buy our technology! Invest now to beat the rush!

But my heart was finally hardened by the latest bright future emission from LiFi's head bulb, Professor Harald Haas, chair of mobile communications at the University of Edinburgh. He's involved in the research group mentioned above, but is also founder of pureLiFi, the company pushing LiFi's vision of the future.

The Scotsman printed his new screed without comment or criticism (although, since I'm informed there's just one science correspondent in the whole of Scottish media, one can't expect too much.) It's the usual breathless hyperbole, but with a little added twist - "It is also free from the health risks of Wi-Fi, which the World Health Organisation still deems to be potentially carcinogenic."

Really, Professor Haas? You want to go there? Well, it's true that a study group of the WHO did classify low-level radio frequency energy as being in Group 2B of potential carcinogens - in other words, in the group of agents that nobody can show to be harmful but which merit further work. It's a huge group, including hundreds of things such as industrial chemicals, pharmaceuticals, paint additives, food additives, nickel, coffee and the sort of magnetic fields generated by - among other things - mains equipment. Such as lighting.

In other words, bringing this up as a competitive advantage is - in my opinion - grossly irresponsible. It's using the Spectre of Cancer about things that haven't been shown to be dangerous, often after huge amounts of work, and if you really, really want to start bandying that you'd better be very sure that what you're selling is free of Group 2B agents. It's especially irresponsible from a Chair of Mobile Communications - who, one assumes, mostly works with radio frequency radiation and will be well aware of the actual evidence for health risks from wifi in particular  - which is much lower power and non-intrusive than mobile phone signals.

So - data over light is nothing new. The invention of solid-state LED lighting may open up some new uses for it: indeed, I'm sure it will. LiFi, however, is not only over-egging the pudding but is edging into snake-oil territory (sadly, not categorised as Group 2B). You don't need to be that hyperbolic, and to consistently ignore the genuine problems, if you've got a genuinely good idea.

The shiniest thing about LiFi isn't its future, it's the marketing.









A Song For Europe

This blog may be a little unusual, in that it has its own theme tune. The tune itself will be revealed in good time, alongside its connections with European bloodshed, gin, and a pure, clean, amusing virgin.


Let’s have some fun first.The story starts forty years ago, in a rambling Georgian vicarage set in a green valley on the banks of a tributary stream of the Tamar just to the north of Plymouth.


It is night, and the vicarage sleeps beneath the winter constellations. But the thick walls conveniently shelter the goings-on in one bedroom from another. The young son is wide-awake and agog at a literal war of words; his guardian angels know nothing of the clash of armies in his bedroom. The Cold War is in full spate.


The young son - the larval form of your correspondent - has discovered shortwave radio. In the pre-computer, pre-Internet age, this was seething with nations speaking unto nation, each with powerful transmitters telling the world of their version of the truth.


It was a jungle of shouts and murmurs, exotic noises and urgent signals. And music: concerts, ethnic, John Peel and Chinese orchestras.


One kind of music stands out as peculiar to the genius of the airwaves - the interval signal. To help listeners tuning in among the chaos, often with old or unreliable sets, it was the tradition for broadcasters to repeat short musical phrases in the minutes leading up to the start of programming. There were hundreds of these, from Poland’s Chopin to Israel’s urgent trumpets, and most of them have now been silenced, although you can raise them through seances in places like the Interval Signals Online archive


Some stuck fast in my musical memory. One in particular was Radio Netherland’s chiming call, ten bars in 2/4 time, little ascending minor key phrases with a pleasing resolution. (You can hear it captured from shortwave by Greg Shoom in the late 70s, 43 seconds into this recording from the Shortwave Radio Audio Archive) The young lad was much taken with it, and left recordings of it playing in hidden places at school as a sort of treasure hunt. Geek.


Forty years on: this Christmas. A flat in lively, downtown Edinburgh. The festive stresses are being kept at bay by whatever means necessary: in this case, London gin and John Dowland. Experimentally, the (still spectacled, still geeky) son of the manse has asked Spotify to shuffle through what Dowland it has, while his partner quietly hunts down obscure 6th century Middle Eastern religions online. For fun.


A new track politely plucks in from cyberspace, and in a nanosecond we’re back in the vicarage. It’s exactly the same tune - no, not exactly, but almost note for note. There’s a grab for the playlist - John Dowland, yes, and “What If A Day”. But why on earth would the Dutch use an Elizabethan English tune for a nationalistic beacon? It’s very pretty, to be sure, and perhaps more than that, but Dowland wasn’t Dutch. Was he? To the googles!


At first, each new fact just whipped up more mystery. The Radio Netherlands tune, it turned out, was called Merck toch hoe sterck (“Look, how strong”). and came from 1626 during the Eighty Years War between the Dutch and the Spanish. It has lyrics, too, which call on the doughty fighters of the Nederlands to hold out against the Spaniards who were doling out the biffing with no niggardly hand. (There’s a short Radio Netherlands talk about all this, three minutes into the same recording mentioned above.)


The Dowland, on the other hand, probably wasn’t Dowland at all but Thomas Campion, from roughly 1600. It is the setting for a poem that dwells on the randomness of fate and the evanescence of earthly pleasures. Wistful and tinged with mortality, it’s a very long way from a European slaughter song.


But how do you get here from there? How did Campion - or was it really Dowland? - get conscripted into the Cold War?


There are advantages in shacking up with a fully-armed historian. She dug away and came up with a monograph from Modern Philology, vol 4 no 3, Jan 1907 on the song and its history.


According to this century-old research, the tune starts life in a Scottish Metric Psalter in the mid-late 1500s, but at that point was just a couple of stanzas long. Campion vastly expanded and solidified it around 1600, and it then set off on hundreds of years as an evergreen, ever-mutating favourite across Europe. The main vector of infection was thespian; the song was made part of various plays and then dispersed throughout the Continent by travelling English troupes.


By the time it transmogrified into Merck toch hoe sterck, just a quarter-century after Campion had launched it, the tune was noted as  an Italian dance melody described as a "Comedianten Dans” with the name (according to Google’s Dutch-English elves, who may be having a giraffe) "Pure clean amusing virgin" - all trace of its origins gone.


There is much unanswered. How many tunes made this sort of journey? How long did they stay at the top of the pops? If it was Campion who effectively wrote it (I’m not convinced by the psalter connection), why does everyone still think it’s Dowland?


The search goes on. But as a tune that links my obsessions with shortwave radio, early music and Europe, it’s a fitting choice as this blog’s theme.



A Day In The Life

Welcome to my new blog. 

Various other blogs of mine litter the cyber-landscape like crashed spacecraft on Mars. Some worked for a while, some didn't survive the descent, others lost their support system and bleep, forlornly, into the void. 

But where would NASA be if it gave up when things went wrong, eh? The Russians kept going, even after the sky fell in. And who can ignore the glorious history of the British space programme? The only national effort with a 100 percent record of successful native payload insertion into orbit on native launcher technology. And it's still up there.  

So, per hardware ad Astra. Up and at 'em, boys.