1. Trang chủ
  2. » Công Nghệ Thông Tin

Wireless networks - Lecture 4: Error detecting and correcting techniques

24 34 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 24
Dung lượng 452,37 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Wireless networks - Lecture 4: Error detecting and correcting techniques. The main topics covered in this chapter include: transmission errors; error detection codes; automatic repeat request (ARQ) protocols; two-dimensional parity checks; parity check; cyclic redundancy check; block error code;...

Trang 1

Wireless Networks

Lecture 4 Error Detecting and Correcting Techniques

Dr Ghalib A Shah

Trang 2

 Review of previous lecture #3

 Transmission Errors

 Summary of today’s lecture

Trang 4

Coping with Transmission Errors

 Error detection codes

► Detects the presence of an error

 Error correction codes, or forward correction codes

(FEC)

► Designed to detect and correct errors

► Widely used in wireless networks

 Automatic repeat request (ARQ) protocols

► Used in combination with error detection/correction

► Block of data with error is discarded

► Transmitter retransmits that block of data

Trang 5

Error Detection Process

 Transmitter

► For a given frame, an error-detecting code (check bits) is

calculated from data bits

► Check bits are appended to data bits

 Receiver

► 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

Trang 7

Parity Checks

 Even or Odd parity

 Only single bit error detection

 What about multiple bit errors

 Use when probability of bit errors is small and

independent

 Errors are usually clustered together

Single bit

The ability of receiver to both detect and correct errors

is known as forward error correction (FEC)

Trang 8

Examples of parity bit check

Adding parity bit

Trang 9

Two-dimensional parity checks

 Generalization of 1-bit

 D bits are divided into i rows and j columns.

 Receiver can not only detect but correct as well using row,

column indices

.

.

.

.

Di+1,1 Di+1,2 … Di+1,j Di+1,j+1

Trang 10

Example of 2D Odd parity check

Trang 12

CRC using Modulo 2 Arithmetic

• T = n-bit frame to be transmitted

• D = k-bit block of data; the first k bits of T

• F = (n – k)-bit FCS; the last (n – k) bits of T

• P = pattern of n–k+1 bits; this is the predetermined divisor

• Q = Quotient

• R = Remainder

Trang 13

CRC using Modulo 2 Arithmetic

For T/P to have no remainder, start with

 Divide 2n-kD by P gives quotient and remainder

F D

P

R Q

P

D

k n

2

R D

Trang 14

CRC using Modulo 2 Arithmetic

 Substituting,

► No remainder, so T is exactly divisible by P

P

R P

D P

R

D P

T 2n k 2n k

Q P

R

R Q

P

R P

R Q

P T

Trang 16

CRC using Polynomials

 All values expressed as polynomials

► Dummy variable X with binary coefficients

X R X

D X

X T

X P

X

R X

Q X

P

X D X

k n k

n

Trang 18

Wireless Transmission Errors

 Error detection requires retransmission

 Detection inadequate for wireless applications

► Error rate on wireless link can be high, results in a

large number of retransmissions

► Long propagation delay compared to transmission

time

Trang 19

Block Error Correction Codes

 Transmitter

► Forward error correction (FEC) encoder maps each

k-bit block into an n-bit block codeword

► Codeword is transmitted; analog for wireless

transmission

► Incoming signal is demodulated

► Block passed through an FEC decoder

Trang 21

FEC Decoder Outcomes

 No errors present

► Codeword produced by decoder matches original

codeword

 Decoder detects and corrects bit errors

 Decoder detects but cannot correct bit errors;

reports uncorrectable error

 Decoder detects no bit errors, though errors

are present

Trang 22

Block Code Principles

Hamming distance – for 2 n-bit binary sequences, the

number of different bits

► E.g., v1=011011; v2=110001;

► 011011 XOR 110001 = 101010

► d(v1, v2)=3

 Redundancy – ratio of redundant bits to data bits

 Code rate – ratio of data bits to total bits

Coding gain – the reduction in the required Eb/N0 to

achieve a specified BER of an error-correcting coded system

Trang 23

Block Codes

The Hamming distance d of a Block code is the

minimum distance between two code words

d

Trang 24

Example of Block code

 Let k = 2, n = 5

 Suppose we receive 0 0 1 0 0 pattern

 Minimum distance is with codeword 0 0 0 0 0 ,

so we deduct 0 0 as data bits.

Ngày đăng: 05/07/2022, 13:05