The present inventions are related to systems and methods for data processing, and more particularly to systems and methods for performing data encoding.
Various data processing systems have been developed including storage systems, cellular telephone systems, and radio transmission systems. In such systems data is transferred from a sender to a receiver via some medium. For example, in a storage system, data is sent from a sender (i.e., a write function) to a receiver (i.e., a read function) via a storage medium. As information is stored and transmitted in the form of digital data, errors are introduced that, if not corrected, can corrupt the data and render the information unusable. In some cases, data decoding fails to properly decode.
Hence, for at least the aforementioned reasons, there exists a need in the art for advanced systems and methods for data decoding.
The present inventions are related to systems and methods for data processing, and more particularly to systems and methods for performing data encoding.
Some embodiments of the present invention provide data processing systems that include a data encoder circuit. The data encoder circuit is operable to: receive N data sets; apply a data encoding algorithm to each of N−1 of the N data sets to yield respective N−1 encoded outputs using a predefined encoding value; calculate a syndrome value for each of the N−1 encoded outputs to yield N−1 syndrome values; aggregate the N−1 syndrome values to yield an aggregate syndrome value; and apply the data encoding algorithm to the Nth of the N data sets to yield an Nth encoded output using the aggregate syndrome value in place of the predefined encoding value.
This summary provides only a general outline of some embodiments of the invention. The phrases “in one embodiment,” “according to one embodiment,” in various embodiments“, in one or more embodiments”, “in particular embodiments” and the like generally mean the particular feature, structure, or characteristic following the phrase is included in at least one embodiment of the present invention, and may be included in more than one embodiment of the present invention. Importantly, such phases do not necessarily refer to the same embodiment. Many other embodiments of the invention will become more fully apparent from the following detailed description, the appended claims and the accompanying drawings.
A further understanding of the various embodiments of the present invention may be realized by reference to the figures which are described in remaining portions of the specification. In the figures, like reference numerals are used throughout several figures to refer to similar components. In some instances, a sub-label consisting of a lower case letter is associated with a reference numeral to denote one of multiple similar components. When reference is made to a reference numeral without specification to an existing sub-label, it is intended to refer to all such multiple similar components.
a depicts a data processing system including hybrid layer encoding and decoding circuitry in accordance with various embodiments of the present invention;
b depicts the encoding circuit of
c graphically depicts an example hybrid layer encoding matrix comprising two component codewords that may be used in relation to one or more embodiments of the present invention;
d graphically depicts a hybrid layer codeword resulting from application of the hybrid layer encoding matrix of
a-5b shows an encoding circuit that may be used in relation to the various embodiments of the present invention; and
The present inventions are related to systems and methods for data processing, and more particularly to systems and methods for performing data encoding.
Some embodiments of the present invention provide data processing systems that include a data encoder circuit. The data encoder circuit is operable to: receive N data sets; apply a data encoding algorithm to each of N−1 of the N data sets to yield respective N−1 encoded outputs using a predefined encoding value; calculate a syndrome value for each of the N−1 encoded outputs to yield N−1 syndrome values; aggregate the N−1 syndrome values to yield an aggregate syndrome value; and apply the data encoding algorithm to the Nth of the N data sets to yield an Nth encoded output using the aggregate syndrome value in place of the predefined encoding value. In particular cases, the data encoding algorithm is a low density parity check encoding algorithms.
In some instances of the aforementioned embodiments, the aggregate syndrome value plus a syndrome value corresponding to the Nth encoded output is equal to the predefined encoding value. In some cases, the predefined encoding value is ‘0’. In various cases, the encoding algorithm includes XORing an interim value of the Nth encoded output with the aggregate syndrome value as part of generating the Nth encoded output; and encoding algorithm includes XORing an interim value of a processing data set with the predefined encoding value during encoding of each of the N−1 of the N data sets.
In various instances of the aforementioned embodiments, the encoder circuit includes a selector circuit and an XOR circuit. The selector circuit is operable to provide the predefined encoding value during encoding of each of N−1 of the N data sets; and to provide the aggregate syndrome value during application of the data encoding algorithm to the Nth of the N data sets. The XOR circuit is operable to receive an interim value corresponding to one of the N data sets, and to XOR the interim value with the selection output. In some instances of the aforementioned embodiments, the difference between applying the data encoding algorithm to the N−1 of the N data sets and applying the data encoding algorithm to the Nth of the N data sets is a difference between the source of the selection output. In some cases, the selection output is the aggregate syndrome value during application of the second data encoding algorithm to the Nth of the N data sets, and wherein the selection input is a predefined value during application of the first data encoding algorithm to the N−1 of the N data sets. In particular instances of the aforementioned embodiments, the difference between applying the data encoding algorithm to the N−1 of the N data sets and applying the data encoding algorithm to the Nth of the N data sets is limited to use of the predefined encoding value during encoding of the N−1 of the N data sets and to use of the aggregate syndrome value during encoding of the Nth of the N data sets.
In some instances of the aforementioned embodiments, the data encoder circuit includes a concatenation circuit operable to combine the N−1 encoded outputs and the N-th encoded output to yield a transfer codeword. In some cases, the predefined encoding value is not included with the transfer codeword. In various cases, the data processing system is part of a data storage device including a storage medium, and the storage information derived from the transfer codeword is stored to the storage medium. In other cases, the data processing system is part of a communication device operable to transfer information derived from the transfer codeword via a transfer medium.
Other embodiments of the present invention provide methods for data processing that include: receiving N data sets; applying a data encoding algorithm to each of N−1 of the N data sets to yield respective N−1 encoded outputs using a predefined encoding value; calculating a syndrome value for each of the N−1 encoded outputs to yield N−1 syndrome values; aggregating the N−1 syndrome values to yield an aggregate syndrome value; and applying the data encoding algorithm to the Nth of the N data sets to yield an Nth encoded output using the aggregate syndrome value in place of the predefined encoding value. In some instances of the aforementioned embodiments, the aggregate syndrome value plus the Nth syndrome value is equal to the predefined encoding value. In particular cases, the predefined encoding value is ‘0’. In various instances of the aforementioned embodiments, the predefined encoding value is XORed with a first interim encoding value during application of the data encoding algorithm to the N−1 of the N data sets, and the aggregate syndrome value is XORed with a second interim encoding value during application of the data encoding algorithm to the Nth of the N data sets.
Some embodiments of the present invention provide data processing systems that include both a data detector circuit and a data decoding circuit. Processing a data set through both the data detector circuit and the data decoder circuit is referred to herein as a global iteration. In some cases, multiple passes through the data decoder circuit may be made during a single global iteration. Such passes through the data decoder circuit are referred to herein as a local iteration. When all of the errors in a data set have been corrected through application for the data detection algorithm applied by the data detector circuit and the data decoding algorithm applied by the data decoder circuit, the processing is said to have converged.
Various embodiments of the present invention provide data processing systems that include a data decoder circuit. The data decoder circuit is operable to: select a combination of a first portion of a received codeword and a second portion of the received codeword as a first codeword layer; apply a data decode algorithm to the first codeword layer to yield a first decoded output; where the first decoded output converged, set soft data in the first decoded output to a value indicating a high probability of being correctly decoded; select a combination of a third portion of a received codeword and the second portion of the received codeword as a second codeword layer; and apply the data decode algorithm to the second codeword layer guided by the first decoded output to yield a second decoded output. In some cases, the data decode algorithm is a low density parity check algorithm. In some cases, the data processing system is implemented as part of an integrated circuit.
In various instances of the aforementioned embodiments, the data processing system further includes a data detector circuit operable to apply a data detection algorithm to a data input to yield a detected output where the received codeword is derived from the detected output. The data detection algorithm may be, but is not limited to, a maximum a posteriori data detection algorithm, or a Viterbi data detection algorithm. In some cases, the data processing system is part of a data storage device including a storage medium, and the data input is derived from the storage medium. In other cases the data processing system is part of a communication device operable to receive information from a data transfer medium, and the data input is derived from the information.
In various instances of the aforementioned embodiments, the data decoder circuit is further operable to set soft data in the second decoded output to a value indicating a high probability of being correctly decoded when the second decoded output converged. In some such instances, the data decoder circuit is further operable to provide a data output including a combination of the first decoded output and the second decoded output when both the first decoded output and the second decoded output converged.
In particular instances of the aforementioned embodiments, the data processing system further includes a data encoder circuit operable to encode a user data set to yield the received codeword. The first portion of the received codeword corresponds to a first component codeword and the third portion of the received codeword corresponds to a second component codeword.
Turning to
In a typical read operation, read/write head assembly 176 is accurately positioned by motor controller 168 over a desired data track on disk platter 178. The appropriate data track is defined by an address received via interface controller 120. Motor controller 168 both positions read/write head assembly 176 in relation to disk platter 178 and drives spindle motor 172 by moving read/write head assembly to the proper data track on disk platter 178 under the direction of hard disk controller 166. Spindle motor 172 spins disk platter 178 at a determined spin rate (RPMs). Once read/write head assembly 176 is positioned adjacent the proper data track, magnetic signals representing data on disk platter 178 are sensed by read/write head assembly 176 as disk platter 178 is rotated by spindle motor 172. The sensed magnetic signals are provided as a continuous, minute analog signal representative of the magnetic data on disk platter 178. This minute analog signal is transferred from read/write head assembly 176 to read channel circuit 110 via preamplifier 170. Preamplifier 170 is operable to amplify the minute analog signals accessed from disk platter 178. In turn, read channel circuit 110 decodes and digitizes the received analog signal to recreate the information originally written to disk platter 178. The read data is provided as read data 103. A write operation is substantially the opposite of the preceding read operation with write data 101 being provided to read channel circuit 110. This data is then encoded and written to disk platter 178.
Writing data to disk platter 178 includes applying hybrid layer encoding to generate a hybrid layer codeword that is transferred to disk platter 178 via read/write head assembly. Such hybrid layer encoding may be done, for example, similar to that discussed below in relation to
Reading data from disk platter may include applying both data detection and data decoding algorithms to the hybrid layer codeword to obtain the original user data. During the data decoding algorithm, hybrid layers including an individual component codeword and the hybrid portion are decoded over a number of local iterations. Where the individual component codeword converges, the soft data corresponding to the individual component codeword and the hybrid portion is set to a maximum value. In this way, the values in the hybrid portion are effectively frozen while the other hybrid layer formed of another individual component codeword and the hybrid portion is decoded. In this way, the added hybrid portion not only provides additional encoding that may be used to aid the data processing of a given component codeword, convergence of any of the component codewords will yield a known hybrid portion that further enhances the ability to correctly decode other component codewords within the hybrid layer codeword. Such decoding may be done using a circuit similar to that discussed below in relation to
It should be noted that storage system 100 may be integrated into a larger storage system such as, for example, a RAID (redundant array of inexpensive disks or redundant array of independent disks) based storage system. Such a RAID storage system increases stability and reliability through redundancy, combining multiple disks as a logical unit. Data may be spread across a number of disks included in the RAID storage system according to a variety of algorithms and accessed by an operating system as if it were a single disk. For example, data may be mirrored to multiple disks in the RAID storage system, or may be sliced and distributed across multiple disks in a number of techniques. If a small number of disks in the RAID storage system fail or become unavailable, error correction techniques may be used to recreate the missing data based on the remaining portions of the data from the other disks in the RAID storage system. The disks in the RAID storage system may be, but are not limited to, individual storage systems such as storage system 100, and may be located in close proximity to each other or distributed more widely for increased security. In a write operation, write data is provided to a controller, which stores the write data across the disks, for example by mirroring or by striping the write data. In a read operation, the controller retrieves the data from the disks. The controller then yields the resulting read data as if the RAID storage system were a single disk.
A data decoder circuit used in relation to read channel circuit 110 may be, but is not limited to, a low density parity check (LDPC) decoder circuit as are known in the art. Such low density parity check technology is applicable to transmission of information over virtually any channel or storage of information on virtually any media. Transmission applications include, but are not limited to, optical fiber, radio frequency channels, wired or wireless local area networks, digital subscriber line technologies, wireless cellular, Ethernet over any medium such as copper or optical fiber, cable channels such as cable television, and Earth-satellite communications. Storage applications include, but are not limited to, hard disk drives, compact disks, digital video disks, magnetic tapes and memory devices such as DRAM, NAND flash, NOR flash, other non-volatile memories and solid state drives.
In addition, it should be noted that storage system 100 may be modified to include solid state memory that is used to store data in addition to the storage offered by disk platter 178. This solid state memory may be used in parallel to disk platter 178 to provide additional storage. In such a case, the solid state memory receives and provides information directly to read channel circuit 110. Alternatively, the solid state memory may be used as a cache where it offers faster access time than that offered by disk platted 178. In such a case, the solid state memory may be disposed between interface controller 120 and read channel circuit 110 where it operates as a pass through to disk platter 178 when requested data is not available in the solid state memory or when the solid state memory does not have sufficient storage to hold a newly written data set. Based upon the disclosure provided herein, one of ordinary skill in the art will recognize a variety of storage systems including both disk platter 178 and a solid state memory.
Turning to
Turning to
d graphically depicts a hybrid layer codeword 280 resulting from application of hybrid layer encoding matrix 232 to original data input 205. As shown, hybrid layer codeword 280 includes: a first component codeword (i.e., component codeword A) corresponding to row 272 of hybrid encoding matrix 232, a second component codeword (i.e., component codeword B) corresponding to row 274 of hybrid encoding matrix 232, and a hybrid encoding portion corresponding to row 276 of hybrid encoding matrix 232.
Returning to
Data processing circuit 200 includes a pre-processing circuit 250 that applies one or more analog functions to the transmitted input. Such analog functions may include, but are not limited to, amplification and filtering. Based upon the disclosure provided herein, one of ordinary skill in the art will recognize a variety of pre-processing circuitry that may be used in relation to different embodiments of the present invention. Pre-processing circuit 250 provides a pre-processed output to a hybrid layer based decoding circuit 260. Hybrid layer based decoding circuit 260 applies a decoding algorithm to hybrid layers of the received hybrid layer codeword sequentially. When a component codeword of a given hybrid layer converges, the soft data associated with that the hybrid layer is set to a maximum value. In this way, the values in the hybrid encoding portion of hybrid layer codeword are effectively frozen (in addition to the values of the converged component codeword) while another hybrid layer formed of another individual component codeword and the hybrid portion is decoded. As such, the added hybrid portion not only provides additional encoding that may be used to aid the data processing of a given component codeword, convergence of any of the component codewords will yield a known hybrid portion that further enhances the ability to correctly decode other component codewords within the hybrid layer codeword. The result of the decoding process is provided as a data output 265.
Turning to
Analog to digital converter circuit 314 converts processed analog signal 312 into a corresponding series of digital samples 316. Analog to digital converter circuit 314 may be any circuit known in the art that is capable of producing digital samples corresponding to an analog input signal. Based upon the disclosure provided herein, one of ordinary skill in the art will recognize a variety of analog to digital converter circuits that may be used in relation to different embodiments of the present invention. Digital samples 316 are provided to an equalizer circuit 320. Equalizer circuit 320 applies an equalization algorithm to digital samples 316 to yield an equalized output 325. In some embodiments of the present invention, equalizer circuit 320 is a digital finite impulse response filter (DFIR) circuit as are known in the art. It may be possible that equalized output 325 may be received directly from a storage device in, for example, a solid state storage system. In such cases, analog front end circuit 310, analog to digital converter circuit 314 and equalizer circuit 320 may be eliminated where the data is received as a digital data input. Equalized output 325 is stored to an input buffer 353 that includes sufficient memory to maintain one or more codewords until processing of that codeword is completed through a data detector circuit 330 and a hybrid layer data decoding circuit 370 including, where warranted, multiple global iterations (passes through both data detector circuit 330 and hybrid layer data decoding circuit 370) and/or local iterations (passes through hybrid layer data decoding circuit 370 during a given global iteration). An output 357 is provided to data detector circuit 330.
Data detector circuit 330 may be a single data detector circuit or may be two or more data detector circuits operating in parallel on different hybrid layer codewords. Whether it is a single data detector circuit or a number of data detector circuits operating in parallel, data detector circuit 330 is operable to apply a data detection algorithm to a received codeword or data set. In some embodiments of the present invention, data detector circuit 330 is a Viterbi algorithm data detector circuit as are known in the art. In other embodiments of the present invention, data detector circuit 330 is a maximum a posteriori data detector circuit as are known in the art. Of note, the general phrases “Viterbi data detection algorithm” or “Viterbi algorithm data detector circuit” are used in their broadest sense to mean any Viterbi detection algorithm or Viterbi algorithm detector circuit or variations thereof including, but not limited to, bi-direction Viterbi detection algorithm or bi-direction Viterbi algorithm detector circuit. Also, the general phrases “maximum a posteriori data detection algorithm” or “maximum a posteriori data detector circuit” are used in their broadest sense to mean any maximum a posteriori detection algorithm or detector circuit or variations thereof including, but not limited to, simplified maximum a posteriori data detection algorithm and a max-log maximum a posteriori data detection algorithm, or corresponding detector circuits. Based upon the disclosure provided herein, one of ordinary skill in the art will recognize a variety of data detector circuits that may be used in relation to different embodiments of the present invention. In some cases, one data detector circuit included in data detector circuit 330 is used to apply the data detection algorithm to the received codeword for a first global iteration applied to the received codeword, and another data detector circuit included in data detector circuit 330 is operable apply the data detection algorithm to the received codeword guided by a decoded output accessed from a central memory circuit 350 on subsequent global iterations.
Upon completion of application of the data detection algorithm to the received hybrid layer codeword on the first global iteration, data detector circuit 330 provides a detector output 333. Each instance of detector output 333 corresponds to a respective one of the hybrid layer received as analog input 305.
Detector output 333 includes soft data. As used herein, the phrase “soft data” is used in its broadest sense to mean reliability data with each instance of the reliability data indicating a likelihood that a corresponding bit position or group of bit positions has been correctly detected. In some embodiments of the present invention, the soft data or reliability data is log likelihood ratio data as is known in the art. In cases where a higher value of soft data indicates a greater likelihood that a corresponding bit or symbol of the hybrid layer codeword has been correctly determined, setting the soft data to a maximum value makes it very unlikely that the corresponding bit will be modified during subsequent decoding or detection processes. As such, the bit or symbol is effectively frozen. Similarly, in cases where a lower value of soft data indicates a greater likelihood that a corresponding bit or symbol of the hybrid layer codeword has been correctly determined, setting the soft data to a minimum value makes it very unlikely that the corresponding bit will be modified during subsequent decoding or detection processes. Detected output 333 is provided to a local interleaver circuit 342. Local interleaver circuit 342 is operable to shuffle sub-portions (i.e., local chunks) of the data set included as detected output and provides an interleaved codeword 346 that is stored to central memory circuit 350. Interleaver circuit 342 may be any circuit known in the art that is capable of shuffling data sets to yield a re-arranged data set. Interleaved codeword 346 is stored to central memory circuit 350.
Once hybrid layer data decoding circuit 370 is available, a previously stored interleaved codeword 346 is accessed from central memory circuit 350 as a stored codeword 386 and globally interleaved by a global interleaver/de-interleaver circuit 384. Global interleaver/De-interleaver circuit 384 may be any circuit known in the art that is capable of globally rearranging codewords. Global interleaver/De-interleaver circuit 384 provides a decoder input 352 into hybrid layer data decoding circuit 370. Decoder input 352 may be a hybrid layer codeword similar to that discussed above in relation to
In operation, hybrid layer data decoding circuit 370 selects a first component codeword and the hybrid encoding portion as a first decoding layer. Using the example of
With the decoding of the first decoding layer completed, hybrid layer data decoding circuit 370 selects a second component codeword and the hybrid encoding portion as a second decoding layer. Using the example of
This process of applying the data decode algorithm sequentially to decoding layers continues until all of hybrid codewords corresponding to individual component codewords are decoded. Thus, while the example in
Alternatively, where all of the individual component codewords converge, decoding of the hybrid layer codeword to converges (i.e., yields the originally written data set), the resulting decoded output is provided as an output codeword 372 to a de-interleaver circuit 380. De-interleaver circuit 380 rearranges the data to reverse both the global and local interleaving applied to the data to yield a de-interleaved output 382. De-interleaved output 382 is provided to a hard decision output circuit 390. Hard decision output circuit 390 is operable to re-order data sets that may complete out of order back into their original order. The originally ordered data sets are then provided as a hard decision output 392.
Turning to
A combination of a first component codeword and a hybrid encoding portion of the hybrid layer codeword is selected as a first decoding layer (block 410). A data decoding algorithm is applied to the first decoding layer to yield a decoding output (block 415). Where it is the second or later local iteration, a prior decoding output is used to guide application of the data decoding algorithm. It is determined whether application of the decoding algorithm resulted in convergence of the first decoding layer (bock 420). Where the first decoding layer converged (block 420), the soft data corresponding to the first decoding layer is set equal to a maximum value (i.e., a value indicating the highest likelihood that the data was properly decoded) (block 425). This effectively freezes the first decoding layer.
Alternatively, where the first decoding layer failed to converge (block 420), it is determined whether another local iteration through the data decoder circuit is allowed (block 430). As an example, in some cases each decoding layer is allowed ten (10) local iterations through the data decoder circuit. Based upon the disclosure provided herein, one of ordinary skill in the art will recognize other numbers of local iterations that may be allowed in accordance with different embodiments of the present invention. Where more local iterations are allowed (block 430), the processes of blocks 415-430 are reapplied to the first decoding layer guided by the previous decoding output.
Where either the first decoding layer converged (block 420) or the maximum number of local iterations have been surpassed (block 430), a combination of a second component codeword and the hybrid encoding portion of the hybrid layer codeword is selected as a second decoding layer (block 435). The data decoding algorithm is applied to the second decoding layer to yield a decoding output (block 440). The decoding output resulting from applying the data decoding algorithm to the first decoding layer is used to guide the first local iteration of the second decoding layer. This includes defacto frozen values for the hybrid encoding portion where the first decoding layer converged. Such frozen values improve the accuracy of the decoding algorithm applied to the second decoding layer. Where it is the second or later local iteration of the second decoding layer, a prior decoding output corresponding to the second decoding layer is used to guide application of the data decoding algorithm. It is determined whether application of the decoding algorithm resulted in convergence of the second decoding layer (bock 445). Where the second decoding layer converged (block 445), it is determined whether the first decoding layer converged (block 460). Where the first decoding layer converged (block 460), all of the decoding layers in the hybrid layer codeword have converged, and thus the converged output is provided to a requestor (block 465).
Alternatively, where the first decoding layer failed to converge (block 460), less than all of the decoding layers of the hybrid layer codeword have converged, and thus additional processing may be desired. In such a case, the soft data corresponding to the second decoding layer is set equal to a maximum value (i.e., a value indicating the highest likelihood that the data was properly decoded) (block 470). This effectively freezes the second decoding layer. At this point, the resulting decoded output is sent back to the central memory to await a subsequent global iteration (block 475).
Where the second decoding layer failed to converge (block 445), it is determined whether another local iteration through the data decoder circuit is allowed (block 450). As an example, in some cases each decoding layer is allowed ten (10) local iterations through the data decoder circuit. Based upon the disclosure provided herein, one of ordinary skill in the art will recognize other numbers of local iterations that may be allowed in accordance with different embodiments of the present invention. Where more local iterations are allowed (block 450), the processes of blocks 440-470 are reapplied to the second decoding layer guided by the previous decoding output. Where another local iteration is not allowed (block 450), the resulting decoded output is sent back to the central memory to await a subsequent global iteration (block 475).
Turning to
Product 509=u×Hu1
In addition, encoding circuit 500 includes a sparse matrix multiplication circuit 540 that multiplies a user data input 502 (u) by a portion of an encoding matrix, Hu2 matrix 542 (Hu2), to yield a product 544 in accordance with the following equation:
Product 544=u×Hu2.
Another sparse matrix multiplication circuit 510 multiplies product 509 by an inverse portion of the encoding matrix, Hp21 matrix 512 (Hp21), to yield a product 514 in accordance with the following equation:
Product 514=[u×Hu1]×Hp21.
Product 544 is XORed with product 514 by a vector based XOR circuit 515 to yield a product 517 in accordance with the following equation:
Product 517=([u×Hu1]×Hp21){circle around (×)}(u×Hu2).
Product 517 is then XORed by a selected input 579 by a vector based XOR circuit 520 to yield a product 5524 in accordance with the following equation:
Product 524=[([u×Hu1]×Hp21){circle around (×)}(u×Hu2)]{circle around (×)}Selected Input 579.
Selected input 579 is selected to be a ‘0’ for the first N−1 sectors included in a codeword set using corresponding syndrome based hybrid layers similar to those shown in
Product 524 is provided to a dense matrix multiplication circuit 525 where it is multiplied by an inverse portion of the encoding matrix, inverse Hp22 matrix 527 (Inverse Hp22), to yield a product 529 in accordance with the following equation:
Product 529=Product 524×Inverse Hp22
Product 529 is a parity output (P2) included as part of the transmitted codeword. P2 may be represented by the following equation:
P2=Inverse Hp22×(SL−Hu2×u),
where SL, is selected input 579.
Product 529 is provided to another sparse matrix multiplication circuit 525 where it is multiplied by an inverse portion of the encoding matrix, inverse Hp22 matrix 527 (Inverse Hp22), to yield a product 534 in accordance with the following equation:
Product 534=Product 529×Inverse Hp22.
Product 534 is XORed with product 509 by a vector based XOR circuit 550 to yield a product 554 in accordance with the following equation:
Product 554=(Product 529×Inverse Hp22){circle around (×)}(u×Hu1).
Product 554 is provided to another sparse matrix multiplication circuit 555 where it is multiplied by an inverse portion of the encoding matrix, inverse Hp11 matrix 557 (Inverse Hp11), to yield a product 559 in accordance with the following equation:
Product 559=[(Product 529×Inverse Hp22){circle around (×)}(u×Hu1)]×Inverse Hp11.
Product 559 is a parity output (P1) included as part of the transmitted codeword. P1 may be represented by the following equation:
P1=Inverse Hp11×(Hp12×P2+Hu1×u).
As each sector is encoded, a syndrome (Si) of the currently processing sector is calculated by a syndrome calculator and accumulator circuit 570 in accordance with the following equation:
In addition, the calculated syndrome is accumulated with the syndromes calculated for each of the N−1 sectors to yield accumulated syndrome value 574 in accordance with the following equation:
By using accumulated syndrome value 574 in place of a ‘0’ value for encoding the Nth sector, the overall syndrome from the N sectors will be a ‘0’ (i.e., XORing to equal values results in a zero). Where the overall syndrome value is always ‘0’ (or any other predefined encoding value), it does not need to be transmitted, but can be assumed by a data decoding circuit receiving the encoded data. As such, a concatenation circuit (not shown) that assembles all of the encoded codewords into one set of transfer information does not include the predefined encoding value (in this case ‘0’). Said another way, the resulting codeword is similar to that discussed above in relation to
Turning to
Analog to digital converter circuit 614 converts processed analog signal 612 into a corresponding series of digital samples 616. Analog to digital converter circuit 614 may be any circuit known in the art that is capable of producing digital samples corresponding to an analog input signal. Based upon the disclosure provided herein, one of ordinary skill in the art will recognize a variety of analog to digital converter circuits that may be used in relation to different embodiments of the present invention. Digital samples 616 are provided to an equalizer circuit 620. Equalizer circuit 620 applies an equalization algorithm to digital samples 616 to yield an equalized output 625. In some embodiments of the present invention, equalizer circuit 620 is a digital finite impulse response filter (DFIR) circuit as are known in the art. It may be possible that equalized output 625 may be received directly from a storage device in, for example, a solid state storage system. In such cases, analog front end circuit 610, analog to digital converter circuit 614 and equalizer circuit 620 may be eliminated where the data is received as a digital data input.
Equalized output 625 represents multiple sectors of data that were interleaved such that portions of each of the individual sector is intermixed with portions of other individual sectors. To reverse this interleaving, equalized output 625 is provided to a spread sector control and buffer circuit 628 that rearranges the received data such that the portions of individual sectors are aligned such that each of the individual sectors of data are arranged contiguously to yield de-interleaved multiple sector data block 629. Portions of de-interleaved multiple sector data block 629 is provided on a sector by sector basis to an input buffer 653 as space becomes available in input buffer 653.
Input buffer 653 includes sufficient memory to maintain one or more codewords until processing of that codeword is completed through a data detector circuit 630 and a hybrid layer data decoding circuit 670 including, where warranted, multiple global iterations (passes through both data detector circuit 630 and hybrid layer data decoding circuit 670) and/or local iterations (passes through hybrid layer data decoding circuit 670 during a given global iteration). An output 657 is provided to data detector circuit 630.
Data detector circuit 630 may be a single data detector circuit or may be two or more data detector circuits operating in parallel on different hybrid layer codewords. Whether it is a single data detector circuit or a number of data detector circuits operating in parallel, data detector circuit 630 is operable to apply a data detection algorithm to a received codeword or data set. In some embodiments of the present invention, data detector circuit 630 is a Viterbi algorithm data detector circuit as are known in the art. In other embodiments of the present invention, data detector circuit 630 is a maximum a posteriori data detector circuit as are known in the art. Of note, the general phrases “Viterbi data detection algorithm” or “Viterbi algorithm data detector circuit” are used in their broadest sense to mean any Viterbi detection algorithm or Viterbi algorithm detector circuit or variations thereof including, but not limited to, bi-direction Viterbi detection algorithm or bi-direction Viterbi algorithm detector circuit. Also, the general phrases “maximum a posteriori data detection algorithm” or “maximum a posteriori data detector circuit” are used in their broadest sense to mean any maximum a posteriori detection algorithm or detector circuit or variations thereof including, but not limited to, simplified maximum a posteriori data detection algorithm and a max-log maximum a posteriori data detection algorithm, or corresponding detector circuits. Based upon the disclosure provided herein, one of ordinary skill in the art will recognize a variety of data detector circuits that may be used in relation to different embodiments of the present invention. In some cases, one data detector circuit included in data detector circuit 630 is used to apply the data detection algorithm to the received codeword for a first global iteration applied to the received codeword, and another data detector circuit included in data detector circuit 630 is operable apply the data detection algorithm to the received codeword guided by a decoded output accessed from a central memory circuit 650 on subsequent global iterations.
Upon completion of application of the data detection algorithm to the received hybrid layer codeword on the first global iteration, data detector circuit 630 provides a detector output 633. Each instance of detector output 633 corresponds to a respective one of the hybrid layer received as analog input 605.
Detector output 633 includes soft data. As used herein, the phrase “soft data” is used in its broadest sense to mean reliability data with each instance of the reliability data indicating a likelihood that a corresponding bit position or group of bit positions has been correctly detected. In some embodiments of the present invention, the soft data or reliability data is log likelihood ratio data as is known in the art. In cases where a higher value of soft data indicates a greater likelihood that a corresponding bit or symbol of the hybrid layer codeword has been correctly determined, setting the soft data to a maximum value makes it very unlikely that the corresponding bit will be modified during subsequent decoding or detection processes. As such, the bit or symbol is effectively frozen. Similarly, in cases where a lower value of soft data indicates a greater likelihood that a corresponding bit or symbol of the hybrid layer codeword has been correctly determined, setting the soft data to a minimum value makes it very unlikely that the corresponding bit will be modified during subsequent decoding or detection processes. Detected output 633 is provided to a local interleaver circuit 642. Local interleaver circuit 642 is operable to shuffle sub-portions (i.e., local chunks) of the data set included as detected output and provides an interleaved codeword 646 that is stored to central memory circuit 650. Interleaver circuit 642 may be any circuit known in the art that is capable of shuffling data sets to yield a re-arranged data set. Interleaved codeword 646 is stored to central memory circuit 650.
Once hybrid layer data decoding circuit 670 is available, a previously stored interleaved codeword 646 is accessed from central memory circuit 650 as a stored codeword 686 and globally interleaved by a global interleaver/de-interleaver circuit 684. Global interleaver/De-interleaver circuit 684 may be any circuit known in the art that is capable of globally rearranging codewords. Global interleaver/De-interleaver circuit 684 provides a decoder input 652 into hybrid layer data decoding circuit 670. Decoder input 652 may be a hybrid layer codeword similar to that discussed above in relation to
In operation, hybrid layer data decoding circuit 670 selects a first component codeword and the hybrid encoding portion as a first decoding layer. Using the example of
With the decoding of the first decoding layer completed, hybrid layer data decoding circuit 670 selects a second component codeword and the hybrid encoding portion as a second decoding layer. Using the example of
This process of applying the data decode algorithm sequentially to decoding layers continues until all of hybrid codewords corresponding to individual component codewords are decoded. Thus, while the example in
Alternatively, where all of the individual component codewords converge, decoding of the hybrid layer codeword to converges (i.e., yields the originally written data set), the resulting decoded output is provided as an output codeword 672 to a de-interleaver circuit 680. De-interleaver circuit 680 rearranges the data to reverse both the global and local interleaving applied to the data to yield a de-interleaved output 682. De-interleaved output 682 is provided to a hard decision output circuit 690. Hard decision output circuit 690 is operable to re-order data sets that may complete out of order back into their original order. The originally ordered data sets are then provided as a hard decision output 692.
Turning to
One of the N de-interleaved sectors is selected (block 720). Data detection/data decoding is applied to the selected sector to yield a decoded output (block 725). This data detection/data decoding may be performed similar to that discussed above in relation to
It is determined whether another of the N-de-interleaved sectors remains to be detected/decoded (block 750). Where another sector remains to be detected/decode (block 750), the next one of the N de-interleaved sectors is selected (block 720) and the processing proceeds for the selected sector. Alternatively, where no additional sectors remain to be detected/decoded (block 750), it is determined whether only one of the N de-interleaved sectors failed to converge (block 755). Where only one sector failed to converge it is possible to use the syndrome information calculated for each of the N−1 sectors that did converge to calculate a sector for the failed sector, and to re-apply the data detection and the data decoding using the syndrome expected for the failed sector to yield a corrected output (block 760). As the overall syndrome is expected to be ‘0’ (or another predefined value) as described above in relation to
where Si represents the syndrome values calculated from the other N−1 sectors that did not fail to converge. This expected syndrome is used to correct one or more errors in the failed sector. As such, hybrid layer decoding is applied using an implied value for the overall syndrome value.
It should be noted that the various blocks discussed in the above application may be implemented in integrated circuits along with other functionality. Such integrated circuits may include all of the functions of a given block, system or circuit, or a subset of the block, system or circuit. Further, elements of the blocks, systems or circuits may be implemented across multiple integrated circuits. Such integrated circuits may be any type of integrated circuit known in the art including, but are not limited to, a monolithic integrated circuit, a flip chip integrated circuit, a multichip module integrated circuit, and/or a mixed signal integrated circuit. It should also be noted that various functions of the blocks, systems or circuits discussed herein may be implemented in either software or firmware. In some such cases, the entire system, block or circuit may be implemented using its software or firmware equivalent. In other cases, the one part of a given system, block or circuit may be implemented in software or firmware, while other parts are implemented in hardware.
In conclusion, the invention provides novel systems, devices, methods and arrangements for data processing. While detailed descriptions of one or more embodiments of the invention have been given above, various alternatives, modifications, and equivalents will be apparent to those skilled in the art without varying from the spirit of the invention. Therefore, the above description should not be taken as limiting the scope of the invention, which is defined by the appended claims.
The present application claims priority to (is a non-provisional of) U.S. Pat. App. No. 61/834,557, entitled “Systems and Methods for Hybrid Layer Data Decoding”, and filed Jun. 13, 2013 by Li et al. The entirety of the aforementioned provisional patent application is incorporated herein by reference for all purposes.
Number | Date | Country | |
---|---|---|---|
61834557 | Jun 2013 | US |