SlideShare una empresa de Scribd logo
1 de 15
LINEAR BLOCK CODING




Presented by:
Manish Srivastava
LINEAR BLOCK CODE

In a (n,k) linear block code:
1st portion of k bits is always identical to the
  message sequence to be transmitted.



2nd portion of (n-k ) bits are computed from message
  bits according to the encoding rule and is called
  parity bits.
SYNDROME DECODING
 The generator matrix G is used in the encoding
  operation at the transmitter
 The parity- check matrix H is used in the
  decoding operation at the receiver
 Let , y denote 1-by-n received vector that
  results from sending the code x over a noisy
  channel
    y=x +e
   For i=1,2,….., n
    ei= 1,if an error has occurred in the ith location
       0 ,otherwise
o    s=yHt
PROPERTIES
Property 1:
 The syndrome depends only on the error
  pattern and not on the transmitted code
  word.
 S=(x+e)Ht

  =xHt+ eHt
  =eHt
PROPERTY 2:
 All error pattern that differs at most by a code
  word have the same syndrome.
 For k message bits ,there are 2k distinct codes
  denoted as xi ,i=0,1, ………. 2k -1
we define 2k distinct vectors as
      e =e+ xi       i=0,1,…….. 2k-1
=e   +
=e
PROPERTY 3:
 The syndrome s is the sum of those columns of
  matrix H corresponding to the error locations
     H=[ ,       ………., ]
  therefore,
              s=
PROPERTY 4:

  With syndrome decoding ,an (n,k) linear block
  code can correct up to t errors per code word
  ,provided that n and k satisfy the hamming
  bound
                ≥ ( )
 where ( ) is a binomial coefficient ,namely

           ( )= n!/(n-i)!i!
MINIMUM DISTANCE CONSIDERATIONS:
   Consider a pair of code vectors x and y that
    have the same number of elements

 Hamming distance d(x,y): It is defined as the
  number of locations in which their respective
  elements differ .
 Hamming weight w(x) : It is defined as the
  number of elements in the code vector.
   Minimum distance dmin: It is defined as the
    smallest hamming distance between any pair of
    code vectors in the code or smallest hamming
    weight of the non zero code vectors in the code
    .
 An (n,k) linear block code has the power to
  correct all error patterns of weight t or less if
  ,and only if
            d(      ) ≤2t+1
 An (n,k) linear block code of minimum distance dmin
  can correct upto 1 error if and only if
             t≤ [1/2 (dmin – 1)].
Advantages                  Disadvantages



Easiest to detect and         Transmission
 correct errors.               bandwidth is more.
Extra parity bit does not     Extra bit reduces the
 convey any information        bit rate of transmitter
 but detects and               and also its power.
 corrects errors.
APPLICATIONS
 Used for error control coding.
 Storage-magnetic and optical data storage in hard
  disks and magnetic tapes and single error
  correcting and double error correcting code(SEC-
  DEC) used to improve semiconductor memories.
 Communication-satellite and deep space
  communications.
THANK YOU!!

Más contenido relacionado

La actualidad más candente

Adaptive filter
Adaptive filterAdaptive filter
Adaptive filterA. Shamel
 
Digital Communication: Channel Coding
Digital Communication: Channel CodingDigital Communication: Channel Coding
Digital Communication: Channel CodingDr. Sanjay M. Gulhane
 
M ary psk modulation
M ary psk modulationM ary psk modulation
M ary psk modulationAhmed Diaa
 
Decimation and Interpolation
Decimation and InterpolationDecimation and Interpolation
Decimation and InterpolationFernando Ojeda
 
Linear block coding
Linear block codingLinear block coding
Linear block codingjknm
 
Channel Coding (Digital communication)
Channel Coding (Digital communication)Channel Coding (Digital communication)
Channel Coding (Digital communication)VARUN KUMAR
 
Digital Communication: Information Theory
Digital Communication: Information TheoryDigital Communication: Information Theory
Digital Communication: Information TheoryDr. Sanjay M. Gulhane
 
Matched filter detection
Matched filter detectionMatched filter detection
Matched filter detectionSURYA DEEPAK
 
Companding & Pulse Code Modulation
Companding & Pulse Code ModulationCompanding & Pulse Code Modulation
Companding & Pulse Code ModulationYeshudas Muttu
 
Shannon-Fano algorithm
Shannon-Fano algorithmShannon-Fano algorithm
Shannon-Fano algorithmMANISH T I
 
Convolutional Codes And Their Decoding
Convolutional Codes And Their DecodingConvolutional Codes And Their Decoding
Convolutional Codes And Their DecodingKakali Saharia
 
Generation and detection of psk and fsk
Generation and detection of psk and fskGeneration and detection of psk and fsk
Generation and detection of psk and fskdeepakreddy kanumuru
 

La actualidad más candente (20)

Source coding
Source coding Source coding
Source coding
 
Adaptive filter
Adaptive filterAdaptive filter
Adaptive filter
 
Digital Communication: Channel Coding
Digital Communication: Channel CodingDigital Communication: Channel Coding
Digital Communication: Channel Coding
 
Hamming codes
Hamming codesHamming codes
Hamming codes
 
M ary psk modulation
M ary psk modulationM ary psk modulation
M ary psk modulation
 
Properties of dft
Properties of dftProperties of dft
Properties of dft
 
Channel coding
Channel codingChannel coding
Channel coding
 
linear codes and cyclic codes
linear codes and cyclic codeslinear codes and cyclic codes
linear codes and cyclic codes
 
Decimation and Interpolation
Decimation and InterpolationDecimation and Interpolation
Decimation and Interpolation
 
Linear block coding
Linear block codingLinear block coding
Linear block coding
 
Channel Coding (Digital communication)
Channel Coding (Digital communication)Channel Coding (Digital communication)
Channel Coding (Digital communication)
 
Equalization
EqualizationEqualization
Equalization
 
Properties of dft
Properties of dftProperties of dft
Properties of dft
 
BCH Codes
BCH CodesBCH Codes
BCH Codes
 
Digital Communication: Information Theory
Digital Communication: Information TheoryDigital Communication: Information Theory
Digital Communication: Information Theory
 
Matched filter detection
Matched filter detectionMatched filter detection
Matched filter detection
 
Companding & Pulse Code Modulation
Companding & Pulse Code ModulationCompanding & Pulse Code Modulation
Companding & Pulse Code Modulation
 
Shannon-Fano algorithm
Shannon-Fano algorithmShannon-Fano algorithm
Shannon-Fano algorithm
 
Convolutional Codes And Their Decoding
Convolutional Codes And Their DecodingConvolutional Codes And Their Decoding
Convolutional Codes And Their Decoding
 
Generation and detection of psk and fsk
Generation and detection of psk and fskGeneration and detection of psk and fsk
Generation and detection of psk and fsk
 

Similar a Linear block code

basicsofcodingtheory-160202182933-converted.pptx
basicsofcodingtheory-160202182933-converted.pptxbasicsofcodingtheory-160202182933-converted.pptx
basicsofcodingtheory-160202182933-converted.pptxupendrabhatt13
 
Channel Coding .pptx
Channel Coding .pptxChannel Coding .pptx
Channel Coding .pptxMortadha96
 
Review paper on Reed Solomon (204,188) Decoder for Digital Video Broadcasting...
Review paper on Reed Solomon (204,188) Decoder for Digital Video Broadcasting...Review paper on Reed Solomon (204,188) Decoder for Digital Video Broadcasting...
Review paper on Reed Solomon (204,188) Decoder for Digital Video Broadcasting...IRJET Journal
 
The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)theijes
 
13-DataLink_02.ppt
13-DataLink_02.ppt13-DataLink_02.ppt
13-DataLink_02.pptWinterSnow16
 
Hossein Taghavi : Codes on Graphs
Hossein Taghavi : Codes on GraphsHossein Taghavi : Codes on Graphs
Hossein Taghavi : Codes on Graphsknowdiff
 
02 ldpc bit flipping_decoding_dark knight
02 ldpc bit flipping_decoding_dark knight02 ldpc bit flipping_decoding_dark knight
02 ldpc bit flipping_decoding_dark knightDevanshi Piprottar
 
Weight enumerators of block codes and the mc williams
Weight  enumerators of block codes and  the mc williamsWeight  enumerators of block codes and  the mc williams
Weight enumerators of block codes and the mc williamsMadhumita Tamhane
 
M.TECH, ECE 2nd SEM LAB RECORD
M.TECH, ECE 2nd SEM LAB RECORD M.TECH, ECE 2nd SEM LAB RECORD
M.TECH, ECE 2nd SEM LAB RECORD Arif Ahmed
 
Reed_Solomon_Implementation
Reed_Solomon_ImplementationReed_Solomon_Implementation
Reed_Solomon_Implementationramya c b
 
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 codesAlexander Decker
 

Similar a Linear block code (20)

basicsofcodingtheory-160202182933-converted.pptx
basicsofcodingtheory-160202182933-converted.pptxbasicsofcodingtheory-160202182933-converted.pptx
basicsofcodingtheory-160202182933-converted.pptx
 
Channel Coding .pptx
Channel Coding .pptxChannel Coding .pptx
Channel Coding .pptx
 
Channel Coding (Error Control Coding)
Channel Coding (Error Control Coding)Channel Coding (Error Control Coding)
Channel Coding (Error Control Coding)
 
error control coding
error control coding error control coding
error control coding
 
Turbo Code
Turbo Code Turbo Code
Turbo Code
 
Review paper on Reed Solomon (204,188) Decoder for Digital Video Broadcasting...
Review paper on Reed Solomon (204,188) Decoder for Digital Video Broadcasting...Review paper on Reed Solomon (204,188) Decoder for Digital Video Broadcasting...
Review paper on Reed Solomon (204,188) Decoder for Digital Video Broadcasting...
 
The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)
 
13-DataLink_02.ppt
13-DataLink_02.ppt13-DataLink_02.ppt
13-DataLink_02.ppt
 
Data links
Data links Data links
Data links
 
Hossein Taghavi : Codes on Graphs
Hossein Taghavi : Codes on GraphsHossein Taghavi : Codes on Graphs
Hossein Taghavi : Codes on Graphs
 
02 ldpc bit flipping_decoding_dark knight
02 ldpc bit flipping_decoding_dark knight02 ldpc bit flipping_decoding_dark knight
02 ldpc bit flipping_decoding_dark knight
 
Weight enumerators of block codes and the mc williams
Weight  enumerators of block codes and  the mc williamsWeight  enumerators of block codes and  the mc williams
Weight enumerators of block codes and the mc williams
 
M.TECH, ECE 2nd SEM LAB RECORD
M.TECH, ECE 2nd SEM LAB RECORD M.TECH, ECE 2nd SEM LAB RECORD
M.TECH, ECE 2nd SEM LAB RECORD
 
Pdf6
Pdf6Pdf6
Pdf6
 
Error Control coding
Error Control codingError Control coding
Error Control coding
 
Reed_Solomon_Implementation
Reed_Solomon_ImplementationReed_Solomon_Implementation
Reed_Solomon_Implementation
 
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
 
5 linear block codes
5 linear block codes5 linear block codes
5 linear block codes
 
Basics of coding theory
Basics of coding theoryBasics of coding theory
Basics of coding theory
 
Compression Ii
Compression IiCompression Ii
Compression Ii
 

Más de Manish Srivastava (20)

Vhf communication system for cross country pipelines
Vhf communication system for cross country pipelines Vhf communication system for cross country pipelines
Vhf communication system for cross country pipelines
 
Need for sulphur measurement in multi product pipelines
Need for sulphur measurement in multi product pipelinesNeed for sulphur measurement in multi product pipelines
Need for sulphur measurement in multi product pipelines
 
De waxing
De waxingDe waxing
De waxing
 
A study on pipeline loss1
A study on pipeline loss1A study on pipeline loss1
A study on pipeline loss1
 
Wi fi[1]
Wi fi[1]Wi fi[1]
Wi fi[1]
 
Wcdma channels
Wcdma channels Wcdma channels
Wcdma channels
 
Wi max
Wi maxWi max
Wi max
 
Sync in 3 g
Sync in 3 gSync in 3 g
Sync in 3 g
 
Spread spectrum
Spread spectrumSpread spectrum
Spread spectrum
 
Power control in 3 g
Power control in 3 gPower control in 3 g
Power control in 3 g
 
Power delay profile,delay spread and doppler spread
Power delay profile,delay spread and doppler spreadPower delay profile,delay spread and doppler spread
Power delay profile,delay spread and doppler spread
 
Harq
HarqHarq
Harq
 
Impact of channel in wireless communication
Impact of channel in wireless communicationImpact of channel in wireless communication
Impact of channel in wireless communication
 
Hspa and hsdpa
Hspa and hsdpaHspa and hsdpa
Hspa and hsdpa
 
Harq
HarqHarq
Harq
 
Handover
HandoverHandover
Handover
 
Convolution codes and turbo codes
Convolution codes and turbo codesConvolution codes and turbo codes
Convolution codes and turbo codes
 
Control plane
Control planeControl plane
Control plane
 
Comparison between 2g, 2.5g, 3g, lte and lte a
Comparison between 2g, 2.5g, 3g, lte and lte aComparison between 2g, 2.5g, 3g, lte and lte a
Comparison between 2g, 2.5g, 3g, lte and lte a
 
Pigging In OIL INDUSTRY
Pigging In OIL INDUSTRY Pigging In OIL INDUSTRY
Pigging In OIL INDUSTRY
 

Linear block code

  • 1. LINEAR BLOCK CODING Presented by: Manish Srivastava
  • 2. LINEAR BLOCK CODE In a (n,k) linear block code: 1st portion of k bits is always identical to the message sequence to be transmitted. 2nd portion of (n-k ) bits are computed from message bits according to the encoding rule and is called parity bits.
  • 3. SYNDROME DECODING  The generator matrix G is used in the encoding operation at the transmitter  The parity- check matrix H is used in the decoding operation at the receiver  Let , y denote 1-by-n received vector that results from sending the code x over a noisy channel y=x +e
  • 4. For i=1,2,….., n ei= 1,if an error has occurred in the ith location 0 ,otherwise o s=yHt
  • 5. PROPERTIES Property 1:  The syndrome depends only on the error pattern and not on the transmitted code word.  S=(x+e)Ht =xHt+ eHt =eHt
  • 6. PROPERTY 2:  All error pattern that differs at most by a code word have the same syndrome.  For k message bits ,there are 2k distinct codes denoted as xi ,i=0,1, ………. 2k -1 we define 2k distinct vectors as e =e+ xi i=0,1,…….. 2k-1
  • 7. =e + =e
  • 8. PROPERTY 3:  The syndrome s is the sum of those columns of matrix H corresponding to the error locations H=[ , ………., ] therefore, s=
  • 9. PROPERTY 4:  With syndrome decoding ,an (n,k) linear block code can correct up to t errors per code word ,provided that n and k satisfy the hamming bound ≥ ( )  where ( ) is a binomial coefficient ,namely ( )= n!/(n-i)!i!
  • 10. MINIMUM DISTANCE CONSIDERATIONS:  Consider a pair of code vectors x and y that have the same number of elements  Hamming distance d(x,y): It is defined as the number of locations in which their respective elements differ .  Hamming weight w(x) : It is defined as the number of elements in the code vector.
  • 11. Minimum distance dmin: It is defined as the smallest hamming distance between any pair of code vectors in the code or smallest hamming weight of the non zero code vectors in the code .
  • 12.  An (n,k) linear block code has the power to correct all error patterns of weight t or less if ,and only if d( ) ≤2t+1  An (n,k) linear block code of minimum distance dmin can correct upto 1 error if and only if t≤ [1/2 (dmin – 1)].
  • 13. Advantages Disadvantages Easiest to detect and  Transmission correct errors. bandwidth is more. Extra parity bit does not  Extra bit reduces the convey any information bit rate of transmitter but detects and and also its power. corrects errors.
  • 14. APPLICATIONS  Used for error control coding.  Storage-magnetic and optical data storage in hard disks and magnetic tapes and single error correcting and double error correcting code(SEC- DEC) used to improve semiconductor memories.  Communication-satellite and deep space communications.