Simulink Modelling of Reed-Solomon (Rs) Code for Error Detection and Correction

Similar documents
Umudike. Abia State, Nigeria

Implementation of Reed-Solomon RS(255,239) Code

Design of Reed Solomon Encoder and Decoder

Implementation of Reed Solomon Encoding Algorithm

Basics of Error Correcting Codes

Simulink Modeling of Convolutional Encoders

BER Analysis of BPSK for Block Codes and Convolution Codes Over AWGN Channel

IJESRT. (I2OR), Publication Impact Factor: 3.785

ECE 6640 Digital Communications

Review: Design And Implementation Of Reed Solomon Encoder And Decoder

Performance of Reed-Solomon Codes in AWGN Channel

White Paper FEC In Optical Transmission. Giacomo Losio ProLabs Head of Technology

Lecture 17 Components Principles of Error Control Borivoje Nikolic March 16, 2004.

EDI042 Error Control Coding (Kodningsteknik)

Design High speed Reed Solomon Decoder on FPGA

Performance Evaluation and Comparative Analysis of Various Concatenated Error Correcting Codes Using BPSK Modulation for AWGN Channel

ECE 5325/6325: Wireless Communication Systems Lecture Notes, Spring 2013

ERROR CONTROL CODING From Theory to Practice

S Coding Methods (5 cr) P. Prerequisites. Literature (1) Contents

International Journal of Engineering Research in Electronics and Communication Engineering (IJERECE) Vol 1, Issue 5, April 2015

International Journal of Digital Application & Contemporary research Website: (Volume 1, Issue 7, February 2013)

ECE 5325/6325: Wireless Communication Systems Lecture Notes, Spring 2013

Error Correction. Error-Correction 1

A Survey of Advanced FEC Systems

ECE 6640 Digital Communications

Study of Turbo Coded OFDM over Fading Channel

Convolutional Coding Using Booth Algorithm For Application in Wireless Communication

Single Error Correcting Codes (SECC) 6.02 Spring 2011 Lecture #9. Checking the parity. Using the Syndrome to Correct Errors

Chapter 1 Coding for Reliable Digital Transmission and Storage

Performance of RS and BCH Codes over Correlated Rayleigh Fading Channel using QAM Modulation Technique

Performance Optimization of Hybrid Combination of LDPC and RS Codes Using Image Transmission System Over Fading Channels

High-Rate Non-Binary Product Codes

BER Analysis of BPSK and QAM Modulation Schemes using RS Encoding over Rayleigh Fading Channel

ISSN: International Journal of Innovative Research in Science, Engineering and Technology

Revision of Lecture Eleven

Performance Analysis of Reed Solomon Code for various Modulation Schemes over AWGN Channel

Page 1. Outline. Basic Idea. Hamming Distance. Hamming Distance Visual: HD=2

Keywords: Bit-Error-Rate, M-ary Frequency Shift Keying (M-FSK), MATLAB/SIMULINK, Reed- Solomon codes.

Outline. Communications Engineering 1

Digital Transmission using SECC Spring 2010 Lecture #7. (n,k,d) Systematic Block Codes. How many parity bits to use?

Energy Efficient Adaptive Reed-Solomon Decoding System

Implementation of Reed Solomon Decoder for Area Critical Applications

Performance of Combined Error Correction and Error Detection for very Short Block Length Codes

Physical Layer: Modulation, FEC. Wireless Networks: Guevara Noubir. S2001, COM3525 Wireless Networks Lecture 3, 1

6. FUNDAMENTALS OF CHANNEL CODER

Digital Television Lecture 5

Lecture 3 Data Link Layer - Digital Data Communication Techniques

Decoding of Block Turbo Codes

Bit Error Rate Performance Evaluation of Various Modulation Techniques with Forward Error Correction Coding of WiMAX

Error Control Coding. Aaron Gulliver Dept. of Electrical and Computer Engineering University of Victoria

Lecture #2. EE 471C / EE 381K-17 Wireless Communication Lab. Professor Robert W. Heath Jr.

Channel Coding/Decoding. Hamming Method

ICE1495 Independent Study for Undergraduate Project (IUP) A. Lie Detector. Prof. : Hyunchul Park Student : Jonghun Park Due date : 06/04/04

PERFORMANCE ELEVATION CRITERIA OF RS CODED OFDM TRANSMISSION OVER NOISY CHANNEL

Performance Analysis of OFDM System with QPSK for Wireless Communication

Improvement Of Block Product Turbo Coding By Using A New Concept Of Soft Hamming Decoder

Physical-Layer Services and Systems

Multilevel RS/Convolutional Concatenated Coded QAM for Hybrid IBOC-AM Broadcasting

International Journal of Scientific & Engineering Research Volume 9, Issue 3, March ISSN

VHDL Modelling of Reed Solomon Decoder

Hamming net based Low Complexity Successive Cancellation Polar Decoder

Chapter 10 Error Detection and Correction 10.1

Improved concatenated (RS-CC) for OFDM systems

Detecting and Correcting Bit Errors. COS 463: Wireless Networks Lecture 8 Kyle Jamieson

AHA Application Note. Primer: Reed-Solomon Error Correction Codes (ECC)

International Journal of Computer Trends and Technology (IJCTT) Volume 40 Number 2 - October2016

Open Access Concatenated RS-Convolutional Codes for Cooperative Wireless Communication

Error Control and performance Analysis of MIMO-OFDM Over Fading Channels

Course Developer: Ranjan Bose, IIT Delhi

SYNTHESIS OF CYCLIC ENCODER AND DECODER FOR HIGH SPEED NETWORKS

Lab/Project Error Control Coding using LDPC Codes and HARQ

TABLE OF CONTENTS CHAPTER TITLE PAGE

LDPC Decoding: VLSI Architectures and Implementations

Performance Analysis of Reed Solomon Code & BCH Code for various Modulation Schemes over AWGN Channel

PERFORMANCE OF WIMAX PHYSICAL LAYER WITH VARIATIONS IN CHANNEL CODING AND DIGITAL MODULATION UNDER REALISTIC CHANNEL CONDITIONS

ECE 476/ECE 501C/CS Wireless Communication Systems Winter Lecture 9: Error Control Coding

ETSI TS V1.1.2 ( )

APPLICATIONS OF REED-SOLOMON CODES ON OPTICAL MEDIA STORAGE. A Thesis. Presented to the. Faculty of. San Diego State University

Lecture 4: Wireless Physical Layer: Channel Coding. Mythili Vutukuru CS 653 Spring 2014 Jan 16, Thursday

Performance Analysis of WiMAX Physical Layer Model using Various Techniques

Improvements encoding energy benefit in protected telecommunication data transmission channels

Hardware Implementation of BCH Error-Correcting Codes on a FPGA

Spreading Codes and Characteristics. Error Correction Codes

BER Performance Analysis of QAM Modulation Techniques in MIMO Rayleigh Channel for WCDMA System

Error Detection and Correction

Running head: ERROR CORRECTION 1. Studies in Error Correction Coding. Hannah Kirse

Volume 2, Issue 9, September 2014 International Journal of Advance Research in Computer Science and Management Studies

Contents Chapter 1: Introduction... 2

Chapter 7. Conclusion and Future Scope

IEEE C /02R1. IEEE Mobile Broadband Wireless Access <

BER of OFDM system using concatenated forward error correcting codes (FEC) over Nakagami m fading channel

Computer Networks. Week 03 Founda(on Communica(on Concepts. College of Information Science and Engineering Ritsumeikan University

Introduction to Error Control Coding

Comparative Analysis of DVB System for Different Encoding Techniques with Compressed Images

Turbo coding (CH 16)

6.004 Computation Structures Spring 2009

Analysis of Convolutional Encoder with Viterbi Decoder for Next Generation Broadband Wireless Access Systems

Analysis of Reed-Solomon Coding Combined with Cyclic Redundancy Check in DVB-H link layer

Error Correcting Code

An Efficient Forward Error Correction Scheme for Wireless Sensor Network

Transcription:

Simulink Modelling of Reed-Solomon (Rs) Code for Error Detection and Correction Okeke. C Department of Electrical /Electronics Engineering, Michael Okpara University of Agriculture, Umudike, Abia State, Nigeria Iroegbu.C. Department of Electrical /Electronic Engineering, Michael Okpara University of Agriculture, Umudike, Abia State, Nigeria Abstract This paper is on the analysis of Reed-Solomon (RS) Codes as an efficient code for error detection and correction. Reed-Solomon codes are examples of error correcting codes in which redundant information is added to data so that it can be recovered reliably despite errors in transmission or storage and retrieval. They describe a systematic way of building codes that can detect and correct multiple errors. It can be used in any communication system where a significant power saving is required and where the operating signal to noise ratio is very low. Deep space communications, mobile satellite/cellular communications, microwave links, paging, error correction system used on CD's and DVD's and other communications systems are based on a Reed-Solomon code. Keywords: Reed-Solomon (RS), Error Correction, Coding, Communication system I. INTRODUCTION In communication systems, the transfer of information from the source to its destination has to be done in such a way that the quality of the received information should be as close as possible to the quality of the transmitted information. As illustrated by Shannon in his paper published in 1948 [1], for each physical channel there is a parametric quantity called the channel capacity. Shannon showed that there exist error control codes such that arbitrary small error probability of the data to be transmitted over the channel can be achieved as long as the data transmission rate is less than the capacity of the channel. There are two types of Forward Error Correction (FEC) coding techniques: linear block coding and convolution encoding [2]. Reed-Solomon codes come under the category of linear block codes. Reed Solomon (RS) codes are non-binary cyclic error-correcting codes invented by Irving S. Reed and Gustave Solomon. They described a systematic way of building codes that could detect and correct multiple random symbol errors. A Block diagram of a typical data transmission is shown in Figure 1.The information source output can be either analog signal or digital signal. The source encoder transforms the source output into a suitable sequence of binary digits (bits) as it may give each symbol different length of bits to minimize the size of data and its output called the information sequence u. In case of an analog information source, the source encoder contains analog to digital converter (ADC). The channel encoder converts the information sequence u into an encoded sequence c called a codeword or code vector. The channel is the medium which the data is transferred through it and its nature depends on the application. It determines the type of errors which affects the encoded sequence c, it may be random errors or burst errors and this determines the type of code to be used. So the channel transforms the encoded sequence to received sequence r which may has some errors. The channel decoder corrects the errors in the received sequence r to transform it into a binary sequence û called the estimated sequence. The decoding technique is based on the type of channel encoding. Ideally, û will be the same as the information sequence u, but actually the noise may cause some decoding errors which make difference between the information sequence u and the estimated sequence û. The source decoder transforms the estimated sequence û into an estimate of the source output and delivers this estimate to the destination. Vol. 4 Issue 2 July 2014 65 ISSN: 2278-621X

Information Noise Encoder u Encoder c (Storage Medium) Destination Decoder Û r Decoder Fig1: A Block diagram of a typical data transmission system II. REED-SOLOMON CODES (RS) In June1960, Irving Reed and Gus Solomon who were then staff members of MIT Lincoln Laboratory, published a paper in the Journal of the Society for Industrial and Applied Mathematics with title Polynomial Codes over Certain Finite Fields [3]. This paper described a new type of error control codes that are now called Reed-Solomon codes. Reed-Solomon Codes are non-binary block codes so it has the properties of block codes. These codes are encoded by the same way of encoding the binary codes, but decoding was very complicated and a great effort was exerted by Berlekamp and others to improve its decoding algorithm [4]. In 1971, Reed-Solomon codes were used by NASA for some of their missions to Mars. In 1977, RS codes were notably implemented in the Voyager program in the form of concatenated codes. The first commercial application in mass-produced consumer products appeared in 1982 with the compact disc, where two interleaved RS codes are used. A Reed Solomon code can bridge a series of errors in a block of data to recover the coefficients of the polynomial that drew the original curve [5][6]. The most important advantage of Reed-Solomon codes over binary linear block codes is the ability of correcting the burst errors. As in Reed-Solomon codes the information bits are divided into message blocks of k information symbols each and each symbol consists of m bits. The enoder encodes each message independently to n symbols. The RS (n, k) can correct up to t symbols where t = [n-k/2] and that regardless the number of error bits in each symbol. The properties of Reed-Solomon codes make them especially well-suited to applications where errors occur in bursts. This is because It does not matter to the code how many bits in a symbol are in error-if multiple bits in a symbol are corrupted it only counts as a single error. Alternatively, if a data stream is not characterized by bursts error but by random single bit errors, a Reed-Solomon code is usually a poor choice. More effective codes are available for this case. Designers are not required to use the "natural" sizes of Reed-Solomon code blocks. A technique known as "shortening" can produce a smaller code of any desired size from a larger code. Its capability to correct both burst errors and erasures makes it the best choice for the designer to use it as the encoding and decoding tool. Today RS codes are widely in used in many applications that involve data transmission, like wireless computer networks, in telephony such as GSM, GPRS, UMTS, in broadcasting such as DVB-T, DVC-C and in data storage, like hard disk drives (HDD). Memory cards in cameras and telephones and in optical storage like Compact Discs (CD), Digital Versatile Discs (DVD) and Blu-ray Discs (BD) are all using Reed-Solomon codes. III. DESIGN METHODOLOGY Figures2 and 3 shows the block diagrams of Encoder and decoder of the Reed-Solomon Vol. 4 Issue 2 July 2014 66 ISSN: 2278-621X

Fig2: Block Diagram of RS Encoder Fig3: Block diagram of RS A. Finite (Galois) Field Arithmetic A finite field Fq is a field F which has a finite number of elements and order of the field q. Fig3: Block diagram of RS The following is always valid for all numbers in a binary Galois field: Fields contain 0 or 1. Adding two numbers gives one number in the set. Subtracting two numbers gives one number in the set. Multiplying one number gives one number in the set. Dividing one number by one gives number in the set, division by 0 is not allowed. The distributive law holds for all elements in the field B. Generator Polynomial A Reed-Solomon codeword is generated using a special polynomial. Primitive polynomials are of interest here because they are used to define the Galois field Vol. 4 Issue 2 July 2014 67 ISSN: 2278-621X

All valid code words are exactly divisible by the generator polynomial. C. Encoder The encoder is essentially a 2t tap shift register where each register is m bits wide. The Reed-Solomon encoder reads in k data symbols, computes the n k parity symbols, and appends the parity symbols to the k data symbols for a total of n symbols. The multiplier coefficients are the coefficients of the RS generator polynomial. The general idea is the construction of a polynomial; the coefficients produced will be symbols such that the generator polynomial will exactly divide the data/parity polynomial. D. Decoder The decoder processes each block and attempts to correct errors which may occur during transmission. It divides received codeword polynomial by the RS code generator polynomial. If the remainder is zero, then no errors are detected, else indicates the presence of errors. The RS decoder works on syndrome decoding and has five steps: Calculate the syndromes. Use the syndromes to determine the error locater polynomial. Find the roots of the error locater polynomial. The inverses of these roots give the locations of errors. Use the syndromes, roots, and error locater polynomial to determine the error magnitudes. Use the information about error location and magnitude to actually correct the errors. Figure4 shows a SIMULINK model constructed for the analysis of performance of RS coding system over AWGN channel. Fig4: A SIMULINK model for RS coding system over AWGN channel Vol. 4 Issue 2 July 2014 68 ISSN: 2278-621X

IV. SIMULATION RESULTS AND DISCUSSION Simulating the model in figure4, and extracting BER performance curve by using BER tool functions. The simulation result is shown in figure 5. In the error probability graph, it was seen that for a particular range of SNR, the number of error bits present can be found out using the bit error rate probability. For different error correcting capabilities of RS code, the range of SNR goes on increasing as the error correcting capability increases. Fig5: Graph between SNR and Bit error rate (BER) V. CONCLUSIONS Reed Solomon (255,251) code was simulated in SIMULINK. It was found that if the number of bits in error is beyond the range of error correcting capability, the signal can be ignored in the same place and an acknowledgement can be sent to the signal again. But, if the number of bits in error is within the range then also we can estimate using those bits about how many symbols will be in error and then decide whether to try decode the transmitted signal or not. In the error probability graph, it was seen that for a particular range of SNR, the number of error bits present can be found out using the bit error rate probability. REFERENCES [1] C. E. Shannon: "A mathematical theory of communication," Bell System Technical Journal, vol. 27, October 1948, pp. 379 423. [2] Daniel J., Costello, JR., Error Control Coding, Fundamentals and Applications, Prentice Hall, Inc. Englewood Cliffs, New Jersey, 1983 [3] I. S. Reed and G. Solomon, Polynomial Codes over Certain Finite Fields, SI AM Journal of Applied Mathematics, Vol. 8, June 1960. [4] E. Berlekamp, Algebraic Coding Theory. McGraw-Hill, 1968. [5] Stephen B.Wicker, Reed-Solomon code And Their Application, IEEE Press, 1994. [6] Reed-Solomon error correction, http://en.wikipedia.org/wiki/reed-solomon_error _correction, Jan. 11, 2011. [7] R.J.McEliece, L.Swanson, On the decoder error probability for Reed-Solomon codes, IEEE Trans.on Inf.Theory, Vol. IT-32, pp.701-703. Vol. 4 Issue 2 July 2014 69 ISSN: 2278-621X