Top Banner
ΗΥ-330 fall semester 2016 University of Crete Computer Science Department Stefanos Papadakis Introduction to telecommunication systems theory
20

ΗΥ-330 Introduction to telecommunication systems …hy330/material/HY330 lecture 10.pdf Introduction to telecommunication systems theory CSD.UoC Stefanos Papadakis

Feb 26, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: ΗΥ-330 Introduction to telecommunication systems …hy330/material/HY330 lecture 10.pdf<HY-330> Introduction to telecommunication systems theory CSD.UoC Stefanos Papadakis

ΗΥ-330 fall semester 2016

University of Crete Computer Science Department Stefanos Papadakis

Introduction to telecommunication systems theory

Page 2: ΗΥ-330 Introduction to telecommunication systems …hy330/material/HY330 lecture 10.pdf<HY-330> Introduction to telecommunication systems theory CSD.UoC Stefanos Papadakis

<HY-330> Introduction to telecommunication systems theoryCSD.UoC Stefanos Papadakis fall 2016

Coding

Channel Coding:

Forward Error Correction (FEC)

Error-Correcting Code (ECC)

Page 3: ΗΥ-330 Introduction to telecommunication systems …hy330/material/HY330 lecture 10.pdf<HY-330> Introduction to telecommunication systems theory CSD.UoC Stefanos Papadakis

<HY-330> Introduction to telecommunication systems theoryCSD.UoC Stefanos Papadakis fall 2016

Gray Code

Two successive values differ in only one bit

Points in constellations follow grey code mapping

Why?

Think of the symbol vs. bit error rate

Page 4: ΗΥ-330 Introduction to telecommunication systems …hy330/material/HY330 lecture 10.pdf<HY-330> Introduction to telecommunication systems theory CSD.UoC Stefanos Papadakis

<HY-330> Introduction to telecommunication systems theoryCSD.UoC Stefanos Papadakis fall 2016

Gray CodeDecimal Binary Gray

0 000 0001 001 0012 010 0113 011 0104 100 1105 101 1116 110 1017 111 100

Page 5: ΗΥ-330 Introduction to telecommunication systems …hy330/material/HY330 lecture 10.pdf<HY-330> Introduction to telecommunication systems theory CSD.UoC Stefanos Papadakis

<HY-330> Introduction to telecommunication systems theoryCSD.UoC Stefanos Papadakis fall 2016

Constellation Diagram

Page 6: ΗΥ-330 Introduction to telecommunication systems …hy330/material/HY330 lecture 10.pdf<HY-330> Introduction to telecommunication systems theory CSD.UoC Stefanos Papadakis

<HY-330> Introduction to telecommunication systems theoryCSD.UoC Stefanos Papadakis fall 2016

Hamming DistanceTwo strings of equal length

The number of positions at which the corresponding symbols are different

Examples:

110100110 - 110001010: hamming distance = 3

Tooth - Booth: : hamming distance = 1

Page 7: ΗΥ-330 Introduction to telecommunication systems …hy330/material/HY330 lecture 10.pdf<HY-330> Introduction to telecommunication systems theory CSD.UoC Stefanos Papadakis

<HY-330> Introduction to telecommunication systems theoryCSD.UoC Stefanos Papadakis fall 2016

Hamming Distance

Binary strings is a special case

Hamming distance = XOR + count ones

Example:

110100110 110001010 = 000101100

000101100 => 3x 1

Page 8: ΗΥ-330 Introduction to telecommunication systems …hy330/material/HY330 lecture 10.pdf<HY-330> Introduction to telecommunication systems theory CSD.UoC Stefanos Papadakis

<HY-330> Introduction to telecommunication systems theoryCSD.UoC Stefanos Papadakis fall 2016

Hamming Distance

Page 9: ΗΥ-330 Introduction to telecommunication systems …hy330/material/HY330 lecture 10.pdf<HY-330> Introduction to telecommunication systems theory CSD.UoC Stefanos Papadakis

<HY-330> Introduction to telecommunication systems theoryCSD.UoC Stefanos Papadakis fall 2016

Error Detection

Detect an error has occurred

Error detection Error correction

Detection can not tell the position of the error

6=

Page 10: ΗΥ-330 Introduction to telecommunication systems …hy330/material/HY330 lecture 10.pdf<HY-330> Introduction to telecommunication systems theory CSD.UoC Stefanos Papadakis

<HY-330> Introduction to telecommunication systems theoryCSD.UoC Stefanos Papadakis fall 2016

Make sure the number of 1 bits is either even or odd

Add one bit to provide the parity

Detects one (actually odd number) bit alteration

Parity

Page 11: ΗΥ-330 Introduction to telecommunication systems …hy330/material/HY330 lecture 10.pdf<HY-330> Introduction to telecommunication systems theory CSD.UoC Stefanos Papadakis

<HY-330> Introduction to telecommunication systems theoryCSD.UoC Stefanos Papadakis fall 2016

Hamming DistanceConsider an alternate use of additional bits

What is the hamming distance of the following codewords?

Page 12: ΗΥ-330 Introduction to telecommunication systems …hy330/material/HY330 lecture 10.pdf<HY-330> Introduction to telecommunication systems theory CSD.UoC Stefanos Papadakis

<HY-330> Introduction to telecommunication systems theoryCSD.UoC Stefanos Papadakis fall 2016

Hamming Distancemin hamming distance:

Error Detection: max bit errors

Error Correction: max bit errorsbdmin � 1

2c

dmin � 1

dminCodeword

error correction boundary

Page 13: ΗΥ-330 Introduction to telecommunication systems …hy330/material/HY330 lecture 10.pdf<HY-330> Introduction to telecommunication systems theory CSD.UoC Stefanos Papadakis

<HY-330> Introduction to telecommunication systems theoryCSD.UoC Stefanos Papadakis fall 2016

Forward Error Correction

FEC is based on redundancy

Codes->

systematic: original information + extra information

non-systematic: completely different output

Page 14: ΗΥ-330 Introduction to telecommunication systems …hy330/material/HY330 lecture 10.pdf<HY-330> Introduction to telecommunication systems theory CSD.UoC Stefanos Papadakis

<HY-330> Introduction to telecommunication systems theoryCSD.UoC Stefanos Papadakis fall 2016

Forward Error CorrectionCategories of Codes:

block: use fixed-size blocks (chunks) of bits

hard-decision

convolutional: are applied on continuous stream of bits

soft-decision

concatenated: combined block & convolutional

for high erroneous channels (e.g. deep space)

Page 15: ΗΥ-330 Introduction to telecommunication systems …hy330/material/HY330 lecture 10.pdf<HY-330> Introduction to telecommunication systems theory CSD.UoC Stefanos Papadakis

<HY-330> Introduction to telecommunication systems theoryCSD.UoC Stefanos Papadakis fall 2016

Block codes

Hamming

Reed-Solomon

Golay

BCH

Page 16: ΗΥ-330 Introduction to telecommunication systems …hy330/material/HY330 lecture 10.pdf<HY-330> Introduction to telecommunication systems theory CSD.UoC Stefanos Papadakis

<HY-330> Introduction to telecommunication systems theoryCSD.UoC Stefanos Papadakis fall 2016

Convolutional codes

boolean polynomial

decoding: trellis (Viterbi)

code rate increase: symbol puncturing

Page 17: ΗΥ-330 Introduction to telecommunication systems …hy330/material/HY330 lecture 10.pdf<HY-330> Introduction to telecommunication systems theory CSD.UoC Stefanos Papadakis

<HY-330> Introduction to telecommunication systems theoryCSD.UoC Stefanos Papadakis fall 2016

Convolutional codes

encoding:

recursive

non-recursive

Page 18: ΗΥ-330 Introduction to telecommunication systems …hy330/material/HY330 lecture 10.pdf<HY-330> Introduction to telecommunication systems theory CSD.UoC Stefanos Papadakis

<HY-330> Introduction to telecommunication systems theoryCSD.UoC Stefanos Papadakis fall 2016

Convolutional codes

decoding:

trellis diagram

Viterbi algorithm

Page 19: ΗΥ-330 Introduction to telecommunication systems …hy330/material/HY330 lecture 10.pdf<HY-330> Introduction to telecommunication systems theory CSD.UoC Stefanos Papadakis

<HY-330> Introduction to telecommunication systems theoryCSD.UoC Stefanos Papadakis fall 2016

InterleavingWhat is more probable to happen:

nicely distributed errors or bursts of errors?

Consider this message: ThisIsAGoodExample

Interleaved: TIoxlhsoaeiAdmsGEp

Rx non-interleaved: ThisIsAxxxxExample

Rx interleaved: TIoxlhsxxxxAdmsGEp

Rx de-interleaved: ThxsIsAGoxdExxmplx

Page 20: ΗΥ-330 Introduction to telecommunication systems …hy330/material/HY330 lecture 10.pdf<HY-330> Introduction to telecommunication systems theory CSD.UoC Stefanos Papadakis

<HY-330> Introduction to telecommunication systems theoryCSD.UoC Stefanos Papadakis fall 2016

Coding Gain