Chapter 3 -- Physical Layer
-
Signals
-
Almost all signals are electromagnetic waves
-
Voice/sound is almost never used.
-
Light and microwaves are type of electromagnetic wave, but very different
electrical.
-
Signal travels at the speed of light in the material, which is 200,000km/second
for copper or optic cable.
-
Electrical Cable
-
Is cheap and easy and won't kill or blind.
-
distortions occur because
-
Wires have impedence (makes sharp edges look rounded).
-
slow down or use good receiveres are only solutions
-
Sine waves get thru better than square waves!
-
Wired act like antenas (pick up crosstalk).
-
Why radios in cars can whine.
-
Shielded coax very good at stopping this.
-
twisted pair not bad at stopping this.
-
Signals can be reflected of end and come back
-
Proper termination can fix this.
-
Just a resistor (get value from EE, or just ask cable maker)
-
Coding can help
-
Use square waves only short slow communication over short wires
-
Use frequency shift keying, amplitude shift keying, or phase shift keying
-
Receiveing
-
Getting clocking right.
-
Using short bit sequences
-
All bit sequences are N bits long, start with a '1', and end with
a long '0'.
-
Has lots of idle time
-
Lets clocks drift and still is O.K.
-
Manchester Encoding
-
A '0' is indicated by a downward voltage sitft in the middle of the bit
-
A '1' is indicated by an upward voltage shift in the middle of the bit.
-
At the begining of each bit, the voltage is set so that there IS a shift
in the middle.
-
Easy to keep track of the clock, cannot screw it up.
-
cannot even get 1/2 off, since sometimes there is no transmission at the
begining of bits, but there is a transision at every bit-middle.
-
Is self-synchonizing.