June, 1974 the Project of Hyun-Sik Choi Is Approved

Total Page:16

File Type:pdf, Size:1020Kb

June, 1974 the Project of Hyun-Sik Choi Is Approved CALIFORNIA STATE UNIVERSITY, NORTHRIDGE GENERATION AND DECODING OF ERROR CORRECTING CODES 'I A project submitted in partial satisfaction of the requirements for the degree of Master of Science in Engineering by Hyun-sik Chci -/ June, 1974 The project of Hyun-Sik Choi is approved: Co~~ittee Chairman California State University, Northridge June, 1974 L---------------------------------------------~--------------J ii ~- ------------------------------·-·-···----------·---·-·--------·--······--··-------··-----· -- ·---·· ···-·-·-····-· ··: ! . TABLE OF CONTENTS Page LIST OF TABLES . • • • • • • • • $ e • • • • • • iv LIST OF FIGURES . v LIST OF SYMBOLS • • • 0 • • • • • • • • • • • • vi ABSTRACT . vii SECTION I OVERVIEW . e . 8 . 1 II THE ENCODER FOR A (7. 4) HAMMING CODE . 4 III THE DECODER FOR A (7. 4) HAMMING CODE . 11 1. Standard Array . 11 2. Syndrome Calculation . 11 3. General Decoder . 13 4. Meggitt Decoder . 15 5. Meggitt Decoder for a (7. 4) Hamming_ ~ Code . 19 IV BURST-ERROR-CORRECTING HAMMING CODE . 25 v DOUBLE-ERROE-CORRECTING BCH (15, 7) CODE 28 VI DISCUSSION . 35 A. BIBLIOGRAPHY . 36 iii ,--·--·---------~-----~--~----··---·--·---~----------·-·-~- -~--------·------~·--·-------·------·--·----~-------------------- ! LIST OF TABLES Table Page I Division of a j7,4) Hamming Code by 7 g(x) = l+x+x •••••••• . II Step-by-step operation of the parity check digit calculation in Figure II 9 III A (7, 4) Hamming code generated by 3 g(x) = l+x+x •••••••• 10 IV A standard array for the (7, 4) Hamming code (Error Pattern) • • • • • 12 V Calculation of syndrome and corresponding coset leader LReceived a (7. 4) Hamming Code J. 14 VI Step-by-step operation of the syndrome calculation of the circuit on figure III 17 VII Syndrome calculation for Meggitt decoder r a ( 7 • 4) Hamming code J. 21 • VIII Step-by-step operation for a (7.4) Hamming decoder of the circuit on figure V • • • • • • • • • • • • 23 IX Error correction procedures of the circuit on figure V • • • . • • 24 X The Galois field of 24 elements GF(24) with p(d)=~+ct+ 1=0 (or ~=~1) • • • • 29 iv LIST OF FIGURES Figure Page I Block diagram for a typical data communication . • • • • • • • . 1 II A (7. 4} Hamminj encoder generated by g (x} = l+x+x . 8 III A (7. 4} Hamminj decoder generated by g (x} = l+x+x . 16 IV Meggitt decoder • • $ • • • • • 18 v Meggitt decoder for a (7.4} Hamming code • • • • • • • • • • • • • 22 VI A (8, 4} Hamming encoder generated by g(X}=X4+X+l . • . • • • • • • • • 27 VII A (8, 4} Hamming decoder with single-burst- correction of length 2 • • • • • • 27 VIII The BCH {15,7} encoder generated by ; g(x}=l+x4+x6+x7+x8 .•.•• 33 ' IX Type I, one-step majority-logic decoder for the BCH (15,7) code generated by g(x)=l+x4+x6+x7+x8 •••.•.••. ~ 33 v LIST OF SYMBOLS n Code word length k Number of information digits m Number of transmitted message digits r Transmitted parity check symbols X Polynomial coefficient v Transmitted code word R Received code word m' Number of received message digits r' Received parity check symbols g (x) Primitive polynomial q (x) Quotient s Syndrom dmin Hamming code minimum distance 0 Modulo-2 adder -o-~ Shift register storage device k/n Code rate vi r-·------·------·--·-----··-----·-···---------·---- ·-·-------·------·-··------·--···-·--·-·--------·------ ·-- , ! ABSTRACT GENERATION AND DECODING OF ERROR CORRECTING CODE by Hyun-sik Choi Master of Science in Engineering June, 1974 The purpose of this project is to present error- correcting procedures and their encoding-decoding tech- niques . : All codes are based on the mathematical concept of error-correcting codes. The codes described in this pro- ject are a single-error-correcting Hamrrting (7,4) code, a burst-error-correcting Hamming (8,4) code with a burst of error of length 2, and a double-error-correcting Bose- Chaudhuri-Hocguenghem (15,7) code. The meggitt decoding (error-trapping decoding) is used to demonstrate practical application of the Hamming (7,4) and (8,4) codes. Also, one-step majority-logic decoding is used to demonstrate practical application of the Bose-Chaudhuri-Hocquenghem (15,7} code. These decodings are simple applications of a variety of mathe- matical proofs and relations. vii ]· SECTION I I OVERVIEW I The block diagram of a binary digital cormmmication system is shown in Figure I. The channel is a medium over which signals containing useful information are transmitted. Typical examples of transmission channels are telephone lines, high frequency radio links and space communication links. The channel is usually subject to various types of noise disturbance. Binary Binary Message ~ Encoder ~ Channel Decoder Message Input Output . T Noise Figure I Block diagrame of a typical data communication The coding problem is to design properly the encoder and decoder units so that the binary bits coming out of decoder match those that entered the encoder--even if errors occur within the noisy channel. The practical error-correcting codes can not I compensate for every conceivable error pattern, but they , can be designed to correct the most likely types of I 1 errors. I I . l L---~-··-----·~-·-------------~·-···-------------·----~-···--···-----------~---·--~----1 1 2 Block Codes In digital communication systems, nearly all of the codes used are block codes. A block code is one that uses fixed-length sequencing of code symbols. Each sequence, or block, represents a code word. The job of the encoder units is to form these code words properly. The decoder unit must correctly identify each code word. Cyclic Code One class of block codes that has desirable mathe- matical properties is the class of cyclic codes. These codes are the basis for many practical digital communi- cation coding systems. A cyclic code can be completely specified by a polynomial called a generator polynomial. Code Words can be generated by forming multiples of this polynomial. Code words can be identified as correct when division by the generator polynomial results in a zero reminder. Hamming Code This code is easily described in terms of its purity check matrix and requires the minimum number of check symbols for a single error correcting code. In general, a code with minimum Hamming distance (d min) contains error-correcting capability t. Error correcting capa- bility is. t = (d min - 1)/2. • n-k n-k Consider the (2 - 1 = 7, 2 - n-k- 1 = 4) Hamming code over the field elements l's and O's. The following is the relation between various parameters of the code; Code length; Number of parity check digits; n - k Number of information digits; k = 2 ~-~-k - 1 The (7, 4) Hamming code has a minimum distance of 3 and is capable of correcting all single errors. The code word has length 7 with 3 parity check digits, and 4 information digits. Section II will describe encoding techniques incorporated with the (7, 4) Hamming code. The encoder, according to some rule, transforms the input information sequence m into some longer binary sequence v, which is called the code word of m. Section III will describe decoding techniques . incorporated with the (7, 4) Hamming code. The decoder, (based on the received sequencer, the rule of encoding), does correct and detect the received code word r over a noisy channel. Section IV will describe decoding technique incorpo- rated with the (8, 4) Hamming code. The decoder does detect and correct a burst of error of length 2. 4 SECTION II THE ENCODER FOR A (7.4) HAMMING CODE Consider the (7.4) Hamming code generated by given primitive polynomial g(x) = l+x+x3 • The message to be encoded is: and the corresponding message polynomial of degree k-1 is; m(x) = m +m x+m x 2+m x 3 . 0 1 2 3 3 Given the generator polynomial g(x) = l+x+x of a (7.4) Hamming code, the code can be put into the systematic form. That is, first n-k = 3 digits of each code word are parity check digits; the last k = 4 digits are the unaltered information digits. We can multiply message polynomial m(x) by xn-k = x3 and divide it by g(x) to obtain systematic code words. x 3m(x) = m x 3+m x 4+m x 5+m x 6 (1) 0 1 2 3 Dividing x 3m(x) by g(x) = l+x+x3 we obtain: x 3m(x) = q(x)g(x)+r(x) where q(x) = quotient r(x) =remainder Since the degree of the generator polynomial g(x) is n-k = 3, the degree of r(x) must be n-k-1 = 2 or less. Then r(x) = r +r x+r s2 (2) 0 1 2 Rearranging Eq (2) , we obtain 5 r{x)+x3m(x) = q(x)g(x). This indicates that r(x) + x 3m(x) is a multiple of g(x) and has degree n-1 or less. Therefore, r(x) + x 3m(x) is a code polynomial of the (7.4) Hamming code generated by g(x). Writing out r(x)+x3m(x), using Eq (1) and (2); r(x) + x 3m(x) = r +4 x+r x 2 +m x 3 +m x 4 +m x 5 +m x 6 0 1 2 0 1 2 3 and the code word is: ( ro, rl, r2, mO,ml, m2' m3 ) Parity check Information digits digits where terms r and mj are l's or O's. Therefore, ~he 1 code word consists of unaltered k = 4 information digits followed by n-k = 3 parity check digits.· In connection with cyclic codes, the following convention will be used. The first n-k = 3 symbols, coefficients of l,x,x 2 , will be taken as parity check digits and the last k = 4 digits, coefficients of x 3 , x 4 , x 5 , x 6 , will be taken as informa- tion digits. Division of a (7.4) Hamming code by g(x) is shown in Table I and step-by-step operation encoding circuit is shown in Figure II and Table II, respectively.
Recommended publications
  • Introduction to Coding Theory
    Introduction Why Coding Theory ? Introduction Info Info Noise ! Info »?# Sink to Source Heh ! Sink Heh ! Coding Theory Encoder Channel Decoder Samuel J. Lomonaco, Jr. Dept. of Comp. Sci. & Electrical Engineering Noisy Channels University of Maryland Baltimore County Baltimore, MD 21250 • Computer communication line Email: [email protected] WebPage: http://www.csee.umbc.edu/~lomonaco • Computer memory • Space channel • Telephone communication • Teacher/student channel Error Detecting Codes Applied to Memories Redundancy Input Encode Storage Detect Output 1 1 1 1 0 0 0 0 1 1 Error 1 Erasure 1 1 31=16+5 Code 1 0 ? 0 0 0 0 EVN THOUG LTTRS AR MSSNG 1 16 Info Bits 1 1 1 0 5 Red. Bits 0 0 0 0 0 0 0 FRM TH WRDS N THS SNTNCE 1 1 1 1 0 0 0 0 1 1 1 Double 1 IT CN B NDRSTD 0 0 0 0 1 Error 1 Error 1 Erasure 1 1 Detecting 1 0 ? 0 0 0 0 1 1 1 1 Error Control Coding 0 0 1 1 0 0 31% Redundancy 1 1 1 1 Error Correcting Codes Applied to Memories Input Encode Storage Correct Output Space Channel 1 1 1 1 0 0 0 0 Mariner Space Probe – Years B.C. ( ≤ 1964) 1 1 Error 1 1 • 1 31=16+5 Code 1 0 1 0 0 0 0 Eb/N0 Pe 16 Info Bits 1 1 1 1 -3 0 5 Red. Bits 0 0 0 6.8 db 10 0 0 0 0 -5 1 1 1 1 9.8 db 10 0 0 0 0 1 1 1 Single 1 0 0 0 0 Error 1 1 • Mariner Space Probe – Years A.C.
    [Show full text]
  • Reed-Solomon Encoding and Decoding
    Bachelor's Thesis Degree Programme in Information Technology 2011 León van de Pavert REED-SOLOMON ENCODING AND DECODING A Visual Representation i Bachelor's Thesis | Abstract Turku University of Applied Sciences Degree Programme in Information Technology Spring 2011 | 37 pages Instructor: Hazem Al-Bermanei León van de Pavert REED-SOLOMON ENCODING AND DECODING The capacity of a binary channel is increased by adding extra bits to this data. This improves the quality of digital data. The process of adding redundant bits is known as channel encod- ing. In many situations, errors are not distributed at random but occur in bursts. For example, scratches, dust or fingerprints on a compact disc (CD) introduce errors on neighbouring data bits. Cross-interleaved Reed-Solomon codes (CIRC) are particularly well-suited for detection and correction of burst errors and erasures. Interleaving redistributes the data over many blocks of code. The double encoding has the first code declaring erasures. The second code corrects them. The purpose of this thesis is to present Reed-Solomon error correction codes in relation to burst errors. In particular, this thesis visualises the mechanism of cross-interleaving and its ability to allow for detection and correction of burst errors. KEYWORDS: Coding theory, Reed-Solomon code, burst errors, cross-interleaving, compact disc ii ACKNOWLEDGEMENTS It is a pleasure to thank those who supported me making this thesis possible. I am thankful to my supervisor, Hazem Al-Bermanei, whose intricate know- ledge of coding theory inspired me, and whose lectures, encouragement, and support enabled me to develop an understanding of this subject.
    [Show full text]
  • The Binary Golay Code and the Leech Lattice
    The binary Golay code and the Leech lattice Recall from previous talks: Def 1: (linear code) A code C over a field F is called linear if the code contains any linear combinations of its codewords A k-dimensional linear code of length n with minimal Hamming distance d is said to be an [n, k, d]-code. Why are linear codes interesting? ● Error-correcting codes have a wide range of applications in telecommunication. ● A field where transmissions are particularly important is space probes, due to a combination of a harsh environment and cost restrictions. ● Linear codes were used for space-probes because they allowed for just-in-time encoding, as memory was error-prone and heavy. Space-probe example The Hamming weight enumerator Def 2: (weight of a codeword) The weight w(u) of a codeword u is the number of its nonzero coordinates. Def 3: (Hamming weight enumerator) The Hamming weight enumerator of C is the polynomial: n n−i i W C (X ,Y )=∑ Ai X Y i=0 where Ai is the number of codeword of weight i. Example (Example 2.1, [8]) For the binary Hamming code of length 7 the weight enumerator is given by: 7 4 3 3 4 7 W H (X ,Y )= X +7 X Y +7 X Y +Y Dual and doubly even codes Def 4: (dual code) For a code C we define the dual code C˚ to be the linear code of codewords orthogonal to all of C. Def 5: (doubly even code) A binary code C is called doubly even if the weights of all its codewords are divisible by 4.
    [Show full text]
  • Cyclic Codes
    Cyclic Codes Saravanan Vijayakumaran [email protected] Department of Electrical Engineering Indian Institute of Technology Bombay August 26, 2014 1 / 25 Cyclic Codes Definition A cyclic shift of a vector v0 v1 ··· vn−2 vn−1 is the vector vn−1 v0 v1 ··· vn−3 vn−2 . Definition An (n; k) linear block code C is a cyclic code if every cyclic shift of a codeword in C is also a codeword. Example Consider the (7; 4) code C with generator matrix 21 0 0 0 1 1 03 60 1 0 0 0 1 17 G = 6 7 40 0 1 0 1 1 15 0 0 0 1 1 0 1 2 / 25 Polynomial Representation of Vectors For every vector v = v0 v1 ··· vn−2 vn−1 there is a polynomial 2 n−1 v(X) = v0 + v1X + v2X + ··· + vn−1X Let v(i) be the vector resulting from i cyclic shifts on v (i) i−1 i n−1 v (X) = vn−i +vn−i+1X +···+vn−1X +v0X +···+vn−i−1X Example v = 1 0 0 1 1 0 1, v(X) = 1 + X 3 + X 4 + X 6 v(1) = 1 1 0 0 1 1 0, v(1)(X) = 1 + X + X 4 + X 5 v(2) = 0 1 1 0 0 1 1, v(2)(X) = X + X 2 + X 5 + X 6 3 / 25 Polynomial Representation of Vectors • Consider v(X) and v(1)(X) 2 n−1 v(X) = v0 + v1X + v2X + ··· + vn−1X (1) 2 3 n−2 v (X) = vn−1 + v0X + v1X + v2X + ··· + vn−2X h 2 n−2i = vn−1 + X v0 + v1X + v2X + ··· + vn−2X n h n−2 n−1i = vn−1(1 + X ) + X v0 + ··· + vn−2X + vn−1X n = vn−1(1 + X ) + Xv(X) • In general, v(X) and v(i)(X) are related by X i v(X) = v(i)(X) + q(X)(X n + 1) i−1 where q(X) = vn−i + vn−i+1X + ··· + vn−1X • v(i)(X) is the remainder when X i v(X) is divided by X n + 1 4 / 25 Hamming Code of Length 7 Codeword Code Polynomial 0000000 0 1000110 1 + X 4 + X 5 0100011 X + X 5 + X 6 1100101 1 + X + X 4 + X 6 0010111 X 2 + X 4 + X 5 + X 6 1010001 1 + X 2 + X 6 0110100 X + X 2 + X 4 1110010 1 + X + X 2 + X 5 0001101 X 3 + X 4 + X 6 1001011 1 + X 3 + X 5 + X 6 0101110 X + X 3 + X 4 + X 5 1101000 1 + X + X 3 0011010 X 2 + X 3 + X 5 1011100 1 + X 2 + X 3 + X 4 0111001 X + X 2 + X 3 + X 6 1111111 1 + X + X 2 + X 3 + X 4 + X 5 + X 6 5 / 25 Properties of Cyclic Codes (1) Theorem The nonzero code polynomial of minimum degree in a linear block code is unique.
    [Show full text]
  • ABSTRACT IDEMPOTENTS in CYCLIC CODES by Benjamin Brame April 9, 2012
    ABSTRACT IDEMPOTENTS IN CYCLIC CODES by Benjamin Brame April 9, 2012 Chair: Dr. Zachary Robinson Major Department: Mathematics Cyclic codes give us the most probable method by which we may detect and correct data transmission errors. These codes depend on the development of advanced math- ematical concepts. It is shown that cyclic codes, when viewed as vector subspaces of a vector space of some dimension n over some finite field F, can be approached as polynomials in a ring. This approach is made possible by the assumption that the set of codewords is invariant under cyclic shifts, which are linear transformations. Developing these codes seems to be equivalent to factoring the polynomial xn −x over F. Each factor then gives us a cyclic code of some dimension k over F. Constructing factorizations of xn − 1 is accomplished by using cyclotomic polyno- mials and idempotents of the code algebra. The use of these two concepts together allows us to find cyclic codes in Fn. Hence, the development of cyclic codes is a journey from codewords and codes to fields and rings and back to codes and codewords. IDEMPOTENTS IN CYCLIC CODES A Thesis Presented to The Faculty of the Department of Mathematics East Carolina University In Partial Fulfillment of the Requirements for the Degree Master of Arts in Mathematics by Benjamin Brame April 9, 2012 Copyright 2012, Benjamin Brame IDEMPOTENTS IN CYCLIC CODES by Benjamin Brame APPROVED BY: DIRECTOR OF THESIS: Dr. Zachary Robinson COMMITTEE MEMBER: Dr. Chris Jantzen COMMITTEE MEMBER: Dr. Heather Ries COMMITTEE MEMBER: Dr. David Pravica CHAIR OF THE DEPARTMENT OF MATHEMATICS: Dr.
    [Show full text]
  • Cyclic Codes, BCH Codes, RS Codes
    Classical Channel Coding, II Hamming Codes, Cyclic Codes, BCH Codes, RS Codes John MacLaren Walsh, Ph.D. ECET 602, Winter Quarter, 2013 1 References • Error Control Coding, 2nd Ed. Shu Lin and Daniel J. Costello, Jr. Pearson Prentice Hall, 2004. • Error Control Systems for Digital Communication and Storage, Prentice Hall, S. B. Wicker, 1995. 2 Example of Syndrome Decoder { Hamming Codes Recall that a (n; k) Hamming code is a perfect code with a m × 2m − 1 parity check matrix whose columns are all 2m −1 of the non-zero binary words of length m. This yields an especially simple syndrome decoder look up table for arg min wt(e) (1) ejeHT =rHT In particular, one selects the error vector to be the jth column of the identity matrix, where j is the column of the parity check matrix which is equal to the computed syndome s = rHT . 3 Cyclic Codes Cyclic codes are a subclass of linear block codes over GF (q) which have the property that every cyclic shift of a codeword is itself also a codeword. The ith cyclic shift of a vector v = (v0; v1; : : : ; vn−1) is (i) the vector v = (vn−i; vn−i+1; : : : ; vn−1; v0; v1; : : : ; vn−i−1). If we think of the elements of the vector as n−1 coefficients in the polynomial v(x) = v0 + v1x + ··· + vn−1x we observe that i i i+1 n−1 n n+i−1 x v(x) = v0x + v1x + ··· + vn−i−1x + vn−ix + ··· + vn+i−1x i−1 i n−1 = vn−i + vn−i+1x + ··· + vn−1x + v0x + ··· + vn−i−1x n n i−1 n +vn−i(x − 1) + vn−i+1x(x − 1) + ··· + vn+i−1x (x − 1) Hence, i n i−1 i i+1 n−1 (i) x v(x)mod(x − 1) = vn−i + vn−i+1x + ··· + vn−1x + v0x + v1x + ··· + vn−i−1x = v (x) (2) That is, the ith cyclic shift can alternatively be thought of as the operation v(i)(x) = xiv(x)mod(xn − 1).
    [Show full text]
  • Finding Cyclic Redundancy Check Polynomials for Multilevel Systems James A
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by University of Richmond University of Richmond UR Scholarship Repository Math and Computer Science Faculty Publications Math and Computer Science 10-1998 Finding Cyclic Redundancy Check Polynomials for Multilevel Systems James A. Davis University of Richmond, [email protected] Miranda Mowbray Simon Crouch Follow this and additional works at: http://scholarship.richmond.edu/mathcs-faculty-publications Part of the Mathematics Commons Recommended Citation Davis, James A., Miranda Mowbray, and Simon Crouch. "Finding Cyclic Redundancy Check Polynomials for Multilevel Systems." IEEE Transactions on Communications 46, no. 10 (October 1998): 1250-253. This Article is brought to you for free and open access by the Math and Computer Science at UR Scholarship Repository. It has been accepted for inclusion in Math and Computer Science Faculty Publications by an authorized administrator of UR Scholarship Repository. For more information, please contact [email protected]. 1250 IEEE TRANSACTIONS ON COMMUNICATIONS, VOL. 46, NO. 10, OCTOBER 1998 Finding Cyclic Redundancy Check Polynomials for ,Multilevel Systems James A. Davis, Miranda Mowbray, and Simon Crouch Abstract-This letter describes a technique for finding cyclic for using all nine levels rather than, effectively, just eight, redundancy check polynomials for systems for transmission over in that with nine levels there are more possible choices for symmetric channels which encode information in multiple voltage code words which do not encode data, but are special signals levels, so that the resulting redundancy check gives good error protection and is efficient to implement. The codes which we used for synchronization information or to signal the end of construct have a Hamming distance of 3 or 4.
    [Show full text]
  • Cyclic Redundancy Code Theory
    Appendix A CYCLIC REDUNDANCY CODE THEORY “It is hard to establish . who did what first. E. N. Gilbert of the Bell Telephone Laboratories derived much of linear theory a year or so earlier than either Zierler, Welch, or myself, . the first investigation of linear recurrence relations modulo p goes back as far as Lagrange, in the eighteenth century, and an excellent modern treatment was given ( . purely mathematical . ) by Marshall Hall in 1937.” — Solomon W. Golomb [264]. Cyclic redundancy code theory is described in this appendix because it is im- portant for built-in self-testing (BIST), and for Memory ROM testing. Cyclic re- dundancy codes have been extensively used for decades in the computer industry to guarantee correct recording of blocks on disk and magnetic tape drives. They also are extensively used for encoding and decoding communication channel burst errors, where a transient fault causes several adjacent data errors. Preliminaries. We express the binary vector as the polynomial As an example, 10111 is written as [36, 37]. The degree of the polynomial is the superscript of the highest non-zero term. Polynomial addition and subtraction arithmetic is performed similarly to integer arithmetic, except that the arithmetic is modulo 2. In this case, addition and subtraction will have the same effect. As an example, let (degree 3) and (degree 2.) We can describe the remainders of polynomials modulus a polynomial. Two polynomials r(x) and s(x) will be congruent modulus polynomial n(x), written 616 Appendix A. CYCLIC REDUNDANCY CODE THEORY as mod n(x) if a polynomial q(x) such that We find the residue (the remainder) by dividing r(x) by n(x).
    [Show full text]
  • Error-Correcting Codes
    Error-Correcting Codes Matej Boguszak Contents 1 Introduction 2 1.1 Why Coding? . 2 1.2 Error Detection and Correction . 3 1.3 Efficiency Considerations . 8 2 Linear Codes 11 2.1 Basic Concepts . 11 2.2 Encoding . 13 2.3 Decoding . 15 2.4 Hamming Codes . 20 3 Cyclic Codes 23 3.1 Polynomial Code Representation . 23 3.2 Encoding . 25 3.3 Decoding . 27 3.4 The Binary Golay Code . 30 3.5 Burst Errors and Fire Codes . 31 4 Code Performance 36 4.1 Implementation Issues . 36 4.2 Test Description and Results . 38 4.3 Conclusions . 43 A Glossary 46 B References 49 1 2 1 Introduction Error-correcting codes have been around for over 50 years now, yet many people might be surprised just how widespread their use is today. Most of the present data storage and transmission technologies would not be conceiv- able without them. But what exactly are error-correcting codes? This first chapter answers that question and explains why they are so useful. We also explain how they do what they are designed to do: correct errors. The last section explores the relationships between different types of codes as well the issue of why some codes are generally better than others. Many mathemat- ical details have been omitted in this chapter in order to focus on concepts; a more rigorous treatment of codes follows shortly in chapter 2. 1.1 Why Coding? Imagine Alice wants to send her friend Bob a message. Cryptography was developed to ensure that her message remains private and secure, even when it is sent over a non-secure communication channel, such as the internet.
    [Show full text]
  • Open Problems on Cyclic Codes∗∗
    Open problems on cyclic codes∗∗ Pascale Charpin ∗ Contents 1 Introduction 3 2 Different kinds of cyclic codes. 4 2.1 Notation . 5 2.2 Definitions . 6 2.3 Primitive and non primitive cyclic codes . 17 2.4 Affine-Invariant codes . 21 2.4.1 The poset of affine-invariant codes . 22 2.4.2 Affine-invariant codes as ideals of A . 28 3 On parameters of cyclic codes. 34 3.1 Codewords and Newton identities . 35 3.2 Special locator polynomials . 47 3.3 On the minimum distance of BCH codes . 59 3.4 On the weight enumerators . 65 3.4.1 The Reed-Muller codes . 67 3.4.2 On cyclic codes with two zeros . 71 3.4.3 On irreducible cyclic codes . 83 3.5 Automorphism groups of cyclic codes . 88 3.6 Are all cyclic codes asymptotically bad ? . 90 ∗INRIA, Projet CODES, Domaine de Voluceau, Rocquencourt BP 105, 78153 Le Ches- nay Cedex, FRANCE. e-mail: [email protected] 1 4 Related problems. 90 4.1 Some problems in cryptography . 91 4.2 Cyclic codes and Goppa codes . 96 4.3 On the weight enumerator of Preparata codes . 104 5 Conclusion 117 ∗∗ \Handbook of Coding Theory", Part 1: Algebraic Coding, chapter 11, V. S. Pless, W. C. Huffman, editors, R. A. Brualdi, assistant editor. Warning. The Handbook of Coding Theory was published in 1998. Some research problems, presented as Open problems in this chapter, are solved, or partially solved, today. 2 1 Introduction We do not intend to give an exhaustive account of the research problems on cyclic codes.
    [Show full text]
  • The Impact of Hamming Code and Cyclic Code on MPSK and MQAM Systems Over AWGN Channel: Performance Analysis
    Universal Journal of Electrical and Electronic Engineering 8(1): 9-15, 2021 http://www.hrpub.org DOI: 10.13189/ujeee.2021.080102 The Impact of Hamming Code and Cyclic Code on MPSK and MQAM Systems over AWGN Channel: Performance Analysis Amjad Abu-Baker∗, Khaled Bani-Hani, Firas Khasawneh, Abdullah Jaradat Department of Telecommunications Engineering, Yarmouk University, Irbid, Jordan Received January 10, 2021; Revised February 19, 2021; Accepted March 23, 2021 Cite This Paper in the following Citation Styles (a): [1] Amjad Abu-Baker, Khaled Bani-Hani, Firas Khasawneh, Abdullah Jaradat, ”The Impact of Hamming Code and Cyclic Code on MPSK and MQAM Systems over AWGN Channel: Performance Analysis,” Universal Journal of Electrical and Electronic Engineering, Vol.8, No.1, pp. 9-15, 2021. DOI: 10.13189/ujeee.2021.080102. (b): Amjad Abu-Baker, Khaled Bani-Hani, Firas Khasawneh, Abdullah Jaradat, (2021). The Impact of Hamming Code and Cyclic Code on MPSK and MQAM Systems over AWGN Channel: Performance Analysis. Universal Journal of Electrical and Electronic Engineering, 8(1), 9-15. DOI: 10.13189/ujeee.2021.080102. Copyright ©2021 by authors, all rights reserved. Authors agree that this article remains permanently open access under the terms of the Creative Commons Attribution License 4.0 International License Abstract Designing efficient and reliable data transmission 1 Introduction systems is an attractive area of research as it has become an essential requirement for the cutting-edge technologies. Error Recently, we have witnessed a great demand on the appli- Control Coding (ECC) is a method used to control errors in cations of the internet of things (IoT) where providing reliable a message to achieve reliable delivery through unreliable or and fast communication systems become essential requirement noisy channel.
    [Show full text]
  • Part III Cyclic Codes
    Part III Cyclic codes CHAPTER 3: CYCLIC CODES, CHANNEL CODING, LIST DECODING Cyclic codes are very special linear codes. They are of large interest and importance for several reasons: They posses a rich algebraic structure that can be utilized in a variety of ways. They have extremely concise specifications. Their encodings can be efficiently implemented using simple machinery - shift registers. Many of the practically very important codes are cyclic. Channel codes are used to encode streams of data (bits). Some of them, as Concatenated codes and Turbo codes, reach theoretical Shannon bound concerning efficiency, and are currently used very often in practice. List decoding is a new decoding mode capable to deal, in an approximate way, with cases of many errors, and in such a case to perform better than classical unique decoding. Locally decodable codes can be seen as theoretical extreme of coding theeory with deep theoretical implications. prof. Jozef Gruska IV054 3. Cyclic codes 2/82 IMPORTANT NOTE In order to specify a non-linear binary code with 2k codewords of length n one may need to write down 2k codewords of length n. In order to specify a linear binary code of the dimension k with 2k codewords of length n it is sufficient to write down k codewords of length n. In order to specify a binary cyclic code with 2k codewords of length n it is sufficient to write down 1 codeword of length n. prof. Jozef Gruska IV054 3. Cyclic codes 3/82 BASIC DEFINITION AND EXAMPLES Definition A code C is cyclic if (i) C is a linear code; (ii) any cyclic shift of a codeword is also a codeword, i.e.
    [Show full text]