Lably
Skip to content

Line code

Pattern used within a communications system to represent digital data

  • 6 min read
  • 7 chapters

Related on Lably

Through Data storage, Radio wave and Data

Common line encodings are unipolar, polar, bipolar, and Manchester code.

Transmission and storage

After line coding, the signal is put through a physical communication channel, either a transmission medium or data storage medium. The most common physical channels are:

  • the line-coded signal can directly be put on a transmission line, in the form of variations of the voltage or current (often using differential signaling).
  • the line-coded signal (the baseband signal) undergoes further pulse shaping (to reduce its frequency bandwidth) and then is modulated (to shift its frequency) to create an RF signal that can be sent through free space.
  • the line-coded signal can be used to turn on and off a light source in free-space optical communication, most commonly used in an infrared remote control.
  • the line-coded signal can be printed on paper to create a bar code.
  • the line-coded signal can be converted to magnetized spots on a hard drive or tape drive.
  • the line-coded signal can be converted to pits on an optical disc.

Some of the more common binary line codes include:

Each line code has advantages and disadvantages. Line codes are chosen to meet one or more of the following criteria:

  • Minimize transmission hardware
  • Facilitate synchronization
  • Ease error detection and correction
  • Achieve a target spectral density
  • Eliminate a DC component

Sign in to keep reading

6 more chapters are free with a Lably account.

More in Computing and communication