Home > Common Problem > body text

What is the logical function of the encoder?

青灯夜游
Release: 2020-08-29 13:36:46
Original
10531 people have browsed it

The logical function of the encoder is to convert a certain state into the corresponding binary code. The logical function of the decoder is to convert a certain binary code into a certain output state.

What is the logical function of the encoder?

Encoder (encoder)

The encoder (encoder) converts a signal (such as a bit stream) or data A device that compiles and converts signals into signal forms that can be used for communication, transmission, and storage. The encoder converts angular displacement or linear displacement into electrical signals. The former is called a code disc and the latter is called a code ruler.

According to the reading method, the encoder can be divided into two types: contact type and non-contact type; according to the working principle, the encoder can be divided into two types: incremental type and absolute type.

The incremental encoder converts the displacement into a periodic electrical signal, and then converts this electrical signal into counting pulses, and uses the number of pulses to represent the size of the displacement. Each position of the absolute encoder corresponds to a certain digital code, so its indication is only related to the starting and ending positions of the measurement, and has nothing to do with the intermediate process of the measurement.

Decoder (decoder)

The decoder (decoder) is a type of multi-input multi-output combinational logic circuit device, which can be divided into: There are two types: variable decoding and display decoding. A variable decoder is generally a device that converts less input into more output. Common types include n-line-2^n-line decoding and 8421BCD code decoding; the display decoder is used to convert binary numbers into corresponding The seven-segment code can generally be divided into two categories: driving LED and driving LCD.

Decoding is the reverse process of encoding. During encoding, each binary code is given a specific meaning, that is, it represents a certain signal or object. The process of "translating" the specific meaning of the code state is called decoding, and the circuit that implements the decoding operation is called a decoder. In other words, a decoder is a circuit that can translate the state of an input binary code into an output signal to represent its original meaning.

For more related knowledge, please visit: PHP Chinese website!

The above is the detailed content of What is the logical function of the encoder?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template