際際滷

際際滷Share a Scribd company logo
BCH CODES
HISTORY
WHY CODING ?
 2 Key system parameters available for designer
 Ch BW
 Transmitted Sig Power
 Hence we go for modulation schemes but error
performance is an issue  hence error control coding
 Another motivation is to reduce Eb/ N0 for a fixed BER
to reduce Tx power to reduce hardware cost
IMPLICATIONS OF CH CAP THEOREM
 Block Codes
Divide the message into blocks, each of k bits,
called datawords. Then add r redundant bit to
make length n=k+r
The resulting n-bit blocks are called
codewords.
 Convolution Codes
Absence of memory (nutshell- serial input no
blocks)
ERROR CORRECTION CODES
DEFINITIONS
 WORD:- Sequence of symbol.
 CODE :- Set of vectors called the codeword.
 HAMMING WEIGHT :- No of non-zero elements.
 HAMMING DISTANCE :- No of places the codeword differs.
D(c1, c2) = w(c1-c2)
 BLOCK LENGTH :- Length of code words in a BLOCK CODE,
denoted by n.
 MSG BITS :- k
 CODE RATE :- Of an (n,k) code , the ratio of (k/n), and reflects
the fraction of the codeword that consists the info.
 MINIMUM DISTANCE :- Minimum hamming
distance b/w any two codes.
 MINIMUM WEIGHT(w) :- The smallest weight of
any nonzero codeword.
DEFINITIONS
LINEAR CODES
 Properties
 Addition of two codewords gives third codeword.
 All zero code is also a codeword.
 Minimum distance = minimum weight.
LINEAR CODES
K- msg bits (m0, m1, m2, m3, mk-1) b-parity bits (b0, b1, b2,
b3, bn-k-1)
Codeword(c0, c1, c2, c3, cn-1)
n  code length
Ci = bi (parity bit) i= 0,1,2,n-k-1.
mi+k-n(msg bits) i= n-k, n-k+1, ..n-1
 The (n-k) parity bits are linear sum of k msg bits.
 bi = p0i m0 + p1i m1 + .+ pk-1i mk-1
 Where the coeff are defined as follows:-
pij = 1 if bi depends on mj
0 otherwise
LINEAR CODES
Coefficient matrix P
p00 p01 .. P0n-k-1
p10 p11 .. P1,n-k-1
P = . . .
. . .
pk-1,0 pk-1,1 . Pk-1,n-k-1
Where pi = 0 or 1
Identity Matrix : Ik =
1 0 0 0. 0
0 1 0 0. 0
0 0 1 0. 0
. . . .
. . . .
0 0 0 1 .1
 All code words can be obtained as linear combination of
basis vectors.
 The basis vectors can be designated as {1, 2, 3,..,  }
 For a linear code, there exists a k by n generator matrix such
that
1 = 1 .  
where c={1, 2, ..,  } and m={1, 2, .,  }
GENERATOR MATRIX
G = [   P]
C = m.G = [m mP]
Message
part Parity part
m=(1110) and G = =
c= m.G =     +     +     +    
= 1.   + .   + .   + .  
c = (1101000) + (0110100) + (1110010)
= (0101110)
1 1 0 1 0 0 0
0 1 1 0 1 0 0
1 1 1 0 0 1 0
1 0 1 0 0 0 1
 
 
 
 
Example:
Let us consider (7, 4) linear code where k=4 and n=7
 For decoding we require to separate the parity
bits and also find out if there was an error.
 We use a parity check matrix H s.t
H = [ PT I n-k ]
And H GT = 0
c HT = 0
Thus m c
c 0 null vector
GENERATOR
MATRIX
PARITY
CHECK
MATRIX T
CYCLIC CODES
 They form a sub class of linear block codes
 Properties
 Linearity a+b = c
 Cyclic property ie any cyclic shift of a code word is
also a code word.
BCH CODES ARE LINEAR CYCLIC BLOCK CODES
CHARACTERISTICS OF BCH CODES
 For positive pair of integers m3 and t, a (n, k) BCH
code has parameters:
 Block length: n = 2m  1
 Number of check bits: n  k  mt
 Minimum distance: dmin  2t + 1
 t<(2m  1)/2 random errors detected and corrected.
 So also called t-error correcting BCH code.
 Major advantage is flexibility for block length and code
rate.
K- msg bits (m0, m1, m2, m3, mk-1)
b-parity bits (b0, b1, b2,
b3, bn-k-1)
n  code length
MANIFESTATION OF CHARACTERISTICS
 The parameters of some useful BCH codes are:
n = 2m  1
n
n  k  mt
k
t<(2m  1)/2
t
Generator Polynomial
7 4 1 1 011
15 11 1 10 011
15 7 2 111 010 001
15 5 3 10 100 110 111
31 26 1 100 101
31 21 2 11 101 101 001
31 16 3 1 000 111 110 101 111
31 11 5 101 100 010 011 011 010 101
31 6 7 11 001 011 011 110 101 000 100
111
 Generator polynomial g(x)  specified in
terms of its roots from Galois Field GF(2k).
 g(x) has 留,留2,, 留2t and their conjugates as its
roots.
 We choose g(x) from xn + 1 polynomial factors
by taking xn-k as highest term.
CHARACTERISTICS OF BCH CODES
Galois
Field
Root Elements Min Poly
Genr Poly
GALOIS FIELD
 Evariste Galois (1832)
Field +, -,
x, /
Ring
+, -
x
Gp
+, -
AXIOMS FOR FINITE FIELDS
1. Field F is closed under + and x iea+b and a.b are in F if a & b are in
F
2. Associative law : (a+b)+c = a+(b+c), a.(b.c) = (a.b).c
3. Commutative law : a+b=b+a, a.b=b.a
4. Distributive : a.(b+c)= a.b+a.c
5. Identity elements 1 & 0 must exist in F s.t
6. a+0 =a
7. a.1 = a
8. For any a there is additive inverse s.t a+(-a)=0
9. For any a except 0 there is multiplicative inverse (a= 1
) s.t
a(1) =1
10. A field with finite elements is called Galois Field denoted by
GF(q).
11. If 1st 8 properties are satisfied then its called a ring.
STRUCTURE OF FINITE FIELDS
 Gaolis Field : Fq ={0, 留, 留2, , 留q-1}.
 Primitive element : An element 留 in a finite field
Fq is called a primitive element (or generator) of
Fq if Fq ={0, 留, 留2, , 留q-1}.
For q = pm
 Where : q represents the number of elements in
the field.
p is a prime number
留 is the primitive element
ord[留] = q-1 and 留q-1 = 1
m is degree of primitive polynomial
 Now, (留) is a primitive polynomial 狼 Fp [留] = 0
of degree m
 Example : Consider the field GF(5)=(0,1,2,3,4) , we will check if 2
and 3 are primitive elements
 2  = 1 (mod 5) = 1 3  = 1 (mod 5) = 1
 21 = 2 (mod 5) = 2 31 = 3 (mod 5) = 3
 22 = 4 (mod 5) = 4 32 = 9 (mod 5) = 4
 23 = 8 (mod 5) = 3 33 = 27 (mod 5) = 3
MODULAR ARITHMETIC
 Use only limited range of integers.
 We, define upper limit, called a ,modulus N.
 Then use only the integers 0 to N-1.
 This is modulo-N arithmetic.
Modulo-2 Arithmetic
Here modulus N is 2. we can use only 0
and 1. operation in this arithmetic are
very simple.
The addition and subtraction give the
same results. Here, we use XOR operation
for both the add and sub.
The result of an XOR operation is 0(if both
the bits are same. The result is 1 if the
any of the two bit is different.)
MODULO OPS
Mod 5 addition Mod 5 multiplication
for GF(5)
MIN POLY
 If 硫狼Fqit is a root of xq -1 which is a poly with coeff in Fp[x]
 Min poly of 硫 is : M硫[x] = poly of least degree in Fp[x]
s.t M硫[硫] = 0 ie
 Min poly is always monic.
 M硫(x) = (x )
乞conjugates of 硫 = 硫,硫p , 硫p2 ..
Example of GF(16)
 Generator poly g(x)
 Message D: (0110011)
 Data: d(x)=x+x+x+1
 So code C(x)=d(x).g(x)
= (x+x+x+1)(x孫+x+x+x+x+x続+1)
= x孫+2x孫+2x孫続+x孫族+2x孫孫+4x孫+3x+2x
+2x+2x+2x+2x+x続+x+1
= x孫+x孫族+ x+ x続+x+1
 Codeword, C: (1001001000001011)
BLOCK DIAGRAM
Block diagram of (15,7) BCH Encoder
Mistake..????

More Related Content

What's hot (20)

Reed solomon codes
Reed solomon codesReed solomon codes
Reed solomon codes
Samreen Reyaz Ansari
UNIT-3 : CHANNEL CODING
UNIT-3 : CHANNEL CODINGUNIT-3 : CHANNEL CODING
UNIT-3 : CHANNEL CODING
abhishek reddy
simulation of turbo encoding and decoding
simulation of turbo encoding and decodingsimulation of turbo encoding and decoding
simulation of turbo encoding and decoding
Gulafshan Saifi
Reed solomon Encoder and Decoder
Reed solomon Encoder and DecoderReed solomon Encoder and Decoder
Reed solomon Encoder and Decoder
Ameer H Ali
Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...
Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...
Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...
Madhumita Tamhane
Signals and Systems Formula Sheet
Signals and Systems Formula SheetSignals and Systems Formula Sheet
Signals and Systems Formula Sheet
Haris Hassan
5 linear block codes
5 linear block codes5 linear block codes
5 linear block codes
Jagruti_Ingale
Dcs unit 2
Dcs unit 2Dcs unit 2
Dcs unit 2
Anil Nigam
What is 16 qam modulation
What is 16 qam modulationWhat is 16 qam modulation
What is 16 qam modulation
FOSCO Fiber Optics
Linear block code
Linear block codeLinear block code
Linear block code
Manish Srivastava
MIMO Channel Capacity
MIMO Channel CapacityMIMO Channel Capacity
MIMO Channel Capacity
Pei-Che Chang
Reed solomon code
Reed solomon codeReed solomon code
Reed solomon code
Melaku Bayih Demessie
Reed Solomon encoder and decoder \ 惘惆 愕
Reed Solomon encoder and decoder \ 惘惆 愕Reed Solomon encoder and decoder \ 惘惆 愕
Reed Solomon encoder and decoder \ 惘惆 愕
Muhammed Abdulmahdi
Detection and Binary Decision in AWGN Channel
Detection and Binary Decision in AWGN ChannelDetection and Binary Decision in AWGN Channel
Detection and Binary Decision in AWGN Channel
DrAimalKhan
Source coding
Source coding Source coding
Source coding
Shankar Gangaju
Introduction to equalization
Introduction to equalizationIntroduction to equalization
Introduction to equalization
Harshit Srivastava
Sampling Theorem, Quantization Noise and its types, PCM, Channel Capacity, Ny...
Sampling Theorem, Quantization Noise and its types, PCM, Channel Capacity, Ny...Sampling Theorem, Quantization Noise and its types, PCM, Channel Capacity, Ny...
Sampling Theorem, Quantization Noise and its types, PCM, Channel Capacity, Ny...
Waqas Afzal
Convolution codes and turbo codes
Convolution codes and turbo codesConvolution codes and turbo codes
Convolution codes and turbo codes
Manish Srivastava
Random Process and Ergodic Process
Random Process and Ergodic Process Random Process and Ergodic Process
Random Process and Ergodic Process
sskiran88k
DIGITAL COMMUNICATION: ENCODING AND DECODING OF CYCLIC CODE
DIGITAL COMMUNICATION: ENCODING AND DECODING OF CYCLIC CODE DIGITAL COMMUNICATION: ENCODING AND DECODING OF CYCLIC CODE
DIGITAL COMMUNICATION: ENCODING AND DECODING OF CYCLIC CODE
ShivangiSingh241
UNIT-3 : CHANNEL CODING
UNIT-3 : CHANNEL CODINGUNIT-3 : CHANNEL CODING
UNIT-3 : CHANNEL CODING
abhishek reddy
simulation of turbo encoding and decoding
simulation of turbo encoding and decodingsimulation of turbo encoding and decoding
simulation of turbo encoding and decoding
Gulafshan Saifi
Reed solomon Encoder and Decoder
Reed solomon Encoder and DecoderReed solomon Encoder and Decoder
Reed solomon Encoder and Decoder
Ameer H Ali
Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...
Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...
Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...
Madhumita Tamhane
Signals and Systems Formula Sheet
Signals and Systems Formula SheetSignals and Systems Formula Sheet
Signals and Systems Formula Sheet
Haris Hassan
5 linear block codes
5 linear block codes5 linear block codes
5 linear block codes
Jagruti_Ingale
MIMO Channel Capacity
MIMO Channel CapacityMIMO Channel Capacity
MIMO Channel Capacity
Pei-Che Chang
Reed Solomon encoder and decoder \ 惘惆 愕
Reed Solomon encoder and decoder \ 惘惆 愕Reed Solomon encoder and decoder \ 惘惆 愕
Reed Solomon encoder and decoder \ 惘惆 愕
Muhammed Abdulmahdi
Detection and Binary Decision in AWGN Channel
Detection and Binary Decision in AWGN ChannelDetection and Binary Decision in AWGN Channel
Detection and Binary Decision in AWGN Channel
DrAimalKhan
Introduction to equalization
Introduction to equalizationIntroduction to equalization
Introduction to equalization
Harshit Srivastava
Sampling Theorem, Quantization Noise and its types, PCM, Channel Capacity, Ny...
Sampling Theorem, Quantization Noise and its types, PCM, Channel Capacity, Ny...Sampling Theorem, Quantization Noise and its types, PCM, Channel Capacity, Ny...
Sampling Theorem, Quantization Noise and its types, PCM, Channel Capacity, Ny...
Waqas Afzal
Convolution codes and turbo codes
Convolution codes and turbo codesConvolution codes and turbo codes
Convolution codes and turbo codes
Manish Srivastava
Random Process and Ergodic Process
Random Process and Ergodic Process Random Process and Ergodic Process
Random Process and Ergodic Process
sskiran88k
DIGITAL COMMUNICATION: ENCODING AND DECODING OF CYCLIC CODE
DIGITAL COMMUNICATION: ENCODING AND DECODING OF CYCLIC CODE DIGITAL COMMUNICATION: ENCODING AND DECODING OF CYCLIC CODE
DIGITAL COMMUNICATION: ENCODING AND DECODING OF CYCLIC CODE
ShivangiSingh241

Similar to Bch codes (20)

Linear Block code.pdf
Linear Block code.pdfLinear Block code.pdf
Linear Block code.pdf
SuryaRamVM
Cryptography
CryptographyCryptography
Cryptography
Hardik Sondagar
Digital Communication: Channel Coding
Digital Communication: Channel CodingDigital Communication: Channel Coding
Digital Communication: Channel Coding
Dr. Sanjay M. Gulhane
FPGA based BCH Decoder
FPGA based BCH DecoderFPGA based BCH Decoder
FPGA based BCH Decoder
ijsrd.com
DIGITAL ELECTRONICS KMAP Boolean algebra
DIGITAL ELECTRONICS KMAP Boolean algebraDIGITAL ELECTRONICS KMAP Boolean algebra
DIGITAL ELECTRONICS KMAP Boolean algebra
MMohdSabirHussain
Intoduction to Computer Appl 1st_coa.pptx
Intoduction to Computer  Appl 1st_coa.pptxIntoduction to Computer  Appl 1st_coa.pptx
Intoduction to Computer Appl 1st_coa.pptx
gadisaAdamu
Blockchain Technology - Week 6 - Role of Cryptography in Blockchain
Blockchain Technology - Week 6 - Role of Cryptography in BlockchainBlockchain Technology - Week 6 - Role of Cryptography in Blockchain
Blockchain Technology - Week 6 - Role of Cryptography in Blockchain
Ferdin Joe John Joseph PhD
combinational-circuit (1).ppt
combinational-circuit (1).pptcombinational-circuit (1).ppt
combinational-circuit (1).ppt
ThanmayiKumar
Quasi Cyclic LDPC codes - Algebraic Construction
Quasi Cyclic LDPC codes - Algebraic Construction Quasi Cyclic LDPC codes - Algebraic Construction
Quasi Cyclic LDPC codes - Algebraic Construction
Eapen Vpp
2.ppt
2.ppt2.ppt
2.ppt
TapodhirAcharjee2
3320 cyclic codes.ppt
3320 cyclic codes.ppt3320 cyclic codes.ppt
3320 cyclic codes.ppt
AnkitGupta86532
Image Representation & Descriptors
Image Representation & DescriptorsImage Representation & Descriptors
Image Representation & Descriptors
PundrikPatel
An Efficient Interpolation-Based Chase BCH Decoder
An Efficient Interpolation-Based Chase BCH DecoderAn Efficient Interpolation-Based Chase BCH Decoder
An Efficient Interpolation-Based Chase BCH Decoder
ijsrd.com
Codes and Isogenies
Codes and IsogeniesCodes and Isogenies
Codes and Isogenies
Priyanka Aash
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
ijceronline
A method to determine partial weight enumerator for linear block codes
A method to determine partial weight enumerator for linear block codesA method to determine partial weight enumerator for linear block codes
A method to determine partial weight enumerator for linear block codes
Alexander Decker
zkStudyClub: PLONKUP & Reinforced Concrete [Luke Pearson, Joshua Fitzgerald, ...
zkStudyClub: PLONKUP & Reinforced Concrete [Luke Pearson, Joshua Fitzgerald, ...zkStudyClub: PLONKUP & Reinforced Concrete [Luke Pearson, Joshua Fitzgerald, ...
zkStudyClub: PLONKUP & Reinforced Concrete [Luke Pearson, Joshua Fitzgerald, ...
Alex Pruden
Performance bounds for unequally punctured
Performance bounds for unequally puncturedPerformance bounds for unequally punctured
Performance bounds for unequally punctured
eSAT Publishing House
Convex Optimization Modelling with CVXOPT
Convex Optimization Modelling with CVXOPTConvex Optimization Modelling with CVXOPT
Convex Optimization Modelling with CVXOPT
andrewmart11
Error Control coding
Error Control codingError Control coding
Error Control coding
Dr Naim R Kidwai
Linear Block code.pdf
Linear Block code.pdfLinear Block code.pdf
Linear Block code.pdf
SuryaRamVM
Digital Communication: Channel Coding
Digital Communication: Channel CodingDigital Communication: Channel Coding
Digital Communication: Channel Coding
Dr. Sanjay M. Gulhane
FPGA based BCH Decoder
FPGA based BCH DecoderFPGA based BCH Decoder
FPGA based BCH Decoder
ijsrd.com
DIGITAL ELECTRONICS KMAP Boolean algebra
DIGITAL ELECTRONICS KMAP Boolean algebraDIGITAL ELECTRONICS KMAP Boolean algebra
DIGITAL ELECTRONICS KMAP Boolean algebra
MMohdSabirHussain
Intoduction to Computer Appl 1st_coa.pptx
Intoduction to Computer  Appl 1st_coa.pptxIntoduction to Computer  Appl 1st_coa.pptx
Intoduction to Computer Appl 1st_coa.pptx
gadisaAdamu
Blockchain Technology - Week 6 - Role of Cryptography in Blockchain
Blockchain Technology - Week 6 - Role of Cryptography in BlockchainBlockchain Technology - Week 6 - Role of Cryptography in Blockchain
Blockchain Technology - Week 6 - Role of Cryptography in Blockchain
Ferdin Joe John Joseph PhD
combinational-circuit (1).ppt
combinational-circuit (1).pptcombinational-circuit (1).ppt
combinational-circuit (1).ppt
ThanmayiKumar
Quasi Cyclic LDPC codes - Algebraic Construction
Quasi Cyclic LDPC codes - Algebraic Construction Quasi Cyclic LDPC codes - Algebraic Construction
Quasi Cyclic LDPC codes - Algebraic Construction
Eapen Vpp
3320 cyclic codes.ppt
3320 cyclic codes.ppt3320 cyclic codes.ppt
3320 cyclic codes.ppt
AnkitGupta86532
Image Representation & Descriptors
Image Representation & DescriptorsImage Representation & Descriptors
Image Representation & Descriptors
PundrikPatel
An Efficient Interpolation-Based Chase BCH Decoder
An Efficient Interpolation-Based Chase BCH DecoderAn Efficient Interpolation-Based Chase BCH Decoder
An Efficient Interpolation-Based Chase BCH Decoder
ijsrd.com
Codes and Isogenies
Codes and IsogeniesCodes and Isogenies
Codes and Isogenies
Priyanka Aash
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
ijceronline
A method to determine partial weight enumerator for linear block codes
A method to determine partial weight enumerator for linear block codesA method to determine partial weight enumerator for linear block codes
A method to determine partial weight enumerator for linear block codes
Alexander Decker
zkStudyClub: PLONKUP & Reinforced Concrete [Luke Pearson, Joshua Fitzgerald, ...
zkStudyClub: PLONKUP & Reinforced Concrete [Luke Pearson, Joshua Fitzgerald, ...zkStudyClub: PLONKUP & Reinforced Concrete [Luke Pearson, Joshua Fitzgerald, ...
zkStudyClub: PLONKUP & Reinforced Concrete [Luke Pearson, Joshua Fitzgerald, ...
Alex Pruden
Performance bounds for unequally punctured
Performance bounds for unequally puncturedPerformance bounds for unequally punctured
Performance bounds for unequally punctured
eSAT Publishing House
Convex Optimization Modelling with CVXOPT
Convex Optimization Modelling with CVXOPTConvex Optimization Modelling with CVXOPT
Convex Optimization Modelling with CVXOPT
andrewmart11

Recently uploaded (20)

Insertion Sort, Merge Sort. Time complexity of all sorting algorithms and t...
Insertion Sort,  Merge Sort.  Time complexity of all sorting algorithms and t...Insertion Sort,  Merge Sort.  Time complexity of all sorting algorithms and t...
Insertion Sort, Merge Sort. Time complexity of all sorting algorithms and t...
Dr. Madhuri Jawale
Application of Artificial Neural Networks.pdf
Application of Artificial Neural Networks.pdfApplication of Artificial Neural Networks.pdf
Application of Artificial Neural Networks.pdf
JeveshMagnani
CIVIL.pptx in this ppt we have drive a different domains of civil
CIVIL.pptx in this ppt we have drive a different domains of civilCIVIL.pptx in this ppt we have drive a different domains of civil
CIVIL.pptx in this ppt we have drive a different domains of civil
kashankashi27
Application of Artificial Neural Network.pptx
Application of Artificial Neural Network.pptxApplication of Artificial Neural Network.pptx
Application of Artificial Neural Network.pptx
JeveshMagnani
How to start and then move forward in IT
How to start and then move forward in ITHow to start and then move forward in IT
How to start and then move forward in IT
Marian Marinov
The Mumbai Metropolitan Region Development Authority (MMRDA) was established ...
The Mumbai Metropolitan Region Development Authority (MMRDA) was established ...The Mumbai Metropolitan Region Development Authority (MMRDA) was established ...
The Mumbai Metropolitan Region Development Authority (MMRDA) was established ...
ivargarud
Unit-2 Velocity and Acceleration Analysis (Relative Velocity Method).pptx
Unit-2 Velocity and Acceleration Analysis (Relative Velocity Method).pptxUnit-2 Velocity and Acceleration Analysis (Relative Velocity Method).pptx
Unit-2 Velocity and Acceleration Analysis (Relative Velocity Method).pptx
Kirankumar Jagtap
Engineering mini project - voice controller
Engineering mini project - voice controllerEngineering mini project - voice controller
Engineering mini project - voice controller
NRohini1
optical fibres ppt on its full details.pptx
optical fibres ppt on its full details.pptxoptical fibres ppt on its full details.pptx
optical fibres ppt on its full details.pptx
sashiP
Fault_Detection_Using_ANNs_Presentation.pptx
Fault_Detection_Using_ANNs_Presentation.pptxFault_Detection_Using_ANNs_Presentation.pptx
Fault_Detection_Using_ANNs_Presentation.pptx
JeveshMagnani
Development of Economical Dye Sensitized Solar Cell by Characterizing Polymer...
Development of Economical Dye Sensitized Solar Cell by Characterizing Polymer...Development of Economical Dye Sensitized Solar Cell by Characterizing Polymer...
Development of Economical Dye Sensitized Solar Cell by Characterizing Polymer...
OsamaButt23
Standard-Representation-for-Logic-Functions (1).pptx
Standard-Representation-for-Logic-Functions (1).pptxStandard-Representation-for-Logic-Functions (1).pptx
Standard-Representation-for-Logic-Functions (1).pptx
sashiP
METAL OXIDE FIELD EFFECT SEMICONDUCTOR-MOSFET
METAL OXIDE FIELD EFFECT SEMICONDUCTOR-MOSFETMETAL OXIDE FIELD EFFECT SEMICONDUCTOR-MOSFET
METAL OXIDE FIELD EFFECT SEMICONDUCTOR-MOSFET
punithaece
22PCOAM16_UNIT 2_Session 10 Multi Layer Perceptrons.pptx
22PCOAM16_UNIT 2_Session 10 Multi Layer Perceptrons.pptx22PCOAM16_UNIT 2_Session 10 Multi Layer Perceptrons.pptx
22PCOAM16_UNIT 2_Session 10 Multi Layer Perceptrons.pptx
Guru Nanak Technical Institutions
Faizal E Ayyoob - Architectural and Finishing QA/QC Inspector for high end lu...
Faizal E Ayyoob - Architectural and Finishing QA/QC Inspector for high end lu...Faizal E Ayyoob - Architectural and Finishing QA/QC Inspector for high end lu...
Faizal E Ayyoob - Architectural and Finishing QA/QC Inspector for high end lu...
Faizal Ayyoob
Construction Methods and Project Management
Construction Methods and Project ManagementConstruction Methods and Project Management
Construction Methods and Project Management
HannahPil2
lecture 4MORTAR for construction works(2).ppt
lecture 4MORTAR for construction works(2).pptlecture 4MORTAR for construction works(2).ppt
lecture 4MORTAR for construction works(2).ppt
SimeonWoyesa
lec2cct computational cmplexity theory.pptx
lec2cct computational cmplexity theory.pptxlec2cct computational cmplexity theory.pptx
lec2cct computational cmplexity theory.pptx
Rajesh481733
study of impact behaviour of dual material for energy absorption
study of impact behaviour of dual material for energy absorptionstudy of impact behaviour of dual material for energy absorption
study of impact behaviour of dual material for energy absorption
AmitChauhan352669
Stack Applications : Infix to postfix conversion, Evaluation of postfix expre...
Stack Applications : Infix to postfix conversion, Evaluation of postfix expre...Stack Applications : Infix to postfix conversion, Evaluation of postfix expre...
Stack Applications : Infix to postfix conversion, Evaluation of postfix expre...
Dr. Madhuri Jawale
Insertion Sort, Merge Sort. Time complexity of all sorting algorithms and t...
Insertion Sort,  Merge Sort.  Time complexity of all sorting algorithms and t...Insertion Sort,  Merge Sort.  Time complexity of all sorting algorithms and t...
Insertion Sort, Merge Sort. Time complexity of all sorting algorithms and t...
Dr. Madhuri Jawale
Application of Artificial Neural Networks.pdf
Application of Artificial Neural Networks.pdfApplication of Artificial Neural Networks.pdf
Application of Artificial Neural Networks.pdf
JeveshMagnani
CIVIL.pptx in this ppt we have drive a different domains of civil
CIVIL.pptx in this ppt we have drive a different domains of civilCIVIL.pptx in this ppt we have drive a different domains of civil
CIVIL.pptx in this ppt we have drive a different domains of civil
kashankashi27
Application of Artificial Neural Network.pptx
Application of Artificial Neural Network.pptxApplication of Artificial Neural Network.pptx
Application of Artificial Neural Network.pptx
JeveshMagnani
How to start and then move forward in IT
How to start and then move forward in ITHow to start and then move forward in IT
How to start and then move forward in IT
Marian Marinov
The Mumbai Metropolitan Region Development Authority (MMRDA) was established ...
The Mumbai Metropolitan Region Development Authority (MMRDA) was established ...The Mumbai Metropolitan Region Development Authority (MMRDA) was established ...
The Mumbai Metropolitan Region Development Authority (MMRDA) was established ...
ivargarud
Unit-2 Velocity and Acceleration Analysis (Relative Velocity Method).pptx
Unit-2 Velocity and Acceleration Analysis (Relative Velocity Method).pptxUnit-2 Velocity and Acceleration Analysis (Relative Velocity Method).pptx
Unit-2 Velocity and Acceleration Analysis (Relative Velocity Method).pptx
Kirankumar Jagtap
Engineering mini project - voice controller
Engineering mini project - voice controllerEngineering mini project - voice controller
Engineering mini project - voice controller
NRohini1
optical fibres ppt on its full details.pptx
optical fibres ppt on its full details.pptxoptical fibres ppt on its full details.pptx
optical fibres ppt on its full details.pptx
sashiP
Fault_Detection_Using_ANNs_Presentation.pptx
Fault_Detection_Using_ANNs_Presentation.pptxFault_Detection_Using_ANNs_Presentation.pptx
Fault_Detection_Using_ANNs_Presentation.pptx
JeveshMagnani
Development of Economical Dye Sensitized Solar Cell by Characterizing Polymer...
Development of Economical Dye Sensitized Solar Cell by Characterizing Polymer...Development of Economical Dye Sensitized Solar Cell by Characterizing Polymer...
Development of Economical Dye Sensitized Solar Cell by Characterizing Polymer...
OsamaButt23
Standard-Representation-for-Logic-Functions (1).pptx
Standard-Representation-for-Logic-Functions (1).pptxStandard-Representation-for-Logic-Functions (1).pptx
Standard-Representation-for-Logic-Functions (1).pptx
sashiP
METAL OXIDE FIELD EFFECT SEMICONDUCTOR-MOSFET
METAL OXIDE FIELD EFFECT SEMICONDUCTOR-MOSFETMETAL OXIDE FIELD EFFECT SEMICONDUCTOR-MOSFET
METAL OXIDE FIELD EFFECT SEMICONDUCTOR-MOSFET
punithaece
Faizal E Ayyoob - Architectural and Finishing QA/QC Inspector for high end lu...
Faizal E Ayyoob - Architectural and Finishing QA/QC Inspector for high end lu...Faizal E Ayyoob - Architectural and Finishing QA/QC Inspector for high end lu...
Faizal E Ayyoob - Architectural and Finishing QA/QC Inspector for high end lu...
Faizal Ayyoob
Construction Methods and Project Management
Construction Methods and Project ManagementConstruction Methods and Project Management
Construction Methods and Project Management
HannahPil2
lecture 4MORTAR for construction works(2).ppt
lecture 4MORTAR for construction works(2).pptlecture 4MORTAR for construction works(2).ppt
lecture 4MORTAR for construction works(2).ppt
SimeonWoyesa
lec2cct computational cmplexity theory.pptx
lec2cct computational cmplexity theory.pptxlec2cct computational cmplexity theory.pptx
lec2cct computational cmplexity theory.pptx
Rajesh481733
study of impact behaviour of dual material for energy absorption
study of impact behaviour of dual material for energy absorptionstudy of impact behaviour of dual material for energy absorption
study of impact behaviour of dual material for energy absorption
AmitChauhan352669
Stack Applications : Infix to postfix conversion, Evaluation of postfix expre...
Stack Applications : Infix to postfix conversion, Evaluation of postfix expre...Stack Applications : Infix to postfix conversion, Evaluation of postfix expre...
Stack Applications : Infix to postfix conversion, Evaluation of postfix expre...
Dr. Madhuri Jawale

Bch codes

  • 4. 2 Key system parameters available for designer Ch BW Transmitted Sig Power Hence we go for modulation schemes but error performance is an issue hence error control coding Another motivation is to reduce Eb/ N0 for a fixed BER to reduce Tx power to reduce hardware cost IMPLICATIONS OF CH CAP THEOREM
  • 5. Block Codes Divide the message into blocks, each of k bits, called datawords. Then add r redundant bit to make length n=k+r The resulting n-bit blocks are called codewords. Convolution Codes Absence of memory (nutshell- serial input no blocks) ERROR CORRECTION CODES
  • 6. DEFINITIONS WORD:- Sequence of symbol. CODE :- Set of vectors called the codeword. HAMMING WEIGHT :- No of non-zero elements. HAMMING DISTANCE :- No of places the codeword differs. D(c1, c2) = w(c1-c2) BLOCK LENGTH :- Length of code words in a BLOCK CODE, denoted by n. MSG BITS :- k CODE RATE :- Of an (n,k) code , the ratio of (k/n), and reflects the fraction of the codeword that consists the info.
  • 7. MINIMUM DISTANCE :- Minimum hamming distance b/w any two codes. MINIMUM WEIGHT(w) :- The smallest weight of any nonzero codeword. DEFINITIONS
  • 8. LINEAR CODES Properties Addition of two codewords gives third codeword. All zero code is also a codeword. Minimum distance = minimum weight.
  • 9. LINEAR CODES K- msg bits (m0, m1, m2, m3, mk-1) b-parity bits (b0, b1, b2, b3, bn-k-1) Codeword(c0, c1, c2, c3, cn-1) n code length Ci = bi (parity bit) i= 0,1,2,n-k-1. mi+k-n(msg bits) i= n-k, n-k+1, ..n-1
  • 10. The (n-k) parity bits are linear sum of k msg bits. bi = p0i m0 + p1i m1 + .+ pk-1i mk-1 Where the coeff are defined as follows:- pij = 1 if bi depends on mj 0 otherwise LINEAR CODES
  • 11. Coefficient matrix P p00 p01 .. P0n-k-1 p10 p11 .. P1,n-k-1 P = . . . . . . pk-1,0 pk-1,1 . Pk-1,n-k-1 Where pi = 0 or 1 Identity Matrix : Ik = 1 0 0 0. 0 0 1 0 0. 0 0 0 1 0. 0 . . . . . . . . 0 0 0 1 .1
  • 12. All code words can be obtained as linear combination of basis vectors. The basis vectors can be designated as {1, 2, 3,.., } For a linear code, there exists a k by n generator matrix such that 1 = 1 . where c={1, 2, .., } and m={1, 2, ., } GENERATOR MATRIX
  • 13. G = [ P] C = m.G = [m mP] Message part Parity part m=(1110) and G = = c= m.G = + + + = 1. + . + . + . c = (1101000) + (0110100) + (1110010) = (0101110) 1 1 0 1 0 0 0 0 1 1 0 1 0 0 1 1 1 0 0 1 0 1 0 1 0 0 0 1 Example: Let us consider (7, 4) linear code where k=4 and n=7
  • 14. For decoding we require to separate the parity bits and also find out if there was an error. We use a parity check matrix H s.t H = [ PT I n-k ] And H GT = 0 c HT = 0 Thus m c c 0 null vector GENERATOR MATRIX PARITY CHECK MATRIX T
  • 15. CYCLIC CODES They form a sub class of linear block codes Properties Linearity a+b = c Cyclic property ie any cyclic shift of a code word is also a code word. BCH CODES ARE LINEAR CYCLIC BLOCK CODES
  • 16. CHARACTERISTICS OF BCH CODES For positive pair of integers m3 and t, a (n, k) BCH code has parameters: Block length: n = 2m 1 Number of check bits: n k mt Minimum distance: dmin 2t + 1 t<(2m 1)/2 random errors detected and corrected. So also called t-error correcting BCH code. Major advantage is flexibility for block length and code rate. K- msg bits (m0, m1, m2, m3, mk-1) b-parity bits (b0, b1, b2, b3, bn-k-1) n code length
  • 17. MANIFESTATION OF CHARACTERISTICS The parameters of some useful BCH codes are: n = 2m 1 n n k mt k t<(2m 1)/2 t Generator Polynomial 7 4 1 1 011 15 11 1 10 011 15 7 2 111 010 001 15 5 3 10 100 110 111 31 26 1 100 101 31 21 2 11 101 101 001 31 16 3 1 000 111 110 101 111 31 11 5 101 100 010 011 011 010 101 31 6 7 11 001 011 011 110 101 000 100 111
  • 18. Generator polynomial g(x) specified in terms of its roots from Galois Field GF(2k). g(x) has 留,留2,, 留2t and their conjugates as its roots. We choose g(x) from xn + 1 polynomial factors by taking xn-k as highest term. CHARACTERISTICS OF BCH CODES Galois Field Root Elements Min Poly Genr Poly
  • 19. GALOIS FIELD Evariste Galois (1832) Field +, -, x, / Ring +, - x Gp +, -
  • 20. AXIOMS FOR FINITE FIELDS 1. Field F is closed under + and x iea+b and a.b are in F if a & b are in F 2. Associative law : (a+b)+c = a+(b+c), a.(b.c) = (a.b).c 3. Commutative law : a+b=b+a, a.b=b.a 4. Distributive : a.(b+c)= a.b+a.c 5. Identity elements 1 & 0 must exist in F s.t 6. a+0 =a 7. a.1 = a 8. For any a there is additive inverse s.t a+(-a)=0 9. For any a except 0 there is multiplicative inverse (a= 1 ) s.t a(1) =1 10. A field with finite elements is called Galois Field denoted by GF(q). 11. If 1st 8 properties are satisfied then its called a ring.
  • 21. STRUCTURE OF FINITE FIELDS Gaolis Field : Fq ={0, 留, 留2, , 留q-1}. Primitive element : An element 留 in a finite field Fq is called a primitive element (or generator) of Fq if Fq ={0, 留, 留2, , 留q-1}. For q = pm Where : q represents the number of elements in the field. p is a prime number 留 is the primitive element ord[留] = q-1 and 留q-1 = 1 m is degree of primitive polynomial Now, (留) is a primitive polynomial 狼 Fp [留] = 0 of degree m
  • 22. Example : Consider the field GF(5)=(0,1,2,3,4) , we will check if 2 and 3 are primitive elements 2 = 1 (mod 5) = 1 3 = 1 (mod 5) = 1 21 = 2 (mod 5) = 2 31 = 3 (mod 5) = 3 22 = 4 (mod 5) = 4 32 = 9 (mod 5) = 4 23 = 8 (mod 5) = 3 33 = 27 (mod 5) = 3
  • 23. MODULAR ARITHMETIC Use only limited range of integers. We, define upper limit, called a ,modulus N. Then use only the integers 0 to N-1. This is modulo-N arithmetic.
  • 24. Modulo-2 Arithmetic Here modulus N is 2. we can use only 0 and 1. operation in this arithmetic are very simple. The addition and subtraction give the same results. Here, we use XOR operation for both the add and sub. The result of an XOR operation is 0(if both the bits are same. The result is 1 if the any of the two bit is different.)
  • 25. MODULO OPS Mod 5 addition Mod 5 multiplication for GF(5)
  • 26. MIN POLY If 硫狼Fqit is a root of xq -1 which is a poly with coeff in Fp[x] Min poly of 硫 is : M硫[x] = poly of least degree in Fp[x] s.t M硫[硫] = 0 ie Min poly is always monic. M硫(x) = (x ) 乞conjugates of 硫 = 硫,硫p , 硫p2 .. Example of GF(16) Generator poly g(x)
  • 27. Message D: (0110011) Data: d(x)=x+x+x+1 So code C(x)=d(x).g(x) = (x+x+x+1)(x孫+x+x+x+x+x続+1) = x孫+2x孫+2x孫続+x孫族+2x孫孫+4x孫+3x+2x +2x+2x+2x+2x+x続+x+1 = x孫+x孫族+ x+ x続+x+1 Codeword, C: (1001001000001011)
  • 28. BLOCK DIAGRAM Block diagram of (15,7) BCH Encoder Mistake..????