Run length limited

Run length limited

Run length limited or RLL coding is a technique that is used to store data on recordable media. Specifically, RLL prevents long stretches of repeated bits from causing the signal recorded on media to not change for an excessive period, by modulating the data. RLL reduces the timing uncertainty in decoding the stored data which would lead to the possible errant insertion or removal of bits when reading the data back. Run length limited codes are widely used in hard disk drives, digital optical discs such as CD, DVD and Blu-ray as the mechanism to ensure that the boundaries between bits can always be accurately found while efficiently using the media to reliably store the maximum amount of data in a given space. RLL coding is also used in Hi-MDs. While other forms of coding can also achieve either or both of these goals, few if any can achieve both as well, and RLL is simpler to implement than some, which led to its becoming the de facto industry standard for hard disks by the early 1990s.

Need for RLL coding

On a hard disk, information is represented by changes in the direction of the magnetic field on the disk. Since bits are generally conceived as zeros and ones, with zero being nothing and one being something, but tracks on a hard disk are always magnetized, with only the polarity of the field varying, some code must be used to translate between bits and magnetism. One of the simplest practical codes, Modified Non-Return-to-Zero-Inverted (NRZI), simply encodes a 1 as a magnetic polarity transition, also known as a "flux reversal", and a zero as no transition. With the disk spinning at a constant rate, each bit is given an equal time period, a "data window," for the magnetic signal that represents that bit, and the flux reversal, if any, occurs at the start of this window. (Note: older hard disks used the same data window over the whole disk, but modern disks are more complicated; for more on this, see zoned bit recording.) Say the data window is 1 ns (one nanosecond, or one billionth of a second.) Then for the data pattern 101, there will be a flux transition plus the remainder of 1 ns of unchanging magnetic field to represent the first "1", then a 1 ns period of unchanging field representing the "0", and then another flux reversal and the remainder of 1 ns representing the second one. In this example, there were two ones relatively close together, and no long periods without a flux reversal occurred, so it was easy to keep track of the data window and not drift out of sync. Now, consider encoding "000000000" (a string of nine zeros in a row.) This would involve simply keeping the magnetic polarity unchanged for 9 times the data window or 9 ns. However, when decoding the data to retrieve it, timing uncertainty limits the accuracy with which the data window can be measured out onto the data. Uncertainty is introduced by small changes in disk speed, as well as by possible drift in the frequency of the clock circuit providing the time reference for the electronics (that count out data window periods), including temperature related drift and manufacturing tolerance (variation) of the electronic components. This uncertainty may cause the decoder to detect that 8 or 10 zero bits were read from the media when it should detect nine. If more zero bits follow, the risk of this sort of error only gets higher. In arbitrary data, no number of zero bits in a row is impossible, so no matter how precise the timing of the system is made, it is always possible there will be a string of zeros so long that the system cannot guarantee a correct count when reading them back.

To prevent this problem, data is coded in such a way that these long stretches without a transition do not occur. That means the source data is transformed into a code that limits the maximum number of zeros between two successive ones. At the same time, a related issue can be solved: in NRZI, encoding "111111" would be done by repeatedly changing the magnetic phase rapidly. However, there is a minimum distance between transitions possible, so if the encoding guarantees a minimum number of zeros between consecutive 1s, then it is possible to write more bits per linear distance on a disk track. This is greater efficiency, and it means more data can be stored in the same space on disk, yielding physical smaller and lighter drives or more data storage capacity in the same physical drive.

History

The RLL recording technique, specifically RLL (2,7), was originally developed by IBM engineers, and was first used commercially in 1979 on the IBM 3370 DASD, [ [http://www.research.ibm.com/journal/rd/255/ibmrd2505ZC.pdf A Quarter Century of Disk File Innovation] , IBM Journal of Research and Development.] [P.A. Franaszek (1972), “Run-Length-Limited Variable Length Coding with Error Propagation Limitation”, US Patent|3689899.] [ [http://www.disktrend.com/5decades2.htm Five decades of disk drive industry firsts] , DISK/TREND Reports.] for use with the 4300 series mainframe. During the late 1980s, PC hard disks began using RLL. RLL codes have found almost universal application in optical disc recording practice since 1980. In consumer electronics, RLLs like the EFM code with (Eight-to-Fourteen:rate = 8/14, d=2, k=10) are employed in the Compact Disc (CD), and the EFMPlus code (rate = 8/16, d=2, k=10) used in the DVD. Parameters d, k are theminimum and maximum allowed run-lengths. For more coverage on the storage technologies, the references cited in this article are useful.

Technical overview

Generally "run-length" is the number of bits for which signal remains unchanged. A run-length of 3 for bit 1, represents a sequence of '111'. For instance, the runlengths in the string '0111100111000000' are of length 1, 4, 2, 3, and 6. Run length limited sequences are characterized by two parameters, (d) and (k), which stipulate the minimum and maximum runlength that can occur in the sequence. So RLL's are generally specified as (d,k) RLL. eg: (1,3) MFM RLL.

For disk drives the situation is little different. A disk drive stores information by changing the magnetic polarization of the disk surface. A change in polarization is considered to be a '1' bit, while if there is no change for a time it is considered to be a '0' bit. The actual signal on the disk might be '+−−−−++−−−++++++' but this is usually read as '0100010100100000'. So run length limited coding for a disk is really about the upper and lower limits on how many '0's there must be between consecutive '1's. A magnetic tape might be able to support 3,200 flux reversals per inch.

A Modified Frequency Modulation or (1,3) RLL encoding stores each data bit as two bits on tape, but since there is guaranteed to be one 0 (non flux reversal) bit between any 1 (flux reversal) bits then it is possible to store 6,400 encoded bits per inch on the tape, or 3,200 data bits per inch. A (1,7) RLL encoding can also store 6,400 encoded bits per inch on the tape, but since it only takes 3 encoded bits to store 2 data bits this is 4,267 data bits per inch. A (2,7) RLL encoding can takes 2 encoded bits to store each data bit, but since there is guaranteed to be two 0 bits between any 1 bits then it is possible to store 9,600 encoded bits per inch on the tape, or 4,800 data bits per inch.

The flux reversal densities on hard drives are significantly greater, but the same improvements in storage density are seen by using different encoding systems.

Coding

In the encoded format a "1" bit indicates a flux transition, while a "0" indicates that the magnetic field on the disk does not change for that time interval.

FM: (0,1) RLL

Generally, the term "RLL code" is used to refer to more elaborate encodings, but the original frequency modulation code can be seen as a simple rate-1/2 RLL code.The added 1 bits are referred to as clock bits.

Example: Data: 0010 1101 0001 1000 Encoded: 10010011011101111010

MFM: (1,3) RLL

Modified frequency modulation begins to get interesting, because it imposes a constraint of "k"=1, thereby allowing a higher recording rate. Although its coding rate is only 1/2, the doubled recording rate limit makes it equivalent to a rate-1 code.

Example: Data: 1 1 "0 1 1 "0 0 1 1 Encoded: 1000"001000"00001000

DC Free (1,7) RLL

There is also an alternate (1,7) RLL encoding that is sometimes used to avoid a DC bias (which helps when sending a signal over a long distance or with some types of recording media).

Where "x" is the complement of the previous encoded bit (i.e. 1 if the previous bit was 0, and 0 if the previous bit was 1).

Example: Data: 0 1 0 0 1 1 0 1 0 1 Encoded: 010 101 000 000 010

Other encodings

RLL is closely related to group code recording (GCR).Other schemes include FM and MFM (Modified Frequency Modulation).

ee also

*PRML
*Run-length encoding
*Line code
*Error correcting codes
*Source coding
*Modulation
*Physical layer
*Self-synchronizing code and bit synchronization
*8b/10b encoding

References

External links

* [http://www.quadibloc.com/comp/tapeint.htm Digital Magnetic Tape Recording]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • Run Length Limited — (RLL) ist eine Gruppe von Leitungscodes, welche im Bereich der Telekommunikation und bei Speichermedien wie magnetischen Plattenspeichern als Schreibverfahren verwendet werden. Die Leitungscodes dieser Gruppe sind dadurch gekennzeichnet, dass… …   Deutsch Wikipedia

  • run-length limited — runˈ length limited adjective (computing) Denoting a coding strategy used in magnetic and optical recording to eliminate the error caused by long runs of consecutive identical digits, which cannot be counted accurately, by ensuring that the… …   Useful english dictionary

  • Run-length encoding — (RLE) is a very simple form of data compression in which runs of data (that is, sequences in which the same data value occurs in many consecutive data elements) are stored as a single data value and count, rather than as the original run. This is …   Wikipedia

  • advanced run-length limited encoding —    Abbreviated ARLL. A technique used to store information on a hard disk that increases the capacity of runlength limited (RLL) storage by more than 25 percent and increases the data transfer rate to 9Mbps.    See also RLL encoding …   Dictionary of networking

  • Limited-stop — bus, tram or train services omit calls at certain stops in order to offer a faster trip between the places served. The term is normally used on routes with a mixture of fast and slow services. Additionally there may be a semi fast service with… …   Wikipedia

  • Limited series — A limited series is a comic book series with a set number of installments. A limited series differs from an ongoing series in that the number of issues is determined before production and it differs from a one shot in that it is composed of… …   Wikipedia

  • run — run1 W1S1 [rʌn] v past tense ran [ræn] past participle run present participle running ▬▬▬▬▬▬▬ 1¦(move quickly using your legs)¦ 2¦(race)¦ 3¦(organize/be in charge of )¦ 4¦(do something/go somewhere quickly)¦ 5¦(buses/trains etc)¦ …   Dictionary of contemporary English

  • run — runnable, adj. runnability, n. /run/, v., ran, run, running, n., adj. v.i. 1. to go quickly by moving the legs more rapidly than at a walk and in such a manner that for an instant in each step all or both feet are off the ground. 2. to move with… …   Universalium

  • Run Devil Run — Infobox Album | Name = Run Devil Run Type = Album Artist = Paul McCartney Released = 4 October 1999 Recorded = 1 March 5 May 1999 (Abbey Road studios) Genre = Rock Roll Length = 40:46 Label = Parlophone/EMI (UK), Capitol Records (US) Producer =… …   Wikipedia

  • Run to the Hills — Infobox Single Name = Run to the Hills Artist = Iron Maiden from Album = The Number of the Beast, Live After Death B side = 1982 single Total Eclipse 1985 live single Phantom of the Opera (live) , Losfer Words (Big Orra) 2002 live single Part 1… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”