Professional Documents
Culture Documents
Asynchronous Transmission
NRZ-L
Idle state = 1 =
-V
Start bit = 0 =
+V
Stop element = 1
= -V
Data rate = 10
kbps
(each bit =
100s)
Asynchronous - Behavior
Simple & Cheap
High overhead (2 or 3 bits per character)
(~20%)
Can reduce overhead by sending larger blocks
of bits, but also increase the cumulative timing
error
Framing error
Eg., if bit 7 is 1 and bit 8 is 0, bit 8 could be
mistaken as a start bit.
Synchronous Transmission
Block of data transmitted sent as a frame
Clocks must be synchronized
can use separate clock line (error may still
occur for long distance transmission)
or embed clock signal in data
Types of Error
An error occurs when a bit is altered
between transmission and reception
Single bit errors
only one bit altered
caused by white noise
Burst errors
contiguous sequence of B bits in which first,
last and any number of intermediate bits in
error
caused by impulse noise or by fading in
wireless
effect greater at higher data rates
Error Detection
Detect using error-detecting code, added
by transmitter
Recalculated and checked by receiver
Still chance of undetected error(s)
Parity
Parity bit set so character has even (even
parity) or odd (odd parity) number of ones
Even number of bit errors goes undetected
Error Detection
Pb = Probability that a bit is received in error
P1 = Probability that a frame arrives with no bit error
P2 = Probability that, with an error-detecting algorithm in
use, a frame arrives with one or more undetected
errors
P3 = Probability that, with an error-detecting algorithm in
use, a frame arrives with one or more detected bit
errors but no undetected bit errors
Consider the case with no error detection,
P3 = 0,
P1 = (1- Pb)F,
P2 = (1- P1);
F = # bits/frame.
9
10
1. Modulo-2 Arithmetic
2. Polynomial
-
CRC-12: X12+X11+X3+X2+X+1
CRC-16: X16+X15+X2+1
CRC-CCITT: X16+X12+X5+1
CRC-32: X32+X26+X23+X22++X+1
11
Error Correction
Correction of detected errors usually
requires data block to be retransmitted
Not appropriate for wireless applications
bit error rate is high causing lots of
retransmissions
when propagation delay long (satellite)
compared with frame transmission time,
resulting in retransmission of frame in error
plus many subsequent frames
13
Codewo
rd
00
00000
01
00111
10
11001
14
multipoint - multiple
stations
traditionally mainframe
computer and terminals
now typically a local area
network (LAN)
15