An amplifier at each end.
In August of 1858 a telegraph cable was working under the Atlantic Ocean for the first time. It was 3,200 kilometers of copper wire wrapped in a kind of natural rubber, lying on the sea floor between Ireland and Newfoundland, and the signals that came out of its far end were almost too faint to detect. A message of greeting from Queen Victoria to the American president, 98 words long, took close to 16 hours to send.
Two men on the project had opposite ideas about what to do with a faint signal. Wildman Whitehouse, the company's electrician, wanted to send harder, and he drove the cable from large coils that produced as much as 2,000 volts. William Thomson, a professor of physics from Glasgow, wanted to listen better. He had built an instrument for the purpose: a tiny mirror with slivers of magnet glued to its back, hung on a thread inside a coil of wire. The faintest current through the coil twisted the mirror a little, and the mirror threw a spot of lamplight onto a scale across the room, where the smallest twist became a movement that anyone could see.
The cable had been badly made and roughly stored, and the high voltage finished it. Within a month its insulation had broken down and the line was dead. When a lasting cable was laid in 1866, it was worked with a gentle push at one end and Thomson's mirror at the other.
Every radio link since has faced the same choice, and it takes both answers at once. At the sending end is an amplifier whose whole job is to push hard, called a power amplifier. At the receiving end is one whose whole job is to listen well, called a low-noise amplifier, or LNA for short. They are the last thing a signal passes through before it leaves one antenna, and the first thing it meets after it arrives at the other. This chapter is about those two, and about the two limits that every amplifier lives between: a ceiling above, where Whitehouse came to grief, and the hiss below.
1. A small signal steering a large supply
An amplifier makes a larger copy of a signal, and the first thing to know is where the extra power comes from. It comes from a supply, which is a battery or a wall socket. The amplifier adds no power of its own. What it does is let the small signal decide, moment by moment, how much of the supply's power flows through to the output.
A kitchen faucet works the same way. The pressure in the pipes can do far more work than your fingers can, and your fingers do none of that work. They turn the handle. A light touch on the handle becomes a strong stream in the sink, and if you wiggle the handle in a pattern, the stream follows the pattern. The stream is a large copy of a small movement, and the water company pays for it. The power steering of a car is another example: your hands say where the wheels should point, and the engine does the pushing.
The part that plays the faucet in electronics is the transistor, which has three connections. A small signal on one of them controls a much larger current flowing between the other two. Before the transistor the same job was done by the vacuum tube, and in Britain a vacuum tube is still called a valve, which is the plumber's word for the working part of a faucet.
How much larger the copy is than the original is called the gain of the amplifier, and it is counted on the decibel scale of chapter 11. A gain of 10 dB means ten times the power, 20 dB means a hundred times, and 30 dB a thousand. Amplifiers are nearly always used in a row, each one feeding the next, and their gains in decibels simply add.
2. The ceiling
No faucet can pour more than the pipe behind it supplies. Open it a little, and the stream follows your hand faithfully. Open it all the way, and turning the handle farther changes nothing. An amplifier has the same limit. Its output can swing only as far as its supply allows, and a signal that asks for more than that gets all there is and no more.
So an amplifier is faithful to small signals and unfaithful to large ones. For a small signal, twice as much going in gives twice as much coming out. Engineers call that behavior linear, because a chart of what comes out against what goes in is a straight line. Near the ceiling the line bends over and goes flat, and the tops of the signal are pressed flat along with it. Think of a bathroom scale that reads true up to 300 pounds and then stops rising.
Pressing a wave flat does more than limit it. It gives the wave a new shape, and a new shape means new frequencies. Chapter 8 told of Joseph Fourier's discovery that any signal can be built by adding pure tones together. A pure tone, the hum of a tuning fork, is the smoothest wave there is. Every other shape that repeats is that tone with fainter tones added at twice its frequency, at three times, at four times and so on. Musicians call the added ones overtones, and they are most of the difference between a flute and a violin playing the same note. Radio engineers call them harmonics. Flatten the tops of a pure tone and you have changed its shape, so harmonics appear that nobody put in.
Guitarists found this out and fell in love with it. An electric guitar played through a small amplifier turned all the way up is pressed against the ceiling on every note, and the thick, snarling sound of rock guitar is the sound of those added harmonics. Press the two buttons to hear one note clean, and then the same note pressed flat.
On a guitar the new frequencies are a color. In a radio they are trespassers. The dial is shared, every stretch of it belongs to somebody, and an amplifier that makes new frequencies is transmitting on channels it has no right to. With one tone going in, the harmonics land at multiples of its frequency, far up the dial, where a simple filter can take them off. The real trouble starts when two signals share one amplifier.
3. Two tones make a third
A violinist heard it first. In 1754 Giuseppe Tartini described something he said he had first noticed forty years before. When he played two notes at once, strongly and well in tune, a third note could be heard, lower than either, that neither string was playing. Musicians still call it a Tartini tone.
The third note is made inside the listener's own ear. An ear, like an amplifier, is faithful to soft sounds and bends for loud ones, and when two strong notes pass through the bend together, something new comes out. Flatten a single tone and the new frequencies are its harmonics. Flatten two tones together and new tones appear at sums and differences of the first two.
If the two tones are at frequencies A and B, the troublesome ones land at twice A minus B, and at twice B minus A. Those sit right beside the originals, one as far below the pair as the two tones are apart and the other as far above, and that is what makes them dangerous. Two strong signals at 100 and 115 MHz make phantoms at 85 and 130 MHz. If a faint station that someone wants to hear is at 130 MHz, the phantom lands on top of it, and no filter can take it off again. Engineers call the effect intermodulation, and those two phantoms the third-order products.
The drawing below feeds two such signals into one amplifier. The strip along the top shows them together, as an oscilloscope would. Two tones that are close in frequency swell and fade in turn, the way two guitar strings a little out of tune make a slow throb, and here the swell comes fifteen million times a second. Under the strip is the same output on a spectrum analyzer, an instrument that draws how much power there is at each frequency. Turn the strength up slowly. Watch the tops of the swells press against the dashed lines, and watch what comes up out of the hiss as they do.
against the strength going in
Push the two signals up and the phantoms rise three times as fast, three decibels for every one. That steepness is a danger and a mercy at once. At modest levels the phantoms are down in the hiss, and a radio designer's first defense is simply to keep strong signals small until they have been through a filter. Push harder and a fainter pair comes up out of the hiss beyond the first, at three times one frequency minus twice the other, and the pattern carries on outward from there.
The small chart keeps the books. The two straight lines, one for the signals and one for the phantoms, would cross at a certain level, which is called the intercept point. No amplifier ever gets there, because both curves bend over first. But the height of that crossing is the one number by which makers rate how well an amplifier stands up to strong signals. The higher the intercept, the lower the phantoms start out. A second number is marked with a ring. It is the level at which the signals have fallen one decibel behind their straight line. Makers quote that one as the point where the flattening begins in earnest.
To measure it, an engineer feeds the amplifier two clean tones from two signal generators and looks at the output on a spectrum analyzer, exactly as the drawing does. The measurement has a trap in it. The analyzer has an amplifier of its own at its input, and it will cheerfully make phantoms that the device on the bench never produced. The check is to switch in a pad that cuts the signal going into the analyzer by 10 dB. Phantoms that came from the device fall by 10 dB, like everything else. Phantoms that the analyzer was making for itself fall by 30.
Radio engineers put this arithmetic to work long before they learned to fear it. A circuit built to be as far from linear as it can be, and fed two signals on purpose, is called a mixer. Give it a faint station at 100 MHz and a steady tone at 110 MHz made inside the radio, and out comes a copy of the station at the difference between them, 10 MHz, carrying the same program. Whatever station the radio is tuned to is moved to that one frequency, where a single well-made filter and amplifier can deal with it. Edwin Armstrong developed the scheme during the First World War and named it the superheterodyne. From the 1930s on, nearly every radio and television set was built that way, and the receivers in a phone still begin with a mixer. The same arithmetic is a tool when it is wanted and a pest when it turns up uninvited.
Even a bad joint will do it. Two pieces of metal that touch through a film of corrosion conduct a little better one way than the other, which makes the joint a small flattener. Radio engineers call this the rusty bolt effect, and the people who build mobile phone towers test each connector for it by sending two powerful tones through and listening for a third.
4. The power amplifier clean, or thrifty
The last amplifier in a transmitter is the power amplifier. Everything ahead of it works with thousandths of a watt. This is where the watts are made, and where most of the electricity that a transmitter uses is spent, so two questions hang over it. How much of the supply's power comes out as radio? And how clean is what comes out?
The two pull against each other, and the faucet shows why. An amplifier wastes the least when it is wide open, with its output pressed right up against the supply, because then nearly all of the supply's push is across the antenna and very little is left across the transistor to turn into heat. Far below the ceiling the transistor is holding most of the supply back, like a faucet that is nearly shut with full pressure behind it, and what it holds back becomes heat. So an amplifier is at its thriftiest exactly where it bends the signal most.
For some signals that is no trouble at all. A signal whose strength never changes has no tops to flatten. An FM station carries its music by nudging its frequency up and down while its strength stays perfectly steady. The GPS signal of the opening story is steady as well, since all it ever does is flip. Signals like these can be run right at the ceiling, at full thrift, and they come out unharmed.
The signals that carry the most data are another matter. WiFi, and the 4G and 5G signals of a phone, are made of hundreds of separate tones sent side by side, each carrying a little of the data. Tones added together swell and fade like the two tones of the last section, only more wildly. Most of the time the total is modest, and now and then the tones line up and it leaps to many times its average. To pass those peaks cleanly, the amplifier has to be run with its average far below the ceiling, which engineers call backing off. The price of backing off is thrift. The price of backing off too little is that the peaks are flattened, and the phantoms of section 3 spill into the channels on either side.
The drawing shows one transmitter between two neighbors on the dial. Choose the kind of signal, then turn up the drive, and keep an eye on three things: the power going out, the heat left behind, and the spill into the channels next door. The dashed line in each neighbor's channel is a limit of the kind a license sets. It is drawn 30 dB under the signal, which is what the 4G standard asks of a phone.
With the many-toned signal there is no setting that is both clean and thrifty. Backed off far enough to keep its spill inside the limit, the amplifier is putting out less than a fifth of the power it could give, and it turns less than half of what it draws into radio. The rest is heat. That one trade is behind a good deal of what you notice about a phone. It is why a phone grows warm during a long upload, and why its battery drains fastest at the edge of coverage, where the network asks it to transmit at full power.
Engineers have found ways to cheat the trade a little, and two of them are worth knowing. One bends the signal the opposite way before it reaches the amplifier, so that the amplifier's own bend straightens it out again. The other makes the supply itself rise and fall along with the signal, so that the ceiling is always just above the wave and little is wasted in holding power back.
One more thing bears on a power amplifier, and it comes from the last chapter. The amplifier was built to push into 50 ohms. An antenna that is badly matched sends part of the power back, and the amplifier then faces voltages it was never designed for, which is why a transmitter keeps watch on the standing wave ratio and turns itself down when the ratio climbs. Chapter 16 opens the amplifier to show what the echo does inside it.
5. The first amplifier and where to put it
At the other end of the link the problem is turned upside down. The signal that arrives at a receiving antenna is almost unimaginably small. Chapter 11 put the GPS signal at about -130 dBm, which is a tenth of a millionth of a billionth of a watt. It has to be made about a million million times stronger before the rest of the receiver can do anything with it. Gain is cheap, and a receiver can have as much as it wants. What limits a receiver is the hiss.
Chapter 11 met the hiss. It is the random jostling of electrons in anything warm, and its strength is -174 dBm for every hertz that the receiver listens to. An amplifier has no way to tell signal from hiss. It makes both larger by the same amount, so the gap between them, which is the only thing that counts, comes out no wider than it went in. And the amplifier is warm too, so it adds some hiss of its own on top. The amount it adds is its noise figure, which is the number of decibels by which the gap is narrower coming out than it was going in.
Now put several amplifiers in a row, as every receiver does, and ask whose hiss matters. The answer is the first one's, almost alone. Its hiss is added while the signal is at its very smallest, and every later stage then amplifies the two together. By the time the second stage adds its own hiss, the signal and the first stage's hiss have both grown a hundredfold, and the newcomer is a whisper beside them. Harald Friis of Bell Laboratories wrote the sum down in 1944. It says that the hiss of each stage counts for less by all the gain that came before it.
Picture a message being passed down a line of people in a noisy hall. If the first person catches the whisper correctly and repeats it in a loud voice, the chatter of the hall hardly matters from then on. If the whisper has to cross the noisy hall before anyone repeats it, the chatter is mixed in for good, and no amount of shouting afterward will take it out again.
That is why the first amplifier in a receiver has a name and a design of its own. It is the low-noise amplifier, and it is built to add as little hiss as its makers can manage, usually less than a single decibel. It is also why it matters so much where that amplifier is put.
A cable loses some of the signal along its length, and a long run of coax down a mast can easily lose half. The cable is warm, so the hiss at its lower end is as strong as ever. A signal cut in half over a hiss that has stayed the same has lost 3 dB of its gap, and that loss is permanent. Every decibel lost ahead of the first amplifier is a decibel added to the noise figure. So the amplifier goes at the antenna, ahead of the cable. Once the signal has been made a hundred times stronger, losing half of it in the cable costs almost nothing, because the hiss is halved along with it and both still stand far above anything that follows.
You can see this on any house with a satellite dish. The lump at the end of the arm, where the dish brings the signal to a focus, holds the low-noise amplifier. It is mounted right at the antenna, outdoors in the weather, and the box beside the television does the rest. The great dishes that listen for spacecraft go further. Hiss comes from warmth, so they chill their first amplifiers to within a dozen degrees of absolute zero, which is the coldest that anything can be.
The drawing follows one faint signal from an antenna to a receiver. It arrives at -100 dBm in a channel one megahertz wide, where the hiss of warmth alone is -114 dBm, so it starts with a gap of 14 dB. The receiver needs a gap of 10 dB to read it. Try the amplifier in each place, and then make the cable longer.
Moving the amplifier from the bottom of the cable to the top is worth nearly the whole loss of the cable. By the rate of exchange in chapter 11, where every 6 dB is a doubling of distance, a cable that loses 6 dB decides whether the receiver can hear a transmitter at ten kilometers or only at five.
6. The window between hiss and ceiling
So every amplifier lives between two limits. Below it is the hiss, which swallows anything too small. Above it is the ceiling, which bends anything too large. The room between the two is called the dynamic range, and the first amplifier of a receiver needs a great deal of it, because it has no say in what arrives. The antenna hands it everything on the air at once: the faint station you want, at perhaps -110 dBm, and a taxi dispatcher two streets away who is a hundred million times stronger.
A strong neighbor does its harm in two ways, and both come out of section 2. The first is plain crowding. When the neighbor pushes the amplifier toward its ceiling, the gain falls for everything that is passing through, the faint station included. Your eyes do the same when a car comes toward you at night with its headlights on high. A pedestrian at the roadside is reflecting as much light as before, and has vanished from your sight. Engineers call it blocking. The second is the phantom of section 3. Two strong neighbors, spaced in just the wrong way, make a third tone that lands on top of the station you wanted.
The defenses are the ones a designer always has. A filter ahead of the amplifier, which chapter 17 calls a preselector, turns the neighbors away, at the price of a little loss in the one place where loss hurts most. An amplifier with a higher ceiling shrugs them off, at the price of more current from the battery. And the gain is kept to what is needed to bury the hiss of the next stage, because every extra decibel of gain brings the ceiling of the following stage one decibel closer. A receiver is designed by walking a signal through the chain one stage at a time, with the hiss below it and the ceiling above it, as the drawing in section 5 does, and seeing to it that the signal touches neither.
7. The arithmetic and a program
gain out = in + gain in dBm and dB; gains in a row add the 1 dB point the level at which the output has fallen 1 dB behind the straight line third tones at 2A - B and 2B - A; level = 3 x signal level - 2 x intercept point (all in dBm) thrift (efficiency) radio power out / power drawn from the supply backing off ceiling - average power in dB noise figure gap going in - gap coming out in dB a loss in front a cable that loses L dB has a noise figure of L dB a chain (Friis) F = F1 + (F2 - 1)/G1 + (F3 - 1)/(G1 x G2) + ... F and G as plain ratios sensitivity -174 dBm + 10 x log10(width in Hz) + noise figure + the gap the receiver needs
#include <math.h>
/* The noise figure of a chain of stages, in dB (Friis, 1944).
gain_db[i] and noise_db[i] describe stage i. A cable that loses L dB is a stage with gain -L and noise figure L. */
double noise_of_chain(const double *gain_db, const double *noise_db, int stages)
{
double factor = 1.0, gain = 1.0;
for (int i = 0; i < stages; i++) {
factor += (pow(10.0, noise_db[i] / 10.0) - 1.0) / gain; /* this stage's hiss, less all the gain before it */
gain *= pow(10.0, gain_db[i] / 10.0);
}
return 10.0 * log10(factor);
}
/* An amplifier (20 dB of gain, noise figure 1 dB), 6 dB of cable, and a receiver with a noise figure of 10 dB:
amplifier at the antenna gain {20, -6, 0} noise {1, 6, 10} -> 2.2 dB
amplifier at the receiver gain {-6, 20, 0} noise {6, 1, 10} -> 7.3 dB
amplifier left out gain {-6, 0} noise {6, 10} -> 16.0 dB */
import math
def noise_of_chain(stages):
"""The noise figure of a chain in dB (Friis, 1944). Each stage is (gain_db, noise_db).
A cable that loses L dB is the stage (-L, L)."""
factor, gain = 1.0, 1.0
for gain_db, noise_db in stages:
factor += (10 ** (noise_db / 10) - 1) / gain # this stage's hiss, less all the gain before it
gain *= 10 ** (gain_db / 10)
return 10 * math.log10(factor)
amplifier, cable, receiver = (20, 1), (-6, 6), (0, 10)
print(noise_of_chain([amplifier, cable, receiver])) # 2.2 dB, amplifier at the antenna
print(noise_of_chain([cable, amplifier, receiver])) # 7.3 dB, amplifier at the receiver
print(noise_of_chain([cable, receiver])) # 16.0 dB, amplifier left out
/// The noise figure of a chain in dB (Friis, 1944). Each stage is (gain_db, noise_db).
/// A cable that loses L dB is the stage (-L, L).
pub fn noise_of_chain(stages: &[(f64, f64)]) -> f64 {
let (mut factor, mut gain) = (1.0, 1.0);
for &(gain_db, noise_db) in stages {
factor += (10f64.powf(noise_db / 10.0) - 1.0) / gain; // this stage's hiss, less all the gain before it
gain *= 10f64.powf(gain_db / 10.0);
}
10.0 * factor.log10()
}
The bench has calculators for the hiss of a chain and for the third tones of section 3.
Try it: find a ceiling, and a first stage
- Play music through a phone or a small speaker and turn the volume all the way up. At some point the sound turns harsh and crackly. That is the little amplifier inside reaching its ceiling, and the harshness is the harmonics of section 2.
- Have two people play two different high notes at once, loudly, on recorders or tin whistles. Listen under the two notes for a low buzzing third. That is Tartini's tone, and your own ear is making it.
- Set a phone to record sound and lay it at the far side of a room from a ticking clock. Play the recording back with the volume turned up until you can hear the ticks. The hiss came up with them.
- Record again with the phone right beside the clock, and play it back at an ordinary volume. The ticks are clean. Turning the volume up afterward is gain behind the hiss. Moving the phone was gain in front of it, which is the whole idea of putting an amplifier at the antenna.
- Find a satellite dish on a roof and look for the lump at the end of its arm. That is the first amplifier of the receiver, sitting where the signal is gathered.
That is a radio link from one end to the other. A power amplifier pushes as hard as its ceiling and its neighbors allow. A cable and an antenna, matched to each other, let the push out. The signal thins over a long path, and at the far end an amplifier listens before the hiss can get in. Two questions are left over. Chapter 14 promised to say what an echo does when it gets home to the power amplifier, and the next chapter keeps that promise. The one after it stands the two amplifiers of this chapter side by side, the one that shouts and the one that strains to hear a whisper.