In coding theory, the Bose–Chaudhuri–Hocquenghem codes (BCH codes) form a class of cyclic error-correcting codes that are constructed using polynomials over a finite field (also called a Galois field). BCH codes were invented in 1959 by French mathematician Alexis Hocquenghem, and independently in 1960 by Raj Chandra Bose and D. K. Ray-Chaudhuri. The name Bose–Chaudhuri–Hocquenghem (and the abbreviation BCH) arises from the inventors' surnames (mistakenly, in the case of Ray-Chaudhuri). One of the key features of BCH codes is that during code design, there is a precise control over the number of symbol errors correctable by the code. In particular, it is possible to design binary BCH codes that can correct multiple bit errors. Another advantage of BCH codes is the ease with which they can be decoded, namely, via an algebraic method known as syndrome decoding. This simplifies the design of the decoder for these codes, using small low-power electronic hardware. BCH codes are used in applications such as satellite communications, compact disc players, DVDs, disk drives, USB flash drives, solid-state drives, and two-dimensional bar codes.
Definition and illustration
Primitive narrow-sense BCH codes Given a prime number q and prime power qm with positive integers m and d such that d ≤ qm − 1, a primitive narrow-sense BCH code over the finite field (or Galois field) GF(q) with code length n = qm − 1 and distance at least d is constructed by the following method. Let α be a primitive element of GF(qm). For any positive integer i, let mi(x) be the minimal polynomial with coefficients in GF(q) of αi. The generator polynomial of the BCH code is defined as the least common multiple g(x) = lcm(m1(x),…,md − 1(x)). It can be seen that g(x) is a polynomial with coefficients in GF(q) and divides xn − 1. Therefore, the polynomial code defined by g(x) is a cyclic code.
Example Let q = 2 and m = 4 (therefore n = 15). We will consider different values of d for GF(16) = GF(24) based on the reducing polynomial z4 + z + 1, using primitive element α(z) = z. There are fourteen minimum polynomials mi(x) with coefficients in GF(2) satisfying
mi(αi)mod(z4+z+1)=0. The minimal polynomials are
m1(x)=m2(x)=m4(x)=m8(x)=x4+x+1,m3(x)=m6(x)=m9(x)=m12(x)=x4+x3+x2+x+1,m5(x)=m10(x)=x2+x+1,m7(x)=m11(x)=m13(x)=m14(x)=x4+x3+1. The BCH code with d=2,3 has the generator polynomial
g(x)=lcm(m1(x),m2(x))=m1(x)=x4+x+1. It has minimal Hamming distance at least 3 and corrects up to one error. Since the generator polynomial is of degree 4, this code has 11 data bits and 4 checksum bits. It is also denoted as: (15, 11) BCH code. The BCH code with d=4,5 has the generator polynomial
g(x)=lcm(m1(x),m2(x),m3(x),m4(x))=m1(x)m3(x)=(x4+x+1)(x4+x3+x2+x+1)=x8+x7+x6+x4+1. It has minimal Hamming distance at least 5 and corrects up to two errors. Since the generator polynomial is of degree 8, this code has 7 data bits and 8 checksum bits. It is also denoted as: (15, 7) BCH code. The BCH code with d=6,7 has the generator polynomial
g(x)=lcm(m1(x),m2(x),m3(x),m4(x),m5(x),m6(x))=m1(x)m3(x)m5(x)=(x4+x+1)(x4+x3+x2+x+1)(x2+x+1)=x10+x8+x5+x4+x2+x+1. It has minimal Hamming distance at least 7 and corrects up to three errors. Since the generator polynomial is of degree 10, this code has 5 data bits and 10 checksum bits. It is also denoted as: (15, 5) BCH code. (This particular generator polynomial has a real-world application, in the "format information" of the QR code.) The BCH code with d=8 and higher has the generator polynomial
g(x)=lcm(m1(x),m2(x),...,m14(x))=m1(x)m3(x)m5(x)m7(x)=(x4+x+1)(x4+x3+x2+x+1)(x2+x+1)(x4+x3+1)=x14+x13+x12+⋯+x2+x+1. This code has minimal Hamming distance 15 and corrects 7 errors. It has 1 data bit and 14 checksum bits. It is also denoted as: (15, 1) BCH code. In fact, this code has only two codewords: 000000000000000 and 111111111111111 (a trivial repetition code).
General BCH codes General BCH codes differ from primitive narrow-sense BCH codes in two respects. First, the requirement that α be a primitive element of GF(qm) can be relaxed. By relaxing this requirement, the code length changes from qm−1 to ord(α), the order of the element α. Second, the consecutive roots of the generator polynomial may run from αc,…,αc+d−2 instead of α,…,αd−1. Definition. Fix a finite field GF(q), where q is a prime power. Choose positive integers m,n,d,c such that 2≤d≤n, gcd(n,q)=1, and m is the multiplicative order of q modulo n. As before, let α be a primitive nth root of unity in GF(qm), and let mi(x) be the minimal polynomial over GF(q) of αi for all i. The generator polynomial of the BCH code is defined as the least common multiple g(x)=lcm(mc(x),…,mc+d−2(x)). Note: if n=qm−1 as in the simplified definition, then gcd(n,q) is 1, and the order of q modulo n is m. Therefore, the simplified definition is indeed a special case of the general one.
Special cases A BCH code with c=1 is called a narrow-sense BCH code. A BCH code with n=qm−1 is called primitive. The generator polynomial g(x) of a BCH code has coefficients from GF(q). In general, a cyclic code over GF(qp) with g(x) as the generator polynomial is called a BCH code over GF(qp). The BCH code over GF(qm) and generator polynomial g(x) with successive powers of α as roots is one type of Reed–Solomon code where the decoder (syndromes) alphabet is the same as the channel (data and generator polynomial) alphabet, all elements of GF(qm) . The other type of Reed Solomon code is an original view Reed Solomon code which is not a BCH code.
Properties The generator polynomial of a BCH code has degree at most (d−1)m. Moreover, if q=2 and c=1, the generator polynomial has degree at most dm/2.
A BCH code has minimal Hamming distance at least d.
A BCH code is cyclic.
Encoding Because any polynomial that is a multiple of the generator polynomial is a valid BCH codeword, BCH encoding is merely the process of finding some polynomial that has the generator as a factor. The BCH code itself is not prescriptive about the meaning of the coefficients of the polynomial; conceptually, a BCH decoding algorithm's sole concern is to find the valid codeword with the minimal Hamming distance to the received codeword. Therefore, the BCH code may be implemented either as a systematic code or not, depending on how the implementor chooses to embed the message in the encoded polynomial.
… excerpt ends here. Continue reading the full article.