Professional Documents
Culture Documents
Digital
Transmission
Dr.Rekha.K.S
Assoc.Prof, Dept of CS&E
NIE,Mysuru
UNIT 2
Digital Transmission: Digital-to-Digital,
Analog-to-Digital conversions.
Transmission Modes. Analog
transmission: Digital to Analog conversion
SLE: Delta Modulation
8 Hours
Co2 : Illustrate the Digital-to-Digital,
Analog-to-Analog and Digital-to-Analog
conversion techniques
Chapter 4: Outline
4.8
Signal elements versus data elements
4.10
Data Rate versus Signal Rate
baud
Solution
We assume that the average value of c is 1/2. The baud rate
is then
4.13
Baseline Wandering
In decoding a digital signal , the receiver calculates a
running average of the received signal power. The average
is called Baseline.
A long string of 0s or 1s can cause a drift in the
baseline(baseline wandering) and make it difficult for the
receiver to decode correctly.
4.14
DC components
•When voltage level in a digital signal is constant for a
while, the spectrum creates very low frequencies
•DC components means (0/1) parity that can cause base line
wandering.
Self synchronization
• To correctly interpret the signals received from the sender,
the receivers bit intervals correspond exactly to the sender
bit interval.
•If the receiver clock is faster or slower, the bit intervals are
not matched and the receiver might misinterpret the signals.
4.15
Self synchronization
4.16
Figure 4.3: Effect of lack of synchronization
4.17
Example 4.3
In a digital transmission, the receiver clock is 0.1 percent
faster than the sender clock. How many extra bits per second
does the receiver receive if the data rate is 1 kbps? How
many if the data rate is 1 Mbps?
Solution
At 1 kbps, the receiver receives 1001 bps instead of 1000
bps.
4.18
4.4.2 Line Coding Schemes
4.19
Figure 4.4: Line coding scheme
4.20
I. Unipolar Scheme
In a Unipolar scheme, all the signal levels
are on one side of the time axis, either above
or below.
NRZ(Non-Return-to-Zero)
• a unipolar scheme is designed as non-
return-to-zero scheme
•The positive voltage defines bit 1 and zero
voltage defines bit 0.
•NRZ-because the signal does not return to
zero at the middle of the bit.
4.21
Figure 4.5: Unipolar NRZ scheme
4.22
II. Polar schemes
In polar schemes the voltages are on both sides
of the time axis.
The voltage level for 0 can be positive and
voltage level for 1 can be negative
4.24
Return to zero(RZ)
In NRZ encoding the sender and receiver clock are not
synchronized.
Return-to-zero provides solution to NRZ encoding
Disadvantage
•Rz requires two signal changes to encode and bit and
occupies the greater bandwidth.
•RZ is complex as it uses 3 levels of voltage
4.26
Figure 4.7: Polar schemes (RZ)
4.27
Biphase: Manchester and differential
Manchester
4.28
4.29
Differential Manchester(RZ and NRZ-I)
4.30
4.31
Figure 4.8: Polar biphase (comparision b/n Manchester and Differential
Manchester
4.32
III. BIPOLAR SCHEMES
3 voltage levels postive,negative and zero
AMI
•A common bipolar encoding scheme is called bipolar
alternate mark inversion.
4.35
4.36
Figure 4.9: Bipolar schemes: AMI and pseudoternary(comparision)
4.37
IV. Multilevel Schemes
•pattern(2 types of data element 0 and 1
4.38
2B1Q(two binary, one quaternary)
4.39
Figure 4.10: Multilevel: 2B1Q
Rules: 00 -3
01 -1
10 +3
11 +1
4.40
8B6T(eight binary, six ternary)
The idea is to encode a pattern of 8 bits as
pattern of six signal elements where the
signal has three levels.
We can have 2^8 = 256 data patters
3^6=729 signal patterns.
There are 729-256=473 redundant signal
elements that provide synchronization and
error detection
Signal can have weight of 0 or +1 DC
values.
4.41
8B6T
The 3 possible signal levels are -,0 and +
For example the bit pattern
0000 0000 (0x00) uses the code +-00+-
0000 1110 (0x)E) uses the code -+0-0+.
4.42
There are 36 = 729 possible patterns (symbols).
The rules for the symbols are that there must be at least
two voltage transitions (to maintain clock synchronisation)
and the average DC voltage must be zero (this is called 'DC
balance' that is the overall DC voltage is summed up to 0v,
the +V and -V transitions are evenly balanced either side of
0V) which stops any polarisation on the cable.
to make t-he whole stream DC balance, the sender keeps
track of the weight.
If two groups of weight 1 are encountered one after
another, the first one is sent as it is, while the next one is
totally inverted to give a weight of -1
4.43
Figure 4.11: Multilevel: 8B6T
4.44
8B6T
The first bit pattern 00010001 is encoded
as -0-0++ with weight 0
The second bit pattern 01010011 is
encoded as -+-++0 with weight +1
The third bit pattern 010110000 should be
encoded as +--+0+ with weight +1
4.45
To create DC balance last bit pattern is
inverted using weight -1 by sender.
4.46
Drawbacks or disadvantages of 8B6T line
coding
4.47
4.48
Figure 4.12: Multilevel: 4D-PAMS scheme
4.49
V. Multitransition-MLT-3
The multiline transmissions, three level
scheme uses 3 levels(+V,0 and –V)
3 transition rules
1. If the next bit is 0, there is no transition
2. If the next bit is 1, and the current level is
not 0, the next level is 0.
3. If the next bit is 1 and the current level is
0, the next level is the opposite of the last
non zero level
4.50
In worst case +V 0 -V 0 is repeated for 4 bits
4.52
Table 4.1: Summary of line coding schemes
4.53
4.54
igure 4.14 Block coding concept
4.55
Figure 4.14: Block coding concept
4.56
4.57
4.58
Figure 4.15: Using block coding 4B/5B with NRZ-I line coding scheme
4.59
Table 4.2: 4B/5B mapping codes
4.60
Figure 4.16: Substitution in 4B/5B block coding
4.61
4.62
4.63
Figure 4.17: 8B/10B block encoding
4.64
scrambling
Biphase schemes that are suitable for dedicated links between stations in a LAN are not
suitable for long-distance communication because of their wide bandwidth requirement.
The combination of block coding and NRZ line coding is not suitable for long-distance
encoding either, because of the DC component.
Bipolar AMI encoding, on the other hand, has a narrow bandwidth and does not create a
DC component. However, a long sequence of 0s upsets the synchronization. If we can find
a way to avoid a long sequence of 0s in the original stream, we can use bipolar AMI for
long distances. One solution is called scrambling.
Note that scrambling, as opposed to block coding, is done at the same time as encoding.
The system needs to insert the required pulses based on the defined scrambling rules.
Two common scrambling techniques are B8ZS and HDB3.
4.65
Figure 4.18: AMI used with scrambling
4.66
B8ZS scrambling technique
Bipolar with 8-zero substitution (B8ZS) is commonly used in North
America. In this technique, eight consecutive zero-level voltages
are replaced by the sequence 000V B0VB.
Note that the scrambling in this case does not change the bit rate.
Also, the technique balances the positive and negative voltage levels
(two positives and two negatives).
4.67
Figure 4.19: Two cases of B8ZS scrambling technique
+ ve 000+-0-+
- ve 000-+0+-
In this technique the letter V (violation) or B (bipolar) here is relative. The V means the same polarity as
the polarity of the previous nonzero pulse and B means the polarity opposite to the polarity of the
In this technique, which is more conservative than B8ZS, four consecutive zero-level
voltages are replaced with a sequence of 000V or B00V.
The reason for two different substitutions is to maintain the even number of nonzero
pulses after each substitution. The two rules can be stated as follows:
1) If the number of nonzero pulses after the last substitution is odd, the substitution pattern
will be 000V, which makes the total number of nonzero pulses even.
1) If the number of nonzero pulses after the last substitution is even, the substitution pattern
will be B00V, which makes the total number of nonzero pulses even.
4.69
Figure 4.20: Different situations in HDB3 scrambling technique
No of 1s since last substitution
Last Pulse ODD EVEN
- ve 000- +00+
+ve 000+ -00-
4.72
Figure 4.21: Components of PCM encoder
4.73
Figure 4.22: Three different sampling methods for PCM
4.74
Example 4.6
For an intuitive example of the Nyquist theorem, let us
sample a simple sine wave at three sampling rates: fs = 4f (2
times the Nyquist rate), fs = 2f (Nyquist rate), and fs = f
(one-half the Nyquist rate). Figure 4.24 shows the sampling
and the subsequent recovery of the signal
4.75
Figure 4.24: Recovery of a sine wave with different sampling rates.
4.76
Figure 4.25: Sampling of clock with only one hand.
4.77
Figure 4.27: Components of a PCM decoder
4.78
4.2.2 Delta Modulation (DM)
4.79
Figure 4.28: The process of delta modulation
4.80
Figure 4.29: Delta modulation components
4.81
Figure 4.30: Delta demodulation components
4.82
4-3 TRANSMISSION MODES
4.83
Figure 4.31: Data transmission modes
Parallel Transmission
Serial Transmission
4.84
4.3.1 Parallel Transmission
4.85
Figure 4.32: Parallel transmission
4.86
4.3.2 Serial Transmission
4.87
Figure 4.33: Serial transmission
4.88
Asynchronous Transmission
Asynchronous at the byte level
Without synchronization, the receiver cannot use timing to predict when the next
group will arrive. To alert the receiver to the arrival of a new group, therefore,
an extra bit is added to the beginning of each byte.
4.89
Figure 4.34: Asynchronous transmission
4.90
Synchronous transmission
In synchronous transmission, the bit stream is combined into longer “frames,” which
may contain multiple bytes.
Each byte, however, is introduced onto the transmission link without a gap between it
and the next one.
4.91
Figure 4.35: Synchronous transmission
Direction of flow
Frame Frame Frame
4.92