Professional Documents
Culture Documents
Data Communications Week 4
Data Communications Week 4
415E
DATA
COMMUNICATIONS
3
Data
and
Computer
CommunicaKons
Ninth
EdiKon
by
William
Stallings
•Amplitude
•Phase
•Frequency
Signal
Encoding
Techniques
Data
Encoder
or
Signal
Decoder
EsKmated
Modulator
Demodulator
Data
Digital
or
Digital
or
Digital
or
Analog
Analog
Analog
Pros
• synchronizaKon
on
midbit
transiKon
(self
clocking)
• has
no
dc
component
• has
error
detecKon
Cons
• at
least
one
transiKon
per
bit
Kme
and
may
have
two
• maximum
modulaKon
rate
is
twice
NRZ
• requires
more
bandwidth
Spectral
Density
of
Various
Signal
Encoding
Schemes
R=9600
bps
Most
energy
is
located
betwen
0-‐4800
Hz
Stream
of
Binary
Ones
at
1Mbps
34
ModulaKon
Techniques
Digital
CommunicaKon
Problem
• Elements
of
digital
communicaKon
system
transmijer
(phase
shiq
keying
modulaKon)
message
transmijed
+
∑
channel
output
signal
m(t) ×
(received
signal)
x(t)
signal
s(t)
0→−1 +
1 → +
1 channel
for duration T carrier
wave
noise
w(t)
Accos(2πfc t),
where fc=1/T
Binary MulKlevel
Example:
For
M=16,
find
the
data
rate
when
the
signaling
speed
is
2400?
37
M-‐ary
Signals
• Symbol
(with
duraKon
T)
mi
∈
alphabet
{m1,m2,…,
mM}
T=LTb,
L=log2(M)
• (ex)
Quaternary
:
alphabet
{
00,
01,
10,
11}
• -‐
Prior
probability
values
{
P(m1),
P(m2),
…,
P(mM)
}
1
• Equally
likely
p =
i P ( m )i=
M
for all i
M
Pe = ∑ P(mˆ ≠ mi )P(mi )
i =1
• Receiver
Types
– Phase locked, coherent detection, coherent RX
39
Binary
Phase
Shiq
Keying
Ø phase
of
carrier
signal
is
shiqed
to
represent
data
Ø binary
PSK
#% Acos(2πf t ) 0
l two
phases
represent
two
s(t) = $ c
binary
digits
%& Acos(2πf c t + π ) 1
Ø differenKal
PSK
l phase
shiqed
relaKve
to
previous
transmission
rather
than
some
reference
€ signal
41
Power
Spectra
42
DifferenKal
-‐
PSK
0 0 1 0 0 1 1 1 1 0 0
DPSK
Q1.
If
a
bit
sequence
of
0
0
0
0
0
1
1
1
0
0
0
is
received,
what
are
the
bit
esKmates?
Q2.
What
is
the
bit
error
rate?
44
DPSK
NO
ERROR
Diff.
Decoder
Input
=Diff.
Encoder
Output
InformaKon: 0 0 1 1 0 1 0 0 0 1 0
49
Coherent
QPSK
Receiver
50
Decision
Boundaries
51
Amplitude
Shiq
Keying
• Two
binary
values
are
represented
by
two
different
amplitudes
of
the
carrier
frequency.
– Commonly
one
of
the
amplitudes
is
zero.
– The
resulKng
signal
is:
!# A cos 2π f t 1
s(t) = "
( c)
#$ 0 0
52
Amplitude
Shiq
Keying
Ø suscepKble
to
sudden
gain
changes
–
WHY?
Ø inefficient
Ø used
for:
l up
to
1200bps
on
voice
grade
lines
l very
high
speeds
over
opKcal
fiber
Binary
Frequency
Shiq
Keying
! A cos 2π f t 1
# ( 1)
s(t) = "
#$ A cos ( 2π f2t ) 0
Ø less
suscepKble
to
gain
changes
than
ASK
–
WHY?
Ø used
for:
l up
to
1200bps
on
voice
grade
lines
l high
frequency
radio
l even
higher
frequency
on
LANs
using
coaxial
cable
FSK
Transmission
Bandwidth
Efficiency
for
Digital-‐to-‐
Analog
Encoding
Schemes
⇒ R / BT
Bandwidth
efficiency
(unit:
b/s/Hz)
1+ r
M − PSK ⇒ BT = R
log 2 M
M − FSK ⇒ BT =
(1+ r ) M
R
log 2 M
RelaKon
between
Eb/N0
and
SNR
57
EXAMPLE
58
Performance
of
Digital
to
Analog
ModulaKon
Schemes
in
bandwidth
presence
bit
error
rate
of
ASK/PSK
of
noise:
PSK
and
QPSK
are
bandwidth
directly
about
3dB
relates
to
bit
rate
superior
to
ASK
and
FSK
66
Pulse
Code
ModulaKon
(PCM)
Ø strictly
have
analog
samples
l Pulse
Amplitude
ModulaKon
(PAM)
Ø assign
each
a
digital
value
PCM
Example
QuanKzaKon
error:
SNR
(dB)
=
20log10((2n)+1.76
dB
=
6.02n+1.76
dB
Non-‐Linear
Coding
Typical
Companding
FuncKons
Efficiency
of
PCM
• Good
voice
reproducKon
via
PCM
can
be
achieved
with
128
quanKzaKon
levels.
– Each
amplitude
level
is
represented
by
how
many
bits?
– What
is
the
minimum
sampling
rate?
– What
is
the
data
rate?
– What
is
the
bandwith
required
to
transmit
this
data
rate?
– Is
PCM
efficient?
72
Delta
ModulaKon
(DM)
Ø analog
input
is
approximated
by
a
staircase
funcKon
l can
move
up
or
down
one
level
(δ)
at
each
sample
interval
Ø has
binary
behavior
l funcKon
only
moves
up
or
down
at
each
sample
interval
l hence
can
encode
each
sample
as
single
bit
l 1
for
up
or
0
for
down
Delta
ModulaKon
Example
Delta
ModulaKon
OperaKon
PCM
verses
Delta
ModulaKon
Ø DM
has
simplicity
compared
to
PCM
but
has
worse
SNR
Ø issue
of
bandwidth
used
l for
good
voice
reproducKon
with
PCM:
• want
128
levels
(7
bit)
&
voice
bandwidth
4khz
• need
8000
x
7
=
56kbps
(Required
Bw?
Efficiency
???)
Ø data
compression
can
improve
on
this
Ø sKll
growing
demand
for
digital
signals
l use
of
repeaters,
TDM,
efficient
switching
Ø PCM
preferred
to
DM
for
analog
signals
Signal
Encoding
Techniques
⎛ na2 ⎞
Pt = Pc ⎜1 + ⎟
⎝ 2 ⎠
Total
transmijed
power
80
Angle
ModulaKon
Types
s(t ) = Ac cos(2π fc t + φ (t ))
83