Basic knowledge
The working principle and function of the encoder
The working principle and function of the encoder: It is a rotary sensor that converts the rotational displacement into a series of digital pulse signals. These pulses can be used to control the angular displacement. If the encoder is combined with a gear bar or a spiral screw, it is also Can be used to measure linear displacement.
After the encoder generates the electrical signal, it is processed by the digital control CNC, programmable logic controller PLC, control system, etc. These sensors are mainly used in the following areas: machine tools, material processing, motor feedback systems, and measurement and control equipment. The conversion of angular displacement in the ELTRA encoder adopts the photoelectric scanning principle. The reading system is based on the rotation of a radial index plate, which is composed of alternating light-transmitting windows and opaque windows. This system all uses an infrared light source to illuminate vertically, so that the light projects the image on the plate onto the surface of the receiver, which is covered with a layer of grating, called a collimator, which has the same window as the optical disc. The job of the receiver is to feel the light change produced by the rotation of the disc, and then convert the light change into a corresponding electrical change. Generally, a rotary encoder can also get a speed signal, which has to be fed back to the inverter to adjust the output data of the inverter. Trouble phenomenon: 1. When the rotary encoder is broken (no output), the inverter cannot work normally, and the running speed becomes very slow, and after a while, the inverter protects and displays "PG disconnection"...the combined action can only take effect. To make the electrical signal rise to a higher level and produce a square wave pulse without any interference, this must be processed by electronic circuits. Encoder pg wiring and parameters The connection mode between the vector inverter and the encoder pg must correspond to the encoder pg model. Generally speaking, there are three types of encoder PG: differential output, open-collector output and push-pull output. The signal transmission method must take into account the interface of the inverter PG card, so choose the appropriate pg card model or set it reasonably.
Encoders are generally divided into incremental type and type, and there are differences between them: In the case of incremental encoders, the position is determined by the number of pulses calculated from the zero mark, while the position of the type encoder is determined by the output code The reading is ok. In a circle, the reading of the output code of each position is yes; Therefore, when the power is disconnected, the type encoder is not separated from the actual position. If the power is turned on again, the position reading is still current and valid; Unlike incremental encoders, you must search for the zero mark.
Now the encoder manufacturers produce a complete series, which are generally dedicated, such as elevator dedicated encoders, machine tool dedicated encoders, servo motor dedicated encoders, etc., and the encoders are all intelligent, and there are various types of encoders. The parallel interface can communicate with other devices.
Encoder is a device that converts angular displacement or linear displacement into electrical signals. The former is called a code wheel, and the latter is called a yardstick. Encoders can be divided into contact type and non-contact type according to the reading mode. The contact type uses a brush to output. A brush touches the conductive area or the insulating area to indicate whether the code status is "1" or "0"; the non-contact type receiving sensitive element is a photosensitive element or a magnetic sensitive element. The light-transmitting area and the opaque area indicate whether the state of the code is "1" or "0".
According to the working principle, encoders can be divided into two types: incremental and type. The incremental encoder converts the displacement into a periodic electric signal, and then converts this electric signal into a counting pulse, and the number of pulses is used to indicate the magnitude of the displacement. Each position of the type encoder corresponds to a certain digital code, so its indication is only related to the start and end positions of the measurement, and has nothing to do with the middle process of the measurement.
Rotary incremental encoder outputs pulses when rotating, and knows its position through counting equipment. When the encoder does not move or the power fails, it relies on the internal memory of the counting equipment to remember the position. In this way, when the power is off, the encoder cannot move. When the power is on, the encoder cannot lose the pulse due to interference during the output pulse. Otherwise, the zero point of the counting device will shift, and this deviation There is no way to know the amount of shift, only after the wrong production results appear. The solution is to increase the reference point. Every time the encoder passes the reference point, the reference position is corrected into the memory position of the counting device. Before the reference point, the accuracy of the position cannot be guaranteed. For this reason, in industrial control, there are methods such as finding the reference point for each operation, turning on the machine, and so on. Such an encoder is determined by the mechanical position of the encoder, and it is not affected by power failure or interference.
The performance of each position of the encoder determined by the mechanical position does not need to be memorized, does not need to find a reference point, and does not need to be counted all the time. When it needs to know the position, when to read its position. In this way, the anti-interference characteristics of the encoder and the reliability of the data are greatly improved.
Since the encoder is significantly better than the incremental encoder in positioning, it has been increasingly used in industrial control positioning. Because of its high precision, the output digits of the type encoder are large. If parallel output is still used, each output signal must ensure a good connection. For more complex working conditions, it must be isolated. The number of connecting cables is large. Due to many inconveniences and reduced reliability, encoders generally use serial output or bus output in multi-digit output type. The serial output of German-produced encoders is commonly used as SSI (synchronous serial output).
Multi-turn encoder. The encoder manufacturer uses the principle of clock gear mechanism. When the center code wheel rotates, another set of code discs (or multiple sets of gears, multiple sets of code discs) are driven by gears, and the number of turns is added to the single-turn encoding. Encoding, in order to expand the measuring range of the encoder, such an encoder is called a multi-turn encoder, it is also determined by the mechanical position of the code, each position code is not repeated, and does not need to be memorized. Another advantage of the multi-turn encoder is that due to the large measuring range, the actual use is often richer, so it is not necessary to find the change point during installation. It is enough to use a certain intermediate position as the starting point, which greatly simplifies the difficulty of installation and debugging. Multi-turn encoders have obvious advantages in length positioning, and they have been increasingly used in industrial control positioning.