Download Physical - Rudra Dutta

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Oscilloscope types wikipedia , lookup

Telecommunications engineering wikipedia , lookup

Opto-isolator wikipedia , lookup

Valve RF amplifier wikipedia , lookup

Analog television wikipedia , lookup

Radio transmitter design wikipedia , lookup

Analog-to-digital converter wikipedia , lookup

Broadcast television systems wikipedia , lookup

HD-MAC wikipedia , lookup

Telecommunication wikipedia , lookup

Index of electronics articles wikipedia , lookup

Transcript
Physical Layer
Rudra Dutta
CSC 401 - Fall 2011, Section 001
Context

Lowest of OSI layers
 Provides a bit pipe
 More communications than networking
 We want to understand:
–
General techniques

–
Descriptive
Theoretical results

Analytical, problem solving
Copyright Fall 2011, Rudra Dutta, NCSU
2
Communication Links

Various technologies for physical communication
–


Copper wire, coax, fiber, radio, satellites, …
Single underlying phenomenon - EM waves
One way to utilize the phenomenon - guide
–
Copper, glass

Another way – no guide

Free space (“wireless cable”)
– Radio, optical
(Smoke signal? Semaphore? Magnetic tapes? Carrier Pigeons ?)
–
Copyright Fall 2011, Rudra Dutta, NCSU
3
EM Waves
Energy can carry information
More correctly, distribution of energy
EM waves carry energy, hence information
Amplitude, frequency, phase
Modifications (“modulations”) of these carry information
Copyright Fall 2011, Rudra Dutta, NCSU
4
Digital or Analog ?
010100…

Digital – concept
–
Information can be analog or digital
EM waves – analog by definition
 Analog EM signal can be made to transfer digital data
 Thus we could (and usually do) have:
 “Digital interpretation of analog signal representing
digital representation of analog data”

Copyright Fall 2011, Rudra Dutta, NCSU
5
Propagation Media

Guided
–
–
–

Twisted pair
Coax cable
Optical fiber
Unguided
–
Radio (semi-guided follow curvature of earth)
– Radio bounced off ionosphere
– Fiberless optical (wireless optical)
– Communication satellites
Copyright Fall 2011, Rudra Dutta, NCSU
6
Communication in the EM Spectrum
Copyright Fall 2011, Rudra Dutta, NCSU
7
Modulation

A “carrier” wave exists on the medium
–
–
–

A “signal” needs to be transmitted
–

Own amplitude, frequency, phase
Base energy pattern – no information
Analog, of course
Time varying; analog, or digital
The value of the signal from instant to instant is
used to change the energy pattern of the carrier
Copyright Fall 2011, Rudra Dutta, NCSU
8
Injection

Baseband
–
–
–

No carrier, modulation
State of the medium (voltage) is made to follow
signal one-to-one
Uses “entire” medium
Broadband
–
Modulation of a carrier
– Carriers at different frequencies can carry different
signals
– Sinusoidal advantages – remember harmonic
analysis
– Natural frequencies of transmission
Copyright Fall 2011, Rudra Dutta, NCSU
9
Synchronous vs. Asynchronous

Various use of these terms
 Very multiply defined terms
 Can be used for traffic
–
ITU-T and CCITT have different definitions
– Others such as FDDI possible

In this transmission context
–
With clock - asynchronous

–
Can fall out of step - long string of zeros
Synchronous - clock not needed
Copyright Fall 2011, Rudra Dutta, NCSU
10
Synchronous Baseband Transmission

“Self-synchronizing” codes
–
–

Manchester
–

Provide guaranteed transitions in clock ticks
Rate suffers
Transitions, not states, indicate bits
Many others
–
–
NRZI - Transitions indicate 1’s (needs line code)
MLT-3 - Alternate 1’s are high and low (needs line code)
Copyright Fall 2011, Rudra Dutta, NCSU
11
Broadband injection
Amplitude, Frequency, or Phase may be modulated
“Shift keying”
Copyright Fall 2011, Rudra Dutta, NCSU
12
BPSK modulation
• PSK has excellent protection against noise
• Information is contained within phase
• Noise mainly affects carrier amplitude
Copyright Fall 2011, Rudra Dutta, NCSU
13
QPSK Modulation, QAM
Copyright Fall 2011, Rudra Dutta, NCSU
14
Multiplexing

Techniques to employ same medium for
multiple transmissions
 Requirement: over same reasonably short time,
each transmission should receive some share of
medium capability
 Two main methods
–
–
–
–
Frequency division
Time division
Combinations thereof
Code division – new concept
Copyright Fall 2011, Rudra Dutta, NCSU
15
Frequency Division Multiplexing
(a) The original bandwidths
(b) The bandwidths raised in frequency
(b) The multiplexed channel
Copyright Fall 2011, Rudra Dutta, NCSU
16
Wavelength Division Multiplexing
Copyright Fall 2011, Rudra Dutta, NCSU
17
Time Division Multiplexing

The T1 carrier (1.544 Mbps)
Copyright Fall 2011, Rudra Dutta, NCSU
18
GSM – A Combined Approach

GSM uses 124 frequency channels, each of
which uses an eight-slot TDM system
Copyright Fall 2011, Rudra Dutta, NCSU
19
CDMA – A New Approach

Combines multiplexing and
collision issues
–
New approach lies in treating
collisions - may extract some data
– Multiplexing is more like FDM


Binary “chip” sequences assigned
to stations
May appear that bit rate increase
should not result - in fact does
–
Power control an essential part
– We discuss later (in MAC)
Copyright Fall 2011, Rudra Dutta, NCSU
20
The Issue of Bitrate
00
1 01
0

Transmit one of two distinct amplitudes (voltages) 
transmission of one bit
How soon after can we transmit another bit?
–
–
–

11
Consider simple AM (ASK)
–

10
How fast can transmitter change its state?
How fast can receiver recognize line state?
Appears to limit bit rate, but -
Does not have to be just two states
–
–
Why not transmit one of four distinct amplitudes?
Why not more?  No limit to bit rate
Copyright Fall 2011, Rudra Dutta, NCSU
21
Channel Characteristics

Channel modifies the EM wave
Copyright Fall 2011, Rudra Dutta, NCSU
22
Phenomena Hindering Transmission

Interference with energy (pattern)
–
–
–
–

Attenuation (entropy loss)
Distortion (variable delay of different energy packets)
Dispersion
Noise (unpredictable)
All but noise can be guarded against
–
With the ideal infinite data transfer rate
Copyright Fall 2011, Rudra Dutta, NCSU
23
A Little Communication Theory

The road to EM transmission:
–
–
–

Fourier: Harmonic analysis
Nyquist: Sampling theorem – bit rate
Shannon: Bit rate in presence of noise
Briefly,
–
Most signals can be represented by sinusoid
combinations
– Discrete time sampling can reconstruct signals
– Noiseless channel has limited maximum bit rate
– Noise reduces maximum bit rate
Copyright Fall 2011, Rudra Dutta, NCSU
24
Bandwidth-Limited Signals
•
(a) A binary signal and its root-mean-square Fourier
amplitudes, (b-c) successive approximations
Copyright Fall 2011, Rudra Dutta, NCSU
25
Bandwidth-Limited Signals (2)

(d) – (e) Successive approximations to the
original signal
Copyright Fall 2011, Rudra Dutta, NCSU
26
Sampling – Nyquist’s Theorem

Twice the highest frequency  no
reconstruction loss
Copyright Fall 2011, Rudra Dutta, NCSU
27
Nyquist’s Result – Intuitive View

Fitting a sinusoid
–
–
–
–

Low-rate sampling  wrong sinusoid
Half-rate sampling  wrong sinusoid
Full-rate sampling  still could be wrong
Double rate  no possibility of wrong sinusoid
“Highest frequency”
–
–
–
Naturally introduced by device characteristics
Medium carries all frequencies between a lowest
and highest frequencies (“frequency band”)
Hence “band” “width”
Copyright Fall 2011, Rudra Dutta, NCSU
28
Bandwidth limited Bit rate

Nyquist’s theorem
–
–
–

Maximum bit rate = 2H log2 V bits/sec
H = bandwidth
V = number of discrete states
Shannon’s theorem
–
–
–
–
Maximum bit rate = H log2 (1 + S/N) bits/sec
Introduces signal-noise ratio
Insight: random characteristic limits bit rate
Note on application



SNR in Shannon’s theorem - ratio of power content (PS/PN)
Usual unit of SNR - dB, a logarithmic unit
dB = 10 log10 (PS/PN)
Copyright Fall 2011, Rudra Dutta, NCSU
29
Examples

A digital signal is sent over a 7.5-kHz channel whose signal-to-noise ratio is
20 dB. What is the maximum achievable data rate?
 Since 20 dB is the same as 100:1 (because 20 = 10 log10(100/1)), we apply
Shannon’s theorem to obtain 7500 (log2101) = 50 Kbps.


A binary signal is sent over a 6 MHz channel with SNR 30 dB. What data
rate will be achieved?
 Again, the theoretically maximum bitrate of the channel is available as
6000000 (log21001) = 59.8 Mbps. But in this case, we are already told that
the signal is binary, that is only two discrete states of the medium can be
used. We may not be able to utilize the full SNR of the medium with only
two states; to check, we must apply Nyquist’s theorem with V = 2. Indeed,
we get 2 * 6000000 * log22 = 12 Mbps. Thus this is the maximum bitrate
that will be achieved by a binary signal.
Copyright Fall 2011, Rudra Dutta, NCSU
30
Comparing Results

Both results give bitrates, but
–

With different assumptions and input
Nyquist’s theorem
–
Bit rate IF exactly V states are successfully used

–
Noise must allow V states


Often stated as perfect channel assumption
Shannon’s result
–
Estimation of what value of V will be successful


Mo-Dem equipment already decided
Noise level decides, so need noise level as input
Either might be larger, depending on input
Copyright Fall 2011, Rudra Dutta, NCSU
31
What Have We Learned?





EM communication links provide bit pipes –
lowest layer of networking
Various transmission methodologies
Theoretical results providing channel bit rates
At higher layers, bit rate is what we are primarily
interested in
Validation of layering concept
Copyright Fall 2011, Rudra Dutta, NCSU
32