Computer Networks - Physical
Computer Networks - Physical
Chapter 2
Physical Layer
Chap. 2- Physical 2
Chapter Overview
2.1 Theoretical Basis For Data Communication
What every sophomore EE knows !!! How much data can be put on a
wire? What are the limits imposed by a medium?
2.2 Transmission Media
Wires and fibers.
Chap. 2- Physical 3
DATA Overview
COMMUNICATION
THEORY
2.1 Theoretical Basis For
Data Communication This is Physics or Electrical Engineering stuff.
2.2 Transmission Media
It’s how we understand what is actually
2.3 Wireless Transmission happening on a wire.
2.4 The Telephone System
2.5 Narrowband ISDN
Chap. 2- Physical 4
DATA Some Basic Terms
COMMUNICATION
THEORY
Analog and Digital Signaling
Amplitude Modulation
Frequency Modulation
Chap. 2- Physical 5
DATA Some Basic Terms
COMMUNICATION
THEORY
Baseband and Broadband
Phase Modulation
Modems
Chap. 2- Physical 6
DATA Some Basic Terms
COMMUNICATION
THEORY
Synchronous – there’s a clock embedded in the wire that guarantees all users of that wire are
based on that clock.
Asynchronous – there’s no clock. Users of the wire send signals when they feel like it.
Chap. 2- Physical 7
DATA FOURIER ANALYSIS
COMMUNICATION
THEORY
Fourier Series - Any wave, no matter what its shape, can be formed by the
addition of a (possibly infinite) number of sinusoidal waves. So if the wave g
is a function of time t, then
Chap. 2- Physical 8
DATA FOURIER ANALYSIS
COMMUNICATION
THEORY
g(t) = c/2 + ninfAn sin( 2 n f t)
+ ninfBn cos( 2 n f t)
The coefficients An and Bn are determined for each component - they represent the
amplitude of the individual waves.
The way to solve this equation is to take the function you're trying to analyze (say
for a square wave):
Chap. 2- Physical 10
DATA COMMUNICATION BANDWIDTH-LIMITED
THEORY SIGNALS
Chap. 2- Physical 11
DATA COMMUNICATION BANDWIDTH-LIMITED
THEORY SIGNALS
Wave Shape - A pure sine wave (the fundamental only) doesn't cut it. The
receiver needs the signal to electrically stay high for some amount of time so
it can distinguish the voltage - some degree of "squareness" is necessary
requiring some harmonics in the signal.
Baud - The number of changes in the signal per second. A b baud line does not
necessarily transmit b bits/second - each signal may convey several bits - for
example if 8 voltages are possible per signal, then 3 bits are sent on every
signal. If the signal is BINARY (only two voltage levels), then the bit rate is
equal to the baud rate.
Chap. 2- Physical 12
DATA COMMUNICATION BANDWIDTH-LIMITED
THEORY SIGNALS
Voice-grade Line - is an
ordinary telephone line. Its
cutoff frequency is near
3,000 Hz.
If we assume:
1) 1 bit per baud,
2) that there are, in the best
case, 8 harmonics,
then
1) the bit rate is b bits/sec,
2) the frequency of the fundamental (also called the first harmonic) is
b/8 Hz.
3) the highest harmonic passed through a voice grade line: 3000/(b/8) =
24,000/b.
4) The Table shows how this equation works in practice.
Chap. 2- Physical 13
DATA COMMUNICATION MAXIMUM DATA
THEORY RATE OF A CHANNEL
The Nyquist equation tries to talk about the realistic amount of data that can be
pushed through a channel with a given bandwidth, H. If the signal consists of V
levels (for example binary = 2), then assuming no noise (i.e., perfect signals)
Shannon's equation is another way of expressing maximum data rate. It's given as
maximum data rate = H log2 ( 1 + S/N )
Chap. 2- Physical 14
Transmission Overview
Media
2.1 Theoretical Basis For
Data Communication This section discusses the various types of
2.2 Transmission Media wires/fibers/etc that can be used to carry
data.
2.3 Wireless Transmission
2.4 The Telephone System
2.5 Narrowband ISDN
Chap. 2- Physical 15
Transmission Hardware Stuff
Media
MAGNETIC MEDIA:
Sometimes it's cheaper and faster to load a box of tapes in your car !!!
TWISTED PAIR:
Simply two wires twisted together - the twisting cuts down on electrical
interference.
Heavily used in the phone system - the typical office has four pairs for
phones, etc.
Category 3 and 5 - with 5 having more twists and better insulation.
Chap. 2- Physical 16
Transmission Hardware Stuff
Media
BROADBAND COAXIAL CABLE:
Used for analog transmissions (called broadband.)
Can run 300 MHz for long distances.
Analog signaling has better S/N than digital signaling.
Interfaces must convert digital signals to analog and vice versa.
Designed for long distances - can use amplifiers.
FIBER OPTICS:
Transmission of light through fiber - properties include total internal
reflection and attenuation of particular frequencies.
Fiber Optic Networks - can be used for LANs and long-haul.
Chap. 2- Physical 17
Transmission Hardware Stuff
Media
Comparison of Fiber Optics and Copper Wire
Fiber Copper
Chap. 2- Physical 18
Transmission Connectors
Media
Chap. 2- Physical 19
Transmission
Media
Signal Regeneration
Clean up
Amplify
Repeaters
Distance Extension
Chap. 2- Physical 21
Wireless Hardware Stuff
Transmission
Though we will say little about this topic in the present course, it's clearly an
extremely important topic. It's especially relevant since wireless transmission
bypasses a great amount of infrastructure. It means that developing countries
can leap ahead in technology without running miles of physical media.
Cell Phones:
Wireless Computing:
Chap. 2- Physical 22
The Telephone Overview
System
2.1 Theoretical Basis For
Data Communication How is the phone system put together?
2.2 Transmission Media
And how is voice and data transmitted on that
2.3 Wireless Transmission system?
2.4 The Telephone System
2.5 Narrowband ISDN
Chap. 2- Physical 23
The Telephone STRUCTURE OF THE
System PHONE SYSTEM
The use of analog and digital signals has pros and cons:
Analog Digital
Chap. 2- Physical 24
The Telephone The Local Loop
System
This is the connection from the local switching station to your house. This is
ultimately what controls the transmission speed to your house.
Transmission Impairments:
Noise - unwanted energy that combines with the signal - difficult to tell
the signal from the noise.
Chap. 2- Physical 25
The Telephone Modems
System
A device that converts digital data to and from an analog signal for transmission
over phone lines.
Because attenuation is frequency dependent, modems use a sine wave carrier of a
particular frequency, and then modulate that frequency. Various modulations
include:
Amplitude modulation: Two
Binary Signal
different amplitudes of sine
wave are used to represent 1's
and 0's.
V.32 16 4 9600
V.32 bis 64 6 14,400
V.34 128 (including 7 28,800
parity)
Chap. 2- Physical 27
The Telephone Modems
System
In addition, modems use compression and error correction to increase the effective
bits per second.
Full Duplex - Able to transmit in both directions on a wire at the same time.
Chap. 2- Physical 28
The Telephone TRUNKS AND MULTIPLEXING:
System
The cost of a wire is pretty much constant, independent of the bandwidth of that
wire - costs come from installation and maintenance of the physical space (digging,
etc.), not from the media or the electrical support structure. So, how can we stuff
more through that medium?
Chap. 2- Physical 29
The Telephone TRUNKS AND MULTIPLEXING:
System
Wavelength Division Multiplexing: The same as FDM, but applied to fibers.
There's great potential for fibers since the bandwidth is so huge (25,000 GHz).
Time Division Multiplexing: In TDM, the users take turns, each one having
exclusive use of the medium in a round robin fashion. TDM can be all digital.
Chap. 2- Physical 30
The Telephone TRUNKS AND MULTIPLEXING:
System
4 KHZ Analog/Voice 8,000 samples/sec ( sample every 125 usecond ).
24 X 8 + 1 Framing Bit = 193 bits/125 usec --> 1.544 Mbps. When T1 is being
used for digital data, the 24th channel is converted for use as synchronization.
Chap. 2- Physical 31
The Telephone SONET
System
(Synchronous Optical NETwork). Most long distance traffic in the US uses
SONET. Design goals include:
1. Common among different carriers - requires frequency, timing standards.
2. Common among different countries - needed to supersede previous national
standards.
3. Multiplexed multiple digital channels together in a standard fashion.
A SONET frame of 810 bytes is transmitted every 125 usec. Because it's
Synchronous, the frame is sent whether there's data to be carried or not. Data rate
is 51.84 Mbps. This basic channel is called STS-1. Multiple channels can be
multiplexed to get higher bandwidth.
Chap. 2- Physical 32
The Telephone SWITCHING
System
This is what happens inside the phone company - the various wires or fibers
interconnect the switching centers. Methods of switching include:
Message Switching: The connection is determined only when there is actual data
(a message) ready to be sent. The whole message is re-collected at each switch
and then forwarded on to the next switch. This method is called store-and-forward.
This method may tie up routers for long periods of time - not good for interactive
traffic.
Chap. 2- Physical 33
The Telephone COMPARISON OF CIRCUIT
System SWITCHED AND PACKET
SWITCHED NETWORKS
Chap. 2- Physical 34
Overview
ISDN
Chap. 2- Physical 35
NARROWBAND - WHAT IS IT?
ISDN
Chap. 2- Physical 36
WHAT IS IT?
ISDN
Businesses may have more channels active than the home configuration internal
bus can handle. So a PBX ( Private Branch eXchange ) is used to provide the
internal bus containing more switching capacity. This in turn is connected to NT1.
Chap. 2- Physical 37
WHAT IS IT?
ISDN
The primary Rate is designed to connect to a business with a PBX. As it turns out,
most companies now need far more capacity than 64 kbps for the many uses
beyond voice. So this is less than adequate.
N-ISDN may have a life as a connection to homes for people wanting to download
images etc. But it's not useful for serious business applications.
Chap. 2- Physical 38
BROADBAND - WHAT IS IT?
ISDN
Chap. 2- Physical 39
Comparing Virtual Circuits and
ISDN Circuit Switching
The service offered is connection oriented (from the customer's point of view) but is
implemented with packet switching. Services offered include:
Chap. 2- Physical 40
SUMMARY
2.1 Theoretical Basis For Data Communication
What every sophomore EE knows !!! How much data can be put on a
wire? What are the limits imposed by a medium?
2.2 Transmission Media
Wires and fibers.
Chap. 2- Physical 41