From Wikipedia, the free encyclopedia
Circuit diagram of a single bit 4-to-2 line encoder
|
A3 |
A2 |
A1 |
A0 |
F1 |
F0 |
0 |
0 |
0 |
1 |
0 |
0 |
0 |
0 |
1 |
0 |
0 |
1 |
0 |
1 |
0 |
0 |
1 |
0 |
1 |
0 |
0 |
0 |
1 |
1 |
Truth table
|
An encoder is a device used to change a signal (such as a bitstream) or data into a code. 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 programmed algorithm, especially if any part is digital, while most analog encoding is done with analog circuitry.
[edit] Examples
- A compressor is used to encode data into a smaller form.
- A multiplexer combines multiple inputs into one output.
- A rotary encoder is a sensor, transducer for converting rotary motion or position to a code of electronic pulses.
- A linear encoder is a sensor, transducer or readhead paired with a scale that encodes position. The sensor reads the scale in order to convert the encoded position into an analog or digital signal, which can then be decoded into position by a digital readout (DRO). Motion can be determined by change in position over time. Linear encoder technologies include capacitive, inductive, eddy current, magnetic, and optical. Optical technologies include shadow, self imaging and interferometric. Linear encoders are used in metrology instruments and high precision machining tools ranging from digital calipers to coordinate measuring machines.
[edit] See also
[edit] External links