RLL 1,7 vs RLL 2,7 Encoding Differences

Run-Length Limited (RLL) encoding is a modulation technique used by magnetic disk controllers to store binary data efficiently and reliably on physical media. The two prominent variants, RLL (1,7) and RLL (2,7), differ fundamentally in their code rates, minimum and maximum run lengths of zeros, data density, and timing jitter tolerance. While RLL (2,7) achieves a higher theoretical data density by enforcing larger gaps between magnetic flux transitions, RLL (1,7) offers a wider detection window that provides superior tolerance to timing jitter, making it widely adopted in later high-density drive technologies.

Understanding RLL (d,k) Notation

In RLL \((d,k)\) schemes, user data bits are translated into channel bits (code bits) that dictate where magnetic flux transitions occur:

RLL (1,7) Encoding

RLL (1,7) uses a code rate of 2/3, meaning 2 input data bits are mapped to 3 channel bits.

RLL (2,7) Encoding

RLL (2,7) uses a code rate of 1/2, meaning 1 input data bit is mapped to 2 channel bits.

Key Technical Comparisons

1. Recording Density

RLL (2,7) provides a density ratio of 1.50, representing a 50% capacity improvement over standard Non-Return-to-Zero (NRZ) recording and an advantage over RLL (1,7)’s 1.33 ratio. Because \(T_{\text{min}}\) is \(1.50T\) in RLL (2,7) versus \(1.33T\) in RLL (1,7), magnetic transitions can be physically placed closer together on the disk surface for the same degree of pulse crowding.

2. Detection Window and Jitter Margin

The detection window (\(T_w\)) defines the timing margin the read channel has to resolve a transition. * RLL (1,7) has a window of \(0.67T\) (33% larger than RLL 2,7). * RLL (2,7) has a window of \(0.50T\).

Because RLL (1,7) has a broader detection window, it is less vulnerable to phase jitter, peak shift, and noise, allowing disk controllers to read data accurately at higher channel frequencies.

3. Maximum-to-Minimum Transition Ratio (\(T_{\text{max}} / T_{\text{min}}\))

A smaller ratio represents a narrower operational frequency range for the analog read/write circuits. RLL (2,7) has a tighter ratio, making automatic gain control (AGC) and equalizer design simpler in purely analog peak-detection channels.

Conclusion

RLL (2,7) was heavily used in early high-capacity hard drives because its \(1.50\) density ratio maximized capacity using simpler peak-detection read heads. As drive technology evolved toward Partial-Response Maximum-Likelihood (PRML) channels, RLL (1,7) became the preferred standard because its larger detection window (\(0.67T\)) and higher code rate (\(2/3\)) provided better noise tolerance and higher overall throughput at elevated recording frequencies.