Professional Documents
Culture Documents
L8 Line Code Schemes
L8 Line Code Schemes
L8 Line Code Schemes
Steps in Transformation
Data Code
Q (Quiet) 00000
I (Idle) 11111
H (Halt) 00100 4B/5B coding is used in the
optical fiber transmission
J (start 11000 system (FDDI)
delimiter)
K (start 10001
delimiter)
T (end delimiter) 01101
S (Set) 11001
R (Reset) 00111
4.3 Sampling
PCM
From analog signal to PCM digital code
According to the Nyquist theorem, the
sampling rate must be at least 2 times the
highest frequency.
Solution
We need 4 bits; 1 bit for the sign and 3 bits for the value.
A 3-bit value can represent 23 = 8 levels (000 to 111),
which is more than what we need. A 2-bit value is not
enough since 22 = 4. A 4-bit value is too much because
24 = 16.
Example 6
We want to digitize the human voice. What is the bit rate,
assuming 8 bits per sample?
Solution
In synchronous transmission,
we send bits one after another without start/stop bits or gaps.
It is the responsibility of the receiver to group the bits.
S = (N × 1/r) baud
Bit rate is the number of bits per second. Baud rate is the number of
signal units per second. Baud rate is less than or equal to the bit rate.
Example 1
An analog signal carries 4 bits in each signal unit. If 1000
signal units are sent per second, find the baud rate and
the bit rate
Solution
S = Baud rate = 1000 bauds per second (baud/s)
Bit rate =N = S × r = 1000 x 4 = 4000 bps
Modulation of Digital Data
Digital-to-Analog Conversion
Amplitude Shift Keying (ASK)
Frequency Shift Keying (FSK)
Phase Shift Keying (PSK)
Quadrature Amplitude Modulation
Bit/Baud Comparison
Figure 5.1 Digital-to-analog modulation
Figure 5.2 Types of digital-to-analog modulation
Figure 5.3 ASK
B = (1 + d) × S; 0 < d < 1
Bandwidth ASK
Min. B = S; Max. B = 2S
Figure 5.6 FSK
Figure 5.8 PSK