Non-return-to-zero


Non-return-to-zero
The binary signal is encoded using rectangular pulse amplitude modulation with polar non-return-to-zero code

In telecommunication, a non-return-to-zero (NRZ) line code is a binary code in which 1's are represented by one significant condition (usually a positive voltage) and 0's are represented by some other significant condition (usually a negative voltage), with no other neutral or rest condition. The pulses have more energy than a RZ code. Unlike RZ, NRZ does not have a rest state. NRZ is not inherently a self-synchronizing code, so some additional synchronization technique (for example a run length limited constraint, or a parallel synchronization signal) must be used to avoid bit slip.

For a given data signaling rate, i.e., bit rate, the NRZ code requires only half the bandwidth required by the Manchester code.

When used to represent data in an asynchronous communication scheme, the absence of a neutral state requires other mechanisms for bit synchronization when a separate clock signal is not available.

NRZ-Level itself is not a synchronous system but rather an encoding that can be used in either a synchronous or asynchronous transmission environment, that is, with or without an explicit clock signal involved. Because of this, it is not strictly necessary to discuss how the NRZ-Level encoding acts "on a clock edge" or "during a clock cycle" since all transitions happen in the given amount of time representing the actual or implied integral clock cycle. The real question is that of sampling--the high or low state will be received correctly provided the transmission line has stabilized for that bit when the physical line level is sampled at the receiving end.

However, it is helpful to see NRZ transitions as happening on the trailing (falling) clock edge in order to compare NRZ-Level to other encoding methods, such as the mentioned Manchester code, which requires clock edge information (is the XOR of the clock and NRZ, actually) and to see the difference between NRZ-Mark and NRZ-Inverted.

Contents

Unipolar Non-Return-to-Zero Level

"One" is represented by one physical level (such as a DC bias on the transmission line).

"Zero" is represented by another level (usually a negative voltage).

Nrz-lb.gif

In clock language, "one" transitions or remains high on the trailing clock edge of the previous bit and "zero" transitions or remains low on the trailing clock edge of the previous bit, or just the opposite. This allows for long series without change, which makes synchronization difficult. One solution is to not send bytes without transitions. Disadvantages of an on-off keying are the waste of power due to the transmitted DC level and the power spectrum of the transmitted signal does not approach zero at zero frequency. See RLL

Bipolar Non-Return-to-Zero Level

"One" is represented by one physical level (usually a positive voltage).

"Zero" is represented by another level (usually a negative voltage).

In clock language, in bipolar NRZ-Level the voltage "swings" from positive to negative on the trailing edge of the previous bit clock cycle.

An example of this is RS-232, where "one" is -12V to -5V and "zero" is +5 to +12V.

Non-Return-to-Zero Space

Non-Return-to-Zero Space

"One" is represented by no change in physical level.

"Zero" is represented by a change in physical level.

In clock language, the level transitions on the trailing clock edge of the previous bit to represent a "zero."

This "change-on-zero" is used by High-Level Data Link Control and USB. They both avoid long periods of no transitions (even when the data contains long sequences of 1 bits) by using zero-bit insertion. HDLC transmitters insert a 0 bit after five contiguous 1 bits (except when transmitting the frame delimiter '01111110'). USB transmitters insert a 0 bit after six consecutive 1 bits. The receiver at the far end uses every transition — both from 0 bits in the data and these extra non-data 0 bits — to maintain clock synchronization. The receiver otherwise ignores these non-data 0 bits.

Non-Return-to-Zero Inverted (NRZI)

Example NRZI encoding
NRZ-transition occurs for a zero

Non return to zero, inverted (NRZI) is a method of mapping a binary signal to a physical signal for transmission over some transmission media. The two level NRZI signal has a transition at a clock boundary if the bit being transmitted is a logical 1, and does not have a transition if the bit being transmitted is a logical 0.

"One" is represented by a transition of the physical level.

"Zero" has no transition.

Also, NRZI might take the opposite convention, as in Universal Serial Bus (USB) signalling, when in Mode 1 (transition when signalling zero and steady level when signalling one). The transition occurs on the leading edge of the clock for the given bit. This distinguishes NRZI from NRZ-Mark.

However, even NRZI can have long series of zeros (or ones if transitioning on "zero"), so clock recovery can be difficult unless some form of run length limited (RLL) coding is used on top. Magnetic disk and tape storage devices generally use fixed-rate RLL codes, while USB uses bit stuffing, which is efficient, but results in a variable data rate: it takes slightly longer to send a long string of 1 bits over USB than it does to send a long string of 0 bits. (USB inserts an additional 0 bit after 6 consecutive 1 bits.)

See also

References

  • Brey, Barry. The Intel Microprocessors, Columbus: Pearson Prentice Hall. ISBN 0-13-119506-9

 This article incorporates public domain material from the General Services Administration document "Federal Standard 1037C" (in support of MIL-STD-188).


Wikimedia Foundation. 2010.

Look at other dictionaries:

  • Non Return to Zero — und Non Return to Zero Invert, abgekürzt NRZ und als NRZI, sind die einfachsten Leitungscodes für binäre Signale. Im Gegensatz zum RZ Code bestehen die beiden binären Symbole aus konstanten Leitungszuständen (meist Spannungen). Von Nachteil ist,… …   Deutsch Wikipedia

  • non-return to zero — negrįžtis prie nulio statusas T sritis radioelektronika atitikmenys: angl. non return to zero vok. Nichtrückkehr zu Null, f rus. невозврат к нулю, m pranc. non retour au zéro, m …   Radioelektronikos terminų žodynas

  • Non Return to Zero — Pile de protocoles 7.  Application 6.  Présentation 5.  Session 4.  T …   Wikipédia en Français

  • Non-return-to-zero space — is a binary encoding scheme. The voltage or some signal parameter undergoes a significant change every time a 0 occurs. If a 1 occurs no transition is to be seen …   Wikipedia

  • Non Return to Zero Inverted — Le codage potion, Non Return to Zero Inverted en anglais, est une variante du codage Non Return to Zero (NRZ). Le inverted (inversé) fait référence au code Non Return to Zero Mark (NRZM) créé en premier. On trouve également la notation NRZS (S… …   Wikipédia en Français

  • Non Return to Zero Mark — Le codage NRZM, Non Return to Zero Mark en anglais, est une variante du codage NRZ. Règles de codage La valeur 1 crée une transition. Avantages Facile à mettre en œuvre, bonne utilisation de la bande passante. Inconvénients Pas de transition… …   Wikipédia en Français

  • Non-Return-to-Zero Inverted — data storage method in which a 0 bit is represented by a signal change and a 1 bit is represented by no change, NRZI (Computers) …   English contemporary dictionary

  • non-retour au zéro — negrįžtis prie nulio statusas T sritis radioelektronika atitikmenys: angl. non return to zero vok. Nichtrückkehr zu Null, f rus. невозврат к нулю, m pranc. non retour au zéro, m …   Radioelektronikos terminų žodynas

  • Return-to-zero — (RZ) describes a line code used in telecommunications signals in which the signal drops (returns) to zero between each pulse. This takes place even if a number of consecutive 0 s or 1 s occur in the signal. The signal is self clocking. This means …   Wikipedia

  • Alternate-Phase Return-to-Zero (APRZ) — is an optical signal format. In APRZ the field intensity drops to zero between consecutive bits (RZ), and the field phase alternates between neighbouring bits (AP), so that if the phase of the signal is, for example, 0 in even bits (bit number 2… …   Wikipedia


Share the article and excerpts

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

We are using cookies for the best presentation of our site. Continuing to use this site, you agree with this.