Advanced Digital Communications (Ee5511) : MSC Module of Wireless Communication System
Advanced Digital Communications (Ee5511) : MSC Module of Wireless Communication System
(EE5511)
MSc Module of Wireless Communication System
Dr. Qiang Ni
ECE, School of Eng & Design, Brunel University
E-mail: [email protected]
Homepage: http://people.brunel.ac.uk/~eestqqn/
Office: Howell Building H237
Dr Qiang Ni Brunel University 1/54
Section 2:
Coding
`Source Coding:
` Reduce number of bits required to transmit
information (Reduce Redundancy)
`Channel Coding:
` Protect information from errors caused by noise
between the transmitter and receiver (Add “Special”
Redundancy)
Properties:
`Generates optimal prefix codes
`Cheap to generate codes
`Cheap to encode and decode
Huffman Algorithm
a Start with a forest of trees each consisting of a single
vertex corresponding to a message s with weight p(s)
a Repeat:
`Select two trees with minimum weight roots p1 and
p2
`Join into single tree by adding root with weight p1 +
p2
aTransmitter
`For a given frame, an error-detecting code (check
bits) is calculated from data bits
`Check bits are appended to data bits
aReceiver
`Separates incoming frame into data bits and check
bits
`Calculates check bits from received data bits
`Compares calculated check bits against received
check bits
`Detected error occurs if mismatch
aTransmitter
`Forward error correction (FEC) encoder
maps each k-bit block into an n-bit block
codeword
`Codeword is transmitted
aReceiver
`Incoming signal is demodulated
`Block passed through an FEC decoder
c1 r1 r2 r3 r4 r5 r6 c2
(b) t = 2
t=2 t=2
c1 r1 r2 r3 r4 r5 r6 c2
(c)t=1
t=1 t=1
c1 r1 r2 r3 r4 r5 r6 c2
(d)
c1 r1 r2 r3 r4 r5 r6 c2
t 1
dm
d min ≥ t det
+1
t det
≤ d min − 1
Dr Qiang Ni Brunel University 22/54
Error Correction Capability of a Code
(e)
c1 r1 r2 r3 r4 r5 r6 c2
t 1 t
dm
d min ≥ 2t corr
+1
⎢ d min − 1 ⎥
t corr
≤⎢ ⎥
⎣ 2 ⎦
Dr Qiang Ni Brunel University 23/54
Code Example (1)
Example:
Message Encoder Code words
000 000000
001 001101
010 010011
011 011110
100 100110
101 101011
110 110101
111 111000
t t
t=1
010011
011110
t t
t
1 0 0 1 1 0 1 1
x 7 x6 x5 x4 x3 x2 x1 x0
Message: 1011 1 x x3 + 0 x x2 + 1 x x + 1
= x3 + x + 1
Code Polynomial c(x): Both the sender and the receiver know the
code polynomial, this polynomial is pre-set
1001
101 101100
101
001
000
010
000
100
101
01 Remainder
101100
- 01
101101
- No error detected.
input bit
XOR Bits
V1 = S1 ⊕ S 2 ⊕ S 3
V1 V2 V2 = S1 ⊕ S3
More details in the reference book: Digital Coms: fundamentals & applications
Dr Qiang Ni Brunel University 50/54
(2,1,2) Code Tree Diagram
aThis is a tree representation
of(2,1,2) convolutional code.
states
c
aWe found that the tree diagram is repeated at some stage, and totally
we have 4 different states, so we can obtain another diagram, called the
trellis.