NRZ and Binary Signaling
Introduction to Binary Baseband Signaling
Binary signaling is the foundation of nearly all digital communication. In a binary scheme the transmitter represents each bit with one of two distinct physical states, and the receiver recovers the bit by deciding which of the two states is present. Because only two states exist, the decision is the simplest possible: a single threshold separates a logical one from a logical zero. This simplicity is the reason binary signaling has dominated chip-to-chip, board-to-board, and short-reach link design for decades.
Non-Return-to-Zero (NRZ) is the specific binary line code in which the signal holds a constant level for the entire duration of each bit and does not return to a neutral or zero level between consecutive identical bits. A run of three ones, for example, appears as a single sustained high level lasting three bit periods rather than three separate pulses. NRZ is a baseband format, meaning the data modulates the amplitude of the signal directly without an intermediate carrier. In the language of pulse amplitude modulation, NRZ is simply PAM-2: two amplitude levels carrying one bit per symbol.
The terms NRZ and binary signaling are often used interchangeably in high-speed link engineering, and this article treats NRZ as the canonical binary baseband format. The discussion covers how NRZ is defined and contrasted with return-to-zero coding, how its quality is judged through the two-level eye diagram, how its spectrum and bandwidth arise, why run length and direct-current balance matter, how it compares with multi-level PAM-4, and where binary signaling remains the preferred choice despite the rise of multi-level alternatives.
Defining NRZ: Levels, Symbols, and Encoding
An NRZ waveform occupies one of two voltage levels during each bit interval, commonly called the unit interval (UI). The unit interval is the reciprocal of the symbol rate; a link running at 10 gigabits per second in NRZ has a unit interval of 100 picoseconds. Because each symbol carries exactly one bit, the bit rate and the symbol rate (baud rate) are numerically equal in NRZ. This identity does not hold for multi-level schemes, where the bit rate exceeds the baud rate.
NRZ comes in two principal variants that differ in how they map bits to levels:
- NRZ-Level (NRZ-L): The absolute level encodes the bit directly. A high level represents one logical value and a low level represents the other. This is the form most engineers mean when they say simply "NRZ."
- NRZ-Inverted (NRZI): The information is carried by transitions rather than absolute levels. A transition at the start of a bit interval encodes one value (commonly a logical one) and the absence of a transition encodes the other. Because NRZI conveys data through change rather than state, it tolerates polarity inversion in the channel and is used in standards such as USB and certain fiber links.
The physical realization of the two levels depends on the signaling family. Single-ended logic such as legacy CMOS swings between ground and the supply rail. Modern high-speed links almost always use differential signaling, in which two complementary conductors carry equal and opposite swings; the receiver senses the difference between them. Differential NRZ, as used in low-voltage differential signaling and in the electrical layers of PCI Express, USB, SATA, and Ethernet, rejects common-mode noise, reduces electromagnetic emissions, and defines the logic state by the sign of the differential voltage rather than by an absolute level referenced to ground.
NRZ Versus RZ Signaling
Return-to-Zero (RZ) is the natural counterpart to NRZ. In an RZ code the signal asserts the active level for only part of each bit interval and then returns to a neutral or zero level before the interval ends. A common form returns to zero at the midpoint, so each logical one appears as a pulse occupying half the unit interval. The defining contrast is straightforward: NRZ holds its level across the whole bit, while RZ inserts a forced return to a reference level within every bit.
This difference produces a clear set of trade-offs:
- Transition density: RZ guarantees at least one transition per asserted bit, which embeds timing information directly in the waveform and eases clock recovery. NRZ provides no transition during runs of identical bits, so long runs carry no timing edges.
- Bandwidth: Because an RZ pulse is narrower than an NRZ symbol, RZ concentrates its energy at higher frequencies and therefore requires roughly twice the bandwidth of NRZ for the same bit rate. NRZ is the more bandwidth-efficient of the two.
- Energy and amplitude: For a given peak level, RZ delivers less energy per bit because the active level is present for only part of the interval. To match the energy of NRZ, an RZ transmitter must use a larger peak amplitude.
- Implementation: NRZ is simpler to generate and consumes the least bandwidth, which is why it dominates electrical interconnects. RZ persists in specialized optical systems, where its well-defined pulses suit certain detection schemes and where the bandwidth penalty is more readily absorbed.
The bandwidth advantage is decisive for bandwidth-limited copper channels, and it is the primary reason NRZ, rather than RZ, became the default binary format for high-speed serial links. RZ survives mainly where its timing-rich, pulse-defined character outweighs its appetite for bandwidth.
The Two-Level Eye Diagram
The eye diagram is the central diagnostic tool for evaluating binary signaling quality. It is constructed by overlaying many short segments of the received waveform, each aligned to the recovered clock and spanning one or two unit intervals. As thousands of bit transitions are superimposed, the accumulated traces form a pattern resembling a human eye. For NRZ, the diagram shows a single eye opening, because two levels create exactly one gap between them. A PAM-4 signal, by contrast, produces three stacked eyes.
The shape of the single NRZ eye encodes a great deal of information about the health of the link:
- Eye height: The vertical opening measures the voltage margin between the one and zero levels at the sampling instant. A taller eye means more noise can be tolerated before a sampled value crosses the decision threshold. Noise, crosstalk, and attenuation all reduce eye height.
- Eye width: The horizontal opening measures the timing margin. A wider eye means the sampling clock can drift further from the ideal instant without error. Jitter and inter-symbol interference (ISI) narrow the eye width.
- Crossing points: The points where rising and falling edges intersect indicate the transition threshold and reveal duty-cycle distortion. Crossings that sit above or below the center point signal asymmetry between rise and fall behavior.
- Edge slope and thickness: Sharp, thin edges indicate clean transitions; smeared or thick edges indicate jitter, reflections, or bandwidth limitation in the channel.
An ideal NRZ eye is wide open, symmetric, and centered, with crisp edges and a large clear region in the middle where the receiver places its single decision threshold and its sampling clock. As data rates rise and channels attenuate high frequencies, the eye progressively closes. The principal advantage of binary signaling appears clearly here: with only two levels spanning the full signal swing, the NRZ eye is intrinsically taller than any individual eye in a multi-level scheme, giving binary links their characteristic robustness.
Bandwidth and Spectral Content
The spectrum of an NRZ signal follows directly from its pulse shape. An ideal NRZ symbol is a rectangular pulse one unit interval wide, and the Fourier transform of a rectangular pulse is a sinc function. A random NRZ data stream therefore exhibits a continuous power spectral density that follows a squared-sinc envelope: energy is greatest near direct current, falls to a first null at a frequency equal to the symbol rate, and continues with diminishing side lobes at higher frequencies.
For engineering purposes the most important feature is the Nyquist frequency, which for NRZ equals half the bit rate. The fundamental of the fastest possible pattern, an alternating sequence of ones and zeros, falls exactly at this Nyquist frequency. A 10 gigabit-per-second NRZ link has a Nyquist frequency of 5 gigahertz, and the worst-case alternating pattern produces a 5 gigahertz fundamental tone. As a practical rule, a channel must pass content up to at least the Nyquist frequency to keep the eye open, and capturing the sharp edges that define low jitter requires usable bandwidth somewhat beyond it, often cited as roughly the third harmonic of the Nyquist rate.
Several spectral characteristics shape NRZ system design:
- Significant low-frequency and direct-current content: Long runs of identical bits place energy near zero frequency. Channels that cannot pass direct current, such as those with alternating-current coupling capacitors, distort these low-frequency components and cause baseline wander.
- No discrete clock line: A random NRZ spectrum is continuous and contains no spectral spike at the symbol rate. The timing must be recovered from the data transitions rather than extracted as a tone, which makes transition density important.
- Spectral nulls at integer multiples of the symbol rate: The squared-sinc envelope falls to zero at the symbol rate and its harmonics, a property that scrambling and pulse shaping exploit and that filtering must respect.
The comparatively compact spectrum of NRZ, with most of its energy below the Nyquist frequency, is precisely what makes it bandwidth-efficient relative to RZ and what allows binary links to operate over real copper channels with manageable equalization.
Run Length and DC Balance
Two closely related properties govern the practical behavior of an NRZ stream: run length and direct-current balance. A run is a sequence of consecutive identical bits, and the run length is the number of bits in that sequence. Direct-current balance refers to the degree to which ones and zeros occur with equal frequency over a window of time, keeping the average level near a constant midpoint.
Uncontrolled run length and imbalance create several problems:
- Clock-recovery starvation: Because NRZ embeds no clock tone, the receiver's clock and data recovery circuit relies on transitions to stay locked. A long run of identical bits supplies no edges, allowing the recovered clock to drift and accumulate phase error until the next transition.
- Baseline wander: When a link is alternating-current coupled, a sustained run of one polarity charges or discharges the coupling capacitors, causing the signal baseline to drift toward the midpoint. The eye effectively shifts vertically, eroding margin and potentially causing errors on the bits that follow.
- Worst-case ISI and emissions: Certain repeating patterns concentrate energy in ways that maximize inter-symbol interference or electromagnetic emissions, stressing the channel more than random data would.
Designers control these effects through coding and scrambling rather than by changing the NRZ format itself:
- Scrambling: A linear-feedback shift register exclusive-ORs the data with a pseudorandom sequence, breaking up long runs and statistically balancing ones and zeros without adding overhead bits. PCI Express and many Ethernet variants scramble their NRZ payloads for this reason.
- Block line codes: Codes such as 8b/10b map every eight payload bits to ten transmitted bits chosen to bound run length and guarantee tight direct-current balance through a running-disparity rule. The cost is twenty-five percent overhead, which is why higher-rate links favor lower-overhead schemes such as 64b/66b combined with scrambling.
- Transition-rich framing: Periodic synchronization symbols and framing markers insert guaranteed transitions that refresh clock recovery even when the payload is momentarily run-heavy.
The guiding principle is that NRZ delivers maximum bandwidth efficiency but provides no inherent guarantee of transitions or balance; the surrounding coding layer supplies those guarantees so that clock recovery and alternating-current coupling remain reliable.
Comparison With PAM-4
The dominant alternative to NRZ in modern high-speed links is PAM-4, a four-level scheme that carries two bits per symbol. Comparing the two clarifies why each occupies its niche. The fundamental relationship is that PAM-4 conveys twice the data per symbol, so for a given bit rate its symbol rate is half that of NRZ, which in turn halves the required channel bandwidth. This bandwidth saving is the entire reason PAM-4 displaced NRZ at the highest data rates.
The cost of that saving appears in noise margin. PAM-4 packs four levels into the same peak-to-peak swing that NRZ uses for two, so the spacing between adjacent PAM-4 levels is only one-third of the full swing. Each of the three PAM-4 eyes is correspondingly smaller, and the reduction in vertical margin amounts to an intrinsic signal-to-noise penalty of about 9.5 decibels relative to NRZ for the same swing and the same target error rate. The contrast can be summarized as follows:
- Bits per symbol: NRZ carries one bit per symbol; PAM-4 carries two.
- Bandwidth for a given bit rate: PAM-4 requires roughly half the bandwidth of NRZ, because its symbol rate is half.
- Eye diagram: NRZ shows one tall eye; PAM-4 shows three small eyes stacked vertically.
- Noise margin: NRZ enjoys roughly a 9.5 decibel advantage in signal-to-noise ratio because its single eye spans the whole swing.
- Receiver complexity: NRZ needs one decision threshold; PAM-4 needs three, plus tighter linearity, more elaborate equalization, and almost always forward error correction.
- Bit error rate: Raw NRZ links can meet very low error rates without coding, whereas PAM-4 typically depends on forward error correction to reach comparable reliability.
The choice between the two is therefore a direct trade of bandwidth against margin and complexity. When the channel can comfortably pass the NRZ Nyquist frequency, binary signaling delivers superior margin and a simpler, lower-latency, lower-power receiver. When the channel cannot pass that frequency without ruinous loss, PAM-4 buys back the needed bandwidth at the price of margin, complexity, and coding latency.
Where NRZ Remains Preferred
Despite the rise of PAM-4 in the fastest interfaces, NRZ remains the preferred binary format across a vast range of applications. Its persistence reflects genuine engineering advantages rather than mere legacy inertia.
- Moderate data rates over manageable channels: Wherever the channel can pass the NRZ Nyquist frequency without excessive loss, typically at per-lane rates up to the low tens of gigabits per second over short copper, NRZ is the obvious choice. Its larger eye and simpler receiver win decisively over multi-level alternatives.
- Latency-sensitive links: Because raw NRZ can meet stringent error rates without forward error correction, it avoids the encode-and-decode latency that PAM-4 systems usually incur. Applications that prize the lowest possible latency favor binary signaling for this reason.
- Power-constrained and cost-constrained designs: NRZ receivers need only a single threshold and far less equalization and digital signal processing than multi-level receivers, which translates directly into lower power and lower silicon cost. Consumer interfaces and embedded systems benefit accordingly.
- Robustness in noisy environments: The superior noise margin of a two-level signal makes NRZ resilient where crosstalk, ground bounce, or supply noise would close the smaller eyes of a multi-level scheme.
- Established and interoperable standards: Many widely deployed interfaces, including USB at its earlier speeds, SATA, the lower-rate generations of PCI Express, and numerous Ethernet electrical layers, are defined around NRZ. Its maturity, well-understood compliance methodology, and broad interoperability keep it entrenched.
The recurring theme is that binary signaling is the natural choice whenever bandwidth is not the binding constraint. PAM-4 is adopted only when the channel forces the issue; until that point, the simplicity, margin, low latency, and low power of NRZ make it the default. Both schemes are members of the same pulse-amplitude-modulation family, and the engineering decision between them rests on whether the channel has enough bandwidth to let the simpler, more robust binary format do the job.
Summary and Key Takeaways
NRZ is the canonical binary baseband line code and the foundation against which advanced modulation schemes are measured. The essential points are these:
- Definition: NRZ holds a constant level for the full bit interval and does not return to zero between identical bits. It is PAM-2, carrying one bit per symbol, so its bit rate and baud rate are equal.
- NRZ versus RZ: RZ forces a return to a reference level within every bit, which enriches timing content but roughly doubles the required bandwidth. NRZ is the more bandwidth-efficient format and dominates electrical links for that reason.
- The eye diagram: Two levels produce a single eye whose height measures voltage margin and whose width measures timing margin. The intrinsically tall NRZ eye is the visible source of binary signaling's robustness.
- Spectrum and bandwidth: The NRZ spectrum follows a squared-sinc envelope with its first null at the symbol rate and its key fundamental at the Nyquist frequency, equal to half the bit rate. Significant low-frequency content makes baseline wander a concern on alternating-current-coupled channels.
- Run length and direct-current balance: NRZ guarantees neither transitions nor balance on its own, so scrambling and block codes such as 8b/10b are used to bound run length and keep the average level centered for reliable clock recovery and coupling.
- Comparison with PAM-4: PAM-4 doubles bits per symbol and halves bandwidth but sacrifices roughly 9.5 decibels of margin, adds two more decision thresholds, and usually requires forward error correction. NRZ trades bandwidth efficiency for superior margin and simplicity.
- Where NRZ wins: Binary signaling remains preferred wherever bandwidth is sufficient, latency must be low, power and cost are constrained, or noise immunity is paramount, which together cover most interconnects below the highest data rates.
Understanding NRZ is the prerequisite for understanding everything that builds upon it. The multi-level, partial-response, and coded schemes that extend throughput all start from the two-level baseband signal and add complexity to overcome the bandwidth ceiling that NRZ eventually meets. As long as a channel offers enough bandwidth to keep the single eye open, binary NRZ remains the simplest, most robust, and most widely used signaling format in electronics.
Related Topics
To extend your understanding of binary signaling and its relationship to advanced modulation, explore these related topics:
- PAM Signaling: The multi-level successor to NRZ, including PAM-4 and the bandwidth-versus-margin trade-off central to high-speed links.
- Duobinary and Partial Response: A bandwidth-saving alternative that shapes controlled inter-symbol interference rather than adding amplitude levels.
- Forward Error Correction: The coding layer that buys link margin through redundancy, essential to multi-level signaling and increasingly applied to binary links.
- Orthogonal Signaling: High-dimensional schemes that trade complexity for noise immunity, contrasting with the amplitude packing of NRZ and PAM.
- Advanced Modulation Schemes: The parent overview placing NRZ and its multi-level alternatives in the broader context of high-speed serial signaling.