September 28, 2020

Optical fiber implementation of photoelectric encoder signal transmission

1 Introduction

Photoelectric encoders are commonly used in modern motor control systems to detect the position and speed of a rotating shaft. They are high-precision angular position measuring sensors that convert mechanical geometric displacements on the output shaft into pulses or digital quantities by photoelectric conversion. Due to its high resolution, fast response and small size, it is widely used in motor control systems.

2. Optical fiber implementation of absolute value photoelectric encoder signal transmission

The encoder is divided into an absolute encoder and an incremental encoder according to the signal output form. The absolute photoelectric encoder has the advantages of direct output interface with PLC module, ARM or FPGA, and has no cumulative error. However, the price is high and the manufacturing process is complicated, so it is not suitable for miniaturization. There are two types of absolute encoders, single and multiple. The single-turn absolute encoder automatically returns to zero after one rotation; the multi-turn absolute encoder rotates to the maximum number of turns of the encoder, and the maximum count value automatically returns to zero. Absolute encoders are generally coded using Gray code discs. When GrayCode converts between any two adjacent numbers, only one digit changes. Take the resolution of 24 four-digit binary code disk as an example. If the absolute encoder uses a binary 8421 code disc, as shown in Figure 1, there is one or more bit positions between the two sequential codes. For example: two sequential binary codes, changing from 0111 to 1000, all bits of the binary code change their state. It may be wrong to get a reading at the transition moment of changing the state. That is, the synchronization and sampling of the position becomes very difficult.

Four-digit binary 8421 code disk

The binary Gray code disk is used. As shown in FIG. 2, between the two sequential codes, from the last bit code to the first bit code, only one bit position is changed, so that the position synchronization and sampling become accurate, Simple and feasible. For the conversion relationship between the natural binary code and the Gray code, reference can be made to the related literature.

Four-bit binary Gray code disk

Absolute encoder signal output generally has parallel output, serial output, bus type output, and variable output integrated output. The following is a brief introduction to its output method.

2.1 Parallel output

Absolute encoder output is multi-digit digital (Gray code or pure binary code), parallel output is multi-point high and low output on the interface to represent digital 1 or 0, for the absolute encoder with low digits Generally, the digital output is directly outputted in this form, and can directly enter the I/O interface of the PLC or the upper computer, and the output is instantaneous, and the connection is simple. But the parallel output has the following problems:

1 must be Gray code, because if it is a pure binary code, there may be multiple changes in the data refresh, the reading will cause the wrong code in a short time.

2 All interfaces must be connected well, because if there is a bad connection point, the potential of this point is always 0, which causes the wrong code and cannot be judged.

3 transmission distance can not be far, usually one or two meters, for complex environments, it is best to have isolation.

4 For a large number of bits, many core cables are required, and the connection is good, which brings engineering difficulties. Similarly, for the encoder, there are many node outputs at the same time, which increases the fault damage rate of the encoder.

2.2 Synchronous Serial (SSI) Output

Serial output is a sequence of data output in time. The physical form of the connection is RS232, RS422 (TTL), RS485, etc. The SSI interface, such as the RS422 mode, is connected by two data lines and two clock lines, and the receiving device sends an interrupted clock pulse to the encoder, and the absolute position value is output to the receiving device by the encoder and the clock pulse. Triggered by the clock signal sent by the receiving device, the encoder begins to output a serial signal synchronized with the clock signal. The serial output cable is small and the transmission distance is long, which improves the reliability and protection of the encoder. Generally, high-order absolute encoders are serially output.

2.3 Fieldbus output (asynchronous serial)

The fieldbus type encoder is a plurality of encoders each connected by a pair of signal lines. By setting an address and transmitting a signal by communication, the receiving device of the signal can read a plurality of encoder signals by only one interface.

The bus type encoder signal follows the physical format of RS 4 8 5. At present, there are various communication protocols, each has its own advantages, and has not been unified. The commonly used communication protocols of the encoder are as follows: PROFIBUS-DP; CAN; DeviceNet.

The bus type encoder can save the connection cable and the receiving device interface, and the transmission distance is long. In the case of centralized control of multiple encoders, the cost can be greatly saved.

Function:
these series are made of metal materials. it have terminal cable and distribution function.
Standards:
●Comply with ANSI/EIA RS-310-D. IEC297-2. DIN41494; PART1. DIN41494; PART7, ETSI standard.

1. The fiber fixation and protection function
Fiber inlet, fixation and protection device should be provided. The fibers will be protected from being damaged when they are let in and fixed in the frame through these devices. The metal parts of the cables are insulated from the machine. The metal jacket of the cable & the reinforced core should be connected with the high voltage protective earthing device after being fixed;
2. The termination & connection function
Termination device should be provided, which is used for the connection operation, construction, installation & maintenance. It could fix and protect the connector and make sure the connector even but not displaced and free from external influence, guarantee the coiled fibers and pigtails not damaged;
3.The protection of the fibers and pigtails The fibers are protected with protective device after being peeled and then will be fixed and let in to fiber termination device;
4. Capacity The capacity of each cabinet and each unit (according to the quantity of the adapters) should be regulated. The termination device, the coiling device for pigtails, adapter holders, pigtail & adapters should be compatible when fully collocated

Fiber Distribution Cabinet

Fiber Distribution Cabinet,Fiber Distribution Box,Fiber Optic Enclosure,Fiber Optic Splitter Box

ChengDu HTLL Electronical Equipment Co.,LTD , https://www.cnhtll.com