Pariteit : voorbeeld

7
Foutdetectie DIGITALE ELEKTRONICA 1PBa-ELO/ICT Pariteit : voorbeeld 0 1 0 1 1 0 1 1 DATA =1 1 EVEN PAR ITY transmissie 0 1 0 1 1 0 1 1 DATA 1 =1 1 controle OK !

description

Pariteit : voorbeeld. Pariteit : voorbeeld. 1-bits fouten worden gedetecteerd, maar kunnen niet automatisch gecorrigeerd worden. Pariteit : voorbeeld. 2-bits fouten worden NIET gedetecteerd!. Pariteit : voorbeeld. 1-bits fouten worden gedetecteerd en kunnen automatisch gecorrigeerd worden. - PowerPoint PPT Presentation

Transcript of Pariteit : voorbeeld

Page 1: Pariteit : voorbeeld

Foutdetectie DIGITALE ELEKTRONICA 1PBa-ELO/ICT

Pariteit : voorbeeld

0

1

0

1

1

0

1

1

DATA=1

1

EVENPARITY

transmissie

0

1

0

1

1

0

1

1

DATA

1

=1

1

controle

OK !

Page 2: Pariteit : voorbeeld

Foutdetectie DIGITALE ELEKTRONICA 1PBa-ELO/ICT

0

1

0

1

1

0

1

1

DATA=1

1

EVENPARITY

transmissiemet fout

0

0

0

1

1

0

1

1

DATA

1

=1

0

FOUT !

1-bits fouten worden gedetecteerd, maar kunnen

niet automatisch gecorrigeerd worden.

Pariteit : voorbeeld

Page 3: Pariteit : voorbeeld

Foutdetectie DIGITALE ELEKTRONICA 1PBa-ELO/ICT

0

1

0

1

1

0

1

1

DATA=1

1

EVENPARITY

2-bits fouten worden NIET gedetecteerd!

transmissiemet dubbele

fout

0

1

0

1

1

0

0

0

DATA

1

=1

1

OK !

Pariteit : voorbeeld

Page 4: Pariteit : voorbeeld

Foutdetectie DIGITALE ELEKTRONICA 1PBa-ELO/ICT

1-bits fouten worden gedetecteerd en kunnen

automatisch gecorrigeerd worden.

0

1

0

1

1

0

1

1

WO

OR

D1

0

0

0

0

1

1

1

1

WO

OR

D2

1

1

0

1

0

0

1

0

WO

OR

D3

1

1

0

1

1

0

0

1

WO

OR

D4

0

1

1

0

0

0

0

0

WO

OR

D5

0

1

0

0

1

1

1

1

WO

OR

D6

1

1

0

1

0

0

1

1

WO

OR

D7

1

1

1

1

1

1

1

0

WO

OR

D8

1 0 0 1 0 1 1 1

VERTICALE PARITEIT

1

0

1

1

1

0

1

0

1 LON

GIT

UD

INA

LE P

AR

ITE

ITtransmissie

met 1 bit fout

0

1

0

1

1

0

1

1

0

0

0

0

1

1

1

1

1

1

0

1

0

0

1

0

1

1

0

1

1

0

0

1

0

1

1

1

0

0

0

0

0

1

0

0

1

1

1

1

1

1

0

1

0

0

1

1

1

1

1

1

1

1

1

0

1 0 0 1 0 1 1 1

1

0

1

1

1

0

1

0

1

1 0 0 1 1 1 1 1

HERBEREKENING

1

0

1

1

0

0

1

0

0

Pariteit : voorbeeld

Page 5: Pariteit : voorbeeld

Foutdetectie DIGITALE ELEKTRONICA 1PBa-ELO/ICT

2-bits fouten worden gedetecteerd, maar kunnen

NIET automatisch gecorrigeerd worden.

0

1

0

1

1

0

1

1

WO

OR

D1

0

0

0

0

1

1

1

1

WO

OR

D2

1

1

0

1

0

0

1

0

WO

OR

D3

1

1

0

1

1

0

0

1

WO

OR

D4

0

1

1

0

0

0

0

0

WO

OR

D5

0

1

0

0

1

1

1

1

WO

OR

D6

1

1

0

1

0

0

1

1

WO

OR

D7

1

1

1

1

1

1

1

0

WO

OR

D8

1 0 0 1 0 1 1 1

VERTICALE PARITEIT

1

0

1

1

1

0

1

0

1 LON

GIT

UD

INA

LE P

AR

ITE

ITtransmissie

met 2 bits fout

0

1

0

1

1

0

1

1

0

0

0

0

1

1

1

1

1

1

0

1

0

0

1

0

1

1

0

1

1

0

0

1

0

1

1

1

0

0

0

0

0

1

0

1

1

1

1

1

1

1

0

1

0

0

1

1

1

1

1

1

1

1

1

0

1 0 0 1 0 1 1 1

1

0

1

1

1

0

1

0

1

1 0 0 1 1 0 1 1

HERBEREKENING

1

0

1

1

1

0

1

0

1

Pariteit : voorbeeld

Page 6: Pariteit : voorbeeld

Foutdetectie DIGITALE ELEKTRONICA 1PBa-ELO/ICT

1-bit fouten worden gedetecteerd en kunnen

automatisch gecorrigeerd worden.

transmissiemet 1 bit fout

0

1

0

1

1

0

1

1

DATA

1

0

1

1

0

=1

=1

=1

=1

=1

CB0

CB1

CB2

CB3

CB4

0

00

1

1

0

1

1

1

0

1

1

0

=1

=1

=1

=1

=1

0

0

0

0

0

Pariteit : voorbeeld

Page 7: Pariteit : voorbeeld

Foutdetectie DIGITALE ELEKTRONICA 1PBa-ELO/ICT

2-bits fouten worden gedetecteerd, maar kunnen

NIET automatisch gecorrigeerd worden.

transmissiemet 2 bits fout

0

1

0

1

1

0

1

1

DATA

1

0

1

1

0

=1

=1

=1

=1

=1

CB0

CB1

CB2

CB3

CB4

0

1

0

1

1

0

0

0

1

0

1

1

0

=1

=1

=1

=1

=1

1

1

0

1

0

Pariteit : voorbeeld