Electricity speed and data transfer

12

3

I've read in some places that electricity is very slow. Then how can Internet traffic in copper wires be so fast? I think I have a great gap of knowledge about the low-level data transfer structure. Anyways, I searched for it and couldn't find, so?

Delison

Posted 2012-02-19T15:29:57.080

Reputation: 137

1

This is by no means an answer, and I am not a physics professor, but there is an interesting discussion on the speeds of electricity here that may be useful to you. And as a note of interest, check into some "powerline" ethernet adapters - they allow you to share gigabit ethernet across the power grid in your home/office etc, at full gigabit speeds. I can't think of a good way to compare the speeds of the two, but maybe there is someone here who can explain the concepts involved.

– Josh – 2012-02-19T16:06:53.320

I have that concept, but the problem i can't imagine is: When you transmit data, don't you want to transmit specific 1's and 0's? or this is even more low-level than that? Cause if no, then how can you specify what you are transmitting? – Delison – 2012-02-19T17:14:34.500

5

Electrons drift through wires very slowly, but the signal (or energy) will propagate close to the speed of light.

– sblair – 2012-02-19T18:36:49.283

5@Delison - there is no such thing as transmitting 1s and 0s; those are a matter of interpreting something that is transmitted. If you vary the current on a wire, and we've agreed ahead of time that anything over X volts will be considered a 1 and anything under Y volts a 0, it's our mutual standard of interpretation (aka "protocol") for an analog, real-world thing which creates binary information. We could just as well throw sticks over a wall and measure them; anything longer than 10cm would be a 1; smaller would be a 0. Binary data is interpreted, not sent or stored. – Nathan Long – 2012-02-19T20:57:39.097

See also: http://programmers.stackexchange.com/a/132705/7217

– Nathan Long – 2012-02-19T20:59:17.707

@NathanLong +1 for the distinction between the data and the transmission standard. As an instance, Morse code isn't on/off digital but a differentiation between on and on x 3 with groupings of the same separated by longer off giving the symbol transmitted. We can use amplitude, frequency, phase, pulse width, etc. as the basis of the modulation and with really accurate clocks on both ends even time division multiplex for transmitting multiple data channels. It's the standard set in place that determines if anything intelligible comes out. – Fiasco Labs – 2012-02-19T21:28:44.030

-1 "electricity is very slow" any references? – Kris – 2012-02-20T07:43:45.903

@NathanLong exactly, and it's not even a matter of the voltage being above or below a certain voltage all the time either. For wireless or PLC there is a carrier wave and the voltages must be relative to that.

– Codebling – 2012-05-29T17:54:49.580

Answers

30

Electricity in wires is essentially the movement of charge-carriers such as electrons. These move very slowly.

However a change in voltage at one end of a wire causes a corresponding change at the other end of the wire almost instantly.

Think of a very long hose pipe, if the pipe is empty when you turn on the tap, it can take a few seconds for the pipe to fill with water before it starts coming out the other end. If the pipe is filled with water already, turning the tap in will instantly force water out the far end.

Voltage is roughly analogous to pressure. A change in water pressure can be transmitted through a pipe full of water faster than the water moves.

RedGrittyBrick

Posted 2012-02-19T15:29:57.080

Reputation: 70 632

4

Everybody knows the internet is a series of "Tubes", not wires, lol....http://en.wikipedia.org/wiki/Series_of_tubes

– Moab – 2012-02-19T18:54:48.987

Heh, Tubes... No wonder we have Info Leaks and as any plumber will tell you, the most important concept is "Stuff Runs Downhill". – Fiasco Labs – 2012-02-19T19:15:41.773

2+1. Also, sound waves are similar: a sound wave moves through air at around 343 meters per second. If the air itself moved that fast, it would blow you away; instead, the air molecules knock against each other, one after another, transmitting energy from one to the next at that speed, while each individual molecule mostly stays put. – Nathan Long – 2012-02-19T21:05:39.633

23

I actually wrote a blog post on this exact question a few years back.

Basically, though the individual electrons move at only a few millimeters a second, the "signal" of their bumping into each other moves much faster than that (a large fraction of the speed of light).

electrons bumping into each other through a tube

Note how the balls enter the tube very slowly, but the "signal" that a ball has entered (the force propagating down the tube) moves much faster than that. Electrons moving in a wire work in a very similar way.

BlueRaja - Danny Pflughoeft

Posted 2012-02-19T15:29:57.080

Reputation: 7 183

6

Electricity itself travels through wires at the speed of light x velocity factor. So a cheap piece of RG-58 coax cable with a 75% velocity factor can transmit radio waves at 75% of the speed of light.

The confusion comes in because we don't use just DC current to transmit information, but rather an alternating current or an alternating current impressed on a DC voltage (modulation) to do this. Each transmission medium used has a maximum frequency at which it will operate. Telegraph using switched DC 5-50wpm (a wire suspended on poles with an earth return), A standard POTS line may pass 4kHz (rural parallel 2 pair cable with shield), a DSL line close to the DSLAM might pass 2MHz (twisted pair from DSLAM to house), a CAT5 Ethernet twisted pair cable 100MHz and so on. Typically, the higher the frequency that the transmission medium can support, the higher the datarate that can be passed through it.

The electricity passes through the cable at the same speed, but the increasingly higher switching rate carries more and more information.

On top of this concept of using electricity to transmit information is the type of modulation used.

Close in, simple square wave serial may work just fine. It comes in many flavors. TTL uses a 0-5 volt shift, RS-232 uses a voltage swing between positive and negative 3-15 Volts. etc. etc.

For POTS phone lines, transmitting a square wave would not work, the characteristics of the line turn it into a sine wave, so various modulation schemes are used like amplitude shift, frequency shift, phase shift or a combination of these used in QAM which can be used to increase the datarate from 150bps to 56kbps.

DSL operates at a much higher frequency than POTS and using a modulation technique called Discrete Multi-tone, operates over multiple carrier frequencies (think radio AM band and receiving all the stations at once, each one carrying a data signal and combining them at the other end) using phase and amplitude shift modulation, reaching a datarate of 1-7Mbps.

This covers local loop, when we get into the internet backbone we start using stuff like Digital Signal (DS) and Optical Carrier (OC) media to move the traffic using PCM (Pulse Code Modulation) techniques over multiple channels. These are the true digital part of the network. Once again the traffic moves at near light speed, but the datarate is dependent on the frequency and modulation technique being used.

Addendum: Electrons move from one atom to another a minute distance. The current flow we perceive as electricity is a near instantaneous cascade of electrons moving from one atom to another over the length of a conductor.

Fiasco Labs

Posted 2012-02-19T15:29:57.080

Reputation: 6 368

1-1 Not sure why this has so many upvotes, since 1. It's going to read like gibberish to anyone just beginning their electrical-studies, and 2. has nothing to do with the question (why does the signal move so fast if the charge carriers move so slow), except for the addendum – BlueRaja - Danny Pflughoeft – 2012-02-19T22:34:23.187

2The addendum is on-topic but wrong. In copper (and other metals), the valence electrons (the ones carrying current) are not bound to atoms, and do not move from atom to atom. Instead, they're freely moving throughout the crystal structure. That freedom is precisely why metals conduct electricity so well. Materials that behave as described (where electrons have to hop from atom to atom) are called isolators. – MSalters – 2012-02-20T09:13:36.637

6

The speed at which electrons move in a conductor is relatively slow, but information is carried on pairs of conductors or in the air by means of waves of electricity, and these waves travel very fast: at the speed of light in a vacuum or at about 2/3 of that in a coax cable.

If you take a rope, attach one end to something or have a friend hold it, then quickly flip your end of the rope up and down, you will induce a wave in the rope that travels quickly from your end to the other end. The particles of rope don't move very fast, though.

Another example is an ocean wave. A tsunami travels at hundreds of miles an hour, but the water carrying the wave doesn't move that fast.

garyjohn

Posted 2012-02-19T15:29:57.080

Reputation: 29 085

In ocean wave action, the water particles travel in a circle, near the surface, larger circles, descending in diameter till you reach the maximum depth of the wave (tsunami = depth of the water column excited by the seismic/geologic impulse). In electricity, electrons move only from one atom to another in the conductor, a very tiny movement indeed, but the cascade of electron movement extends through the whole conductor at near light speed. In air/vacuum radio waves travel as a paired alternating electric and magnetic field at 90 degree separation. – Fiasco Labs – 2012-02-19T19:12:21.137