Error Correction Code (1)

Similar documents
2013/Fall-Winter Term Monday 12:50 Room# or 5F Meeting Room Instructor: Fire Tom Wada, Professor

1 Reed Solomon Decoder Final Project. Group 3 Abhinav Agarwal S Branavan Grant Elliott. 14 th May 2007

Error Correction Methods

VHDL Implementation of Reed Solomon Improved Encoding Algorithm

ECE 4450:427/527 - Computer Networks Spring 2017

Information redundancy

Error Correction Review

ECE8771 Information Theory & Coding for Digital Communications Villanova University ECE Department Prof. Kevin M. Buckley Lecture Set 2 Block Codes

Lecture 12. Block Diagram

Optical Storage Technology. Error Correction

A field F is a set of numbers that includes the two numbers 0 and 1 and satisfies the properties:

EECS Components and Design Techniques for Digital Systems. Lec 26 CRCs, LFSRs (and a little power)

Dr. Cathy Liu Dr. Michael Steinberger. A Brief Tour of FEC for Serial Link Systems

Chapter 6. BCH Codes

Finite Fields. SOLUTIONS Network Coding - Prof. Frank H.P. Fitzek

Introduction to Wireless & Mobile Systems. Chapter 4. Channel Coding and Error Control Cengage Learning Engineering. All Rights Reserved.

Mapper & De-Mapper System Document

EECS150 - Digital Design Lecture 23 - FFs revisited, FIFOs, ECCs, LSFRs. Cross-coupled NOR gates

Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Discussion 6A Solution

Implementation of Galois Field Arithmetic. Nonbinary BCH Codes and Reed-Solomon Codes

Error Detection & Correction

Minimized Logic Gates Number Of Components In The Chien Search Block For Reed-Solomon (RS)

Cyclic codes: overview

Mathematical Foundations of Cryptography

Linear Feedback Shift Registers (LFSRs) 4-bit LFSR

Instruction Set Extensions for Reed-Solomon Encoding and Decoding

Reed-Solomon codes. Chapter Linear codes over finite fields

EECS150 - Digital Design Lecture 21 - Design Blocks

Channel Coding I. Exercises SS 2017

Physical Layer and Coding

Lecture Notes. Advanced Discrete Structures COT S

Chapter 4 Mathematics of Cryptography

Calculating Algebraic Signatures Thomas Schwarz, S.J.

Outline. EECS Components and Design Techniques for Digital Systems. Lec 18 Error Coding. In the real world. Our beautiful digital world.

Communication Theory II

GF(2 m ) arithmetic: summary

Error Detection, Correction and Erasure Codes for Implementation in a Cluster File-system

STEP Support Programme. Hints and Partial Solutions for Assignment 17

The Pennsylvania State University. The Graduate School. Department of Computer Science and Engineering

Part III. Cyclic codes

The BCH Bound. Background. Parity Check Matrix for BCH Code. Minimum Distance of Cyclic Codes

Binary Primitive BCH Codes. Decoding of the BCH Codes. Implementation of Galois Field Arithmetic. Implementation of Error Correction

SIPCom8-1: Information Theory and Coding Linear Binary Codes Ingmar Land

3x + 1 (mod 5) x + 2 (mod 5)

REED-SOLOMON CODE SYMBOL AVOIDANCE

Great Theoretical Ideas in Computer Science

Coding Theory: Linear-Error Correcting Codes Anna Dovzhik Math 420: Advanced Linear Algebra Spring 2014

Today. Polynomials. Secret Sharing.

Channel Coding and Interleaving

Channel Coding I. Exercises SS 2017

Information Theory. Lecture 7

Cryptography Lecture 3. Pseudorandom generators LFSRs

Coding Theory and Applications. Solved Exercises and Problems of Cyclic Codes. Enes Pasalic University of Primorska Koper, 2013

Turbo Codes for xdsl modems

Chapter 4 Finite Fields

Simplification of Procedure for Decoding Reed- Solomon Codes Using Various Algorithms: An Introductory Survey

Fields in Cryptography. Çetin Kaya Koç Winter / 30

Constructions of Nonbinary Quasi-Cyclic LDPC Codes: A Finite Field Approach

Part I. Cyclic codes and channel codes. CODING, CRYPTOGRAPHY and CRYPTOGRAPHIC PROTOCOLS

A Brief Encounter with Linear Codes

Galois fields/1. (M3) There is an element 1 (not equal to 0) such that a 1 = a for all a.

Computer Algebra for Computer Engineers

Basic Concepts in Number Theory and Finite Fields

Chapter 7: Channel coding:convolutional codes

ELEC-E7240 Coding Methods L (5 cr)

Error Correction and Trellis Coding

Intro to Rings, Fields, Polynomials: Hardware Modeling by Modulo Arithmetic

EECS150 - Digital Design Lecture 26 Error Correction Codes, Linear Feedback Shift Registers (LFSRs)

A COMBINED 16-BIT BINARY AND DUAL GALOIS FIELD MULTIPLIER. Jesus Garcia and Michael J. Schulte

Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Note 8

Coding for loss tolerant systems

Chapter 7 Reed Solomon Codes and Binary Transmission

B. Cyclic Codes. Primitive polynomials are the generator polynomials of cyclic codes.

Implementation of Galois Field Arithmetic. Nonbinary BCH Codes and Reed-Solomon Codes

Design and Implementation of Reed-Solomon Decoder using Decomposed Inversion less Berlekamp-Massey Algorithm by

Galois Field Algebra and RAID6. By David Jacob

A Comparison of Cooperative Transmission Schemes for the Multiple Access Relay Channel

EECS150 - Digital Design Lecture 27 - misc2

Getting Connected. Chapter 2, Part 2. Networking CS 3470, Section 1 Sarah Diesburg

MTH 346: The Chinese Remainder Theorem

Graph-based codes for flash memory

Galois Fields and Hardware Design

Topic 3. Design of Sequences with Low Correlation

EPOC Upstream Mapping Part 2

Objective: To become acquainted with the basic concepts of cyclic codes and some aspects of encoder implementations for them.

ELG 5372 Error Control Coding. Lecture 5: Algebra 3: Irreducible, Primitive and Minimal Polynomials

Communications II Lecture 9: Error Correction Coding. Professor Kin K. Leung EEE and Computing Departments Imperial College London Copyright reserved

x 9 or x > 10 Name: Class: Date: 1 How many natural numbers are between 1.5 and 4.5 on the number line?

EE6604 Personal & Mobile Communications. Week 15. OFDM on AWGN and ISI Channels

New EPoC Burst Markers with Data Field

ECEN 5022 Cryptography

IN this paper, we will introduce a new class of codes,

Codes over Subfields. Chapter Basics

An Enhanced (31,11,5) Binary BCH Encoder and Decoder for Data Transmission

Structured Low-Density Parity-Check Codes: Algebraic Constructions

4F5: Advanced Communications and Coding

Complex Numbers: Definition: A complex number is a number of the form: z = a + bi where a, b are real numbers and i is a symbol with the property: i

Chapter 6 Lagrange Codes

Find two positive factors of 24 whose sum is 10. Make an organized list.

17 Galois Fields Introduction Primitive Elements Roots of Polynomials... 8

Transcription:

Error Correction Code 1 Fire Tom Wada Professor, Information Engineering, Univ. of the Ryukyus 01/1/7 1

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 01/1/7

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

WLAN Block Diagram 4 01/4/4

18.5. A /4/8 Antennas Configurable Diversity OFDM Receiver LSI 5 01/4/4

Mobile WiMAX MS eample Down-cnv Up-cnv ~ Common VCO AGC resample derotator A/D D/A Interpolator rotator Sync FFT / IFFT CLK error RF error Symbol Timing RX TX EQ permutation Invpermutation demap map Repetition puncture Repetition depuncture Bit interleave Convolution Coding randomize MAC Bit deinterleave Viterbi de randomize CLK Analog UPPER LAYER 01/4/4 6

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 8 is used We will start from Galois Field in following slide. 01/1/7 7

Galois Field Field is the set in which, -,, / operations are possible. e.g. Real numbers is Field. -.1, 0,, 4.5, 6, /,. Number of Element is infinite. Instead, 8 bit digital signal can represents 8 =56 elements only. Galois Field is Number of element is finite. e.g. 8 =56., -,, / operations are possible. GFq means q elements Galois Fields. q must be a prime number p or p n. 01/1/7 8

Eample 1. GFq= GF Only two elements {0,1} Add and Multiply : do operation and mod Subtract : for all a = {0,1}, -a eists. Division : for all a ecluding {0}, a -1 eists. 0 1 a -a X 0 1 a a -1 0 0 1 0 0 0 0 0 0-1 1 0 1 1 1 0 1 1 1 Same as XOR operation - operation is same as Same as AND operation 01/1/7 9

Eample. GF5 Elements = {0,1,,,4} Use mod 5 operation 0 1 4 a -a X 0 1 4 a a -1 0 0 1 4 0 0 0 0 0 0 0 0 0-1 1 4 0 1 4 1 0 1 4 1 1 4 0 1 0 4 1 4 0 1 0 1 4 4 4 0 1 4 1 4 0 4 1 4 4 So far q=, 5 are prime numbers. 01/1/7 10

Eample. GF4 Here 4 is NOT a prime number. Use mod 4-1 does NOT eists. X 0 1 0 0 0 0 0 1 0 1 0 0 0 1 a a -1 0-1 1 - GF4 with integer elements does NOT eists! The elements can be polynomial. 01/1/7 11

GF with polynomial elements Polynomial such as ax bx 1 c Those coefficient a, b, c =GF={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 GF4={0X0, 0X1, X0, X1} Use modx X1 01/1/7 1

Eample 4. GF with polynomial 1 Elements={0,1,, 1} Use Modulo 1 Each coefficient is GF 0 1 1 0 0 1 1 1 1 =0 1 = 1 =0 1=1 1 1 = 1=1 =0 a -a 0-1 1 1 1 01/1/7 1

Eample 4. GF with polynomial Use Modulo 1 mod 1 is equivalent to use =1 assignment X 0 1 1 0 0 0 0 0 1 0 1 1 0 =1 = 1=1 1 0 1 = 1=1 1= 1= = a a -1 0 0 1 1 1 1 01/1/7 14

Let s calculate mod 1 1 1 0 1 1 01/1/7 15

1mod 1=0 Then 1=0 Now consider the root of 1=0 is Then 1=0 = 1 01/1/7 16

Eample 5. GF with polynomial is the root of 1=0 0 1 0 0 1 1 1 0 0 1 1 0 X 0 1 0 0 0 0 0 1 0 1 0 0 1 1 01/1/7 a -a 0 0 1 1 a a -1 0-1 1 17

Previous page s GF is made by polynomial 1=0 This polynomial is generation polynomial for GF. Bit representation Polynomial representation Root inde representation 00 0-01 1 0 =1 10 1 11 1 = X=1 = =1 01/1/7 18

Eample 6. GF with polynomial is the root of 1=0 Bit representation Polynomial representation Root inde representation 000 0-001 1 0 =1 010 1 100 011 1 110 4 111 1 5 101 1 6 7 = X X=1 1 = =1 01/1/7 19

0 1 1 1 1 0 0 1 1 1 1 1 1 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 0 01/1/7 0

Eample 7. Simple Block Code 4bit information : 1011 also shown as 1 Make a simple block code as follows 1. Shift bit left 101100 5. Calculate modulo by primitive polynomial 1 Ans=1. Add the modulo to 1. 101101 5 1 Now this code modulo 1=0 Send the. instead of 4bit information If received code s modulo 1 is 0, It is thought that No ERROR HAPPENED! In this eample, the coefficient of the polynomial is 0 or 1, But, Reed Solomon code can handle more bits! 01/1/7 1

01/1/7 Eample 7. Simple Block Code Code 1 5 = = = Q G R A W k primitive polynomial 1 = G 1 1 1 1 1 1 1 5 = = = G A 1 = R Information 1 = A Transmission If the received code can be divided by G, It is thought that No Error Happed. 1011 101101 Information parity

Eample 8. RS5, code with GF Remember GF has 8 elements in Eample 6. One element can handle bits. Reed Solomon 5, code has information symbol parity symbol. = 9bit information =6bit parity Assume Information = 1, =001 010 100 I= G= -> = R= ImoduloG= 4 modulog = 4 1 W= IR= 4 4 1 RS5, code = 1,,, 4, 1=001 010 100 110 001 01/1/7

4 01/1/7 Calculation of R このイメージは 現在表示できません 1 mod 4 5 4 6 5 5 4 6 5 4 6 4 = = = = = =

RS code parameters Code length n ; n q-1, q=number of elements Information symbol length k : k n-t Parity symbol length c q-1-nt Correctable symbol length = t Then, q= =8 Ma n=7, when t=, k=1, c=6 R5, case n=5, q=8, k=, Then ma t = 1 only one symbol error correctable. 01/1/7 5

RS code error correction Error correction Decoding is more tough! Decoding is not covered in this lecture. 01/1/7 6