请输入您要查询的字词:

 

单词 Hamming code
释义
Hamming code

Electronics and Electrical Engineering
  • A digital code that helps in the process of error correction. The transmission line of a serial communications system can be susceptible to noise pulses that flip bits to incorrect values. There is a need for altered digital transmission data to be identified and perhaps corrected. Hamming code is one such mechanism. A message of four bits is embedded in a transmission of seven bits. The three extra redundant bits, known as check bits, provide enough information that a one-bit error anywhere in the seven bits can be corrected.

    In the encoding process, the message bits may be designated M3M2M1M0 and the check bits C2C1C0. Three functions have to be identified relating to the Ms and equating to the Cs:

    C2=f2(M3,M2,M1);C1=f1(M3,M2,M0);C0=f0(M3,M1,M0)

    There are many Boolean functions f that could be chosen here, and Hamming chose the following: have each Ci be the bit that makes the parity – the sum of the bits, either even or odd – of the string {Ci,Mx,My,Mz} always the same. Then Ci becomes 0 or 1, whichever is needed to make the number of 1s in the set {Ci,Mx,My,Mz} even (assuming even parity). The table shows the Hamming code for four-bit data.

    M3

    M2

    M1

    M0

    C2

    C1

    C0

    0

    0

    0

    0

    0

    0

    0

    0

    0

    0

    1

    0

    1

    1

    0

    0

    1

    0

    1

    0

    1

    0

    0

    1

    1

    1

    1

    0

    0

    1

    0

    0

    1

    1

    0

    0

    1

    0

    1

    1

    0

    1

    0

    1

    1

    0

    0

    1

    1

    0

    1

    1

    1

    0

    0

    0

    1

    0

    0

    0

    1

    1

    1

    1

    0

    0

    1

    1

    0

    0

    1

    0

    1

    0

    0

    1

    0

    1

    0

    1

    1

    0

    0

    1

    1

    1

    0

    0

    0

    0

    1

    1

    1

    0

    1

    0

    1

    0

    1

    1

    1

    0

    1

    0

    0

    1

    1

    1

    1

    1

    1

    1

    Hamming code for 4-bit data


随便看

 

科学参考收录了60776条科技类词条,基本涵盖了常见科技类参考文献及英语词汇的翻译,是科学学习和研究的有利工具。

 

Copyright © 2000-2023 Sciref.net All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/6 5:24:00