SlideShare a Scribd company logo
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 05 Issue: 03 | Mar-2018 www.irjet.net p-ISSN: 2395-0072
© 2018, IRJET | Impact Factor value: 6.171 | ISO 9001:2008 Certified Journal | Page 3708
FPGA implementation of orthogonal codes for efficient digital
communication
Shubham Patne1, Abhinav kalambe2, Sushmit Ingle3, Nitin Dongre4, Anuradha Kondelwar5
1,2,3,4 Student & department of electronic and telecommunication, Pce Nagpur, Maharashtra, India
5Assistant professor & department of electronic and telecommunication, Pce Nagpur, Maharashtra, India
---------------------------------------------------------------------***---------------------------------------------------------------------
Abstract - There has been an increase in data transmission
and noise & interference has also been increased in it. More
efficient and reliable techniques have been developed for
detecting and correcting errors in received data. There are
various approaches and techniques used for the purpose of
detecting and correcting errors. But still in data transmission
there is a problem of data reliability. In this paper orthogonal
codes have been used to detect and correct errors. Field
programmable gate array (FPGA) is used for implementation.
With the help of simulation this technique can detect upto
99.99% of errors and corrects it more efficiently.
Key Words: Orthogonal codes, FPGA, VHDL, error
detection and correction.
1. INTRODUCTION
There has been an increase in data transmission and noise&
interference has also been increased in it. More efficient and
reliable techniques have been developed for detecting and
correcting errors in received data. There are various
approaches and techniques used for thepurposeofdetecting
and correcting errors. But still in data transmissionthereisa
problem of data reliability. In this paper orthogonal codes
have been used to detect and correct errors. Field
programmable gate array (FPGA) is used for
implementation. With the help of simulation this technique
can detect upto 99.99% of errors and corrects it more
efficiently. There are some techniques such as cyclic
redundancy check (CRC) which only detects errors.
Moreover there are again some techniquesdesigned suchas
Solomon codes, hamming codes, which can detect as well as
correct errors. But the problem with these techniques are
that it cannot correct errors upto high efficiency.
A.ORTHOGONAL CODES
Orthogonal codes contains binary value. they consists same
number of 1’s and 0’s. An n-bit orthogonal code has n/2 1’s
and n/2 0’s, i.e, Therefore, all orthogonal codeswilloriginate
zero parity bits. The paper concept is thereby illuminatedby
8-bit orthogonal codes as described in Fig. 1. It has 8
orthogonal codes and 8 antipodal codes for a total of 16 bi-
orthogonal codes. Inverse of orthogonal codesare antipodal
codes.
A notable distinction in this method is that the transmitter
does not have to send the parity bit for the code, since it is
known to be always zero. If there is a transmission error, By
generating a parity bit at receiving end it can be detected by
the receiver. Before transmission, a m-bit data set is
designed into a unique n-bit orthogonal code. For example,a
4-bit data set is shown by a unique 8-bit orthogonal code,
which is transmitted without the parity bit. The data is
decoded based on code correlation upon receiving. It can be
done by setting a threshold between two orthogonal codes.
Following equation describes
d th =n/4
Where n is the code length and dth is the threshold, which is
center between two orthogonal codes. Therefore, for the 8-
bit orthogonal code (Fig. 2), we have dth = 8/4 = 2.
This structure provide a decision processinerrorcorrection,
where the incoming imperfect orthogonal code is examined
for correlation with the codes stored in a look-up table, for a
possible match. The acceptance criterion for a valid code is
that an n-bit comparison must yield a acceptable cross
correlation value; otherwise, a false detection will occur.
This is governed by the following correlation process,where
a pair of n-bit codes x1x2…xn and y1y2…yn is compared to
return.
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 05 Issue: 03 | Mar-2018 www.irjet.net p-ISSN: 2395-0072
© 2018, IRJET | Impact Factor value: 6.171 | ISO 9001:2008 Certified Journal | Page 3709
The concept is illustrated by means of an 8- bit orthogonal
code as shown in Fig.1. It has 8-orthogonal codes and 8-
antipodal codes for a total of 16-bitorthogonal codes.
Antipodal codes are just the inverse of orthogonal codes;
they are also orthogonal among themselves. The same
concept, of improving error detection using orthogonal
codes, can be extended for 16-bit orthogonal codes. There
are 16, 16-bit orthogonal codes and 16, 16-bit antipodal
codes total of 32 bi-orthogonal codes. Antipodal codes are
opposite to that of orthogonal codes. Since there is an equal
number of 1’s and 0’s, each orthogonal code will generate a
zero parity bit. Therefore, each antipodal code will also
generate a zero parity bit. A notable distinction in this
method is that the transmitter does not have to send the
parity bit since the parity bit is known to be always zero [7].
Therefore, if there is a transmission error, the receiver will
be able to detect it by generating a parity bit at the receiving
end. Before transmission a k-bit data set is mapped into
a unique n-bit. For example, a 4-bit data set is represented
by a unique 8-bit orthogonal code which is transmitted
without the parity bit. When received, the data are decoded
based on code correlation. It can be done by setting a
threshold midway between two orthogonal codes. This is
given by the following equation D= n/4. Where n is the code
length and it is the threshold, which is midway betweentwo
orthogonal codes.
Here XOR operation is performed between thereceivedcode
and each code in the look-up table. A counter isusedtocount
the number of 1’s in the resulting signal. For example, for 8-
bit orthogonal code, we get sixteen counter results. If any
one bit of the results is zero, it means there is no error. The
corrected code is correlated with the minimum count. yet it
is not possible to correct the corrupted code if the minimum
count is correlated with more than one combination of the
orthogonal codes. Therefore, for the 8-bit orthogonal code
we have dth = 8/4 = 2.
2. METHODOLOGY
A. Design methodology:-
Since there is an equal number of 1’s and 0’s, each
orthogonal code will generate a zero parity byte. If the data
hasbeen corrupted during the transmission the receivercan
detect errors by generating the parity bit for the received
code and if it is not zero then the data iscorrupted. However
the parity bit doesn’t change for an even number of errors,
hence receiver can detect the 2n/2 error means 50 %.Our
approach is not to use the parity generation method to
detect the errors. But a simple technique based on the
comparison between the received code and all the
orthogonal code combinations stored in a look up table.
B. Transmitter:-
Transmitter comprises encoder and Parallel to Serial
Conversion. Mapping unit encode the incoming 5-bit data to
corresponding 16-bit orthogonal code. To store orthogonal
codeswe have used a look-up table. For Exampleinputtothe
transmitter is “00001” this correspondsto16-bitorthogonal
code “0101010101010101”. Parallel to Serial Conversion
converts the 16-bit code set into a serial bit stream which is
to be transmitted from the transmitter.
C. Receiver:-
Receiver functionality comprises several steps i.e. Serial to
Parallel Conversion, Splitting of orthogonal code, Error
Detection and Correction and Decoder. Incoming serial bit
stream is first converted to 16 bit parallel code. This
received code either can be impaired or correct one. Now
received code is processed with each code in the lookup
table. Now the split-Orthogonal come into picture. We have
split received code and each orthogonal code in the look-up
table in two equal parts. Then XORed each time and count
the number of 1’sin the output. We will get two countswhile
counting both XORed outputs. These two countsarechecked
for different conditions and will work inter-dependentlyand
then decision is taken for correct orthogonal code. Beside
detection and correction with these two different countswe
can detect the position of the error in the received code, so
that we can enhance the effectiveness of over all trans-
reception system.
III.IMPLEMENTATION AND RESULTS
In this setup DE-2 cyclone-4 chip (FPGA) is used for
implementation with the help of simulation software Xilinx
ISE 13.2. Problem cannot be detected if an orthogonal code
turns over to another orthogonal code in previous work.
Although, with the help of OCCMP, if one block in the
package changes to another orthogonal code, then parity
byte isused to detect the error. Assuming that thenumberof
blocks in the memory is k (including the parity byte). When
more than one block in this memory turns over to other
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 05 Issue: 03 | Mar-2018 www.irjet.net p-ISSN: 2395-0072
© 2018, IRJET | Impact Factor value: 6.171 | ISO 9001:2008 Certified Journal | Page 3710
orthogonal codes and if there is an even number of errors in
one column, the errors cannot be detected.
Where i=2, 3,…, k is the number of corrupted blocks, and niis
the amount of combinations that cannot be detected.
The total number of combinations that cannot be detected
for k blocks of n-bit code is N given by:
For 9 blocks of 8-bit code,
The detection rate for k block of n-bit code is
This gives for OCCMP-8 a detection rate of
The example of 8-bit orthogonal codes can be used for error
correction the same can be used for explaining different
schemes:
Closest Match technique can be used to detect and correct
error when one error originate in one block code.
If there are two error in one block code, the corrupted codes
can be corrected with the help of vertical parity byte. If two
errorsoccur in different blocks, then ClosestMatchisusedto
correct them. Now if three errors occur, incidental to the
locations, the Closest Match, vertical parity, or both can be
used to detect and correct the corrupted block codes. If four
errors turns up, incidental on the locations, some errors can
be detected and corrected, and some errors can only be
detected but not corrected. Convincingly, this technique can
correct up to 3-bit errors. In general, for n-bit orthogonal
code, it can correct (n/2-1)-bit errors.
Fig -1: Altera DE2 board
Fig -2: Simulated output
3. CONCLUSIONS
In this paper, we have designed and implemented a realtime
high-efficiency technique to detect and correct errors in
digital communication. The proposed technique can detect
99.99% of errors and correct up to (n/2-1)-bit of errors for
n-bit orthogonal codes as the experimental results shows.
TABLE IV
COMPARISON OF DETECTION AND CORRECTION
CAPABILITY OF DIFFERENT TECHNIQUES.
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 05 Issue: 03 | Mar-2018 www.irjet.net p-ISSN: 2395-0072
© 2018, IRJET | Impact Factor value: 6.171 | ISO 9001:2008 Certified Journal | Page 3711
TABLE V
COMPARISON OF CORRECTION CAPABILITIES BETWEEN
OCC, OCCM AND OCCMP.
REFERENCES
[1] Douglas L . perry “VHDL programming by Example” Mc
Graw Hill , 4th Edition.
[2] Nazein M. Botros “HDL programming Fundamentals:
VHDl & verilog”
[3] Volnei A . Pedroni “Circuit Design & Simulation with
VHDL, 2nd Edition
[4] Brown, Digital Logic with VHDL Design
[5] Stephen Brown;V Zvonko “ Fundamentals of digital logic
with VHDL”,Mc Graw Hill International 2ndEdition,2006
[6] Charles H,Roth,Jr,”Digital System Design usingVHDL,2nd
Edition
[7] Mark Z wolinski, “Digital System Design with VHDL”
Prentice Hall, 2000
[8] Jikku Jeemon “pipelined 8- bit RISC processor design
using Verilog HDL on FPGA”IEEE internationalconferencein
electronics information communication Technology, pp.
2023 -2027
[9] Anlei Wang, Member, IEEE, and Naima Kaabouch,
Member, IEEE Department of Electrical Engineering,
University of North Dakota, Grand Forks, ND 58202-7165

More Related Content

PDF
PERFORMANCE ESTIMATION OF LDPC CODE SUING SUM PRODUCT ALGORITHM AND BIT FLIPP...
PPTX
simulation of turbo encoding and decoding
PPTX
12 chapter06 math_instructions_fa14
PDF
Analysis and Implementation of Hard-Decision Viterbi Decoding In Wireless Com...
PDF
Comparison of Adders for optimized Exponent Addition circuit in IEEE754 Float...
PPTX
Turbo codes.ppt
PDF
Performance Comparision of Coded and Un-Coded OFDM for Different Fic Code
PDF
LDPC Codes
PERFORMANCE ESTIMATION OF LDPC CODE SUING SUM PRODUCT ALGORITHM AND BIT FLIPP...
simulation of turbo encoding and decoding
12 chapter06 math_instructions_fa14
Analysis and Implementation of Hard-Decision Viterbi Decoding In Wireless Com...
Comparison of Adders for optimized Exponent Addition circuit in IEEE754 Float...
Turbo codes.ppt
Performance Comparision of Coded and Un-Coded OFDM for Different Fic Code
LDPC Codes

What's hot (20)

PPTX
Convolution Codes
PDF
Implementation of Designed Encoder and Decoder for Golay Code
PPTX
Turbo codes
PPTX
Octal to binary encoder
PPT
Turbo Codes
PPTX
Octal encoding
PDF
Performance comparison of eg ldpc codes
DOCX
Turbo code
PDF
A Novel Dual Stage Pipeline Method of H.264 CAVLC Video Coding Using FPGA
PPTX
Digital logic designing presentation
PPTX
Presentation 1
PPT
Chapter 5
PDF
Computer Organization And Architecture lab manual
PDF
Multiple Valued Logic for Synthesis and Simulation of Digital Circuits
PDF
A 8-bit high speed ADC using Intel μP 8085
PPTX
02 ldpc bit flipping_decoding_dark knight
PDF
20120140505006
DOCX
Computer organization and architecture lab manual
PDF
Turbocode
PPTX
01 indirect indexed_addressing_and_arrays_sp15
Convolution Codes
Implementation of Designed Encoder and Decoder for Golay Code
Turbo codes
Octal to binary encoder
Turbo Codes
Octal encoding
Performance comparison of eg ldpc codes
Turbo code
A Novel Dual Stage Pipeline Method of H.264 CAVLC Video Coding Using FPGA
Digital logic designing presentation
Presentation 1
Chapter 5
Computer Organization And Architecture lab manual
Multiple Valued Logic for Synthesis and Simulation of Digital Circuits
A 8-bit high speed ADC using Intel μP 8085
02 ldpc bit flipping_decoding_dark knight
20120140505006
Computer organization and architecture lab manual
Turbocode
01 indirect indexed_addressing_and_arrays_sp15
Ad

Similar to IRJET- FPGA Implementation of Orthogonal Codes for Efficient Digital Communication (20)

PDF
K034066071
PDF
FPGA Based Decimal Matrix Code for Passive RFID Tag
PDF
Design and implementation of single bit error correction linear block code sy...
PDF
Optimizing Data Encoding Technique For Dynamic Power Reduction In Network On ...
PDF
International Journal of Engineering Research and Development (IJERD)
PDF
A 2 stage data word packet communication decoder using rate 1-by-3 viterbi de...
PDF
O41049497
PDF
crc_checksum.pdf
PDF
Single-Bit Parity Detection and Correction using Hamming Code 7-Bit Model
PPTX
Hamming code system
PDF
srivastava2018.pdf
PPTX
Lecture7.pptxhfjgjgjghcgzgzfzfzvzgxhchchc
PDF
Error detection & correction codes
PDF
40120140505011
PDF
ITERATIVE METHOD FOR IMPROVEMENT OF CODING AND DECRYPTION
PDF
IRJET-Error Detection and Correction using Turbo Codes
PPTX
Presentation for the Project on VLSI and Embedded
PDF
Paper id 312201514
PPTX
Error detection methods-computer networks
K034066071
FPGA Based Decimal Matrix Code for Passive RFID Tag
Design and implementation of single bit error correction linear block code sy...
Optimizing Data Encoding Technique For Dynamic Power Reduction In Network On ...
International Journal of Engineering Research and Development (IJERD)
A 2 stage data word packet communication decoder using rate 1-by-3 viterbi de...
O41049497
crc_checksum.pdf
Single-Bit Parity Detection and Correction using Hamming Code 7-Bit Model
Hamming code system
srivastava2018.pdf
Lecture7.pptxhfjgjgjghcgzgzfzfzvzgxhchchc
Error detection & correction codes
40120140505011
ITERATIVE METHOD FOR IMPROVEMENT OF CODING AND DECRYPTION
IRJET-Error Detection and Correction using Turbo Codes
Presentation for the Project on VLSI and Embedded
Paper id 312201514
Error detection methods-computer networks
Ad

More from IRJET Journal (20)

PDF
Enhanced heart disease prediction using SKNDGR ensemble Machine Learning Model
PDF
Utilizing Biomedical Waste for Sustainable Brick Manufacturing: A Novel Appro...
PDF
Kiona – A Smart Society Automation Project
PDF
DESIGN AND DEVELOPMENT OF BATTERY THERMAL MANAGEMENT SYSTEM USING PHASE CHANG...
PDF
Invest in Innovation: Empowering Ideas through Blockchain Based Crowdfunding
PDF
SPACE WATCH YOUR REAL-TIME SPACE INFORMATION HUB
PDF
A Review on Influence of Fluid Viscous Damper on The Behaviour of Multi-store...
PDF
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...
PDF
Explainable AI(XAI) using LIME and Disease Detection in Mango Leaf by Transfe...
PDF
BRAIN TUMOUR DETECTION AND CLASSIFICATION
PDF
The Project Manager as an ambassador of the contract. The case of NEC4 ECC co...
PDF
"Enhanced Heat Transfer Performance in Shell and Tube Heat Exchangers: A CFD ...
PDF
Advancements in CFD Analysis of Shell and Tube Heat Exchangers with Nanofluid...
PDF
Breast Cancer Detection using Computer Vision
PDF
Auto-Charging E-Vehicle with its battery Management.
PDF
Analysis of high energy charge particle in the Heliosphere
PDF
A Novel System for Recommending Agricultural Crops Using Machine Learning App...
PDF
Auto-Charging E-Vehicle with its battery Management.
PDF
Analysis of high energy charge particle in the Heliosphere
PDF
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...
Enhanced heart disease prediction using SKNDGR ensemble Machine Learning Model
Utilizing Biomedical Waste for Sustainable Brick Manufacturing: A Novel Appro...
Kiona – A Smart Society Automation Project
DESIGN AND DEVELOPMENT OF BATTERY THERMAL MANAGEMENT SYSTEM USING PHASE CHANG...
Invest in Innovation: Empowering Ideas through Blockchain Based Crowdfunding
SPACE WATCH YOUR REAL-TIME SPACE INFORMATION HUB
A Review on Influence of Fluid Viscous Damper on The Behaviour of Multi-store...
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...
Explainable AI(XAI) using LIME and Disease Detection in Mango Leaf by Transfe...
BRAIN TUMOUR DETECTION AND CLASSIFICATION
The Project Manager as an ambassador of the contract. The case of NEC4 ECC co...
"Enhanced Heat Transfer Performance in Shell and Tube Heat Exchangers: A CFD ...
Advancements in CFD Analysis of Shell and Tube Heat Exchangers with Nanofluid...
Breast Cancer Detection using Computer Vision
Auto-Charging E-Vehicle with its battery Management.
Analysis of high energy charge particle in the Heliosphere
A Novel System for Recommending Agricultural Crops Using Machine Learning App...
Auto-Charging E-Vehicle with its battery Management.
Analysis of high energy charge particle in the Heliosphere
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...

Recently uploaded (20)

PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PPTX
additive manufacturing of ss316l using mig welding
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
Well-logging-methods_new................
PPTX
Construction Project Organization Group 2.pptx
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PPT
Mechanical Engineering MATERIALS Selection
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
R24 SURVEYING LAB MANUAL for civil enggi
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Internet of Things (IOT) - A guide to understanding
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
additive manufacturing of ss316l using mig welding
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Operating System & Kernel Study Guide-1 - converted.pdf
Well-logging-methods_new................
Construction Project Organization Group 2.pptx
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
Mechanical Engineering MATERIALS Selection
CYBER-CRIMES AND SECURITY A guide to understanding
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
bas. eng. economics group 4 presentation 1.pptx
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Model Code of Practice - Construction Work - 21102022 .pdf

IRJET- FPGA Implementation of Orthogonal Codes for Efficient Digital Communication

  • 1. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 05 Issue: 03 | Mar-2018 www.irjet.net p-ISSN: 2395-0072 © 2018, IRJET | Impact Factor value: 6.171 | ISO 9001:2008 Certified Journal | Page 3708 FPGA implementation of orthogonal codes for efficient digital communication Shubham Patne1, Abhinav kalambe2, Sushmit Ingle3, Nitin Dongre4, Anuradha Kondelwar5 1,2,3,4 Student & department of electronic and telecommunication, Pce Nagpur, Maharashtra, India 5Assistant professor & department of electronic and telecommunication, Pce Nagpur, Maharashtra, India ---------------------------------------------------------------------***--------------------------------------------------------------------- Abstract - There has been an increase in data transmission and noise & interference has also been increased in it. More efficient and reliable techniques have been developed for detecting and correcting errors in received data. There are various approaches and techniques used for the purpose of detecting and correcting errors. But still in data transmission there is a problem of data reliability. In this paper orthogonal codes have been used to detect and correct errors. Field programmable gate array (FPGA) is used for implementation. With the help of simulation this technique can detect upto 99.99% of errors and corrects it more efficiently. Key Words: Orthogonal codes, FPGA, VHDL, error detection and correction. 1. INTRODUCTION There has been an increase in data transmission and noise& interference has also been increased in it. More efficient and reliable techniques have been developed for detecting and correcting errors in received data. There are various approaches and techniques used for thepurposeofdetecting and correcting errors. But still in data transmissionthereisa problem of data reliability. In this paper orthogonal codes have been used to detect and correct errors. Field programmable gate array (FPGA) is used for implementation. With the help of simulation this technique can detect upto 99.99% of errors and corrects it more efficiently. There are some techniques such as cyclic redundancy check (CRC) which only detects errors. Moreover there are again some techniquesdesigned suchas Solomon codes, hamming codes, which can detect as well as correct errors. But the problem with these techniques are that it cannot correct errors upto high efficiency. A.ORTHOGONAL CODES Orthogonal codes contains binary value. they consists same number of 1’s and 0’s. An n-bit orthogonal code has n/2 1’s and n/2 0’s, i.e, Therefore, all orthogonal codeswilloriginate zero parity bits. The paper concept is thereby illuminatedby 8-bit orthogonal codes as described in Fig. 1. It has 8 orthogonal codes and 8 antipodal codes for a total of 16 bi- orthogonal codes. Inverse of orthogonal codesare antipodal codes. A notable distinction in this method is that the transmitter does not have to send the parity bit for the code, since it is known to be always zero. If there is a transmission error, By generating a parity bit at receiving end it can be detected by the receiver. Before transmission, a m-bit data set is designed into a unique n-bit orthogonal code. For example,a 4-bit data set is shown by a unique 8-bit orthogonal code, which is transmitted without the parity bit. The data is decoded based on code correlation upon receiving. It can be done by setting a threshold between two orthogonal codes. Following equation describes d th =n/4 Where n is the code length and dth is the threshold, which is center between two orthogonal codes. Therefore, for the 8- bit orthogonal code (Fig. 2), we have dth = 8/4 = 2. This structure provide a decision processinerrorcorrection, where the incoming imperfect orthogonal code is examined for correlation with the codes stored in a look-up table, for a possible match. The acceptance criterion for a valid code is that an n-bit comparison must yield a acceptable cross correlation value; otherwise, a false detection will occur. This is governed by the following correlation process,where a pair of n-bit codes x1x2…xn and y1y2…yn is compared to return.
  • 2. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 05 Issue: 03 | Mar-2018 www.irjet.net p-ISSN: 2395-0072 © 2018, IRJET | Impact Factor value: 6.171 | ISO 9001:2008 Certified Journal | Page 3709 The concept is illustrated by means of an 8- bit orthogonal code as shown in Fig.1. It has 8-orthogonal codes and 8- antipodal codes for a total of 16-bitorthogonal codes. Antipodal codes are just the inverse of orthogonal codes; they are also orthogonal among themselves. The same concept, of improving error detection using orthogonal codes, can be extended for 16-bit orthogonal codes. There are 16, 16-bit orthogonal codes and 16, 16-bit antipodal codes total of 32 bi-orthogonal codes. Antipodal codes are opposite to that of orthogonal codes. Since there is an equal number of 1’s and 0’s, each orthogonal code will generate a zero parity bit. Therefore, each antipodal code will also generate a zero parity bit. A notable distinction in this method is that the transmitter does not have to send the parity bit since the parity bit is known to be always zero [7]. Therefore, if there is a transmission error, the receiver will be able to detect it by generating a parity bit at the receiving end. Before transmission a k-bit data set is mapped into a unique n-bit. For example, a 4-bit data set is represented by a unique 8-bit orthogonal code which is transmitted without the parity bit. When received, the data are decoded based on code correlation. It can be done by setting a threshold midway between two orthogonal codes. This is given by the following equation D= n/4. Where n is the code length and it is the threshold, which is midway betweentwo orthogonal codes. Here XOR operation is performed between thereceivedcode and each code in the look-up table. A counter isusedtocount the number of 1’s in the resulting signal. For example, for 8- bit orthogonal code, we get sixteen counter results. If any one bit of the results is zero, it means there is no error. The corrected code is correlated with the minimum count. yet it is not possible to correct the corrupted code if the minimum count is correlated with more than one combination of the orthogonal codes. Therefore, for the 8-bit orthogonal code we have dth = 8/4 = 2. 2. METHODOLOGY A. Design methodology:- Since there is an equal number of 1’s and 0’s, each orthogonal code will generate a zero parity byte. If the data hasbeen corrupted during the transmission the receivercan detect errors by generating the parity bit for the received code and if it is not zero then the data iscorrupted. However the parity bit doesn’t change for an even number of errors, hence receiver can detect the 2n/2 error means 50 %.Our approach is not to use the parity generation method to detect the errors. But a simple technique based on the comparison between the received code and all the orthogonal code combinations stored in a look up table. B. Transmitter:- Transmitter comprises encoder and Parallel to Serial Conversion. Mapping unit encode the incoming 5-bit data to corresponding 16-bit orthogonal code. To store orthogonal codeswe have used a look-up table. For Exampleinputtothe transmitter is “00001” this correspondsto16-bitorthogonal code “0101010101010101”. Parallel to Serial Conversion converts the 16-bit code set into a serial bit stream which is to be transmitted from the transmitter. C. Receiver:- Receiver functionality comprises several steps i.e. Serial to Parallel Conversion, Splitting of orthogonal code, Error Detection and Correction and Decoder. Incoming serial bit stream is first converted to 16 bit parallel code. This received code either can be impaired or correct one. Now received code is processed with each code in the lookup table. Now the split-Orthogonal come into picture. We have split received code and each orthogonal code in the look-up table in two equal parts. Then XORed each time and count the number of 1’sin the output. We will get two countswhile counting both XORed outputs. These two countsarechecked for different conditions and will work inter-dependentlyand then decision is taken for correct orthogonal code. Beside detection and correction with these two different countswe can detect the position of the error in the received code, so that we can enhance the effectiveness of over all trans- reception system. III.IMPLEMENTATION AND RESULTS In this setup DE-2 cyclone-4 chip (FPGA) is used for implementation with the help of simulation software Xilinx ISE 13.2. Problem cannot be detected if an orthogonal code turns over to another orthogonal code in previous work. Although, with the help of OCCMP, if one block in the package changes to another orthogonal code, then parity byte isused to detect the error. Assuming that thenumberof blocks in the memory is k (including the parity byte). When more than one block in this memory turns over to other
  • 3. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 05 Issue: 03 | Mar-2018 www.irjet.net p-ISSN: 2395-0072 © 2018, IRJET | Impact Factor value: 6.171 | ISO 9001:2008 Certified Journal | Page 3710 orthogonal codes and if there is an even number of errors in one column, the errors cannot be detected. Where i=2, 3,…, k is the number of corrupted blocks, and niis the amount of combinations that cannot be detected. The total number of combinations that cannot be detected for k blocks of n-bit code is N given by: For 9 blocks of 8-bit code, The detection rate for k block of n-bit code is This gives for OCCMP-8 a detection rate of The example of 8-bit orthogonal codes can be used for error correction the same can be used for explaining different schemes: Closest Match technique can be used to detect and correct error when one error originate in one block code. If there are two error in one block code, the corrupted codes can be corrected with the help of vertical parity byte. If two errorsoccur in different blocks, then ClosestMatchisusedto correct them. Now if three errors occur, incidental to the locations, the Closest Match, vertical parity, or both can be used to detect and correct the corrupted block codes. If four errors turns up, incidental on the locations, some errors can be detected and corrected, and some errors can only be detected but not corrected. Convincingly, this technique can correct up to 3-bit errors. In general, for n-bit orthogonal code, it can correct (n/2-1)-bit errors. Fig -1: Altera DE2 board Fig -2: Simulated output 3. CONCLUSIONS In this paper, we have designed and implemented a realtime high-efficiency technique to detect and correct errors in digital communication. The proposed technique can detect 99.99% of errors and correct up to (n/2-1)-bit of errors for n-bit orthogonal codes as the experimental results shows. TABLE IV COMPARISON OF DETECTION AND CORRECTION CAPABILITY OF DIFFERENT TECHNIQUES.
  • 4. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 05 Issue: 03 | Mar-2018 www.irjet.net p-ISSN: 2395-0072 © 2018, IRJET | Impact Factor value: 6.171 | ISO 9001:2008 Certified Journal | Page 3711 TABLE V COMPARISON OF CORRECTION CAPABILITIES BETWEEN OCC, OCCM AND OCCMP. REFERENCES [1] Douglas L . perry “VHDL programming by Example” Mc Graw Hill , 4th Edition. [2] Nazein M. Botros “HDL programming Fundamentals: VHDl & verilog” [3] Volnei A . Pedroni “Circuit Design & Simulation with VHDL, 2nd Edition [4] Brown, Digital Logic with VHDL Design [5] Stephen Brown;V Zvonko “ Fundamentals of digital logic with VHDL”,Mc Graw Hill International 2ndEdition,2006 [6] Charles H,Roth,Jr,”Digital System Design usingVHDL,2nd Edition [7] Mark Z wolinski, “Digital System Design with VHDL” Prentice Hall, 2000 [8] Jikku Jeemon “pipelined 8- bit RISC processor design using Verilog HDL on FPGA”IEEE internationalconferencein electronics information communication Technology, pp. 2023 -2027 [9] Anlei Wang, Member, IEEE, and Naima Kaabouch, Member, IEEE Department of Electrical Engineering, University of North Dakota, Grand Forks, ND 58202-7165