Wires in pairs.
Look closely at the largest power lines, and each of the three wires of chapter 30 turns out to be two wires, or three, or four, held a hand's width apart by metal spacers. Cut open a network cable, and you find eight thin wires twisted together two by two. A telephone line, a microphone cable, a lamp cord and the lead of a pair of earphones are made the same way, with wires that travel side by side.
Wires are paired for two different reasons, and the two are easy to mix up. In a network cable the wires of a pair carry opposite currents, so that each undoes what the other does to everything nearby. On the power line the wires of a bundle carry the same current, and they are there for another purpose altogether. This chapter takes the two in turn. Between them it stops at a factory, where a motor and a data cable had to share a floor.
1. A current and its way home
Chapter 28 supplied the fact that this chapter rests on. Every electric current is wrapped in a magnetic field, and a field that changes drives currents in any metal it reaches. A wire that carries a changing current is therefore a small transmitter, wanted or unwanted.
The field around a single long wire fades slowly. At twice the distance it is half as strong, and at ten times the distance it is a tenth. A wire carrying 10 amperes, which is about what a toaster draws, makes a field of 2 microtesla at a distance of one meter. The tesla is the unit of magnetic field, and a microtesla is a millionth of one. The earth's own field, the one that turns a compass, is about 50 of them.
No wire is ever alone, though. Current flows around a circuit, so every current has a way home, and on the way home it flows in the opposite direction. The field of the returning current is the first field reversed. Lay the way home right beside the way out, and at every point nearby the two fields are almost equal and almost opposite. They almost cancel.
The canceling falls a little short, because the two wires lie in two different places. From anywhere you stand, one wire is a little nearer than the other, and its field wins by a little. What is left over is in proportion to the gap between the wires, so halving the gap halves the field. It also fades much faster with distance. Twice as far away, it is a quarter as strong.
Headphones that cancel noise use the same idea on sound. A small microphone hears the rumble of the room, and the headphone plays that rumble back upside down. The two arrive at the ear together and add up to very little.
The drawing looks along the wires from one end. The glow shows the strength of the field, and each step of brightness stands for a field about three times weaker than the step inside it. Start with one wire, give it a way home, and then move the two together.
A lamp cord holds its two wires about three millimeters apart. At that spacing the field a meter away is some three hundred times weaker than a lone wire would make, which is one reason a house full of wiring is as quiet as it is.
2. Listening works the same way and the twist
Everything in section 1 runs in both directions. A circuit that sends little into the world takes little from it as well. A changing field drives a voltage around any loop of wire it passes through, and the size of that voltage goes with the area of the loop. Two wires side by side enclose a long, thin sliver of area, so they pick up only what passes through the sliver.
A twist does better. Give the pair half a turn, and its two wires change places. The next stretch of the pair is the same loop turned over. The field that drove a current one way around the first stretch drives it the other way around the second, and the two cancel. A twisted pair is a long row of small loops, each one undoing the work of its neighbor.
The canceling is only as good as the match between neighbors. When the source of the noise is close, one loop sits in a stronger field than the next, and a little is left over at every step. Tighter twists are the answer. Shorter loops lie closer together, and neighbors that lie closer together see more nearly the same field.
In the drawing a noisy wire runs above a pair. Add twists to the pair, and then tilt the noisy wire so that it lies closer to one end than to the other.
Alexander Graham Bell patented the twisted pair in 1881, as chapter 27 told. In those years telephone wires were strung in the open, side by side on wooden crossarms, and the telephone companies got the same result by making the two wires of each circuit change places every few poles. Linemen called the crossing a transposition. Power companies do it still. On a long line the three wires trade places at special towers, so that each one spends a third of the journey in each position.
A network cable carries the idea one step further. Its four pairs lie together for the whole length of the cable, and each would be perfectly placed to listen in on the others. So each pair is twisted at a rate of its own, and the loops of one soon fall out of step with the loops of another.
3. Two signals on one pair
A pair of wires can carry two quite different kinds of signal at the same time, and nearly everything that goes wrong with a pair comes from mistaking one for the other.
In the first kind the two wires carry equal and opposite currents. One wire is the way out and the other is the way home. This is the signal the pair was built for, and it is the kind that cancels at a distance. Engineers call it the differential signal, because it shows up as a difference between the wires.
In the second kind both wires carry the same current in the same direction, as though the pair were a single wire. That current needs a way home too, and it takes whatever it can find, which may be the metal frame of a machine, the steel of a building or the earth itself. Engineers call this the common mode, because the two wires have it in common. The loop it travels can be meters across, and nothing about the pair cancels it.
The receiver of chapter 27 subtracts one wire from the other, so in principle it is blind to the common mode. In practice it has two limits. The first is how much its inputs can stand. The commonest industrial data link, the RS-485 of chapter 29, promises to work while its two wires ride together anywhere from 7 volts below the receiver's own ground to 12 volts above it, and beyond that range the receiver goes deaf or is damaged. The second limit is that every pair is a little uneven. If one wire is slightly longer than the other, or lies slightly closer to a metal wall, part of the common mode turns into a difference, and the receiver takes it for signal.
Chapter 27 pictured a pair as a seesaw on a boat, where the message is in the tilt and the waves lift both ends alike. Both limits can be seen there. A big enough wave swamps the boat, and a seesaw with one heavy end tilts every time the boat heaves.
4. A motor drive beside a data cable
Picture a machine in a factory whose motor has to run at many speeds, and a controller across the room that tells it what to do over a data cable. The engineer who wires it up does everything by the book, and the data cable is a twisted pair with a shield. The link fills with errors all the same, and they come whenever the motor runs. Every idea in this chapter is needed to see why.
Chapter 30 said that the speed of a three-phase motor is set by the frequency of its supply. A variable-speed drive takes advantage of that. It turns the incoming power into a steady voltage, about 650 volts on a supply of 480, and builds three new waves from it at whatever frequency the motor should turn. It builds them crudely. Its transistors can only switch the full 650 volts on or off, so the drive sends the motor a rapid train of pulses, thousands of them every second, and varies their widths so that the average follows a smooth wave. The coils of the motor smooth the current, and the motor turns as if the wave were clean.
The pulses are the trouble. A transistor makes the least heat when it switches quickly, as the valve of chapter 16 did, so each pulse begins with an edge that climbs 650 volts in about a tenth of a microsecond, a microsecond being a millionth of a second. Chapter 8 showed what an edge that sharp is made of. It holds frequencies thousands of times higher than the rate of the pulses, well up into the millions of hertz. A cable that was laid to carry 60 hertz to a motor is now carrying radio.
The edge makes an echo at the motor. To an edge that fast, the motor cable is the line of chapter 14, with an impedance of a few dozen ohms. The windings of the motor look like hundreds of ohms or more, which to the cable is nearly an open end. So the edge is thrown back the same way up, like the hump at the free end of the wave machine in chapter 13, and for a moment the voltage at the motor is the arriving edge plus its echo. The drawing shows the motor's end of the cable. Lengthen the cable, and then slow the edge.
On a short cable the echoes come back while the edge is still climbing, and they largely cancel one another. Once the cable is long enough for the edge to finish rising before its first echo has made the round trip, the motor sees nearly double. With an edge of a tenth of a microsecond, that takes less than ten meters of cable. The thin varnish on the first few turns of the motor's winding takes the whole blow, thousands of times a second. Engineers have measured peaks above 2,000 volts at motors on 480 volt drives, and the insulation of a motor that was built for a plain supply can break down long before its time.
The edge also sends out a current with no way home. This second trouble is quieter and reaches farther. Two pieces of metal that lie close together with insulation between them will pass a brief current whenever the voltage between them changes, and the faster the change, the larger the current. A motor is copper wire packed tightly into an iron frame, and a motor cable is copper lying against a metal pipe or tray. Every edge from the drive pushes a spike of current across the insulation and into the frame, the pipe and the tray.
That spike flows out along all three of the motor's wires together, which makes it common mode, and it has to find some other road back to the drive. The roads it finds are the ground wire, the pipe, the frame of the machine, the steel of the building, and the shield of any data cable that happens to join the same two cabinets. So bursts of current at radio frequencies run along the shield of the data cable thousands of times a second, and each burst jerks the two ends of the link apart in voltage.
Twisting is no help against this. A twisted pair defends itself against a field that passes between its wires. A voltage that shakes its two ends apart arrives on both wires together, as common mode, and section 3 gave the two ways that common mode gets through. When the jerk is larger than the receivers can stand, or the small unevenness of the pair turns part of it into a difference, bits are lost. The messages on such a link are often written in a plain and sturdy language called Modbus, and each one carries a check sum. So the damage shows up as messages that fail their check and have to be asked for again, for as long as the motor is running.
The cures all come from the idea this chapter began with. Give every current a way home that lies right beside its way out.
| the cure | what it does |
|---|---|
| a motor cable with a shield, clamped all the way around at both ends | The spike comes home along the shield, a few millimeters from the wires that sent it out. The motor cable becomes a pair, and its field shrinks. |
| the drive close to the motor | A short cable makes a small echo, and it has less metal lying beside it to leak into. |
| a filter at the drive that slows each edge | A gentler edge holds less radio and makes a smaller echo. The price is a little heat. |
| power and data in separate trays, crossing at right angles | The fields of section 1 fade with distance, and two loops that cross at right angles pass almost nothing to each other. |
| a ring of ferrite around the cable | The ring of chapter 28 resists a current that flows along all the wires together and lets the wanted current through. |
| a data cable with a wire for its own common, and a resistor across the pair at each end | The two ends are held together by copper, and the resistors swallow the echoes of chapter 14. |
| receivers that are electrically isolated, or a link of glass fiber | The data crosses a gap as light, where a current has no means of following it. |
| a motor made for drive duty | Its insulation is built for peaks of 1,426 volts on a motor of 460. |
5. Bundles the same current, side by side
Now look up at the tower again. The two, three or four wires that hang together there are all part of one leg. Spacers join them every few dozen meters, they carry the same current in the same direction, and so nothing about them cancels. They are there for the sake of the air.
Air is an insulator, up to a point. When the voltage across a single centimeter of air passes about 30,000 volts, the air starts to break down. Electrons are torn from its molecules, it begins to conduct, and it glows a faint violet. On a power line the 30,000 volts are reached at the peaks of the wave, which is 21,000 in the RMS volts of chapter 16. Around a wire at a very high voltage the strain on the air is greatest right at the surface of the wire, and the thinner the wire, the more the strain crowds in, which is the reason a pin pricks where a thumb only presses. Where the air at the surface gives way, the wire wears a thin glowing sleeve called corona.
Corona is a nuisance in every way. It hisses and crackles, it smells of ozone, and it wastes power. Each of its countless small discharges is a spark, and a spark is a transmitter that covers the whole dial at once. Corona is much of the buzz that an AM radio picks up under a power line, and it is at its worst in fog and rain, when every drop of water on the wire makes a sharp point.
The cure is a fatter wire, with a gentler curve to its surface. A wire as fat as a drainpipe would be far too heavy to hang, so the builders of the line imitate one. Several ordinary wires, spaced a hand's width apart, share the voltage among them, and from a short way off the air treats them as one enormous wire. Two wires as thick as a broom handle, set 45 centimeters apart, behave as a single wire 16 centimeters across.
The drawing shows one leg of a line from its end. Choose the voltage of the line, and then the number of wires that share each leg.
This makes it possible to read a line from the ground. In North America a single wire on each leg usually means 230,000 volts or less. Wires in twos usually mean 345,000, threes and fours mean 500,000, and bundles of four or six mean 765,000, the highest voltage in regular use on the continent.
The canceling that people expect of wires hung side by side is on the tower too. It is between the legs. Chapter 30 showed that the three currents of a three-phase line add up to nothing at every moment, which makes the line a pair with three members. From far off, its field fades as quickly as the field of a pair.
6. The arithmetic and a program
field of one long wire microtesla = 0.2 x amperes / meters 10 A at 1 m: 2 microtesla a wire and its way home microtesla = 0.2 x amperes x gap / (meters x meters) 1 cm apart: 0.02 microtesla how much quieter a pair is distance / gap at 1 m with a 1 cm gap: 100 times, or 40 dB what a loop picks up goes as its area x how fast the field through it changes a twisted pair neighboring loops cancel, and their mismatch is what remains an edge on a motor cable covers about 150 meters in a microsecond it nearly doubles when the cable is longer than 75 meters x the rise time in microseconds air gives way at about 30,000 volts a centimeter at the peaks, or 21,000 RMS field at a wire's surface volts to ground / (wires x radius x ln(distance between legs / radius the bundle acts as)) two wires act as one of radius = square root of (radius of each x the gap) 1.5 cm wires 45 cm apart: 8.2 cm
The program works out the field of a wire carrying 10 amperes at six distances, alone and then with its way home a centimeter to one side.
#include <stdio.h>
/* The magnetic field beside one long straight wire, in microtesla. */
double field_of_wire(double amps, double meters)
{
return 0.2 * amps / meters;
}
/* The same for a wire and its way home, `gap` meters apart, seen from much farther off. */
double field_of_pair(double amps, double gap, double meters)
{
return 0.2 * amps * gap / (meters * meters);
}
int main(void)
{
const double amps = 10.0; /* about what a toaster draws */
const double gap = 0.01; /* the two wires are a centimeter apart */
const double distances[] = { 0.1, 0.25, 0.5, 1.0, 2.0, 4.0 };
printf("meters one wire with its way home times weaker\n");
for (int i = 0; i < 6; i++) {
double alone = field_of_wire(amps, distances[i]), paired = field_of_pair(amps, gap, distances[i]);
printf("%6.2f %8.3f %17.4f %12.0f\n", distances[i], alone, paired, alone / paired);
}
return 0;
}
/* It prints:
meters one wire with its way home times weaker
0.10 20.000 2.0000 10
0.25 8.000 0.3200 25
0.50 4.000 0.0800 50
1.00 2.000 0.0200 100
2.00 1.000 0.0050 200
4.00 0.500 0.0013 400 */
def field_of_wire(amps, meters):
"""The magnetic field beside one long straight wire, in microtesla."""
return 0.2 * amps / meters
def field_of_pair(amps, gap, meters):
"""The same for a wire and its way home, `gap` meters apart, seen from much farther off."""
return 0.2 * amps * gap / (meters * meters)
AMPS = 10.0 # about what a toaster draws
GAP = 0.01 # the two wires are a centimeter apart
print("meters one wire with its way home times weaker")
for meters in (0.1, 0.25, 0.5, 1.0, 2.0, 4.0):
alone, paired = field_of_wire(AMPS, meters), field_of_pair(AMPS, GAP, meters)
print(f"{meters:6.2f} {alone:8.3f} {paired:17.4f} {alone / paired:12.0f}")
# It prints:
# meters one wire with its way home times weaker
# 0.10 20.000 2.0000 10
# 0.25 8.000 0.3200 25
# 0.50 4.000 0.0800 50
# 1.00 2.000 0.0200 100
# 2.00 1.000 0.0050 200
# 4.00 0.500 0.0013 400
/// The magnetic field beside one long straight wire, in microtesla.
fn field_of_wire(amps: f64, meters: f64) -> f64 {
0.2 * amps / meters
}
/// The same for a wire and its way home, `gap` meters apart, seen from much farther off.
fn field_of_pair(amps: f64, gap: f64, meters: f64) -> f64 {
0.2 * amps * gap / (meters * meters)
}
fn main() {
let amps = 10.0; // about what a toaster draws
let gap = 0.01; // the two wires are a centimeter apart
println!("meters one wire with its way home times weaker");
for meters in [0.1, 0.25, 0.5, 1.0, 2.0, 4.0] {
let (alone, paired) = (field_of_wire(amps, meters), field_of_pair(amps, gap, meters));
println!("{:6.2} {:8.3} {:17.4} {:12.0}", meters, alone, paired, alone / paired);
}
}
// It prints:
// meters one wire with its way home times weaker
// 0.10 20.000 2.0000 10
// 0.25 8.000 0.3200 25
// 0.50 4.000 0.0800 50
// 1.00 2.000 0.0200 100
// 2.00 1.000 0.0050 200
// 4.00 0.500 0.0013 400
Read down the last column. The farther away you stand, the better the pair hides, because the single wire's field falls in step with the distance and the pair's falls with the distance squared.
Try it: a cable, a radio and a tower
- Cut a hand's length from a dead network cable and strip back its outer jacket. Count the pairs, and then compare how tightly each one is twisted. No two are alike.
- Tune a battery radio to an empty spot on the AM dial and carry it around the house. It buzzes beside a lamp dimmer, a phone charger and anything with a variable-speed motor in it, and the buzz fades within a step or two. Those are the fields of section 1, and you are measuring how fast they fall.
- Find a large power line and count the wires in each bundle, and then guess its voltage from section 5. On a damp morning, stand near it and listen for the hiss.
- In the drawing of section 4, set the edge to 0.10 microseconds and look for the shortest cable at which the motor sees more than 1,000 volts.
The next chapter stays with machines and goes inside the metal they are made of.