DexterLab

🚨 New downloadable modules coming soon📘 Electrical Signaling & PHY Interfaces — new overview📘 Electrical I/O Standards — new overview📘 Integration between Theory and Design Library in progress

Overview

NRZ (Non‑Return‑to‑Zero) and NRZI (Non‑Return‑to‑Zero Inverted) are two of the simplest and most widely used line coding schemes. They represent binary data using constant voltage levels and, in the case of NRZI, transitions. These techniques form the foundation of many early serial communication systems and remain relevant for understanding modern physical‑layer design.

NRZ encodes bits directly as voltage levels, while NRZI encodes bits through transitions, improving clock recovery and reducing long runs of identical symbols.

NRZ Signaling

NRZ is the most basic binary signaling scheme.

  • A logical 1 is represented by a high level.
  • A logical 0 is represented by a low level.
  • The signal does not return to zero between bits.

Characteristics

  • Simple to generate and decode
  • No inherent clock information
  • Long runs of identical bits cause poor transition density
  • No DC balance

NRZ is still used conceptually in many systems, and as the underlying modulation for PAM2.

NRZI Signaling

NRZI improves upon NRZ by encoding information through transitions rather than absolute levels.

  • A logical 1 is represented by a transition (high→low or low→high).
  • A logical 0 is represented by no transition.

Characteristics

  • Better transition density than NRZ
  • Still vulnerable to long runs of zeros
  • No DC balance
  • Used in USB, early serial links, and magnetic storage

NRZI is particularly useful when combined with scrambling or RLL codes.

Transition Behavior

The key difference between NRZ and NRZI lies in how transitions occur:

  • NRZ: transitions depend on the data pattern
  • NRZI: transitions encode the data pattern

This makes NRZI more robust for clock recovery, especially when paired with additional coding techniques.

DC Balance Considerations

Neither NRZ nor NRZI provides DC balance.
This can cause:

  • baseline wander
  • transformer saturation
  • poor performance on AC‑coupled channels

For this reason, modern systems combine NRZI with:

  • scrambling
  • RLL codes
  • block coding

to ensure spectral neutrality.

Use Cases

NRZ and NRZI appear in many legacy and foundational systems:

  • NRZ: UART, early serial links, basic digital signaling
  • NRZI: USB 1.x/2.0, magnetic storage, early optical links
  • Both: conceptual basis for modern modulation schemes (PAM2, PAM4)

Advantages

  • Extremely simple implementation
  • Low latency
  • Minimal hardware requirements
  • Useful as a conceptual foundation for more advanced techniques

Limitations

  • Poor transition density (especially NRZ)
  • No DC balance
  • Not suitable for high‑speed AC‑coupled channels
  • Requires additional coding for reliable clock recovery

Related Content

These concepts provide the theoretical background for NRZ and NRZI.

  • Transition‑based signaling
  • Clock recovery and transition density
  • DC balance
  • Scrambling
  • Run‑length limited codes

Related Pages

These pages describe modern line coding techniques that evolved from the limitations of NRZ and NRZI.

Summary

  • NRZ and NRZI are foundational binary signaling schemes.
  • NRZ uses constant voltage levels; NRZI uses transitions to encode data.
  • NRZI improves transition density but still lacks DC balance.
  • Both techniques require additional coding (scrambling, RLL, block coding) for high‑speed links.
  • They remain essential for understanding the evolution of modern line coding.