ArticleslgStudy

science

Non-return-to-zero

Non-return-to-zero is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Non-return-to-zero rather than just read about it. In short: In telecommunications, a non-return-to-zero (NRZ) line code is a binary code in which ones are represented by one significant condition, usually a positive voltage, while zeros are represented by some other significant condition, usually a negative voltage, with no other neutral or rest condition. For a given data signaling rate, i.e., bit rate, the NRZ code requires only half the baseband bandwidth required by the…

Non-return-to-zero — main illustration
Non-return-to-zero — illustration

Key takeaways

  • Non-return-to-zero belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Non-return-to-zero to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Non-return-to-zero from memory before moving on to harder problems.

Reference excerpt

In telecommunications, a non-return-to-zero (NRZ) line code is a binary code in which ones are represented by one significant condition, usually a positive voltage, while zeros are represented by some other significant condition, usually a negative voltage, with no other neutral or rest condition. For a given data signaling rate, i.e., bit rate, the NRZ code requires only half the baseband bandwidth required by the Manchester code (the passband bandwidth is the same). The pulses in NRZ have more energy than a return-to-zero (RZ) code, which also has an additional rest state besides the conditions for ones and zeros. 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. Since NRZ is not inherently a self-clocking signal, some additional synchronization technique must be used to avoid bit slips; examples of such techniques are a run-length-limited constraint and a parallel synchronization signal.

Variants NRZ can refer to any of the following serializer line codes:

The NRZ code also can be classified as a polar or non-polar, where polar refers to a mapping to voltages of +V and −V, and non-polar refers to a voltage mapping of +V and 0, for the corresponding binary values of 1 and 0.

Unipolar non-return-to-zero level

One is represented by a DC bias on the transmission line (conventionally positive), while zero is represented by the absence of bias – the line at 0 volts or grounded. For this reason, it is also known as on-off keying. In clock language, a one transitions to or remains at a biased level on the trailing clock edge of the previous bit, while zero transitions to or remains at no bias on the trailing clock edge of the previous bit. Among the disadvantages of unipolar NRZ is that it allows for long series without change, which makes synchronization difficult, although this is not unique to the unipolar case. One solution is to not send bytes without transitions. More critically, and unique to unipolar NRZ, are issues related to the presence of a transmitted DC level – the power spectrum of the transmitted signal does not approach zero at zero frequency. This leads to two significant problems: first, the transmitted DC power leads to higher power losses than other encodings, and second, the presence of a DC signal component requires that the transmission line be DC-coupled.

Bipolar non-return-to-zero level One is represented by one physical level (usually a positive voltage), while 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 −12 V to −5 V and zero is +5 V to +12 V.

Non-return-to-zero space

One is represented by no change in physical level, while 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 5 contiguous 1 bits (except when transmitting the frame delimiter 01111110). USB transmitters insert a 0 bit after 6 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

Non-return-to-zero, inverted (NRZI, also known as non-return to zero IBM, inhibit code, or IBM code) was devised by Bryon E. Phelps (IBM) in 1956. It is a method of mapping a binary signal to a physical signal for transmission over some transmission medium. The two-level NRZI signal distinguishes data bits by the presence or absence of a transition at a clock boundary. The NRZI encoded signal can be decoded unambiguously after passing through a data path that doesn’t preserve polarity. Which bit value corresponds to a transition varies in practice; NRZI applies equally to both. Magnetic storage generally uses the NRZ-M, non-return-to-zero mark convention: a logical 1 is encoded as a transition, and a logical 0 is encoded as no transition. The HDLC and Universal Serial Bus protocols use the opposite NRZ-S, non-return-to-zero space convention: a logical 0 is a transition, and a logical 1 is no transition. Neither NRZI encoding guarantees that the encoded bitstream has transitions. An asynchronous receiver uses an independent bit clock that is phase synchronized by detecting bit transitions. When an asynchronous receiver decodes a block of bits without a transition longer than the period of the difference between the frequency of the transmitting and receiving bit clocks, the decoder’s bit clock is either 1 bit earlier than the encoder resulting in a duplicated bit being inserted in the decoded data stream, or the decoder’s bit clock is 1 bit later than the encoder resulting in a duplicated bit being removed from the decoded data stream. Both are referred to as bit slip denoting that the phase of the bit clock has slipped a bit period. Forcing transitions at intervals shorter than the bit clock difference period allows an asynchronous receiver to be used for NRZI bit streams. Additional transitions necessarily consume some of the data channel’s rate capacity. Consuming no more of the channel capacity than necessary to maintain bit clock synchronization without increasing costs related to complexity is a problem with many possible solutions. Run-length limited (RLL) encodings have been used for magnetic disk and tape storage devices using fixed-rate RLL codes that increase the channel data rate by a known fraction of the information data rate. HDLC and USB use bit stuffing: inserting an additional 0 bit before NRZ-S encoding to force a transition in the encoded data sequence after 5 (HDLC) or 6 (USB) consecutive 1 bits. Bit stuffing consumes channel capacity only when necessary, but results in a variable information data rate.

… excerpt ends here. Continue reading the full article.

Illustrations

Non-return-to-zero: The binary signal is encoded using rectangular pulse-amplitude modulation with polar NRZ(L), or polar non-return-to-zero-level code.
The binary signal is encoded using rectangular pulse-amplitude modulation with polar NRZ(L), or polar non-return-to-zero-level code.
Non-return-to-zero: Encoder for NRZS, toggle on zero
Encoder for NRZS, toggle on zero
Non-return-to-zero: An example of the NRZI encoding,  transition on 1
An example of the NRZI encoding, transition on 1
Non-return-to-zero: Encoder for NRZ-M, toggle on one
Encoder for NRZ-M, toggle on one

Worked examples

Example 1 — a first encounter with Non-return-to-zero

Start with the simplest possible case. Write down what Non-return-to-zero claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Non-return-to-zero before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Non-return-to-zero ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Non-return-to-zero

In research
Non-return-to-zero appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Non-return-to-zero in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Non-return-to-zero is common in secondary-school and first-year university syllabi. It links to neighbouring topics Line codes, so understanding it makes those chapters shorter.
In everyday life
Look for Non-return-to-zero outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Non-return-to-zero” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Non-return-to-zero in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Non-return-to-zero means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Non-return-to-zero out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Non-return-to-zero in simple terms?

In telecommunications, a non-return-to-zero (NRZ) line code is a binary code in which ones are represented by one significant condition, usually a positive voltage, while zeros are represented by some other significant condition, usually a negative voltage, with no other neutral or rest condition…

Why does Non-return-to-zero matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Non-return-to-zero?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Non-return-to-zero.

Tags

  • Line codes

Keep exploring