Beruflich Dokumente
Kultur Dokumente
voice
Telephone
analog
analog
CODEC
digital
digital
analog
Modem
digital
Digital transmitter
digital
Encoding
How do we encode the data for transmission so that it can be recognized by the receiver?
Data:
1 0 0 0 0 0 0 0 0 0 1 0 1 0
Reception Problems
Receiver must determine the start of each bit period (clock synchronization). Receiver must detect where each frame starts and ends. Signal contains noise thermal noise, impulse noise, delay distortion, ... in general, higher transmission rate means more noise
Spectral Distribution
1.5 Mean square voltage per unit bandwidth
1.0
NRZ-L, NRZI
0.5
Desirable Characteristics:
No d.c. component (energy at f = 0) Efficient use of bandwidth: small f/r Signal concentrated in center of band
7
1 = power on (signal) 0 = power off (no signal) used on low speed links, e.g. serial ports Problems: lack of clock recovery during long string of 0 or 1 bits has d.c. component baseline wander during long string of 0 or 1 bits
8
1 = change of signal level (on-off or off-on) 0 = no change of signal level NRZI is an example of differential encoding used with with 4B/5B on fast ethernet fixes clocking problem for long string of 1 bits Problems: lack of clock recovery during long string of 0 bits has d.c. component
9
Manchester Encoding
0 1 0 0 1 1 0 0 0 1 1
Always transition in middle of bit period: 0 = low-to-high transition 1 = high-to-low transition Transition at beginning of bit period when necessary used for 10Mbps ethernet over coax and twisted pair good clock recovery, good signal recovery, no d.c. comp. inefficient use of bandwidth: 10Mbps ethernet uses a 20Mbps signaling rate! Not used for fast ethernet. data-dependent high frequency component
10
Differential Manchester
0 1 0 0 1 1 0 0 0 1 1
Mid-bit transition is used only for clocking 0 = transition at beginning of bit period (low-to-high or high-to-low, depending on previous output level) 1 = no transition at beginning of bit period used in IEEE 802.5 Token Ring at 4Mbps and 16Mbps same properties as Manchester encoding, but better signal detection and clocking in presence of noise inefficient use of bandwidth: 2B signaling for a data rate B
11
Uses 3 signal levels: +V, 0, -V 0 = no signal (0 voltage) 1 = alternating +V and -V no net d.c. component (alternating +V and -V) can detect some bit errors (consecutive +V or -V) Problems: loss of synchronization during long string of 0 bits inefficient use of bandwidth: with 3 signal levels you could transmit log2(3)= 1.58 bits of information
12
Pseudoternary
0
Bipolar -AMI Pseudoternary
13
1 1 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 1 0
Bipolar-AMI
B8ZS
HDB3
15
4B/5B
Use 5 bit signals for each 4 data bits. The 5 bit sequences are chosen so that there are never more than 3 consecutive zeros in the output stream. When used with NRZI, will have at least 2 signal transitions in every 5 bits.
Input 0000 0001 0010 0011 0100 0101 0110 0111 Output 11110 01001 10100 10101 01010 01011 01110 01111 Input 1000 1001 1010 1011 1100 1101 1110 1111 Output 10010 10011 10110 10111 11010 11011 11100 11101 Other Line idle STX ETX Output 11111 11000 10001 01101 00111
17
(ushort) 260
NRZI
4B/5B with NRZI is used for fast ethernet over fiber (100baseFX) FDDI 100Mbps Token Ring over fiber bandwidth is 125MHz for 100Mbps data rate not used with twisted pair due to high radiated EMF
18
Bandwidth Comparison
To send data at a rate D (bps) how much bandwidth do the encoding methods use?
Encoding Manchester B8ZS, HDB3 4B/5B+NRZI Used for 10Mbps Ethernet, Token Ring T1, E1 lines Fast Ethernet over fiber, FDDI Bandwidth 2D D log23 = 1.58D 1.25D
19
MLT-3
MLT-3 uses 4B/5B followed by a 3 level signaling: 0 = no change in output level 1 = transition from 0 to -V; next 1 returns to 0; next 1 transition to +V; next 1 return to 0 used for 100baseTX, CDDI (100Mbps FDDI over copper), and 100Mbps Token Ring on twisted pair most of the transmitted signal energy is below 30MHz no dc component; can detect some bit errors
20
10
8B/10B
Encodes 8 data bits using 10 signal bits, similar to 4B/5B, but with these advantages: minimum deviation in number of transmitted 1 and 0 bits in any data sequence, using disperity control better error detection capability than 4B/5B used for Gigabit ethernet on fiber optic cable and Fibre Channel balance of transmitted 1 and 0 bits is important to avoid data dependent heating of the laser, which would increase the error rate
21
11