DIGITAL COMMUNICATIONS Linear Block Codes

Slides:



Advertisements
Similar presentations
Mahdi Barhoush Mohammad Hanaysheh
Advertisements

Error Control Code.
CHANNEL CODING REED SOLOMON CODES.
Data and Computer Communications Tenth Edition by William Stallings Data and Computer Communications, Tenth Edition by William Stallings, (c) Pearson Education.
II. Linear Block Codes. © Tallal Elshabrawy 2 Last Lecture H Matrix and Calculation of d min Error Detection Capability Error Correction Capability Error.
Information Theory Introduction to Channel Coding Jalal Al Roumy.
Cellular Communications
DIGITAL COMMUNICATION Coding
EEE377 Lecture Notes1 EEE436 DIGITAL COMMUNICATION Coding En. Mohd Nazri Mahmud MPhil (Cambridge, UK) BEng (Essex, UK) Room 2.14.
EE436 Lecture Notes1 EEE436 DIGITAL COMMUNICATION Coding En. Mohd Nazri Mahmud MPhil (Cambridge, UK) BEng (Essex, UK) Room 2.14.
EEE377 Lecture Notes1 EEE436 DIGITAL COMMUNICATION Coding En. Mohd Nazri Mahmud MPhil (Cambridge, UK) BEng (Essex, UK) Room 2.14.
DIGITAL COMMUNICATION Coding
Hamming Code Rachel Ah Chuen. Basic concepts Networks must be able to transfer data from one device to another with complete accuracy. Data can be corrupted.
exercise in the previous class (1)
Hamming Codes 11/17/04. History In the late 1940’s Richard Hamming recognized that the further evolution of computers required greater reliability, in.
Linear codes 1 CHAPTER 2: Linear codes ABSTRACT Most of the important codes are special types of so-called linear codes. Linear codes are of importance.
INFORMATION THEORY BYK.SWARAJA ASSOCIATE PROFESSOR MREC.
Linear Codes.
DIGITAL COMMUNICATION Error - Correction A.J. Han Vinck.
1 S Advanced Digital Communication (4 cr) Cyclic Codes.
CHANNEL CODING TECHNIQUES By K.Swaraja Assoc prof MREC
Information and Coding Theory Linear Block Codes. Basic definitions and some examples. Juris Viksna, 2015.
1 Channel Coding (II) Cyclic Codes and Convolutional Codes.
Exercise in the previous class p: the probability that symbols are delivered correctly C: 1 00 → → → → What is the threshold.
Information Coding in noisy channel error protection:-- improve tolerance of errors error detection: --- indicate occurrence of errors. Source.
CODING/DECODING CONCEPTS AND BLOCK CODING. ERROR DETECTION CORRECTION Increase signal power Decrease signal power Reduce Diversity Retransmission Forward.
Error Control Code. Widely used in many areas, like communications, DVD, data storage… In communications, because of noise, you can never be sure that.
1 SNS COLLEGE OF ENGINEERING Department of Electronics and Communication Engineering Subject: Digital communication Sem: V Cyclic Codes.
Data Link Layer: Error Detection and Correction
Codes Codes are used for the following purposes: - to detect errors - to correct errors after detection Error Control Coding © Erhan A. Ince Types: -Linear.
MIMO continued and Error Correction Code. 2 by 2 MIMO Now consider we have two transmitting antennas and two receiving antennas. A simple scheme called.
Redundancy The object of coding is to introduce redundancy so that even if some of the information is lost or corrupted, it will still be possible to recover.
Introduction to Coding Theory. p2. Outline [1] Introduction [2] Basic assumptions [3] Correcting and detecting error patterns [4] Information rate [5]
Digital Communications I: Modulation and Coding Course Term Catharina Logothetis Lecture 12.
Basic Characteristics of Block Codes
Error Control Code. Widely used in many areas, like communications, DVD, data storage… In communications, because of noise, you can never be sure that.
Communication System A communication system can be represented as in Figure. A message W, drawn from the index set {1, 2,..., M}, results in the signal.
§6 Linear Codes § 6.1 Classification of error control system § 6.2 Channel coding conception § 6.3 The generator and parity-check matrices § 6.5 Hamming.
ADVANTAGE of GENERATOR MATRIX:
Chapter 31 INTRODUCTION TO ALGEBRAIC CODING THEORY.
Information Theory Linear Block Codes Jalal Al Roumy.
Word : Let F be a field then the expression of the form a 1, a 2, …, a n where a i  F  i is called a word of length n over the field F. We denote the.
Channel Coding Binit Mohanty Ketan Rajawat. Recap…  Information is transmitted through channels (eg. Wires, optical fibres and even air)  Channels are.
The parity bits of linear block codes are linear combination of the message. Therefore, we can represent the encoder by a linear system described by matrices.
10.1 Chapter 10 Error Detection and Correction Data can be corrupted during transmission. Some applications require that errors be detected and.
Timo O. Korhonen, HUT Communication Laboratory 1 Convolutional encoding u Convolutional codes are applied in applications that require good performance.
Error Detection and Correction – Hamming Code
Some Computation Problems in Coding Theory
Data Link Layer. Data Link Layer Topics to Cover Error Detection and Correction Data Link Control and Protocols Multiple Access Local Area Networks Wireless.
Error Detection and Correction
Digital Communications I: Modulation and Coding Course Term Catharina Logothetis Lecture 9.
INFORMATION THEORY Pui-chor Wong.
Channel Coding Theorem (The most famous in IT) Channel Capacity; Problem: finding the maximum number of distinguishable signals for n uses of a communication.
Hamming Distance & Hamming Code
Error Control Coding. Purpose To detect and correct error(s) that is introduced during transmission of digital signal.
10.1 Chapter 10 Error Detection and Correction Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 Product Codes An extension of the concept of parity to a large number of words of data 0110… … … … … … …101.
Richard Cleve DC 2117 Introduction to Quantum Information Processing QIC 710 / CS 667 / PH 767 / CO 681 / AM 871 Lecture (2011)
II. Linear Block Codes. © Tallal Elshabrawy 2 Digital Communication Systems Source of Information User of Information Source Encoder Channel Encoder Modulator.
ECE 442 COMMUNICATION SYSTEM DESIGN LECTURE 10. LINEAR BLOCK CODES Husheng Li Dept. of EECS The University of Tennessee.
Classical Coding for Forward Error Correction Prof JA Ritcey Univ of Washington.
Channel Coding: Part I Presentation II Irvanda Kurniadi V. ( ) Digital Communication 1.
RS – Reed Solomon Error correcting code. Error-correcting codes are clever ways of representing data so that one can recover the original information.
Part 2 Linear block codes
Chapter 6.
Subject Name: Information Theory Coding Subject Code: 10EC55
II. Linear Block Codes.
Block codes. encodes each message individually into a codeword n is fixed, Input/out belong to alphabet Q of cardinality q. The set of Q-ary n-tuples.
DIGITAL COMMUNICATION Coding
II. Linear Block Codes.
Presentation transcript:

DIGITAL COMMUNICATIONS Linear Block Codes EEM 467 DIGITAL COMMUNICATIONS Linear Block Codes Assist.Prof.Dr. Nuray At

Codes can either correct or merely detect errors Error Control Coding Designing codes for the reliable transmission of digital information over a noisy channel. Codes can either correct or merely detect errors Codes that can detect errors are called error-detecting codes Codes that can correct errors are called error-correcting codes Error correction is more complex than error detection! Error control codes are classified into Block Codes Convolutional Codes The channel is discrete when the alphabets of X and Y are both finite The channel is memoryless when the current output depends only on the current input and not on any of the previous inputs is a channel transition probability Entropy can be changed from one base to another

Channel Coding The channel encoder introduces systematic redundancy into the data stream The combined objective of the channel encoder and decoder is to minimize the effect of channel noise Channel Coding Theorem: Given a DMS X with entropy H(X) and a DMC with capacity C, if , there exists a coding scheme for which the source output can be transmitted over the channel with an arbitrary small probability of error. Entropy can be changed from one base to another

Block Codes Data sequence is divided into sequential blocks each k bits long Each k-bit block is converted into an n-bit block, where n > k The resultant block code is called (n,k) block code and the ratio k/n is called code rate. Entropy can be changed from one base to another

Linear Block Codes Binary Field: The set K = {0, 1} is a binary field. The binary field has two operations, addition and multiplication Addition Multiplication Entropy can be changed from one base to another

Let and be two codewords in C. Linear Codes: Let and be two codewords in C. A code C is called linear if the sum of two codewords is also a codeword in C. A linear code C must contain the zero codeword Hamming Weight and Distance: Let a, b, and c be codewords of length n. The Hamming weight of c, denoted by w(c), is the number of 1's in c. The Hamming distance between a and b, denoted by d(a, b), is the number of positions in which a and b differ. Entropy can be changed from one base to another

Thus, the Hamming weight of a codeword c is the Hamming distance between c and 0, that is Similarly, the Hamming distance can be written in terms of Hamming weight as Minimum Distance: The minimum distance dmin of a linear code C is defined as the smallest Hamming distance between any pair of codewords in C. Theorem: The minimum distance dmin of a linear code C is the smallest Hamming weight of the nonzero codeword in the C. Entropy can be changed from one base to another

Error Detection and Correction Capabilities: The minimum distance dmin of a linear code C determines the error detection and correction capabilities of C. A linear code C of minimum distance dmin can detect up to t errors iff A linear code C of minimum distance dmin can correct up to t errors iff Entropy can be changed from one base to another

Generator Matrix: In an (n,k) linear block code C, If the data bits appear in specified location of c, the code C is called systematic. That is, Here we assume that the first k bits of c are the data bits. Entropy can be changed from one base to another

In a matrix form Hence, and The k x n matrix G is called the generator matrix. Entropy can be changed from one base to another

Parity-Check Matrix: Let H denote an m x n matrix defined by where Parity-Check Matrix: Let H denote an m x n matrix defined by where . The matrix H is called the parity-check matrix of C. We have Thus, Entropy can be changed from one base to another

Syndrome Decoding Let r denote the received word of length n when codeword c of length n was sent over a noisy channel. where e is called the error pattern. Consider first the case of a single error in the ith position. Then, Evaluate as where s is called syndrome of r. Using s and noting that is the ith row of HT, we can identify the error position by comparing s to the rows of HT. Note that the zero syndrome indicates that r is a codeword and is presumably correct. Entropy can be changed from one base to another

Determine the generator matrix G. Example: Consider a linear block code with the following parity-check matrix Determine the generator matrix G. Suppose that the received word is r = [1 1 0 1 1 0]. Decode this received word, i.e., find c and d. Entropy can be changed from one base to another

The Hamming Codes Code length: Number of parity symbols: n – k = m Error correcting capability: t = 1 The parity-check matrices for binary Hamming codes are quite easy to construct. For a Hamming code of length construct a matrix whose columns consist of all nonzero m-tuples. For example, a parity-check matrix for a (15,11) Hamming code The ordering of columns is arbitrary; another arrangement would still define a (15,11) Hamming code. Entropy can be changed from one base to another