Lecture Notes #7 - Part #2
Lecture Notes #7 - Part #2
Analog
Input
Signal
Sample
X
Quantize ADC
XQ
Encode
Digital (PCM) output Xk = 111 111 001 010 011 111 011
Line
Code
x(t) Digital signal (PCM signal)
5
Unipolar NRZ Line Code (On-Off Keying)
• The unipolar nonreturn-to-zero line code is defined by the
unipolar mapping:
A when X k 1
ak
0 when X k 0
– where Xk is the kth data bit.
– In addition, the pulse shape for unipolar NRZ is:
t
p (t ) NRZ pulse shape
Tb
– Where Tb is the bit period.
1 0 1 1 0 1
A x(t ) a
k
k p (t kTb )
1 0 1 1 0 1
A
x(t ) a
k
k p (t kTb )
Notes for Unipolar RZ: No timing problem with long strings of 1’s. However, strings of 0’s still
problem. Pulse of the half the duration of NRZ requires twice the bandwidth.
7
Unipolar RZ Line Code
Notes for Unipolar RZ: Pulse of the half the duration of NRZ requires twice the bandwidth.
t
p (t ) NRZ pulse shape
Tb
t
p(t ) RZ pulse shape
Tb / 2
2 times more BW 8
Polar Line Codes
• Polar line codes use the antipodal mapping:
A when X k 1
ak
A when X k 0
A 1 0 1 1 0 1
Polar NRZ
A
A
Polar RZ
A
Notes for Polar Line Code: Increases the distance between two amplitude levels. So more
accurate detection at the receiver side. However, more energy is required in comparison to
Unipolar line code. Because, there is a pulse to represent 0’s as well in Polar line code. In
Unipolar line code, there is no pulse transmitted.
9
Manchester Line Codes
• Manchester line codes use the antipodal mapping
and the following split-phase pulse shape:
p (t )
t Tb / 4 t Tb / 4
p (t )
b T / 2 b T / 2
1 0 1 1 0 1
A
A
Notes for Manchester Line Code: Easy synchronization (can handle symbol timing). More
complex generation. 10
Bipolar Line Codes
• With bipolar line codes a space is mapped to zero and a mark
is alternately mapped to -A and +A:
0 when X k 0
ak A when X k 1 and last mark A
A when X k 1 and last mark A
1 0 1 1 0 1
A
Bipolar (RZ)
A
Notes for Bipolar Line Code: It can handle symbol timing. More complex generation.
11
Multilevel Signaling
code word
+A
12
Multilevel Signaling
• We can increase the number of levels in the signal using a
Digital to Analog Converter (DAC)
data
13
Multilevel Signaling (Example)
• PCM: Sampling, quantizing and encoding
• Lets say after PCM each sample is represented with 8 bits
• Example binary code word for a sample can be 01001110
14
Multilevel Signaling (Example)
16
17
18
19