Chapter 4 - Digital Transmission
Chapter 4 - Digital Transmission
Solution
We assume that the average value of c is 1/2 . The baud
rate is then
Bandwidth
} A digital signal is non-periodic with an infinite signal (From
previous chapter)
Solution
A signal with L levels actually can carry log2L bits per
level. If each level corresponds to one signal element and
we assume the average case (c = 1/2), then we have
Baseline Wandering
} Baseline wandering – While decoding a digital signal,
the receiver calculates a running average of the
received signal power, which is called the baseline and
this is used to determine the value of the incoming
data elements.
} If the incoming signal does not vary over a long
period of time (i.e. a long string of 0s or 1s), it causes
a drift in the baseline (baseline wandering) and makes
it difficult for the receiver to decode correctly.
} A good line encoding scheme needs to prevent
baseline wandering.
DC Components
} When the voltage level in a digital signal is constant
for a while, the spectrum creates very low
frequencies. These frequencies around zero, called DC
(Direct Current) components.
} Creates problem for a system that cannot pass low
frequencies.
} Leaves extra (useless) energy on the line.
} DC component means 0/1 parity that causes baseline
wandering.
} DC components in signals are not desirable and we
need a scheme with no DC component.
Self Synchronization
} Self synchronization – to correctly interpret the signals
received from the sender, the receiver’s bit intervals must
correspond exactly to the sender’s bit intervals.
} If the receiver clock is faster or slower it will misinterpret the
incoming bit stream.
} A self-synchronizing digital signal includes timing information in
the data being transmitted. This can be achieved if there are
transitions in the signal that alert the receiver to the beginning,
middle or end of the pulse.
Effect of lack of Synchronization
Other Encoding Considerations
} Built-in Error Detection - errors occur during transmission
due to line impairments.
} Immunity to Noise and Interference - there are line
encoding techniques that make the transmitted signal
“immune” to noise and interference.
} Complexity
Line Coding Schemes
Line Coding Methods
} Unipolar
} Uses only one voltage level (one side of time axis)
} Polar
} Uses two voltage levels (negative and positive)
} e.g., NRZ, RZ, Manchester, Differential Manchester
} Bipolar
} Uses three voltage levels (+, 0, and –) for data bits
15
Unipolar
} Simplest form of digital encoding
ðRarely used
} Only one polarity of voltage is used
} E.g., polarity assigned to 1
0 1 0 0 1 1 0 0
t
Polar
} Two voltage levels (+,-) represent data bits
} Most popular four
} Nonreturn-to-Zero (NRZ)
} Return-to-Zero (RZ)
} Manchester
} Differential Manchester
NRZ Encoding
} Nonreturn to Zero
} NRZ-L (NRZ-Level):
Signal level depends on bit value
0 1 0 0 1 1 1 0
0 1 0 0 1 1 0 0
t
Polar Biphase: Manchester Encoding
} RZ and NRZ-L are combined.
} Uses an inversion at the middle of each bit
} For bit representation
} For synchronization
0 1 0 0 1 1 0 1 =0
t
=1
Polar Biphase:
Differential Manchester Encoding
} RZ and NRZ-I are combined.
} The inversion on the middle of each bit is only for
synchronization
} Transition at the beginning of each bit tells the value
0 1 0 0 1 1 0 1
4.27
Multilevel Schemes
4.28
Representing Multilevel Codes
4.29
2B1Q (two binary, 1 quaternary)
Bit sequence Voltage level 00 11 01 10 01 10 11 00
+3
+1
00 -3
01 -1 t
10 +3 -1
11 +1 -3
4.41
8B/10B
4.43
AMI used with Scrambling
B8ZS
} B8ZS (Bipolar with 8-zero substitution) substitutes eight
consecutive zeros with 000VB0VB.
} The V stands for violation, it violates the AMI rule of
encoding; B stands for bipolar, it implements the AMI bipolar
encoding rule.
4.45
HDB3
} HDB3 (High density bipolar 3-zero) substitutes four consecutive
zeros with 000V or B00V depending on the number of nonzero
pulses after the last substitution.
} There are two rules :
} If the number of non zero pulses is odd the substitution is 000V
to make total number of non zero pulses even.
} If number of non zero pulses is even the substitution is B00V to
make total number of non zero pulses even.
4.46
HDB3
} If the number of non zero pulses is odd the substitution is 000V to
make total number of non zero pulses even.
} If number of non zero pulses is even the substitution is B00V to
make total number of non zero pulses even.
4.47
Analog-to-Digital Conversion
} A digital signal is superior to an analog signal. The
tendency today is to change an analog signal to digital
data.
} Two techniques of analog signal to digital data are:
} Pulse Code Modulation (PCM)
} Delta Modulation (DM)
4.48
Pulse Code Modulation (PCM)
} The most common technique to change an analog
signal to digital data (digitization) is called PCM.
} A PCM encoder has three processes:
1.The analog signal is sampled.
2.The sampled signal is quantized.
3. The quantized values are encoded as streams of
bits.
4.49
Components of PCM encoder
50
Sampling
} The analog signal is sampled every Ts, where Ts is the
sample interval or period.
} The inverse of the sampling interval is called the
sampling rate or sampling frequency and denoted
by fs, where fs = 1/Ts.
} The sampling process is sometimes referred to as
Pulse Amplitude Modulation (PAM).
4.51
PAM
} Pulse Amplitude Modulation (PAM)
} Converts an analog signal into a series of pulses by sampling
PAM
4.52
Different Sampling Methods
4.53
Sampling Rate
} According to the Nyquist theorem, the sampling
rate must be at least 2 times the highest frequency
contained in the signal.
} We can sample a signal only if the signal is band-
limited. In other words, a signal with an infinite
bandwidth cannot be sampled.
} The sampling rate must be at least 2 times the
highest frequency, not the bandwidth.
} If the analog signal is low-pass, the bandwidth and the
highest frequency are the same value. If the analog
signal is bandpass, the bandwidth value is lower than
the value of the maximum frequency.
4.54
Nyquist Sampling Rate for low-pass
and band-pass
Home work
} Example 4.6 – 4.11
Quantization
} Quantization is the process of converting, or digitizing,
the almost enormously variable amplitude of an analog
waveform to one of a finite series of discrete levels.
} The steps of the quantization process are:
1. We assume that the original analog signal has instantaneous
amplitudes between Vmin and Vmax.
2. We divide the range into L zones, each of height ∆
(delta).
Vmax ! Vmin
∆=
"
3. We assign quantized values of 0 to L-1 to the midpoint
of each zone.
4. We approximate the value of the sample amplitude to
the quantized values.
Quantization
Vmax = +20V
Vmin = -20V
L=8
∆ = 5V
Normalized value =
Actual amplitude/ ∆
Quantization Levels
} The choice of L depends on the range of the
amplitudes of the analog signal and how accurately we
need to recover the signal.
} If the amplitude of a signal fluctuates between two
values only, we need only two levels.
} If the signal has many amplitudes, we need more
quantization levels.
Quantization Error and Bit rate
} The value of the error for any sample is less than ∆/2
- ∆/2 ≤ error ≤ ∆/2
} Speed
} Costly; requires n
communication lines
} unsuitable for long
distance transmission.
Serial Transmission
} A serial communication device transfers data in bits in the
same direction.
} In serial communication a word of eight bits in length is sent
sequentially, and is received after all eight bits are sent, one at
a time.