The echo in the cable.

Somewhere on nearly every radio transmitter there is a small meter marked SWR. The operator of a fishing boat's radio glances at it before calling the harbor, and an amateur who has just strung a new wire between two trees looks at it before anything else. It answers one question. Of the power this transmitter is sending up the cable, how much is the antenna taking, and how much is coming back?

The last two chapters did the groundwork. Chapter 12 said that a wave carries its energy as a push and a movement in a fixed proportion, and that it crosses a border whole only where the two sides agree on that proportion. Chapter 13 slowed a wave down until the result of a disagreement could be watched, and the result was that part of the wave turns around. This chapter goes back to full speed. The wave is a radio signal, the row of rods is a cable, the paddle is an antenna, and the part that turns around is counted by the four letters VSWR.

It is a short number with a great deal folded into it. By the end of the chapter you will be able to read one, to say what a bad one costs and what it does to a transmitter, to explain how a meter tells a wave that is leaving from a wave that is coming back, and to see why the same antenna can read honestly at one end of its cable and flatteringly at the other.

1. A wave on a cable

A radio transmitter has the megaphone's problem in another form. It makes its power in one place, and the antenna that will send that power out sits somewhere else, up a mast or on the roof of a car. A cable joins the two. The signal travels along the cable as a wave, and the wave is made of the two ingredients of chapter 12 traveling together. There is a voltage between the cable's two conductors, which is the push, and a current flowing along them, which is the movement.

Here is a fact that surprises everyone the first time. The cable itself decides the proportion between the two. The usual cable for radio is called coaxial cable, or coax for short, and it is the kind that screws into the back of a television. It has a wire down the middle, a tube of woven metal around the outside, and plastic or foam holding them apart. The widths of the wire and the tube, and the material between them, settle how many volts of wave go with each ampere. For the commonest radio cable the answer is 50 volts to the ampere. So the cable is said to have an impedance of 50 ohms, and the figure is printed along its jacket.

The wave machine did the same thing with a wire and a row of rods. The stiffness of its wire and the weight of its rods fixed how much push went with each bit of movement, and nothing at either end had any say in the matter.

This is a different kind of number from the resistance of a wire. Touch an ordinary meter to the two conductors at the end of a loose piece of coax and it reads an open gap, because the wire and the tube never touch each other. The 50 ohms is something that only a moving wave feels. Picture the front of the wave advancing into empty cable. It has no means of telling what is connected at the far end, or whether the cable is a meter long or a mile. All it meets is the next stretch of cable, which has to be filled with electric charge before the wave can move on, and filling it takes a certain current for every volt. That proportion is the 50 ohms, and it is the same at every point along the way.

Why fifty. The number is a compromise, and it goes back to work that Lloyd Espenschied and Herman Affel did at Bell Laboratories in 1929. A cable with air inside can carry the most power when it is built for about 30 ohms, and it loses the least along its length when it is built for about 77. Fifty sits between the two and does both jobs fairly well, so transmitters, antennas and test instruments all over the world are made to suit it. A signal that will only ever be received has no need to carry power, and that is why the cable to a television is built for 75 ohms.

As long as the wave is traveling along the cable, all is well. The interesting moment comes when it reaches the end.

2. The echo

At the far end the wave meets the antenna, or whatever else has been connected there. It arrives carrying its push and its movement in the cable's proportion, 50 volts to the ampere. If the load takes the two in that same proportion, the wave walks straight in, and all of its power is put to use. A load like that is said to be matched. It is the paddle in the right liquid.

Suppose instead that the load is stiffer, and accepts only one ampere for every 150 volts. The wave is bringing more current than the load will take, and the surplus has to go somewhere. It goes back. A second wave appears at the join and travels the other way, carrying off exactly the part of the first wave that failed to fit. That returning wave is the echo, and engineers call it the reflected wave.

This is the paddle experiment of chapter 13 with ohms in place of thick and thin liquid. A load of 50 ohms is the paddle that matches. A load of more than 50 is the stiff paddle, and a load of less is the soft one. The two extremes have names of their own. An open end, where the cable simply stops, is the stiffest load there is, because no current can flow into nothing. A short circuit, where the two conductors are joined together, is the softest, because it lets any amount of current flow and holds no voltage against it.

The drawing below is a cable with a transmitter at its left end and a load at its right. Send one pulse and watch what returns. Then change what is connected at the far end.

The size of the echo depends only on how far apart the two impedances are. With a match there is none. With 150 ohms on a 50-ohm cable the echo is half as tall as the pulse, and since power goes as the height multiplied by itself, a quarter of the power comes back. An open end can accept no current at all, and the whole pulse returns. A short circuit can hold no voltage, and the whole pulse returns again, this time upside down.

The drawing shows the voltage, which is the push. The wave machine showed you its movement, and the two flip in opposite ways. A clamp stops the movement and doubles the push. So a hump on the machine comes back from a clamp upside down, while the voltage on a cable comes back from an open end upright, and for a moment stands twice as tall there. The current at that open end is doing what the rods did at the clamp.

An echo is good for more than trouble. It is how a break in a buried cable is found without any digging. A technician sends a pulse into one end and times the echo. In ordinary coax a signal covers about a fifth of a meter in every billionth of a second, and the echo has made the trip twice. So an echo that returns after 100 billionths of a second puts the fault about ten meters away. Chapter 27 plays the same trick on the copper traces of a circuit board.

3. Standing waves and what VSWR counts

A transmitter sends a steady wave, one crest after another without a break. Switch the drawing above to a steady wave and choose 150 ohms. Now the wave going out and the echo coming back are both on the cable the whole time, passing through each other.

Watch one spot on the cable. At some spots the crest of the outgoing wave always arrives together with a crest of the echo, and the two add. Move a quarter of a wavelength along, where a wavelength is the distance from one crest to the next, and a crest of one always meets a trough of the other, so they partly cancel. Those spots stay where they are. It is the string of beads that the motor made on the wave machine, drawn this time in volts.

With a perfect match there is no echo, and the voltage is the same height all the way along the cable. The worse the match, the larger the echo, and the greater the difference between the tall places and the short ones. That gives a simple way to put a number on a bad match. Divide the tallest voltage found along the cable by the shortest. The answer is the voltage standing wave ratio. Everyone shortens that to VSWR, or just SWR, and writes it as a ratio to one.

The first radio engineers measured it in exactly that way. They cut a slot along a stiff length of cable, slid a small probe from end to end, and wrote down the highest and lowest readings. A modern meter sits in the cable beside the transmitter, senses the outgoing wave and the echo separately, and works the ratio out from their two sizes. Section 4 explains how it manages that.

VSWRpower sent backpower that goes onwhat an operator makes of it
1 to 1noneall of itA perfect match, which is found on paper and seldom on a mast.
1.5 to 14 in 10096 in 100Excellent. A plain wire antenna on 50-ohm cable does about this well at its best.
2 to 111 in 10089 in 100Good enough for nearly every purpose.
3 to 125 in 10075 in 100Poor. Many transmitters have started to turn themselves down.
6 to 151 in 10049 in 100Half the power is coming back. Something is the wrong length, or broken.
endlessall of itnoneAn open or shorted cable. Nothing is reaching the antenna.

Two things in that table deserve a second look. The first is how forgiving the early rows are, exactly like the top of the curve in chapter 12. At 2 to 1, which sounds serious, 89 parts in a hundred still reach the antenna. In the link budget of chapter 11 that is a loss of half a decibel, one small line among the other losses, and nobody at the far end of the link could ever tell.

The second is that operators fret over a ratio of 3 all the same, and the reason is what the echo does when it gets home. The last stage of a transmitter is a power amplifier, which is the subject of chapter 15, and it was built to push into 50 ohms. The returning echo changes the load that it feels. At the tall places of the standing wave the voltage can be far higher than the amplifier's parts were chosen to bear, and power that fails to leave as radio stays behind as heat. So a well-made transmitter keeps a meter of its own on the echo, and turns its power down as the ratio climbs, to protect itself. A badly matched antenna costs you the reflected power first, and a good share of the rest second. Chapter 16 opens the amplifier and shows exactly what the echo does inside it.

There is a third cost, and it falls hardest on signals that carry pictures or data. An echo that bounces a second time, off the transmitter's end of the cable, sets off toward the antenna again as a faint copy of the signal, running late. In the days of analog television a late copy appeared on the screen as a ghost, a pale second picture a little to the right of the true one. On a fast data link the late copy of one bit lands on top of the next bit, and chapter 27 shows what that does.

4. How a meter tells coming from going

The slotted cable of the first radio engineers measured the standing pattern directly, and it had to be as long as the waves it measured. The meter on a modern transmitter is the size of a matchbox, and it does something that sounds impossible. The outgoing wave and the echo are in the same cable, at the same place, at the same time, and the meter reads each of them separately.

The wave machine holds the secret. Picture a photograph of one hump halfway along the machine. Nothing in the photograph says which way the hump is traveling. Now add one more piece of knowledge, which way each rod is turning at that instant. On the leading side of a hump the rods are rising, and on the trailing side they are falling, so the two facts together give the direction away. A cork on a pond tells the same story. It rises and falls as a ripple passes, which says nothing about where the ripple is headed. But it also drifts a little forward on each crest and a little back in each trough, and forward is the way the ripple is going.

On a cable the two facts are the voltage and the current. In a wave traveling toward the antenna, the voltage and the current rise and fall together. In a wave traveling back toward the transmitter, the current flows the other way, so the voltage rises as the current falls.

So the meter takes two small samples from the cable. One is a sample of the voltage between the two conductors. The other is a sample of the current in the center wire, picked up by a small coil that the wire passes through. The two samples are trimmed until, for a wave on a 50-ohm cable, they are exactly the same size. Then the meter adds them. For the outgoing wave the two samples agree, and the sum is twice either one. For the echo they are opposed, and the sum is nothing. The meter has heard the outgoing wave and is deaf to the echo. Turn one sample around and add again, and it hears only the echo.

going outcoming backvoltsampssumvoltsampssum
The meter adds a sample of the voltage to a sample of the current. In a wave going out the two rise together, and the sum is double. In a wave coming back the current is reversed, and the sum is nothing. Reversing one sample swaps the two results, so one small part can read either wave alone.

A part that separates the two directions in this way is called a directional coupler, and it is one of the quiet workhorses of radio. With the two readings in hand, the meter divides one by the other to get the size of the echo, and its dial is simply marked off in the standing wave ratio that goes with each size. Nobody slides a probe along anything. The name has outlived the method.

5. A meter at each end

A meter reads the echo at the place where the meter is. That sounds too obvious to say, and it catches out a great many people, because the meter is usually at one end of a cable and the antenna at the other. Every real cable turns a little of the wave into heat along the way. Thin cable loses more than thick, and every cable loses more as the frequency climbs. Thirty meters of the thin coax found in many hobby stations turns nearly half of the power into heat at 30 MHz, three quarters of it at 150 MHz, and more than nine tenths at 450 MHz.

Loss does something sly to an echo. The wave is weakened on its way to the antenna, and the echo is weakened again on its way home. The meter at the transmitter compares an outgoing wave at full strength with an echo that has paid the toll twice, and it reports a better match than the antenna really is. Clap your hands at one end of a long carpeted hallway. Whatever is at the far end, a brick wall or an open door, very little comes back, because the carpet has swallowed part of the clap going and part of the echo returning.

The drawing puts a meter at each end of the same cable. The band along the top is the power on its way out, thinning as the cable takes its share, and the band under it is the echo on its way home. Choose what is on the far end, and then make the cable worse.

Leave the far end with nothing connected, and give the cable 10 dB of loss. The meter at the transmitter reads about 1.2 to 1, a figure most operators would be delighted with, and it is describing a cable that leads to nothing. This is why a careful operator measures at the antenna whenever it can be reached, and distrusts a reading that improved when a longer cable was put in. A very lossy cable is, in fact, the cheapest matched load there is. Technicians call a resistor that is built to swallow a transmitter's whole output a dummy load, and a long enough coil of poor cable makes a fair one.

The bar at the bottom of the drawing shows where the power went, and it holds the fairest way to judge an antenna and its cable together. A high ratio by itself costs little, as the table in section 3 showed. What costs is a high ratio at the end of a lossy cable, because the power that turns back has to cross the cable again, and it pays the toll on every crossing.

6. The antenna as a load and finding the dip

An antenna is the megaphone at the end of all this. Its work is to take a wave that has been shut inside a cable and let it go into open space, and like the cone it does that well only when it is the right size. A plain wire antenna works best when it is half as long as one wave of the signal. At that length the wave fits on the wire the way a wave fitted on the machine at the lowest rate it rang at, and the antenna looks to its cable like a plain load of about 73 ohms, all of which is power leaving as radio.

Use the same wire on a frequency a little higher or lower and the fit is lost. The antenna turns springy, in the sense of the note on resistance in chapter 12. It takes energy in during one part of each swing and hands it back during the next, and energy handed back is an echo. Draw the standing wave ratio against frequency and the curve has the shape of a valley, with its floor at the frequency the antenna was cut for. Operators call that floor the dip, and tuning an antenna means moving the dip to where the transmitter is.

The transmitter below is on 146 MHz, in a band that licensed amateurs use for talking across town. The antenna was cut too long. Trim it until the dip sits on the transmitter. The drawing is what an instrument called an antenna analyzer shows. Inside it are a small transmitter that steps across the dial and the directional coupler of section 4, and it plots the echo at every step. One that fits in a shirt pocket is now within reach of any hobbyist.

The second slider changes what the antenna is made of. A thin wire has a narrow valley, and it is a good match over a small stretch of the dial. A fat tube has a broad one. That is why antennas meant to cover a whole band are built from tubing, from cages of several wires, or from wide flat plates.

7. Making the match

Cutting the load to fit is the first way to make a match. There are four more, and each has appeared in the last two chapters in another form.

a cable is a transformer too

A mismatched cable does one more thing, and it surprises people who have only ever met matched ones. Along a cable that carries a standing wave, the voltage is tall in some places and short in others, and the current does the opposite. So the proportion of voltage to current, which is the impedance a transmitter would feel if it were connected at that spot, changes from place to place. It repeats every half wave. And a quarter of a wave from any spot it has turned inside out, so that where it was high it is low.

The extreme case is worth knowing. Short-circuit the far end of a cable a quarter of a wave long, and from the near end it looks like an open circuit, as though nothing were connected at all. Radio engineers use this to hold things up with solid metal. The center conductor of a rigid line can stand on metal posts a quarter of a wave long, and an antenna can be bonded to the ground through one, so that lightning and static have an easy path to earth. At the frequency in use the post is invisible. At most other frequencies it is the short circuit it appears to be, which makes it a filter as well.

Keeping track of how a load changes along a cable used to take pages of arithmetic. In 1939 Phillip Smith, an engineer at Bell Laboratories, published a round chart on which moving along the cable is simply turning around a circle, with a perfect match at the center. It is called the Smith chart. It still hangs on the walls of radio laboratories, and the instruments that measure antennas draw it on their screens.

8. Reflecting on purpose

Everything so far has treated an echo as a loss to be cured. Radio engineers also make echoes deliberately, and some of the most useful parts in a station are built on them.

A filter is a part that is a good match at the frequencies it is meant to pass and a very bad one at all the others. The signals it turns away are sent back the way they came, like a hump from a clamp, and their energy goes with them. The sharpest filter of this kind is a hollow metal can about a quarter of a wave tall, called a cavity. It rings at one frequency, exactly as the wave machine rang at its lowest rate, and a signal at that frequency passes through it almost untouched. A signal a small way off finds a bad match and is turned back. A few cans the size of fire extinguishers, joined in a row, will pass one two-way radio channel and turn away another that sits less than half of one part in a hundred from it on the dial.

Put two sets of such cans on one antenna, one set that passes only the transmitter's frequency and one that passes only the receiver's, and a transmitter and a receiver can share that antenna at the same moment. The arrangement is called a duplexer. Every repeater on a hilltop has one, and so does every cell phone, where the cans have shrunk to slivers of crystal a millimeter or two across.

The last part is the strangest. It is a small block of a magnetic ceramic called ferrite, with a magnet beside it and three connections. A wave that enters at the first connection leaves by the second. A wave that enters at the second leaves by the third. Waves go around it one way only, like cars at a roundabout, and so it is called a circulator.

Connect a transmitter to the first, an antenna to the second and a dummy load to the third, and the result is a one-way valve. Power goes out to the antenna. Anything that comes back down the cable, whether it is the transmitter's own echo or a stranger's signal that the antenna has picked up, is steered into the load and becomes heat. The transmitter never feels it. Put a receiver on the third connection in place of the load, and one antenna can send and listen at the same moment on the very same frequency, which is how many radars share one dish between shouting and listening.

A valve like that matters most where transmitters crowd together. A transmitter's antenna is also a perfectly good receiving antenna for every other signal at the site, and whatever it collects travels down the cable the wrong way, straight toward the amplifier. Chapter 17 is about that crowd. First, chapters 15 and 16 look inside the amplifier itself.

9. The arithmetic and a program

size of the echo         echo = (load - line) / (load + line)       0 a match,  +1 an open end,  -1 a short
power sent back          echo x echo                                150 ohms on 50:  0.5 x 0.5 = a quarter
VSWR                     (1 + |echo|) / (1 - |echo|)                tallest voltage over shortest
the other way            |echo| = (VSWR - 1) / (VSWR + 1)
return loss              -20 x log10 |echo|                         how far below the wave its echo is, in dB
mismatch loss            -10 x log10 (1 - echo^2)                   what the signal that goes on has lost, in dB
through a lossy cable    return loss at the transmitter = return loss at the antenna + 2 x the cable's loss
a quarter wave of cable  what it makes of a load = line x line / load         a short looks like an open end
quarter-wave match       middle = square root of (one side x the other)       75 ohms joins 50 to 112
finding a fault          distance = speed in the cable x time for the echo / 2
#include <math.h>
#include <stdio.h>

/* The size of the echo from a load on a line, both in ohms: 0 is a match, +1 an open end, -1 a short. */
double echo_size(double load_ohms, double line_ohms)
{
    return (load_ohms - line_ohms) / (load_ohms + line_ohms);
}

/* The tallest voltage found along the cable over the shortest. */
double standing_wave_ratio(double echo)
{
    return (1.0 + fabs(echo)) / (1.0 - fabs(echo));
}

/* The share of the arriving power that is sent back. */
double reflected_share(double echo)
{
    return echo * echo;
}

/* What the mismatch costs the signal that goes on, in decibels. */
double mismatch_loss_db(double echo)
{
    return -10.0 * log10(1.0 - echo * echo);
}

/* The echo as a meter at the transmitter finds it. The cable has weakened it twice, once each way. */
double echo_after_cable(double echo, double cable_loss_db)
{
    return fabs(echo) * pow(10.0, -cable_loss_db / 10.0);
}

int main(void)
{
    double echo = echo_size(150.0, 50.0);   /* an antenna of 150 ohms on a 50 ohm cable */

    printf("size of the echo          %.2f\n", echo);
    printf("ratio at the antenna      %.2f\n", standing_wave_ratio(echo));
    printf("power sent back           %.2f\n", reflected_share(echo));
    printf("mismatch loss             %.2f dB\n", mismatch_loss_db(echo));
    printf("ratio at the transmitter  %.2f   through 3 dB of cable\n", standing_wave_ratio(echo_after_cable(echo, 3.0)));
    return 0;
}

/* It prints:
     size of the echo          0.50
     ratio at the antenna      3.00
     power sent back           0.25
     mismatch loss             1.25 dB
     ratio at the transmitter  1.67   through 3 dB of cable   */
import math

def echo_size(load_ohms, line_ohms):
    """The size of the echo from a load on a line: 0 is a match, +1 an open end, -1 a short."""
    return (load_ohms - line_ohms) / (load_ohms + line_ohms)

def standing_wave_ratio(echo):
    """The tallest voltage found along the cable over the shortest."""
    return (1 + abs(echo)) / (1 - abs(echo))

def reflected_share(echo):
    """The share of the arriving power that is sent back."""
    return echo * echo

def mismatch_loss_db(echo):
    """What the mismatch costs the signal that goes on, in decibels."""
    return -10 * math.log10(1 - echo * echo)

def echo_after_cable(echo, cable_loss_db):
    """The echo as a meter at the transmitter finds it. The cable has weakened it twice, once each way."""
    return abs(echo) * 10 ** (-cable_loss_db / 10)

echo = echo_size(150, 50)          # an antenna of 150 ohms on a 50 ohm cable
print(f"size of the echo          {echo:.2f}")
print(f"ratio at the antenna      {standing_wave_ratio(echo):.2f}")
print(f"power sent back           {reflected_share(echo):.2f}")
print(f"mismatch loss             {mismatch_loss_db(echo):.2f} dB")
print(f"ratio at the transmitter  {standing_wave_ratio(echo_after_cable(echo, 3.0)):.2f}   through 3 dB of cable")

# It prints:
#   size of the echo          0.50
#   ratio at the antenna      3.00
#   power sent back           0.25
#   mismatch loss             1.25 dB
#   ratio at the transmitter  1.67   through 3 dB of cable
/// The size of the echo from a load on a line, both in ohms: 0 is a match, +1 an open end, -1 a short.
pub fn echo_size(load_ohms: f64, line_ohms: f64) -> f64 {
    (load_ohms - line_ohms) / (load_ohms + line_ohms)
}

/// The tallest voltage found along the cable over the shortest.
pub fn standing_wave_ratio(echo: f64) -> f64 {
    (1.0 + echo.abs()) / (1.0 - echo.abs())
}

/// The share of the arriving power that is sent back.
pub fn reflected_share(echo: f64) -> f64 {
    echo * echo
}

/// What the mismatch costs the signal that goes on, in decibels.
pub fn mismatch_loss_db(echo: f64) -> f64 {
    -10.0 * (1.0 - echo * echo).log10()
}

/// The echo as a meter at the transmitter finds it. The cable has weakened it twice, once each way.
pub fn echo_after_cable(echo: f64, cable_loss_db: f64) -> f64 {
    echo.abs() * 10f64.powf(-cable_loss_db / 10.0)
}

fn main() {
    let echo = echo_size(150.0, 50.0); // an antenna of 150 ohms on a 50 ohm cable

    println!("size of the echo          {:.2}", echo);
    println!("ratio at the antenna      {:.2}", standing_wave_ratio(echo));
    println!("power sent back           {:.2}", reflected_share(echo));
    println!("mismatch loss             {:.2} dB", mismatch_loss_db(echo));
    println!("ratio at the transmitter  {:.2}   through 3 dB of cable", standing_wave_ratio(echo_after_cable(echo, 3.0)));
}

// It prints:
//   size of the echo          0.50
//   ratio at the antenna      3.00
//   power sent back           0.25
//   mismatch loss             1.25 dB
//   ratio at the transmitter  1.67   through 3 dB of cable

The bench has a calculator that turns a standing wave ratio into reflected power, return loss and mismatch loss, and another that says what a meter reads at the transmitter's end of a lossy cable.

Try it: a jacket, a wall and a cork

  1. Find the coaxial cable on the back of a television or a cable modem and read along its jacket. Somewhere it says 75 OHM. The cable on a two-way radio or on the antenna of a wireless router says 50.
  2. Stand about sixty steps from a large bare wall and clap once. Sound covers about a third of a kilometer in a second, so an echo that returns a third of a second after the clap has made a round trip of about 115 meters, and the wall is 57 meters away. A cable tester does the same sum with a wave that is nearly a million times faster.
  3. Float a cork or a leaf on still water and send ripples past it with your hand. Watch it closely as each crest goes by. It rides forward on the crest and slides back in the trough, and forward is the way the ripples are going. A directional coupler tells the two waves on a cable apart by the same kind of clue.
  4. Open the bench and give the lossy-cable calculator an antenna of 3 to 1. Add cable loss one decibel at a time, and watch the reading at the transmitter improve while the power that reaches the air goes down.
  5. If you know a licensed radio amateur, ask to watch an antenna being trimmed. With each centimeter that comes off, the dip of section 6 moves a little way up the dial.

The cable has now been followed from the transmitter to the antenna and back again. The next chapter goes to the two ends of the whole radio link, to the amplifier that makes the power and the amplifier that has to hear what is left of it.