1. Field of the Invention
The present invention relates to apparatus and methods to encode information to reduce a probability of errors in a transmission and/or a recording (storage) of the information.
2. Description of the Related Art
In magnetic recording, various sources of noise can corrupt accurate information (for example, thermal noise, interference, and media noise arising from sources such as jitter, DC erase noise, and pulse width/height modulation): Media noise is a dominant source of noise in many current recording systems. The media noise is usually treated as highly correlated non-stationary noise added to a read-back signal. “Transition jitter” is the dominant component of media noise and affects the position of transitions.
RLL Coding schemes use (d, k) constraints, which limit a minimum and a maximum run lengths of zeros, respectively, or alternatively, the schemes control high and low frequency contents of user data. Conventional high-rate RLL (0, k) codes are highly complex for circuit implementation and relatively “blind” in terms of error detection during a demodulation process. The d, k constraints include properties of the conventional codes exploitable for error control purposes. However, this specialized type of error is only a small subset of the total number of possible errors.
A construction of an encoder, which encodes arbitrary binary sequences into sequences, is needed that obeys a specific run-length-limited (RLL) constraint. It is important that the encoder encodes data at a high rate, that the decoder does not propagate channel errors, and that a complexity of encoding and decoding be low.
White noise is added to every symbol entering a channel in a magnetic recording medium. Media Noise, like white noise, is random. Unlike the white noise, the media noise is not added to every symbol. The media noise happens only when there is a transition on the input to the channel. For example, if we input 00010110, then we have media noise when the input changes from a “0” to a “1” and from a “1” to a “0”. The denser a signal is written onto the magnetic recording medium, the more severe media noise becomes. Thus, a recording density controls a ratio of media noise to white noise. For instance, a ratio of 50:50 may be one example.
Let n_j, n_w, and n_e to denote components of media noise, n, due to jitter, j, pulse width noise, w, and electronic noise, e, respectively.
n=n—j+n—w+n—e+n′, where, n′, represents all other noises.
Components n_j and n_w are proportional to a number of pairs, (x(i), x(i+1)), that are (0, 1) or (1, 0). In other words, n_j and n_w, are proportional to a number of times there is a transition in the x sequence either from 0 to 1, or from 1 to 0. Because, n_j and n_w depend on input data, the error performance of the system can vary significantly with the data. Sequences, x, having few transitions will suffer less from, n_j and n_w, than those having many transitions. Accordingly, an encoder is needed to reduce media noise from being added to an input of the channel x(i).
Various objects and advantages of the invention will be set forth in part in the description that follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
According to one aspect, an apparatus has a conversion circuit, a precoder circuit and a selection circuit. The conversion circuit converts user data b1, b2, b3 . . . bk to a coded sequence c0, c1, . . . cq. The precoder circuit having an initial state (s2(0), s1(0)) produces an output x0, x1, x2 . . . xq from the coded sequence c0, c1, c2 . . . cq as follows: x(i)=c(i)⊕s2(i−2), where (x(−2), x(−1))=(s2(0), s1(0)).
The selection circuit selects c0 in the coded sequence C0, c1, c2 . . . cq such that the output x0, x1, x2 . . . xq of the precoder circuit has less than a maximum number q of transitions.
The conversion circuit may include an encoder circuit to convert user data b1, b2, b3 . . . bk to a sequence c1, c2 . . . cq, and a transition minimization circuit to add c0 to the sequence c1, c2 . . . cq.
The apparatus may have a circuit to append the coded sequence c0, c1, c2 . . . cq by adding at least one additional bit to the coded sequence c0, c1, c2 . . . cq to produce a sequence c0, c1, c2, . . . , cq, cq+1, . . . , cm. The at least one additional bit added to produce c0, c1, c2, . . . , cq, cq+1, . . . , cm may include a parity bit.
According to another aspect, a method for coding includes adding a single bit to a input sequence of length q, and producing an output sequence of length q+1 having t transitions such that for any input sequence, t is an integer less than or equal to one half the maximum number of transitions and is represented by the following formula: t≦q/2.
A computer readable medium may store a program for controlling at least one computer to perform the method.
These together with other aspects and advantages which will be subsequently apparent, reside in the details of construction and operation as more fully hereinafter described and claimed, reference being had to the accompanying drawings forming a part hereof, wherein like numerals refer to like parts throughout.
The above and other objects, features and other advantages of the present invention will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings, in which:
Hereinafter, embodiments of the present invention will be described in detail with reference to the attached drawings. The present invention may, however, be embodied in many different forms and should not be construed as being limited to the embodiments set forth herein; rather, these embodiments are provided so that the present disclosure will be thorough and complete, and will fully convey the concept of the invention to those skilled in the art.
In an embodiment according to the present invention, referring to
Thus, as shown in
As previously set forth, the encoder 25 outputs the c(i)'s to the 1/(1⊕D2) precoder 30. The precoder 30 has at time, i, a state s(i)=(s2(i), s1(i)), an input, c(i), and an output x(i), where x(i)=c(i)⊕s2(i). The state, s(i), is updated for time i+1, for instance, as follows: s(i+1)=(s2(i+1),s1(i+1)), where s2(i+1)=s1(i) and s1(i+1)=x(i). In an embodiment where the precoder 30 comprises 1/(1⊕D), the precoder 30 would have at time, i, a state s(i), an input, c(i), and an output x(i), where x(i)=c(i)⊕s(i). The state, s(i), is updated for time i+1, for instance, as follows: s(i+1)=x(i).
In addition to the user bit sequence, b(i)'s, the encoder 25 may use a state, s(i)=(s2(i),s1(i)), of the precoder 30 to generate c(i)'s, which will be explained in more detail below. The precoder 30 is a finite state component and includes a memory to store the state, s(i). Initially, a first state (s2(0), s1(0)) is preset to an initial value of, for instance, (s2(0), s1(0))=(0, 0). In an alternative embodiment, the precoder 30 may be provided as 1/(1⊕D), where initially a first state, s(0), is preset to an initial value of, for instance, s(0)=0.
For instance, assuming that the preset state values of x(i−2) at i=0 and 1 are set to “0” and the input to the precoder 30, c(i)'s, include the following: c(0)=0, c(1)=0, c(2)=1, c(3)=1, and c(4)=0. The output, x(i)'s, of the precoder 30, would provide the relationship as shown in Table 1.
Thus, a every time the input bit, c(i), to the precoder 30 is a “1”, the output value of the output bit, x(i), of the precoder 30 equals the compliment of x(i−2). For other instances, when c(i)=0, the output bit, x(i), of the precoder 30 is x(i−2). In the alternative, if the 1/(1⊕D) precoder is used, then, each time the input bit, c(i), to the precoder 30 is “1”, the output bit, x(i), of the precoder 30 is the compliment of x(i−1). For other instances, when c(i)=0, the output bit, x(i), of the 1/(1⊕D) precoder is x(i−1).
Although the reproductions of the user bit sequence, {circumflex over (b)}(i)'s, should be same as the user bit sequence, b(i)'s, and the input to the precoder 30, c(i)'s, should be same as the output of the inverse of the precoder, ĉ(i)'s, the equality is not always possible because noise, such as media noise, is added to the output of the filters 35 and 40, z(i)'s. Jitter noise and/or pulse width noise happens only when there is a transition on the input to the channels 35 and 40. Accordingly, one way to reduce the noise is to reduce a number of transitions occurring at the input of the channels 35 and 40.
In an exemplary embodiment, x′=(x′(0), x′(1), . . . , x′(q)) is the output of the precoder 30 and input of the channels 35 and 45, having an initial state, s=(s2, s1) and input (0, c1, c2, . . . , cq). Further, let x″=(x″(0), x″(1), . . . , x″(q)) be the output of the precoder 30 and input of the channels 35 and 45, having the initial state, s=(s2, s1) and input (1, c1, c2, . . . , cq). Then, a maximum number of transitions, q, has the following relationship:
(Number of transitions in x′)+(Number of transitions in x″)=q.
where:
Accordingly, the codeword, (c0, c1, c2, . . . , cq) generated according to the exemplary embodiment above will produce no more than q/2 transitions at the output of the precoder, such as one-half the maximum number of transitions.
For illustrative purposes, Table 2 illustrates x′ and Table 3 illustrates x″, where the preset state values of s(0)=(s2(0), s1(0))=(0, 0). The inputs of the precoder 30 range from c(0) to c(9). Accordingly, the maximum number of transitions, q, would be 9.
As shown in Table 2, if the additional bit c(0) added to the input of the precoder 30, in accordance with an embodiment of the present invention, is set to equal to zero, then the output of the precoder 30, x′(i), transitions three times. Specifically, as a first transition, the output of the precoder 30 transitions from x′(0)=0 to x′(1)=1. Subsequently, as a second transition, the output of the precoder 30 transitions from x′(3)=1 to x′(4)=0. As a third transition, the output of the precoder 30 transitions from x′(4)=0 to x′(5)=1.
In contrast, as shown in Table 3, if the additional bit c(0) added to the input of the precoder 30, in accordance with an embodiment of the present invention, is set to equal to one, then the output of the precoder 30, x″(i), transitions six times. Specifically, as a first transition, the output of the precoder 30 transitions from x″(1)=1 to x″(2)=0. As a second transition, the output of the precoder 30 transitions from x″(2)=0 to x″(3)=1, and as a third transition, the output of the precoder 30 transitions from x″(5)=1 to x″(6)=0. Subsequently, as a fourth transition, the output of the precoder 30 transitions from x″(6)=0 to x″(7)=1, and as a fifth transition, the output of the precoder 30 transitions from x″(7)=1 to x″(8)=0. Finally, as a sixth transition, the output of the precoder 30 transitions from x″(8)=0 to x″(9)=1. Accordingly, to reduce the number of transitions at the output of the precoder 30, to thereby resolve, for instance, the reduction of media noise, the additional bit, c(0), would be best set to equal to zero. In an alternative embodiment, two additional bits may be used at the beginning of the input sequence to a precoder 30 of c1, c2, . . . , cq to significantly reduce a number of transitions at the input of channel filters 35 and 40 in the magnetic recording medium.
For instance, for a rate of 80/81, the encoder 25 of the first embodiment receives 80 bits, b=(b(01)-b(80)), and generates a codeword, c=(c(00) c(01) . . . c(81)), where (c(01) . . . c(81)), is a codeword generated by a code, C, in response to (b(01)-b(80)), and where, c(00), is obtained based on operation 120 of the first embodiment. In turn, the decoder 60 receives 82 bits, {circumflex over (c)}=[ĉ(0) ĉ(1) . . . ĉ(80) ĉ(81)], and generates, {circumflex over (b)}=[{circumflex over (b)}(1) {circumflex over (b)}(2) . . . {circumflex over (b)}(80)], where, {circumflex over (b)}, is generated by the code, C, decoder in response to, ĉ(1) . . . ĉ(80) ĉ(81). The C code improves the RLL conditions, the distance enhancement, and/or the clock recovery information. Details of the C code are set forth in the U.S. patent application titled “MODULATION CODING BASED ON AN ECC INTERLEAVE STRUCTURE,” filed concurrently herewith, the disclosure of which is incorporated herewith by reference.
In particular, operations 200, 210, and 220 of
One example of exactly one bit cq+1, where cq+1 is the parity bit, is as follows: given 64 user bits b=(b(1), b(2), . . . b(63), b(64)), and state, s=(s2, s1), of the precoder 30, the encoder 25 produces a 67 bit codeword,
c=[c(0) c(1) . . . c(65) c(66)],
where (c(1) . . . c(65)) is a codeword generated by the code C, in response to b. Bit, c(0), is generated as follows:
c(0)=0 if number of transitions of x′=(x′(0), . . . , x′(65))≦33, and
c(0)=1 if number of transitions of x″=(x″(0), . . . , x″(65))≦33,
where, as before, x′, is the output of, 1/(1⊕D2), precoder 30 having an initial state, S=(s2, s1), and input (0, c(1), c(2), . . . , c(65)). Further, x″, is the output of the precoder having initial state, s=(s2, s1), and input (1, c(1), c(2), . . . , c(65)). The above description of c(0) is valid due to the following relationship:
Number of transitions of (x′)+Number of transitions of (x″)=65
Subsequently, bit c(66) is generated as follow:
where bit c(66) is such that x(0)+x(1)+ . . . +x(66) has even number of ones (even parity.)
Accordingly, the bit, c(m), is such that x(0)+x(1)+ . . . +x(m) has an even number of ones (i.e., even parity). Thus, the second embodiment of the present invention provides flexibility to allow resolving parity issues. Specifically, in one exemplary embodiment, the codeword or output of the encoder 25, c(i)'s, generated at operation 200 has an original even parity at the output of the precoder 30. At operation 220, by allowing the addition of the bit, cm, after the value of the additional bit, c0, is determined, the even parity of the codeword, (c0, c1, c2, . . . , cq, . . . , cm), may be achieved. In alternative embodiments, additional bits may be added to the codeword (c0, c1, c2, . . . , cq, cq+1, . . . , cm) for other purposes.
One of the many advantages of the methods of
Although the method in accordance with an embodiment of the present invention is described in the context of a 1/(1⊕D2) precoder, the application of the method is not limited to 1/(1⊕D2) precoder. For instance, for a 1/(1⊕D) precoder, the embodiments below reduce (in average) the number of transitions at the output of the precoder 30, thus, controlling media noise. First embodiment, a 1/(1⊕D) term is added to the code—effectively making the precoder look like 1/(1⊕D2). Second embodiment, it must be noted that when precoder is 1/(1⊕D), a “1” in c(i)'s causes a transition in x(i)'s. Therefore, in construction of a code, operations 120 and 220 of
(c0, c1, c2, . . . , cq)=(0, c1, . . . , cq), if c1+ . . . +cq≦└q/2┘, and
(c0, c1, c2, . . . , cq)=(1-0, 1-c1, . . . , 1-cq), otherwise.
The present invention has been described with respect to a system and method performing high rate coding by adding one additional bit to a beginning of the input sequence to a precoder as (c1, c2, . . . , cq) and controlling a value of the additional bit to significantly reduce a number of transitions at an input of channel filters in a magnetic recording medium to reduce an amount of noise.
The system implementing the method described above includes permanent or removable storage, such as an application specific integrated circuit (ASIC), magnetic and optical discs, RAM, ROM, etc. on which the process and data structures of the present invention can be stored and distributed. The processes can also be distributed via, for example, downloading over a network such as the Internet. Although the system of the present invention has been described in view of a magnetic recording medium, the system may be incorporated and applied to other communication systems.
The many features and advantages of the invention are apparent from the detailed specification and, thus, it is intended by the appended claims to cover all such features and advantages of the invention that fall within the true spirit and scope of the invention. Further, since numerous modifications and changes will readily occur to those skilled in the art, it is not desired to limit the invention to the exact construction and operation illustrated and described, and accordingly all suitable modifications and equivalents may be resorted to, falling within the scope of the invention.
Number | Date | Country | |
---|---|---|---|
Parent | 10869843 | Jun 2004 | US |
Child | 11359453 | Apr 2006 | US |
Parent | 10253911 | Sep 2002 | US |
Child | 10869843 | Jun 2004 | US |