HOME

TheInfoList



OR:

In
telecommunications Telecommunication, often used in its plural form or abbreviated as telecom, is the transmission of information over a distance using electronic means, typically through cables, radio waves, or other communication technologies. These means of ...
, a non-return-to-zero (NRZ)
line code In telecommunications, a line code is a pattern of voltage, current, or photons used to represent digital data transmission (telecommunications), transmitted down a communication channel or written to a storage medium. This repertoire of signal ...
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 In telecommunications, data signaling rate (DSR), also known as gross bit rate, is the aggregate rate at which data passes a point in the transmission (telecommunications), transmission data link, path of a data transmission system. Properties ...
, i.e.,
bit rate In telecommunications and computing, bit rate (bitrate or as a variable ''R'') is the number of bits that are conveyed or processed per unit of time. The bit rate is expressed in the unit bit per second (symbol: bit/s), often in conjunction ...
, the NRZ code requires only half the baseband bandwidth required by the
Manchester code In telecommunications and data storage, Manchester code (also known as phase encoding, or PE) is a line code in which the encoding of each data bit is either low then high, or high then low, for equal time. It is a self-clocking signal with no ...
(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 beside the conditions for ones and zeros. When used to represent data in an
asynchronous communication In telecommunications, asynchronous communication is transmission of data, generally without the use of an external clock signal, where data can be transmitted intermittently rather than in a steady stream. Any timing required to recover data fro ...
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 for avoiding
bit slip In digital transmission, bit slip is the loss or gain of a bit or bits, caused by clock driftvariations in the respective clock rates of the transmitting and receiving devices. One cause of bit slip is overflow of a receive buffer that occu ...
s; 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 0 and 1.


Unipolar non-return-to-zero level

''On'' 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 In telecommunications, RS-232 or Recommended Standard 232 is a standard introduced in 1960 for serial communication transmission of data. It formally defines signals connecting between a ''DTE'' (''data terminal equipment'') such as a compu ...
, 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 Universal Serial Bus (USB) is an industry standard, developed by USB Implementers Forum (USB-IF), for digital data transmission and power delivery between many types of electronics. It specifies the architecture, in particular the physical ...
. 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 International Business Machines Corporation (using the trademark IBM), nicknamed Big Blue, is an American Multinational corporation, multinational technology company headquartered in Armonk, New York, and present in over 175 countries. It is ...
) in 1956. It is a method of mapping a binary
signal A signal is both the process and the result of transmission of data over some media accomplished by embedding some variation. Signals are important in multiple subject fields including signal processing, information theory and biology. In ...
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 Magnetic storage or magnetic recording is the storage of data on a magnetized medium. Magnetic storage uses different patterns of magnetisation in a magnetizable material to store data and is a form of non-volatile memory. The information is acc ...
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 High-Level Data Link Control (HDLC) is a communication protocol used for transmitting data between devices in Telecommunications, telecommunication and Computer network, networking. Developed by the International Organization for Standardization ...
and
Universal Serial Bus Universal Serial Bus (USB) is an industry standard, developed by USB Implementers Forum (USB-IF), for digital data transmission and power delivery between many types of electronics. It specifies the architecture, in particular the physical ...
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 Run-length limited (RLL) is a line coding technique that is used to send arbitrary data over a communications channel with bandwidth limits. RLL codes are defined by four main parameters: ''m'', ''n'', ''d'', ''k''. The first two, ''m''/''n'', ...
(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 In data transmission and telecommunications, bit stuffing (also known—uncommonly—as positive justification) is the insertion of non-information bits into data. Stuffed bits should not be confused with overhead bits. Bit stuffing is used f ...
: 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.


Synchronized non-return-to-zero

Synchronized NRZI (SNRZI) and '' group-coded recording'' (''GCR'') are modified forms of NRZI. In SNRZI-M each 8-bit group is extended to 9 bits by a 1 in order to insert a transition for synchronisation.


Comparison with return-to-zero

Return-to-zero describes a
line code In telecommunications, a line code is a pattern of voltage, current, or photons used to represent digital data transmission (telecommunications), transmitted down a communication channel or written to a storage medium. This repertoire of signal ...
used in
telecommunications Telecommunication, often used in its plural form or abbreviated as telecom, is the transmission of information over a distance using electronic means, typically through cables, radio waves, or other communication technologies. These means of ...
in which the signal drops (returns) to zero between each
pulse In medicine, the pulse refers to the rhythmic pulsations (expansion and contraction) of an artery in response to the cardiac cycle (heartbeat). The pulse may be felt ( palpated) in any place that allows an artery to be compressed near the surfac ...
. This takes place even if a number of consecutive 0s or 1s occur in the signal. The signal is self-clocking. This means that a separate clock does not need to be sent alongside the signal, but suffers from using twice the bandwidth to achieve the same data-rate as compared to non-return-to-zero format. The ''zero'' between each bit is a neutral or rest condition, such as a zero amplitude in
pulse-amplitude modulation Pulse-amplitude modulation (PAM) is a form of signal modulation in which the message information is encoded in the amplitude of a pulse train interrupting the carrier frequency. Demodulation is performed by detecting the amplitude level of th ...
(PAM), zero
phase shift In physics and mathematics, the phase (symbol φ or ϕ) of a wave or other periodic function F of some real variable t (such as time) is an angle-like quantity representing the fraction of the cycle covered up to t. It is expressed in such a s ...
in
phase-shift keying Phase-shift keying (PSK) is a digital modulation process which conveys data by changing (modulating) the phase of a constant frequency carrier wave. The modulation is accomplished by varying the sine and cosine inputs at a precise time. I ...
(PSK), or mid-
frequency Frequency is the number of occurrences of a repeating event per unit of time. Frequency is an important parameter used in science and engineering to specify the rate of oscillatory and vibratory phenomena, such as mechanical vibrations, audio ...
in
frequency-shift keying Frequency-shift keying (FSK) is a frequency modulation scheme in which digital information is encoded on a carrier signal by periodically shifting the frequency of the carrier between several discrete frequencies. The technology is used fo ...
(FSK). That ''zero'' condition is typically halfway between the significant condition representing a 1 bit and the other significant condition representing a 0 bit. Although return-to-zero contains a provision for synchronization, it still may have a DC component resulting in ''baseline wander'' during long strings of 0 or 1 bits, just like the line code non-return-to-zero.


See also

*
Universal asynchronous receiver-transmitter A universal asynchronous receiver-transmitter (UART ) is a peripheral device for asynchronous serial communication in which the data format and transmission speeds are configurable. It sends data bits one by one, from the least significant to ...


References


Further reading

* * * * https://onlinelibrary.wiley.com/doi/full/10.1002/jnm.1905


External links


CodSim 2.0: Open source simulator for Digital Data Communications Model at the University of Malaga written in HTML
{{Bit-encoding Line codes