Digital Communications Principles: Based On Lecture Notes by Elza Erkip
Digital Communications Principles: Based On Lecture Notes by Elza Erkip
Principles
Based on Lecture Notes by Elza Erkip
Yao Wang
Polytechnic University, Brooklyn, NY11201
http://eeweb.poly.edu/~yao
Outline
• Input signal 0 0 1 1 0 1
• Modulated signal
M-ary ASK: each group of log2M bits generates a symbol. The number corresponding
to the symbol controls the amplitude of a sinusoid waveform. The number of cycles in
the sinusoid waveform depends on the carrier frequency.
(Also known as Pulse Amplitude Modulation or PAM)
Example: Given a sequence: 01001011…, what is the analog form resulting from 4-ASK?
Waveform:
8-ASK: 3 bits/symbol (000=-7, 001=-5, 011=--3, 010=-1, 110=1, 111=3, 101=5, 100=7)
“110” “111”
“101”
“100”
The mapping from bits to symbols are done so that adjacent symbols only vary by 1 bit, to
minimize the impact of transmission error (this is called Gray Coding)
©Yao Wang, 2006 EE3414: Digital Communications 7
Quadrature Amplitude Modulation
(QAM)
01=cos(ωct-3π/4) 00=cos(ωct-π/4)
cos(ωct)
11=cos(ωct-5π/4) 10=cos(ωct-7π/4)
Note this is equivalent to analog QAM if we interpret the first bit and second bit
coming from two pulse sequences!
©Yao Wang, 2006 EE3414: Digital Communications 8
Example of 4-QAM
Example: Given a sequence: 01001011…, what is the analog form resulting from 4-ASK?
Using the previous mapping, the analog waveform for the above sequence is
01 00 10 11
s0(t) s1(t)
A T
t t
T -A
– Or
1 0
x x
-A 0 A
x x x x x x x x
-7A -5A -3A -A A 3A 5A 7A
8-ASK
10 x A x 00
2A
A
x x
11 01
– 8-PSK (Phase Shift Keying)
x xx
x x
x xx
A
0 1 0 0 1 1 0 0 0 1 1
Noise n(t)
(
Pe = Q SNR )
SNR
©Yao Wang, 2006 EE3414: Digital Communications 18
Channel Error Detection
• Parity check can detect all single bit errors in a block (if fact all error
patterns with odd number of error bits)
• Cannot detect double errors or any even number of errors.
• Probability of k error bits in a n-bit frame (assuming bit error rate pb)
n k
pn (k ) = pb (1 − pb ) n −k
k
Ex : if n = 104 , pb = 10−6 (a good channel, e.g. ISDN)
1
pn (1) ≈ 10−2 , pn (2) ≈ 10−4 ≤ pn (1)
2
if n = 103 , pb = 10−3 (a not so good channel, e.g. wireless)
1
pn (1) ≈ 1, pn ( 2) ≈
2
General Method:
• The transmitter generates an t-bit check sequence number from a
given k-bit data frame such that the resulting (k+t)-bit frame is
divisible by some number
• The receiver divides the incoming frame by the same number
• If the result of the division does not leave a remainder, the receiver
assumes that there was no error
• If n is large, undetectable error patterns are very unlikely
• Widely used in data communications
2 level 4 level
• The channel capacity depends on the signal to noise ratio (SNR)
– SNR = signal energy / noise energy
• Shannel Channel Capacity
– C=B log2 (1+SNR) bits/second