The present invention relates to data coding in communications channels, and more particularly to data coding that eliminates unwanted bit patterns in communications channels.
Magnetic storage systems such as disk drives include a magnetic medium or platter with a magnetic coating that is divided into data tracks. The data tracks are divided into data sectors that store fixed-size data blocks. A read/write head typically includes a write circuit and a write element such as an inductor that selectively generates positive and negative magnetic fields that are stored by the magnetic medium. The stored positive and negative fields represent binary ones and zeros. The read/write head includes an element such as a magneto-resistive element that senses the stored magnetic field to read data from the magnetic medium. A spindle motor rotates the platter and an actuator arm positions the read/write head relative to the magnetic medium.
Magnetic storage systems typically code user data using Run Length Limited (RLL) code. RLL coding eliminates sequences in the user data that may degrade the performance of timing circuits of the magnetic storage system. For example, an RLL code enforces constraints on the number of consecutive ones and/or zeros that are permitted in the data. The efficiency of the RLL code is typically measured in terms of a code rate. For every m bits of user data, an encoded word with n bits is written to the storage media. RLL codes are used to eliminate unwanted bit patterns in the original data and typically do not have error correction capability.
Referring to
A scrambled output of the XOR gate 14 is input to a run length limited (RLL) ENC 18. The RLL ENC 18 encodes bit strings to prevent unwanted data patterns that violate the constraint and outputs a bit stream to a read channel (R/C). Typically, the RLL ENC 18 converts a block of NRLL bits into (NRLL+1) bits to avoid the unwanted data patterns.
Referring now to
A communications channel includes a buffer that receives user data symbols including a plurality of M-bit symbols. A seed selector receives the plurality of M-bit symbols, selectively removes symbols from a seed set based on Hamming distances between at least two of the M-bit symbols, and selects a scrambling seed from remaining symbols in the seed set. A scrambling device that communicates with the seed selector and the data buffer generates scrambled user data based on the user data symbols and the scrambling seed.
In other features, the communications channel is implemented in a data storage system. The seed selector ensures a minimum Hamming weight of 15 percent in the scrambled user data. The seed selector compares first and second user data symbols in the plurality of M-bit symbols.
Further areas of applicability of the present invention will become apparent from the detailed description provided hereinafter. It should be understood that the detailed description and specific examples, while indicating the preferred embodiment of the invention, are intended for purposes of illustration only and are not intended to limit the scope of the invention.
The present invention will become more fully understood from the detailed description and the accompanying drawings, wherein:
The following description of the preferred embodiment(s) is merely exemplary in nature and is in no way intended to limit the invention, its application, or uses. For purposes of clarity, the same reference numbers will be used in the drawings to identify similar elements.
Hamming weight refers to the number of non-zero symbols in a symbol sequence. For binary signaling, Hamming weight refers to the number of “1” bits in the binary sequence. Low Hamming weight sequences (sequences with many zeros) adversely affect synchronization times and timing loops. Therefore, it is desirable to ensure a sufficient minimum Hamming weight in scrambled sequences.
Referring now to
A delayed output of the data buffer 38 is also output to the XOR device 42 when the scrambling sequence is found. The delay of the data buffer 38 is sufficient to allow the scrambling sequence to be generated by the data dependent seed selector 40. An output of the XOR device 42 and overhead bits that are output by the data dependent seed selector 40 are input to an ECC ENC 44, which appends any scrambler overhead bits to the scrambled user data. The ECC ENC 44 generates ECC and/or CRC bits based on the scrambled user data and/or the overhead bits. The write path 36 may additionally include post-coding devices that perform bit interleaving, segmenting and inversion, and/or all-zero symbol replacement. Post-code encoding and decoding is described further in “Improved Data Coding for Enforcing Constraints on Ones and Zeros in a Communications Channel,”, U.S. patent application Ser. No. 10/423,552, which was filed on Apr. 25, 2003 and which is hereby incorporated by reference in its entirety.
Referring now to
During operation, the user data is input to the data dependent seed selector 40. The data dependent seed selector 40 analyzes the user data so that the scrambling seed A can be determined. The data buffer 38 stores the user data. After the scrambling seed A is determined, the data buffer 38 releases the stored data to the XOR device 42 while the data dependent seed selector 40 repeats the seed pattern A until the stored data in the data buffer 38 is exhausted.
A first input of the ECC ENC 44 receives the scrambling seed A as the overhead bits and a second input to the ECC ENC 44 receives the scrambled sequence C={CN−1, CN−2, . . . , C0}. The ECC ENC 44 appends the scrambling seed A as well as any generated ECC and/or CRC bits, illustrated at 60 and 62, respectively, to the scrambled sequence C={CN−1, CN−2, . . . , C0}.
For binary signaling with a symbol size M, there are 2M possible symbols. For example, for a 10-bit symbol size, M=10 and there are 210=1024 possible symbols. These symbols form a seed set S. It is desirable for the data dependent seed selector 40 to limit long “1” and/or “0” patterns in the scrambled sequence C={CN−1, CN−2, . . . , C0}. Therefore, based on a given data sequence D={DN−1, DN−2, . . . , D0}, the data dependent seed selector 40 marks symbols in the seed set S as “used symbols”. After analyzing all of data sequence D={DN−1, DN−2, . . . , D0}, the data dependent seed selector 40 selects an “unused symbol” in the seed set S as the scrambling seed A.
Since the XOR of two identical symbols produces an all “0” pattern, the data dependent seed selector 40 designates every Di in S as a used symbol. Finding a scrambling seed A from the remaining unused symbols in the seed set S is always possible if N<2M, where M is the symbol size. For example, it is always possible to find a scrambling seed A in S when N<210=1024 for 10-bit symbols. This ensures that at least one “1” exists in each of the scrambled symbols Ci in the scrambled sequence C={CN−1, CN−2, . . . , C0}. This equates to a minimum Hamming weight of 10% for the bits in each Ci as well as the entire scrambled sequence C={CN−1, CN−2, . . . , C0}. The worst case run of zeros thus cannot be greater than two less than twice the number of bits in a symbol, or 18 (for 10-bit symbols).
The data dependent seed selector 40 of the present invention ensures a minimum Hamming weight of 15% in the scrambled sequence C={CN−1, CN−2, . . . , C0} (for 10-bit symbols). This is achieved by designating symbols in the seed set S as used symbols based on the Hamming distance between sequential pairs of symbols, Di and Di−1, in data sequence D={DN−1, DN−2, . . . , D0}. The Hamming distance between two symbols is equal to the number of digits that the symbols do not have in common. For example, in binary signaling, the Hamming distance between 1110 and 1100 is equal to one, because the binary sequences differ by only one bit.
Referring now to
When the Hamming distance between Di and Di−1 is equal to two, the data dependent seed selector 40 designates symbols Di and Di−1 as used, symbols in the seed set S. Additionally, the data dependent seed selector 40 designates symbols X and Y as used in S. Symbol X has a Hamming distance from both Di and Di−1 that is equal to one. Symbol Y also has a Hamming distance from both Di and Di−1 that is equal to one. When the Hamming distance between Di and Di−1 is equal to two, Di and Di−1 have two bits that are different. Symbols X and Y are determined by the two bits of Di and Di−1 that differ. This designates a total of four symbols in S as used symbols for the sequential pair of symbols. As a result, the minimum Hamming distance between a scrambling seed A and Di is equal to one. In that case, the minimum Hamming distance between A and Di−1 is equal to three. As in the case where the Hamming distance between Di and Di−1 is greater than or equal to four, the reverse is also true. This produces a minimum Hamming weight of 4/20=20% for the combination of Ci and Ci−1 in the scrambled sequence C={CN−1, CN−2, . . . , C0}.
When the Hamming distance between Di and Di−1 is equal to one, the data dependent seed selector 40 designates symbols Di and Di−1 as used symbols in the seed set S. This designates a total of two symbols as used symbols in S for the sequential pair of symbols. As a result, the minimum Hamming distance between a scrambling seed A and Di is equal to one. In that case, the minimum Hamming distance between A and Di−1 is equal to two. As in the case where the Hamming distance between Di and Di−1 is greater than or equal to three, the reverse is also true. This produces a minimum Hamming weight of 3/20=15% for the combination of Ci and Ci−1, in the scrambled sequence C={CN−1, CN−2, . . . , C0}.
When symbols Di and Di−1 are equal, the data dependent seed selector 40 also examines symbol. Di−2. The data dependent seed selector 40 designates symbols Di and Di−2 as used symbols in the seed set S. The data dependent seed selector 40 additionally designates a set of symbols Z as used symbols in S. Z includes all symbols that have Hamming distances from Di (and thus Di−1) that are equal to one. Set Z includes ten symbols for 10-bit symbols and is determined by individually determining the one's complement of each of the bits of Di or Di−1. This designates a total of twelve symbols as used symbols in S for the three sequential symbols. As a result, the minimum Hamming distance between a scrambling seed A and Di or Di−1 is equal to two. In that case, the minimum Hamming distance between A and Di−2 is equal to one. This produces a minimum Hamming weight of 5/30=16.67% for the combination of Ci, Ci−1, and Ci−2 in the scrambled sequence C={CN−1, CN−2, . . . , C0}.
The data dependent seed selector 40 designates a maximum of twelve symbols as used symbols in the seed set S for every three sequential symbols in data sequence D={DN−1, DN−2, . . . , D0} according to the first seed set algorithm 92. This restricts the data sequence size N to N<|210/12|*3=255 symbols (for 10-bit symbols) for a single scrambling seed A. Therefore, for data sequences that have 255 or more symbols, more than one scrambling seed must be used to scramble the entire data sequence. For example, a first scrambling seed Ai may be used to scramble the first half of a data sequence, and a second scrambling seed A2 may be used to scramble a second half of a data sequence.
When symbols Di and Di−1 are equal, the data dependent seed selector 40 also examines symbols Di−2 and Di−3. The data dependent seed selector 40 designates symbols Di, Di−2, and Di−3 as used symbols in the seed set S. The data dependent seed selector 40 additionally designates set Z as used symbols in S as in the first seed set algorithm 92. This designates a total of 13 symbols as used symbols in S for the four sequential symbols. As a result, the minimum Hamming distance between a scrambling seed A and Di or Di−1 is equal to two. Also, the minimum Hamming distance between A and Di−2 or Di−3 is equal to one. This produces a minimum Hamming weight of 6/40=15% for the combination of Ci, Ci−1, Ci−2, and Ci−3 in the scrambled sequence C={CN−1, CN−2, . . . , C0}.
The data dependent seed selector 40 designates a maximum of thirteen symbols as used symbols in seed set S for every four sequential symbols in data sequence D according to the second seed set algorithm 94. This restricts the data sequence size N to N<|210/13|*4=312 symbols (for 10-bit symbols) for a single scrambling seed A. Therefore, for data sequences that have 312 or more symbols, more than one scrambling seed must be used to scramble the entire data sequence. Therefore, the second seed set algorithm 94 allows a larger maximum data sequence size N than the first seed set algorithm 92 while still ensuring a minimum Hamming weight of fifteen percent in the scrambled sequence C={CN−1, CN−2, . . . , C0}.
Referring now to
In step 110, control determines whether d is equal to two. If false, control proceeds to step 118. If true, control proceeds to step 120. In step 120, the data dependent seed selector 40 designates symbols Di, Di−1, X, and Y as used in S and control proceeds to step 114. In step 118, control determines whether i is equal to one. If true control proceeds to step 122. If false, control proceeds to step 124. In step 122, the data dependent seed selector 40 designates symbols Di and Z as used in S and control proceeds to step 114. In step 124, the data dependent seed selector 40 designates symbols Di, Di−2, and Z as used in S. In step 126, control decrements i and control proceeds to step 96.
Referring now to
In step 142, control determines whether d is equal to two. If false control proceeds to step 150. If true, control proceeds to step 152. In step 152, the data dependent seed selector 40 designates symbols Di, Di−1, X, and Y as used in S and control proceeds to step 146. In step 150, control determines whether i is equal to one. If false, control proceeds to step 154. If true, control proceeds to step 156. In step 156, the data dependent seed selector 40 designates symbols Di and Z as used in S and control proceeds to step 146. In step 154, control determines whether i is equal to two. If false, control proceeds to step 158. If true, control proceeds to step 160. In step 160, the data dependent seed selector 40 designates symbols Di, Di−2, and Z as used in S. In step 162, control decrements i and control proceeds to step 146. In step 158, the data dependent seed selector 40 designates symbols Di, Di−2, Di−3, and Z as used in S. In step 164, control decrements i and control proceeds to step 162.
Referring now to
A third seed set algorithm 172 illustrated in
When the Hamming distance between Di and Di−1 is equal to two, the data dependent seed selector 40 designates symbols Di,
When the Hamming distance between Di and Di−1 is equal to one, the data dependent seed selector 40 designates symbols Di,
When symbols Di and Di−1 are equal, the data dependent seed selector 40 designates symbols Di,
The data dependent seed selector 40 designates a maximum of fourteen symbols as used in S for every three sequential symbols in the data sequence D according to the third seed set algorithm 172. This restricts the data sequence size N to N<|210/14|*3=219 symbols (for 10-bit symbols) for a single scrambling seed A. Therefore, for data sequences that have 219 or more symbols, more than one scrambling seed must be used to scramble the entire data sequence.
The data dependent seed selector 40 designates a maximum of sixteen symbols as used in S for every four sequential symbols in the data sequence D={DN−1, DN−2, . . . , D0} according to the fourth seed set algorithm 174. This restricts the data sequence size N to N<|210/16|*4=256 symbols (for 10-bit symbols) for a single scrambling seed A. Therefore, for data sequences that have 256 or more symbols, more than one scrambling seed must be used to scramble the entire data sequence. The third and fourth seed set algorithms 172 and 174, respectively, have a smaller maximum sequence size N than the first and second seed set algorithms 92 and 94, respectively. This is due to the fact that the third and fourth seed set algorithms 172 and 174, respectively, designate the symbols in the data sequence as well as the one's complement of the symbols in the data sequence as used in seed set S.
Referring now to
In step 190, control determines whether d is equal to two. If false, control proceeds to step 198. If true, control proceeds to step 200. In step 200, the data dependent seed selector 40 designates symbols Di,
Referring now to
In step 222, control determines whether d is equal to two. If false control proceeds to step 230. If true, control proceeds to step 232. In step 232, the data dependent seed selector 40 designates symbols Di,
Application-specific integrated circuits, dedicated circuits, software and a processor, discrete circuits, and/or any other suitable manner can be used to implement configurations described herein. Thus, items referred to as “devices” in the examples described above can be, but are not necessarily discrete components.
The data dependent seed selector 40 of the present invention ensures a minimum Hamming weight of 15% in scrambled sequences when 10-bit symbols are employed. This is an improvement over methods that only ensure a minimum Hamming weight of 10% in scrambled sequences. However, data sequences with other symbol sizes may be employed. The present invention also ensures sufficient transition density in scrambled sequences by preventing long “1” patterns from occurring in scrambled symbols. Furthermore, the data dependent seed selector 40 only generates a scrambler overhead of M bits, where M is the symbol size, when one scrambling seed is required for a data sequence.
Those skilled in the art can now appreciate from the foregoing description that the broad teachings of the present invention can be implemented in a variety of forms. Therefore, while this invention has been described in connection with particular examples thereof, the true scope of the invention should not be so limited since other modifications will become apparent to the skilled practitioner upon a study of the drawings, specification, and the following claims.
This application is a continuation of U.S. Ser. No. 10/652,801, filed Aug. 29, 2003, now abandoned which claims the benefit of U.S. Provisional Application No. 60/432,109, filed on Dec. 9, 2002, which is incorporated herein by reference in its entirety.
Number | Name | Date | Kind |
---|---|---|---|
4509118 | Shenk | Apr 1985 | A |
4649540 | Proebsting | Mar 1987 | A |
4780875 | Sakai | Oct 1988 | A |
RE33189 | Lee et al. | Mar 1990 | E |
4914535 | Weng | Apr 1990 | A |
4958352 | Noguchi et al. | Sep 1990 | A |
4978955 | Howell | Dec 1990 | A |
4993029 | Galbraith et al. | Feb 1991 | A |
5068755 | Hamilton et al. | Nov 1991 | A |
5075804 | Deyring | Dec 1991 | A |
5115467 | Esserman et al. | May 1992 | A |
5255136 | Machado et al. | Oct 1993 | A |
5257143 | Zangenehpour | Oct 1993 | A |
5274509 | Buch | Dec 1993 | A |
5276564 | Hessing et al. | Jan 1994 | A |
5289476 | Johnson et al. | Feb 1994 | A |
5371734 | Fischer | Dec 1994 | A |
5383205 | Makihara et al. | Jan 1995 | A |
5420893 | Ward | May 1995 | A |
5422763 | Harris | Jun 1995 | A |
5455721 | Nemazie et al. | Oct 1995 | A |
5523903 | Hetzler et al. | Jun 1996 | A |
5570307 | Takahashi | Oct 1996 | A |
5592348 | Strang, Jr. | Jan 1997 | A |
5627695 | Prins et al. | May 1997 | A |
5640286 | Acosta et al. | Jun 1997 | A |
5712863 | Gray | Jan 1998 | A |
5745522 | Heegard | Apr 1998 | A |
5764771 | De Vito et al. | Jun 1998 | A |
5784010 | Coker et al. | Jul 1998 | A |
5818654 | Reddy et al. | Oct 1998 | A |
5844509 | Behrens et al. | Dec 1998 | A |
5931968 | Gray | Aug 1999 | A |
5944842 | Propp et al. | Aug 1999 | A |
6003153 | Shimoda | Dec 1999 | A |
6009550 | Gosula et al. | Dec 1999 | A |
6032284 | Bliss | Feb 2000 | A |
6052815 | Zook | Apr 2000 | A |
6052817 | Whaley | Apr 2000 | A |
6137646 | Okamura et al. | Oct 2000 | A |
6177890 | Keirn et al. | Jan 2001 | B1 |
6185717 | Fukunaga et al. | Feb 2001 | B1 |
6351538 | Uz | Feb 2002 | B1 |
6360347 | Walters, Jr. | Mar 2002 | B1 |
6384747 | Reed et al. | May 2002 | B1 |
6449111 | Kool et al. | Sep 2002 | B1 |
6896094 | Chabaan | May 2005 | B1 |
6897792 | Feng | May 2005 | B1 |
7006016 | Feng | Feb 2006 | B1 |
7023881 | Bendak et al. | Apr 2006 | B1 |
20010007578 | Ran et al. | Jul 2001 | A1 |
20020172179 | Grimsrud | Nov 2002 | A1 |
20030014634 | Petrovic | Jan 2003 | A1 |
20030135798 | Katayama et al. | Jul 2003 | A1 |
Number | Date | Country |
---|---|---|
522750 | Jul 1991 | EP |
Number | Date | Country | |
---|---|---|---|
60432109 | Dec 2002 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 10652801 | Aug 2003 | US |
Child | 10894864 | US |