Coding Theory. 2 Communication System Channel encoder Source encoder Modulator Demodulator Channel Voice Image Data CRC encoder Interleaver Deinterleaver.

Slides:



Advertisements
Similar presentations
Mahdi Barhoush Mohammad Hanaysheh
Advertisements

Data Communication, Lecture 111 Channel Coding. Data Communication, Lecture 112 audio video (analogue) data (digital) Source anti-alias filter A/D Nyquist.
Cyclic Code.
Error Control Code.
Lab 4.
1 Wireless Sensor Networks Akyildiz/Vuran Administration Issues  Take home Mid-term Exam  Assign April 2, Due April 7  Individual work is required 
Information Theory Introduction to Channel Coding Jalal Al Roumy.
Digital Communications (디지털 통신)
Error Detection and Correction
Cellular Communications
Transmission Errors Error Detection and Correction
Chapter 3: Channel Coding (part 1)
Coding and Error Control
Turbo Codes Azmat Ali Pasha.
DIGITAL COMMUNICATION Coding
Transmission Errors1 Error Detection and Correction.
Chapter 11 Error-Control CodingChapter 11 : Lecture edition by K.Heikkinen.
Reliability and Channel Coding
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
3F4 Error Control Coding Dr. I. J. Wassell.
Transmission Errors Error Detection and Correction
林茂昭 教授 台大電機系 個人專長 錯誤更正碼 數位通訊
DIGITAL COMMUNICATION Error - Correction A.J. Han Vinck.
1 INF244 Textbook: Lin and Costello Lectures (Tu+Th ) covering roughly Chapter 1;Chapters 9-19? Weekly exercises: For your convenience Mandatory.
1 S Advanced Digital Communication (4 cr) Cyclic Codes.
Channel Coding Part 1: Block Coding
Copyright © 2003, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 1 Chapter 4 Channel Coding.
CHANNEL CODING TECHNIQUES By K.Swaraja Assoc prof MREC
Lecture 10: Error Control Coding I Chapter 8 – Coding and Error Control From: Wireless Communications and Networks by William Stallings, Prentice Hall,
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved. 1 Communication Reliability Asst. Prof. Chaiporn Jaikaeo, Ph.D.
CODING/DECODING CONCEPTS AND BLOCK CODING. ERROR DETECTION CORRECTION Increase signal power Decrease signal power Reduce Diversity Retransmission Forward.
1 SNS COLLEGE OF ENGINEERING Department of Electronics and Communication Engineering Subject: Digital communication Sem: V Cyclic Codes.
1 Analog/Digital Modulation Analog Modulation The input is continuous signal Used in first generation mobile radio systems such as AMPS in USA. Digital.
Codes Codes are used for the following purposes: - to detect errors - to correct errors after detection Error Control Coding © Erhan A. Ince Types: -Linear.
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.
Introduction to Coding Theory. p2. Outline [1] Introduction [2] Basic assumptions [3] Correcting and detecting error patterns [4] Information rate [5]
Lecture 3-2: Coding and Error Control (Cont.) ECE
1 Chapter 8. Coding and Error Control Wen-Shyang Hwang KUAS EE.
Digital Communications I: Modulation and Coding Course Term Catharina Logothetis Lecture 12.
S Digital Communication Systems Course Overview, Basic Characteristics of Block Codes.
Basic Characteristics of Block Codes
Week 7 Lecture 1+2 Digital Communications System Architecture + Signals basics.
Introduction of Low Density Parity Check Codes Mong-kai Ku.
§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
6876: Communication Networks ERROR CONTROL STRATEGIES Error Control Strategies Forward Error Correction (FEC) Automatic Repeat Request (ARQ)
TI Cellular Mobile Communication Systems Lecture 4 Engr. Shahryar Saleem Assistant Professor Department of Telecom Engineering University of Engineering.
CELLULAR COMMUNICATIONS MIDTERM REVIEW. Representing Oscillations   w is angular frequency    Need two variables to represent a state  Use a single.
Channel Coding Binit Mohanty Ketan Rajawat. Recap…  Information is transmitted through channels (eg. Wires, optical fibres and even air)  Channels are.
Digital Communications I: Modulation and Coding Course Term Catharina Logothetis Lecture 9.
Tufts University. EE194-WIR Wireless Sensor Networks. February 17, 2005 Increased QoS through a Degraded Channel using a Cross-Layered HARQ Protocol Elliot.
Outline Transmitters (Chapters 3 and 4, Source Coding and Modulation) (week 1 and 2) Receivers (Chapter 5) (week 3 and 4) Received Signal Synchronization.
Error Control Coding. Purpose To detect and correct error(s) that is introduced during transmission of digital signal.
Digital Communications I: Modulation and Coding Course Spring Jeffrey N. Denenberg Lecture 3c: Signal Detection in AWGN.
Information Theory & Coding for Digital Communications Prof JA Ritcey EE 417 Source; Anderson Digital Transmission Engineering 2005.
Diana B. Llacza Sosaya Digital Communications Chosun University
Block Coded Modulation Tareq Elhabbash, Yousef Yazji, Mahmoud Amassi.
Channel Coding: Part I Presentation II Irvanda Kurniadi V. ( ) Digital Communication 1.
Channel Coding and Error Control 1. Outline Introduction Linear Block Codes Cyclic Codes Cyclic Redundancy Check (CRC) Convolutional Codes Turbo Codes.
Institute for Experimental Mathematics Ellernstrasse Essen - Germany DATA COMMUNICATION introduction A.J. Han Vinck May 10, 2003.
Lecture 4 Error Detecting and Correcting Techniques Dr. Ghalib A. Shah
8 Coding Theory Discrete Mathematics: A Concept-based Approach.
Chapter 6.
Coding and Interleaving
Chapter 6.
DIGITAL COMMUNICATION Coding
Coding and Error Control
Reliability and Channel Coding
Presentation transcript:

Coding Theory

2 Communication System Channel encoder Source encoder Modulator Demodulator Channel Voice Image Data CRC encoder Interleaver Deinterleaver Channel encoder CRC encoder Source decoder Error control Impairments Noise Fading

3 Error control coding Limits in communication systems –Bandwidth limit –Power limit –Channel impairments Attenuation, distortion, interference, noise and fading Error control techniques are used in the digital communication systems for reliable transmission under these limits.

4 Power limit vs. Bandwidth limit

5 Error control coding Advantage of error control coding –In principle: Every channel has a capacity C. If you transmit information at a rate R < C, then the error-free transmission is possible. –In practice: Reduce the error rates Reduce the transmitted power requirements Increase the operational range of a communication system Classification of error control techniques –Forward error correction (FEC) –Error detection: cyclic redundancy check (CRC) –Automatic repeat request (ARQ)

6 History Shannon (1948) –R : Transmission rate for data –C : Channel capacity –If R < C, it is possible to transfer information at error rates that can be reduced to any desired level.

7 History Hamming codes (1950) –Single error correcting Convolutional codes (Elias, 1956) BCH codes (1960), RS codes (1960) –multiple error correcting Goppa codes (1970) –Generalization of BCH codes Algebraic geometric codes (1982) –Generalization of RS codes –Constructed over algebraic curves Turbo codes (1993) LDPC codes

8 Channel Memoryless channel –The probability of error is independent from one symbol to the next. Symmetric channel –P( i | j )=P( j | i ) for all symbol values i and j Ex) binary symmetric channel (BSC) Additive white Gaussian noise (AWGN) channel Burst error channel Compound (or diffuse) channel –The errors consist of a mixture of bursts and random errors. Many codes work best if errors are random. –Interleaver and deinterleaver are added.

9 Channel Random error channels –Deep-space channels –Satellite channels  Use random error correcting codes Burst error channels: channels with memory –Radio channels Signal fading due to multipath transmission –Wire and cable transmission Impulse switching noise, crosstalk –Magnetic recording Tape dropouts due to surface defects and dust particles  Use burst error correcting codes

10 Encoding Block codes Encoding of an [ n, k ] block code k bits n bits message or informationcodeword Redundancy: n – k Code rate: k / n Message m (m 1, m 2, …, m k ) codeword c (m 1, m 2, …, m k, p 1, p 2, …, p n - k ) Add n – k redundant parity check symbols (p 1, p 2, …, p n - k )

11 Decoding Decoding [ n, k ] block code –Decide what the transmitted information was –The minimum distance decoding is optimum in a memoryless channel. Received data r (r 1, r 2, …, r n ) Decoded message Correct errors and remove n – k redundant symbols Error vector e = (e 1, e 2, …, e n ) = (r 1, r 2, …, r n ) – (c 1, c 2, …, c n )

12 Decoding Decoding plane c1c1 r c4c4 c3c3 c2c2 c6c6 c5c5

13 Decoding Ex) Encoding and decoding procedure of [6, 3] code 1.Generate the information (100) in the source. 2.Transmit the codeword (100101) corresponding to (100). 3.The vector (101101) is received. 4.Choose the nearest codeword (100101) to (101101). 5.Extract the information (100) from the codeword (100101). Information codeword Distance from (101101)

14 Parameters of block codes Hamming distance d H (u, v) –# positions at which symbols are different in two vectors Ex) u=( ) v=( )  d H (u, v) = 2 Hamming weight w H (u) –# nonzero elements in a vector Ex) w H (u) = 2, w H (v) = 4 Relation between hamming distance and hamming weight –Binary code: d H (u, v) = w H (u + v), where ‘+’ means exclusive OR (bit by bit) –Nonbinary code: d H (u, v) = w H (u – v)

15 Parameters of block codes Minimum distance d –d = min d H (c i, c j ) for all c i  c j  C Any two codewords differ in at least d places. [ n, k ] code with d  [ n, k, d ] code Error detection and correction capability –Let s = # errors to be detected t = # errors to be corrected ( s  t ) –Then, we have d  s + t + 1 Error correction capability –Any block code correcting t or less errors satisfies d  2t + 1 –Thus, we have t =  (d – 1) / 2 

16 Parameters of block codes Ex) d = 3, 4  t = 1 : single error correcting (SEC) codes d = 5, 6  t = 2 : double error correcting (DEC) codes d = 7, 8  t = 3 : triple error correcting (TEC) codes Coding sphere t s td cici cjcj

17 Code performance and coding gain Criteria for performance in the coded system –BER: bit error rate in the information after decoding, P b –SNR: signal to noise ratio, E b / N 0 E b = signal energy per bit N 0 = one-sided noise power spectral density in the channel –Coding gain (for a given BER) G = ( E b / N 0 ) without FEC – ( E b / N 0 ) with FEC [dB] At a given BER, P b, we can save the transmission power by G [dB] over the uncoded system.

18 Minimum distance decoding Maximum-likelihood decoding (MLD) – : estimated message after decoding – : estimated codeword in the decoder Assume that c was transmitted. –A decoding error occurs if. Conditional error probability of the decoder, given r : Error probability of the decoder:, where P(r) is independent of decoding rule

19 Minimum distance decoding Optimum decoding rule: minimize error probability, P(E) –This can be obtained by min r P(E | r), which is equivalent to Optimum decoding rule is –argmax c P(c | r) : Maximum a posteriori probability (MAP) –argmax c P(r | c) : Maximum likelihood (ML) Bayes’ rule –If equiprobable c, MAP = ML

20 Problems Basic problems in coding –Find good codes –Find their decoding algorithm –Implement the decoding algorithms Cost for forward error correction schemes –If we use [ n, k ] code, the transmission rate increase from k to n. Increase of channel bandwidth by n / k or decrease of message transmission rate by k / n. Cost for FEC

21 Classification Classification of FEC –Block codes Hamming, BCH, RS, Golay, Goppa, Algebraic geometric codes (AGC) Tree codes Convolutional codes –Linear codes Hamming, BCH, RS, Golay, Goppa, AGC, etc. Nonlinear codes Nordstrom-Robinson, Kerdock, Preparata, etc. –Systematic codes vs. Nonsystematic codes