Converter for Tamagawa-to-increment type encoder interface
By designing a converter for the Tamagawa incremental encoder interface, the problem of complex decoding of the Tamagawa encoder protocol by the servo driver was solved, enabling diversified driver selection and cost reduction, and improving the system's flexibility and interchangeability.
Patent Information
- Application Number
- CN202420520659.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-18
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2034-03-18
AI Technical Summary
Existing servo drives have high requirements for decoding the encoder protocol of the Tamagawa interface, resulting in expensive drives with few models and difficulty in compatibility with Tamagawa encoders.
Design a converter for Tamagawa incremental encoder interfaces, including a power supply circuit, an RS485 circuit, an ABZ incremental interface, and a main control chip. The converter converts the Tamagawa protocol to the ABZ incremental interface through hardware decoding, simplifying driver selection and reducing costs.
It achieves compatibility with a variety of servo drives, reduces the difficulty and cost of drive selection, improves the interchangeability and flexibility of system components, and simplifies the maintenance process.
Smart Images

Figure CN221841334U_ABST
Abstract
Description
Technical Field
[0001] The utility model belongs to the technical field of industrial control, and in particular relates to a converter for a Tamachuan incremental encoder interface. Background Art
[0002] Servo motors are widely used in the fields of automation and industrial control. They are used in robots, CNC machine tools, automatic assembly lines and other automation systems to achieve high-precision and high-speed movement. In servo motors, encoders are an important component that provides accurate angle information for the motor. With the development of the market, there are more and more types of encoder interfaces and protocols. The encoder is generally built into the motor as a part of the motor when it leaves the factory, which makes it increasingly difficult to achieve compatibility between the servo motor driver and the motor.
[0003] In traditional servo motors, the incremental type is a relatively basic encoder interface, which is compatible with almost all drivers on the market. The Tamagawa interface is an encoder protocol added on top of the NRZ protocol of the RS485 interface. It has relatively high decoding requirements for the driver and even requires an additional FPGA chip for decoding. Therefore, the servo drivers on the market that can support the Tamagawa interface are more expensive and have fewer models. Utility Model Content
[0004] In view of the above problems, the utility model aims to provide a converter for the Tama River incremental encoder interface.
[0005] In view of the above technical problems, the utility model provides a converter for the Tamagawa to incremental encoder interface to solve the compatibility problem of servo drivers on the market and convert the complex and cumbersome Tamagawa protocol into an ABZ incremental interface to reduce the difficulty and cost of user servo driver selection.
[0006] To achieve this technical purpose, the solution of the utility model is:
[0007] A converter for a Tama River incremental encoder interface comprises a power supply circuit, an RS485 circuit, an ABZ incremental interface and a main control chip capable of receiving ABZ incremental signals, wherein one path of the power supply circuit steps down an input voltage from 5V to 3.3V for stable output via the LD0 voltage stabilizer, the RS485 circuit comprises an RS485 chip, the RS485 chip is connected to a main control SEI signal transmission, the main control chip is provided with an SEI serial encoder input interface, and the SEI serial encoder input interface is electrically connected to the RS485 circuit via the SEI_DE pin, the SEI_TXD pin and the SEI_RXD pin.
[0008] Preferably, it also includes a Tamagawa data line with a Tamagawa interface, the master control SEI includes a SEI_DATA_P pin and a SEI_DATA_N pin, the SEI_DATA_P pin and the SEI_DATA_N pin are respectively connected to the Tamagawa data line, and the SEI_DE pin is electrically connected to the Tamagawa interface.
[0009] Preferably, the SEI_DE pin data is sent to the Tamagawa interface, and the SEI_RXD pin data receives the Tamagawa data.
[0010] Preferably, the converter is powered by a 5V input power supply.
[0011] As a preference, the main control chip is HPM5361ICB1 Pioneer Semiconductor
[0012] Preferably, the main control chip is also provided with an MMC motion control unit for testing the time point of angle change.
[0013] Beneficial effects of the utility model: The converter of the present application can more easily select a suitable drive model by converting to an incremental encoder interface, thereby better meeting performance and precision requirements. The encoder interface of the present application is generally a standard interface, which is compatible with many servo motor drives, improves the interchangeability of system components and the flexibility of integration, and enables users to more easily replace or upgrade components. Compared with traditional Tamagawa encoders, the encoder of the present application has a more competitive price driver, which helps to reduce the overall cost of the system. The encoder interface of the present application is relatively standard, and it is easier to find substitutes or spare parts, which helps to simplify the maintenance and repair process. The present application converts the Tamagawa interface encoder into an incremental interface, which can improve the flexibility of the system and make it easier to adapt to future changes in demand or upgrades. Incremental encoder interfaces are generally easier to integrate into existing automation systems. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 It is a circuit diagram of the utility model;
[0015] Figure 2 The RS485 circuit diagram of the converter of the utility model;
[0016] Figure 3 Schematic diagram of the ABZ incremental interface of the converter of the utility model;
[0017] Figure 4 A schematic diagram of a power supply circuit of a converter of the present invention. DETAILED DESCRIPTION
[0018] The utility model of the present application is further described in detail below in conjunction with the accompanying drawings and specific embodiments. In order to clearly and completely describe the technical solution, the following embodiments are selected for illustration; based on the contents recorded in this application, other embodiments obtained without creative work are all within the scope of protection of this utility model.
[0019] In the following embodiments, it should be noted that the terms "upper", "lower", "left", "right", "inside", "outside", "top / bottom" and other orientations or positional relationships are based on the orientations or positional relationships shown in the drawings, and are only for the convenience of clearly describing the present embodiment, rather than indicating or implying that the device or element referred to must have a specific orientation, and therefore cannot be understood as a limitation on the present application.
[0020] like Figure 1-4 As shown, an embodiment of the utility model is a converter for the Tamachuan incremental encoder interface, including a power supply circuit, an RS485 circuit, an ABZ incremental interface and a main control chip capable of receiving ABZ incremental signals.
[0021] Specifically, in this embodiment: the power supply circuit is responsible for providing a stable power supply voltage for the converter. The power supply circuit includes components such as a power management chip, a power filter and a voltage stabilization circuit to ensure that the converter can work normally and provide the required power. The RS485 circuit is a commonly used serial communication standard for realizing long-distance communication. In this converter, the RS485 circuit acts as a communication interface between the converter and external devices. The RS485 circuit mainly includes a driver for converting the data signal of the converter into a differential signal for transmission, and converting the received differential signal back into a data signal.
[0022] The ABZ incremental interface is a digital interface standard for encoders. It detects and encodes the rotational motion of the sensor. It usually consists of three signals: A phase, B phase, and Z phase. Phase A and phase B are orthogonal signals with a phase difference of 90 degrees, which are used to detect the rotation direction and angle change; the Z phase signal is used to mark the starting position of one rotation. In this converter, the ABZ incremental interface is used to communicate with the encoder and obtain information about the rotational motion.
[0023] The main control chip is the core component of the entire converter, responsible for controlling the data exchange and processing between various functional modules. It includes a microprocessor, a single-chip microcomputer or a programmable logic device, etc. The main control chip works in conjunction with the power supply circuit, RS485 circuit and ABZ incremental interface to achieve control of the converter and data transmission.
[0024] like Figure 2 As shown, the RS485 circuit of the utility model embodiment is Figure 2The circuit where U13 is located converts the RS485 signal with the SEI signal of the master control through the RS485 chip U13 to complete the docking of the Tamagawa physical interface. Specifically, the SEI_DATA_P pin and SEI_DATA_N pin are connected to the data line of the Tamagawa, the input and output direction of the Tamagawa interface is controlled through the SEI_DE pin, data is sent to the Tamagawa interface through the SEI_TXD pin, and the Tamagawa data is received through the SEI_RXD pin.
[0025] Specifically, the RS485 circuit is a differential signal communication standard, which is often used to realize serial data transmission in long distance and high noise environment. It transmits data through differential signals, one of which is a positive polarity signal (SEI_DATA_P pin) and the other is a negative polarity signal (SEI_DATA_N pin). The RS485 chip U13 is an integrated circuit specially designed for RS485 communication, which can convert the data signal of the converter into a differential signal for transmission, and convert the received differential signal back into a data signal. The RS485 chip U13 is connected to the data line of the Tamagawa through the SEI_DATA_P pin and the SEI_DATA_N pin, thereby realizing communication with the Tamagawa interface.
[0026] The SEI_DE pin is the output control signal of the RS485 chip U13, which is used to control the input and output direction of the Tamagawa interface. When the SEI_DE pin is high, the RS485 chip U13 is in the sending mode, and sends the data from the SEI_TXD pin to the Tamagawa interface; when the SEI_DE pin is low, the RS485 chip U13 is in the receiving mode, receiving data from the Tamagawa interface and transmitting it to the master through the SEI_RXD pin. The SEI_TXD pin is the sending data signal line of the RS485 chip U13, which is used to send data to the Tamagawa interface; the SEI_RXD pin is the receiving data signal line of the RS485 chip U13, which is used to receive data from the Tamagawa interface. Through the SEI_TXD pin and SEI_RXD pin signals, the RS485 chip U13 realizes bidirectional data transmission with the Tamagawa interface.
[0027] In summary, U13 is an RS485 chip, which plays the role of converting RS485 signals into master control SEI signals in the RS485 circuit. It is connected to the data line of Tamagawa through SEI_DATA_P and SEI_DATA_N pins, controls the input and output direction of the Tamagawa interface through SEI_DE pin, sends data to the Tamagawa interface through SEI_TXD pin, and receives Tamagawa data through SEI_RXD pin, thereby completing the docking and data transmission of the Tamagawa physical interface.
[0028] like Figure 3 As shown, the ABZ incremental interface of the embodiment of the utility model is J9 in the figure, which directly outputs ABZ incremental signals QEO_A, QEO_B and QEO_Z from the main control chip for external devices such as drivers to confirm the motor rotation angle, and also includes a 5V input power supply for powering the entire converter.
[0029] Specifically, the ABZ incremental interface of this embodiment is a commonly used rotary encoder interface used to measure the rotation angle, and is composed of three signal lines: QEO_A, QEO_B and QEO_Z, wherein QEO_A and QEO_B are orthogonal pulse signals with a phase difference of 90 degrees, used to measure the rotation direction and speed; QEO_Z is a flag signal used to determine the starting position of the rotation. The main control chip is the core component of the converter, responsible for converting the input signal into an ABZ incremental signal. The main control chip processes the input signal through internal logic circuits and counters, and generates corresponding ABZ incremental signals according to the rotation direction and the number of pulses. The main control chip has high-speed counting capabilities and flexible configuration options, which can meet the requirements of different speeds and resolutions.
[0030] The driver is an external device connected to the converter and is used to confirm the rotation angle of the motor. Based on the received ABZ incremental signal, the driver can calculate the rotation angle of the motor and control the movement of the motor. The driver determines the increase or decrease of the rotation angle based on the change in the rotation direction and the number of pulses. The converter requires a stable power supply to work properly, so a 5V input power supply is included to ensure its stable operation by providing power to the entire converter.
[0031] In summary, the converter outputs the ABZ incremental signals QEO_A, QEO_B and QEO_Z generated by the main control chip through the main control chip for external devices (such as drivers) to confirm the rotation angle of the motor. At the same time, the converter includes a 5V input power supply to provide power for the entire converter. The converter can realize the conversion of the Tamagawa encoder interface and provide a stable power supply to meet the needs of external devices for rotation angle measurement and motor control.
[0032] like Figure 4As shown, the main control chip of the embodiment of the utility model is shown in U1 in the figure, and the advanced HPM5331 is adopted. The main control chip has a SEI serial encoder input interface, which is connected to the 485 circuit through the SEI_DE pin, SEI_TXD pin and SEI_RXD pin. After being configured according to the Tamagawa protocol through the software, hardware decoding is directly implemented. When the Tamagawa data is received, the corresponding angle data is directly obtained, eliminating the complex software decoding and achieving ultra-high decoding real-time performance; it has a QEO orthogonal encoder output interface, and can output the angular change of the motor position in the form of an incremental signal ABZ; it has an MMC motion control unit, which can estimate the time point of the angle change through the rotation speed, so that the ABZ output signal is output evenly, and prevent the AB output speed from suddenly changing and causing the driver to detect errors. At the same time, it can adjust the ABZ output step to adapt to the step setting of the driver.
[0033] Specifically, the HPM5331 has an SEI serial encoder input interface and a QEO quadrature encoder output interface, and is connected to the 485 circuit through the SEI_DE pin, SEI_TXD pin and SEI_RXD pin interface, and communicates according to the Tamagawa protocol through software configuration. The HPM5331 has a hardware decoding function, which can directly receive and decode the data sent by the Tamagawa encoder, and directly obtain the corresponding angle data after the reception is completed, without the need for a complex software decoding process, thereby achieving ultra-high decoding real-time performance. The SEI interface is connected to the 485 circuit to realize data transmission between the main control chip and the encoder. The SEI_DE pin, SEI_TXD pin and SEI_RXD pin are respectively the pins for data enable, data sending and data receiving. Through this interface, the main control chip can send and receive data from the encoder and process it.
[0034] The QEO interface is an output interface provided by the main control chip, which is used to output the angular change of the motor position in the form of incremental signals ABZ. QEO_A and QEO_B are orthogonal pulse signals with a phase difference of 90 degrees, which are used to measure the rotation direction and speed; QEO_Z is a flag signal used to determine the starting position of the rotation. Through these output signals, external devices (such as drivers) can confirm the rotation angle of the motor.
[0035] The MMC motion control unit is an important functional module of the main control chip. It estimates the time point of angle change according to the rotation speed, so that the ABZ output signal is output evenly during the angle change process. It can prevent the driver from detecting errors caused by sudden changes in AB output speed, and can adapt the step size setting of the driver by adjusting the ABZ output step size.
[0036] In summary, the converter uses HPM5331 as the main control chip, and uses the SEI serial encoder input interface to connect with the 485 circuit at the physical level. Real-time reception and analysis of the Tamagawa encoder data is achieved through hardware decoding. At the same time, the angle change of the motor is output in the form of incremental signal ABZ through the QEO orthogonal encoder output interface. The MMC motion control unit can estimate the time point of the angle change, achieve uniform output of the output signal, and can adapt to the needs of the drive by adjusting the step size.
[0037] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any minor modifications, equivalent substitutions and improvements made to the above embodiments based on the technical essence of the present invention should be included in the protection scope of the technical solution of the present invention.
Claims
1. A converter for the Tama River incremental encoder interface, characterized in that: It includes a power supply circuit, an RS485 circuit, an ABZ incremental interface and a main control chip that can receive ABZ incremental signals. One path of the power supply circuit reduces the input voltage from 5V to 3.3V for stable output through an LD0 voltage regulator. The RS485 circuit includes an RS485 chip, which is connected to the main control SEI signal transmission. The main control chip is provided with an SEI serial encoder input interface, which is electrically connected to the RS485 circuit through a SEI_DE pin, a SEI_TXD pin and a SEI_RXD pin.
2. The converter for the Tama River incremental encoder interface according to claim 1, characterized in that: It also includes a Tamagawa data line with a Tamagawa interface. The master control SEI includes a SEI_DATA_P pin and a SEI_DATA_N pin. The SEI_DATA_P pin and the SEI_DATA_N pin are respectively connected to the Tamagawa data line, and the SEI_DE pin is electrically connected to the Tamagawa interface.
3. The converter for the Tama River incremental encoder interface according to claim 1, characterized in that: The main control chip adopts HPM5361ICB1 type Pioneer Semiconductor.
4. The converter for the Tama River incremental encoder interface according to claim 1, characterized in that: The main control chip is also provided with an MMC motion control unit for testing the time point of angle change.
