Professional Documents
Culture Documents
Concept of redundancy
Systematic generation and addition of redundant bits to the
message bits, at the transmitter, such that transmission errors
can be minimized by performing an inverse operation, at the
receiver. e.g. Triple repetition codes,
Data bit 0 - replaced by the code 000
101
000
100
110
010
Pwe,uncoded = x
- With triple repetition code
Pwe,detection = P(3,3) = x3
Pwe,correction = P(2,3) + P(3,3) = 3x2 -2x3
- For any channel with x<<1
Pwe,uncoded > Pwe,correction > Pwe,detection
- The cost is paid in terms of reduction in
bit rate.
BEC System
Error Detecting codes
Horizontal Redundancy Check (HRC)
Vertical Redundancy check (VLR)
Cyclic Redundancy Check (CRC)
Checksum
ARQ Techniques
Performance of ARQ
As far as Pbe is concerned (which depends upon
undetected errors) the expression for BEC remains
same as for FEC but with dmin=t+1.
Clearly, BEC seems advantageous in terms of Pbe
but we need to consider loss due to retransmission.
Probability of retransmission p=1-[P(0,n)+Pwe]
p=1- (1-)n = n (ignoring Pwe and other terms of (1-)n expansion)
Find average number of transmitted words per
accepted word and the throughput efficiency for srej?
Classification of codes
Error detecting/correcting.
Systematic/nonsystematic
Binary/nonbinary
Block (includes cyclic codes)/convolutional
Recursive/nonrecursive
Advantage of linearity?
C
000
011
110
101
111
100
001
010
W(x)
0
3
3
4
4
3
3
4
M
1000
1001
1010
1011
1100
1101
1110
1111
C
101
110
011
000
010
001
100
111
W(x)
3
4
4
3
3
4
4
7
Syndrome Decoding
HT
P
Iq
Xi*HT = (0 0 0 . . . . .0)1xq
If there is any error then Yi = Xi + Ei
The operation Yi*HT will generate a non zero
(1xq) vector called syndrome (S).
S = Y*HT = E*HT
All possible error patterns E are already known
(depending upon error correcting capability of
code) and HT is also a known quantity.
Hence, If a code is to correct up to t errors per
word then
2q 1 >= n + nC2 + nC3 . . . . . . + nCt
(Total no. of syndromes - 1) >= (possible error patterns)
Syndrome table
(S)
000
101
111
110
011
100
010
001
(E)
0000000
1000000
0100000
0010000
0001000
0000100
0000010
0000001
To accommodate the
syndrome table the
decoder needs to
store (q+n)*2q bits.
Larger is the table
size more time will
be required to find
error vector thus
decoding delay will
be increased.
1 Rc = (1/n)*log { nCi}
Rc should be close to unity in order to minimize overhead but
it requires n>>1 which in turn requires more memory space
and decoding time.
C
000
011
110
101
111
100
001
010
W(x)
0
3
3
4
4
3
3
4
M
1000
1001
1010
1011
1100
1101
1110
1111
C
101
110
011
000
010
001
100
111
W(x)
3
4
4
3
3
4
4
7
Free Distance
Free Distance (df)= [w(X)]min excluding all zero path.
Termination of trellis (to ensure all zero state for next
run and to find min weight non trivial path; = 5 in fig.)
Coding Gain
For a AWGN channel, the decoded error
probability for a convolution code having code
rate Rc = k/n; and free distance = df can be
derived as
Pbe proportional to e-(Rc*df/2)*b
Pbe improves when (Rc*df/2) >1.
By definition, Coding gain = (Rc*df/2) usually
expressed in dB.
Catastrophic error
If a finite number of channel errors causes
an infinite number of decoding errors.
If all generating polynomials Xj, Xj . of
Xj has a common factor then it occurs.
Systematic codes are free from this error
but they have poor error correcting
performance.
Viterbi Decoding
RSC Codes
Turbo Codes
almost all codes are good except those we can think of J. Wolfowitz
Turbo code encoder
Claude Berrou et. Al. Near Shannon limit error correcting coding and decoding, Proc. IEEE Intl. conf. on comm., Geneva, 1993
2dB gain with 3 bit and 2.2 dB with infinite bit representation.
Types of SS techniques
Direct Sequence Spread Spectrum (DS-SS)
e.g. CDMA
Frequency Hopping Spread Spectrum (FHSS)
Time hopping Spread Spectrum (TH-SS)
Hybrid (DS/FH, DS/TH, FH/TH,DS/FH/TH)
spreading
A2 2
A
AA 22PPav
av
PP
av
av
2
2
Algorithm
A unique codeword of same length
{Cx=(c1,c2,c3)} is assigned to each user.
A user transmits its codeword for transmitting
logic 1 and its compliment for 0.
The base station receives the algebraic sum
of chips {D=(d1,d2,)} transmitted by all the
active users.
The BS calculates Sx = Cx(i)*D(i) for all
users.
If it is above +ve (-ve) threshold user x has
transmitted logic 1 (0)
Problem:
There are three users A,B,C in a CDMA network
with corresponding chip sequences Ca = {1,-1,1,1,-1,1}, Cb = {1,1,-1,-1,1,1}, Cc = {1,1,-1,1,1,-1}.
If both the thresholds are set at 0 volts, find the
data decoded by BS when
(i) A transmits logic 1.
(ii) A and B transmit logic 1
(iii) A and C transmit logic 1.
PN - sequences
Uniform distribution and independence.
Period = 2n 1 bits; n= length of shift register
To identify a PN both algorithm (interconnection of
taps) and seed (starting point) must be known.
Seed can change the starting and ending point of a
PN sequence but the contents remains the same.
(this property is used for cell identification in CDMA
mobile systems.)
Walsh codes are known to be orthogonal codes.
BW Ws
2 L level modulation
BW Ws
BW Wd
2k frequencies
Hopped frequency
slot determined by
hopping code
2 L levels
2k slots
Wd 2 L f d ( data modulator BW)
Tb
L2
Tc :chip duration
Ts : symbol duration
DS and FH compared
FH is applicable in environments where there
exist tone jammers that can be overcame by
avoiding hopping on those frequencies
DS is applicable for multiple access because it
allows statistical multiplexing (resource
reallocation) to other users (power control)
FH applies usually non-coherent modulation
due to carrier synchronization difficulties ->
modulation method degrades performance