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
PPTX
Wireless digital communication and coding techniques new
PPTX
Error detection.
PPTX
Lecture 4 errors detection
PDF
4 implementation of various error detection and correction techniques in c...
PPTX
Error detection and correction
PPT
Lecture 4 from virtual university of pakistan
PPTX
Computer_Communication_Networking_L07Data_Link_Error_control.pptx
PPT
Error correction and detection th
PDF
07 Data Link LayerError Control.pdf
PDF
Survey on Error Control Coding Techniques
PPT
15CS46 - Data communication or computer networks 1_Module-3.ppt
PPTX
Error correction and Detection technique while sending the message
PDF
Design and implementation of single bit error correction linear block code sy...
PDF
Hamming code checksum
PPTX
Data Communications- Unit-4.pptx
PPTX
Presentation for the Project on VLSI and Embedded
PPT
Error detection correction (CRC)
PPTX
Error Detection and Correctiouionvn.pptx
PDF
Ros Gra10
K034066071
Wireless digital communication and coding techniques new
Error detection.
Lecture 4 errors detection
4 implementation of various error detection and correction techniques in c...
Error detection and correction
Lecture 4 from virtual university of pakistan
Computer_Communication_Networking_L07Data_Link_Error_control.pptx
Error correction and detection th
07 Data Link LayerError Control.pdf
Survey on Error Control Coding Techniques
15CS46 - Data communication or computer networks 1_Module-3.ppt
Error correction and Detection technique while sending the message
Design and implementation of single bit error correction linear block code sy...
Hamming code checksum
Data Communications- Unit-4.pptx
Presentation for the Project on VLSI and Embedded
Error detection correction (CRC)
Error Detection and Correctiouionvn.pptx
Ros Gra10
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
Lecture Notes Electrical Wiring System Components
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
additive manufacturing of ss316l using mig welding
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
CH1 Production IntroductoryConcepts.pptx
PPT
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPT
introduction to datamining and warehousing
PPTX
OOP with Java - Java Introduction (Basics)
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
Sustainable Sites - Green Building Construction
PPTX
Geodesy 1.pptx...............................................
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Lecture Notes Electrical Wiring System Components
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Embodied AI: Ushering in the Next Era of Intelligent Systems
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Model Code of Practice - Construction Work - 21102022 .pdf
bas. eng. economics group 4 presentation 1.pptx
additive manufacturing of ss316l using mig welding
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
CH1 Production IntroductoryConcepts.pptx
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
introduction to datamining and warehousing
OOP with Java - Java Introduction (Basics)
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Sustainable Sites - Green Building Construction
Geodesy 1.pptx...............................................
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...

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