Professional Documents
Culture Documents
Outline
Digital-to-digital conversion
Encode digital data into a digital signal Sending computer data
Analog-to-Digital conversion
Digitizing an analog Sending voice in telephone (Decrease effect of noise )
Digital-to-Analog conversion
Modulating a digital signal Sending computer data through public telephone line
Analog-to-Analog conversion
Modulating an analog signal Sending music from radio station
2
Digital-to-digital conversion
Line Coding Encoding data into a digital signal
0101000111 Line Endcoding Unipolar
Polar
Bipolar
NZR
RZ
Biphase
AMI
B8ZS
HD3B
NRZ-L
NRZ-1
Manchester
Diff-Manc
Unipolar Encoding
One level of value; Very Simple Problem ?
1 0 1 1 0 1 1 0
Unipolar
Polar
Bipolar
NZR
RZ
Biphase
AMI
B8ZS
HD3B
Unipolar
NRZ-L
NRZ-1
Manchester
Diff-Manc
Unipolar
Polar
Bipolar
NZR
RZ
Biphase
AMI
B8ZS
NRZ-L
NRZ-1
Manchester
Diff-Manc
10
- Long Steam of 0 or 1
Cons
dc component Lack of synchronization capability
Used for magnetic recording Not often used for signal transmission
13 14
Biphase - Manchester
Transition in middle of each bit period Transition serves as clock and data Low-to-high represents one High-to-low represents zero Used by IEEE 802.3
15
16
Polar
Bipolar
Pros
Synchronization on mid bit transition (self clocking) No dc component Error detection Absence of expected transition
17
NZR
RZ
Biphase
AMI
B8ZS
HD3B
NRZ-L
NRZ-1
Manchester
Diff-Manc
If octet of all zeros and last voltage pulse preceding was negative
Encode as 000-+0+-
Bipolar
(solved long stream of 0
1 0 0 0 0 0 0 0 0
using violation)
0 1 1 0
B8ZS
1 0 Odd
HDB3
0 0 Even
22
HDB3: Example1
HDB3: Example 2
Even
Odd
23
24
Other Schemes
2B1Q (Two Binary, One Quaternary) MLT-3 (Multiline Tx, three Level)
2B1Q
Four Voltage levels Each pulse represents 2 bits
25
26
MLT-3
Similar to NRZ-I Uses 3 levels of signals (+1, 0, -1) Transition from one level to the next at the beginning of a 1 bit No Transition at the beginning of a 0 bit
Block Coding
Improve the line coding performance Need redundancy
To ensure synchronization To detect errors
Steps in Transformation
Division Substitution
27 28
Block Coding
Substitution
For 4B/5B Choose 5-bit pattern that help in
Synchronization Error detection
29
30
4B/5B Encoding
Data 0000 0001 0010 0011 0100 0101 0110 0111 Code 11110 01001 10100 10101 01010 01011 01110 01111 Data 1000 1001 1010 1011 1100 1101 1110 1111 Code 10010 10011 10110 10111 11010 11011 11100 11101 Data Q (Quiet) I (Idle) H (Halt) J (start delimiter) K (start delimiter) T (end delimiter) S (Set) R (Reset) Code 00000 11111 00100 11000 10001 01101 11001 00111
31
Outline
Digital-to-digital conversion
Encode digital data into a digital signal Sending computer data
Analog-to-Digital conversion
Digitizing an analog Sending voice in telephone (Decrease effect of noise )
Digital-to-Analog conversion
Modulating a digital signal Sending computer data through public telephone line
Analog-to-Analog conversion
Modulating an analog signal Sending music from radio station
32
Step 1:
Pulse Amplitude Modulation(PAM)
33
34
Step 3:
Quantizing Using Sign and Magnitude
35
36
37
38
Nyquist Theorem
39
40
Sampling rate
Question Solution
We want to digitize the human voice. What is the bit rate, assuming 8 bits per sample? The human voice normally contains frequencies from 0 to 4000 Hz. Sampling rate = 4000 x 2 = 8000 samples/s Bit rate = sampling rate x number of bits per sample = 8000 x 8 = 64,000 bps = 64 Kbps
41