Digital to Digital
Conversion
Digital-to-Digital Conversion
n Representation of digital data using digital
signal
n Three techniques are used:
q Line coding
q Block coding
q Scrambling
Line Coding
n Convert a sequence of bits into a digital
signal.
Line Coding Schemes
Unipolar NRZ
Ø If the bit is 1, signal level remains high
Ø If the bit is 0, signal level remains zero
Unipolar NRZ
01011011
Polar RZ
Ø If the bit is 1, half of the bit duration it
remains high, later half of the bit duration
remains 0
Ø If the bit is 0, half of the bit duration it
remains low, later half of the bit duration
remains 0
Polar RZ
01001
Polar NRZ-L
1 0 1 1 0 (-V for 0 and +V for 1)
Polar Biphase (Manchester)
Combination of RZ and NRZ-L
Ø If the bit is 1, half of the bit duration it
remains low, later half of the bit duration
remains high
-V → +V
Ø If the bit is 0, half of the bit duration it
remains high, later half of the bit duration
remains low
+V → -V
Polar Biphase (Manchester)
0 1 0 0 1 1
Polar NRZ-I
0 1 0 0 1 1 1 0 (Invert if found next bit is 1)
Polar Biphase (Differential Manchester)
Combination of RZ and NRZ-I
Ø There is always a transition at the middle of
the bit.
Ø If the next bit is 1, no need to invert the
direction.
Ø If the next bit is 0, need to invert the direction.
Polar Biphase (Differential Manchester)
0 1 0 0 1 1
Bipolar AMI (Alternate Mark Inversion)
Ø If the next bit is 1, the voltage will alternate between +v
and –v
Ø If the next bit is 0, it will have a 0 voltage.
0 1 0 0 1 0
Bipolar Pseudoternary
Opposite of AMI
0 1 0 0 1 0
Multitransition MLT-3 (Multiline Transmission)
n Till now all the linear encoding techniques
followed two rules
n If signal have more than two levels then
encoding technique can have more than two
rules
n MLT-3 has three levels (+V,0,-V) and three
transition rules
Multitransition MLT-3 (Multiline Transmission)
Transition Rules:
1. If next bit is 0, no transition
2. If next bit is 1 and current level is not 0, the next
level is 0
3. If next bit is 1 and current level is 0, the next
level is the opposite of the last nonzero level
Multitransition MLT-3 (Multiline Transmission)
0 1 0 1 1 0 1 1
Analog to Digital
Conversion
Analog-to-Digital Conversion
n Convert analog signal into digital data
n Three techniques are used:
q Pulse Code Modulation (PCM)
q Delta modulation
q Delta PCM
Delta Modulation
Ø If the pulse at time tn+1 is higher than the pulse at time tn, next bit is 1
Ø If the pulse at time tn+1 is higher than the pulse at time tn, next bit is 0
Delta Modulation
Delta Demodulation
Thank You…