LDPC Codes
LDPC Codes
Overview
Saumya Borwankar Dhruv Shah
Department of Electronics and Communication Department of Electronics and Communication
Engineering Engineering
Institute of technology, Nirma University Institute of technology, Nirma University
[email protected] [email protected]
Abstract— This paper basically expresses the core fundamentals understand in this paper. So, before we go to understand the
and brief overview of the research of R. G. GALLAGER [1] on LDPC code, we need to understand some concepts of linear
Low-Density Parity-Check (LDPC) codes and various parameters block code and the code rate.
related to LDPC codes like, encoding and decoding of LDPC
codes, code rate, parity check matrix, tanner graph. We also
discuss advantages and applications as well as the usage of LDPC A. Linear Block Codes
codes in 5G technology. We have simulated encoding and decoding
of LDPC codes and have acquired results in terms of BER vs SNR In Linear Block Code, parity bits and message bits are in
graph in MATLAB software. This report was submitted as an linear combination and this combination together form a code
assignment in Nirma University word. Parity bits in transmitted codewords over a noisy channel
help us at the receiver side by detecting, correcting and locating
Keywords - LDPC, parity check matrix, 5G, BER, SNR.
the errors with the help of decoding algorithms. This Linear
codeword can be represented as (n,k) codeword where, n
represents the block length of encoded code and k represents
I. INTRODUCTION the message bit.
With the continuous evolution of digital wireless B. Code Rate
communication and information technology, an efficient Code Rate can be defined as number of message bits / number
communication system in terms of bandwidth, speed, cost, of transmitted bits (k / n). As code rate decreases meaning the
lossless data transmission and secure communication is must number of transmitted encoded bits increases, security or
for any advancements. We do not have any control over the protection of message increases. But as code rate decreases
channel and hence the effects in terms of losses happening due bandwidth increases and also the cost per bit increases as total
to noise in the channel on wireless data transmission are not
number of transmitted bits increases.
liable to variation. So, that is where an efficient channel coding
scheme comes which should be able to detect and correct any
amount of errors at the receiver which are caused due to noise II. REPRESENTATION OF LDPC CODES
in wireless channel so that we can retrieve the original data and
thus resulting in a successful wireless transmission. But as the Basically, these parity check sets can be represented in two
generations in information technology advance and the number ways. The first way is to describe in matrix form like all other
of data in terms of bits increases, various parameters like linear block codes and second way is the graphical
complexity of structure for implementation of such logic of representation [3].
channel coding, encoding and decoding speed or we can say
computation time, cost of implementation are needed to be A. Matrix and Algebraic Representation
improvised. So, that’s where the implementation of LDPC In LDPC code, the parity check sets can be expressed in
codes can fulfil these different parameters for a quite increased terms of Sparse Parity Check Matrix. In a Sparse Parity Check
efficiency. Matrix which is having (n-k) × n dimension, the word
LDPC codes are very efficient codes since they offer practical “Sparse” means that the number of times ‘1’s are very less than
implementation at nearly achieving the Shannon channel the number of times ‘0’s. Normally for a large bit stream, the
capacity of reliable transmission. Shannon channel capacity LDPC parity check matrix are of 1000×2000 dimensions. So,
rule denotes that the code with the code rate near to the capacity out of n×(n-k) entries, the number ones are very less than the
number gives the error going to zero in decoding with the
number of zeros. There are three parameters that define the
maximum likelihood decoder as we increase the block length.
sparse parity check matrix which are (n, wc, wr). Here, n is
[2] This condition can be achieved by using random linear
block codes that are encoded as polynomial of time. But as we coded length, wr is the number of ones in a row and wc is the
increase the block length for error approaching to zero, there number of ones in a column. For a matrix to be called low-
comes the issue of complex computation algorithms for density or sparse, the condition - wc and wr << n×(n-k) be
encoding and decoding and that eventually leads us to the satisfied. To satisfy this, the parity check matrix must be very
compromise with the speed. So, here LDPC code fulfils the large.Here, a 4×8 sparse parity check matrix H of (8,4,2) is
successful implementation of LDPC code at Shannon limit with shown.Each row of matrix H represents a check node and each
long block lengths and also having additional advantages of column of matrix H represents variable nodes.
less complex algorithms and greater speed and accuracy. So
how do LDPC codes fulfil these conditions that we will briefly
m = message vector