CODING/DECODING CONCEPTS AND BLOCK CODING. ERROR DETECTION CORRECTION Increase signal power Decrease signal power Reduce Diversity Retransmission Forward.

Slides:



Advertisements
Similar presentations
Cyclic Code.
Advertisements

Error Control Code.
Computer Networking Error Control Coding
Information and Coding Theory
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.
Modern Digital and Analog Communication Systems Lathi Copyright © 2009 by Oxford University Press, Inc. C H A P T E R 15 ERROR CORRECTING CODES.
Information Theory Introduction to Channel Coding Jalal Al Roumy.
Cellular Communications
Turbo Codes Azmat Ali Pasha.
Error detection/correction FOUR WEEK PROJECT 1 ITEMS TO BE DISCUSSED 1.0 OVERVIEW OF CODING STRENGTH (3MINS) Weight/distance of binary vectors Error detection.
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.
EE 3220: Digital Communication Dr Hassan Yousif 1 Dr. Hassan Yousif Ahmed Department of Electrical Engineering College of Engineering at Wadi Aldwasser.
DIGITAL COMMUNICATION Coding
15-853Page :Algorithms in the Real World Error Correcting Codes I – Overview – Hamming Codes – Linear Codes.
Error Detection and Reliable Transmission EECS 122: Lecture 24 Department of Electrical Engineering and Computer Sciences University of California Berkeley.
#4 1 Victor S. Frost Dan F. Servey Distinguished Professor Electrical Engineering and Computer Science University of Kansas 2335 Irving Hill Dr. Lawrence,
3F4 Error Control Coding Dr. I. J. Wassell.
Error Detection and Correction Rizwan Rehman Centre for Computer Studies Dibrugarh University.
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.
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.
DIGITAL COMMUNICATION Error - Correction A.J. Han Vinck.
USING THE MATLAB COMMUNICATIONS TOOLBOX TO LOOK AT CYCLIC CODING Wm. Hugh Blanton East Tennessee State University
Lecture 10: Error Control Coding I Chapter 8 – Coding and Error Control From: Wireless Communications and Networks by William Stallings, Prentice Hall,
Error Coding Transmission process may introduce errors into a message.  Single bit errors versus burst errors Detection:  Requires a convention that.
Error Control Code. Widely used in many areas, like communications, DVD, data storage… In communications, because of noise, you can never be sure that.
COEN 180 Erasure Correcting, Error Detecting, and Error Correcting Codes.
ERROR CONTROL CODING Basic concepts Classes of codes: Block Codes
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.
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.
Coding Theory. 2 Communication System Channel encoder Source encoder Modulator Demodulator Channel Voice Image Data CRC encoder Interleaver Deinterleaver.
§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.
DIGITAL COMMUNICATIONS Linear Block Codes
1 Introduction to Quantum Information Processing CS 667 / PH 767 / CO 681 / AM 871 Richard Cleve DC 2117 Lecture 20 (2009)
TI Cellular Mobile Communication Systems Lecture 4 Engr. Shahryar Saleem Assistant Professor Department of Telecom Engineering University of Engineering.
ADVANTAGE of GENERATOR MATRIX:
Chapter 31 INTRODUCTION TO ALGEBRAIC CODING THEORY.
Information Theory Linear Block Codes Jalal Al Roumy.
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.
Error Detection and Correction – Hamming Code
Some Computation Problems in Coding Theory
Error Detection and Correction
Digital Communications I: Modulation and Coding Course Term Catharina Logothetis Lecture 9.
Error Control Coding. Purpose To detect and correct error(s) that is introduced during transmission of digital signal.
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 and Error Control 1. Outline Introduction Linear Block Codes Cyclic Codes Cyclic Redundancy Check (CRC) Convolutional Codes Turbo Codes.
8 Coding Theory Discrete Mathematics: A Concept-based Approach.
NOISE-RESISTANT CODING ● Coding Concepts and Technologies of Noise-resistant Coding It's hard to work in a noisy room as it makes it harder to think. Work.
Hamming Code In 1950s: invented by Richard Hamming
The Viterbi Decoding Algorithm
DATA COMMUNICATION AND NETWORKINGS
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.
Information Redundancy Fault Tolerant Computing
DIGITAL COMMUNICATION Coding
Cyclic Code.
II. Linear Block Codes.
Types of Errors Data transmission suffers unpredictable changes because of interference The interference can change the shape of the signal Single-bit.
Electrical Communications Systems ECE
Presentation transcript:

CODING/DECODING CONCEPTS AND BLOCK CODING

ERROR DETECTION CORRECTION Increase signal power Decrease signal power Reduce Diversity Retransmission Forward Error Correction  1. Block Codes  2. Convolutional Codes – CONTINIOUS CODES (deal with certain no. Of bits continuosly)  3. Interleaving – mitigating properties for fading channels. EDC can be implemented in the five following ways:

BLOCK CODES Block codes operate on a block of bits. Using a preset algorithm. Add a code to a group of bits (enlarge block). This block is checked at the receiver. The receiver validates sequence.

CONVOLUTIONAL CODES Aka continuous codes - they operate on a certain number of bits continuously.

INTERLEAVING Interleaving has mitigating properties good for fading channels and works well in conjunction with Block Codes and Convolutional Codes.

EDC APPLICATIONS All 3 techniques are used together in many EDC suites such as Digital Video, Broadcast, satellite communications, radio and cell phones and baseband systems such as PCs and CD players.

BLOCK CODES IN DETAIL Block codes are referred to as (n, k) codes  n bits Hamming distance concept

Codeword space Hamming Weight: The Hamming weight of this code scheme is the largest number of 1’s in a valid codeword. This number is 3 among the 10 codewords we have chosen.

CONCEPT OF HAMMING DISTANCE Hamming distance is used to measure distances between two binary words The Hamming distance between sequences 001 and 101 is = 1; Whereas the = ( = 4) Hamming distance between sequences and is = 4 The knowledge of Hamming distance is used to determine the capability of a code to detect and correct errors. Hamming weight In coding theory, is the number of nonzero digits in a word. ie. in our examples number of 1s in a word. Ie = 2 The knowledge of Hamming distance is used to determine the capability of a code to detect and correct errors.

HOW TO CALCULATE HAMMING DISTANCE Ensure the two strings are of equal length. The Hamming distance can only be calculated between two strings of equal length. String 1: " " String 2: " " Compare the first two bits in each string. If they are the same, record a "0" for that bit. If they are different, record a "1" for that bit. In this case, the first bit of both strings is "1," so record a "0" for the first bit. Compare each bit in succession and record either "1" or "0" as appropriate. String 1: " " String 2: " " Record: " " Add all the ones and zeros in the record together to obtain the Hamming distance. Hamming distance = = 6

codespace is equal to 2 to the power of N, When N=4 codespece is 16

NUMBER OF ERRORS WE CAN CORRECT If the transition probability p is small (<<1), the probability of getting three errors is cube of the channel error rate,

CREATING BLOCK CODES The block codes are specified by (n.k). The code takes k information bits and computes (n-k) parity bits from a code generator matrix. Most block codes are systematic in that the information bits remain unchanged with parity bits attached either to the front or to the back of the information sequence.

HAMMING CODE, A SIMPLE LINEAR BLOCK CODE

CREATING PARITY MATRIX

Following are just two ways we can order the rows of H, each of these will result in a different code.

CODE ARCHITECTURE

CODE ARCHITECTURE – CONT. BENJAMIN ARAZI (REF. 1) PROPOSAL

THE ENCODER

THE CODEWORD IS

DECODING Let’s multiply the received code vector [ ] with the matrix, to see if we get all zeros since we know that this is a valid codeword.

REFERENCES 1.A common sense approach to the theory of error correcting codes, by Benjamin Arazi, MIT press, Digital Communications, I. A. Glober and P M Grant, Prentice Hall 3.Modulation Detection and Coding, Tommy Oberg