Error detector for error detecting codes

Information

  • Patent Grant
  • 5802078
  • Patent Number
    5,802,078
  • Date Filed
    Thursday, October 24, 1996
    28 years ago
  • Date Issued
    Tuesday, September 1, 1998
    26 years ago
Abstract
There is disclosed an acceptable error detector for error correcting block codes, in which of received syndrome vectors S for the received word vectors Y available from the syndrome generator, the m.sub.e -bit received subsyndromes S(m.sub.e) formed by the same components as those of the m.sub.e -bit representative subsyndromes <S(m.sub.e)> uniquely corresponding to the vectors of all the acceptable error pattern with error bits equal to or less than the acceptable number e is applied as addresses into the redundant subsyndrome table memory. Since the stored data specified by the input address are (m-m.sub.e)-bit redundant subsyndromes <S(m-m.sub.e)> which are supposed to appear in the remaining portion of S(=<S>) when the number of error bits is equal to or less than e, the remaining (m-m.sub.e)-bit received subsyndromes S(m-m.sub.e) derived from the received word vector Y in the syndrome generator and the (m-m.sub.e)-bit redundant subsyndrome <S(m-m.sub.e)> obtained from the redundant subsyndrome table memory are compared with each other by a coincidence detector to detect coincidence or noncoincidence therebetween. By this configuration, it is possible to detect whether the number of error bits in received word is acceptable.
Description

BACKGROUND OF THE INVENTION
The present invention relates to an error detector for simplifying detection operations of code words in a system which uses error correcting block code words, sets a predetermined number of error bits less than the maximum number of correctable bits in the code words, and detects and rejects errors exceeding the predetermined number of error bits, thereby providing for enhanced reliability in the transmission and recording of data.
Conventional error detectors of this kind utilize a method wherein a list of syndromes during decoding, corresponding to all error patterns with error bits equal to or less than the predetermined number of error bits, is prestored as a table in a memory so that the table is searched for a match with the syndrome of each received code word, or a method wherein an error detection table, which uses patterns of all syndromes for received code words as addresses and stores, as data, one-bit acceptable error detection information indicating whether or not the number of error bits corresponding to the syndrome concerned is equal to or less than the predetermined number of error bits, is implemented in a memory so that the table is searched. With the former method, however, as the predetermined number of error bits increases, the table size of the list of syndromes increases and the number of steps (or time) for table search increases since the search involves sweeping of the table, thereby to offer difficulty in the speed-up of decoding. The latter method speeds up the error detection processing itself but has a detect that the size of the error detection table increases exponentially with an increase in the parity bit length of the code word.
SUMMARY OF THE INVENTION
An object of the present invention is to provide an error detector for error correcting block codes, which eases the above-mentioned problems of the prior art methods, that is, an increase in the number of steps (or time) involved in the error detection processing and an increase in the size of the table used for the error detection, and which has high-speed processing ability using a table of relatively small size and eases implementation into IC or soft-ware.
To attain the above object, the error detector for error correcting block codes according to the present invention is composed of:
a syndrome generator for receiving received words of n (a natural number) bits and computing and outputting an m-bit received syndrome for each of the received words depending on an algebraic structure of an error correcting block code, which has a code length n bits and a parity length of m (a natural number, n&gt;m) bits;
a redundant subsyndrome table memory, for receiving as address data, a relevant m.sub.e -bit representative subsyndrome (m.sub.e : natural number, m&gt;m.sub.e), the m.sub.e bits being included in an m-bit syndrome for errors with a predetermined number of error bits equal to or less than e (a natural number) and being established for locating the positions of the predetermined number of error bits, and for prestoring as memory data, an (m-m.sub.e)-bit redundant subsyndrome, which is a redundant remainder obtained from said m-bit syndrome by excluding said m.sub.e -bit representative subsyndrome, used for the address data; and
a coincidence detector for receiving the (m-m.sub.e)-bit redundant subsyndrome from said redundant subsyndrome table memory by only one time accessing there to and an (m-m.sub.e)-bit received subsyndrome obtained by selecting those bits corresponding to the (m-m.sub.e)-bit redundant subsyndrome from the m-bit received syndrome supplied by said syndrome generator, for detecting whether or not the both inputs thereto coincide with each other by only one time comparing said both inputs, and for outputting the detected result in binary form.





BRIEF DESCRIPTION OF THE DRAWINGS
The present invention will be described in detail below with reference to the accompanying drawings, in which:
FIG. 1 is a block diagram of an error detector for error correcting block codes according to the present invention;
FIG. 2 is a block diagram illustrating an example of a syndrome generator for use in the present invention;
FIG. 3 is a block diagram illustrating an example of a redundant subsyndrome table memory for use in the present invention; and
FIG. 4 is a block diagram illustrating a coincidence detector for use in the present invention.





DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS
FIG. 1 illustrates in block form an example of an error detector for error correcting block codes according to the present invention. In FIG. 1, reference numeral 1 denotes a syndrome generator, which receives an n-bit received word Y, performs syndrome calculation (a well-known operation which utilizes, for example, a matrix operation using a parity check matrix, a power operation of a root vector of a generator polynomial, or a residue calculation of a polynomial using a shift register) dependent on an algebraic structure of an error correcting block code with n-bit code length and m-bit parity length (n&gt;m&gt;o), and outputs an m-bit received syndrome S corresponding to the n-bit received word Y.
Reference numeral 2 denotes a redundant subsyndrome table memory prestoring, as memory data, (m-m.sub.e)-bit redundant subsyndrome &lt;S(m-m.sub.e)&gt; obtained from an m-bit acceptable syndrome &lt;S&gt; at an address specified by m.sub.e -bit representative subsyndrome &lt;S(m.sub.e)&gt;, wherein the m-bit syndrome &lt;S&gt; is an m-bit syndrome for errors with a predetermined number equal to or less than e of error bits. The m-bit syndrome &lt;S&gt; is uniquely represented by m.sub.e -bit representative subsyndrome &lt;S(m.sub.e)&gt; included in the m-bit syndrome &lt;S&gt;, since &lt;S(m.sub.e)&gt; is so constructed that the set of m.sub.e bit is established for locating the error positions, and the (m-m.sub.e)-bit redundant subsyndrome &lt;S(m-m.sub.e)&gt; is a redundant remainder obtained from the m-bit syndrome &lt;S&gt; by excluding the m.sub.e -bit representative subsyndrome &lt;S(m.sub.e)&gt;.
The redundant subsyndrome table memory 2 receives as address data &lt;S(m.sub.e)&gt;, m.sub.e -bit received subsyndrome S(m.sub.e) which is included in the m-bit received syndrome S supplied by the syndrome generator 1, and is composed of the same m.sub.e bit members as those of the address data&lt;S(m.sub.e)&gt;. Reference numeral 3 denotes a coincidence detector, which receives the (m-m.sub.e) redundant syndrome &lt;S(m-m.sub.e)&gt; supplied by the redundant subsyndrome table memory 2 and (m-m.sub.e) bit received subsyndrome S(m-m.sub.e) obtained by selecting those bits corresponding to the (m-m.sub.e)-bit redundant subsyndrome &lt;S(m-m.sub.e)&gt; from the m-bit received syndrome S supplied by the syndrome generator 1, detects whether the both inputs coincide with each other or not, and provides a binary output as the coincidence detected output DET.
The operation of the error detector of the present invention, with reference to the example of FIG. 1, will hereinbelow be described in connection with its specific operation example.
Now, consider a case where a BHC code (15, 7) being an error correcting block code with n=15, m=8, the information bit length: k=n-m=7 and the theoretical maximum correctable number of error bits: t=2, is decoded with one-bit error correction (the number e of error bit=1) and two-bit error detection. A generator polynomial G(x) of this BHC code is a polynomial which includes the following two polynomials as factors,
G .alpha. (x)=x.sup.4 +x+1 (1)
G .beta. (x)=x.sup.4 +x.sup.3 +x.sup.2 +x +1 (2)
and can be expanded as follows:
G(x)=G .alpha. (x).multidot.G .beta. (x) =x.sup.8 +x.sup.7 +x.sup.6 +x.sup.4 +1 (3)
At this time, a code polynomial (4) which comprises each bit C.sub.i (i=0 to 15) of an arbitrary code word: ##EQU1## includes G(x) as a factor.
In this case , let arbitrary roots of G.alpha.(x) and G.beta.(x) on a Galois extension field GF(2.sup.4) with a characteristic 2 and a degree 4 be represented by .alpha. and .beta., respectively. Since .alpha. and .beta. are the roots of the above code polynomial C(x), we get the following:
C(.alpha.)=C(.beta.)=0 (5)
Hence, for the following matrix ##EQU2## and a code word vector (n-dimensional)
C=(C.sub.14 C.sub.13 . . . C.sub.2 C.sub.1 C.sub.0).sup.T (7)
(T indicates transpose)
The following equation holds:
H.multidot.C=0 (8)
Therefore, H of Eq.(6) functions as a parity check matrix. By using the following four-dimentional unit vector notations fo r the power function values of .alpha., ##EQU3## the parity check matrix by the notation of Eq.(6) is transformed to the following parity check matrix with m rows and n columns ##EQU4## Apparently, the column vectors in the portions surrounded by the solid and dotted lines on the right-hand side of Eq.(10) correspond to the power function values of .alpha. and .beta. on the right-hand side of Eq.(6) respectively, in the same column.
Next, by denoting the received word vector Y (n-dimentional) as
Y=(Y.sub.14 Y.sub.13 . . . Y.sub.2 Y.sub.1 Y.sub.0).sup.T (11)
and the syndrome vector (m-dimentional) for Y as,
S=(S.sub.7 S.sub.6 . . . S.sub.2 S.sub.1 S.sub.0).sup.T (12)
the syndrome vector S is calculated by the following equation:
S=H.multidot.Y (13)
therefore, according to the equation (8), when the received word vector Y is equal to the code word vector C, the syndrome vector S becomes zero.
When the received word vector Y contains an error denoted as an n-dimensional vector,
E=(E.sub.14 E.sub.13 . . . E.sub.2 E.sub.1 E.sub.0).sup.T (14)
the received word vector Y can be expressed as follows:
Y=C+E (15)
(Where a notation + indicates an addition with modulus 2 or exclusive OR operation) Hence, from Eq.(8),(13) and (15), we get,
S=H.multidot.(C+E)=H.multidot.C+H.multidot.E=H.multidot.E (16)
Thus, the syndrome vector S uniquely corresponds to the vector E of the error pattern.
Now, according to the above code system, let us examine the feature of the m-bit acceptable error syndrome &lt;S&gt; for one-bit errors obtained by Eq.(16). In this instance, since any one of the bits E.sub.14 to E.sub.0 of the vector E in the error pattern in Eq.(14) is a state "1" (an error ) and the others states "0's" (normal), the m-bit acceptable error syndrome &lt;S&gt; is found to be equal to one of the column vectors in the parity check matrix of Eq.(10) corresponding to the position of the error bit.
On the other hand, the factor G.alpha.(x) of the generator polynomial G(X) is a primitive polynomial and its root .alpha. is a primitive element of GF(2.sup.4). That is, the minimum value of i (i.e.the order of .alpha.) except for 0, which satisfies .alpha..sup.i =1(unit element), is 2.sup.4 -1=15 and therefore, none of .alpha..sup.0, .alpha..sup.1 . . . .alpha..sup.15 are equal to one another. This coincides with the fact that the 4-bit column vectors constituting the upper four columns in the parity check matrix of Eq.(10) (surrounded by the solid lines) are all unique.
Accordingly, when the number e of error bits is equal to 1, the m.sub.e- bit representative subsyndromes &lt;S(m.sub.e)&gt; included in the syndrome &lt;S&gt;, composed of m.sub.e (=4) bits S.sub.7, S.sub.6, S.sub.5 and S.sub.4, correspond uniquely to respective 15 one-bit error patterns E (i.e. respective one-bit error positions), and the (m-m.sub.e)-bit redundant subsyndromes &lt;S(m-m.sub.e)&gt; composed of m-m.sub.e (=4) bits S.sub.3, S.sub.2, S.sub.1 and S.sub.0 and obtained after the extraction of the subsyndromes &lt;S(m.sub.e)&gt; from the m-bit acceptable syndrome &lt;S&gt;, are redundant remainder which are subordinately determined by the m.sub.e -bit representative subsyndromes &lt;S(m.sub.e)&gt;.
On the other hand, the m-bit received syndromes S for two-bit errors are the sum (an addition with modulus 2 of matrix elements or their exclusive OR operation) of two columns in the parity check matrix of Eq.(10) each corresponding to respective one-bit error positions, as is evident from Eq.(16).
Hence, it is no longer possible, to obtain unique correspondence between the m.sub.e -bit received subsyndromes S(m.sub.e) and all two-bit errors, because the m.sub.e -bit received subsyndromes S(m.sub.e) are mapped onto both one-bit errors and two-bit errors simultaneously. In other words, the (m-m.sub.e) bit received subsyndrome S(m-m.sub.e) is not redundant any more so that the detection of the error positions requires to introduce the total received syndromes S instead of m.sub.e -bit received subsyndrome S(m.sub.e).
The properties of the parity check matrix and syndromes in the above specific example are also commonly found in the case of the other block codes with the maximum number of correctable error bits t.gtoreq.2, and the error detector according to the present invention can perform an error detection by taking advantage of the above-mentioned properties.
For example, in case of t=3 and the acceptable number of error bits e=e, as is based upon a generator polynominal consisting of two factors as follows:
G(x)=G.alpha.(x).multidot.G.beta.(x)
the method to construct the m.sub.e- -bit representative subsyndrome is similar to that of previous example �Equation (6)!, by using the following parity check matrix: ##EQU5##
In this example, a linear combination (sum) of arbitrary two column vectors in a solid line uniquely corresponds to any two bit error pattern. Therefore, it is obvious that the syndrome bits-calculated using the column vector .alpha..sup.1 (0&lt;i&lt;n-1) constitute the m.sub.e -bit representative subsyndrome, while the other syndrome bits using the column vector .beta..sup.1 in a dotted line shown in Equation (2) constitute the (m-m.sub.e) bit redundant subsyndrome.
The summary of the configuration of the present invention is as follows:
Of the received syndrome vectors S for the received word vectors Y available from the syndrome generator 1 in FIG. 1, the m.sub.e -bit received subsyndromes S(m.sub.e) formed by the same components as those of the m.sub.e -bit representative subsyndrome &lt;S(m.sub.e)&gt; uniquely corresponding to the vectors of all the acceptable error pattern with error bits equal to or less than the number e is applied as addresses into the redundant subsyndrome table memory 2. Since the stored data specified by the input address are the (m-m.sub.e)-bit redundant subsyndromes &lt;S(m-m.sub.e)&gt; which are supposed to appear in the remaining portion of S(=&lt;S&gt;) when the number of error bits is equal to or less than e, the remaining (m-m.sub.e)-bit received subsyndrome S(m-m.sub.e) derived from the received word vector Y in the syndrome generator 1 and the (m-m.sub.e)-bit redundant subsyndrome &lt;S(m-m.sub.e)&gt; obtained from the redundant subsyndrome table memory 2 are compared with each other by the coincidence detector 3 to detect coincidence or noncoincidence therebetween. By this configuration, it is possible to detect whether the number of error bits the in received word is acceptable.
Next, a description will be given of specific operative example of the circuits, 1, 2 and 3 for use in the present invention.
For the syndrome generation, several methods are well-known, such as, for example, operations which uses a parity check matrix disclosed in a reference literature; R. E. Blahut, "THEORY AND PRACTICE OF ERROR CONTROL CODES", ADDISON-WESLEY PUBLISHING COMPANY, INC., 1984, P53, and the "method of substituting the root vector of a generator polynomial into a received word polynomial" disclosed on page 162 of the same literature. Furthermore, a circuit shown in FIG. 2 can be also used.
FIG. 2 shows in detail an example of the construction of the syndrome generator 1 in the case of generating syndromes from the results of a residue polynomial calculation by a generator polynomial defined in the code system. Reference numeral 101 denotes a parallel-to-serial code converter (P-S converter) into which the received word Y is input, and 111,112, . . . 113 adders with modulus 2 each of which adds two inputs to modulus p ,a natural number, and when p=2, each adder is equivalent to an exclusive OR gate. Reference numerals 121,122, . . . 123 denote unit delay elements for delaying the outputs of the adders 111,112, . . . , 113 by one bit, and 131,132, . . . 133 and 134 constant multipliers. The constant multiplier 134 multiplies the output of the unit delay element 123 by g.sub.m-1, times and provides the multiplied output to all of the other constant multipliers 131,132, . . . , 133. The constant multipliers 131,132, . . . , 133 multiply the inputs by the constants g.sub.0, g.sub.1, . . . , g.sub.m-1, respectively, and feed back the multiplied outputs to the adders 111,112, . . . , 113 at respective one inputs thereof. In this case, g.sub.0, g.sub.1, . . . , g.sub.m-1, and g.sub.m are constants for coefficient of the generator polynomial:
G(X)=g.sub.m x.sup.m +g.sub.m-1 x.sup.m-1 +. . . g.sub.1 x+g.sub.0 (17)
The P-S converter 101 and the unit delay element 121 have their outputs connected to other inputs of the adders 111 and 112, respectively.
With such a construction as described above, the syndrome vector (S.sub.m-1, . . . , S.sub.1, s.sub.0).sup.T appears at the outputs of the adders 111, 112, . . . , 113 constituting the coefficients of a residue polynomial;
R(x)=S.sub.m-1 x.sup.m-1 +. . . +S.sub.1 x+S.sub.0 (18)
which is a residue when a received word polynomial corresponding to the received word vector is divided by a generator polynomial.
FIG. 3 shows a detailed example of the construction of the afore-mentioned redundant subsyndrome table memory. In FIG. 3, reference numeral 201 denotes a register bank composed of 2.sup.m.sbsp.e registers 0, 1, . . . , 2.sup.m.sbsp.e -1 of (m-m.sub.e)bit word length, and 202 a selector which selects and outputs one of the outputs of the 2 .sup.m.sbsp.e register outputs in accordance with an m.sub.e -bit address &lt;S(m.sub.e)&gt; which is provided from the syndrome generator 1. It is obvious that such a construction provides the implementation of the redundant subsyndrome table memory.
FIG. 4 shows, in more detail, an example of the construction of the coincidence detector. In FIG. 4, reference numerals 301, 302, . . . , 303 denote exclusive-OR gates, which receive the corresponding counter parts of respective bits &lt;S(m-m.sub.e)&gt;.sub.0, &lt;S(m-m.sub.e)&gt;.sub.1, . . . &lt;S(m-m.sub.e)&gt;.sub.m-me-.spsb.1 , from &lt;S(m-m.sub.e)&gt; and S(m-m.sub.e).sub.0, S(m-m.sub.e).sub.0, S(m-m.sub.e).sub.1, . . . S(m-m.sub.e).sub.m-31 me-.spsb.1 from S(m-m.sub.e) to output a "0" or "1" depending on whether the both inputs coincide with each other or not. Reference numeral 304 denotes an NOR gate, whose output DET is in a state "1" only in a case where the outputs of the exclusive-OR gates 301, 302, . . . , 303 are all in a state "0," that is, only when &lt;S(m-m.sub.e)&gt;=S(m-m.sub.e), and in other cases, the output DET is in a state "0."
It is clear that such a construction provides implementation of the function to detect the coincidence of &lt;S(m-m.sub.e)&gt; and S(M-m.sub.e).
Next, a brief description will be given of the scale of the table and processing speed required for the acceptable error detector according to the present invention. The storage capacity of the redundant subsyndrome table memory 2 for use in the present invention is (m-m.sub.e) bits/word.times.2.sup.m.sbsp.e words=2.sup.m.sbsp.e .multidot.(m-m.sub.e) bits, as is evident from the foregoing description, and processing is completed with a single cycle of a readout operation of the memory and a coincidence check operation.
On the other hand, in the afore-mentioned conventional method in which a list of syndromes corresponding to all acceptable error patterns with the number of error bits equal to or less than the predetermined number of error bits is prestored as a table, the storage capacity required amounts up to ##EQU6## and the maximum number of access operations to the table is: ##EQU7## times, where .sub.n C.sub.j is defined by: ##EQU8##
In another afore-mentioned method which employs a table using the syndromes S as addresses and one bit acceptable error detection information as data, the capacity is 2.sup.m .times.1 bits and the number of access operations to the table is one.
The capacity equations in the above-mentioned systems and the storage capacity values in the specific example described previously will be given in Table 1.
TABLE 1______________________________________ present Prior Art invention Former Latter______________________________________Storage capacity expression 2.sup.m.spsb.e (m - m.sub.e) .sup. bits ##STR1## 2.sup.m bitsStorage capacity in specific 64 bits 128 bits 256 bitsexample n = 15, m = 8 (m.sub.e = 4)t = 2, e = 1______________________________________
From Table 1 it is seen that according to the error detector of the present invention, although the processing speed is not reduced, the storage capacity can be made remarkably smaller than those in the afore-mentioned two conventional methods. The effect of the reduction of the storage capacity increases with an increase in the value of each of n, m, and e. (Reference Literature: Peterson, W. W., and E. J. Weldon, Jr.,"E rror-Correcting Codes", 2nd Ed.,The M.I.T. Press, Cambridge, Mass., 1971)
As described above in detail, according to the present invention, the storage capacity of the table used can be substantially reduced without reducing the processing speed of acceptable error detection and hence the fabrication of the error detector as an IC is easy. Moreover, since almost all processing can be implemented in software, the invention further contributes to economization of the device.
Claims
  • 1. An error detector for error correcting block codes comprising:
  • a syndrome generator receptive of received words of n (a natural number) bits for computing and outputting an m-bit receiving syndrome depending on an algebraic structure of an error correcting block code which has a code length of n bits and a parity length of m (a natural number, n&gt;m) bits;
  • a redundant subsyndrome table memory, for receiving as address data, a relevant m.sub.e -bit representative subsyndrome (m.sub.e : natural number, m&gt;m.sub.e), the m.sub.e bits being included in an m-bit acceptable syndrome for error with a predetermined number of error bits equal to or less than e (a natural number) and being established for locating the positions of the predetermined number of error bits, and for prestoring as memory data, an (m-m.sub.e)-redundant subsyndrome, which is a redundant remainder obtained from said m-bit acceptable syndrome by excluding said m.sub.e -bit representative subsyndrome, used for the address data; and
  • a coincidence detector for receiving said prestored (m-m.sub.e) bit redundant subsyndrome from said redundant subsyndrome table memory by only one time accessing thereto and an (m-m.sub.e)-bit received subsyndrome obtained by selecting those bits corresponding to the (m-m.sub.e)-bit redundant subsyndrome from the m-bit received syndrome supplied by said generator, for detecting whether or not both inputs thereto coincide with each other by only one time comparing mutually said both inputs, and for outputting the detected result in binary form.
CROSS-REFERENCE TO RELATED APPLICATIONS

This is a continuation-in-part of application Ser. No. 08/504,326, filed on Jul. 19, 1955, and now abandoned, which is a continuation of application Ser. No. 07/982,467, filed on Nov. 27, 1992, and now abandoned.

US Referenced Citations (4)
Number Name Date Kind
4556977 Olderdissen et al. Dec 1985
5384786 Dudley et al. Jan 1995
5459740 Glaise Oct 1995
5473621 Wei Dec 1995
Continuations (1)
Number Date Country
Parent 982467 Nov 1992
Continuation in Parts (1)
Number Date Country
Parent 504326 Jul 1995