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

Similar documents
Revision of Lecture Eleven

IJESRT. (I2OR), Publication Impact Factor: 3.785

Performance of Reed-Solomon Codes in AWGN Channel

6. FUNDAMENTALS OF CHANNEL CODER

Hardware Implementation of BCH Error-Correcting Codes on a FPGA

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

EE521 Analog and Digital Communications

Design of Reed Solomon Encoder and Decoder

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

Chapter 4 Cyclotomic Cosets, the Mattson Solomon Polynomial, Idempotents and Cyclic Codes

Implementation of Reed Solomon Encoding Algorithm

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

Synchronization of Hamming Codes

Spreading Codes and Characteristics. Error Correction Codes

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

Hybrid ARQ Schemes for Non-Orthogonal Space-Time Block Codes

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

ERROR CONTROL CODING From Theory to Practice

Umudike. Abia State, Nigeria

Error Correction. Error-Correction 1

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

Forward Error Correction for experimental wireless ftp radio link over analog FM

Chapter 10 Error Detection and Correction 10.1

ECE 6640 Digital Communications

R.S. ENCODERS OF LOW POWER DESIGN

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

Digital Television Lecture 5

Error Detection and Correction

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

ETSI TS V1.1.2 ( )

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

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

ECE 6640 Digital Communications

Outline. Communications Engineering 1

FREDRIK TUFVESSON ELECTRICAL AND INFORMATION TECHNOLOGY

Implementation of Reed Solomon Decoder for Area Critical Applications

LDPC Decoding: VLSI Architectures and Implementations

Techniques to Mitigate Fading Effects

Design High speed Reed Solomon Decoder on FPGA

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

Energy Efficient Adaptive Reed-Solomon Decoding System

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

Basics of Error Correcting Codes

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

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

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

Error Protection: Detection and Correction

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

4. Which of the following channel matrices respresent a symmetric channel? [01M02] 5. The capacity of the channel with the channel Matrix

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

VLSI IMPLEMENTATION OF BLOCK ERROR CORRECTION CODING TECHNIQUES

16.36 Communication Systems Engineering

Department of Electronics and Communication Engineering 1

Error-Correcting Codes

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

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

Review: Design And Implementation Of Reed Solomon Encoder And Decoder

High-Rate Non-Binary Product Codes

Error Control Codes. Tarmo Anttalainen

Course Developer: Ranjan Bose, IIT Delhi

QUESTION BANK EC 1351 DIGITAL COMMUNICATION YEAR / SEM : III / VI UNIT I- PULSE MODULATION PART-A (2 Marks) 1. What is the purpose of sample and hold

Hamming Codes as Error-Reducing Codes

Hybrid ARQ Using Serially Concatenated Block Codes for Real-Time Communication - An Iterative Decoding Approach

Channel Coding/Decoding. Hamming Method

SYNTHESIS OF CYCLIC ENCODER AND DECODER FOR HIGH SPEED NETWORKS

IMPERIAL COLLEGE of SCIENCE, TECHNOLOGY and MEDICINE, DEPARTMENT of ELECTRICAL and ELECTRONIC ENGINEERING.

VHDL Modelling of Reed Solomon Decoder

A GSM Simulation Platform using MATLAB

Convolutional Coding Using Booth Algorithm For Application in Wireless Communication

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

PROJECT 5: DESIGNING A VOICE MODEM. Instructor: Amir Asif

Intro to coding and convolutional codes

Lab/Project Error Control Coding using LDPC Codes and HARQ

Digital Communication Systems ECS 452

An Efficient Forward Error Correction Scheme for Wireless Sensor Network

High-Throughput and Low-Power Architectures for Reed Solomon Decoder

TABLE OF CONTENTS CHAPTER TITLE PAGE

Noise Effective Code Analysis on the Basis of Correlation in CDMA Technology

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

High Throughput and Low Power Reed Solomon Decoder for Ultra Wide Band

Performance Evaluation of Error Correcting Techniques for OFDM Systems

Hamming Codes and Decoding Methods

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

RECOMMENDATION ITU-R M *, **

MATHEMATICS IN COMMUNICATIONS: INTRODUCTION TO CODING. A Public Lecture to the Uganda Mathematics Society

Analysis of Error Correction Codes in Unique Word OFDM

EE 435/535: Error Correcting Codes Project 1, Fall 2009: Extended Hamming Code. 1 Introduction. 2 Extended Hamming Code: Encoding. 1.

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

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

Space engineering. Space data links - Telemetry synchronization and channel coding. ECSS-E-ST-50-01C 31 July 2008

Computer Science 1001.py. Lecture 25 : Intro to Error Correction and Detection Codes

Physical-Layer Services and Systems

EDI042 Error Control Coding (Kodningsteknik)

PERFORMANCE ELEVATION CRITERIA OF RS CODED OFDM TRANSMISSION OVER NOISY CHANNEL

Block code Encoder. In some applications, message bits come in serially rather than in large blocks. WY Tam - EIE POLYU

Lecture 3 Data Link Layer - Digital Data Communication Techniques

Decoding of Block Turbo Codes

Chapter 1 Coding for Reliable Digital Transmission and Storage

DEPARTMENT OF INFORMATION TECHNOLOGY QUESTION BANK. Subject Name: Information Coding Techniques UNIT I INFORMATION ENTROPY FUNDAMENTALS

ROBUST BASEDBAND REED SOLOMON DETECTION OVER POWER LINE CHANNEL

Transcription:

Implementation of Error Trapping Techniqe In Cyclic Codes Using Lab VIEW [1] Aneetta Jose, [2] Hena Prince, [3] Jismy Tom, [4] Malavika S, [5] Indu Reena Varughese Electronics and Communication Dept. Amal Jyothi College of Engineering Kanjirappally, Kottayam, India Abstract: In modern communication system, multimedia contents in digital form are used to transmit the information. Probability of error is higher during this transmission which will affect the extraction of data. This paper considers the implementation of cyclic codes encoder and decoder for multimedia contents in the form of sound data using National Instruments LabView software. Cyclic codes can be defined by two parameters, which are code size n and information bit size k. LabView is user-friendly software which has many features for designing and prototyping. This project is based on channel coding implementation using cyclic codes in LabView. 16- bit sound data are used as test subjects for cyclic code encoding, decoding and error correction. The design can correct two-bit error in last n-k positions of the codeword. The design can correct short twobit error in last n-k position of the codeword. Keywords: LabView, Cyclic codes, encoder, decoder, error trapping, error correction. I. INTRODUCTION The newly developing technology is giving a great change to our world. Nowadays in modern communication system for the ease of transmission, information is sent in digital form. During transmission process there is always probability of error in the communication channel, which may disrupt and change the corresponding data. Thus the extraction of information becomes difficult. So to recover noise contained data, error correction is implemented in modern communication systems by adding redundant bits as parity bits into information bits in the data. By adding these redundant bits, received data which contains error can be recovered to the original data using specific algorithm. Modern communication systems use different error correction methods to remove noise in the received data. Cyclic codes, BCH (Bose, Chaudehuri, and Hocquenghem) codes, RS (Reed Solomon) codes and Convolution codes are being widely used in today s communication systems. Cyclic code is the predecessor of modern error correction method. It can be represented as (n, k), where n is the code size and k is the number of information bits. Cyclic code is used to correct two-bit error contained in the bit sequence of the data. This paper is a preliminary research of error correction in LabView software. A design in LabView can be easily reprogrammed. The software also comes up with reprogrammable Graphical User Interface (GUI), which is an additional feature to provide information about the operation and result. II. BASIC THEORY A. Galois Field Galois field is defined as F=GF (q), where q=p r with p prime. The elements 0, 1, 2, p-1 of F form a subfield F0 which is isomorphic to the integer s mod p, it is known as the prime subfield of F. For F to be a field the following conditions must be satisfied: 1. Associative law: For every a, b, c in F a + (b + c) = (a + b) + c (1) a * (b * c) = (a * b) * c 2. Commutative Law: For every a, b in F a + b = b + a (2) a * b = b * a 3. Distributive Law: For every a, b, c in F a * (b + c) = (a * b) + (a * c) (3) 4. Identity: There exists an identity element of 0 for addition and 1 for multiplication which satisfies a + 0 = a (4) a * 1 = a 5. Inverse: For any a, there is an element -a such that a + (-a) = 0 (5) a* ( a-1 ) = 1 B. Cyclic Codes A linear code is said to be cyclic if the ith cyclic rotation is also a codeword of the same code. In the case of groups, a group is said to be cyclic if it can be generated by successive powers of a given element. A cyclic code can be represented as polynomials defined over a Galois field GF (2n ). A codeword c = (c0, c1,, cn-1) is All Rights Reserved 2015 IJERECE 68

in the form: c (x) = c0+c1+ +cn-1x n-1 ci ϵ 2GF(2) (6) Polynomials over GF (2) can be added/subtracted, multiplied/divided in the usual way using binary field arithmetic. Definition 1 A polynomial f(x) over GF (2) of degree m is said to be irreducible if it is not divisible by any polynomial over GF (2) of degree less than m but greater than zero. Definition 2 An irreducible polynomial f(x) of degree m is said to be primitive if the smallest positive integer n for which f(x) divides Xn +1 is n=2m -1. The cyclic codes obey some characteristics. The properties of the cyclic codes are the following: 1. For a (n, k) cyclic code, there exists a generator polynomial of degree (n-k), which is the only code vector polynomial of minimum degree (n-k). 2. The generator polynomial g(x) of a (n, k) cyclic code is a factor of xn +1 i.e., x n +1=g(x).h(x) where, h(x) is parity check polynomial of degree k. Reed-Solomon codes are also called non binary since coefficients of polynomials are elements in GF (2 m ). These coefficients can be represented as powers of a primitive element α. Block length: n = 2 m -1 Parity-check size: n-k = 2t Minimum distance: d min 2t+1 Error-correction capability: t errors in a code vector C. Error Trapping Technique Cyclic codes are extremely well suited for error detection. It can be implemented by simply adding on additional flip-flop to the syndrome calculator. If the syndrome is non-zero, flip-flop sets an indication of error. In error correction, the decoder has to determine a correctable error pattern e(x) from the syndrome S(x) and add e(x) to r(x) to determine the transmitted code vector c(x). 3. If g(x) is a polynomial of degree (n-k) and is a factor of x n +1, then it generates the (n, k) cyclic code. 4. The code-vector polynomial V(x) = D(x).g(x) Where, D(x) = message vector polynomial of degree k. This method generates non-systematic cyclic codes. 5. To generate systematic cyclic code, the remainder polynomial R(x) is obtained from division of xn-k D(x) by g(x). The coefficients of R(x) are placed in the beginning of the code vector followed by coefficients of D(x) to get the code vector. Cyclic codes have a fair amount of algebraic structures that makes it possible to design codes with useful errorcorrecting properties. Also it is easy to implement encoding and syndrome calculating circuits which uses simple shift register with feedback connections and some basic gates. Special classes of cyclic codes Bose-Chaudhuri-Hocquenghem (BCH) For any positive integer m 3 and t<2 m -1, there exists a binary BCH code CBCH (n, k) with the following properties: Block length: n = 2 m -1 Number of message bits: k n-mt Minimum distance: d min 2t+1 Error correction capability: t errors in a code vector Reed-Solomon (RS) At the end of the decoding operation errors will have been corrected if they correspond to an error pattern built in to the detector and the syndrome register will contain all zeros. If the syndrome register does not contain all zeros, then an uncorrectable error pattern has been detected. III. DESIGN The encoding and decoding of cyclic codes are implemented using LabView software. In this, Mathscript module is used for simplification process. The sound data used for testing purpose is 16 bit, so that a 31 bit codeword is produced at the receiver side. The system design is divided into several parts, which are represented in Fig.2 and Fig.3. All Rights Reserved 2015 IJERECE 69

followed by conversion in to the analog waveform. Thus the original sound waveform is recovered. IV. RESULTS The Fig.4 shows the schematic of analog to digital. This depicts the sound data which is read in analog form is converted into digital waveform. A function for sound data playback (play waveform) is also used. Figure 3. System block diagram (part 2) A. Explanation In the initial stage, sound data in.wav file to be encoded is read and converted into analog form. Using analog to digital waveform function in Labview, analog waveform produced is then converted into digital waveform. This digital waveform is then converted into 16 bit unsigned data,which are represented in decimal numbers(0-65535).this unsigned binary bit are then converted into 16 bit binary sequences. For the production of 31 bit codeword, each 16- bit sequence is multiplied by generator matrix, which consists of 15x16 parity matrix and 16x16 identity matrix. This generated codeword is then added with a 31-bit error code which produces received codeword r. For the detection and correction of the error codeword, this codeword is multiplied by a parity check matrix which produces syndrome. An error trapping technique is applied using an n-k shifter to estimate error codeword. The resulting vector represented in matrix is combined with k elements zero matrix producing estimated error. Then the received codeword is added with the estimated error to convert the codeword back to the original codeword. The resulting codeword is converted to the original data by taking last 16 columns of the resulting codeword in matrix form. This 16-bit binary data is then converted into decimal form, which is then converted into digital waveform The Fig.5 shows the decimal to binary conversion. In this,16 division operations are performed to convert the decimal number produced to 16-bit binary data Figure 5. Decimal to binary Schematic for generator matrix production is shown in Fig.6 Generator matrix is formed by multiplying each row of Ik by x n-k and dividing the results by g (x), and the results are parity bits Pk n-k which is combined with Ik. All Rights Reserved 2015 IJERECE 70

The Fig.9 shows the design of parity check matrix H and H T. The parity check matrix is produced by combining P T and In-k. Figure9. Parity check matrix generation Figure 6. Generator matrix production schematic Schematic for codeword generation is shown in the Fig.7. This depicts the generation of 31-bit codeword. Mathscript module is used for the simplification of design. Error estimation and correction schematic is shown in fig.10. The received codeword r is multiplied with H T to produce syndrome. Each n-k shifted syndrome is combined with k k zero matrix, to produce estimated error in the corresponding codeword and the received codeword then added with the estimated error to recover the original codeword. Figure 7. Codeword generation Schematic used to add two-bit error to the generated codeword is shown in Fig.8 below. Figure10. Error estimation and correction The schematic of Binary to Decimal is shown in Fig. 11 below. It consists of 16 multipliers, data extraction function, and a modulo-2 adder. Information contained in each codeword is extracted by extracting the last k-columns of the corresponding codeword. The resulting 16- bit binary data is then converted to decimal representation of the 16-bit sound data Figure 8. Error generator schematic All Rights Reserved 2015 IJERECE 71

CONCLUSION In this work, we have used LabView software for the implementation of error correction in a 31-bit codeword. It consists of 15-bit parity and 16-bit information data. The two-bit error contained in the 16- bit sound data is corrected using cyclic code. Error trapping technique is used for the estimation and correction of error in the data. The result shows that the designed system can correct the error contained in the data, as expected. ACKNOWLEDGMENT Figure11. Binary to Decimal The schematic of Digital to Analog is shown in fig.12 below. The recovered sound data in decimal form is converted back to analog waveform, which is reconstructed back to original.wav sound data. Figure12. Digital to analog The fig.13 below shows the experimental result of this work. The schematic shows the original codeword, message vector, received codeword and the recovered output data. First and foremost, the authors would like to thank God Almighty for His blessings for this work. The authors would also like to sincerely thank Assistant Professor Ms. Indu Reena Varghese, Assistant Professor Mr. Mathew George and Mr. D. Jobish for their valuable comments. REFERENCES [1] K.Giridhar, Information Theory and Coding, Pooja Publications,2006. [2] Simon Haykin, Communication Systems, John Wiley & Sons Inc.,2001. [3] Shu Lin and Daniel J. Costello Jr., Error Control Coding: Fundamentals and Applications, Prentice-Hall, 1983. [4] Udayanto Dwi Atmojo, Sri Suning Kusumawardani, Implementation of Error Trapping Technique in (31,16) Cyclic Codes for Two-bit Error Correction in 16-bit Sound Data Using Labview Software, International Conference on DFMA, 2010. [5] Jorge Castineria Moreira and Patrick Guy Farrel, Essentials of Error- Control Coding, John Wiley& Sons Ltd., 2006. Figure13. Experimental result All Rights Reserved 2015 IJERECE 72