Digital Transmission
Digital Transmission
Fundamentals
Digital Representation of Information
Why Digital Communications?
Digital Representation of Analog Signals
Characterization of Communication Channels
Fundamental Limits in Digital Transmission
7-Layer OSI Reference Model
Application Application
End-to-End Protocols
Application Application
Layer Layer
Presentation Presentation
Layer Layer
Session Session
Layer Layer
Transport Transport
Layer Layer
Network Network Network Network
Layer Layer Layer Layer
Data Link Data Link Data Link Data Link
Layer Layer Layer Layer
Physical Physical Physical Physical
Layer Layer Layer Layer
Telephone
Digital Transmission
Fundamentals
Digital Representation of
Information
Bits, numbers, information
l Bit: number with value 0 or 1
l n bits: digital representation for 0, 1, … , 2n
l Byte or Octet, n = 8
l Computer word, n = 16, 32, or 64
l n bits allows enumeration of 2n possibilities
l n-bit field in a header
l n-bit representation of a voice sample
l Message consisting of n bits
l The number of bits required to represent a message
is a measure of its information content
l More bits → More content
Block vs. Stream Information
Block Stream
l Information that occurs l Information that is
in a single block produced & transmitted
l Text message continuously
l Data file l Real-time voice
l JPEG image l Streaming video
l MPEG file
l Size = Bits / block l Bit rate = bits / second
or bytes/block l 1 kbps = 103 bps
l 1 kbyte = 210 bytes l 1 Mbps = 106 bps
l 1 Mbyte = 220 bytes l 1 Gbps =109 bps
l 1 Gbyte = 230 bytes
Stream Information
l A real-time voice signal must be digitized &
transmitted as it is produced
l Analog signal level varies continuously in time
Th e s p ee ch s i g n al l e v el v a r ie s w i th t i m(e)
Digitization of Analog Signal
l Sample analog signal in time and amplitude
l Find closest approximation
Original signal
Sample value
7D/2 Approximation
5D/2
3 bits / sample
3D/2
D/2
-D/2
-3D/2
-5D/2
-7D/2
720
Broadcast TV at 30 frames/sec =
480
10.4 x 106 pixels/sec
1920
HDTV at 30 frames/sec =
Communication channel
Transmitter
l Converts information into signal suitable for transmission
l Injects energy into communications medium or channel
l Telephone converts voice into electric current
l Modem converts bits into tones
Receiver
l Receives energy from medium
l Converts received signal into form suitable for delivery to user
l Telephone converts current into voice
l Modem converts tones into bits
Transmission Impairments
Transmitted Received
Transmitter Signal Signal Receiver
Communication channel
t t
1 ms 1 ms
“DC” fundamental
long-term frequency f0=1/T kth harmonic
average first harmonic
t t
T2 =0.25 ms T1 = 1 ms
4 4
x1(t) = 0 + cos(2p4000t) x2(t) = 0 + cos(2p1000t)
p p
4 4
+ cos(2p3(4000)t) + cos(2p3(1000)t)
3p 3p
4 4
+ cos(2p5(4000)t) + … + cos(2p5(1000)t) + …
5p 5p
magnitude of amplitudes as 1
0.8
0.4
9
12
15
18
21
24
27
30
33
36
39
42
content than x2(t) frequency (kHz)
1
a signal has non-negligible 0.8
0.4
signal power
0
0
9
12
15
18
21
24
27
30
33
36
39
42
frequency (kHz)
Bandwidth of General Signals
“speech”
t Sampler t
(b)
x(nT) x(t)
t Interpolation t
filter
Digital Transmission of Analog
Information
2W samples / sec m bits / sample
Analog Sampling Quantization
source (A/D)
Transmission
or storage
Approximation y(t)
2W samples / sec
Quantization of Analog Samples
3.5D
Quantizer maps input
output y(nT) into closest of 2m
2.5D
1.5D representation values
0.5D
-4D -3D -2D -D
-0.5D 3D 4D
D 2D
input x(nT)
Quantization error:
-1.5D
-2.5D “noise” = x(nT) – y(nT)
-3.5D
Original signal
Sample value
7D/2 Approximation
3 bits / sample
5D/2
3D/2
D/2
-D/2
-3D/2
-5D/2
-7D/2
Example: Voice & Audio
Telephone voice CD Audio
l Ws = 4 kHz → 8000 l Ws = 22 kHertz → 44000
samples/sec samples/sec
l 8 bits/sample l 16 bits/sample
2
... -2D D 3D ... input
D 2D
V x(nT)
-V
2
Communication channel
Channel
t t
Aout
A(f) = Ain
1 j(f) = -2pft
1/ 2p
0
f
Wc f
Time-domain Characterization
h(t)
Channel
t
0 t
td
-0.4
l + s(t-T) 0 t
-2 T -1T 0 1T 2T 3T 4T
l - s(t-2T)
Composite waveform
-1
r(t) = s(t)+s(t-T)-s(t-2T) -s(t-2T)
r(t)
Samples at kT 2
r(0)=s(0)+s(-T)-s(-2T)=+1 1
r(T)=s(T)+s(0)-s(-T)=+1
0 t
r(2T)=s(2T)+s(T)-s(0)=-1 -2T -1T 0 1T 2T 3T 4T
times kT -2
Digital Transmission
Fundamentals
Fundamental Limits in Digital
Transmission
Digital Binary Signal
1 0 1 1 0 1
+A
0 T 2T 3T 4T 5T 6T
-A
1 0 1 1 0 1
+A
0 T 2T 3T 4T 5T t
-A
Received signal
Pulse Transmission Rate
l Objective: Maximize pulse rate through a channel,
that is, make T as small as possible
Channel
T t t
1.2
0.8
Composite waveform
0.6
0.4
0.2
0
-1 0 1 2 3
-0.2
-0.4
-0.6
Noise Limits Accuracy
l Receiver makes decision based on transmitted pulse level + noise
l Error rate depends on relative value of noise amplitude and spacing
between signal levels
l Large (positive or negative) noise values can cause wrong decision
l Noise level below impacts 8-level signaling more than 4-level signaling
+A +A
+5A/7
+A/3 +3A/7
+A/7
-A/7
-A/3 -3A/7
Typical noise
-5A/7
-A -A
Pr[X(t)>x0 ] =
1 x2 2 2
e Area under
2 graph
0 x0 x
Probability of Error
l Error occurs if noise value exceeds certain magnitude
l Prob. of large values drops quickly with Gaussian noise
l Target probability of error achieved by designing system so
separation between signal levels is appropriate relative to
average noise power
0 2 4 6 8
1.00E+00 d/2s
1.00E-01
1.00E-02
1.00E-03
1.00E-04
Pr[X(t)>d ] 1.00E-05
1.00E-06
1.00E-07
1.00E-08
1.00E-09
1.00E-10
1.00E-11
1.00E-12
Channel Noise affects Reliability
virtually error-free
signal noise signal + noise
Low
SNR
error-prone
Average Signal Power
SNR =
Average Noise Power