Unipolar encoding

From Wikipedia, the free encyclopedia

Unipolar encoding is a line code. A positive voltage represents a binary 1, and zero volts indicates a binary 0. It is the simplest line code, directly encoding the bitstream, and is analogous to on-off keying in modulation.[1]

Its drawbacks are that it is not self-clocking and it has a significant DC component, which can be halved by using return-to-zero, where the signal returns to zero in the middle of the bit period. With a 50% duty cycle each rectangular pulse is only at a positive voltage for half of the bit period. This is ideal if one symbol is sent much more often than the other and power considerations are necessary, and also makes the signal self-clocking.

NRZ (Non-Return-to-Zero) - Traditionally, a unipolar scheme was designed as a non-return-to-zero (NRZ) scheme, in which the positive voltage defines bit 1 and the zero voltage defines bit 0. It is called NRZ because the signal does not return to zero at the middle of the bit, as instead happens in other line coding schemes, such as Manchester code. Compared with its polar counterpart, polar NRZ, this scheme applies a DC bias to the line and unnecessarily wastes power – The normalized power (power required to send 1 bit per unit line resistance) is double that for polar NRZ. For this reason, unipolar encoding is not normally used in data communications today.

An Optical Orthogonal Code (OOC) is a family of (0,l) sequences with good auto- and cross-correlation properties for unipolar environments.[2] They are used in optical communications to enable CDMA in optical fiber transmission.[3]

See also[edit]


  1. ^ K., Prasad, K. V. K. (2004). Principles of digital communication systems and computer networks. Charles River Media. ISBN 1-58450-329-7. OCLC 443732841.{{cite book}}: CS1 maint: multiple names: authors list (link)
  2. ^ Chung, F.R.K.; Salehi, J.A.; Wei, V.K. (May 1989). "Optical orthogonal codes: design, analysis and applications". IEEE Transactions on Information Theory. 35 (3): 595–604. doi:10.1109/18.30982.
  3. ^ Maric, S.V.; Hahm, M.D.; Titlebaum, E.L. (February 1995). "Construction and performance analysis of a new family of optical orthogonal codes for CDMA fiber-optic networks". IEEE Transactions on Communications. 43 (2/3/4): 485–489. doi:10.1109/26.380066. ISSN 0090-6778.