Professional Documents
Culture Documents
Sample
xs(t)
ADC
Quantize
xQ(t)
Fig. 1: Line coding
Encode
xk(t)
Line Code
x(t)
PCM signal
2
Line coding and decoding
3
Each line code is described by a ‘symbol mapping function’ ak and a
‘pulse shape’ p(t):
x(t ) ak p(t kTb )
k
Line code can be classified based on symbol mapping functions (ak) like,
5
According to above classification different types of line coding is shown
in fig. below.
1 1 0 1 0 0 1 BINARY DATA
A
(b) Polar NRZ 0 -A
A
(c) Unipolar RZ
Fig. Line coding
0
A
(d) Bipolar RZ
0
-A
7
Scrambling Technique
8
Bipolar With 8 Zeros Substitution (B8ZS)
• 8 consecutive bits of all zeros are replaced by 000VB0VB, where B is
called bipolar pulse i.e., nonzero level voltage in accordance with
AMI rule. The V in the sequence denotes violation i.e., nonzero
voltage breaks the AMI rule.
• If the preceding is positive, encode as 000 + - 0 - + again if the
preceding was negative, encode as 000 - + 0 + -
• Causes two violations of AMI code - intentional
• Unlikely to occur as a result of noise
• Receiver detects and interprets as octet of all zeros
9
Example-1
10
HDB3 (High Density Bipolar 3 Zeros)
There are four rules for HDB3 coding.
I. More than three consecutive zeros are not allowed to be present in the
waveform. For the fourth ‘0’ introduce a Violation bit.
II. Violation bit has to be of the same polarity as the previous mark.
13
THANKS