Iterative Decoding for Error Resilient Wireless Data Transmission

Total Page:16

File Type:pdf, Size:1020Kb

Iterative Decoding for Error Resilient Wireless Data Transmission University of Southern Queensland Faculty of Engineering and Surveying Iterative Decoding for Error Resilient Wireless Data Transmission A dissertation submitted by Tawfiqul Hasan Khan in fulfillment of the requirements of Courses ENG4111 and 4112 Research Project towards the degree of Bachelor of Engineering (Software) Submitted: November, 2006 Abstract Both turbo codes and LDPC codes form two new classes of codes that offer energy efficiencies close to theoretical limit predicted by Claude Shannon. The features of turbo codes include parallel code catenation, recursive convolutional encoders, punctured convolutional codes and an associated decoding algorithm. The features of LDPC codes include code construction, encoding algorithm, and an associated decoding algorithm. This dissertation specifically describes the process of encoding and decoding for both turbo and LDPC codes and demonstrates the performance comparison between theses two codes in terms of some performance factors. In addition, a more general discussion of iterative decoding is presented. One significant contribution of this dissertation is a study of some major performance factors that intensely contribute in the performance of both turbo codes and LDPC codes. These include Bit Error Rate, latency, code rate and computational resources. Simulation results show the performance of turbo codes and LDPC codes under different performance factors. i University of Southern Queensland Faculty of Engineering and Surveying ENG411 & ENG4112 Research Project Limitations of Use The Council of the University of Southern Queensland, its Faculty of Engineering and Surveying, and the staff of the University of Southern Queensland, do not accept any responsibility for the truth, accuracy or completeness of material contained within or associated with this dissertation. Persons using all or any part of this material do so at their own risk, and not at the risk of the Council of the University of Southern Queensland, its Faculty of Engineering and Surveying or the staff of the University of Southern Queensland. This dissertation reports an educational exercise and has no purpose or validity beyond this exercise. The sole purpose of the course pair entitled "Research Project" is to contribute to the overall education within the student’s chosen degree program. This document, the associated hardware, software, drawings, and other material set out in the associated appendices should not be used for any other purpose: if they are so used, it is entirely at the risk of the user. Prof G Baker Dean Faculty of Engineering and Surveying ii Certification I certify that the ideas, designs and experimental work, results and analyses and conclusions set out in this dissertation are entirely my own effort, except where otherwise indicated and acknowledged. I further certify that the work is original and has not been previously submitted for assessment in any other course or institution, except where specifically stated. Tawfiqul Hasan Khan Student Number: D1231090 ________________________________ Signature ________________________________ Date iii Acknowledgements I wish to extend my gratitude to Dr. Wei Xiang of the Faculty of Engineering and Surveying, University of Southern Queensland, as my supervisor and for his timely and dedicated assistance throughout the conduct of this project and dissertation. Without his knowledge, experience and supervision, completion of this task would have been much more difficult. Special thanks are also due to my father Mazharul Hasan Khan and my mother Yasmeen Ahmed for their moral support. iv Contents Page Abstract............................................................................................................................... i Certification...................................................................................................................... iii Acknowledgements........................................................................................................... iv Contents ..............................................................................................................................v List of Figures................................................................................................................. viii List of Tables ......................................................................................................................x List of Appendices........................................................................................................... xii Chapter 1 Introduction.....................................................................................................1 1.1 Wireless communications ....................................................................................2 1.1.1 Cellular communication systems .............................................................3 1.1.2 Paging systems.........................................................................................6 1.1.3 Wireless data networks ............................................................................7 1.1.4 Cordless telephony...................................................................................8 1.1.5 Satellite telephony....................................................................................9 1.1.6 Third generation systems .......................................................................10 1.2 Other applications of error control coding.........................................................10 1.2.1 Hamming codes......................................................................................11 1.2.2 The binary Golay code...........................................................................12 1.2.3 Binary cyclic codes ................................................................................12 1.3 Purpose and structure of thesis...........................................................................13 v Chapter 2 Error correction coding................................................................................15 2.1 History................................................................................................................16 2.2 Basic concepts of error correcting coding..........................................................17 2.3 Shannon capacity limit.......................................................................................19 2.4 Block codes ........................................................................................................20 2.5 Convolution codes..............................................................................................21 2.6 Concatenated codes............................................................................................23 2.7 Iterative decoding for soft decision codes..........................................................23 2.7.1 Turbo codes............................................................................................24 2.7.2 LDPC codes ...........................................................................................26 2.8 Chapter summary ...............................................................................................28 Chapter 3 Turbo codes: Encoder and decoder construction ......................................29 3.1 Constituent block codes .....................................................................................29 3.1.1 Encoding of block codes ........................................................................30 3.1.2 Systematic codes ....................................................................................31 3.2 Constituent convolution codes ...........................................................................32 3.2.1 Encoding of convolution codes..............................................................32 3.2.2 State diagram..........................................................................................33 3.2.3 Generator matrix ....................................................................................34 3.2.4 Trellis diagram .......................................................................................35 3.2.5 Punctured convolution codes .................................................................36 3.2.6 Recursive systematic codes....................................................................38 3.3 Classes of soft-input, soft- output decoding algorithms ....................................41 3.3.1 Viterbi algorithm....................................................................................41 3.3.2 Soft-output Viterbi algorithm (SOVA) ..................................................43 3.3.3 Maximum- a – Posteriori ( MAP ) algorithm.........................................45 3.3.4 Max –Log- MAP and Log- MAP algorithms.........................................49 3.4 Encoding of turbo codes.....................................................................................53 3.5 Overview of turbo decoding ..............................................................................56 3.5.1 Soft-input, soft- output decoding ...........................................................56 3.5.2 Turbo decoder schematic .......................................................................58 vi 3.5.3 Example of turbo decoding ....................................................................60 3.6 Chapter summary ...............................................................................................61 Chapter
Recommended publications
  • Mceliece Cryptosystem Based on Extended Golay Code
    McEliece Cryptosystem Based On Extended Golay Code Amandeep Singh Bhatia∗ and Ajay Kumar Department of Computer Science, Thapar university, India E-mail: ∗[email protected] (Dated: November 16, 2018) With increasing advancements in technology, it is expected that the emergence of a quantum computer will potentially break many of the public-key cryptosystems currently in use. It will negotiate the confidentiality and integrity of communications. In this regard, we have privacy protectors (i.e. Post-Quantum Cryptography), which resists attacks by quantum computers, deals with cryptosystems that run on conventional computers and are secure against attacks by quantum computers. The practice of code-based cryptography is a trade-off between security and efficiency. In this chapter, we have explored The most successful McEliece cryptosystem, based on extended Golay code [24, 12, 8]. We have examined the implications of using an extended Golay code in place of usual Goppa code in McEliece cryptosystem. Further, we have implemented a McEliece cryptosystem based on extended Golay code using MATLAB. The extended Golay code has lots of practical applications. The main advantage of using extended Golay code is that it has codeword of length 24, a minimum Hamming distance of 8 allows us to detect 7-bit errors while correcting for 3 or fewer errors simultaneously and can be transmitted at high data rate. I. INTRODUCTION Over the last three decades, public key cryptosystems (Diffie-Hellman key exchange, the RSA cryptosystem, digital signature algorithm (DSA), and Elliptic curve cryptosystems) has become a crucial component of cyber security. In this regard, security depends on the difficulty of a definite number of theoretic problems (integer factorization or the discrete log problem).
    [Show full text]
  • The Theory of Error-Correcting Codes the Ternary Golay Codes and Related Structures
    Math 28: The Theory of Error-Correcting Codes The ternary Golay codes and related structures We have seen already that if C is an extremal [12; 6; 6] Type III code then C attains equality in the LP bounds (and conversely the LP bounds show that any ternary (12; 36; 6) code is a translate of such a C); ear- lier we observed that removing any coordinate from C yields a perfect 2-error-correcting [11; 6; 5] ternary code. Since C is extremal, we also know that its Hamming weight enumerator is uniquely determined, and compute 3 3 3 3 3 3 12 6 6 3 9 12 WC (X; Y ) = (X(X + 8Y )) − 24(Y (X − Y )) = X + 264X Y + 440X Y + 24Y : Here are some further remarkable properties that quickly follow: A (5,6,12) Steiner system. The minimal words form 132 pairs fc; −cg with the same support. Let S be the family of these 132 supports. We claim S is a (5; 6; 12) Steiner system; that is, that any pentad (5-element 12 6 set of coordinates) is a subset of a unique hexad in S. Because S has the right size 5 5 , it is enough to show that no two hexads intersect in exactly 5 points. If they did, then we would have some c; c0 2 C, both of weight 6, whose supports have exactly 5 points in common. But then c0 would agree with either c or −c on at least 3 of these points (and thus on exactly 4, because (c; c0) = 0), making c0 ∓ c a nonzero codeword of weight less than 5 (and thus exactly 3), which is a contradiction.
    [Show full text]
  • Review of Binary Codes for Error Detection and Correction
    ` ISSN(Online): 2319-8753 ISSN (Print): 2347-6710 International Journal of Innovative Research in Science, Engineering and Technology (A High Impact Factor, Monthly, Peer Reviewed Journal) Visit: www.ijirset.com Vol. 7, Issue 4, April 2018 Review of Binary Codes for Error Detection and Correction Eisha Khan, Nishi Pandey and Neelesh Gupta M. Tech. Scholar, VLSI Design and Embedded System, TCST, Bhopal, India Assistant Professor, VLSI Design and Embedded System, TCST, Bhopal, India Head of Dept., VLSI Design and Embedded System, TCST, Bhopal, India ABSTRACT: Golay Code is a type of Error Correction code discovered and performance very close to Shanon‟s limit . Good error correcting performance enables reliable communication. Since its discovery by Marcel J.E. Golay there is more research going on for its efficient construction and implementation. The binary Golay code (G23) is represented as (23, 12, 7), while the extended binary Golay code (G24) is as (24, 12, 8). High speed with low-latency architecture has been designed and implemented in Virtex-4 FPGA for Golay encoder without incorporating linear feedback shift register. This brief also presents an optimized and low-complexity decoding architecture for extended binary Golay code (24, 12, 8) based on an incomplete maximum likelihood decoding scheme. KEYWORDS: Golay Code, Decoder, Encoder, Field Programmable Gate Array (FPGA) I. INTRODUCTION Communication system transmits data from source to transmitter through a channel or medium such as wired or wireless. The reliability of received data depends on the channel medium and external noise and this noise creates interference to the signal and introduces errors in transmitted data.
    [Show full text]
  • A Parallel Algorithm for Query Adaptive, Locality Sensitive Hash
    A CUDA Based Parallel Decoding Algorithm for the Leech Lattice Locality Sensitive Hash Family A thesis submitted to the Division of Research and Advanced Studies of the University of Cincinnati in partial fulfillment of the requirements for the degree of MASTER OF SCIENCE in the School of Electric and Computing Systems of the College of Engineering and Applied Sciences November 03, 2011 by Lee A Carraher BSCE, University of Cincinnati, 2008 Thesis Advisor and Committee Chair: Dr. Fred Annexstein Abstract Nearest neighbor search is a fundamental requirement of many machine learning algorithms and is essential to fuzzy information retrieval. The utility of efficient database search and construction has broad utility in a variety of computing fields. Applications such as coding theory and compression for electronic commu- nication systems as well as use in artificial intelligence for pattern and object recognition. In this thesis, a particular subset of nearest neighbors is consider, referred to as c-approximate k-nearest neighbors search. This particular variation relaxes the constraints of exact nearest neighbors by introducing a probability of finding the correct nearest neighbor c, which offers considerable advantages to the computational complexity of the search algorithm and the database overhead requirements. Furthermore, it extends the original nearest neighbors algorithm by returning a set of k candidate nearest neighbors, from which expert or exact distance calculations can be considered. Furthermore thesis extends the implementation of c-approximate k-nearest neighbors search so that it is able to utilize the burgeoning GPGPU computing field. The specific form of c-approximate k-nearest neighbors search implemented is based on the locality sensitive hash search from the E2LSH package of Indyk and Andoni [1].
    [Show full text]
  • On the Algebraic Structure of Quasi Group Codes
    ON THE ALGEBRAIC STRUCTURE OF QUASI GROUP CODES MARTINO BORELLO AND WOLFGANG WILLEMS Abstract. In this note, an intrinsic description of some families of linear codes with symmetries is given, showing that they can be described more generally as quasi group codes, that is as linear codes with a free group of permutation automorphisms. An algebraic description, including the concatenated structure, of such codes is presented. Finally, self-duality of quasi group codes is investigated. 1. Introduction In the theory of error correcting codes, the linear ones play a central role for their algebraic properties which allow, for example, their easy description and storage. Quite early in their study, it appeared convenient to add additional algebraic structure in order to get more information about the parameters and to facilitate the decoding process. In 1957, E. Prange introduced the now well- known class of cyclic codes [18], which are the forefathers of many other families of codes with symmetries introduced later. In particular, abelian codes [2], group codes [15], quasi-cyclic codes [9] and quasi-abelian codes [19] are distinguished descendants of cyclic codes: they have a nice algebraic structure and many optimal codes belong to these families. The aim of the current note is to give an intrinsic description of these classes in terms of their permutation automorphism groups: we will show that all of them have a free group of permutation automorphisms (which is not necessarily the full permutation automorphism group of the code). We will define a code with this property as a quasi group code. So all families cited above can be described in this way.
    [Show full text]
  • Error Detection and Correction Using the BCH Code 1
    Error Detection and Correction Using the BCH Code 1 Error Detection and Correction Using the BCH Code Hank Wallace Copyright (C) 2001 Hank Wallace The Information Environment The information revolution is in full swing, having matured over the last thirty or so years. It is estimated that there are hundreds of millions to several billion web pages on computers connected to the Internet, depending on whom you ask and the time of day. As of this writing, the google.com search engine listed 1,346,966,000 web pages in its database. Add to that email, FTP transactions, virtual private networks and other traffic, and the data volume swells to many terabits per day. We have all learned new standard multiplier prefixes as a result of this explosion. These days, the prefix “mega,” or million, when used in advertising (“Mega Cola”) actually makes the product seem trite. With all these terabits per second flying around the world on copper cable, optical fiber, and microwave links, the question arises: How reliable are these networks? If we lose only 0.001% of the data on a one gigabit per second network link, that amounts to ten thousand bits per second! A typical newspaper story contains 1,000 words, or about 42,000 bits of information. Imagine losing a newspaper story on the wires every four seconds, or 900 stories per hour. Even a small error rate becomes impractical as data rates increase to stratospheric levels as they have over the last decade. Given the fact that all networks corrupt the data sent through them to some extent, is there something that we can do to ensure good data gets through poor networks intact? Enter Claude Shannon In 1948, Dr.
    [Show full text]
  • Error-Correction and the Binary Golay Code
    London Mathematical Society Impact150 Stories 1 (2016) 51{58 C 2016 Author(s) doi:10.1112/i150lms/t.0003 e Error-correction and the binary Golay code R.T.Curtis Abstract Linear algebra and, in particular, the theory of vector spaces over finite fields has provided a rich source of error-correcting codes which enable the receiver of a corrupted message to deduce what was originally sent. Although more efficient codes have been devised in recent years, the 12- dimensional binary Golay code remains one of the most mathematically fascinating such codes: not only has it been used to send messages back to earth from the Voyager space probes, but it is also involved in many of the most extraordinary and beautiful algebraic structures. This article describes how the code can be obtained in two elementary ways, and explains how it can be used to correct errors which arise during transmission 1. Introduction Whenever a message is sent - along a telephone wire, over the internet, or simply by shouting across a crowded room - there is always the possibly that the message will be damaged during transmission. This may be caused by electronic noise or static, by electromagnetic radiation, or simply by the hubbub of people in the room chattering to one another. An error-correcting code is a means by which the original message can be recovered by the recipient even though it has been corrupted en route. Most commonly a message is sent as a sequence of 0s and 1s. Usually when a 0 is sent a 0 is received, and when a 1 is sent a 1 is received; however occasionally, and hopefully rarely, a 0 is sent but a 1 is received, or vice versa.
    [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]
  • Linear Codes and Syndrome Decoding
    Linear Codes and Syndrome Decoding José Luis Gómez Pardo Departamento de Matemáticas, Universidade de Santiago de Compostela 15782 Santiago de Compostela, Spain e-mail: [email protected] Introduction This worksheet contains an implementation of the encoding and decoding algorithms associated to an error-correcting linear code. Such a code can be characterized by a generator matrix or by a parity- check matrix and we give procedures to compute a generator matrix from a spanning set of the code and to compute a parity-check matrix from a generator matrix. We introduce, as examples, the [7, 4, 2] binary Hamming code, the [24, 12, 8] and [23, 12, 7] binary Golay codes and the [12, 6, 6] and [11, 6, 5] ternary Golay codes. We give procedures to compute the minimum distance of a linear code and we use them with the Hamming and Golay codes. We show how to build the standard array and the syndrome array of a linear code and we give an implementation of syndrome decoding. In the last section, we simulate a noisy channel and use the Hamming and Golay codes to show how syndrome decoding allows error correction on text messages. The references [Hill], [Huffman-Pless], [Ling], [Roman] and [Trappe-Washington] provide detailed information about linear codes and, in particular, about syndrome decoding. Requirements and Copyright Requirements: Maple 16 or higher © (2019) José Luis Gómez Pardo Generator matrices and parity-check matrices Linear codes are vector spaces over finite fields. Maple has a package called LinearAlgebra:- Modular (a subpackage of the LinearAlgebra m (the integers modulo a positive integer m, henceforth denoted , whose elements we will denote by {0, 1, ..
    [Show full text]
  • Iterative Decoding of Product Codes
    Iterative Decoding of Product Codes OMAR AL-ASKARY RADIO COMMUNICATION SYSTEMS LABORATORY Iterative Decoding of Product Codes OMAR AL-ASKARY A dissertation submitted to the Royal Institute of Technology in partial fulfillment of the requirements for the degree of Licentiate of Technology April 2003 TRITA—S3—RST—0305 ISSN 1400—9137 ISRN KTH/RST/R--03/05--SE RADIO COMMUNICATION SYSTEMS LABORATORY DEPARTMENT OF SIGNALS, SENSORS AND SYSTEMS Abstract Iterative decoding of block codes is a rather old subject that regained much inter- est recently. The main idea behind iterative decoding is to break up the decoding problem into a sequence of stages, iterations, such that each stage utilizes the out- put from the previous stages to formulate its own result. In order for the iterative decoding algorithms to be practically feasible, the complexity in each stage, in terms of number of operations and hardware complexity, should be much less than that for the original non-iterative decoding problem. At the same time, the perfor- mance should approach the optimum, maximum likelihood decoding performance in terms of bit error rate. In this thesis, we study the problem of iterative decoding of product codes. We propose an iterative decoding algorithm that best suits product codes but can be applied to other block codes of similar construction. The algorithm approaches maximum likelihood performance. We also present another algorithm which is suboptimal and can be viewed as a practical implementation of the first algorithm on product codes. The performance of the suboptimal algorithm is investigated both analytically and by computer simulations. The complexity is also investigated and compared to the complexity of GMD and Viterbi decoding of product codes.
    [Show full text]
  • Constructing Good Covering Codes for Applications in Steganography
    Constructing good covering codes for applications in Steganography J¨urgen Bierbrauer1 and Jessica Fridrich2 1 Department of Mathematical Sciences Michigan Technological University HOUGHTON (MI) 49931 (USA) 2 Department of Electrical and Computer Engineering Binghamton University BINGHAMTON (NY) 13902-6000 Abstract. Application of covering codes to data embedding improves embedding efficiency and security of steganographic schemes. In this pa- per, we describe several familes of covering codes constructed using the blockwise direct sum of factorizations. We show that non-linear construc- tions offer better performance compared to simple linear covering codes currently used by steganographers. Implementation details are given for a selected code family. 1 Introduction Steganography is the art of stealth communication. Its purpose is to make com- munication undetectable. The steganography problem is also known as the pris- oners’ dilemma formulated by Simmons [28]. Alice and Bob are imprisoned and want to hatch an escape plan. They are allowed to communicate via a channel monitored by a warden. If the warden finds out that they are communicating secretly, he throws them into solitary confinement. Thus, the prisoners need to design a method to exchange messages without raising the warden’s suspicion. The prisoners hide their messages in innocuous-looking cover objects by slightly modifying them (obtaining stego objects). The embedding process is usually driven by a stego key, which is a secret shared between Alice and Bob. It is typically used to select a subset of the cover object and the order in which the cover object elements are visited during embedding. The most important property of any steganographic communication is sta- tistical undetectability.
    [Show full text]
  • Insertion/Deletion Error Correction Using Path Pruned Convolutional Codes and Extended Prefix Codes
    Insertion/Deletion Error Correction using Path Pruned Convolutional Codes and Extended Prefix Codes By Muhammad Waqar Saeed A research report submitted to the faculty of Engineering and Build Environment In partial fulfilment of the requirements for the degree Masters of Science in Engineering in Electrical Engineering (Telecommunication) at the UNIVERSITY OF THE WITWATERSRAND, JOHANNESBURG Supervisor: Dr. Ling Cheng August 2014 i Declaration I declare that this project report is my own, unaided work, except where otherwise acknowledged. It is being submitted for the partial fulfilment of the degree of Master of Science in Engineering at the University of the Witwatersrand, Johannesburg, South Africa. It has not been submitted before for any degree or examination at any other university. Candidate Signature : ................................................................ Name : ................................................................. Date : (Day).......... (Month).......... (Year)............ ii Abstract Synchronization error correction has been under discussion since the early development of coding theory. In this research report a novel coding system based on the previous done work on path- pruned convolutional codes and extended prefix synchronization codes is presented. This new coding scheme is capable of correcting insertion, deletion and synchronization errors. A codebook has been constructed that contains synchronization patterns made up of a constraint part (maker sequence) and an unconstraint part based on the concept of extended prefix codes. One of these synchronization error patterns are padded in front of each frame. This process is done by mapping information bit to a corresponding bit sequence using a mapping table. The mapping table is constructed by using path-pruning process. An original rate convolutional code is first punctured using a desired puncturing matrix to make enough paths available at each state of the trellis.
    [Show full text]