Data coding for fast start-up of PRML receivers

Abstract: In recording systems using partial-response maximum-likelihood detection (PRML) techniques, data sequences are preceded by a preamble consisting of all ones. Coding schemes are disclosed which allow to keep the number of consecutive ones occuring in the coded data sequences at a minimum, while simultaneously restricting the number of consecutive zeros in full and partial data sequences to a low value which is important for improving receiver operation. The disclosed coding schemes and apparatus enable a faster and more reliable discrimination between timing preambles and data sequences, thus allowing to use shorter timing preambles which results in faster receiver start-up and in a reduction of storage overhead for the preambles.

Description: FIELD OF INVENTION Present invention is concerned with data coding for systems using partial-response signaling with maximum-likelihood sequence detection (PRML). Such a signaling and detection scheme is useful e.g. for magnetic or optic storage of data, and for data transmission over cables. In particular, the invention is concerned with data coding in PRML systems to shorten the time needed for recognizing timing preambles that precede the data sequences to ensure proper timing and gain acquisition in the receiver, and to achieve a more reliable distinction between arbitrary data sequences and the timing preamble. BACKGROUND Rate 8/9 constrained codes for partial-response class-IV signaling with maximum-likelihood sequence detection (PRML) have been designed to achieve proper operation of gain and timing control loops and reduction of path-memory length of Viterbi detectors in PRML receivers. In the presence of a precoder between partial-response class IV (PR-IV) channel and rate 8/9 encoder, these two objectives are met by restricting the maximum run-length of 0's, denoted by G₀, in encoded binary sequences {b n } and limiting the maximum number of consecutive 0's, denoted by I₀, in the two subsequences of {b n } with even or odd time indices. An example of a system where G₀ and I₀ are both limited by appropriate coding (either to 4 and 4, or to 3 and 6, respectively) is disclosed in U.S. Patent 4,707,681 to Eggenberger. It would be desirable to have coding schemes which can accomplish a third task, i.e. to speed up the start-up procedure of PRML receivers by shortening the minimum observation length required to distinguish reliably encoded user data from the timing preamble {1,1,1,...,1,1}, which in many systems is part of training sequences preceding encoded data sequences {b n }. OBJECTS OF THE INVENTION It is an object of the invention to devise a coding scheme for PRML systems by which the time required for distinguishing timing preambles from coded data sequences is reduced. It is another object to provide a coding scheme allowing to use shorter timing preambles. A further object of the invention is a PRML coding scheme allowing the selection of code mappings which enable simple implementation of encoders and decoders by logic gate arrays. Another object of the invention is to provide a coding scheme for systems using the PRML technique and using a timing preamble of consecutive ones which allows to maintain code constraints that are useful for the proper operation of gain and timing control loops and for limiting the path memory-length of Viterbi decoders in the receiver. SUMMARY OF THE INVENTION These objects are achieved by an encoding method and by encoding apparatus as defined in claims 1 and 7. Preferred particular embodiments of this method and of encoding and decoding apparatus are defined in the dependent claims. The invention attains the objects by limiting the number G₁ of consecutive ones in the encoded data sequence to a relatively low value, while maintaining the limitation in the numbers of consecutive zeros in the full encoded sequence as well as in the even and odd numbered partial sequences. The smaller the maximum run-length of 1's, denoted G₁, in encoded sequences {b n }, the faster data can be discriminated from the preamble. Since the timing preamble has to be long enough to be reliably detected by PRML receivers during start-up, smaller values of G₁ allow shorter training sequences leading to faster synchronization of PRML receivers. The presented 8/9 codes, referred to by the 3-tuple (G₀, I₀, G₁), permit reliable, fast start-up of PRML receivers and the length of the preamble detection window needs typically to be less than one half of the window required with earlier codes presented in U.S.Patent 4,707,681. Several coding schemes are disclosed which allow to select different combinations of code constraints so that a combination can be chosen which best suits the respective application. These schemes have furthermore the property that decoding can be achieved without knowledge of previously encoded data, thereby avoiding decoding error propagation in case of transmission errors. Further disclosed are several code mapping schemes which allow to implement the encoders (and decoders) for the presented coding schemes with a small number of logic gates. These and other advantages will become more apparent from the following description of preferred embodiments of the invention with reference to the drawings. LIST OF DRAWINGS Fig.1 is a schematic representation of the structure of stored data sequences which comprise a timing preamble; Fig.2A is a block diagram representation of a system in which present invention finds application; Fig.2B is a more detailed block diagram of the encoder section of the system of Fig.2A; Figs.3A, 3B and 3C show for one specific code a pattern, in the matrix of all 9-bit words, which indicates the preselection of all potential codewords; the partitioning of the matrix of all possible 8-bit input words into nine subsets, to facilitate assignment between coder input and output words; and the assignment between input and output subsets; Fig.4 shows for another code the pattern, in the matrix of all 9-bit words, which indicates the preselection of all potential codewords; Figs.5A, 5B and 5C show similar selections and assignments as in Figs.3A, 3B and 3C, for a further code; Figs.6A and 6B are block diagrams of a finite-state encoder and of a decoder for the implementation of the invention which is represented by the selection and assignment matrices of Figs.5A, 5B and 5C. Tables 1 through 6 show the encoder logic and the decoder logic for three different implementations of the invention. DETAILED DESCRIPTION DATA FORMAT WITH PREAMBLES: Fig.1 shows an example of the structure of a data sequence when stored in a magnetic recording medium (magnetic disk). As can be seen, each data record is stored separately. The data section of each record is preceded by a timing preamble and a synchronizing pattern; these are necessary for initiating the receiver to properly read the recorded data. It is important that the timing preamble is correctly distinguished from the data. If the data can comprise any arbitrary bit patterns, including such which resemble the used timing preamble (i.e. {1,1,1, ...... }), relatively long timing preambles must be used and relatively much time is required for reliable detection and discrimination. To shorten this time, the present invention suggests to add a constraint to the coded data sequences such that bit patterns corresponding to such a timing preamble will only occur in limited length. This allows a faster distinction between the data and the preamble, and as a consequence allows to use shorter timing preambles (which require less storage space). BASIC MODEL: A system in which present invention is used can be represented by the following three main blocks depicted in Fig. 2A: rate 8/9 encoder 11, precoder 13, and PR-IV channel 15. In the following, input-output relationship of these blocks are discussed in detail. B denotes the binary alphabet {0,1}. Magnetic-recording channels are baseband channels with a transfer characteristic exhibiting a spectral null at frequency f=0, a spectral maximum at a frequency that depends on the particular recording-system parameters and an exponential decay at higher frequencies. Therefore, they are particularly well suited to be treated as a PR-IV system after the channel-output signal is filtered in an appropriate manner. The PR-IV channel 15 is preceded by a precoder 13 whose input sequence is the encoded sequence {b n }, b n ε B, and whose output sequence {c n }, c n ε B, is given by where ⊕ denotes mod 2 addition and overbar stands for negation. The input symbols of the PR-IV channel d n ε {+1, -1} and the precoder-output symbols c n are related to each other (as shown by block 17) by the correspondence d n =2c n - 1, where c n have to be interpreted as the real numbers 0 or 1. The ternary output sequence of the PR-IV channel {y n } can then be written as where (1) was used to obtain the relationship between b n and y n . Note that the all-zero sequence and the timing preamble (the all-one sequence) at the input of the precoder result in the all-zero sequence and {..., +2,+2,-2,-2,+2,+2,-2,-2,...}, respectively, at the output of the PR-IV channel. The run-length of 0's in the output sequence {y n } of the PR-IV channel and in its two subsequences with even or odd time indices have to be limited in order to aid the automatic gain control and timing recovery, and reduce the length of path memory in the Viterbi detector. This can be achieved by a method and apparatus as disclosed in U.S.Patent 4,707,681 to Eggenberger. The maximum run-length of channel outputs y n identical to the timing preamble at the output of the PR-IV channel {..., +2,+2,-2,-2,...} must also be reduced to permit reliable, fast start-up of PRML receivers. These goals can be achieved efficiently by present invention using a rate 8/9 encoder 11 followed by a precoder 13 that translates the desired run-length constraints originally defined at the output of the PR-IV channel into simple run-length constraints (G₀, I₀, G₁) at the output of the rate 8/9 encoder. Precoding does not affect the performance of data communication systems employing binary PR-IV signaling and maximum-likelihood sequence-detection. However, the presence of a precoder can lead to smaller run-length constraints at the output of the PR-IV channel if encoders are restricted to a specific class. For example, in the absence of a precoder, the class of rate 8/9 block encoders with output block-size equal to 9 cannot produce channel-output sequences {y n } which have at most u=4 consecutive 0's and whose two subsequences with even or odd time indices have at most v=4 consecutive 0's. This can be explained as follows. There are no more than 216 binary 9-tuples which lead to PV-IV sequences {y n } satisfying the constraints u=4 and v=4 when they are transmitted over the PR-IV channel in any order. On the other hand, when the PR-IV channel is preceded by a precoder, there are 279 binary 9-tuples which can be juxtaposed in any order, and rate 8/9 block codes with output block-size equal to 9 that give rise to channel-output sequences constrained by u=4 and v=4 can be constructed (cf. U.S.Patent 4,707,681 mentioned above). The input of the rate 8/9 encoder {a n } a n ε B, is an unconstrained binary sequence and the encoder output {b n }, b n ε B, satisfies the following Boolean equations b n ·b n+1 ·b n+2 ·...·b n+G 1 = 0 , where n is any integer, '+' denotes the Boolean OR operation and '·' stands for the Boolean AND operation. Equation (3) limits the maximum run-length of 0's in the encoder-output sequence to G₀. Equation (4) does not allow the maximum number of consecutive 0's in the two encoder-output subsequences with even or odd time indices to exceed I₀. Finally, equation (5) ensures that the maximum run-length of 1's in the encoder-output sequence is not greater than G₁. In the following, the encoder output will be designated as a (G₀,I₀,G₁)-constrained sequence. ENCODER INPUT AND OUTPUT: Fig.2B shows more detail of the encoder section 11 of Fig.2A. The encoder proper 11B which accepts 8-bit input blocks X and furnishes 9-bit output codewords Y, is preceded by a serial-to-parallel converter 11A which converts the serial stream of bits a n into the input blocks X. At the output side of the encoder, a parallel-to-serial converter 11C converts the codewords Y into a serial bit stream of bits b n . ENCODERS AND DECODERS FOR SELECTED BLOCK CODES: The encoder for an (n,k) block code with rate equal to k/n assigns to every block of k input symbols a block of n output symbols. The motivation for the use of (9,8) block codes as opposed to non-block codes is the simplicity of the encoder/decoder hardware associated with block codes. The nonlinear binary (9,8) block codes designed so far were constructed with the objective of minimizing the constraints G₀ and I₀ (cf. e.g. U.S.Patent 4,707,681). In the following, simple encoder/decoder realizations of two optimum (9,8) block codes which minimize the parameter G₁ in addition to G₀ and I₀ are presented. In terms of the 3-tuple (G₀,I₀,G₁), these codes are characterized by (4,6,5) and (4,4,9). The smallest sum of constraints G₀+I₀+G₁ achievable with a (9,8) block code is 15. This minimum is only attained by (4,6,5) and (4,5,6) among all constraints (G₀,I₀,G₁). ENCODER/DECODER FOR (4,6,5) CODE: An encoder/decoder realization of the (4,6,5) code is described first. The encoder design starts by selecting all 9-tuples Y = (Y₁,Y₂...,Y₉) ε B⁹ which satisfy the following Boolean equations (Y₁+Y₂+Y₃)·(Y₂+Y₃+Y₄+Y₅+Y₆)·(Y₃+Y₄+Y₅+Y₆+Y₇)·(Y₄+Y₅+Y₆+Y₇+Y₈)·(Y₇+Y₈+Y₉)=1 (Y₁+Y₃+Y₅+Y₇)·(Y₃+Y₅+Y₇+Y₉)·(Y₂+Y₄+Y₆+Y₈)=1 and either Y₁·Y₂·Y₃+Y₂·Y₃·Y₄·Y₅·Y₆·Y₇+Y₃·Y₄·Y₅·Y₆·Y₇·Y₈+ Y₆·Y₇·Y₈·Y₉=0 or Y₁·Y₂·Y₃·Y₄+Y₂·Y₃·Y₄·Y₅·Y₆·Y₇+Y₃·Y₄·Y₅·Y₆·Y₇·Y₈+ Y₇·Y₈·Y₉=0 where (6), (7) and (8a) are used to generate a list L₁ of 263 codewords and (6), (7) and (8b) another list L₂ of 263 codewords. By discarding all 9-tuples Y which begin or end with more than two 0's or have a run of five or more 0's, equation (6) ensures that the constraint G₀ = 4 is satisfied. Equation (7) guarantees I₀ = 6 by limiting the run-length of 0's within Y₁Y₃Y₅Y₇Y₉ and Y₂Y₄Y₆Y₈ to three. Finally, equation (8a) ((8b)) ensures G₁ = 5 by eliminating all Y which begin with more than two (three) 1's or end with more than three (two) 1's or have a run of six or more 1's. Note that if Y = (Y₁,Y₂,...,Y₉) ε L₁ then Y′ = (Y₉,Y₈,..., Y₁) ε L₂. Hence the codewords in one list can be simply obtained by reversing the codewords in the other list. The (4,6,5) block code presented here comprises 256 codewords and was arbitrarily chosen to be a subset of L₁ as opposed to L₂. The 263 potential codewords in L₁ will be illustrated as 263 specific locations marked "▪" within the 16 × 32 array shown in Fig.3A, whose (i,j)-th location at the intersection of the i-th row, i=0,1,...,15, and the j-th column, j=0,1,...,31, corresponds to the 9-tuple Y=(Y₁,Y₂,...,Y₉) where Y₉Y₈Y₇Y₆ and Y₅Y₁Y₂Y₃Y₄ are the binary representations of the decimal numbers i and j, respectively. Note that the left half of the above array corresponds to Y₅=0 whereas the right half corresponds to Y₅=1. The locations in L₁(4,6,5) marked "-" represent 9-tuples which are not allowed to be used as codewords in the (4,6,5) block code presented here. There are numerous block codes that can be derived from the array L₁(4,6,5), and the codewords in each code can be assigned to 256 8-bit bytes in 256! ways. Thus, the number of all encoder mappings associated with the array L₁ (4,6,5) is very large. Thus, it is desirable to choose an encoder mapping that leads to simple encoder/decoder realizations. The space of all encoder input bytes B⁸ is divided into 9 pairwise disjoint sets A k , k=1,2,...,9. The elements of the subset A k will be illustrated as specific locations marked "k" within the 16 × 16 array shown in Fig.3B, whose (i,j)-th location at the intersection of the i-th row, i=0,1,...,15, and the j-th column, j=0,1,...,15, corresponds to the byte X=(X₁,X₂,...,X₈) where X₈X₇X₆X₅ and X₁X₂X₃X₄ are the binary representations of the decimal numbers i and j, respectively. Similarly, the elements of D k , k=1,2,...9, the images of A k under the encoder mapping, are illustrated as specific locations marked "k" within the 16 × 32 array shown in Fig.3C, whose (i,j)-th location at the intersection of the i-th row, i=0,1,...,15, and the j-th column, j=0,1,...,31, corresponds to the 9-tuple Y=(Y₁,Y₂,...,Y₉) where Y₉Y₈Y₇Y₆ and Y₅Y₁Y₂Y₃Y₄ are the binary representations of the decimal numbers i and j, respectively. The pattern of _'s in D (4,6,5) represent all 9-tuples which cannot be used as codewords and is the same as the pattern of -'s in L₁ (4,6,5). The seven 9-tuples in L₁ which are not used as codewords in the (4,6,5) block code presented here correspond to locations marked "▪" in D (4,6,5). The partitions A₁ and D₁ are as follows: the patterns of 1's in A (4,6,5) and in the right half of D (4,6,5) are the same as the pattern of ▪'s in the right half of L₁ (4,6,5). The other subsets A k , k=2,3,...,9, and their images under the encoder mapping D k , k=2,3,...,9, are simultaneously chosen such that the number of logic gates needed is as small as possible. Note that the choice of partitions A k and D k and of the one-to-one correspondences between A k and D k does not follow any rules except for k=1. The encoder and decoder logic of the (4,6,5) code is shown in Tables 1 and 2, respectively. In the sequel, the overbar used in the tables denotes negation in the Boolean algebra. Intermediate variables V i , i=1,2,...,7, for the encoder and W i , i=1,2,...,9, for the decoder were used to reduce the number of logic gates. For the same purpose, superpartitions S i , i=1,2,...,9, for the encoder and T i , i=1,2,...,6, for the decoder were introduced as the union of partitions. The decoder includes an optional error flag F which is raised (i.e., F=1) when the decoder input is an illegal codeword. MINIMUM VALUE OF CONSTRAINTS SUM: In the following, σ denotes the sum of all three constraints, i.e., σ=G₀+I₀+G₁ . The block codes presented so far achieve σ=15. To find out the smallest σ achievable with a (9,8) block code, the maximum number of freely concatenatable 9-tuples, n max , was determined for all relevant constraints. The smallest σ achievable with an encoder for a (9,8) block code is only attained by (4,5,6) and (4,6,5). ENCODER/DECODER FOR (4,4,9) CODE: An encoder/decoder realization of the (4,4,9) block code was obtained by modifying the encoder/decoder logic associated with one block code given in U.S.Patent 4,707,681. The conditions for the selection of output codewords are given by equation (6) and the following two equations: (Y₁+Y₃+Y₅)·(Y₅+Y₇+Y₉)·(Y₂+Y₄+Y₆)·(Y₄+Y₆+Y₈)=1 , and either Y₁·Y₂·Y₃·Y₄·Y₅·Y₆+Y₅·Y₆·Y₇·Y₈·Y₉=0 , or Y₁·Y₂·Y₃·Y₄·Y₅+Y₄·Y₅·Y₆·Y₇·Y₈·Y₉=0 , where (6), (10) and (11a) are used to generate a list L₁ of 259 codewords and (6), (12) and (11b) another list L₂ of 259 codewords. Equations (6) and (10) ensure G₀=4 and I₀=4, whereas (11a) or (11b) guarantees G₁=9. Note that the codewords in L₂ can be simply obtained by reversing the codewords in L₁. The (4,4,9) block code presented here comprises 256 codewords and was arbitrarily chosen to be a subset of L₁. The 259 codewords in L₁ will be again illustrated as locations marked "▪" within a 16 × 32 array L₁ (4,4,9) shown in Fig.4. Tables 3 and 4 show encoder and decoder logic of the (4,4,9) code including an optional error detection flag F, which is raised when the decoder input is an illegal codeword. Note that the notation associated with the encoder/decoder partitions in U.S.Patent 4,707,681 has been adopted. The codeword assignments were chosen such that the logic realizations of the encoder and decoder are simple. The two encoder/decoder realizations presented above correspond to optimum (9,8) block codes, i.e., none of the constraints G₀, I₀ and G₁ can be decreased further without relaxing another one. FINITE-STATE ENCODERS: The block encoders discussed in the previous section break the information sequence into blocks and handle them independently. In the following, a further encoder will be described which is a finite-state machine, i.e. in this encoder the output is not only dependent on the present input but also depends on previous encoded inputs. This encoder allows an even better reduction in run-lengths. Decoders which are used with the finite-state encoder need not be finite-state machines but can be block decoders. ENCODER AND DECODER FOR (4,6,4) CODE: The encoder for the (4,6,4) code is a finite-state machine where the encoder state is defined as the last bit of the preceding codeword. Similar to the decoders discussed above, the decoder associated with the (4,6,4) code can be realized as a block decoder which maps every 9-bit block at its input into a block of 8 bits. The (4,6,4) code performs better than the block codes described above, i.e., it achieves G₀=4, G₁=4 and σ=14, and yet its encoder/decoder implementation is almost as simple as the ones for block codes. In the following, the (4,6,4) code and its encoder/decoder realization are described. A list L of 230 codewords is obtained by selecting all 9-tuples Y=(Y₁,Y₂,...,Y₉) ε B⁹ which satisfy (6),(7) and Y₁·Y₂·Y₃+Y₂·Y₃·Y₄·Y₅·Y₆+Y₃·Y₄·Y₅·Y₆·Y₇·+ Y₄·Y₅·Y₆·Y₇·Y₈+Y₇·Y₈·Y₉=0 . Conditions (6) and (7) ensure G₀=4 and I₀=6, whereas (12) guarantees G₁=4. The codewords in L do not begin with more than two 0's or 1's. However, if the last bit of the preceding codeword, henceforth denoted Z, is known, the next codeword may start with three or four 0's in the case Z=1 and three or four 1's in the case Z=0. There are 26 binary 9-tuples which begin with three or four 0's and do not violate (7), (12) and a modified version of (6) with (Y₁+Y₂+Y₃) replaced by (Y₁+Y₂+Y₃+Y₄+Y₅) to allow the codewords to begin with three or at most four 0's. Similarly, there are 35 binary 9-tuples which begin with three or four 1's and do not violate (6), (7) and a modified version of (12) with (Y₁·Y₂·Y₃) replaced by (Y₁·Y₂·Y₃·Y₄·Y₅) to allow the codewords to begin with three or at most four 1's. The 230 codewords in L, the 26 codewords following Z=1 and the 35 binary 9-tuples following Z=0 will be illustrated as specific locations marked "▪", "1" and "0", respectively, within the 16 × 32 array shown in Fig.5A, where the definition with respect to the correspondence between an array location and a 9-tuple in Fig.3A applies. The pattern of _'s in L (4,6,4) represents all 9-tuples which cannot be used as codewords. The space of 256 input bytes B⁸ is divided into 13 pairwise disjoint sets A k , k=1,2,...,9,a,b,c,d, where the subscript k is a hexadecimal number. The elements of the subsets A k , k=1,2,...,d, will be illustrated as specific locations marked "k" within the 16 × 16 array shown in Fig.5B where the definition with respect to the correspondence between an array location and an 8-tuple in Fig.3B applies. The 230 bytes in A(4,6,4) marked "k", k=1,2,...,9,a,b, are mapped independent of the encoder state Z into the 230 binary 9-tuples in L (4,6,4) marked "▪" where the images of A k , k=1,2,...,b, are D k , k=1,2,...,b. The remaining 26 bytes in A(4,6,4) marked "c" and "d" are mapped either into the 26 codewords in L (4,6,4) marked "1" if Z=1 or into 26 codewords chosen out of the 35 binary 9-tuples in L(4,6,4) marked "0". The elements of D k , k=1,2,...,b, are illustrated as locations marked "k" within the 16 × 32 array shown in Fig.5C, where the definition with respect to the correspondence between an array location and a 9-tuple in Fig.3C applies. The images of the 26 bytes in A k , k=c,d, depend on the encoder state Z and are specified by the locations marked "c" and "d" in the above array. The pattern of _'s in D (4,6,4) represent all 9-tuples which are not used as codewords and comprises the pattern of -'s in L (4,6,4) in addition to 35-26=9 unused 9-tuples marked by "0" in L(4,6,4). The (4,6,4) encoder/decoder structure is shown in Fig.6(6A and 6B). The encoder logic 19 has, besides the eight inputs for bits X₁,X₂,...,X₈ and the nine outputs for bits Y₁,Y₂,...,Y₉, one extra input Z which is connected through a delay element 21 to the bit output Y₉. The delay element represents a time delay corresponding to the period of the byte clock. Thus, an input bit block X may be converted to two different output codewords Y, depending on the last bit of the previous output codeword. The decoder need not to be a finite-state machine (sequential decoder). A normal block decoder 23 is sufficient which directly converts a codeword Y into an 8-bit block X. For the error detection logic 25, however, an extra input Z is required, receiving the last bit Y₉ of the previous codeword through a delay element 27. The encoder and decoder logic is shown in Tables 5 and 6, respectively. Logic gate arrays implementing these logic equations are contained in the encoder logic 19, the decoder logic 23, and the error detection logic 25, respectively, of Figs.6A and 6B. Intermediate variables V i , i=1,2,...,22, for the encoder and W i , i=1,2,...,17, for the decoder were used to reduce the number of logic gates. An optional error flag F, which is raised when the decoder input is an illegal codeword, is provided.

Claims: Method for encoding binary data being partitioned into blocks each having a first given number k of bits, into codewords each having a second given number n = k+ 1 of bits, said method comprising the steps of: receiving the binary data; producing sequences of fixed-length codewords, said sequences having no more than a first preselected number (G₀) of consecutive zeros therein; said sequences comprising two subsequences, one consisting only of odd bit positions, and another consisting only of even bit positions, each of said subsequences having no more than a second preselected number (l₀) of consecutive zeros therein; characterized in that codewords are selected such that the maximum number of consecutive ones which can occur in any codeword sequence does not exceed a third preselected number (G1) which is a minimum possible in connection with the given combination of first preselected number (G₀) and second preselected number (l₀). A method according to Claim 1, for encoding data from which by partitioning 8-bit data blocks were formed, into 9-bit codewords, comprising the steps of: selecting from the set of all possible 9-bit words Y=(Y₁,Y₂,...,Y₉)a full subset (L₁) of 263 potential codewords satisfying the logic conditions (Y₁+Y₂+Y₃)·(Y₂+Y₃+Y₄+Y₅+Y₆)·(Y₃+Y₄+Y₅+Y₆+Y₇)· (Y₄+Y₅+Y₆+Y₇+Y₈)·(Y₇+Y₈+Y₉)=1, (Y₁+Y₃+Y₅+Y₇)·(Y₃+Y₅+Y₇+Y₉)·(Y₂+Y₄+Y₆+Y₈)=1, and Y₁·Y₂·Y₃+Y₂·Y₃·Y₄·Y₅·Y₆·Y₇+Y₃·Y₄·Y₅·Y₆·Y₇·Y₈+ Y₆·Y₇·Y₈·Y₉=0 ; selecting from the full subset of potential codewords, a partial subset of 256 actual codewords; assigning to each one of the actual codewords of the partial subset, one of the 256 possible 8-bit data blocks; and for encoding, replacing each data block by the assigned codeword; such that for the resulting sequence of codewords, said first preselected number (G₀) is four, said second preselected number (I₀) is six, and said third preselected number (G₁) is five. A method according to Claim 1, for encoding data from which by partitioning 8-bit data blocks were formed, into 9-bit codewords, comprising the steps of: selecting from the set of all possible 9-bit words Y=(Y₁,Y₂,...,Y₉) a full subset (L₂) of 263 potential codewords satisfying the logic conditions (Y₁+Y₂+Y₃)·(Y₂+Y₃+Y₄+Y₅+Y₆)·(Y₃+Y₄+Y₅+Y₆+Y₇)· (Y₄+Y₅+Y₆+Y₇+Y₈)·(Y₇+Y₈+Y₉)=1, (Y₁+Y₃+Y₅+Y₇)·(Y₃+Y₅+Y₇+Y₉)·(Y₂+Y₄+Y₆+Y₈)=1 , and Y₁·Y₂·Y₃·Y₄+Y₂·Y₃·Y₄·Y₅·Y₆·Y₇+Y₃·Y₄·Y₅·Y₆·Y₇·Y₈+ Y₇·Y₈·Y₉=0 ; selecting from the full subset of potential codewords, a partial subset of 256 actual codewords; assigning to each one of the actual codewords of the partial subset, one of the 256 possible 8-bit data blocks; and for encoding, replacing each data block by the assigned codeword; such that for the resulting sequence of codewords, said first preselected number (G₀) is four, said second preselected number (I₀) is six, and said third preselected number (G₁) is five. A method according to Claim 1, for encoding data from which by partitioning 8-bit data blocks were formed, into 9-bit codewords, comprising the steps of: selecting from the set of all possible 9-bit words Y=(Y₁,Y₂,..., Y₉) a full subset (L₁) of 259 potential codewords satisfying the logic conditions (Y₁+Y₂+Y₃)·(Y₂+Y₃+Y₄+Y₅+Y₆)·(Y₃+Y₄+Y₅+Y₆+Y₇)· (Y₄+Y₅+Y₆+Y₇+Y₈)·(Y₇+Y₈+Y₉)=1, (Y₁+Y₃+Y₅)·(Y₅+Y₇+Y₉)·(Y₂+Y₄+Y₆)·(Y₄+Y₆+Y₈)=1 , and Y₁·Y₂·Y₃·Y₄·Y₅·Y₆+Y₅·Y₆·Y₇·Y₈·Y₉=0 ; selecting from the full subset of potential codewords, a partial subset of 256 actual codewords; assigning to each one of the actual codewords of the partial subset, one of the 256 possible 8-bit data blocks; and for encoding, replacing each data block by the assigned codeword; such that for the resulting sequence of codewords, said first preselected number (G₀) is four, said second preselected number (I₀) is four, and said third preselected number (G₁) is nine. A method according to Claim 1, for encoding data from which by partitioning 8-bit data blocks were formed, into 9-bit codewords, comprising the steps of: selecting from the set of all possible 9-bit word Y=(Y₁,Y₂,...,Y₉) a full subset (L₂) of 259 potential codewords satisfying the logic conditions (Y₁+Y₂+Y₃)·(Y₂+Y₃+Y₄+Y₅+Y₆)·(Y₃+Y₄+Y₅+Y₆+Y₇)· (Y₄+Y₅+Y₆+Y₇+Y₈)·(Y₇+Y₈+Y₉)=1, (Y₁+Y₃+Y₅)·(Y₅+Y₇+Y₉)·(Y₂+Y₄+Y₆)·(Y₄+Y₆+Y₈)=1 , and Y₁·Y₂·Y₃·Y₄·Y₅+Y₄·Y₅·Y₆·Y₇·Y₈·Y₉=0 ; selecting from the full subset of potential codewords, a partial subset of 256 actual codewords; assigning to each one of the actual codewords of the partial subset, one of the 256 possible 8-bit blocks; and for encoding, replacing each data block by the assigned codeword; such that for the resulting sequence of codewords, said first preselected number (G₀) is four, said second preselected number (I₀) is four, and said third preselected number (G₁) is nine. A method according to Claim 1, for encoding data from which by partitioning a sequence of 8-bit data block was formed, into a sequence of 9-bit codewords, comprising the steps of: selecting from the set of all possible 9-bit words Y=(Y₁,Y₂...,Y₉) a first full subset (L) of 230 actual codewords satisfying the logic conditions (Y₁+Y₂+Y₃)·(Y₂+Y₃+Y₄+Y₅+Y₆)·(Y₃+Y₄+Y₅+Y₆+Y₇)· (Y₄+Y₅+Y₆+Y₇+Y₈)·(Y₇+Y₈+Y₉)=1 , (Y₁+Y₃+Y₅+Y₇)·(Y₃+Y₅+Y₇+Y₉)·(Y₂+Y₄+Y₆+Y₈)=1 , and Y₁·Y₂·Y₃·+Y₂·Y₃·Y₄·Y₅·Y₆+Y₃·Y₄·Y₅·Y₆·Y₇+Y₄·Y₅·Y₆·Y₇·Y₈+ Y₇·Y₈·Y₉=0 ; a second subset (1) of 26 actual first conditional codewords with Y₁=Y₂=Y₃=0, satisfying the logic conditions (Y₄+Y₅)·(Y₄+Y₅+Y₆)·(Y₄+Y₅+Y₆+Y₇)· (Y₄+Y₅+Y₆+Y₇+Y₈)·(Y₇+Y₈+Y₉)=1 , (Y₅+Y₇)·(Y₅+Y₇+Y₉)·(Y₄+Y₆+Y₈)=1 , and Y₄·Y₅·Y₆·Y₇·Y₈+Y₇·Y₈·Y₉=0 ; a third subset (0) of 35 potential second conditional codewords with Y₁=Y₂=Y₃=1, satisfying the logic conditions (Y₄+Y₅+Y₆+Y₇+Y₈)·(Y₇+Y₈+Y₉)=1 , and Y₄·Y₅+Y₄·Y₅·Y₆+Y₄·Y₅·Y₆·Y₇+Y₄·Y₅·Y₆·Y₇·Y₈+Y₇·Y₈·Y₉=0 ; selecting from the third subset of potential second conditional codewords, a partial subset of 26 actual conditional codewords; assigning to each one of the actual codewords of the subsets, one of the 256 possible 8-bit data blocks, with 26 of said possible 8-bit data blocks each being assigned to one first conditional codeword and to one second conditional codeword; and for encoding, replacing each data block by the assigned codeword, the selection of the conditional codewords depending on the binary value of the last bit of the previously generated codeword; such that for the resulting sequence of codewords, said first preselected number (G₀) is four, said second preselected number (I₀) is six, and said third preselected number (G₁) is four. Apparatus for encoding binary data into codewords, said apparatus comprising: receiver means for receiving the binary data and for partitioning them into blocks each comprising a first given number k of bits: encoder means, coupled to the receiver means, for producing sequences of fixed-length codewords each comprising a second given number n = k+1 of bits; said sequences having no more than a first preselected number (G₀) of consecutive zeros therein; said sequences comprising two subsequences, one consisting only of odd bit positions, and another consisting only of even bit positions, each of said subsequences having no more than a second preselected number (l₀) of consecutive zeros therein; characterized by said sequences further having no more than a third preselected number (G₁) of consecutive ones therein; said third preselected number (G₁) having the minimum value possible in connection with the given combination of first preselected number (G₀) and second preselected number (l₀). Apparatus according to Claim 7, comprising an encoder for converting 8-bit input data blocks X=(X₁,X₂,...,X₈) into 9-bit output codewords Y=(Y₁,Y₂,...,Y₉), said encoder being a logic gate array implementing the logic relations Y₁=P₃· X ₁+P₄·X₈+P₉+S₁+S₆·X₁ Y₂=P₃· X ₃+P₄·X₅· X ₆+P₈+S₆·X₂+S₉·X₄ Y₃=P₁·X₃+P₇+S₇+S₈ Y₄=P₁·X₄+P₈·X₄+S₂+S₈ Y₅=P₁ Y₆=P₃+P₄+P₆+P₈·X₆+S₃·X₅ Y₇=P₂·X₆+P₃·(X₅+X₆· X ₈)+P₄· X ₄+S₃·X₆+S₅·X₅ Y₈=P₄·( X ₁· X ₃+ X ₂)+P₆·X₇· X ₈+ P₉·X₄+S₄·X₇+S₇· X ₅ Y₉=P₂· X ₅+P₃·X₈+P₄·X₁+P₆· X₅·X₇ +P₉+S₄·X₈ with such that in response to an arbitrary sequence of input data blocks, for the resulting sequence of output codewords said first preselected number (G₀) is four, said second preselected number (I₀) is six, and said third preselected number (G₁) is five. Apparatus according to Claim 7, comprising an encoder for converting 8-bit input data blocks X=(X₁,X₂,...,X₈) into 9-bit output codewords Y=(Y₁,Y₂,...Y₉), said encoder being a logic gate array implementing the logic relations Y₁=M₁·X₁+N₁·X₁+R₁+S₁·X₄+T₁+H Y₂=M₁·X₂+R₁+S₁+T₁+H Y₃=M₁·X₃+N₁·X₃+R₁+S₁· X ₄+T₁+H Y₄=M₁·X₄+N₁· X ₂+R₁· X ₄+S₁·( X ₅+S₂)+H Y₅=M Y₆=M₂·X₅+N₂· X ₇+R₂· X ₅+S₂·( X ₄+S₁) Y₇=M₂·X₆+N₂·X₆+R₂+S₂· X ₅+T₂+H·X₃ Y₈=M₂·X₇+R₂+S₂+T₂ Y₉=M₂·X₈+N₂·X₈+R₂+S₂·X₅+T₂+H·X₁ with such that in response to an arbitrary sequence of input data blocks, for the resulting sequence of output codewords said first preselected number (G₀) is four, said second preselected number (I₀) is four, and said third preselected number (G₁) is nine. Apparatus according to Claim 7, comprising an encoder for converting a sequence of 8-bit input data blocks X=(X₁,X₂,...,X₈) into 9-bit output codewords Y=(Y₁,Y₂,...,Y₉) said encoder being a sequential encoder (Fig.6A) having nine outputs for furnishing the nine bits of each output codeword; and having nine inputs, eight of them being connected to receive the eight bits of an input data block, and the nineth input (Z) being connected to the nineth output through a delay element (21); said encoder comprising a logic gate array implementing the logic relations Y₁=S₂·X₁+P₄·X₄+P₅·(X₁+ X ₃)+P₆·X₈+P₇· X ₁+S₅·X₅+P₁₀·X₃+S₆· Z Y₂=S₂·X₂+P₅·X₂+P₆· X ₆+P₇· X ₃+S₅·V₂₁+P₁₀·X₄+S₆· Z Y₃=S₂·X₃+P₄+P₅·V₁₂+P₆·X₆+P₇+P₉· V ₂₂+P₁₀· X ₃+P₁₁· X ₅+S₆· Z Y₄=S₂·X₄+P₄+P₅· X ₄+P₆·X₅+P₁₀+P₁₁·V₂₂+P₁₂·X₄+P₁₃·Z Y₅=P₁+P₁₂·Z+P₁₃· Z Y₆=S₃·X₅+P₃+P₅+P₇· X ₆+P₉+P₁₃·X₄ Y₇=S₃·X₆+S₈+P₆+S₅+P₁₃ Y₈=S₄·X₇+P₅·X₅+S₅+S₇+P₁₀·X₅ Y₉=S₄·X₈+S₈·X₅+P₅+P₇· X ₈+P₁₀· X ₆ with and such that in response to an arbitrary sequence of input data blocks, for the resulting sequence of output codewords said first preselected number (G₀) is four, said second preselected number (I₀) is six, and said third preselected number (G₁) is four. Decoder apparatus for converting 9-bit input codewords Y=(Y₁,Y₂...,Y₉) generated by encoder apparatus according to Claim 8, into 8-bit output data blocks X=(X₁,X₂...,X₈), said decoder apparatus comprising a logic gate array implementing the logic relations X₁=Q₃· Y ₁+Q₄·Y₉+T₁·Y₁+T₂ X₂=Q₄· Y₈·Y₉ +T₁·Y₂+T₂ X₃=Q₁·Y₃+Q₂+Q₃· Y ₂+Q₄·W₇+T₂ X₄=Q₁·Y₄+Q₂+Q₄· Y ₇+Q₈·Y₄+Q₉·Y₈+T₆·Y₂ X₅=Q₂·(Y₇+ Y ₉)+Q₃·(W₈+W₉)+Q₄·(Y₁+Y₂)+T₃·Y₆+T₅·Y₇ X₆=(Q₂+T₃)·Y₇+Q₃· Y ₈+Q₄·Y₁+Q₆·W₇+Q₈·Y₆+Q₉·Y₇ X₇=Q₂·W₈+Q₃·W₉+Q₄·Y₁+Q₆·(Y₈+W₇)+Q₉·Y₇+T₄·Y₈ X₈=Q₂·W₉+(Q₃+T₄)·Y₉+Q₄·Y₁+Q₆·W₇+Q₉·Y₇ with Decoder apparatus for converting 9-bit input codewords Y=(Y₁,Y₂...,Y₉) generated by encoder apparatus according to Claim 9, into 8-bit output data blocks X=(X₁,X₂,...,X₈), said decoder apparatus comprising a logic gate array implementing the logic relations X₁=M₁·Y₁+N₁·Y₁+T₁+H·Y₉ X₂=M₁·Y₂+N₁· Y ₄+R₁+T₁ X₃=M₁·Y₃+N₁·Y₃+T₁+H·Y₇ X₄=M₁·Y₄+R₁· Y ₄+T₁+S₁· Y ₃ X₅=M₂·Y₆+R₂· Y ₆+T₂+S₂· Y ₇+H X₆=M₂·Y₇+N₂·Y₇+T₂+H X₇=M₂·Y₈+N₂· Y ₆+R₂+T₂+H X₈=M₂·Y₉+N₂·Y₉+T₂+H with Decoder apparatus for converting 9-bit input codewords Y=(Y₁,Y₂...,Y₉) generated by encoder apparatus according to Claim 10, into 8-bit output data blocks X=(X₁,X₂...,X₈), said decoder apparatus comprising a logic gate array implementing the logic relations X₁=T₃·Y₁+T₄+Q₅·Y₁·W₁₁+Q₇· Y ₁+Q₉ X₂=(T₃+Q₅)·Y₂+T₄ X₃=T₃·Y₃+T₄+Q₅·W₁₁+Q₇· Y ₂+Q₉+ W ₅+Q₁₀·Y₁ X₄=(T₃+Q₁₂)·Y₄+Q₄·Y₁+Q₅· Y ₄+Q₉·W₉+Q₁₀·Y₂+Q₁₁·Y₂·Y₄+Q₁₃·Y₆ X₅=T₅·Y₆+T₂·Y₉+T₇·Y₈+Q₆·Y₄+T₆·Y₁+Q₁₃ X₆=T₅·Y₇+T₈+Q₆·Y₃+Q₇· Y ₆+Q₁₀· Y ₉+Q₁₃ X₇=T₉·Y₈+T₈+Q₁₀· Y ₉ X₈=T₉·Y₉+T₈+Q₆·Y₁+Q₇· Y ₉ with

Inventors: CIDECIYAN ROY DARON DR, DOLIVO FRANCOIS BERNARD DR, CIDECIYAN, ROY DARON, DR., DOLIVO, FRANCOIS BERNARD, DR., Dolivo, François Bernard, Dr.
Applicants: IBM, INTERNATIONAL BUSINESS MACHINES CORPORATION
Application year: 1989
Main classification: H03M5
IPC codes: G11B20, H03M7, H04L7, H03M5