Forward error correction and line coding are used together in digital communications and storage technologies. These technologies find wide application, including disc drives, where high rate line codes are used. When high rate line codes are used, there is a risk of forward error correction failure from line coding error propagation. Therefore, there exists a need for a system to reduce or eliminate the risk of forward error correction failure from line coding error propagation.
Various embodiments of the invention are disclosed in the following detailed description and the accompanying drawings.
The invention can be implemented in numerous ways, including as a process, an apparatus, a system, a composition of matter, a computer readable medium such as a computer readable storage medium or a computer network wherein program instructions are sent over optical or communication links. In this specification, these implementations, or any other form that the invention may take, may be referred to as techniques. A component such as a processor or a memory described as being configured to perform a task includes both a general component that is temporarily configured to perform the task at a given time or a specific component that is manufactured to perform the task. In general, the order of the steps of disclosed processes may be altered within the scope of the invention.
A detailed description of one or more embodiments of the invention is provided below along with accompanying figures that illustrate the principles of the invention. The invention is described in connection with such embodiments, but the invention is not limited to any embodiment. The scope of the invention is limited only by the claims and the invention encompasses numerous alternatives, modifications and equivalents. Numerous specific details are set forth in the following description in order to provide a thorough understanding of the invention. These details are provided for the purpose of example and the invention may be practiced according to the claims without some or all of these specific details. For the purpose of clarity, technical material that is known in the technical fields related to the invention has not been described in detail so that the invention is not unnecessarily obscured.
In the example shown, data to be encoded is first processed using forward error correction with an error correction coding (“ECC”) 102 method. Forward error correction allows the reader of encoded data to detect data errors, correct data errors, or both detect and correct data errors, based on redundant data inserted in ECC 102 called parity.
The encoded data is then processed using a line coding 104 method. Line coding modulates data for a specific digital communications channel or digital storage medium. For a disc drive system, the magnetic fields or optical media must contain frequent transitions to provide sufficient information for timing control.
In the example shown, user data 202 is first encoded using ECC encoder 204. The ECC code may be, for example, a Reed-Solomon code or a low density parity check (“LDPC”) code. The encoded data is then passed to the RLL encoder 206. RLL encoders are specified both by their rate and their run-length constraints to satisfy an intended line coding modulation shaping. Throughout this specification, an RLL encoder is expressed as a “rate-m/n (d, G/I)” RLL code, where:
An example of an RLL code used in for modern hard disc systems is a rate-200/201 (0, 20/20) RLL code. This code maps a 201 bit DC balanced sequence codeword that satisfies the (0, 20/20) run-length constraints, for every 200 bit input sequence.
The main vulnerability of this technique is a problem referred to as “error propagation”; a single error within the RLL code is propagated throughout the entire RLL codeword in RLL decoder 210. For example, for a rate-200/201 (0, 20/20) RLL code in the hard disc system shown in
In the example shown, user data 252 is first encoded using high rate RLL encoder 254. An example of a high rate RLL code used in the reverse coding technique for modern hard disc systems is a rate-200/201 (0, 20/20) RLL code. The output of the high rate RLL encoder 254 is the input of ECC encoder 256. The ECC code may be, for example, a Reed-Solomon code or an LDPC code. The encoded data is then passed to a low rate RLL decoder 258. An example of a low rate RLL code used in the reverse coding technique for modern hard disc systems is a rate-60/61 (0, 10/10) RLL code.
By first encoding using the high rate RLL encoder 254 before the ECC encoder 256, the high rate RLL code is protected by the parity of the ECC code. However, the resultant ECC encoded data at the output of ECC encoder 256 is not guaranteed to be run length constrained, and a low rate RLL code encoder 258 must be used.
One disadvantage of the reverse coding technique is the inefficiency of using two RLL coding schemes, since the overall RLL code rate is low due to the low rate RLL code in low rate RLL encoder 258. A second disadvantage of the reverse coding technique is that error propagation is still a vulnerability of the system. For example, for a rate-60/61 (0, 10/10) RLL code in the hard disc system shown in
What is disclosed is a technique for reducing all error propagation, while maintaining RLL code efficiencies. In some embodiments, this technique is a zero overhead interleaver solution. The following figure illustrates one embodiment.
In the example shown, user data 302 is first encoded using high rate RLL encoder 304. In various embodiments, various RLL codes may be used with an initial run length constraint of (0, G/I). An example of a high rate RLL code used in this technique for modern hard disc systems is a rate-200/201 (0, 20/20) RLL code. The output of the high rate RLL encoder 304 is the input of ECC encoder 306. In some embodiments, the ECC code must be a systematic code, such that parity symbol locations are fixed and known. In various embodiments, various ECC codes may be used. The ECC code may be, for example, a systematic Reed-Solomon code or a systematic LDPC code. The encoded data is then passed to a interleaver 308. In various embodiments, interleaver 308 is a deterministic and/or uniform interleaver.
The interleaver 308 interleaves parity symbols from the output of ECC encoder 306 uniformly with the data symbols from the output of ECC encoder 306. For example, the output of the ECC encoder 306 at point 320 is defined as a vector of symbols [R^{bar} P^{bar}], where:
The interleaver 308 would then output at point 322 a vector of symbols {RP}^{bar}, such that:
In some embodiments, with the parity symbols interleaved in the data symbols, the run-length constraints are relaxed slightly to reflect a worst-case scenario with the interleaved sequence. If the output of an ECC encoder is grouped into S bits per symbol, and the RLL code is used with an initial run length constraint of (0, G/I), it can be shown algebraically that the output of interleaver 308 at point 322, sequence {RP}^{bar}, satisfies a (0, (G+S)/(I+(S/2))) run-length constraint. In some embodiments, the constraint can be further improved by splitting the parity symbols into subsymbols and interleaving them. The interleaver is not limited to uniformly interleaving symbols. As long as the interleaving pattern is deterministic and the shortest distance between two parity symbols is no shorter than the smaller value of G and 21, the property of run length constraint holds.
By using a systematic ECC code and interleaving the parity symbols with the data symbols evenly, techniques described herein maintain the efficiency of the high rate RLL code while removing or reducing error propagation. In some embodiments, the tradeoff of using this technique is an adjustment of the initial run-length constraint (0,G/I) to the new value (0, (G+S)/(I+(S/2))).
In a step 402, the received symbols are received from high rate RLL encoder 304 and ECC encoder 306. The data symbols satisfy an initial run length constraint (0,G/I) as specified by the RLL code. The ECC code is a systematic code with S bits per symbol, such that data symbols are distinguishable from parity symbols.
In a step 404, the data symbols are interleaved uniformly with the parity symbols. For example, the received symbols are defined as a vector of symbols [R^{bar}P^{bar}], where:
The data and parity symbols are interleaved to produce a vector of symbols {RP}^{bar}, such that:
Although the foregoing embodiments have been described in some detail for purposes of clarity of understanding, the invention is not limited to the details provided. There are many alternative ways of implementing the invention. The disclosed embodiments are illustrative and not restrictive.
This application is a continuation of co-pending U.S. patent application Ser. No. 11/787,111 entitled INTERLEAVING PARITY BITS INTO USER BITS TO GUARANTEE RUN-LENGTH CONSTRAINT filed Apr. 12, 2007 which is incorporated herein by reference for all purposes.
Number | Name | Date | Kind |
---|---|---|---|
6795947 | Siegel et al. | Sep 2004 | B1 |
6963296 | Oki et al. | Nov 2005 | B2 |
7409622 | Lu et al. | Aug 2008 | B1 |
7719444 | Cideciyan | May 2010 | B2 |
8161347 | Kou | Apr 2012 | B1 |
20080276156 | Gunnam et al. | Nov 2008 | A1 |
20080301521 | Gunnam et al. | Dec 2008 | A1 |
Number | Date | Country | |
---|---|---|---|
20120166912 A1 | Jun 2012 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 11787111 | Apr 2007 | US |
Child | 13410539 | US |