Documente Academic
Documente Profesional
Documente Cultură
Digital Transmission
1.
2.
3.
4.
Spring 2006
Line Coding
Block Coding
Sampling
Transmission Mode
4-1
Line Coding
Spring 2006
4-2
Spring 2006
4-3
Example
1. A signal has two data levels with a pulse duration of 1 ms.
We calculate the pulse rate and bit rate as follows:
Spring 2006
4-4
DC Component
Spring 2006
4-5
Lack of Synchronization
Spring 2006
4-6
Spring 2006
4-7
Unipolar
One polarity: one level of signal voltage
Simple, but two problems
DC component : It cannot travel through microwave or
transformer
Synchronization : Consecutive 0s and 1s are hard to be
synchronized Separate line for a clock pulse
Spring 2006
4-8
Polar
Two polarity: two levels of voltage
Problem of DC component is alleviated (NRZ,RZ)
or eliminated (Biphaze)
Spring 2006
4-9
NRZ
NRZ-L (Non Return to Zero-Level)
Level of signal is dependent upon the state of the bit
Spring 2006
4-10
RZ
Provides synchronization for consecutive 0s/1s
Signal changes during each bit
Three values (+, -, 0) are used
Bit 1: positive-to-zero transition
Bit 0: negative-to-zero transition
Spring 2006
4-11
Biphase
Best existing solution for synchronization
Signal transition during a bit between two polarities
Manchester
Used for Ethernet LAN
Bit 1: negative-to-positive transition
Bit 0: positive-to-negative transition
Differential Manchester
Used for Token-ring LAN
Bit 1: no transition at the beginning of a bit
Bit 0: transition at the beginning of a bit
Spring 2006
4-12
Manchester Encoding
Spring 2006
4-13
Spring 2006
4-14
Bipolar
Three levels of voltage
Bit 0: zero voltage, bit 1: alternating +1/-1
(Note) In RZ, zero voltage has no meaning
Spring 2006
4-15
Bipolar AMI
Spring 2006
4-16
B8ZS
Used in North America
Updated version of AMI
Synchronization of a long sequence of 0s as well as
1s
Violations (artificial signal changes) within 8 or
more consecutive 0s
Positive+00000000 Positive+000PN0NP
Negative+00000000 Negative+000NP0PN
Spring 2006
4-17
Spring 2006
4-18
Spring 2006
4-19
Spring 2006
4-20
Block Coding
Spring 2006
4-21
Spring 2006
4-22
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
Spring 2006
4-23
8B/6T
Spring 2006
4-24
Spring 2006
4-25
PAM
Pulse Amplitude Modulation
Sampling an analog signal: sample & hold
The first step of PCM
Spring 2006
4-26
PCM
Pulse Code Modulation
Four processes to create a complete digital signal
Spring 2006
4-27
Spring 2006
4-28
Spring 2006
4-29
PCM
Spring 2006
4-30
Spring 2006
4-31
Sampling Rate
How many samples are sufficient?
<Nyquist theorem> The sampling rate must be at least
twice the highest frequency
Data rate = sampling rate * bits/sample
Spring 2006
4-32
Transmission Mode
Spring 2006
4-33
Parallel Transmission
Use n wires to send n bits at one time synchronously
Advantage: speed
Disadvantage: cost Limited to short distances
Spring 2006
4-34
Serial Transmission
On communication channel
Advantage: reduced cost
Parallel/serial converter is required
Two ways: asynchronous or synchronous
Spring 2006
4-35
Asynchronous Transmission
Spring 2006
4-36
Synchronous Transmission
Spring 2006
4-37