2016/2/14 1 Error Correction Code (1) Fire Tom Wada Professor, Information Engineering, Univ. of the Ryukyus.

Slides:



Advertisements
Similar presentations
1 A triple erasure Reed-Solomon code, and fast rebuilding Mark Manasse, Chandu Thekkath Microsoft Research - Silicon Valley Alice Silverberg Ohio State.
Advertisements

BCH Codes Hsin-Lung Wu NTPU.
Cyclic Code.
Error Control Code.
Computer Networking Error Control Coding
296.3Page :Algorithms in the Real World Error Correcting Codes II – Cyclic Codes – Reed-Solomon Codes.
L. J. Wang 1 Introduction to Reed-Solomon Coding ( Part I )
Efficient Soft-Decision Decoding of Reed- Solomon Codes Clemson University Center for Wireless Communications SURE 2006 Presented By: Sierra Williams Claflin.
15-853:Algorithms in the Real World
Information and Coding Theory
2015/4/28System Arch 2008 (Fire Tom Wada) 1 Error Correction Code (1) Fire Tom Wada Professor, Information Engineering, Univ. of the Ryukyus.
CHANNEL CODING REED SOLOMON CODES.
DIGITAL COMMUNICATION Coding
Forward Error Correction Steven Marx CSC45712/04/2001.
Chapter 2 : Direct Link Networks (Continued). So far... Modulation and Encoding Link layer protocols Error Detection -- Parity Check.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 PART III: DATA LINK LAYER ERROR DETECTION AND CORRECTION 7.1 Chapter 10.
Data link layer: services
M. Khalily Dermany Islamic Azad University.  finite number of element  important in number theory, algebraic geometry, Galois theory, cryptography,
Cyclic codes 1 CHAPTER 3: Cyclic and convolution codes Cyclic codes are of interest and importance because They posses rich algebraic structure that can.
CPSC 3730 Cryptography and Network Security
Channel Coding Part 1: Block Coding
Part.7.1 Copyright 2007 Koren & Krishna, Morgan-Kaufman FAULT TOLERANT SYSTEMS Part 7 - Coding.
By: Hector L Contreras SSGT / USMC
1 Channel Coding (II) Cyclic Codes and Convolutional Codes.
Monoids, Groups, Rings, Fields
BCH_Code 2004/5/5Yuh-Ming Huang, CSIE, NCNU1 BCH Code a larger class of powerful random error-correcting cyclic codes a remarkable generalization of the.
1 SNS COLLEGE OF ENGINEERING Department of Electronics and Communication Engineering Subject: Digital communication Sem: V Cyclic Codes.
Chapter 4 – Finite Fields
Data Security and Encryption (CSE348) 1. Lecture # 12 2.
COEN 180 Erasure Correcting, Error Detecting, and Error Correcting Codes.
MIMO continued and Error Correction Code. 2 by 2 MIMO Now consider we have two transmitting antennas and two receiving antennas. A simple scheme called.
Linear Feedback Shift Register. 2 Linear Feedback Shift Registers (LFSRs) These are n-bit counters exhibiting pseudo-random behavior. Built from simple.
Information Security Lab. Dept. of Computer Engineering 87/121 PART I Symmetric Ciphers CHAPTER 4 Finite Fields 4.1 Groups, Rings, and Fields 4.2 Modular.
Computer Science Division
Computer Communication & Networks Lecture 9 Datalink Layer: Error Detection Waleed Ejaz
CSCI 465 D ata Communications and Networks Lecture 9 Martin van Bommel CSCI 465 Data Communications & Networks 1.
Error Correction Code (2)
Some Computation Problems in Coding Theory
Error Detection and Correction
Cryptography and Network Security Chapter 4. Introduction  will now introduce finite fields  of increasing importance in cryptography AES, Elliptic.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 PART III: DATA LINK LAYER ERROR DETECTION AND CORRECTION 7.1 Chapter 10.
Abstract Algebra 2004/9/29Yuh-Ming Huang, CSIE NCNU1 Introduction to Algebra Def 2.0 ( G, * ) G: a set A binary operation * on G : a * b  G  a,b  G.
The Advanced Encryption Standard Part 2: Mathematical Background
Hamming Distance & Hamming Code
Error Control Coding. Purpose To detect and correct error(s) that is introduced during transmission of digital signal.
Part III: Data Link Layer Error Detection and Correction
Hardware Implementations of Finite Field Primitives
CHAPTER 8 CHANNEL CODING: PART 3 Sajina Pradhan
Practical Session 10 Computer Architecture and Assembly Language.
Class Report 林格名 : Reed Solomon Encoder. Reed-Solomom Error Correction When a codeword is decoded, there are three possible outcomes –If 2s + r < 2t (s.
V. Non-Binary Codes: Introduction to Reed Solomon Codes
Dr. Clincy Professor of CS
Modulo-2 Digital coding uses modulo-2 arithmetic where addition becomes the following operations: 0+0= =0 0+1= =1 It performs the.
15-853:Algorithms in the Real World
FIRST REVIEW.
Communication Networks: Technology & Protocols
DATA COMMUNICATION AND NETWORKINGS
Dr. Clincy Professor of CS
Advanced Computer Networks
Error Correction Code (2)
Error Correction Code (2)
Cyclic Code.
I. Finite Field Algebra.
Error Correction Code (1)
Erasure Correcting Codes for Highly Available Storage
Error Correction Code (1)
Error Correction Code (2)
Yuh-Ming Huang, CSIE, NCNU
عنوان درس نام استاد
Chapter 10 Error Detection and Correction
Presentation transcript:

2016/2/14 1 Error Correction Code (1) Fire Tom Wada Professor, Information Engineering, Univ. of the Ryukyus

2 2016/2/14 Introduction Digital data storage Digital data transmission  Data might change by some Noise, Fading, etc.  Such data change have to be corrected! Forward-Error-Correction (FEC) is need.  Digital Video (DVD), Compact Disc (CD)  Digital communication Digital Phone Wireless LAN Digital Broadcasting

3 2016/2/14 Two major FEC technologies 1. Reed Solomon code 2. Convolution code 3. Serially concatenated code Source Information Reed Solomon Code Interleaving Convolution Code Concatenated Coded Goes to Storage, Transmission Concatenated

4 2016/2/14 Reed Solomon Code Can correct Burst Error. Famous application is Compact Disc. Code theory based on Galois Field  For 8 bit = Byte information  Galois Field of 2 8 is used We will start from Galois Field in following slide.

5 2016/2/14 Galois Field “Field” is the set in which +, -, x, / operations are possible.  e.g. Real numbers is Field.  -2.1, 0, 3, 4.5, 6, 3/2, ….  Number of Element is infinite ( ∞ ). Instead, 8 bit digital signal can represents 2 8 =256 elements only. Galois Field is  Number of element is finite. e.g. 2 8 =256.  +, -, x, / operations are possible.  GF(q) means q elements Galois Fields.  q must be a prime number (p) or p n.

6 2016/2/14 Example 1. GF(q=2) GF(2)  Only two elements {0,1}  Add and Multiply : do operation and mod 2  Subtract : for all a = {0,1}, -a exists.  Division : for all a excluding {0}, a -1 exists a-a X aa Same as XOR operation - operation is same as + Same as AND operation

7 2016/2/14 Example 2. GF(5) Elements = {0,1,2,3,4} Use mod 5 operation a-a X aa So far q=2, 5 are prime numbers.

8 2016/2/14 Example 3. GF(4) Here 4 is NOT a prime number. Use mod does NOT exists. X aa GF(4) with integer elements does NOT exists! The elements can be polynomial.

9 2016/2/14 GF with polynomial elements Polynomial such as aX 2 +bX 1 +c Those coefficient a, b, c =GF(2)={0,1}  Can be added  Can be subtracted  Can be multiplied  Can be divided  And Can be modulo by other polynomial GF with polynomial elements is possible GF(4)={0X+0, 0X+1, X+0, X+1}  Use mod(X 2 +X+1)

/2/14 Example 4. GF(2 2 ) with polynomial (1) Elements={0,1, x, x+1} Use Modulo(x 2 +x+1) Each coefficient is GF(2) +01xx+1 001x 112=0x+1x+2=x xxx+12x=02x+1=1 x+1 x+2=x2x+1=12x+2=0 a-a xx x+1

/2/14 Example 4. GF(2 2 ) with polynomial (2) Use Modulo(x 2 +x+1) mod( x 2 +x+1 ) is equivalent to use x 2 =x+1 assignment X01xx x x0xx 2 =x+1x 2 +x= 2x+1=1 x+10 x 2 +x= 2x+1=1 x 2 +2x+1= x 2 +1= x+2=x aa xx+1 x

/2/14 Let’s calculate (x 2 +x)mod(x 2 +x+1)

/2/14 (x 2 +x+1)mod(x 2 +x+1)=0 Then x 2 +x+1=0 Now consider the root of x 2 +x+1=0 is α Then α 2 + α +1=0  α 2 =α +1

/2/14 Example 5. GF(2 2 ) with polynomial α is the root of x 2 +x+1=0 +01αα2α2 001αα2α2 110α2α2 α ααα2α2 01 α2α2 α2α2 α10 a-a αα α2α2 α2α2 X01αα2α αα2α2 α0αα2α2 α α2α2 0α2α2 11 aa αα2α2 α2α2 α

/2/14 Previous page’s GF is made by polynomial x 2 +x+1=0 This polynomial is generation polynomial for GF. Bit representation Polynomial representation Root index representation 000α -∞ 011α 0 =1 10αα1α1 11α+1α2α2 α 3 = α 2 Xα=(α+1) α= α 2 + α=1

/2/14 Example 6. GF(2 3 ) with polynomial α is the root of x 3 +x+1=0 Bit representation Polynomial representation Root index representation 0000α -∞ 0011α 0 =1 010αα1α1 100α2α2 α2α2 011α+1α3α3 110α 2 + αα4α4 111α 2 + α+1α5α5 101α 2 +1α6α6 α 7 = α 3 Xα 3 Xα=(α+1) (α+1) α= α 3 + α=1

/2/14 +01αα2α2 1+αα 2 + αα 2 + α+1α αα2α2 1+αα 2 + αα 2 + α+1α αα 2 +1αα 2 + α+1 α 2 + αα2α2 ααα+10α 2 + α1α2α2 α 2 +1α 2 + α+1 α2α2 α2α2 α 2 +1α 2 + α0α 2 + α+1 αα+11 1+α α1α 2 + α+1 0α 2 +1α2α2 α 2 + α α 2 + α+1 α2α2 αα α α 2 + α+1 α 2 + αα 2 +1α+1α2α2 10α α 2 +1 α2α2 α 2 + α+1 1α 2 + α1+αα0

/2/14 Example 7. Simple Block Code 4bit information : 1011 (also shown as x 3 +x+1) Make a simple block code as follows 1. Shift 2 bit left (x 5 +x 3 +x 2 ) 2. Calculate modulo by primitive polynomial x 2 +x+1  Ans=1 3. Add the modulo to (x 5 +x 3 +x 2 +1)  Now this code modulo(x 2 +x+1)=0 Send the 3. instead of 4bit information If received code’s modulo(x 2 +x+1) is 0, It is thought that No ERROR HAPPENED! In this example, the coefficient of the polynomial is 0 or 1, But, Reed Solomon code can handle more bits!

/2/14 Example 7. Simple Block Code Codeprimitive polynomialInformation Transmission If the received code can be divided by G(x), It is thought that No Error Happed Informationparity

/2/14 Example 8. RS(5,3) code with GF(2 3 ) Remember GF(2 3 ) has 8 elements in Example 6. One element can handle 3bits. Reed Solomon (5,3) code has 3 information symbol + 2 parity symbol.  3x3= 9bit information + 2x3=6bit parity Assume Information = (1, α 、 α 2 )=( )  I(x)=x 2 +αx+α 2  G(x)=x 2 +α 3 x+α -> x 2 =α 3 x+α R(x)=(x 2 I(x))moduloG(x)=(x 4 +αx 3 +α 2 x 2 ) moduloG(x) =α 4 x+1 W(x)=x 2 I(x)+R(x)= x 4 +αx 3 +α 2 x 2 +α 4 x+1 RS(5,3) code = (1, α, α 2, α 4, 1)=( )

/2/14 Calculation of R(x)

/2/14 RS code parameters Code length n ; n ≦ q-1, q=number of elements Information symbol length k : k ≦ n-2t Parity symbol length c ≦ q-1-n+2t Correctable symbol length = t Then, q=2 3 =8 Max n=7, when t=3, k=1, c=6 R(5,3) case  n=5, q=8, k=3, Then max t = 1 only one symbol error correctable.

/2/14 RS code error correction Error correction Decoding is more tough! Decoding is not covered in this lecture.