Solutions or answers to Final exam in Error Control Coding, October 24, G eqv = ( 1+D, 1+D + D 2)

Similar documents
Cyclic codes: overview

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

x n k m(x) ) Codewords can be characterized by (and errors detected by): c(x) mod g(x) = 0 c(x)h(x) = 0 mod (x n 1)

MATH 433 Applied Algebra Lecture 21: Linear codes (continued). Classification of groups.

Chapter 6 Reed-Solomon Codes. 6.1 Finite Field Algebra 6.2 Reed-Solomon Codes 6.3 Syndrome Based Decoding 6.4 Curve-Fitting Based Decoding

Fault Tolerance & Reliability CDA Chapter 2 Cyclic Polynomial Codes

Cyclic Codes. Saravanan Vijayakumaran August 26, Department of Electrical Engineering Indian Institute of Technology Bombay

Physical Layer and Coding

Berlekamp-Massey decoding of RS code

NAME... Soc. Sec. #... Remote Location... (if on campus write campus) FINAL EXAM EE568 KUMAR. Sp ' 00


Error Correction Review

Lecture 3 : Introduction to Binary Convolutional Codes

Cyclic codes. Vahid Meghdadi Reference: Error Correction Coding by Todd K. Moon. February 2008

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

Know the meaning of the basic concepts: ring, field, characteristic of a ring, the ring of polynomials R[x].

ECEN 604: Channel Coding for Communications

Linear Cyclic Codes. Polynomial Word 1 + x + x x 4 + x 5 + x x + x f(x) = q(x)h(x) + r(x),

Error Correction and Trellis Coding

Chapter 5. Cyclic Codes

Generator Matrix. Theorem 6: If the generator polynomial g(x) of C has degree n-k then C is an [n,k]-cyclic code. If g(x) = a 0. a 1 a n k 1.

EE512: Error Control Coding

Information Theory. Lecture 7

Linear Cyclic Codes. Polynomial Word 1 + x + x x 4 + x 5 + x x + x

MATH32031: Coding Theory Part 15: Summary

Cyclic Redundancy Check Codes

ELEC 405/511 Error Control Coding. Binary Convolutional Codes

Solutions to problems from Chapter 3

Coding on a Trellis: Convolutional Codes

SIDDHARTH GROUP OF INSTITUTIONS :: PUTTUR Siddharth Nagar, Narayanavanam Road UNIT I

Information redundancy

EE512: Error Control Coding

Chapter 6. BCH Codes

Extended Subspace Error Localization for Rate-Adaptive Distributed Source Coding

1 1 0, g Exercise 1. Generator polynomials of a convolutional code, given in binary form, are g

Binary Convolutional Codes

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

MATH 291T CODING THEORY

Optimum Soft Decision Decoding of Linear Block Codes

Code design: Computer search

: Error Correcting Codes. October 2017 Lecture 1

ERROR CORRECTING CODES

Decoding Procedure for BCH, Alternant and Goppa Codes defined over Semigroup Ring

Error Correction Methods

MATH Examination for the Module MATH-3152 (May 2009) Coding Theory. Time allowed: 2 hours. S = q

Error Detection & Correction

3. Coding theory 3.1. Basic concepts

EE 229B ERROR CONTROL CODING Spring 2005

MATH 291T CODING THEORY

Chapter 3 Linear Block Codes

MATH3302 Coding Theory Problem Set The following ISBN was received with a smudge. What is the missing digit? x9139 9

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

Advanced Higher Mathematics for INFOTECH Final exam 28. March 2012

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

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

Channel Coding I. Exercises SS 2017

MATH 433 Applied Algebra Lecture 22: Review for Exam 2.

Fault Tolerant Computing CS 530 Information redundancy: Coding theory. Yashwant K. Malaiya Colorado State University

G Solution (10 points) Using elementary row operations, we transform the original generator matrix as follows.

WEIGHT DISTRIBUTIONS OF SOME CLASSES OF BINARY CYCLIC CODES

Turbo Codes for Deep-Space Communications

ELEC3227/4247 Mid term Quiz2 Solution with explanation

Decoding Algorithm and Architecture for BCH Codes under the Lee Metric

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

Codes used in Cryptography

On Syndrome Decoding of Chinese Remainder Codes

MATH/MTHE 406 Homework Assignment 2 due date: October 17, 2016

Chapter10 Convolutional Codes. Dr. Chih-Peng Li ( 李 )

Exercises with solutions (Set B)

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

Math 512 Syllabus Spring 2017, LIU Post

ELG 5372 Error Control Coding. Lecture 12: Ideals in Rings and Algebraic Description of Cyclic Codes

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

Vector spaces. EE 387, Notes 8, Handout #12

7.1 Definitions and Generator Polynomials

Information Redundancy: Coding

A Brief Encounter with Linear Codes

Reverse Berlekamp-Massey Decoding

1 Vandermonde matrices

Some Easily Decoded, Efficient, Burst Error Correcting Block Codes

EE 229B ERROR CONTROL CODING Spring 2005

: Error Correcting Codes. November 2017 Lecture 2

16.36 Communication Systems Engineering

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

Algebra for error control codes

Channel Coding I. Exercises SS 2017

Convolutional Codes ddd, Houshou Chen. May 28, 2012

VLSI Architecture of Euclideanized BM Algorithm for Reed-Solomon Code

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

Skew cyclic codes: Hamming distance and decoding algorithms 1

Introduction to Binary Convolutional Codes [1]

Optical Storage Technology. Error Correction

Ma/CS 6b Class 25: Error Correcting Codes 2

COMPSCI 650 Applied Information Theory Apr 5, Lecture 18. Instructor: Arya Mazumdar Scribe: Hamed Zamani, Hadi Zolfaghari, Fatemeh Rezaei

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

2-4 Zeros of Polynomial Functions

} has dimension = k rank A > 0 over F. For any vector b!

Example of Convolutional Codec

The extended coset leader weight enumerator

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

Transcription:

Solutions or answers to Final exam in Error Control Coding, October, Solution to Problem a) G(D) = ( +D, +D + D ) b) The rate R =/ and ν i = ν = m =. c) Yes, since gcd ( +D, +D + D ) =+D + D D j. d) An equivalent encoding matrix is G eqv = ( +D, +D + D ) which is non-catastrophic, thus suitable. Its observer canonical form is: d + v t u t d + d + v t Solution to Problem a) It is an (N,K) =(, ) code, so K =is the number of codewords. b) An equivalent generator matrix is given by: G eqv = This gives the generator polynomial FromTheorem.6inthebookwehave: Since g(x) =+X + X + X + X + X 8 + X. If g(x) is a polynomial of degree N K and is a factor of X N +,theng(x) generates an (N,K) cyclic code. we verify that it is a cyclic code. X +=(X + X + X +) g(x) c) From the solution to Problem.6 in the book we get Pr{bit 7 in a codeword is a } =/.

Solutions or answers to Final exam in Error Control Coding, October, Solution to Problem a) The overall rate is R system =.979 db. b) First we calculate the metric. From the problem we know that E b N =db. This together with the overall rate gives the transition probabilities when E s /N =.98 db, and from these we get the metric. 6 7 -.98 db.897.6.9..98.68.6.698 μ V 88 We know that u t u t+ u t+ u t+ is the input to the convolutional encoder, hence, the possible ending, and starting, states is one of the following: σ start = σ end {,,, } So, there is four decoding cases to be considered for this tailbiting code. Case: σ start = σ end = t = 6 7 6 7 86 9 96

Solutions or answers to Final exam in Error Control Coding, October, Case: σ start = σ end = t = 7 6 7 6 6 9 7 96 8 96 8 Case: σ start = σ end = t = 6 7 6 7 8 6 8 8 89 86 6

Solutions or answers to Final exam in Error Control Coding, October, Case: σ start = σ end = t = 6 7 6 7 8 86 7 6 7 6 Best result, i.e., highest ending metric (=89) is for the case σ start = σ end =. This gives the decoded sequence û =.

Solutions or answers to Final exam in Error Control Coding, October, Solution to Problem First we specify the structure of F = {,,t,+t, t, +t,t+ t, +t + t }. If we choose α = t and the irreduceable polynomial a(t) =+t+t we get the multiplication table: i α i Polynomial Binary Octal α t α t α + t 6 α t+ t α + t+ t 7 6 α 6 + t a) The number of codewords in C 6 is given by ( 6 ) K =( 6 ) = 8 b) The number of codewords in C is given by ( ) K ( ) K =( ) ( ) = 8, i.e., the same number of codewords as C 6. c) ThebestcodeisC. It is capable of correcting all errors which are corrected by the code C 6. In addition to this, it can correct errors which are not corrected by the code C 6.Asanexample of this we have the binary error pattern:... For the C 6 code this is an tripple error but for each of the sub-codes of C, i.e., both for the left code l = l l...l 6 and for the right code r = r r...r 6, the error pattern will be double errors. d) The degree of the generator polynomial g(x) = N K i= ( X ω i ) is N K =, and the degree of the parity-check-polynomial h(x) = N N K+ ( X ω i ) is K =. Hence, we will select the structure of the encoder based on h(x) to fulfill the requirement as few delay elements as possible. We select ω = α and get h(x) = ( X + α )( X + α 6)( X + α 7) = = ( X + ( α + α 6) X + α ) (X +)= ( X + αx + α ) (X +)= = X +(α +)X + ( α + α ) X + α = X + α X + α X + α From this we get the systematic encoder which is a linear feedback shift register with the connection polynomial Λ(X) =X h( X )=+α X + α X + α X.

Solutions or answers to Final exam in Error Control Coding, October, 6 e) We will show how a nonzero codeword is created with the encoder by exemplyfing with a sub-codeword r = r r...r 6. Here we assume that r 6 is the first symbol leaving the encoder. From the connection polynomial we get the feedback to the shift register r i = α r i+ + α r i+ + α r i+. Assume we have the non-zero message u = α α α, where the rightmost α is the first symbol entering the encoder. Hence, r r r 6 = α α α since the encoder is systematic. This is an example of how the codeword Feedback State i r i r i+ r i+ r i+ α 6 + α 6 + α 7 = α α α α + α + α 8 = α α α α 7 + α + α 7 = α α α α + α 6 + α = α α α r = α α α α α α α =[or in octal notation ]=66 is generated in a systematic way. If we multiply this codeword with α we get a new codeword: Solution to Problem Decoding, if possible, the sequence is the same as first decoding the sequence l = α r = α 6 α 6 α α α α α = r = 6 7 r L = 6 and then the sequence r R = 7. Comment: Comparing these sequences with the solution to Problem, we see that the first sequence contains two errors and the last sequence contains one error. Decoding, part, the sequence r L First, formulate the received sequence as a polynomial. r L (x) =α + α x + α x +x + α x + αx + αx 6 Calculate the syndrom, or frequence components. E = r L (α) = α +α +α 6 +α +α 7 +α 6 +α 7 = α E = r L (α ) = α +α +α 8 +α 6 +α +α +α = E = r L (α ) = α +α +α +α 9 +α +α 6 +α 9 = α 6 E = r L (α ) = α +α 6 +α +α +α 9 +α +α = Decoding with the Euclidean Algorithm is the same as iterating the equations { Zo,i (X) = Z o,i (X) Q i (X)Z o,i (X) Λ i (X) = Λ i (X) Q i (X)Λ i (X)

Solutions or answers to Final exam in Error Control Coding, October, 7 until deg (Z o,i (X)) < deg (Λ i (X)) (N K)/ =. From this we get i Z o,i (X) Q i (X) Λ i (X) X X + α 6 X + α α X + α X + α X + α 6 X + α 6 αx + α X + α α X + α 6 X + α Λ(X) =Λ (X) =α X + α 6 X + α = α ( +α X )( +α 6 X ) and we have errors at postitions and 6 since λ =Λ(α )=and λ 6 =Λ(α 6 )=. The values are given by where Finally e i = Z (α i ) Λ (α i ) Λ (X) =α ( α ( + α 6 X)+α 6 ( + α X) ). e = Z (α ) Λ (α ) = α and e 6 = Z (α 6 ) Λ (α 6 ) Decoding, part, the sequence r R First, formulate the received sequence as a polynomial. =. r R (x) =α 6 + α 6 x + αx + α x +x + α x +x 6 Calculate the syndrom, or frequence components. E = r R (α) = α 6 +α 7 +α +α 7 +α +α +α 6 = α E = r R (α ) = α 6 +α 8 +α +α +α 8 +α +α = α E = r R (α ) = α 6 +α 9 +α 7 +α +α +α +α 8 = E = r R (α ) = α 6 +α +α 9 +α 6 +α 6 +α +α = α i Z o,i (X) Q i (X) Λ i (X) X α X + X + α X + α α 8 α X + α α X + α From this we get Λ(X) =Λ (X) =α X + α = α ( +α X ) and we have an error at postition since λ =Λ(α )=. Λ (X) =α 9 = α The error value is given by e = Z (α ) Λ (α ) = α8 α = α6.