viterbi animation

17
. CODE CONVOLUTIF ET ALGORITHME DE VITERBI Didier LE RUYET CNAM Paris 1

Upload: pierre-christophe-faye

Post on 07-Apr-2018

233 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Viterbi Animation

8/6/2019 Viterbi Animation

http://slidepdf.com/reader/full/viterbi-animation 1/17

.

CODE CONVOLUTIF ET ALGORITHME DE VITERBI

Didier LE RUYET

CNAM Paris

1

Page 2: Viterbi Animation

8/6/2019 Viterbi Animation

http://slidepdf.com/reader/full/viterbi-animation 2/17

• codeur convolutif non récursif non systématique défini par sa matrice génératrice :

G(D) = (1 + D + D2, 1 + D)

iu

i x

2

D D

is1 i

s2

i x

1

• 4 états internes notés a,b,c et d.

état interne s1i s2ia 0 0b 0 1c 1 0d 1 1

2

Page 3: Viterbi Animation

8/6/2019 Viterbi Animation

http://slidepdf.com/reader/full/viterbi-animation 3/17

• treillis élémentaire du code convolutif :

00

00

11

11

10

10

0101

a

b

c

d

3

Page 4: Viterbi Animation

8/6/2019 Viterbi Animation

http://slidepdf.com/reader/full/viterbi-animation 4/17

• on considère la séquence d’information suivante : 1001

• la séquence codée est donc : 11 10 11 11

• une erreur survient dans la transmission du troisième bit.

• La séquence reçue est donc : 11 00 11 11

• on décode en utilisant l’algorithme de Viterbi

4

Page 5: Viterbi Animation

8/6/2019 Viterbi Animation

http://slidepdf.com/reader/full/viterbi-animation 5/17

a

b

c

d

i=0

(0)

i = 0 : initialisation du treillis

5

Page 6: Viterbi Animation

8/6/2019 Viterbi Animation

http://slidepdf.com/reader/full/viterbi-animation 6/17

00 (2)

11 (0)

a

b

c

d

i=0 i=1

Séquence

reçue : 11

(0)

i = 1 : calcul des métriques de branche

6

Page 7: Viterbi Animation

8/6/2019 Viterbi Animation

http://slidepdf.com/reader/full/viterbi-animation 7/17

00 (2)

11 (0)

a

b

c

d

i=0 i=1

Séquence

reçue : 11

(2)

(0)

0

1

(0)

i = 1 : calcul des métriques cumuléesstockage des séquences survivantes

7

Page 8: Viterbi Animation

8/6/2019 Viterbi Animation

http://slidepdf.com/reader/full/viterbi-animation 8/17

00 (2) 00 (0)

11 (0) 11 (2)

10 (1)

01 (1)

a

b

c

d

i=0 i=1 i=2

Séquence

reçue : 11 00

(2)

(0)

0

1

i = 2 : calcul des métriques de branche

8

Page 9: Viterbi Animation

8/6/2019 Viterbi Animation

http://slidepdf.com/reader/full/viterbi-animation 9/17

00 (2) 00 (0)

11 (0) 11 (2)

10 (1)

01 (1)

a

b

c

d

i=0 i=1 i=2

Séquence

reçue : 11 00

(1)

(2)

(0)

(2)

(1)

(4)

0

00

1

10

01

11

i = 2 : calcul des métriques cumuléesstockage des séquences survivantes

9

Page 10: Viterbi Animation

8/6/2019 Viterbi Animation

http://slidepdf.com/reader/full/viterbi-animation 10/17

00 (2) 00 (0) 00 (2)

00 (2)

11 (0) 11 (2) 11 (0)

11 (0)

10 (1)10 (1)

10 (1)

01 (1)

01 (1) 01 (1)

a

b

c

d

i=0 i=1 i=2 i=3

Séquence

reçue : 11 00 11

(1)

(2)

(0)

(2)

(1)

(4)

0

00

1

10

01

11

i = 3 : calcul des métriques de branche

10

Page 11: Viterbi Animation

8/6/2019 Viterbi Animation

http://slidepdf.com/reader/full/viterbi-animation 11/17

00 (2) 00 (0) 00 (2)

00 (2)

11 (0) 11 (2) 11 (0)

11 (0)

10 (1)10 (1)

10 (1)

01 (1)01 (1)

01 (1)

a

b

c

d

i=0 i=1 i=2 i=3

Séquence

reçue : 11 00 11

(1)

(2)

(0)

(2)

(2)

(1)

(4)

(1)

(5)

(5)

0

00

1

10

01

11 011

100

010

001

(4) 000

(2) 110

(3) 101

(2) 111

i = 3 : calcul des métriques cumulées

11

Page 12: Viterbi Animation

8/6/2019 Viterbi Animation

http://slidepdf.com/reader/full/viterbi-animation 12/17

00 (2) 00 (0) 00 (2)

00 (2)

11 (0) 11 (2) 11 (0)

11 (0)

10 (1)10 (1)

10 (1)

01 (1)01 (1)

01 (1)

a

b

c

d

i=0 i=1 i=2 i=3

Séquence

reçue : 11 00 11

(1)

(2)

(0)

(2)

(2)

(1)

(4)

(1)0

00

1

10

01

11

100

001

(2) 110

(2) 111

i = 3 : stockage des séquences survivantes

12

Page 13: Viterbi Animation

8/6/2019 Viterbi Animation

http://slidepdf.com/reader/full/viterbi-animation 13/17

00 (2) 00 (0) 00 (2) 00 (2)

00 (2) 00 (2)

11 (0) 11 (2) 11 (0)

11 (0) 11 (0)

11 (0)

10 (1)10 (1)

10 (1) 10 (1)

10 (1)

01 (1)

01 (1)

01 (1) 01 (1)01 (1)

a

b

c

d

i=0 i=1 i=2 i=3 i=4

Séquence

reçue : 11 00 11 11

(1)

(2)

(0)

(2)

(2)

(1)

(4)

(1)

(2)

(2)

0 00

1

10

01

11 111

100

110

001

i = 4 : calcul des métriques de branche

13

Page 14: Viterbi Animation

8/6/2019 Viterbi Animation

http://slidepdf.com/reader/full/viterbi-animation 14/17

00 (2) 00 (0) 00 (2) 00 (2)

00 (2) 00 (2)

11 (0) 11 (2) 11 (0)

11 (0) 11 (0)

11 (0)

10 (1)10 (1)

10 (1) 10 (1)

10 (1)

01 (1)

01 (1)

01 (1) 01 (1)01 (1)

a

b

c

d

i=0 i=1 i=2 i=3 i=4

Séquence

reçue : 11 00 11 11

(1)

(2)

(0)

(2)

(2)

(1)

(4)

(1)

(2)

(2)

(3)

(3)

(1)

(3)

0

00

1

10

01

11 111

1001

100

110

001

0010

0011

1000

1100(2)

(3)1110

(4)1101

(3)1111

i = 4 : calcul des métriques cumulées

14

Page 15: Viterbi Animation

8/6/2019 Viterbi Animation

http://slidepdf.com/reader/full/viterbi-animation 15/17

00 (2) 00 (0) 00 (2) 00 (2)

00 (2) 00 (2)

11 (0) 11 (2) 11 (0)

11 (0) 11 (0)

11 (0)

10 (1)10 (1)

10 (1) 10 (1)

10 (1)

01 (1)

01 (1)

01 (1) 01 (1)01 (1)

a

b

c

d

i=0 i=1 i=2 i=3 i=4

Séquence

reçue : 11 00 11 11

(1)

(2)

(0)

(2)

(2)

(1)

(4)

(1)

(2)

(2)

(1)

(3)

0

00

1

10

01

11 111

1001

100

110

001

0011

1100(2)

(3)1110

i = 4 : stockage des séquences survivantes

15

Page 16: Viterbi Animation

8/6/2019 Viterbi Animation

http://slidepdf.com/reader/full/viterbi-animation 16/17

00 (2) 00 (0) 00 (2) 00 (2)

00 (2) 00 (2)

11 (0) 11 (2) 11 (0)

11 (0) 11 (0)

11 (0)

10 (1)10 (1)

10 (1) 10 (1)

10 (1)

01 (1)

01 (1)01 (1) 01 (1)

01 (1)

a

b

c

d

i=0 i=1 i=2 i=3 i=4

Séquence

reçue : 11 00 11 11

(1)

(2)

(0)

(2)

(2)

(1)

(4)

(1)

(2)

(2)

0

00

1

10

01

11 111

1001

100

110

001

i = 4 : choix de la séquence la plus probable

16

Page 17: Viterbi Animation

8/6/2019 Viterbi Animation

http://slidepdf.com/reader/full/viterbi-animation 17/17

00 (2) 00 (0) 00 (2) 00 (2)

00 (2) 00 (2)

11 (0) 11 (2) 11 (0)

11 (0) 11 (0)

11 (0)

10 (1)10 (1)

10 (1) 10 (1)

10 (1)

01 (1)01 (1)

01 (1) 01 (1)01 (1)

a

b

c

d

i=0 i=1 i=2 i=3 i=4

Séquencereçue: 11 00 11 11

(1)

(2)

(0)

(2)

(2)

(1)

(4)

(1)

(2)

(2)

0

00

1

10

01

11 111

1001

100

110

001

i = 4 : choix de la séquence la plus probable

17