- Encoder
An encoder is a device used to change a signal (such as a
bitstream ) ordata into acode . The code may serve any of a number of purposes such as compressing information for transmission or storage,encrypting or adding redundancies to the input code, or translating from one code to another. This is usually done by means of a programmedalgorithm , especially if any part isdigital , while most analog encoding is done with analog circuitry.ingle bit 4 to 2 Encoder
An encoder has 2n input lines and "n" output lines.The output lines generate a binary code corresponding to the input value. For example a single bit 4 to 2 encoder takes in 4 bits and outputs 2 bits. It is assumed that there are only 4 types of input signals these are : 0001, 0010, 0100, 1000.
Connecting Priority Encoders
Priority encoders can be easily connected in arrays to make larger encoders, such as a 16 to 4 encoder made from six 4 to 2 priority encoders (four encoders having the signal source connected to their inputs, and two encoders that take the output of the first four as input).
Examples
* A compressor encodes data (e.g., audio/video/images) into a smaller form.
* Amultiplexer combines multiple inputs into one output.
* Arotary encoder converts rotary position to an analog (e.g., analog quadrature) or digital (e.g., digital quadrature, 32-bit parallel, or USB) electronic signal.
* Alinear encoder similarly converts linear position to an electronic signal.ee also
*
Codec
*Endec
*Line code
*Modulation
* Redundancy in databases
*decoder External links
* Encoding data to an ID Card: [https://www.arcadiaid.com/page.php?page=magneticstripeencoder Using a Magnetic Stripe Encoder]
* [http://engknowledge.com/shaft_absolute_encoder_gray_code.aspx Absolute Encoder Using Gray Code] - Absolute encoding for rotating shaft, with a comprehensive discussion of gray code.
* [http://www.asic-world.com/digital/combo3.html asic-world's Digital Combinational Logic (part III)] - an overview of encoders in circuitry.
Wikimedia Foundation. 2010.