SlideShare uma empresa Scribd logo
1 de 6
Baixar para ler offline
International Journal of Research in Advent Technology, Vol.2, No.5, May 2014 
E-ISSN: 2321-9637 
1 
Implementation of Multidirectional Parity Check Code 
Using Hamming Code for Error Detection and 
Correction 
Vishal Badole1, Amit Udawat2 
Department of Electronics and Communication Engg. 1, Acropolis Technical Campus, Indore 1 
Department of Electronics and Communication Engg.2, Acropolis Technical Campus, Indore 2 
Email: badolevishal1116@gmail.com1, amitudawat@gmail.com2 
Abstract- Reliability and efficiency for data transmission play important role in data computer network. As 
communication system is nondeterministic in its nature so reliability of data transmission deals with probability 
of error. Generally two techniques forward error correction (FEC) and channel coding are employed to control 
the error in communication system during data transmission. The proposed technique is a channel coding 
technique which improves efficiency as well as reliability of data transmission. In this technique 
Multidirectional parity code along with Hamming code are employed on communication system to detect and 
correct the error in data as well as check bits or redundant bits generated from the data. In the proposed error 
detection and correction technique Multidirectional parity code is used for detection and correction of error in 
data part and Hamming code is employed for detection and correction of error in multidirectional parity check 
bits or redundant bits in received codeword. The technique can correct four bit error, three bit error from data 
part using Multidirectional parity code and one bit error from redundant bits, in received code vector. Encoder 
and decoder for proposed technique has been realized using MATLAB. 
Index Terms- Error Detection, Error Correction, Bit Overhead (BO), Code Rate (R), Reliability of data 
transmission . 
1. INTRODUCTION 
As the demand of data transmission 
increased, reliability and efficiency of data 
transmission system becomes more advisable. The 
reliability and efficiency of data transmission can be 
improved by making use of channel coding and 
source coding techniques respectively. Source coding 
deals with transformation of data from one form to 
another whereas in channel coding the data is made 
secured from the noise by making use of error 
detection and correction techniques (EDAC). Up to 
now a number of EDAC methods are proposed to 
protect the data from noise but the reliability of data 
transmission is still a big challenge in noisy 
environment. 
This paper presents a reliable and high 
efficient technique for detection and correction of 
error. The proposed EDAC is based on 
Multidirectional parity code with Hamming code. In 
this technique Multidirectional parity code secure the 
data part and Hamming code provide security to 
redundant bits against burst error in noisy 
environment. In this technique Multidirectional parity 
code with Hamming code can correct four bit of error, 
three error bit from data and one error from redundant 
bits that characterize data. 
2. LITERATURE REVIEW 
N. Babu Anne et al. [1] proposed a four 
dimensional parity check technique which can correct 
two errors and detect up to five errors and compared it 
with two different techniques of three dimensional 
parity check codes in terms of code rate and overhead. 
V. Gupta et al. [2] presented a review on various error 
correcting and controlling techniques. The best 
technique out of presented techniques is selected on 
the basis of accuracy, complexity and power 
consumption. It is concluded that Viterbi is most 
efficient error correction technique over a long 
distance communication. M. Kishani et al. [3] 
proposed a high level error detection and correction 
technique known as Horizontal, Vertical and Diagonal 
(HVD) code for multiple error detection and 
correction. This technique uses parity codes in four 
directions in a data part to improve the reliability of 
memories. The proposed technique is useful for 
applications like memory systems where high error 
detection coverage is important. M. Imran et al. [4] 
proposed a technique to improve the reliability of a 
given off the shelf component by manipulating 
software based error correction algorithm of it’s 
already existed 4-D parity codes. This technique can 
correct triple bit adjacent errors, without adversely 
affecting the performance of system. P. Sharma et al. 
[5] proposed a matrix method to detect and correct 
single bit error. This method works on even and odd 
parity. This method checks horizontal and vertical 
parity bits of transmitting and receiving data.
International Journal of Research in Advent Technology, Vol.2, No. 
3. PROPOSED METHODOLOGY 
E-ISSN: 2321-9637 
The proposed technique is a combination of 
existing Multidirectional parity code and Hamming 
H 
code. At transmitter end, the information which is to 
be transmitted is converted in binary data and 
stored 
in a memory of size    (= No. of rows and 
= 
No. of columns). . On this binary data, data 
stored in a 
memory section, Multidirectional nal parity code is 
applied. Application of Multidirectional directional parity code 
on binary data generates parity bits also known as 
multidirectional parity check bits in horizontal, 
vertical and directions. These multidirectional parity 
check bits are further encoded using Hamming code. 
For generating a systematic ic codeword 
these check bits 
are appended at the end of data. Now this t 
systematic 
codeword which contain data as well as redundant bits 
is transmitted through media. At receiver end, the 
received codeword is decoded using Multidirectional 
parity code and Hamming amming code decoder to detect and 
correct error in data and multidirectional parity check 
bits which characterize data. The general model for 
communication system using multidirectional parity 
code and Hamming code is shown in 
Figure 3.1 [8]. 
Figure 3.1 .1 Communication system using 
multidirectional parity code and Hamming code 
3.1 Encoding of data 
At transmitter end, for encoding of 
information it is converted into binary data and 
in a memory of size   . After it 
parity code is applied on this binary data 
against noise. Application of Multidirectional parity 
code generates horizontal, vertical and diagonal parity 
check bits using modulo-2 addition. These encoded 
check bits are known as redundant bits 
code vector these encoded parity check 
appended at the end of data. 
stored 
Multidirectional 
to protect it 
dant bits. To form a 
bits are 
Consider   9 bit binary data is stored in a 
memory section of size 3  3 and multidirectional 
5, May 2014 
parity code is applied on it. In multidirectional parity 
code implementation 	,  and
represent the number 
of errors in the horizontal, vertical and diagonal of 
data part respectively, given as 
	  
, , , 
  
, ,  and
,  , , ,  
where ,  ,  ,  ,  ,  and 
 ,  , , ,  
represent positions of error in horizontal, vertical and 
diagonal directions respectively 
[8]. Generation of 
multidirectional parity check bits in horizontal, 
vertical and diagonal directions 
s is shown in Figure 3.2 
[8]. 
Figure 3.2 Multidirectional parity check bi 
generation 
The expression of calculating horizontal, 
vertical and diagonal parity check bits 
Calculation of horizontal parity check bits 
  ⨁⨁ 
  ⨁⨁ 
  ⨁⨁ 
Calculation of vertical parity check bits 
  ⨁⨁ 
  ⨁⨁ 
  ⨁⨁ 
Calculation of diagonal parity check bits 
 
  ⨁ 
  ⨁⨁ 
  ⨁ 
   
These calculated multidirectional parity check bits are 
encoded using Hamming code before transmission. 
2 
bits 
are given as 

	 
(3.1) 
(3.2) 
(3.3) 

 
(3.4) 
(3.5) 
(3.6)
(3.7) 
(3.8) 
(3.9) 
(3.10) 
(3.11)
International Journal of Research in Advent Technology, Vol.2, No.5, May 2014 
E-ISSN: 2321-9637 
3 
After the calculation of multidirectional 
parity check bits Hamming code is applied on these 
redundant bits for detection and correction of error in 
them and transmitted with the data. 
Consider  , ℎ , ℎ ,  ,  ,  and 
, , , , are multidirectional parity check bits 
and , ,  and  are Hamming check bits in 
Hamming code [8]. On applying Hamming code on 
multidirectional parity check bits the Hamming parity 
check bits are generated by setting even parity over 
each Hamming check bit and its associated 
multidirectional parity check bits using modulo-2 
addition. Figure 3.3 shows the positions of Hamming 
check bits along with multidirectional parity check 
bits in the Hamming code vector or check bit vector. 
Figure 3.3 Hamming code vector/ Check bit vector 
Expression of calculating Hamming check 
bits from multidirectional parity check bits are given 
as 
 = ⨁⨁⨁⨁⨁ℎ⨁ℎ (3.12) 
 = ⨁⨁⨁⨁⨁⨁ℎ⨁ℎ 
(3.13) 
 = ⨁⨁⨁⨁ℎ⨁ℎ⨁ℎ (3.14) 
 = ⨁⨁⨁⨁ℎ⨁ℎ⨁ℎ (3.15) 
Hamming check bits shown by (3.12) to 
(3.15) along with multidirectional parity check bits 
given by (3.1) to (3.11) are known as redundant bits 
and sent with data as check bit vector. Generation of 
check bit or redundant bit vector using Hamming 
encoder is shown in Figure 5.5. 
Figure 3.4 Hamming encoder 
3.2 Decoding of data 
At receiver end, Hamming decoder is used to 
decode the redundant bits and to detect and correct 
single bit error from multidirectional parity check bits. 
When the transmitted code vector is received, a parity 
bit is calculated over each group of bits 
(Multidirectional parity check bit and Hamming parity 
check bit) and stored in a syndrome value from right 
to left. Parity for check bit 1 and its associated bits are 
rightmost in the syndrome value, parity for check bit 2 
and its associated bits are to the left, then parity for 
check bit 4, and so forth. If the syndrome value is 0, 
there is no error in multidirectional parity check bits. 
For single bit error, the syndrome value identifies the 
erroneous bit, which needs to be inverted. 
Consider , ,  and  are syndrome 
bits in a syndrome . Calculation of syndrome bits 
are given as 
 = ⨁⨁⨁⨁⨁ℎ⨁ℎ⨁ 
(3.16) 
 = ⨁⨁⨁⨁⨁⨁ℎ⨁ℎ⨁ 
(3.17) 
 = ⨁⨁⨁⨁ℎ⨁ℎ⨁ℎ⨁ 
(3.18) 
 = ⨁⨁⨁⨁ℎ⨁ℎ⨁ℎ⨁ 
(3.19) 
Decoding of redundant bits in received code vector is 
shown in Figure 3.5 
Figure 3.5 Hamming decoder 
This codeword which has been decoded by 
Hamming code decoder is again decoded using 
Multidirectional parity code decoder and equations 
from (3.1) to (3.11) are recalculated to detect and 
correct the burst error in data. To detect the error in 
received codeword multidirectional parity check bits

Mais conteúdo relacionado

Mais procurados

Design, Analysis and Implementation of Modified Luby Transform Code
Design, Analysis and Implementation of Modified Luby Transform CodeDesign, Analysis and Implementation of Modified Luby Transform Code
Design, Analysis and Implementation of Modified Luby Transform CodeIOSR Journals
 
Lossless Data Compression Using Rice Algorithm Based On Curve Fitting Technique
Lossless Data Compression Using Rice Algorithm Based On Curve Fitting TechniqueLossless Data Compression Using Rice Algorithm Based On Curve Fitting Technique
Lossless Data Compression Using Rice Algorithm Based On Curve Fitting TechniqueIRJET Journal
 
IRJET- Comparative Analysis of Different Graphical Password Techniques fo...
IRJET-  	  Comparative Analysis of Different Graphical Password Techniques fo...IRJET-  	  Comparative Analysis of Different Graphical Password Techniques fo...
IRJET- Comparative Analysis of Different Graphical Password Techniques fo...IRJET Journal
 
Evaluation of Huffman and Arithmetic Algorithms for Multimedia Compression St...
Evaluation of Huffman and Arithmetic Algorithms for Multimedia Compression St...Evaluation of Huffman and Arithmetic Algorithms for Multimedia Compression St...
Evaluation of Huffman and Arithmetic Algorithms for Multimedia Compression St...IJCSEA Journal
 
Combating Bit Losses in Computer Networks using Modified Luby Transform Code
Combating Bit Losses in Computer Networks using Modified Luby Transform CodeCombating Bit Losses in Computer Networks using Modified Luby Transform Code
Combating Bit Losses in Computer Networks using Modified Luby Transform CodeIJMER
 
FPGA IMPLEMENTATION OF SOFT OUTPUT VITERBI ALGORITHM USING MEMORYLESS HYBRID ...
FPGA IMPLEMENTATION OF SOFT OUTPUT VITERBI ALGORITHM USING MEMORYLESS HYBRID ...FPGA IMPLEMENTATION OF SOFT OUTPUT VITERBI ALGORITHM USING MEMORYLESS HYBRID ...
FPGA IMPLEMENTATION OF SOFT OUTPUT VITERBI ALGORITHM USING MEMORYLESS HYBRID ...VLSICS Design
 
Performance Enhancement of MIMO-OFDM using Redundant Residue Number System
Performance Enhancement of MIMO-OFDM using Redundant Residue Number System Performance Enhancement of MIMO-OFDM using Redundant Residue Number System
Performance Enhancement of MIMO-OFDM using Redundant Residue Number System IJECEIAES
 
Simulation of convolutional encoder
Simulation of convolutional encoderSimulation of convolutional encoder
Simulation of convolutional encodereSAT Journals
 
A novel method for digital data encoding-decoding
A novel method for digital data encoding-decodingA novel method for digital data encoding-decoding
A novel method for digital data encoding-decodingTELKOMNIKA JOURNAL
 
AN EFFICIENT VITERBI DECODER
AN EFFICIENT VITERBI DECODERAN EFFICIENT VITERBI DECODER
AN EFFICIENT VITERBI DECODERIJCSEA Journal
 
Speech encryption by multiple chaotic maps with fast fourier transform
Speech encryption by multiple chaotic maps with fast fourier transform Speech encryption by multiple chaotic maps with fast fourier transform
Speech encryption by multiple chaotic maps with fast fourier transform IJECEIAES
 
IRJET - Design and Implementation of Double Precision FPU for Optimised Speed
IRJET - Design and Implementation of Double Precision FPU for Optimised SpeedIRJET - Design and Implementation of Double Precision FPU for Optimised Speed
IRJET - Design and Implementation of Double Precision FPU for Optimised SpeedIRJET Journal
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)IJERD Editor
 
Colour Based Cryptography
Colour Based CryptographyColour Based Cryptography
Colour Based CryptographyIRJET Journal
 
IRJET- ROI based Automated Meter Reading System using Python
IRJET-  	  ROI based Automated Meter Reading System using PythonIRJET-  	  ROI based Automated Meter Reading System using Python
IRJET- ROI based Automated Meter Reading System using PythonIRJET Journal
 
Mscc Tns Assignment Ii Student Number 2823134 Abid Afsar
Mscc Tns Assignment Ii  Student Number 2823134 Abid AfsarMscc Tns Assignment Ii  Student Number 2823134 Abid Afsar
Mscc Tns Assignment Ii Student Number 2823134 Abid AfsarAbid Afsar Khan Malang Falsafi
 
FPGA and ASIC Implementation of Speech Encryption and Decryption using AES Al...
FPGA and ASIC Implementation of Speech Encryption and Decryption using AES Al...FPGA and ASIC Implementation of Speech Encryption and Decryption using AES Al...
FPGA and ASIC Implementation of Speech Encryption and Decryption using AES Al...IJCSIS Research Publications
 
A COOPERATIVE LOCALIZATION METHOD BASED ON V2I COMMUNICATION AND DISTANCE INF...
A COOPERATIVE LOCALIZATION METHOD BASED ON V2I COMMUNICATION AND DISTANCE INF...A COOPERATIVE LOCALIZATION METHOD BASED ON V2I COMMUNICATION AND DISTANCE INF...
A COOPERATIVE LOCALIZATION METHOD BASED ON V2I COMMUNICATION AND DISTANCE INF...IJCNCJournal
 

Mais procurados (20)

Design, Analysis and Implementation of Modified Luby Transform Code
Design, Analysis and Implementation of Modified Luby Transform CodeDesign, Analysis and Implementation of Modified Luby Transform Code
Design, Analysis and Implementation of Modified Luby Transform Code
 
Lossless Data Compression Using Rice Algorithm Based On Curve Fitting Technique
Lossless Data Compression Using Rice Algorithm Based On Curve Fitting TechniqueLossless Data Compression Using Rice Algorithm Based On Curve Fitting Technique
Lossless Data Compression Using Rice Algorithm Based On Curve Fitting Technique
 
IRJET- Comparative Analysis of Different Graphical Password Techniques fo...
IRJET-  	  Comparative Analysis of Different Graphical Password Techniques fo...IRJET-  	  Comparative Analysis of Different Graphical Password Techniques fo...
IRJET- Comparative Analysis of Different Graphical Password Techniques fo...
 
Evaluation of Huffman and Arithmetic Algorithms for Multimedia Compression St...
Evaluation of Huffman and Arithmetic Algorithms for Multimedia Compression St...Evaluation of Huffman and Arithmetic Algorithms for Multimedia Compression St...
Evaluation of Huffman and Arithmetic Algorithms for Multimedia Compression St...
 
Combating Bit Losses in Computer Networks using Modified Luby Transform Code
Combating Bit Losses in Computer Networks using Modified Luby Transform CodeCombating Bit Losses in Computer Networks using Modified Luby Transform Code
Combating Bit Losses in Computer Networks using Modified Luby Transform Code
 
FPGA IMPLEMENTATION OF SOFT OUTPUT VITERBI ALGORITHM USING MEMORYLESS HYBRID ...
FPGA IMPLEMENTATION OF SOFT OUTPUT VITERBI ALGORITHM USING MEMORYLESS HYBRID ...FPGA IMPLEMENTATION OF SOFT OUTPUT VITERBI ALGORITHM USING MEMORYLESS HYBRID ...
FPGA IMPLEMENTATION OF SOFT OUTPUT VITERBI ALGORITHM USING MEMORYLESS HYBRID ...
 
Performance Enhancement of MIMO-OFDM using Redundant Residue Number System
Performance Enhancement of MIMO-OFDM using Redundant Residue Number System Performance Enhancement of MIMO-OFDM using Redundant Residue Number System
Performance Enhancement of MIMO-OFDM using Redundant Residue Number System
 
Simulation of convolutional encoder
Simulation of convolutional encoderSimulation of convolutional encoder
Simulation of convolutional encoder
 
Simulation of convolutional encoder
Simulation of convolutional encoderSimulation of convolutional encoder
Simulation of convolutional encoder
 
A novel method for digital data encoding-decoding
A novel method for digital data encoding-decodingA novel method for digital data encoding-decoding
A novel method for digital data encoding-decoding
 
Fy3510451050
Fy3510451050Fy3510451050
Fy3510451050
 
AN EFFICIENT VITERBI DECODER
AN EFFICIENT VITERBI DECODERAN EFFICIENT VITERBI DECODER
AN EFFICIENT VITERBI DECODER
 
Speech encryption by multiple chaotic maps with fast fourier transform
Speech encryption by multiple chaotic maps with fast fourier transform Speech encryption by multiple chaotic maps with fast fourier transform
Speech encryption by multiple chaotic maps with fast fourier transform
 
IRJET - Design and Implementation of Double Precision FPU for Optimised Speed
IRJET - Design and Implementation of Double Precision FPU for Optimised SpeedIRJET - Design and Implementation of Double Precision FPU for Optimised Speed
IRJET - Design and Implementation of Double Precision FPU for Optimised Speed
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
 
Colour Based Cryptography
Colour Based CryptographyColour Based Cryptography
Colour Based Cryptography
 
IRJET- ROI based Automated Meter Reading System using Python
IRJET-  	  ROI based Automated Meter Reading System using PythonIRJET-  	  ROI based Automated Meter Reading System using Python
IRJET- ROI based Automated Meter Reading System using Python
 
Mscc Tns Assignment Ii Student Number 2823134 Abid Afsar
Mscc Tns Assignment Ii  Student Number 2823134 Abid AfsarMscc Tns Assignment Ii  Student Number 2823134 Abid Afsar
Mscc Tns Assignment Ii Student Number 2823134 Abid Afsar
 
FPGA and ASIC Implementation of Speech Encryption and Decryption using AES Al...
FPGA and ASIC Implementation of Speech Encryption and Decryption using AES Al...FPGA and ASIC Implementation of Speech Encryption and Decryption using AES Al...
FPGA and ASIC Implementation of Speech Encryption and Decryption using AES Al...
 
A COOPERATIVE LOCALIZATION METHOD BASED ON V2I COMMUNICATION AND DISTANCE INF...
A COOPERATIVE LOCALIZATION METHOD BASED ON V2I COMMUNICATION AND DISTANCE INF...A COOPERATIVE LOCALIZATION METHOD BASED ON V2I COMMUNICATION AND DISTANCE INF...
A COOPERATIVE LOCALIZATION METHOD BASED ON V2I COMMUNICATION AND DISTANCE INF...
 

Destaque

Paper id 2420145
Paper id 2420145Paper id 2420145
Paper id 2420145IJRAT
 
地方財政、預算經驗談-陳錦稷(2014.09.23)
地方財政、預算經驗談-陳錦稷(2014.09.23)地方財政、預算經驗談-陳錦稷(2014.09.23)
地方財政、預算經驗談-陳錦稷(2014.09.23)平台 青
 
Paper id 21201475
Paper id 21201475Paper id 21201475
Paper id 21201475IJRAT
 
Instituto tecnologico de cerro azul
Instituto tecnologico de cerro azulInstituto tecnologico de cerro azul
Instituto tecnologico de cerro azulEdiel Domingo Santos
 
Daniela ruiz guzmán
Daniela ruiz guzmánDaniela ruiz guzmán
Daniela ruiz guzmáncristolfa
 
Paper id 27201430
Paper id 27201430Paper id 27201430
Paper id 27201430IJRAT
 
Paper id 28201413
Paper id 28201413Paper id 28201413
Paper id 28201413IJRAT
 
Paper id 25201471
Paper id 25201471Paper id 25201471
Paper id 25201471IJRAT
 
Benjamin medina Slideshow
Benjamin medina SlideshowBenjamin medina Slideshow
Benjamin medina SlideshowBenjiMedina
 
Paper id 24201492
Paper id 24201492Paper id 24201492
Paper id 24201492IJRAT
 
Paper id 23201426
Paper id 23201426Paper id 23201426
Paper id 23201426IJRAT
 
Paper id 28201446
Paper id 28201446Paper id 28201446
Paper id 28201446IJRAT
 
Paper id 22201490
Paper id 22201490Paper id 22201490
Paper id 22201490IJRAT
 
Paper id 23201490
Paper id 23201490Paper id 23201490
Paper id 23201490IJRAT
 
Paper id 25201435
Paper id 25201435Paper id 25201435
Paper id 25201435IJRAT
 
Paper id 28201429
Paper id 28201429Paper id 28201429
Paper id 28201429IJRAT
 
Paper id 252014125
Paper id 252014125Paper id 252014125
Paper id 252014125IJRAT
 
Paper id 21201458
Paper id 21201458Paper id 21201458
Paper id 21201458IJRAT
 
Paper id 212014106
Paper id 212014106Paper id 212014106
Paper id 212014106IJRAT
 
Paper id 24201424
Paper id 24201424Paper id 24201424
Paper id 24201424IJRAT
 

Destaque (20)

Paper id 2420145
Paper id 2420145Paper id 2420145
Paper id 2420145
 
地方財政、預算經驗談-陳錦稷(2014.09.23)
地方財政、預算經驗談-陳錦稷(2014.09.23)地方財政、預算經驗談-陳錦稷(2014.09.23)
地方財政、預算經驗談-陳錦稷(2014.09.23)
 
Paper id 21201475
Paper id 21201475Paper id 21201475
Paper id 21201475
 
Instituto tecnologico de cerro azul
Instituto tecnologico de cerro azulInstituto tecnologico de cerro azul
Instituto tecnologico de cerro azul
 
Daniela ruiz guzmán
Daniela ruiz guzmánDaniela ruiz guzmán
Daniela ruiz guzmán
 
Paper id 27201430
Paper id 27201430Paper id 27201430
Paper id 27201430
 
Paper id 28201413
Paper id 28201413Paper id 28201413
Paper id 28201413
 
Paper id 25201471
Paper id 25201471Paper id 25201471
Paper id 25201471
 
Benjamin medina Slideshow
Benjamin medina SlideshowBenjamin medina Slideshow
Benjamin medina Slideshow
 
Paper id 24201492
Paper id 24201492Paper id 24201492
Paper id 24201492
 
Paper id 23201426
Paper id 23201426Paper id 23201426
Paper id 23201426
 
Paper id 28201446
Paper id 28201446Paper id 28201446
Paper id 28201446
 
Paper id 22201490
Paper id 22201490Paper id 22201490
Paper id 22201490
 
Paper id 23201490
Paper id 23201490Paper id 23201490
Paper id 23201490
 
Paper id 25201435
Paper id 25201435Paper id 25201435
Paper id 25201435
 
Paper id 28201429
Paper id 28201429Paper id 28201429
Paper id 28201429
 
Paper id 252014125
Paper id 252014125Paper id 252014125
Paper id 252014125
 
Paper id 21201458
Paper id 21201458Paper id 21201458
Paper id 21201458
 
Paper id 212014106
Paper id 212014106Paper id 212014106
Paper id 212014106
 
Paper id 24201424
Paper id 24201424Paper id 24201424
Paper id 24201424
 

Semelhante a Paper id 2520141232

Paper id 312201514
Paper id 312201514Paper id 312201514
Paper id 312201514IJRAT
 
Fpga implementation of 4 d parity based data coding technique
Fpga implementation of 4 d parity based data coding techniqueFpga implementation of 4 d parity based data coding technique
Fpga implementation of 4 d parity based data coding techniqueeSAT Journals
 
Single-Bit Parity Detection and Correction using Hamming Code 7-Bit Model
Single-Bit Parity Detection and Correction using Hamming Code 7-Bit ModelSingle-Bit Parity Detection and Correction using Hamming Code 7-Bit Model
Single-Bit Parity Detection and Correction using Hamming Code 7-Bit ModelUniversitas Pembangunan Panca Budi
 
DCN Error Detection & Correction
DCN Error Detection & CorrectionDCN Error Detection & Correction
DCN Error Detection & CorrectionRohan Bhatkar
 
Error dectation and correction
Error dectation and correctionError dectation and correction
Error dectation and correctionfg657
 
Presentation for the Project on VLSI and Embedded
Presentation for the Project on VLSI and EmbeddedPresentation for the Project on VLSI and Embedded
Presentation for the Project on VLSI and Embeddedlthanuja01
 
Implementation of error correcting methods to the asynchronous Delay Insensit...
Implementation of error correcting methods to the asynchronous Delay Insensit...Implementation of error correcting methods to the asynchronous Delay Insensit...
Implementation of error correcting methods to the asynchronous Delay Insensit...IOSR Journals
 
4 implementation of various error detection and correction techniques in c...
4 implementation of    various error detection and correction techniques in c...4 implementation of    various error detection and correction techniques in c...
4 implementation of various error detection and correction techniques in c...ZerihunDemere
 
Error correction and Detection technique while sending the message
Error correction and Detection technique while sending the messageError correction and Detection technique while sending the message
Error correction and Detection technique while sending the messageAnil Kumar Sonkar Sonkar
 
FPGA Based Decimal Matrix Code for Passive RFID Tag
FPGA Based Decimal Matrix Code for Passive RFID TagFPGA Based Decimal Matrix Code for Passive RFID Tag
FPGA Based Decimal Matrix Code for Passive RFID TagIJERA Editor
 
Satellite error detection and correction presentation
Satellite error detection and correction presentationSatellite error detection and correction presentation
Satellite error detection and correction presentationAhmedMuhumed2
 
A New Bit Split and Interleaved Channel Coding for MIMO Decoder
A New Bit Split and Interleaved Channel Coding for MIMO DecoderA New Bit Split and Interleaved Channel Coding for MIMO Decoder
A New Bit Split and Interleaved Channel Coding for MIMO DecoderIJARBEST JOURNAL
 

Semelhante a Paper id 2520141232 (20)

Paper id 312201514
Paper id 312201514Paper id 312201514
Paper id 312201514
 
40120140505011
4012014050501140120140505011
40120140505011
 
20120140505006
2012014050500620120140505006
20120140505006
 
Fpga implementation of 4 d parity based data coding technique
Fpga implementation of 4 d parity based data coding techniqueFpga implementation of 4 d parity based data coding technique
Fpga implementation of 4 d parity based data coding technique
 
Single-Bit Parity Detection and Correction using Hamming Code 7-Bit Model
Single-Bit Parity Detection and Correction using Hamming Code 7-Bit ModelSingle-Bit Parity Detection and Correction using Hamming Code 7-Bit Model
Single-Bit Parity Detection and Correction using Hamming Code 7-Bit Model
 
DCN Error Detection & Correction
DCN Error Detection & CorrectionDCN Error Detection & Correction
DCN Error Detection & Correction
 
Ijetcas14 378
Ijetcas14 378Ijetcas14 378
Ijetcas14 378
 
B041306015
B041306015B041306015
B041306015
 
E42032732
E42032732E42032732
E42032732
 
Error dectation and correction
Error dectation and correctionError dectation and correction
Error dectation and correction
 
J0445255
J0445255J0445255
J0445255
 
Presentation for the Project on VLSI and Embedded
Presentation for the Project on VLSI and EmbeddedPresentation for the Project on VLSI and Embedded
Presentation for the Project on VLSI and Embedded
 
Y25124127
Y25124127Y25124127
Y25124127
 
Innovative Improvement of Data Storage Using Error Correction Codes
Innovative Improvement of Data Storage Using Error Correction CodesInnovative Improvement of Data Storage Using Error Correction Codes
Innovative Improvement of Data Storage Using Error Correction Codes
 
Implementation of error correcting methods to the asynchronous Delay Insensit...
Implementation of error correcting methods to the asynchronous Delay Insensit...Implementation of error correcting methods to the asynchronous Delay Insensit...
Implementation of error correcting methods to the asynchronous Delay Insensit...
 
4 implementation of various error detection and correction techniques in c...
4 implementation of    various error detection and correction techniques in c...4 implementation of    various error detection and correction techniques in c...
4 implementation of various error detection and correction techniques in c...
 
Error correction and Detection technique while sending the message
Error correction and Detection technique while sending the messageError correction and Detection technique while sending the message
Error correction and Detection technique while sending the message
 
FPGA Based Decimal Matrix Code for Passive RFID Tag
FPGA Based Decimal Matrix Code for Passive RFID TagFPGA Based Decimal Matrix Code for Passive RFID Tag
FPGA Based Decimal Matrix Code for Passive RFID Tag
 
Satellite error detection and correction presentation
Satellite error detection and correction presentationSatellite error detection and correction presentation
Satellite error detection and correction presentation
 
A New Bit Split and Interleaved Channel Coding for MIMO Decoder
A New Bit Split and Interleaved Channel Coding for MIMO DecoderA New Bit Split and Interleaved Channel Coding for MIMO Decoder
A New Bit Split and Interleaved Channel Coding for MIMO Decoder
 

Mais de IJRAT

96202108
9620210896202108
96202108IJRAT
 
97202107
9720210797202107
97202107IJRAT
 
93202101
9320210193202101
93202101IJRAT
 
92202102
9220210292202102
92202102IJRAT
 
91202104
9120210491202104
91202104IJRAT
 
87202003
8720200387202003
87202003IJRAT
 
87202001
8720200187202001
87202001IJRAT
 
86202013
8620201386202013
86202013IJRAT
 
86202008
8620200886202008
86202008IJRAT
 
86202005
8620200586202005
86202005IJRAT
 
86202004
8620200486202004
86202004IJRAT
 
85202026
8520202685202026
85202026IJRAT
 
711201940
711201940711201940
711201940IJRAT
 
711201939
711201939711201939
711201939IJRAT
 
711201935
711201935711201935
711201935IJRAT
 
711201927
711201927711201927
711201927IJRAT
 
711201905
711201905711201905
711201905IJRAT
 
710201947
710201947710201947
710201947IJRAT
 
712201907
712201907712201907
712201907IJRAT
 
712201903
712201903712201903
712201903IJRAT
 

Mais de IJRAT (20)

96202108
9620210896202108
96202108
 
97202107
9720210797202107
97202107
 
93202101
9320210193202101
93202101
 
92202102
9220210292202102
92202102
 
91202104
9120210491202104
91202104
 
87202003
8720200387202003
87202003
 
87202001
8720200187202001
87202001
 
86202013
8620201386202013
86202013
 
86202008
8620200886202008
86202008
 
86202005
8620200586202005
86202005
 
86202004
8620200486202004
86202004
 
85202026
8520202685202026
85202026
 
711201940
711201940711201940
711201940
 
711201939
711201939711201939
711201939
 
711201935
711201935711201935
711201935
 
711201927
711201927711201927
711201927
 
711201905
711201905711201905
711201905
 
710201947
710201947710201947
710201947
 
712201907
712201907712201907
712201907
 
712201903
712201903712201903
712201903
 

Paper id 2520141232

  • 1. International Journal of Research in Advent Technology, Vol.2, No.5, May 2014 E-ISSN: 2321-9637 1 Implementation of Multidirectional Parity Check Code Using Hamming Code for Error Detection and Correction Vishal Badole1, Amit Udawat2 Department of Electronics and Communication Engg. 1, Acropolis Technical Campus, Indore 1 Department of Electronics and Communication Engg.2, Acropolis Technical Campus, Indore 2 Email: badolevishal1116@gmail.com1, amitudawat@gmail.com2 Abstract- Reliability and efficiency for data transmission play important role in data computer network. As communication system is nondeterministic in its nature so reliability of data transmission deals with probability of error. Generally two techniques forward error correction (FEC) and channel coding are employed to control the error in communication system during data transmission. The proposed technique is a channel coding technique which improves efficiency as well as reliability of data transmission. In this technique Multidirectional parity code along with Hamming code are employed on communication system to detect and correct the error in data as well as check bits or redundant bits generated from the data. In the proposed error detection and correction technique Multidirectional parity code is used for detection and correction of error in data part and Hamming code is employed for detection and correction of error in multidirectional parity check bits or redundant bits in received codeword. The technique can correct four bit error, three bit error from data part using Multidirectional parity code and one bit error from redundant bits, in received code vector. Encoder and decoder for proposed technique has been realized using MATLAB. Index Terms- Error Detection, Error Correction, Bit Overhead (BO), Code Rate (R), Reliability of data transmission . 1. INTRODUCTION As the demand of data transmission increased, reliability and efficiency of data transmission system becomes more advisable. The reliability and efficiency of data transmission can be improved by making use of channel coding and source coding techniques respectively. Source coding deals with transformation of data from one form to another whereas in channel coding the data is made secured from the noise by making use of error detection and correction techniques (EDAC). Up to now a number of EDAC methods are proposed to protect the data from noise but the reliability of data transmission is still a big challenge in noisy environment. This paper presents a reliable and high efficient technique for detection and correction of error. The proposed EDAC is based on Multidirectional parity code with Hamming code. In this technique Multidirectional parity code secure the data part and Hamming code provide security to redundant bits against burst error in noisy environment. In this technique Multidirectional parity code with Hamming code can correct four bit of error, three error bit from data and one error from redundant bits that characterize data. 2. LITERATURE REVIEW N. Babu Anne et al. [1] proposed a four dimensional parity check technique which can correct two errors and detect up to five errors and compared it with two different techniques of three dimensional parity check codes in terms of code rate and overhead. V. Gupta et al. [2] presented a review on various error correcting and controlling techniques. The best technique out of presented techniques is selected on the basis of accuracy, complexity and power consumption. It is concluded that Viterbi is most efficient error correction technique over a long distance communication. M. Kishani et al. [3] proposed a high level error detection and correction technique known as Horizontal, Vertical and Diagonal (HVD) code for multiple error detection and correction. This technique uses parity codes in four directions in a data part to improve the reliability of memories. The proposed technique is useful for applications like memory systems where high error detection coverage is important. M. Imran et al. [4] proposed a technique to improve the reliability of a given off the shelf component by manipulating software based error correction algorithm of it’s already existed 4-D parity codes. This technique can correct triple bit adjacent errors, without adversely affecting the performance of system. P. Sharma et al. [5] proposed a matrix method to detect and correct single bit error. This method works on even and odd parity. This method checks horizontal and vertical parity bits of transmitting and receiving data.
  • 2. International Journal of Research in Advent Technology, Vol.2, No. 3. PROPOSED METHODOLOGY E-ISSN: 2321-9637 The proposed technique is a combination of existing Multidirectional parity code and Hamming H code. At transmitter end, the information which is to be transmitted is converted in binary data and stored in a memory of size (= No. of rows and = No. of columns). . On this binary data, data stored in a memory section, Multidirectional nal parity code is applied. Application of Multidirectional directional parity code on binary data generates parity bits also known as multidirectional parity check bits in horizontal, vertical and directions. These multidirectional parity check bits are further encoded using Hamming code. For generating a systematic ic codeword these check bits are appended at the end of data. Now this t systematic codeword which contain data as well as redundant bits is transmitted through media. At receiver end, the received codeword is decoded using Multidirectional parity code and Hamming amming code decoder to detect and correct error in data and multidirectional parity check bits which characterize data. The general model for communication system using multidirectional parity code and Hamming code is shown in Figure 3.1 [8]. Figure 3.1 .1 Communication system using multidirectional parity code and Hamming code 3.1 Encoding of data At transmitter end, for encoding of information it is converted into binary data and in a memory of size . After it parity code is applied on this binary data against noise. Application of Multidirectional parity code generates horizontal, vertical and diagonal parity check bits using modulo-2 addition. These encoded check bits are known as redundant bits code vector these encoded parity check appended at the end of data. stored Multidirectional to protect it dant bits. To form a bits are Consider 9 bit binary data is stored in a memory section of size 3 3 and multidirectional 5, May 2014 parity code is applied on it. In multidirectional parity code implementation , and
  • 3. represent the number of errors in the horizontal, vertical and diagonal of data part respectively, given as , , , , , and
  • 4. , , , , where , , , , , and , , , , represent positions of error in horizontal, vertical and diagonal directions respectively [8]. Generation of multidirectional parity check bits in horizontal, vertical and diagonal directions s is shown in Figure 3.2 [8]. Figure 3.2 Multidirectional parity check bi generation The expression of calculating horizontal, vertical and diagonal parity check bits Calculation of horizontal parity check bits ⨁⨁ ⨁⨁ ⨁⨁ Calculation of vertical parity check bits ⨁⨁ ⨁⨁ ⨁⨁ Calculation of diagonal parity check bits ⨁ ⨁⨁ ⨁ These calculated multidirectional parity check bits are encoded using Hamming code before transmission. 2 bits are given as (3.1) (3.2) (3.3) (3.4) (3.5) (3.6)
  • 5. (3.7) (3.8) (3.9) (3.10) (3.11)
  • 6. International Journal of Research in Advent Technology, Vol.2, No.5, May 2014 E-ISSN: 2321-9637 3 After the calculation of multidirectional parity check bits Hamming code is applied on these redundant bits for detection and correction of error in them and transmitted with the data. Consider , ℎ , ℎ , , , and , , , , are multidirectional parity check bits and , , and are Hamming check bits in Hamming code [8]. On applying Hamming code on multidirectional parity check bits the Hamming parity check bits are generated by setting even parity over each Hamming check bit and its associated multidirectional parity check bits using modulo-2 addition. Figure 3.3 shows the positions of Hamming check bits along with multidirectional parity check bits in the Hamming code vector or check bit vector. Figure 3.3 Hamming code vector/ Check bit vector Expression of calculating Hamming check bits from multidirectional parity check bits are given as = ⨁⨁⨁⨁⨁ℎ⨁ℎ (3.12) = ⨁⨁⨁⨁⨁⨁ℎ⨁ℎ (3.13) = ⨁⨁⨁⨁ℎ⨁ℎ⨁ℎ (3.14) = ⨁⨁⨁⨁ℎ⨁ℎ⨁ℎ (3.15) Hamming check bits shown by (3.12) to (3.15) along with multidirectional parity check bits given by (3.1) to (3.11) are known as redundant bits and sent with data as check bit vector. Generation of check bit or redundant bit vector using Hamming encoder is shown in Figure 5.5. Figure 3.4 Hamming encoder 3.2 Decoding of data At receiver end, Hamming decoder is used to decode the redundant bits and to detect and correct single bit error from multidirectional parity check bits. When the transmitted code vector is received, a parity bit is calculated over each group of bits (Multidirectional parity check bit and Hamming parity check bit) and stored in a syndrome value from right to left. Parity for check bit 1 and its associated bits are rightmost in the syndrome value, parity for check bit 2 and its associated bits are to the left, then parity for check bit 4, and so forth. If the syndrome value is 0, there is no error in multidirectional parity check bits. For single bit error, the syndrome value identifies the erroneous bit, which needs to be inverted. Consider , , and are syndrome bits in a syndrome . Calculation of syndrome bits are given as = ⨁⨁⨁⨁⨁ℎ⨁ℎ⨁ (3.16) = ⨁⨁⨁⨁⨁⨁ℎ⨁ℎ⨁ (3.17) = ⨁⨁⨁⨁ℎ⨁ℎ⨁ℎ⨁ (3.18) = ⨁⨁⨁⨁ℎ⨁ℎ⨁ℎ⨁ (3.19) Decoding of redundant bits in received code vector is shown in Figure 3.5 Figure 3.5 Hamming decoder This codeword which has been decoded by Hamming code decoder is again decoded using Multidirectional parity code decoder and equations from (3.1) to (3.11) are recalculated to detect and correct the burst error in data. To detect the error in received codeword multidirectional parity check bits
  • 7. International Journal of Research in Advent Technology, Vol.2, No.5, May 2014 E-ISSN: 2321-9637 4 are regenerated from the received data and bit positions of these parity bits are compared with the received one. If comparison does not reflect any difference between received and recalculated parity bit position and = 0, = 0 and
  • 8. = 0, it shows that the received data at the receiver end is not affected by noise and if the comparison reflects difference between the received and recalculated parity bit position and ≠ 0 or ≠ 0 or
  • 9. ≠ 0, the erroneous parity lines are identified and then the correction process starts [1, 2]. The position of error bit in received data is detected by determining the intersection point of corrupted parity bits. The Intersection point of all corrupted parity bits indicate the position of error bit in data and this corrupted bit is changed from 0 to 1 or 1 to 0 to get the correct data bit.. Detection of a single bit error is shown in Figure 3.4 [8] in which dashed circles show corrupted bit position in horizontal, vertical and diagonal directions and continuous circles show the error bit position in data part of received codeword. Figure 3.6 Regeneration of multidirectional parity bits for error detection and correction 5. RESULTS The proposed technique is implemented using MATLAB. The results obtained after implementation of this technique for burst error detection and correction are shown by Figure 5.1 to 5.4. Figure 5.1 Single bit error detection and correction (a) Message vector (b) Transmitted code vector (c) Received code vector (d) Received message vector (e) Corrected message vector Figure 5.2 Double bit error detection and correction (a) Message vector (b) Transmitted code vector (c) Received code vector (d) Received message vector (e) Corrected message vector
  • 10. International Journal of Research in Advent Technology, Vol.2, No.5, May 2014 E-ISSN: 2321-9637 5 Figure 5.3 Triple bit error detection and correction (a) Message vector (b) Transmitted code vector (c) Received codevector (d) Received message vector (e) Corrected message vector Figure 5.4 Four bit error detection and correction (a) Message vector (b) Transmitted code vector (c) Received code vector (d) Received message vector (e) Corrected message vector On the basis of Code Rate and Bit Overhead the proposed scheme is compared with other EDAC codes as shown in Table 5.1. It is clear that Hamming code has minimum Bit Overhead and maximum Code Rate but the error correction capability is 1 bit. BCH code and Reed Solomon both can correct up to three bit error in received codeword but in the case of both methods decoding algorithm is too complex. The HVD code can also correct up to 3 bit error with high efficiency but bit overhead is maximum and Code Rate is minimum as compared to 4-D parity code. But in case of all EDAC codes if redundant bits are also corrupted during transmission they are not capable to detect and correct the error in redundant bits. The proposed technique can correct four bit error, three error bits from the data parts and one error bit from redundant bits, in received codeword with acceptable Code Rate and Bit Overhead. Performance of proposed technique over other burst error correcting code is given in Figure 5.5. Table 5.1 Comparison between different EDAC codes Figure 5.5 Performance of different EDAC codes S . N o . Error correcting code Data bits () Redundant bits () Length of code vector ( = + ) Bit Overhead (# = /) Code Rate (% = / ) Error correction capability in No. of bits 1 Hamming (31,26) 26 5 31 19.23% 83.8 7% 1 2 BCH(31,1 6,7) 16 15 31 93.75% 51.6 1% 3 3 RS(64,57, 7) 57 7 64 12.28% 89.0 6% 3 4 HVD 64 46 110 71.87% 58.1 8% 3 5 4-D parity code 64 31 95 48.43% 67.3 6% 3 6 Multidirec tional parity code with Hamming code 64 36 100 56.25% 64.0 0% 4
  • 11. International Journal of Research in Advent Technology, Vol.2, No.5, May 2014 E-ISSN: 2321-9637 6 6. CONCLUSION This paper presents a technique which comprises Multidirectional parity code with Hamming code for detection and correction of burst error with improvement in reliability and efficiency of data transmission. As this technique is compared with other EDAC and it is found that the error correction capability of proposed technique is four error bit and architecture for encoder and decoder are less complex than other EDAC. The proposed scheme can be used efficiently where retransmission of data is complicated and so costly and check bits in codeword are also corrupted by noise. This technique can correct three bit error from data as well as one bit error in check bits. The Bit Overhead and Code Rate for this technique are 56.25% and 64% respectively which provide better results for error detection and correction than other techniques. REFERENCES [1] N. Babu Anne, U. Thirunavukkarasu, Dr. S. Latifi, , (2004),“Three and Four-dimensional Parity-check Codes for Correction and Detection of Multiple Errors”, International Conference on Information Technology: Coding and Computing, Volume 2, pp. 837-842. [2] V. Gupta, Dr. C. Verma, (2012), “Error Detection and Correction: An Introduction”, International Journal of Advanced Research in Computer Science and Software Engineering”, Volume 2, Issue 11, pp. 212-218. [3] M. Kishani, H. R. Zarandi, H. Pedram, A. Tajary, M. Raji, B. Ghavami, , (2011), “HVD: horizontal-vertical-diagonal error detecting and correcting code to protect against with soft errors, Design Automation for Embedded Systems, Volume 15, Issue 3-4, pp. 289-310. [4] M. Imran , Z. Al-Ars, G. N. Gaydadjiev, (2009), “Improving Soft Error Correction Capability of 4-D Parity Codes”, 14th IEEE European Test Symposium(ETS 2009), t.b.s. [5] P. Sharma, K. Kumar, A. K. Singh, , (2012), “Single bit error detection and correction by matrix method”, International Journal of Research Innovation in Computer Engineering, Volume 2, Issue 2, pp. 201-206. [6] S. Sharma, Vijaykumar P.,” An HVD Based error detection and correction of soft errors in semiconductor memories used for space application”, International conference on devices, circuits and systems (ICDCS), pp. 563-56. [7] M. Jabeen, S. Khan, (2012), “Design of Convolution Encoder and Reconfigurable Viterbi Decoder”, International Journal of Engineering and Science, Volume 1, Issue 3, pp. 15-21. [8] V. Badole, A. Udawat, (2014), “Design of Multidirectional Parity Code using Hamming Code Technique for Error detection and correction”, PARIPEX- Indian Journal of Research, Volume 3, Issue 5, pp.79-81.