An encoder is a device, circuit, transducer, software program, algorithm or person that converts information from one format or code to another, for the purposes of standardization, speed, secrecy, security or compressions.


Transducers (such as optical or magnetic encoders) sense position or orientation for use as a reference or active feedback to control position:

  • A   rotary encoder converts rotary position to an analog (e.g., analog quadrature) or digital (e.g., digital quadrature, 32-bit parallel, or USB) electronic signal.
  • A  linear encoder similarly converts linear position to an electronic signal.

Such encoders can be either absolute or incremental. The signal from an absolute encoder gives an unambiguous position within the travel range without requiring knowledge of any previous position. The signal from an incremental encoder is cyclical, thus ambiguous, and requires counting of cycles to maintain absolute position within the travel range. Both can provide the same accuracy, but the absolute encoder is more robust to interruptions in transducer signal.


  • A device used to change a signal (such as a bit stream) or data  into a code.

Electronic circuits

  • A simple encoder assigns a binary code to an active input line.
  • Priority encoders establish the priority of competing inputs (such as interrupt requests) by outputting a binary code representing the highest-priority active input.
  • For producing n no. of output when there is 2^n no. of inputs.
11th Nov 2015 A. Hedayatnejad

Recent Posts