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.
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!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment