Communication Networks
EE357
By Dr Mir Yasir Umair
Assistant Professor, MCS, NUST
Digital Transmission
Methods to transmit data digitally
o Line coding
o Block coding
o Sampling
Digital Signals
Digital have a limited number of defined values
Use binary (0s and 1s) to encode information
Less affected by interference (noise); fewer errors
Line Coding
Process of converting binary data to a digital signal
10
11
DC Components
Residual direct-current (dc) components or zero frequencies are undesirable
o Some systems do not allow passage of a dc component (such as a transformer); may distort the signal and
create output errors
o DC component is extra energy residing on the line and is useless
When the voltage level in a digital signal is constant for a while, the spectrum
creates very low frequencies, called DC components, that present problems
for a system that cannot pass low frequencies
12
Self-Synchronization
Digital signal includes timing information in the data being transmitted to
prevent misinterpretation
Lack of synchronization
13
14
Unipolar
Simplest method; inexpensive
Provides a background/base to the
developed techniques
Uses only one voltage level
Almost obsolete
Polarity (+ or -) is usually assigned to binary 1;a 0 is represented by zero
voltage
15
Unipolar
Potential problems:
o DC component
o Lack of synchronization
16
Polar
Uses two voltage levels, one positive and one negative
Alleviates DC component
Variations
o
o
o
o
17
NRZ-I (NRZ-Invert)
o Inversion of voltage represents a 1 bit
o 0 bit represented by no change
o Allows for synchronization
18
19
20
RZ Encoding
21
RZ Encoding
Disadvantage
o Requires two signal changes to encode each bit; more bandwidth necessary
22
Manchester
Uses an inversion at the middle of each bit interval for both synchronization
and bit representation
Negative-to-positive represents binary 1
Positive-to-negative represents binary 0
Achieves same level of synchronization with only two levels of amplitude
23
Manchester Encoding
24
Differential Manchester
Inversion at middle of bit interval is used for synchronization
Presence or absence of additional transition at beginning of interval identifies
the bit
Transition means binary 0; no transition means 1
Requires two signal changes to represent binary 0 but only one to represent 1
25
Differential Manchester
26
Bipolar Encoding
27
Bipolar AMI
Neutral, zero voltage represents binary 0
Binary 1s represented by alternating positive and negative voltages
28
Other Schemes
2B1Q (two binary, one quaternary) uses four voltage levels
o One pulse can represent 2 bits; more efficient
29
Other Schemes
MLT-3 (multi-line transmission, three level) similar to NRZ-I using three
levels of signals; signal transitions occur at beginning of 1 bit, no transition at
beginning of 0
30
Block Coding
Coding method to ensure synchronization and detection of errors
Three steps: division, substitution, and line coding
31
Steps in Transformation
Step 1
Step 2
Step 3
32
Transformation Steps
Step 1: bit stream is divided into groups of m bits
Step 2: substitute an m-bit code for an n-bit group
o Codes with no more than three consecutive 0s or 1s are used to achieve synchronization
o Since only a subset of blocks are used, if one or more bits are changed and an invalid code is received, a receiver
can easily detect the error
33
34
35
4B/5B encoding
Data
Code
Data
Code
0000
11110
1000
10010
0001
01001
1001
10011
0010
10100
1010
10110
0011
10101
1011
10111
0100
01010
1100
11010
0101
01011
1101
11011
0110
01110
1110
11100
0111
01111
1111
11101
36
Code
Q (Quiet)
00000
I (Idle)
11111
H (Halt)
00100
J (start delimiter)
11000
K (start delimiter)
T (end delimiter)
10001
01101
S (Set)
R (Reset)
11001
00111
37
38
Sampling
Analog data must often be converted to digital format (ex: long-distance
services, audio)
39
40
Note:
Pulse amplitude modulation has some applications,
but it is not used by itself in data communication.
However, it is the first step in another very popular
conversion method called
pulse code modulation.
41
42
43
44
45
46
Note:
According to the Nyquist theorem, the sampling rate
must be at least 2 times the highest frequency.
47
48
Analog Transmission
PART II
Digital-to-analog conversion
Note
Bit rate is the number of bits per second. Baud rate is the number of
signal
elements per second.
In the analog transmission of digital data, the baud rate is less than
or equal to the bit rate.
5.52
1
0
QPSK
But phase shift keying is more stable than either amplitude
shift keying or frequency shift keying.
QPSK
QPSK
Note
5.60
QAM
Combination of ASK and PSK so that a maximum contrast between each
signal unit (bit, dibit, tribit, and so on) is achieved
x number of variations in phase and y variations in amplitude
Number of phase shifts is always larger than number of amplitude shifts due
to amplitude susceptibility to noise
QAM is therefore less susceptible to noise than ASK
Same bandwidth is required for ASK and PSK
16 QAM constellation
16 QAM constellation
16 QAM constellation
16 QAM constellation
16-QAM constellations
Amplitude Modulation
Frequency modulation
Phase modulation
Conclusion
DATA
SIGNAL
APPROACH
ANALOG
DIGITAL
ENCODING
DIGITAL
DIGITAL
ENCODING
ANALOG
ANALOG
MODULATION
DIGITAL
ANALOG
MODULATION
Credits
Data Communications and Networking, 3rd edition by Behrouz A. Forouzan. McGraw Hill Publishing, 2004
77