Chapter 5
Chapter 5
Assistant Professor
Information Engineering Technology
University of Technology Nowshera
Chapter 5
Digital Transmission
1
1/19/2023
Encoding Techniques
• Digital data, digital signal
NRZ, Manchester etc.
• Digital data, analog signal
ASK, FSK, PSK
• Analog data, digital signal
PCM, DM, ADPCM
• Analog data, analog signal
AM, FM, PM
2
1/19/2023
Line Coding
• Converting a string of 1’s and 0’s (digital data) into a
sequence of signals that denote the 1’s and 0’s.
• For example a high voltage level (+V) could
represent a “1” and a low voltage level (0 or -V)
could represent a “0”.
3
1/19/2023
4
1/19/2023
10
10
5
1/19/2023
11
11
Note
12
12
6
1/19/2023
Baseline Wandering
• In decoding a digital signal, the receiver calculates a
running average of the received signal power. This
average is called the baseline.
• The incoming signal power is evaluated against this
baseline to determine the value of the data element.
• A long string of Os or 1s can cause a drift in the
baseline (baseline wandering) and make it difficult
for the receiver to decode correctly
• A good line encoding scheme will prevent long runs
of fixed amplitude
13
13
DC Component
• DC components - When the voltage level in a digital
signal is constant for a while, the spectrum creates
very low frequencies (results of Fourier analysis).
These frequencies around zero, called DC
components.
• Most channels are band pass and may not support the
low frequencies.
• This will require the removal of the dc component of
a transmitted signal
14
14
7
1/19/2023
Self Synchronization
• Self synchronization - the clocks at the sender and the
receiver must have the same bit interval.
• If the receiver clock is faster or slower it will
misinterpret the incoming bit stream
15
15
Self Synchronization
• Example: 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 0.1
Extrabits = 1000 = 1
100
16
8
1/19/2023
Error Detection
• Error detection - errors occur during transmission due
to line impairments.
• Some codes are constructed such that when an error
occurs it can be detected.
• For example: a particular signal transition is not part
of the code. When it occurs, the receiver will know
that a symbol error has occurred
17
17
18
18
9
1/19/2023
Complexity
• Complexity - the more robust and resilient the code,
the more complex it is to implement and the price is
often paid in baud rate or required bandwidth
19
19
20
20
10
1/19/2023
Unipolar
• All signal levels are on one side of the time axis -
either above or below
• Scheme is prone to baseline wandering and DC
components. It has no synchronization or any error
detection. It is simple but costly in power
consumption.
21
21
Unipolar
22
22
11
1/19/2023
Polar Scheme
23
23
NRZ-Polar Scheme
• The voltages are on both sides of the time axis.
• Polar NRZ scheme can be implemented with two
voltages. E.g. +V for 1 and -V for 0.
• There are two versions:
– NRZ - Level (NRZ-L) - positive voltage for one symbol
and negative for the other
– NRZ - Inversion (NRZ-I) - the change or lack of change in
polarity determines the value of a symbol. E.g. a “1”
symbol inverts the polarity a “0” does not.
24
24
12
1/19/2023
NRZ-Polar Scheme
25
25
NRZ-L Example
• Draw graph of NRZ-L for following data streams assuming that the
last signal level has been positive.
a. 00000000
b. 11111111
c. 01010101
d. 00110011
26
26
13
1/19/2023
NRZ-I Example
• Draw graph of NRZ-I for following data streams assuming that the
last signal level has been positive.
a. 00000000
b. 11111111
c. 01010101
d. 00110011
27
NRZ-Polar Scheme
Note
28
28
14
1/19/2023
NRZ-Polar Scheme
Note
29
29
NRZ-Polar Scheme
• Example: A system is using NRZ-I to transfer 1-Mbps data.
What are the average signal rate and minimum bandwidth?
30
30
15
1/19/2023
RZ-Polar Scheme
• The Return to Zero (RZ) scheme uses three voltage
values. +, 0, -.
• Each symbol has a transition in the middle. Either
from high to zero or from low to zero.
• This scheme has more signal transitions (two per
symbol) and therefore requires a wider bandwidth.
• No DC components or baseline wandering.
• Self synchronization - transition indicates symbol
value.
• More complex as it uses three voltage level. It has no
error detection capability.
31
31
RZ-Polar Scheme
32
32
16
1/19/2023
Biphase-Polar Scheme
• Manchester coding consists of combining the NRZ-
L and RZ schemes.
– Every symbol has a level transition in the middle: from
high to low or low to high. Uses only two voltage levels.
• Differential Manchester coding consists of
combining the NRZ-I and RZ schemes.
– Every symbol has a level transition in the middle. But the
level at the beginning of the symbol is determined by the
symbol value. One symbol causes a level change the other
does not.
33
33
Biphase-Polar Scheme
34
34
17
1/19/2023
Biphase-Polar Scheme
35
35
Manchester Example
• Draw graph of Manchester scheme for following data streams
assuming that the last signal level has been positive.
a. 00000000
b. 11111111
c. 01010101
d. 00110011
36
36
18
1/19/2023
37
37
Biphase-Polar Scheme
Note
38
38
19
1/19/2023
Biphase-Polar Scheme
Note
39
39
Block Coding
• For a code to be capable of error detection, we need to add
redundancy, i.e., extra bits to the data bits.
• Synchronization also requires redundancy - transitions are
important in the signal flow and must occur frequently.
• Block coding is done in three steps: division, substitution and
combination.
• It is distinguished from multilevel coding by use of the slash -
xB/yB.
• The resulting bit stream prevents certain bit combinations that
when used with line encoding would result in DC components
or poor sync. quality
40
40
20
1/19/2023
Block Coding
Note
41
41
Block Coding
42
42
21
1/19/2023
Block Coding
43
43
Block Coding
44
44
22
1/19/2023
Block Coding
• Substitution in 4B/5B
45
45
Block Coding
• Redundancy:
– A 4 bit data word can have 24 = 16 combinations.
– A 5 bit word can have 25=32 combinations.
– We therefore have 32 - 16 = 16 extra words.
– Some of the extra words are used for control/signaling
purposes
46
46
23
1/19/2023
Block Coding
• 8B/10B:
47
47
Block Coding
• 8B/10B: The 8B/10B block code adds more
redundant bits and can thereby choose code words
that would prevent a long run of a voltage level that
would cause DC components
48
48
24
1/19/2023
Analog-to-Digital Conversion
• A digital signal is superior to an analog signal because
it is more robust to noise and can easily be
recovered, corrected and amplified. For this reason,
the tendency today is to change an analog signal to
digital data. In this section we describe two
techniques, pulse code modulation and delta
modulation.
49
49
50
25
1/19/2023
51
51
52
52
26
1/19/2023
53
53
Note
54
54
27
1/19/2023
55
55
56
56
28
1/19/2023
57
57
58
58
29
1/19/2023
59
59
60
60
30
1/19/2023
-0.28
61
61
62
62
31
1/19/2023
• Bit rate = sampling rate x number of bits per sample = 8000 x 8 = 64,000 bps = 64
Kbps
63
63
Transmission Modes
• The transmission of binary data across a link can be
accomplished in either parallel or serial mode. In
parallel mode, multiple bits are sent with each clock
tick. In serial mode, 1 bit is sent with each clock tick.
While there is only one way to send parallel data,
there are three subclasses of serial transmission:
asynchronous, synchronous, and isochronous
64
64
32
1/19/2023
Transmission Modes
65
65
Transmission Modes
• Parallel Transmission
66
66
33
1/19/2023
Transmission Modes
• Serial Transmission
67
67
Transmission Modes
Serial Transmission
• Types of Serial Transmission:
– There are three types of serial data transmission methods
based on bit synchronization and time control.
1. Asynchronous Transmission
2. Synchronous Transmission
3. Isochronous Transmission
68
68
34
1/19/2023
Transmission Modes
1) Asynchronous Transmission
• In this transmission method one byte data or a
character is sent from one device to another with
uneven time interval between two character transfer.
• No synchronization is required between the
transmitter and receiver devices. Sender can directly
transmit data and the receiver can receive that data.
69
69
Transmission Modes
Note
70
70
35
1/19/2023
Transmission Modes
• Asynchronous Transmission
Transmission Modes
2) Synchronous Transmission
– In this transmission method data is sent block (chunks or
frames) by block from one device to another with even
time interval between two block transfer.
– Efficiency is comparatively very high.
– Speed of data transmission is very high.
– No need to transmit start and stop bit.
– The bits are usually sent as bytes and many bytes are
grouped in a frame.
– A frame is identified with a start and an end byte
72
72
36
1/19/2023
Transmission Modes
• Synchronous Transmission
73
Transmission Modes
3) Isochronous Transmission:
– Isochronous transmission is similar to synchronous
transmission but the time interval between blocks
is almost zero.
– In isochronous transmission we cannot have
uneven gaps between frames.
• In real-time audio and video, in which uneven delays
between frames are not acceptable, synchronous
transmission fails. For example, TV images are
broadcast at the rate of 30 images per second; they
must be viewed at the same rate 74
74
37