USPatent applicationPatented

Systems using low density parity check codes for correcting errors

Granted 26 Jun 2012 · 2 office actions

Life of the application

16 dated events
⤢ drag to zoom20082010201220142016201820202022202420262028ProsecutionOwnershipTerm & fees
ProsecutionOwnershipTerm & feeshover for detail · click to open

Abstract

A system corrects errors in a bit stream. The system includes an encoder and a decoder. The encoder encodes the bit stream using a low density parity check code by inserting parity check bits into the bit stream to generate codewords. The decoder decodes the codewords using parity check equations that are based on the low density parity check code. The parity check bits may comprise no more than four percent of the bits in the codewords of the low density parity check code. The low density parity check code can have a minimum separation of at least 7 between any two ones in each row of a parity-check matrix that is based on the low density parity check code. The encoder and the decoder can be defined in hardware using logic circuits that are interconnected to implement a trellis based on the low density parity check code.

Description

10 parts
›BACKGROUND OF THE INVENTION

The present invention relates to systems for correcting errors in a bit stream, and more particularly, to systems that use low density parity check codes for correcting errors.

A low density parity check (LDPC) code is a linear error-correcting code that has a parity-check matrix with a small number of nonzero elements in each row and column. LDPC codewords can be decoded using iterative soft-decision decoding. LDPC codes can be defined over any finite field. For example, an LDPC code can be defined over the Galois Field GF(2), in which 1 is the only nonzero element.

›BRIEF SUMMARY OF THE INVENTION

A system corrects errors in a bit stream. The system includes an encoder and a decoder. The encoder encodes the bit stream using a low density parity check code by inserting parity check bits into the bit stream to generate codewords. The decoder decodes the codewords using parity check equations that are based on the low density parity check code. In some embodiments, the parity check bits comprise no more than four percent of the bits in the codewords of the low density parity check code.

In other embodiments, the low density parity check code has a minimum separation of at least 7 between any two ones in each row of the parity-check matrix to reduce inter-symbol interference between bits checked by the same parity check equation. In still other embodiments, the encoder and the decoder are defined in hardware using logic circuits. The logic circuits are interconnected to implement a trellis that is based on the low density parity check code. The present invention includes methods and systems for performing the various embodiments described herein.

Various objects, features, and advantages of the present invention will become apparent upon consideration of the following detailed description and the accompanying drawings.

›BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates a β matrix generated from a pseudo random number sequence that can be used to generate an LDPC code, according to an embodiment of the present invention.

FIG. 2A illustrates how an LDPC code enforces a minimum separation between any two bits in a row of the parity-check matrix, according to an embodiment of the present invention.

FIG. 2B illustrates an example of two parity check equations in an LDPC code that contains a four cycle.

FIG. 2C illustrates an example of two parity check equations in an LDPC code that contain a pseudo four cycle.

FIG. 2D illustrates an example of two parity check equations in an LDPC code that contain a type 1 proximity four cycle.

FIG. 2E illustrates an example of two parity check equations in an LDPC code that contain a type 2 proximity four cycle.

FIG. 3 is a trellis diagram that defines the LDPC code described above with respect to FIG. 1 , according to an embodiment of the present invention.

FIG. 4 illustrates a portion of a hardware LDPC encoder, according to an embodiment of the present invention.

FIG. 5 illustrates a portion of a message passing hardware LDPC decoder, according to an embodiment of the present invention.

›DETAILED DESCRIPTION OF THE INVENTION · 1 of 7

Most applications for binary low density parity check (LDPC) codes are in the wired, wireless, and terrestrial communications areas. The data channels used in these systems do not have problems with inter-symbol interference (ISI). In addition, the data channels in these systems do not have a requirement for a very high rate of coding. On the other hand, the data stored on a magnetic disk in a magnetic hard disk drive tends to suffer from ISI. In addition, the properties of a magnetic recording system degrade rapidly as linear density is increased. Magnetic hard disk drives are required to have a large storage density. Codes having a high code rate are needed in order to achieve a large net data storage density in a hard disk drive without increasing the linear density excessively to accommodate redundant parity information introduced by a low rate code.

According to some embodiments of the present invention, binary LDPC codes are provided that have a very high code rate and a very low number of redundant bits in each codeword. Each codeword includes data bits and redundant bits. According to a particular embodiment of the present invention, a binary LDPC code can generate codewords in which 4% or less of the bits in the codewords are redundant bits (e.g., parity bits) added by the LDPC code.

The LDPC codes can be highly structured and can be defined in hardware that does not have a high degree of complexity. The LDPC codes can have a low complexity encoder and message passing implementation. An LDPC code of the present invention has a parity-check matrix with column weight of 1.

The 1s in the rows of the parity-check matrix of an LDPC code can have a guaranteed minimum separation (S MIN ) constraint to achieve a high level of performance with ISI. The minimum separation S MIN refers to the minimum number of bits between the ones in each row of the parity-check matrix. The LDPC codes can have no 4-cycles (e.g., a girth>=6) for good performance. The LDPC codes can have a small number of pseudo 4-cycles for good performance with ISI. The LDPC codes can support a dynamic length for use with various sector formats. The LDPC code can also support intelligent parity placement to avoid degrading the modulation constraints of the data stream.

Some embodiments of the present invention include LDPC codes that provide many significant advantages when used to encode and decode data stored on data storage devices, such as magnetic hard disk drives. One example of such an LDPC code can be generated using the following pseudo random number sequence {0, 2, 17, 18, 23, 10, 3, 12, 1, 15, 22, 5, 21, 6, 14, 11, 9, 19, 13, 8, 7, 20, 16, 4, repeat}. This pseudo random number sequence is used to form the β matrix shown in FIG. 1 . Thus, FIG. 1 illustrates a β matrix generated using the pseudo random number sequence {0, 2, 17, 18, 23, 10, 3, 12, 1, 15, 22, 5, 21, 6, 14, 11, 9, 19, 13, 8, 7, 20, 16, 4, repeat}, according to an embodiment of the present invention.

The β matrix of FIG. 1 includes 24 rows numbered 0 through 23, and 24 columns numbered 0 through 23. Each square that has an X in the matrix of FIG. 1 represents a 1 in that particular row and column. Each square that does not have an X in the matrix of FIG. 1 represents a 0 in that particular row and column. The pattern of ones in the β matrix of FIG. 1 is formed using the pseudo random sequence {0, 2, 17, 18, 23, 10, 3, 12, 1, 15, 22, 5, 21, 6, 14, 11, 9, 19, 13, 8, 7, 20, 16, 4, repeat}. For example, a 1 is located in row 0 /column 2 , a 1 is located in row 2 /column 17 , a 1 is located in row 17 /column 18 , a 1 is located in row 18 /column 23 , etc. The β matrix of FIG. 1 has a single 1 in each row and in each column. Thus, the matrix of FIG. 1 has a row weight of 1 and a column weight of 1.

The parity-check matrix of an LDPC code is generated by concatenating 26 successive powers of the matrix of FIG. 1 , such that the LDPC code={β 0 , β 1 , β 2 , β 3 , β 4 , β 5 , β 6 , β 7 , β 8 , β 9 , β 10 , β 11 , β 12 , β 13 , β 14 , β 15 , β 16 , β 14 , β 15 , β 16 , β 17 , β 18 , β 19 , β 20 , β 21 , β 22 , β 23 , β 24 , β 25 }, where β is the matrix of FIG. 1 . Each power of the β matrix of FIG. 1 is a matrix of the same dimension that has a row weight of 1 and a column weight of 1 (i.e., it is a permutation matrix). The powers of the β matrix are generated by multiplying the β matrix of FIG. 1 by itself 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, and 25 number of times using matrix multiplication to generate 26 matrices. These 26 matrices are concatenated together. The resulting concatenation of the 26 matrices {β 0 , β 1 , β 2 , . . . , β 25 } has 24 rows and 624 columns. The resulting concatenation of the 26 matrices {β 0 , β 1 , β 2 , . . . , β 25 } is used as the parity-check matrix of an LDPC code having 24 parity check equations. Each of the parity check equations checks the parity of 24 bits.

According to some embodiments, the LDPC code is designed so that any two bits involved in a check in each parity check equation are separated by a minimum separation (S MIN ). The minimum separation is a unique requirement for ISI systems, such as hard disk drives. FIG. 2A illustrates how an LDPC code enforces a minimum separation between any two 1s in a row of the parity-check matrix, according to an embodiment of the present invention. Box 201 in FIG. 2A represents a codeword that is checked by a parity check equation in an LDPC code. The parity check equation performs an error correction function on codeword 201 . Although one parity check equation is described with respect to FIG. 2A , typically an LDPC code contains several parity check equations.

The circles in codeword 201 represent bits in codeword 201 that are checked by the parity check equation to determine if the checked bits have an even parity. Typically, there are bits between the bits represented by the circles. Bits that are not represented by one of the circles are not checked by the parity check equation. For example, one parity check equation may check the parity of 24 bits in a codeword that has thousands of bits. In the example of FIG. 2A , each bit in codeword 201 is checked by one and only one parity check equation in the LDPC code. Thus, the column weight of each column in the LDPC code is 1 in the example of FIG. 2A .

›DETAILED DESCRIPTION OF THE INVENTION · 2 of 7

S MIN is the minimum separation. The minimum separation S MIN is the minimum number of bits that can separate any two bits that are checked by a single parity check equation. Bits that are not checked by a parity check equation are counted in determining the minimum separation between two bits that are checked by that parity check equation. The minimum separation S MIN also refers to the number of bits that can separate any two 1s in each row of the parity-check matrix of an LDPC code.

For example, if any two bits checked by the parity check equation are separated by at least 7 bits, then the parity check equation provides a minimum separation of 7. According to some embodiments of the present invention, the bits that are checked by each parity check equation in an LDPC code are separated by at least a minimum separation S MIN (e.g., S MIN =7). The minimum separation helps to minimize the amount of inter-symbol interference (ISI) between bits that are checked by parity check equations in the LDPC code. The LDPC code described above with respect to FIG. 1 can provide a minimum separation S MIN =7 between bits that are checked by each parity check equation in the LDPC code.

FIG. 2B illustrates an example of two parity check equations in an LDPC code that contains a four cycle. Boxes 202 A- 202 B in FIG. 2B represent a codeword. Codeword 202 is checked by a first parity check equation in an LDPC code in box 202 A, and codeword 202 is checked by a second parity check equation in the LDPC code in box 202 B. The two parity check equations in the LDPC code perform an error correction function on numerous codewords that are stored in a data storage device, such as a magnetic hard disk drive. The circles in boxes 202 A- 202 B represent bits in codeword 202 that are checked by the two parity check equations to determine if the checked bits have an even parity. An LDPC code typically contains numerous parity check equations, although only two are described with respect to FIG. 2B .

In the example of FIG. 2B , each bit in a codeword is checked by exactly two parity check equations in the LDPC code. Thus, the column weight of each column in the parity-check matrix of the LDPC code is at least two in the example of FIG. 2B . FIG. 2B provides an illustration of a four cycle in two parity check equations. A four cycle occurs when two parity check equations in an LDPC code both check the same two bits in a codeword (e.g., bits 203 - 204 in codeword 202 ). A four cycle can cause an undesirable feedback loop between the two parity check equations, as shown by the arrows in FIG. 2B .

In FIG. 2B , bit 203 in codeword 202 is checked by a first parity check equation in box 202 A, and bit 203 is checked by a second parity check equation in box 202 B. In addition, bit 204 is checked by the first parity check equation in box 202 A, and bit 204 is checked by the second parity check equation in box 202 B. Because the two bits 203 - 204 are both checked by the same two parity check equations in the LDPC code, a four cycle occurs in FIG. 2B .

According to an embodiment of the present invention, any two parity check equations in an LDPC code do not contain a four cycle. The LDPC code described above with respect to FIG. 1 does not contain any four cycles. Thus, any two parity check equations in the LDPC code having the parity-check matrix {β 0 , β 1 , β 2 , . . . , β 25 } as described with respect to FIG. 1 do not check the same two bits in a particular codeword. The LDPC code corresponding to FIG. 1 has a parity-check matrix with a column-weight of 1. Therefore, the LDPC code cannot have 4 cycles by definition.

FIG. 2C illustrates an example of two parity check equations in an LDPC code that contain a pseudo four cycle. Boxes 205 A and 205 B in FIG. 2C represent a codeword 205 that is checked by two parity check equations. Codeword 205 is checked by a first parity check equation in an LDPC code in box 205 A, and codeword 205 is checked by a second parity check equation in the LDPC code in box 205 B. The two parity check equations in the LDPC code perform an error correction function on numerous codewords that are stored in the data storage device. The circles in boxes 205 A- 205 B represent bits in codeword 205 that are checked by 2 parity check equations to determine if the checked bits have an even parity. The circles in FIG. 2C correspond to the presence of a one in the parity-check matrix.

FIG. 2C provides an illustration of a pseudo four cycle in two parity check equations. A pseudo four cycle occurs when two parity check equations in an LDPC code check two sets of bits, where the bits in each set are separated by one bit location in a codeword. A pseudo four cycle can cause an undesirable feedback loop between the two parity check equations in systems that contain ISI, as shown by the arrows in FIG. 2C .

Bit 206 in codeword 205 is checked by a first parity check equation, and bit 207 in codeword 205 is checked by a second parity check equation. Bit 208 in codeword 205 is checked by the first parity check equation, and bit 209 in codeword 205 is checked by the second parity check equation. Bits 206 and 207 are separated by only one bit location in codeword 205 , and bits 208 and 209 are separated by only one bit location in codeword 205 . Therefore, the first and the second parity check equations performed in boxes 205 A and 205 B contain a pseudo four cycle.

According to an embodiment of the present invention, the parity check equations in an LDPC code contain a small number of pseudo four cycles. For example, the LDPC code having the parity-check matrix {β 0 , β 1 , β 2 , . . . , β 25 } as described above with respect to FIG. 1 contains 508 pseudo four cycles.

FIG. 2D illustrates an example of two parity check equations in an LDPC code that contain a type 1 proximity four cycle. Boxes 210 A and 210 B in FIG. 2D represent a codeword 210 that is checked by two parity check equations. Codeword 210 is checked by a first parity check equation in an LDPC code in box 210 A, and codeword 210 is checked by a second parity check equation in the LDPC code in box 210 B. The two parity check equations in the LDPC code perform an error correction function on numerous codewords that are stored in a data storage device. The circles in boxes 210 A- 210 B represent bits in codeword 210 that are checked by 2 parity check equations to determine if the checked bits have an even parity. The circles in FIG. 2D correspond to the presence of a 1 in the parity-check matrix.

›DETAILED DESCRIPTION OF THE INVENTION · 3 of 7

The squares 211 - 216 in FIG. 2D represent bits in a codeword that may or may not be checked by a parity-check equation to determine if they have even parity. At least one of the bits 211 - 213 corresponds to a 1 in the parity-check matrix, and at least one of the bits 214 - 216 corresponds to a 1 in the parity-check matrix. At least one of bits 211 - 213 is checked by the second parity check equation in box 210 B, and at least one of bits 214 - 216 is checked by the first parity check equation in box 210 A.

FIG. 2D provides an illustration of a type 1 proximity four cycle in two parity check equations. A type 1 proximity four cycle occurs when two parity check equations in an LDPC code check two sets of bits, where two bits in each set are separated by up to one bit location in a codeword. A type 1 proximity four cycle can cause an undesirable feedback loop between the two parity check equations in systems that contain ISI, as shown by the arrows in FIG. 2D .

Bit 212 in codeword 210 is checked by a first parity check equation. One or more of bits 211 - 213 in codeword 210 are checked by a second parity check equation. Bit 215 in codeword 210 is checked by the second parity check equation. One or more of bits 214 - 216 in codeword 210 are checked by the first parity check equation. Bits 211 and 212 are separated by one bit location, bits 212 and 213 are separated by one bit location, bits 214 and 215 are separated by one bit location, and bits 215 and 216 are separated by one bit location. As a result, the first and the second parity check equations performed in boxes 210 A and 210 B contain a type 1 proximity four cycle.

According to an embodiment of the present invention, the parity check equations in an LDPC code contain a small number of type 1 proximity four cycles. For example, the LDPC code having the parity-check matrix {β 0 , β 1 , β 2 , . . . , β 25 } as described above with respect to FIG. 1 contains 508 type 1 proximity four cycles.

FIG. 2E illustrates an example of two parity check equations in an LDPC code that contain a type 2 proximity four cycle. Boxes 220 A and 220 B in FIG. 2E represent a codeword 220 that is checked by two parity check equations. Codeword 220 is checked by a first parity check equation in an LDPC code in box 220 A, and codeword 220 is checked by a second parity check equation in the LDPC code in box 220 B. The two parity check equations in the LDPC code perform an error correction function on numerous codewords that are stored in a data storage device. The circles in boxes 220 A- 220 B represent bits in codeword 220 that are checked by 2 parity check equations to determine if the checked bits have an even parity. The circles in FIG. 2E correspond to the presence of a 1 in the parity-check matrix.

The squares 221 - 230 in FIG. 2E represent bits in a codeword that may or may not be checked by a parity-check equation to determine if they have even parity. At least one of the bits 221 - 225 corresponds to a 1 in the parity-check matrix, and at least one of the bits 226 - 230 corresponds to a 1 in the parity-check matrix. At least one of bits 221 - 225 is checked by the second parity-check equation in box 220 B, and at least one of bits 226 - 230 is checked by the first parity check equation in box 220 A.

FIG. 2E provides an illustration of a type 2 proximity four cycle in two parity check equations. A type 2 proximity four cycle occurs when two parity check equations in an LDPC code check two sets of bits, where two bits in each of the sets are separated by up to two bit locations in a codeword. A type 2 proximity four cycle can cause an undesirable feedback loop between the two parity check equations in systems that contain ISI, as shown by the arrows in FIG. 2E .

Bit 223 in codeword 220 is checked by the first parity check equation (box 220 A). One or more of bits 221 - 225 in codeword 220 are checked by the second parity check equation (box 220 B). Bit 228 in codeword 220 is checked by the second parity check equation (box 220 B). One or more of bits 226 - 230 in codeword 220 are checked by the first parity check equation (box 220 A). Bits 221 - 225 are located in 5 adjacent bit locations in codeword 220 . Bits 226 - 230 are located in 5 adjacent bit locations in codeword 220 . As a result, the first and the second parity check equations performed in boxes 220 A and 220 B contain a type 2 proximity four cycle.

According to an embodiment of the present invention, the parity check equations in an LDPC code contain a small number of type 2 proximity four cycles. For example, the LDPC code having the parity-check matrix {β 0 , β 1 , β 2 , . . . , β 25 } as described with respect to FIG. 1 contains 2370 type 2 proximity four cycles.

FIG. 3 is a trellis diagram that defines the LDPC code described above with respect to FIG. 1 , according to an embodiment of the present invention. The trellis diagram of FIG. 3 defines the LDPC code {β 0 , β 1 , β 2 , . . . , β 25 }, where β is the matrix shown in FIG. 1 . The 24 states (i.e., state 0 through state 23), which are represented by 24 rows of circles in FIG. 3 , correspond to 24 parity check equations in the LDPC code. Each of the circles represents a memory element (e.g., a register or latch). The memory elements store state metric information. The state metric information stored in each memory element is transferred to a subsequent memory element in a subsequent clock cycle through hookup connections that are illustrated by the lines connecting the circles in FIG. 3 .

The state metric information stored in the memory elements represented by the circles in the trellis diagram of FIG. 3 is passed from left to right through 12 columns of memory elements along the connections shown by the lines. Each set of connections that connects two adjacent columns of memory elements is referred to as an index in FIG. 3 . 12 indexes numbered 0-11 are present in the trellis diagram of FIG. 3 . The state metric information is transmitted from one column of memory elements to a subsequent column of memory elements in two clock cycles. The rightmost column of memory elements and the leftmost column of memory elements in FIG. 3 are the same memory elements. The state metric information is passed through all 12 columns of memory elements 25 times to complete the LDPC code. The Xs in the first two rows of memory elements in FIG. 3 indicate that the information entering the top two states are the only places of data modification.

›DETAILED DESCRIPTION OF THE INVENTION · 4 of 7

According to an embodiment of the present invention, an LDPC code supports intelligent parity placement to avoid degrading the modulation constraints of the bit stream. Parity placement that does not degrade the modulation constraints is especially important in a reverse concatenation encoder that performs modulation encoding before the LDPC encoding. The parity placement can be designed so that the parity check bits are separated by enough of the non-parity bits to avoid degrading the modulation constraints of the combined bit stream.

For example, the LDPC code can generate 24 parity check bits for each codeword, one parity check bit for each parity check equation. The 24 parity check bits can be divided into 12 groups of two bits. The 12 groups of two parity check bits are placed among the non-parity bits so that each 2-bit group of parity check bits is separated by at least 22 of the non-parity bits. Thus, only 2 unmodulated parity check bits are inserted into the bit stream next to each other. As a more specific example, if a bit stream includes a codeword that is formed by 24 vectors of length 24 each, and the bits in each vector are numbered 0 through 23, 2 parity check bits generated by the LDPC code are inserted into each vector at bit locations 4 and 5 . These examples are provided for the purpose of illustration and are not intended to limit the scope of the present invention.

According to some embodiments of the present invention, LDPC codes can support a dynamic length for use with various sector formats. For example, a data storage device can have dynamic LDPC codes that encode blocks having 560 bits, 580 bits, or 600 bits. The LDPC code adds 24 parity check bits to each block to generate codewords having a total of 584, 604, or 624 bits. Thus, some embodiments of the present invention include LDPC codes that provide a high code rate, e.g., 560/584, 580/604, or 600/624. 584=(20×28) data bits+24 parity bits. 604=(20×29) data bits+24 parity bits. 624=(20×30) data bits+24 parity bits.

According to some embodiments of the present invention, an LDPC code encoder can be defined in a hardware implementation that is not overly complex. FIG. 4 illustrates a portion of a hardware LDPC encoder, according to an embodiment of the present invention. Hardware LDPC encoder portion 400 includes a multiplexer 401 , an AND logic gate 402 , an XOR (exclusive OR) logic gate 403 , a latch 404 , a multiplexer 405 , a latch 406 , and inverter 408 . LDPC encoder portion 400 is repeated 24 times in 24 instantiations (i=0, 1, 2, 3, . . . 23) of encoder portion 400 to form a complete LDPC encoder that implements the trellis diagram shown in FIG. 3 and the concatenated matrix {β 0 , β 1 , β 2 , . . . , β 25 }, where β is the matrix shown in FIG. 1 . The encoder shown and described with respect to FIG. 4 is for LDPC codes having a column weight of 1.

The 0 input terminal of multiplexer 405 is coupled to receive the output signal of latch 406 . The 1 input terminal of multiplexer 405 is coupled to receive signal S Z(i) . The 1 input terminal of multiplexer 401 is coupled to receive signal S Y(i) . The 0 input terminal of multiplexer 401 is coupled to receive the signal S X(i) . The values of the signals S X(i) , S Y(i) , and S Z(i) are stored at the output terminal of latch 404 .

BLK_CNT is a block count signal that is generated by a counter circuit. The counter circuit increases the BLK_CNT count signal from 0 to M in increments of 2. M is a number that depends on the number of bits in each LDPC codeword. For example, M can be 582, 602, or 622.

The BLK_CNT count signal controls multiplexer 405 . When the BLK_CNT count signal equals 0, a logic high state is transmitted to the select input terminal of multiplexer 405 and to inverter 408 . The logic high state at the select input terminal of multiplexer 405 causes multiplexer 405 to transmit the S Z(i) signal at its 1 input terminal to the input terminal of latch 406 . Inverter 408 inverts the logic high signal and transmits a logic low signal to the first input terminal of AND gate 402 . When the BLK_CNT count signal does not equal 0, a logic low state is transmitted to the select input terminal of multiplexer 405 and to inverter 408 . The logic low state at the select input terminal of multiplexer 405 causes multiplexer 405 to transmit the output signal of latch 406 to the input terminal of latch 406 . Inverter 408 inverts the logic low signal and transmits a logic high signal to the first input terminal of AND gate 402 .

BLK_CNT mod 24 =0 controls multiplexer 401 . In the equation BLK_CNT mod 24 =0, “mod” refers to the modulo operation. BLK_CNT mod 24 equals 0 when BLK_CNT equals 0, 24, 48, 72, etc. BLK_CNT increases by 2 in each cycle.

When BLK_CNT mod 24 =0, a logic high state is transmitted to the select input terminal of multiplexer 401 . The logic high state at the select input terminal of multiplexer 401 causes multiplexer 401 to transmit the S Y(i) signal from its 1 input terminal to the second input terminal of AND gate 402 . When BLK_CNT mod 24 does not equal 0, a logic low state is transmitted to the select input terminal of multiplexer 401 . A logic low state at the select input terminal of multiplexer 401 causes multiplexer 401 to transmit the S X(i) signal from its 0 input terminal to the second input terminal of AND gate 402 .

Multiplexer 401 selects values for S X(i) and S Y(i) that implement the connections shown below index 0 in FIG. 3 during 2 out of every 24 clock cycles. Multiplexer 401 selects values for S X(i) and S Y(i) that implement the connections shown below indexes 1 - 11 in FIG. 3 during the remaining 22 clock cycles.

Only the first two instantiations of encoder portion 400 (i=0, 1) have XOR gate 403 . XOR gate 403 receives a new input data bit (input data k+1 ) in the first two instantiations of encoder portion 400 . In the remaining instantiations (i=2, 3, . . . 23) of encoder portion 400 , the output terminal of AND gate 402 is coupled to the input terminal of latch 404 .

›DETAILED DESCRIPTION OF THE INVENTION · 5 of 7

The output signal S i of latch 404 is the state metric for the current LDPC codeword. The state metric S i represents intermediate results of the parity check bits. The value of the state metric S i is transmitted to multiplexers 401 and 405 as the S X(i) , S Y(i) , and S Z(i) signals in various instantiations of encoder portion 400 .

The output state metric S i of latch 404 in the i th instantiation of encoder portion 400 is transmitted to the 0 input terminal of multiplexer 401 as the S X(i) signal in the instantiation of encoder portion 400 that is identified in the i th row of the X(i) column of the hookup table for the write encoder logic, which is shown in Table 1 below. The output state metric S i of latch 404 in the i th instantiation of encoder portion 400 is transmitted to the 1 input terminal of multiplexer 401 as the S Y(i) signal in the instantiation of encoder portion 400 that is identified in the i th row of the Y(i) column of the hookup table shown in Table 1 below. The output state metric S i of latch 404 in the i th instantiation of encoder portion 400 is transmitted to the 1 input terminal of multiplexer 405 as the S Z(i) signal in the instantiation of encoder portion 400 that is identified in the i th row of the appropriate Z(i) column of the hookup table shown in Table 1 below.

For example, the output state metric S i generated at the output terminal of latch 404 in the first instantiation (i=0) of encoder portion 400 is transmitted to the 0 input terminal of multiplexer 401 in the third instantiation (i=2) of encoder portion 400 as signal S X(i) as shown in Table 1. The output state metric S i generated at the output terminal of latch 404 in the first instantiation (i=0) of encoder portion 400 is also transmitted to the 1 input terminal of multiplexer 401 in the seventh instantiation (i=6) of encoder portion 400 as signal S Y(i) as shown in Table 1. The output state metric S i generated at the output terminal of latch 404 in the first instantiation (i=0) of encoder portion 400 is also transmitted to the 1 input terminal of multiplexer 405 in the 24 th instantiation (i=23) of encoder portion 400 as signal S Z(i) as shown in Table 1 for LDPC codewords having 584 or 624 bits.

Table 1 shows the hookup table for the write encoder logic, where parameter i refers to the i th instantiation of LDPC encoder portion 400 . The values for X(i), Y(i), and Z(i) shown in Table 1 are based on the connections between the memory elements in the trellis diagram of FIG. 3 .

Three different values for Z(i) are listed in Table 1 for each instantiation of encoder portion 400 . A particular LDPC encoder uses one of the three different values of Z(i) depending on how many bits are in each LDPC codeword, 584, 604, or 624.

The output signal P i of latch 406 is the saved parity result from the last LDPC codeword in sequential order of insertion, i=0, 1, 2, . . . 23. The saved parity results P i from the 24 instantiations of encoder portion 400 are the 24 parity check bits that are inserted into the bit stream to form the LDPC codewords and used by a decoder to perform error correction of bits in the LDPC codewords.

FIG. 5 illustrates a portion of a message passing hardware LDPC decoder, according to an embodiment of the present invention. LDPC codes are often decoded using an iterative message-passing decoding algorithm. Message passing LDPC decoder portion 500 in FIG. 5 implements an iterative message passing decoding algorithm for the LDPC code used in the encoder of FIG. 4 , which is based on the parity-check matrix {β 0 , β 1 , β 2 , . . . , β 25 } described with respect to FIG. 1 . Message passing LDPC decoder portion 500 includes a check-to-bit portion 510 and a bit-to-check portion 511 . Check-to-bit portion 510 includes multiplexer 501 , multiplexer 502 , register 503 , and combinatorial logic 504 . Bit-to-check portion 511 includes multiplexer 505 , AND gate 506 , combinatorial logic 507 , register 508 , and inverter 509 .

LDPC decoder portion 500 is repeated 24 times in 24 instantiations (i=0, 1, 2, 3, . . . 23) of decoder portion 500 to form a complete LDPC decoder. The complete LDPC decoder decodes codewords that have been encoded by the FIG. 4 encoder, which is formed by instantiating encoder portion 400 24 times, as described above.

Thus, check-to-bit portion 510 and a bit-to-check portion 511 are each repeated 24 times in the complete decoder. Each instantiation of bit-to-check portion 511 performs the function of one of the 24 parity check equations of the LDPC code. Each instantiation of check-to-bit portion 510 generates a message passing log likelihood ratio (MP LLR k+i ) that is used to determine whether to flip bits read from the data storage medium or to maintain the bits in their present logic state.

Each of the multiplexers 501 , 502 , and 505 can be implemented by 18 parallel 2-to-1 multiplexers. Each of the registers 503 and 508 can be implemented by 18 parallel registers. AND gate 506 can be implemented by 18 parallel AND gates. Inverter 509 can be implemented by 18 parallel inverters.

The 0 input terminal of multiplexer 501 is coupled to receive 18-bit parameter C X(i) , and the 1 input terminal of multiplexer 501 is coupled to receive 18-bit parameter C Y(i) . The 0 input terminal of multiplexer 502 is coupled to receive the 18-bit output parameter of multiplexer 501 . The 1 input terminal of multiplexer 502 is coupled to receive 18-bit parameter S Z(i) . The 1 input terminal of multiplexer 505 is coupled to receive 18-bit parameter S Y(i) . The 0 input terminal of multiplexer 505 is coupled to receive 18-bit parameter S X(i) . The values of the 18-bit parameters S X(i) , S Y(i) , and S Z(i) are stored at the output terminal of register 508 .

The BLK_CNT count signal controls multiplexer 502 . BLK_CNT increases by 2 in each cycle. When the BLK_CNT count signal equals 0, a logic high state is transmitted to the select input terminal of multiplexer 502 and to inverter 509 . The logic high state at the select input terminal of multiplexer 502 causes multiplexer 502 to transmit the S Z(i) parameter at its 1 input terminal to the input terminal of register 503 . Inverter 509 inverts the logic high signal and transmits a logic low signal to the first input terminal of AND gate 506 . When the BLK_CNT count signal does not equal 0, a logic low state is transmitted to the select input terminal of multiplexer 502 and to inverter 509 . The logic low state at the select input terminal of multiplexer 502 causes multiplexer 502 to transmit the output parameter of multiplexer 501 to the input terminal of register 503 . Inverter 509 inverts the logic low signal and transmits a logic high signal to the first input terminal of AND gate 506 .

›DETAILED DESCRIPTION OF THE INVENTION · 6 of 7

BLK_CNT mod 24 =0 controls multiplexers 501 and 505 . When BLK_CNT mod 24 =0, a logic high state is transmitted to the select input terminals of multiplexers 501 and 505 . The logic high state at the select input terminal of multiplexer 501 causes multiplexer 501 to transmit the C Y(i) parameter from its 1 input terminal to the 0 input terminal of multiplexer 502 . The logic high state at the select input terminal of multiplexer 505 causes multiplexer 505 to transmit the S Y(i) parameter from its 1 input terminal to the second input terminal of AND gate 506 . When BLK_CNT mod 24 does not equal 0, a logic low state is transmitted to the select input terminals of multiplexers 501 and 505 . A logic low state at the select input terminal of multiplexer 501 causes multiplexer 501 to transmit the C X(i) parameter from its 0 input terminal to the 0 input terminal of multiplexer 502 . A logic low state at the select input terminal of multiplexer 505 causes multiplexer 505 to transmit the S X(i) parameter from its 0 input terminal to the second input terminal of AND gate 506 .

The 18-bit output parameter of register 503 is processed by combinatorial logic 504 along with a log likelihood ratio (LLR k+i+DLY >0) from a soft output Viterbi detector (SOVA), where DLY is a delay parameter. Combinatorial logic 504 generates a message passing log likelihood ratio (MP LLR k+i ). Only the first two instantiations of decoder portion 500 (i=0, 1) have combinatorial logic 504 . In the remaining instantiations (i=2, 3, . . . 23) of decoder portion 500 , register 503 stores the MP LLR value at its output.

The 18-bit output parameter of AND gate 506 is processed by combinatorial logic 507 along with a log likelihood ratio (LLR k+1 ) from a soft output Viterbi detector (SOVA). Only the first two instantiations of decoder portion 500 (i=0, 1) have combinatorial logic 507 . In the remaining instantiations (i=2, 3, . . . 23) of decoder portion 500 , the output terminal of AND gate 506 is coupled directly to the input terminal of register 508 .

Combinatorial logic 507 generates an 18-bit state metric S i that is stored in register 508 . Because magnetic data storage devices have ISI, logic 507 uses LLR values of adjacent bits provided from the SOVA to calculate the state metrics. The 18-bit state metric S i includes one parity bit corresponding to the parity of 24 bits checked using a parity check equation in bit-to-check 511 . The state metric S i also includes 6 bits that indicate the minimum log likelihood ratio (LLR) magnitude of the least reliable bit among the 25 bits checked for parity using the parity check equation. The minimum LLR magnitude is the LLR closest to zero, which indicates the least reliable bit. The 18-bit state metric S i also includes 5 bits that indicate the location of the least reliable bit in the LDPC codeword. The 18-bit state metric S i also includes 6 bits that indicate the second minimum LLR magnitude for the second least reliable bit among the 24 bits checked for parity using the parity check equation.

The processed 18-bit output parameter of combinatorial logic 507 is stored in register 508 as the state metric S i for the current LDPC codeword. The state metric S i is transmitted to multiplexers 502 and 505 as the 18-bit S X(i) , S Y(i) , and S Z(i) parameters. The output state metric S i of register 508 in the i th instantiation of decoder portion 500 is transmitted to the 0 input terminal of multiplexer 505 as the S X(i) parameter in the instantiation of decoder portion 500 identified in the i th row of the X(i) column of the hookup table for the message passing LDPC logic, which is shown in Table 2 below. The output state metric S i of register 508 the i th instantiation of decoder portion 500 is transmitted to the 1 input terminal of multiplexer 505 as the S Y(i) parameter in the instantiation of decoder portion 500 that is identified by the i th row of the Y(i) column of the hookup table shown in Table 2 below. The output state metric S i of register 508 in the i th instantiation of decoder portion 500 is transmitted to the 1 input terminal of multiplexer 502 as the S Z(i) parameter in the instantiation of decoder portion 500 that is identified by the i th row of the appropriate Z(i) column of the hookup table shown in Table 2 below.

For example, the state metric S i generated at the output terminal of register 508 in the first instantiation (i=0) of decoder portion 500 is transmitted to the 0 input terminal of multiplexer 505 in the third instantiation (i=2) of decoder portion 500 as parameter S X(i) , as shown in Table 2. The state metric S i generated at the output terminal of register 508 in the first instantiation (i=0) of decoder portion 500 is also transmitted to the 1 input terminal of multiplexer 505 in the seventh instantiation (i=6) of decoder portion 500 as parameter S Y(i) as shown in Table 2. The state metric S i generated at the output terminal of register 508 in the first instantiation (i=0) of decoder portion 500 is also transmitted to the 1 input terminal of multiplexer 502 in the 19 th instantiation (i=18) of decoder portion 500 as parameter S Z(i) as shown in Table 2 for LDPC codewords having 584 bits.

The C X(i) and C Y(i) parameters at the input terminals of multiplexer 501 are saved check information generated by combinatorial logic 507 for the previous LDPC codeword and stored in register 508 . The completed state metric S i for a previous LDPC codeword is transmitted from register 508 to multiplexer 501 as the saved check information. Subsequently, bit-to-check portions 511 process the state metrics for the next LDPC codeword. Thus, check-to-bit portions 510 process information for a previous LDPC codeword, while bit-to-check portions 511 concurrently process information for a current LDPC codeword.

The check parameter C X(i) in the i th instantiation of decoder portion 500 is transmitted from register 508 to the 0 input of multiplexer 501 in the instantiation of decoder portion 500 identified in the i th row of the X(i) column of the hookup table shown in Table 2. The check parameter C Y(i) in the i th instantiation of decoder portion 500 is transmitted from register 508 to the 1 input of multiplexer 501 in the instantiation of decoder portion 500 identified in the i th row of the Y(i) column of the hookup table shown in Table 2. For example, check parameter C X(i) is transmitted from register 508 in the 0 th instantiation of the decoder to the 0 input of multiplexer 501 in the 3 rd (i=2) instantiation of the decoder. As another example, check parameter C Y(i) is transmitted from register 508 in the 0 th instantiation of the decoder to the 1 input of multiplexer 501 in the 7 th (i=6) instantiation of the decoder.

›DETAILED DESCRIPTION OF THE INVENTION · 7 of 7

The 18-bit C X(i) and C Y(i) parameters include one parity bit corresponding to the parity of 24 bits checked using a parity check equation in bit-to-check 511 . The 18-bit C X(i) and C Y(i) parameters also include 6 bits that indicate the minimum log likelihood ratio (LLR) magnitude of the least reliable bit among the 24 bits checked for parity using the parity check equation. The 18-bit C X(i) and C Y(i) parameters include 5 bits that indicate the location of the least reliable bit in the LDPC codeword. The 18-bit C X(i) and C Y(i) parameters include 6 bits that indicate the second minimum LLR magnitude for the second least reliable bit among the 24 bits checked for parity using the parity check equation.

The foregoing description of the exemplary embodiments of the present invention has been presented for the purposes of illustration and description. It is not intended to be exhaustive or to limit the present invention to the examples disclosed herein. A latitude of modification, various changes, and substitutions are intended in the present invention. In some instances, features of the present invention can be employed without a corresponding use of other features as set forth. Many modifications and variations are possible in light of the above teachings, without departing from the scope of the present invention. It is not intended that the scope of the present invention be limited with this detailed description.

For example, embodiments of the present invention can be implemented using one or a combination of hardware, software, and a computer-readable medium containing program instructions. Software implemented by embodiments of the present invention and results of the present invention can be stored on a computer-readable medium such as memory, hard disk drive, compact disc (CD), digital video disc (DVD), or other media. Results of the present invention can be used for various purposes such as being executed or processed by a processor, being displayed to a user, transmitted in a signal over a network, etc.

›Tables in the description — 2
TABLE 1 — Hookup Table for Write Encoder Logic
iX(i)Y(i)Z(i) (584)Z(i) (604)Z(i) (624)
026231923
131422222
2421637
35121026
46189200
570141418
6823191317
791011822
810156233
91113259
10121211014
1113167610
12145415
131521131115
1416817812
1517331721
16182212211
171945711
182019111620
1921118913
20229201519
2123701216
220171804
231201548
TABLE 2 — Hookup Table for Message Passing LDPC Logic
iX(i)Y(i)Z(i) (584)Z(i) (604)Z(i) (624)
0261804
1314191317
242201519
3512211014
461822222
570231923
682301216
791011822
81015259
9111331721
10121415
1113165711
121456233
1315217610
141688913
151739200
1618221026
17194111620
18201912211
192111131115
20229141418
212371548
220171637
2312017812

Claims as granted

21 claims

Log in to read the claims of this application.

Log in to unlock

Classifications

2 codes
IPC · International Patent Classification
Section H — Electricity
  • H03M13/05
USPC · US Patent Classification
714/752

Claim changes

Soon
Coming soonHow the claims changed between publication and grant

See which claims were amended, added or cancelled during examination, with every added and removed word marked.

AmendedAddedCancelledUnchanged

The published claims of this application are not paired with the granted ones in what we hold.

File wrapper

⤢ drag to zoomJan 2008Jul 2008Jan 2009Jul 2009Jan 2010Jul 2010Jan 2011Jul 2011Jan 2012Jul 2012USPTOApplicantNon-final rejectionFinal rejection
USPTOApplicanthover for detail · click to open
Pendency
4.3 y
1,568 days filing → grant
Office actions
2
non-final + final
Responses
1
1 RCE
Examiner
Bryce Bonzo
art unit 2113 · TC 2100
Citations: 17 back · 2 forward

See the full prosecution history — every USPTO and applicant action on this file, in order.

Log in to unlock

Documents

Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.

Log in to unlock

Chain of title

⤢ drag to zoom20082010201220142016201820202022202420262028Owner 1Owner 2Owner 3Owner 5liens, releases & corrections
TitleLienReleasehover for detail · click to open

See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.

Log in to unlock