Adaptive encoder level input circuit based on high-speed optocoupler

Through the combination of high-speed optocoupler and micro-control unit, an adaptive encoder level input circuit is designed, which solves the problem of inconsistent levels of intelligent peripheral output ports in AGV handling robots and achieves circuit compatibility and small size. ization, adapting to different encoder output levels, meeting high-speed requirements and improving system reliability.

CN118534762APending Publication Date: 2024-08-23GUANGZHOU JIAZHOU TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410028142.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-09
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

The levels of the output ports of the intelligent peripherals in the AGV handling robot are not uniform, which makes the main control connection difficult. The existing circuit is bulky and has poor compatibility, making it difficult to adapt to the level changes of different encoders.

Method used

Design an input circuit for the adaptive encoder level based on high-speed optocoupler, using EL0631/TLP2168 high-speed optocoupler and STM32F103RCT6 microcontrol unit, through a circuit composed of D1, D2, D3 chip diodes and capacitors and resistors to achieve increased Automatic adaptation and isolation of quantitative encoder output level, adapting to 5V, 12V or 24V encoder output.

Benefits of technology

It achieves better compatibility and miniaturization of the circuit, reduces the number of components, adapts to different encoder output levels, meets high-speed requirements, and smoothes the pulse clutter signal through the integral filter circuit, improving the reliability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118534762A
    Figure CN118534762A
Patent Text Reader

Abstract

The invention relates to the technical field of AGV (Automatic Guided Vehicle) carrying robots, in particular to a self-adaptive encoder level input circuit based on a high-speed optocoupler, one end of the circuit is connected with an incremental encoder, one end, far away from the incremental encoder, of the circuit is connected with an MCU (Microprogrammed Control Unit), the port of the incremental encoder is connected with D1, D2 and D3 patch diode elements, and the port of the MCU is connected with an MCU (Microprogrammed Control Unit). And a port of the MCU is connected with capacitor voltage transmission ports of C4, C3 and C7. Through the arrangement of the incremental encoder, the output level of the encoder capable of being automatically adapted and access of different output encoders, the encoder can be automatically adapted and matched with the level to work, better compatibility is achieved, meanwhile, EL0631 (TA) / TLP2168 is adopted as a high-speed optical coupler, the data rate can reach 10 Mbit / s, and the transmission speed requirement of the encoder is met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of AGV handling robots, in particular to an input circuit of an adaptive encoder level based on a high-speed optical coupler. Background Art

[0002] The most common applications at present are: AGV handling robots or AGV carts, whose main functions are concentrated on automatic logistics handling and transportation. AGV handling robots automatically transport items to designated locations through special landmark navigation. The most common guidance methods are magnetic strip guidance, laser guidance, RFID guidance, etc. Magnetic strip guidance is the most commonly used and the lowest cost method, but the site setting has certain limitations and has a certain impact on the site decoration style; laser guidance has the highest cost and relatively high site requirements, so it is generally not used; RFID guidance has moderate cost, and its advantages are high guidance accuracy, more convenient site setting, and can meet the most complex site layout, and has no impact on the overall decoration environment of the site. Secondly, RFID has high security and stability, which is not available in magnetic strip navigation and laser navigation.

[0003] Therefore, when the AGV handling robot is running, its control circuit needs to be constructed. With the vigorous development and wide application of handling robot technology, a large number of intelligent peripherals have been used on a large scale. However, the output ports of intelligent peripherals produced by each manufacturer have the disadvantages of inconsistent levels and output types, which brings a lot of inconvenience to the main control to connect them. For example, the incremental encoders commonly used in peripherals have high-speed push-pull output TTL (5V) level, high-speed push-pull output HTTL (12V) level, and high-speed push-pull output HTTL (24V) level;

[0004] Usually, the encoder acquisition interface supporting HTTL (12V~24V) push-pull output is used. If it is replaced with a high-speed push-pull encoder connected to TTL (5V) level, the original supported main control board will no longer be applicable due to reasons such as the incompatibility of the level interface. An external level converter is required for transfer, which brings great inconvenience to the application. At the same time, the miniaturization and high density of robot technology require that the circuit part cannot be too bulky.

[0005] In view of this, we propose an adaptive encoder level input circuit based on high-speed optocoupler. Summary of the invention

[0006] In order to make up for the above shortcomings, the present invention provides an input circuit of an adaptive encoder level based on a high-speed optical coupler to solve the problems of bulky size, difficulty in isolation and poor compatibility.

[0007] The technical solution of the present invention is:

[0008] An input circuit of an adaptive encoder level based on a high-speed optical coupler, wherein one end of the circuit is connected to an incremental encoder, the other end of the circuit away from the incremental encoder is connected to an MCU micro-control unit, and the circuit is connected to 12 ground ports;

[0009] The ports of the incremental encoder are connected to D1, D2, and D3 chip diode components, the ports of the MCU micro-control unit are connected to capacitor voltage transmission ports of C4, C3, and C7, the D1 port is connected in series with chip resistors R6 and R5, the D2 port is connected in series with 560R chip resistors R7 and R8, and the port of the D3 chip diode component is provided with R12.

[0010] It should be added that the high-speed optocoupler uses EL0631 (TA) / TLP2168, and the data rate can reach 10Mbit / s, which meets the speed requirement of encoder transmission. At the same time, the MCU microcontroller unit uses the component model STM32F103RCT6, which has rich peripherals and high-performance processing capabilities, and can better meet the control needs in industrial control.

[0011] It is worth mentioning that the 1-2 pin input light emitting diode of the optocoupler U1 uses the 5V built into the board to provide the pull-up working voltage VCC_5.0V_DI, and then connects a current limiting resistor R6 and a Schottky diode D1 in series, which is connected to the push-pull output end of the incremental encoder and used in conjunction with the lower arm switch of the incremental encoder push-pull output.

[0012] As a preferred technical solution, R1, R2, R3, and R4 are connected to the C3 port, and the C3 and the R1 form an integral filter circuit for processing the pulse noise signal of the encoder and identifying it through the MCU micro-control unit.

[0013] As a preferred technical solution, the ports of D1, R6, D2, R7, R5, and R8 are connected to form U1, and R5 is a shunt resistor to prevent the optocoupler of U1 from being turned on due to inductive interference.

[0014] As a preferred technical solution, the port of C7 is connected to R9 and R10, and R12, R9 and R10 form a U2 coupler.

[0015] As a preferred technical solution, the U1 and U2 pins have diode elements at their inputs, which use their own 5V to provide working voltage, are connected in series with current-limiting resistors R6 and D1 and are connected to the output end of the incremental encoder.

[0016] As a preferred technical solution, the R1 and R3 are pull-up voltage-dividing resistors, so that the output level of the circuit is controlled to be 2.5V.

[0017] As a preferred technical solution, the input light emitting diodes of the U1 and U2 pins are turned on, and the U1, U2 and D1 are forward-conducted, and the operating current is limited to 5 mA through R6.

[0018] Compared with the prior art, the present invention has the following beneficial effects:

[0019] 1. The present invention, through the setting of the incremental encoder, can automatically adapt the output level of the encoder and connect different output encoders, so that it can automatically adapt and match the level to work, thereby achieving better compatibility. At the same time, its high-speed optical coupler adopts EL0631 (TA) / TLP2168, and the data rate can reach 10Mbit / s, which meets the speed requirement of encoder transmission.

[0020] 2. The present invention controls the output level at 2.5V by using pull-up voltage-dividing resistors R1 and R3 to adapt to the MCU of the 3.3V system, and R1 and R3 can be combined in C3 to smooth and filter the pulse noise signal of the encoder, making the operation more reliable.

[0021] 3. The component models of the entire circuit in the present invention use integrated multi-channel components, which reduces the number of components in the circuit, making the volume of the entire electronic components more compact, and its high-density setting makes it more convenient to integrate into the AGV main control circuit. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 It is a schematic diagram of the circuit structure of the present invention. DETAILED DESCRIPTION

[0023] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0024] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items.

[0025] like Figure 1 As shown, the present invention provides a technical solution:

[0026] An input circuit of an adaptive encoder level based on a high-speed optical coupler, wherein one end of the circuit is connected to an incremental encoder, the other end of the circuit away from the incremental encoder is connected to an MCU micro-control unit, and the circuit is connected to 12 ground ports;

[0027] The ports of the incremental encoder are connected to D1, D2, and D3 chip diode components, the ports of the MCU micro-control unit are connected to capacitor voltage transmission ports of C4, C3, and C7, the D1 port is connected in series with chip resistors R6 and R5, the D2 port is connected in series with 560R chip resistors R7 and R8, and the port of the D3 chip diode component is provided with R12, which is a 560R chip resistor. If an encoder with a 5V, 12V or 24V level output is connected, it can adaptively match the level to work.

[0028] It is worth mentioning that the high-speed optocoupler uses EL0631 (TA) / TLP2168, and the data rate can reach 10Mbit / s, which meets the speed requirement of encoder transmission. At the same time, the MCU microcontroller unit uses the component model STM32F103RCT6, which has rich peripherals and high-performance processing capabilities, and can better meet the control needs in industrial control.

[0029] It should be added that R1, R2, R3, and R4 are connected to the C3 port, and the C3 and the R1 form an integral filter circuit for processing the pulse noise signal of the encoder and identifying it through the MCU micro-control unit.

[0030] As a preferred embodiment of the present invention, R12 is connected to R11 at D3 to access U2, and R11 is connected to VCu_5.0V-D1 to C6 to the ground terminal.

[0031] It is worth mentioning that D1, D2, and D3 all use components of model DSS310.

[0032] As the preferred embodiment of this example, the 1-2 pin input light emitting diode of the optocoupler U1 uses the built-in 5V of the board to provide the pull-up working voltage VCC_5.0V_DI, and then a current limiting resistor R6 and a Schottky diode D1 are connected in series, connected to the push-pull output end of the incremental encoder, and used in conjunction with the lower arm switch of the incremental encoder push-pull output.

[0033] It should be added that the D1 channel connects R6 to R5 and is connected to U1, and the shunt connection is C2, the D2 channel connects R7, and the R7 port connects R8 to U1.

[0034] As a preference of this embodiment, the ports of D1, R6, D2, R7, R5, and R8 are connected to form U1, and R5 is a shunt resistor to prevent the optocoupler of U1 from being turned on due to inductive interference.

[0035] As a preferred embodiment of the present invention, the port of C7 is connected with R9 and R10, and the R12, R9 and R10 form a U2 coupler. The C7 channel sequentially connects R10 and R9 to U2, and R9 is connected to C5, which uses 104 / 105v.

[0036] As a preferred embodiment of the present invention, U1 and the U2 pins have diode elements at their inputs, which use their own 5V to provide operating voltage, are connected in series with current-limiting resistors R6 and D1 and are connected to the output end of the incremental encoder.

[0037] It is worth noting that R1 and R3 are pull-up voltage-dividing resistors, so that the output level of the circuit is controlled to 2.5V.

[0038] As a preferred embodiment of the present invention, the input light emitting diodes of U1 and U2 pins are turned on, and U1, U2 and D1 are forward-conducted, and the operating current is limited to 5 mA through R6.

[0039] In terms of specific use;

[0040] S1: When the output pin of the encoder pushes and pulls to output a high level, the voltage will not flow back because of the presence of the Schottky diode D1. At this time, the input light-emitting diode of the optocoupler is cut off and does not emit light. The output end of the 7th foot of the optocoupler U1 is in a high-impedance state and is pulled up to 2.5V through the pull-up and voltage-dividing resistors R1 and R3.

[0041] S2: When the output pin of the encoder push-pull outputs a low level, the 1-2 pin input light emitting diode of the optocoupler U1 and the Schottky diode D1 are forward-conducted, and the current is limited to the optimal working current of about 5mA through R6. At this time, the 1-2 pin input light emitting diode of the optocoupler U1 is turned on and emits light, and the 7-pin output of the optocoupler U1 is low, achieving the purpose of isolated communication through high-speed optocoupler.

[0042] As a preferred embodiment of the present invention, due to the presence of D1, when the encoder push-pull output is high, the reverse phase is cut off and no damage is caused to the optocoupler input terminal. When the encoder push-pull output is low, the positive phase is turned on, thereby achieving the correct operation of the adaptive encoder output level of 5 to 24V.

[0043] During specific use, the output end uses pull-up voltage-dividing resistors R1 and R3 to control the output level at 2.5V to adapt to the MCU of the 3.3V system. R1 and R3 can be combined with C3 to smooth and filter the pulse noise signal of the encoder, making the operation more reliable.

[0044] When the input circuit of the adaptive encoder level based on the high-speed optocoupler of the present invention is used specifically, when the output pin of the encoder push-pull outputs a high level, the voltage will not flow back because of the presence of the Schottky diode D1. At this time, the input light-emitting diode of the optocoupler is cut off and does not emit light. The output end of the 7th foot of the optocoupler U1 is in a high-resistance state and is pulled up to 2.5V through the pull-up and voltage-dividing resistors R1 and R3.

[0045] When the encoder output pin push-pull outputs a low level, the 1-2 pin input LED and Schottky diode D1 of the optocoupler U1 are forward-conducted, and the current is limited to the optimal working current of about 5mA through R6. At this time, the 1-2 pin input LED of the optocoupler U1 is turned on and emits light, and the 7-pin output of the optocoupler U1 is low, achieving the purpose of high-speed optocoupler isolation communication;

[0046] The output end uses pull-up voltage divider resistors R1 and R3 to control the output level at 2.5V to adapt to the MCU of the 3.3V system. R1 and R3 can be combined with C3 to smooth and filter the pulse noise signal of the encoder, making the operation more reliable.

[0047] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited by the above embodiments. The above embodiments and descriptions are only preferred examples of the present invention and are not intended to limit the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention. The scope of protection of the present invention is defined by the attached claims and their equivalents.

Claims

1. An adaptive encoder level input circuit based on high-speed optocoupler, characterized in that: One end of the circuit is connected to an incremental encoder, one end of the circuit away from the incremental encoder is connected to an MCU micro-control unit, and the circuit is connected to 12 grounding ports; The ports of the incremental encoder are connected to D1, D2, and D3 chip diode components, the ports of the MCU micro-control unit are connected to capacitor voltage transmission ports of C4, C3, and C7, the D1 port is connected in series with chip resistors R6 and R5, the D2 port is connected in series with 560R chip resistors R7 and R8, and the port of the D3 chip diode component is provided with R12.

2. The input circuit of the adaptive encoder level based on high-speed optocoupler as claimed in claim 1, characterized in that: The C3 port is connected to R1, R2, R3, and R4, and the C3 and the R1 form an integral filter circuit for processing the pulse noise signal of the encoder and identifying it through the MCU micro-control unit.

3. The input circuit of the adaptive encoder level based on high-speed optocoupler as claimed in claim 1, characterized in that: The ports of D1, R6, D2, R7, R5 and R8 are connected to form U1, and R5 is a shunt resistor to prevent the optocoupler of U1 from being turned on due to inductive interference.

4. The input circuit of the adaptive encoder level based on high-speed optocoupler as claimed in claim 1, characterized in that: The port of C7 is connected to R9 and R10, and R12, R9 and R10 form a U2 coupler.

5. An adaptive encoder level input circuit based on high-speed optocoupler as described in any one of claims 3-4, characterized in that: The U1 and U2 pins have diode elements at their inputs, which use their own 5V to provide working voltage. They are connected in series with current-limiting resistors R6 and D1 and are connected to the output end of the incremental encoder.

6. The input circuit of the adaptive encoder level based on high-speed optocoupler as claimed in claim 1, characterized in that: The R1 and R3 are pull-up voltage-dividing resistors, so that the output level of the circuit is controlled to 2.5V.

7. The input circuit of the adaptive encoder level based on high-speed optocoupler as claimed in claim 1, characterized in that: The light emitting diodes at the U1 and U2 pins are turned on, and the forward conduction generated by U1, U2 and D1 is conducted, and the operating current is limited to 5 mA through R6.