With the improvement of the level of automation in industrial production, the application of various sensors is also increasing. As a sensor for speed and displacement feedback, rotary encoder is mainly used in CNC machine tools, high-precision closed-loop speed control systems, servo motors, asynchronous motors, stepping motors, elevator traction machines, elevator door machines and even mechanical axes. Automatic control of speed and displacement information feedback to ensure high-precision and stable operation of the machine, thereby improving production efficiency and ensuring safe operation.

In this paper, based on the application of rotary encoder in industrial field, based on LPCI768 hardware platform, a rotary encoder acquisition module is designed. The module has high-precision analysis, shaping and decoding circuits, which can simultaneously input the input signals of two encoders. Analysis and decoding. The processed rotation signal is acquired and digitally filtered by a high performance processor. The rotary encoder also calculates the angular velocity of the two encoder signals. The final module sends the acquired rotational position value and angular velocity value to the DPU (Distributed Processing Unit) via the CAN bus for industrial use.

1 rotary encoder

A rotary encoder is a sensor that measures the movement of a rotating component. It is a sensor that converts the amount of mechanical displacement of a rotation into an electrical signal, and processes the signal to detect position, speed, and the like. The so-called encoding is actually the process of converting the information of the rotation angle into an electrical signal readable by the single chip microcomputer. Rotary encoders can be divided into contact type, photoelectric type and electromagnetic type according to the working principle. According to the form of output signal, it can be divided into two types: incremental type and absolute value. Among them, incremental type encoder is the most commonly used in industry. Encoder.

The incremental encoder includes a code wheel, a light emitting element, a receiving element, and a signal processing portion. When the shaft rotates, the code wheel rotates, so that the line is transparent, and the space is opaque. The transmitted light is received by the receiving component and input to the signal processing part to generate a pulse signal output. The output signal generally includes A and B. Two phases (phase difference 90°), some encoders will output a zero pulse Z every revolution, as the mechanical reference zero. When the spindle rotates in the clockwise direction, the A channel signal is located before the B channel; when the spindle rotates counterclockwise, the A channel signal is located after the B channel, so that it can be judged whether the spindle is forward or reverse.

2 CAN bus

The Controller Area Network (CAN) is one of the most widely used fieldbuses in the world. The CAN bus was originally developed by Bosch in Germany for automotive applications in 1983. It is a serial communication network that effectively supports distributed control and real-time control. It belongs to the field bus. With the continuous improvement and development of the CAN bus, it has been adopted as an international standard by international standards organizations.

The CAN bus is a multi-master serial communication bus. The basic design specification requires high bit rate and high anti-interference, and can detect any errors generated. When the signal transmission distance reaches 10 km, the data transmission rate of up to 5 kb/s can still be provided. After the CAN protocol is standardized by lSO, there are two kinds of IS011898 standard and IS011519 standard. The difference between the two is that the definition of the physical layer is different. ISOll898 is a CAN high-speed communication standard with a communication speed of 125 kb/s to -1 Mb/s, and ISOll519 is a CAN low-speed communication standard with a communication speed of 125 kb/s or less.

Aluminum profile heatsink is also called heatsink aluminum profile or sunflower aluminum profile. Aluminum profile heatsink has the characteristics of beautiful appearance, light weight, good heat dissipation performance, good energy saving effect and so on. The surface of radiator is treated by anodizing to increase the corrosion resistance and appearance of aluminum.

Extrusion Heat Sink

Extrusion Heat Sink,Extruded Heat Sink,Heatsink Extrusion Profiles,Aluminium Extrusion Heat Sink Profiles

Dongguan Formal Precision Metal Parts Co,. Ltd , https://www.formalmetal.com