WO2018214167A1 - Servo system, motor, absolute encoder, and signal processing circuit for same - Google Patents

Servo system, motor, absolute encoder, and signal processing circuit for same Download PDF

Info

Publication number
WO2018214167A1
WO2018214167A1 PCT/CN2017/086197 CN2017086197W WO2018214167A1 WO 2018214167 A1 WO2018214167 A1 WO 2018214167A1 CN 2017086197 W CN2017086197 W CN 2017086197W WO 2018214167 A1 WO2018214167 A1 WO 2018214167A1
Authority
WO
WIPO (PCT)
Prior art keywords
main control
interface
data frame
signal processing
communication data
Prior art date
Application number
PCT/CN2017/086197
Other languages
French (fr)
Chinese (zh)
Inventor
姚守强
Original Assignee
深圳配天智能技术研究院有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳配天智能技术研究院有限公司 filed Critical 深圳配天智能技术研究院有限公司
Priority to PCT/CN2017/086197 priority Critical patent/WO2018214167A1/en
Priority to CN201780036370.2A priority patent/CN109463037B/en
Publication of WO2018214167A1 publication Critical patent/WO2018214167A1/en

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P6/00Arrangements for controlling synchronous motors or other dynamo-electric motors using electronic commutation dependent on the rotor position; Electronic commutators therefor
    • H02P6/08Arrangements for controlling the speed or torque of a single motor

Definitions

  • Embodiments of the present invention relate to the field of encoders, and in particular, to a servo system, a motor, an absolute encoder, and a signal processing circuit thereof.
  • the motor encoder is a must-have component in motor control for feedback on motor position data.
  • the position feedback encoder information is mainly divided into the following two types of encoders:
  • the incremental encoder does not provide the absolute position of the motor at power-on, and needs to return to zero to find the origin.
  • the incremental position/angle information is fed back, and the position data is fed back through three differential cables A, B, and Z.
  • the position resolution depends on the number of lines of the incremental encoder.
  • the Z signal represents a zero position, and a Z pulse is generated every one rotation;
  • the A and B signals are position coded signals, and the number of rotations of the encoder is determined by the number of numbers A or B, and the phase relationship between A and B is obtained. Determine the direction of rotation of the motor.
  • This encoder interface is a TTL or HTL compatible digital output level digital pulse, or a sine/cosine signal that uses a differential cable for data transmission.
  • Absolute encoder powered to provide the absolute mechanical position of the motor.
  • the electrical interface of the absolute encoder is a serial interface based on pure digital protocol, mainly using RS485 or RS422 differential signals for data transmission.
  • Absolute encoders are currently used for serial encoders for encoder feedback data transmission.
  • the physical communication rate is relatively slow, and the acquisition frequency of position data is severely limited. It is not possible to collect feedback position data in real time, thus affecting the servo. Drive control bandwidth and control accuracy.
  • the embodiment of the invention provides a servo system, a motor, an absolute encoder and a signal processing circuit thereof, so as to solve the problem that the absolute encoder of the prior art transmits the feedback data of the encoder through the serial bus, and the position of the feedback cannot be collected in real time. Data and other issues.
  • a technical solution adopted by the embodiment of the present invention is to provide a signal processing circuit including a first interface, a main control component, and a second interface, wherein the first interface is used to connect the optoelectronics of the absolute encoder
  • the detector receives the photoelectric signal from the photodetector, and the main control component analyzes the photoelectric signal to obtain a position signal of the rotor of the motor, and the main control component encapsulates the position signal into an Ethernet communication data frame, and the Ethernet communication data frame is second.
  • the interface is sent to the servo drive of the motor.
  • the main control component encapsulates the location signal into an Ethernet communication data frame, including:
  • the main control component processes the position signal to obtain real-time position data
  • the real-time location data is encapsulated into an Ethernet communication data frame.
  • the main control component further calculates speed data according to the position signal
  • the speed data is encapsulated into an Ethernet communication data frame.
  • the main control component is a field programmable gate array circuit
  • the field programmable gate array circuit comprises a main control unit, a hardware abstraction layer configuration unit, a position signal processing unit, a speed information calculation unit, and an Ethernet protocol stack unit, wherein the hardware abstraction layer
  • the configuration unit is configured to configure peripheral components of the field programmable gate array circuit and the field programmable gate array circuit
  • the main control unit is configured to control the position signal processing unit to process the photoelectric signal, thereby obtaining real-time position data, and further controlling the ether.
  • the network protocol stack unit packs the real-time location data into an Ethernet communication data frame.
  • the second interface includes an RJ45 connector for connecting to the servo drive.
  • the signal processing circuit further includes a power supply circuit for receiving an external power supply through the second interface, and performing voltage conversion to provide the main control component.
  • the main control component is configured to send the Ethernet communication data frame to the servo driver through the second interface, and the main control component further receives the control instruction from the servo driver through the second interface to perform a corresponding operation according to the control instruction.
  • an absolute encoder including a light source, a code wheel, a baffle, a photodetector, and a signal processing circuit.
  • the motor rotates with the rotor of the motor, so that the light emitted by the light source acts on the code disc and the baffle to form an optical coded signal that changes with the rotational position of the object to be measured, and the photodetector converts the optical coded signal to form a photoelectric signal.
  • the signal processing circuit includes a first interface, a main control component, and a second interface, wherein the first interface is configured to connect the photodetector of the absolute encoder, and receive the photoelectric signal from the photodetector, and the main control component analyzes the photoelectric signal to obtain The position signal of the rotor of the motor, the main control component encapsulates the position signal into an Ethernet communication data frame, and sends the Ethernet communication data frame from the second interface to the servo drive of the motor.
  • the main control component encapsulates the position signal into an Ethernet communication data frame, including: the main control component processes the position signal to obtain real-time position data and encapsulate the real-time position data into an Ethernet communication data frame.
  • the main control component further calculates speed data according to the position signal and encapsulates the speed data into an Ethernet communication data frame.
  • the main control component is a field programmable gate array circuit
  • the field programmable gate array circuit comprises a main control unit, a hardware abstraction layer configuration unit, a position signal processing unit, a speed information calculation unit, and an Ethernet protocol stack unit, wherein the hardware abstraction layer
  • the configuration unit is configured to configure peripheral components of the field programmable gate array circuit and the field programmable gate array circuit
  • the main control unit is configured to control the position signal processing unit to process the photoelectric signal, thereby obtaining real-time position data, and further controlling the ether.
  • the network protocol stack unit packs the real-time location data into an Ethernet communication data frame.
  • the second interface includes an RJ45 connector for connecting to the servo drive.
  • the signal processing circuit further includes a power supply circuit for receiving an external power supply through the second interface, and performing voltage conversion to provide the main control component.
  • the main control component is configured to send the Ethernet communication data frame to the servo driver through the second interface, and the main control component further receives the control instruction from the servo driver through the second interface to perform a corresponding operation according to the control instruction.
  • the main control component includes an Ethernet physical layer chip, configured to encapsulate data into an Ethernet communication data frame, and parse the received Ethernet communication data frame into data;
  • the signal processing circuit further includes an isolation circuit, and the isolation circuit is connected to the main Between the Ethernet physical layer chip of the control element and the second interface.
  • another technical solution adopted by the embodiment of the present invention is to provide a servo system including a servo driver and an absolute encoder connected to the servo driver, and the absolute encoder includes a light source and a code wheel.
  • the baffle, the photodetector and the signal processing circuit are arranged to rotate with the rotor of the motor, so that the light emitted by the light source acts on the code disc and the baffle to form an optical coded signal that changes according to the rotational position of the object to be tested.
  • the photodetector converts the optically encoded signal to form a photoelectric signal
  • the signal processing circuit includes a first interface, a main control component, and a second interface, wherein the first interface is used to connect the photodetector of the absolute encoder, and the photoelectricity
  • the detector receives the photoelectric signal
  • the main control component analyzes the photoelectric signal to obtain the position signal of the motor rotor
  • the main control component encapsulates the position signal into an Ethernet communication data frame, and sends the Ethernet communication data frame from the second interface to the servo of the motor. driver.
  • the main control component encapsulates the position signal into an Ethernet communication data frame, including: the main control component processes the position signal to obtain real-time position data and encapsulate the real-time position data into an Ethernet communication data frame.
  • the main control component further calculates speed data according to the position signal and encapsulates the speed data into an Ethernet communication data frame.
  • the main control component is a field programmable gate array circuit
  • the field programmable gate array circuit includes a main control unit, a hardware abstraction layer configuration unit, a position signal processing unit, a speed information calculation unit, and an Ethernet protocol stack unit, wherein the hardware abstraction layer configuration unit It is used to configure the peripheral components of the field programmable gate array circuit and the field programmable gate array circuit.
  • the main control unit is used to control the position signal processing unit to process the photoelectric signal, thereby obtaining real-time position data and further controlling the Ethernet protocol.
  • the stack unit packs real-time location data into Ethernet communication data frames.
  • the second interface includes an RJ45 connector for connecting to the servo drive.
  • the signal processing circuit further includes a power supply circuit for receiving an external power supply through the second interface, and performing voltage conversion to provide the main control component.
  • the main control component is configured to send the Ethernet communication data frame to the servo driver through the second interface, and the main control component further receives the control instruction from the servo driver through the second interface to perform a corresponding operation according to the control instruction.
  • the main control component includes an Ethernet physical layer chip, configured to encapsulate data into an Ethernet communication data frame, and parse the received Ethernet communication data frame into data;
  • the signal processing circuit further includes an isolation circuit, and the isolation circuit is connected to the main Between the Ethernet physical layer chip of the control element and the second interface.
  • a technical solution adopted by the embodiment of the present invention is to provide a motor including the absolute encoder as before, and the code wheel of the absolute encoder is arranged to rotate with the rotor of the motor.
  • the signal processing circuit of the present invention includes a first interface, a main control element, and a second interface, wherein the first interface is used to connect the photodetector of the absolute encoder, and the photodetector is Receiving the photoelectric signal, the main control component analyzes the photoelectric signal to obtain the position signal of the motor rotor, the main control circuit encapsulates the position signal into an Ethernet communication data frame, and sends the Ethernet communication data frame from the second interface to the servo of the motor The driver transmits the position signal through the Ethernet communication data frame, increases the data transmission rate, and collects the feedback position signal in real time.
  • FIG. 1 is a schematic structural diagram of a signal processing circuit according to an embodiment of the present invention.
  • Figure 2 is a schematic structural view of the main control unit of Figure 1;
  • Figure 3 is a schematic view showing the second interface of Figure 1 connected to the RJ45 connector and the battery connector;
  • FIG. 4 is a schematic structural view of an absolute encoder according to an embodiment of the present invention.
  • FIG. 1 is a schematic structural diagram of a signal processing circuit according to an embodiment of the present invention
  • FIG. 2 is a schematic structural view of the main control component of FIG. 1
  • FIG. 3 is a second interface and an RJ45 connector of FIG. Schematic diagram of battery connector connections.
  • the signal processing circuit disclosed in this embodiment is applied to an absolute encoder. As shown in FIG. 1, the signal processing circuit includes a first interface 11, a main control unit 12, and a second interface 14.
  • the first interface 11 is used to connect the photodetector 21 of the absolute encoder 20, and receives the photoelectric signal from the photodetector 21, and the main control component 12 analyzes the photoelectric signal to obtain the position signal of the motor rotor, and the main control component 12
  • the location signal is encapsulated into an Ethernet communication data frame and the Ethernet communication data frame is transmitted by the second interface 14 to the servo drive 30 of the motor.
  • the first interface 11 can be an optoelectronic interface.
  • the main control component 12 can process the position signal to obtain real-time position data and package the real-time position data into an Ethernet communication data frame.
  • the main control unit 12 further calculates the speed data based on the position signal and encapsulates the speed data into an Ethernet communication data frame, that is, the main control unit 12 encapsulates the real-time position data and the speed data into an Ethernet communication data frame.
  • the main control component 12 can be a field programmable gate array circuit (FPGA, Field-Programmable Gate) Array), specifically the main control component 12 can be the SPARTAN6 series XC6SLX25 chip, which can collect position data, calculate speed data and Ethernet protocol stack function.
  • FPGA Field-Programmable Gate
  • the main control unit 12 includes a main control unit 121, a hardware abstraction layer configuration unit 122, a position signal processing unit 123, a speed information calculation unit 124, an Ethernet protocol stack unit 125, and an Ethernet physical layer chip 126.
  • the abstraction layer configuration unit 122, the position signal processing unit 123, the speed information calculation unit 124, and the Ethernet protocol stack unit 125 are respectively connected to the main control unit 121.
  • the main control unit 121 is configured to control the position signal processing unit 123 to process the photoelectric signals, thereby obtaining real-time position data, and further controlling the Ethernet protocol stack unit 125 to package the real-time position data into an Ethernet communication data frame.
  • the hardware abstraction layer configuration unit 122 is configured to configure the peripheral devices of the field programmable gate array circuit and the field programmable gate array circuit, that is, the peripheral device used by the hardware abstraction layer configuration unit 122 for configuring, such as EEPROM, when the program is started. (Electrically erasable programmable read only memory, Electrically Read and write timing of Erasable Programmable Read-Only Memory), read and write timing of Ethernet physical layer chip 126.
  • EEPROM Electrically erasable programmable read only memory, Electrically Read and write timing of Erasable Programmable Read-Only Memory
  • the speed information calculation unit 124 is configured to calculate speed information in real time according to the position information collected by the position signal processing unit 123, such as the position frequency and the position difference, the speed information is used for transmission to the servo driver 30, and the servo driver 30 performs the motor according to the speed information. Control feedback.
  • the Ethernet physical layer chip 126 can be an Ethernet PHY chip, and the Gigabit Ethernet AR8031 is specifically selected.
  • the Ethernet physical layer chip 126 is configured to encapsulate data into an Ethernet communication data frame and parse the received Ethernet communication data frame into data.
  • the second interface 14 can be an encoder connector. Specifically, the second interface 14 is further connected to the RJ45 connector 15 and the battery connector 16. As shown in FIG. 3, the second interface 14 includes 5V, 0V, FG, and TX+. , TX-, RX+, RX-, BAT+ and BAT-lead, RJ45 connector 15 includes 5V, 0V, FG, TX+, TX-, RX+, RX-lead corresponding to the second interface 14 of the absolute encoder, battery Connector 16 is connected to the BAT+ and BAT-leads for powering the absolute encoder.
  • the RJ45 connector 15 is used to connect the servo driver 30, that is, the second interface 14 is connected to the servo driver 30 through the RJ45 connector 15, and the second interface 14 is used to send the Ethernet communication data frame to the servo driver 30 through the RJ45 connector 15.
  • the second interface 14 further receives a control command from the servo driver 30 through the RJ45 connector 15, and the master component 12 performs a corresponding operation according to the control command; in addition, the servo driver 30 can also provide a 5V power supply for the signal processing circuit through the RJ45 connector 15. .
  • the battery connector 16 is used to connect the battery 22 of the absolute encoder 20.
  • the signal processing circuit further includes an isolation circuit 17 connected between the Ethernet physical layer chip 126 of the main control component 12 and the second interface 14.
  • the isolation circuit 17 is used for signal isolation to achieve anti-interference. .
  • the signal processing circuit further includes a power supply circuit 18 that receives external power from the battery connector 16 via the second interface 14 and provides voltage conversion to the main control component 12 and the isolation circuit 17.
  • the transmission rate of the Ethernet communication data frame is not less than 10 Mbps.
  • the signal processing circuit disclosed in the embodiment transmits the position signal through the Ethernet communication data frame, increases the data transmission rate, and collects the feedback position signal in real time; the signal processing circuit disclosed in this embodiment is also connected to the servo driver 30 through the RJ45 connector 15. No need to use a dedicated connector to improve versatility.
  • the absolute encoder 20 disclosed in this embodiment includes a light source 23, a code wheel 24, a shutter 25, a photodetector 21, and a signal processing circuit 26.
  • the code wheel 24 is arranged to rotate with the rotor of the motor, so that the light emitted by the light source 23 acts through the code wheel 24 and the baffle 25 to form an optical coded signal that changes with the rotational position of the object to be tested, and the photodetector 21 pairs
  • the optical coded signal is detected to form a photoelectric signal, and the signal processing circuit 26 acquires the photoelectric signal from the photodetector 21 and analyzes the photoelectric signal to obtain a position signal of the motor rotor.
  • the signal processing circuit 26 is the signal processing circuit described in the above embodiment, and details are not described herein again.
  • the present invention also provides a servo system including a servo driver and an absolute encoder as shown in the above embodiment connected to the servo driver.
  • a servo motor may also be included, and the absolute encoder is used for the servo motor. Position and speed information is transmitted.
  • the present invention also provides an electric machine comprising an absolute encoder as described in the preceding embodiments, the encoder of the absolute encoder being arranged to rotate with the rotor of the machine.
  • the signal processing circuit of the present invention transmits a position signal through a communication data frame, increases the data transmission rate, and collects a feedback position signal in real time; the signal processing circuit disclosed in this embodiment also connects the servo driver through the RJ45 connector. No need to use a dedicated connector to improve versatility.

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Transmission And Conversion Of Sensor Element Output (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

A servo system, motor, absolute encoder, and signal processing circuit for the same. The servo system comprises a first interface (11), a main control element (12), and a second interface (14). The first interface (11) is used to connect a photoelectric detector (21) of an absolute encoder (20), and receive a photoelectric signal from the photoelectric detector (21). The main control element (12) analyzes the photoelectric signal to obtain a position signal of a motor rotor, packages the position signal into an ethernet communication data frame, and sends the ethernet communication data frame from the second interface (14) to a servo driver (30) of the motor. In this way, the present invention employs the ethernet communication data frame to transmit the position signal, thus improving the data transmission rate, and enabling real-time acquisition and feedback of the position signal.

Description

伺服系统、电机、绝对式编码器及其信号处理电路 Servo system, motor, absolute encoder and signal processing circuit
【技术领域】[Technical Field]
本发明实施例涉及编码器领域,特别是涉及一种伺服系统、电机、绝对式编码器及其信号处理电路。Embodiments of the present invention relate to the field of encoders, and in particular, to a servo system, a motor, an absolute encoder, and a signal processing circuit thereof.
【背景技术】 【Background technique】
电机编码器是电机控制中必用的部件,用于实现对电机位置数据的反馈。目前位置反馈编码器信息主要分为如下两种编码器类型:The motor encoder is a must-have component in motor control for feedback on motor position data. At present, the position feedback encoder information is mainly divided into the following two types of encoders:
增量式编码器,在上电时不提供电机的绝对位置,需要回零来找原点。反馈增量的位置/角度信息,通过A、B、Z三条差分线缆反馈位置数据,位置分辨率取决于增量式编码器的线数。Z信号代表的是零位置,每旋转一周就产生一个Z脉冲;A、B信号是位置的编码信号,通过数A或者B的个数来判断编码器旋转的距离,通过A与B的相位关系判断电机的旋转方向。此编码器接口是TTL或HTL兼容的数字输出电平的数字脉冲,或者是正弦/余弦信号,使用差分线缆进行数据传输。The incremental encoder does not provide the absolute position of the motor at power-on, and needs to return to zero to find the origin. The incremental position/angle information is fed back, and the position data is fed back through three differential cables A, B, and Z. The position resolution depends on the number of lines of the incremental encoder. The Z signal represents a zero position, and a Z pulse is generated every one rotation; the A and B signals are position coded signals, and the number of rotations of the encoder is determined by the number of numbers A or B, and the phase relationship between A and B is obtained. Determine the direction of rotation of the motor. This encoder interface is a TTL or HTL compatible digital output level digital pulse, or a sine/cosine signal that uses a differential cable for data transmission.
绝对式编码器,上电提供电机的绝对机械位置。绝对式编码器的电接口是基于纯数字协议的串行接口,主要使用RS485或者RS422差分信号做数据传输。而绝对式编码器目前常用串行总线来进行编码器反馈数据传输,其物理通讯速率比较慢,对于位置数据的采集频率收到严重的限制,不能够实时的采集反馈的位置数据,从而影响伺服驱动器的控制带宽和控制精度。Absolute encoder, powered to provide the absolute mechanical position of the motor. The electrical interface of the absolute encoder is a serial interface based on pure digital protocol, mainly using RS485 or RS422 differential signals for data transmission. Absolute encoders are currently used for serial encoders for encoder feedback data transmission. The physical communication rate is relatively slow, and the acquisition frequency of position data is severely limited. It is not possible to collect feedback position data in real time, thus affecting the servo. Drive control bandwidth and control accuracy.
【发明内容】 [Summary of the Invention]
本发明实施例提供一种伺服系统、电机、绝对式编码器及其信号处理电路,以解决现有技术的绝对式编码器通过串口总线进行编码器反馈数据传输,不能够实时的采集反馈的位置数据等问题。The embodiment of the invention provides a servo system, a motor, an absolute encoder and a signal processing circuit thereof, so as to solve the problem that the absolute encoder of the prior art transmits the feedback data of the encoder through the serial bus, and the position of the feedback cannot be collected in real time. Data and other issues.
为解决上述技术问题,本发明实施例采用的一个技术方案是:提供一种信号处理电路:包括第一接口、主控元件以及第二接口,其中第一接口用于连接绝对式编码器的光电检测器,并从光电检测器接收光电信号,主控元件分析光电信号得出电机转子的位置信号,主控元件将位置信号封装成以太网通讯数据帧,并将以太网通讯数据帧由第二接口发送至电机的伺服驱动器。In order to solve the above technical problem, a technical solution adopted by the embodiment of the present invention is to provide a signal processing circuit including a first interface, a main control component, and a second interface, wherein the first interface is used to connect the optoelectronics of the absolute encoder The detector receives the photoelectric signal from the photodetector, and the main control component analyzes the photoelectric signal to obtain a position signal of the rotor of the motor, and the main control component encapsulates the position signal into an Ethernet communication data frame, and the Ethernet communication data frame is second. The interface is sent to the servo drive of the motor.
其中,主控元件将位置信号封装成以太网通讯数据帧,包括:The main control component encapsulates the location signal into an Ethernet communication data frame, including:
主控元件将位置信号进行处理,以获得实时位置数据;The main control component processes the position signal to obtain real-time position data;
并将实时位置数据封装成以太网通讯数据帧。The real-time location data is encapsulated into an Ethernet communication data frame.
其中,主控元件进一步根据位置信号计算速度数据;Wherein, the main control component further calculates speed data according to the position signal;
并将速度数据封装成以太网通讯数据帧。The speed data is encapsulated into an Ethernet communication data frame.
其中,主控元件为现场可编程门阵列电路,现场可编程门阵列电路包括主控单元、硬件抽象层配置单元、位置信号处理单元、速度信息计算单元、以太网协议栈单元,其中硬件抽象层配置单元用于对现场可编程门阵列电路及现场可编程门阵列电路的外围部件进行配置,主控单元用于控制位置信号处理单元对光电信号进行处理,进而获得实时位置数据,并进一步控制以太网协议栈单元将实时位置数据打包成以太网通讯数据帧。The main control component is a field programmable gate array circuit, and the field programmable gate array circuit comprises a main control unit, a hardware abstraction layer configuration unit, a position signal processing unit, a speed information calculation unit, and an Ethernet protocol stack unit, wherein the hardware abstraction layer The configuration unit is configured to configure peripheral components of the field programmable gate array circuit and the field programmable gate array circuit, and the main control unit is configured to control the position signal processing unit to process the photoelectric signal, thereby obtaining real-time position data, and further controlling the ether. The network protocol stack unit packs the real-time location data into an Ethernet communication data frame.
其中,第二接口包括RJ45连接头,用于连接伺服驱动器。The second interface includes an RJ45 connector for connecting to the servo drive.
其中,信号处理电路还进一步包括电源电路,电源电路用于通过第二接口接收外部供电,并进行电压转换后提供给主控元件。The signal processing circuit further includes a power supply circuit for receiving an external power supply through the second interface, and performing voltage conversion to provide the main control component.
其中,主控元件用于将以太网通讯数据帧通过第二接口发送至伺服驱动器,主控元件进一步通过第二接口从伺服驱动器接收控制指令,以根据控制指令执行相应的操作。The main control component is configured to send the Ethernet communication data frame to the servo driver through the second interface, and the main control component further receives the control instruction from the servo driver through the second interface to perform a corresponding operation according to the control instruction.
为解决上述技术问题,本发明实施例采用的另一个技术方案是:提供一种绝对式编码器,绝对式编码器包括光源、码盘、挡板、光电检测器以及信号处理电路,码盘设置成随电机转子进行转动,进而使光源出射的光线经码盘和挡板作用后形成随待测物体的转动位置发生变化的光编码信号,光电检测器对光编码信号进行转换,进而形成光电信号,信号处理电路包括第一接口、主控元件以及第二接口,其中第一接口用于连接绝对式编码器的光电检测器,并从光电检测器接收光电信号,主控元件分析光电信号得出电机转子的位置信号,主控元件将位置信号封装成以太网通讯数据帧,并将以太网通讯数据帧由第二接口发送至电机的伺服驱动器。In order to solve the above technical problem, another technical solution adopted by the embodiment of the present invention is to provide an absolute encoder including a light source, a code wheel, a baffle, a photodetector, and a signal processing circuit. The motor rotates with the rotor of the motor, so that the light emitted by the light source acts on the code disc and the baffle to form an optical coded signal that changes with the rotational position of the object to be measured, and the photodetector converts the optical coded signal to form a photoelectric signal. The signal processing circuit includes a first interface, a main control component, and a second interface, wherein the first interface is configured to connect the photodetector of the absolute encoder, and receive the photoelectric signal from the photodetector, and the main control component analyzes the photoelectric signal to obtain The position signal of the rotor of the motor, the main control component encapsulates the position signal into an Ethernet communication data frame, and sends the Ethernet communication data frame from the second interface to the servo drive of the motor.
其中,主控元件将位置信号封装成以太网通讯数据帧,包括:主控元件将位置信号进行处理,以获得实时位置数据并将实时位置数据封装成以太网通讯数据帧。The main control component encapsulates the position signal into an Ethernet communication data frame, including: the main control component processes the position signal to obtain real-time position data and encapsulate the real-time position data into an Ethernet communication data frame.
其中,主控元件进一步根据位置信号计算速度数据并将速度数据封装成以太网通讯数据帧。The main control component further calculates speed data according to the position signal and encapsulates the speed data into an Ethernet communication data frame.
其中,主控元件为现场可编程门阵列电路,现场可编程门阵列电路包括主控单元、硬件抽象层配置单元、位置信号处理单元、速度信息计算单元、以太网协议栈单元,其中硬件抽象层配置单元用于对现场可编程门阵列电路及现场可编程门阵列电路的外围部件进行配置,主控单元用于控制位置信号处理单元对光电信号进行处理,进而获得实时位置数据,并进一步控制以太网协议栈单元将实时位置数据打包成以太网通讯数据帧。The main control component is a field programmable gate array circuit, and the field programmable gate array circuit comprises a main control unit, a hardware abstraction layer configuration unit, a position signal processing unit, a speed information calculation unit, and an Ethernet protocol stack unit, wherein the hardware abstraction layer The configuration unit is configured to configure peripheral components of the field programmable gate array circuit and the field programmable gate array circuit, and the main control unit is configured to control the position signal processing unit to process the photoelectric signal, thereby obtaining real-time position data, and further controlling the ether. The network protocol stack unit packs the real-time location data into an Ethernet communication data frame.
其中,第二接口包括RJ45连接头,用于连接伺服驱动器。The second interface includes an RJ45 connector for connecting to the servo drive.
其中,信号处理电路还进一步包括电源电路,电源电路用于通过第二接口接收外部供电,并进行电压转换后提供给主控元件。The signal processing circuit further includes a power supply circuit for receiving an external power supply through the second interface, and performing voltage conversion to provide the main control component.
其中,主控元件用于将以太网通讯数据帧通过第二接口发送至伺服驱动器,主控元件进一步从通过第二接口从伺服驱动器接收控制指令,以根据控制指令执行相应的操作。The main control component is configured to send the Ethernet communication data frame to the servo driver through the second interface, and the main control component further receives the control instruction from the servo driver through the second interface to perform a corresponding operation according to the control instruction.
其中,主控元件包括以太网物理层芯片,用于将数据封装成以太网通讯数据帧,并将接收的以太网通讯数据帧解析为数据;信号处理电路进一步包括隔离电路,隔离电路连接于主控元件的以太网物理层芯片与第二接口之间。The main control component includes an Ethernet physical layer chip, configured to encapsulate data into an Ethernet communication data frame, and parse the received Ethernet communication data frame into data; the signal processing circuit further includes an isolation circuit, and the isolation circuit is connected to the main Between the Ethernet physical layer chip of the control element and the second interface.
为解决上述技术问题,本发明实施例采用的另一个技术方案是:提供一种伺服系统,伺服系统包括伺服驱动器和与伺服驱动器连接的绝对式编码器,绝对式编码器包括光源、码盘、挡板、光电检测器以及信号处理电路,码盘设置成随电机转子进行转动,进而使光源出射的光线经码盘和挡板作用后形成随待测物体的转动位置发生变化的光编码信号,光电检测器对光编码信号进行转换,进而形成光电信号,信号处理电路包括第一接口、主控元件以及第二接口,其中第一接口用于连接绝对式编码器的光电检测器,并从光电检测器接收光电信号,主控元件分析光电信号得出电机转子的位置信号,主控元件将位置信号封装成以太网通讯数据帧,并将以太网通讯数据帧由第二接口发送至电机的伺服驱动器。In order to solve the above technical problem, another technical solution adopted by the embodiment of the present invention is to provide a servo system including a servo driver and an absolute encoder connected to the servo driver, and the absolute encoder includes a light source and a code wheel. The baffle, the photodetector and the signal processing circuit are arranged to rotate with the rotor of the motor, so that the light emitted by the light source acts on the code disc and the baffle to form an optical coded signal that changes according to the rotational position of the object to be tested. The photodetector converts the optically encoded signal to form a photoelectric signal, the signal processing circuit includes a first interface, a main control component, and a second interface, wherein the first interface is used to connect the photodetector of the absolute encoder, and the photoelectricity The detector receives the photoelectric signal, the main control component analyzes the photoelectric signal to obtain the position signal of the motor rotor, the main control component encapsulates the position signal into an Ethernet communication data frame, and sends the Ethernet communication data frame from the second interface to the servo of the motor. driver.
其中,主控元件将位置信号封装成以太网通讯数据帧,包括:主控元件将位置信号进行处理,以获得实时位置数据并将实时位置数据封装成以太网通讯数据帧。The main control component encapsulates the position signal into an Ethernet communication data frame, including: the main control component processes the position signal to obtain real-time position data and encapsulate the real-time position data into an Ethernet communication data frame.
其中,主控元件进一步根据位置信号计算速度数据并将速度数据封装成以太网通讯数据帧。The main control component further calculates speed data according to the position signal and encapsulates the speed data into an Ethernet communication data frame.
主控元件为现场可编程门阵列电路,现场可编程门阵列电路包括主控单元、硬件抽象层配置单元、位置信号处理单元、速度信息计算单元、以太网协议栈单元,其中硬件抽象层配置单元用于对现场可编程门阵列电路及现场可编程门阵列电路的外围部件进行配置,主控单元用于控制位置信号处理单元对光电信号进行处理,进而获得实时位置数据,并进一步控制以太网协议栈单元将实时位置数据打包成以太网通讯数据帧。The main control component is a field programmable gate array circuit, and the field programmable gate array circuit includes a main control unit, a hardware abstraction layer configuration unit, a position signal processing unit, a speed information calculation unit, and an Ethernet protocol stack unit, wherein the hardware abstraction layer configuration unit It is used to configure the peripheral components of the field programmable gate array circuit and the field programmable gate array circuit. The main control unit is used to control the position signal processing unit to process the photoelectric signal, thereby obtaining real-time position data and further controlling the Ethernet protocol. The stack unit packs real-time location data into Ethernet communication data frames.
其中,第二接口包括RJ45连接头,用于连接伺服驱动器。The second interface includes an RJ45 connector for connecting to the servo drive.
其中,信号处理电路还进一步包括电源电路,电源电路用于通过第二接口接收外部供电,并进行电压转换后提供给主控元件。The signal processing circuit further includes a power supply circuit for receiving an external power supply through the second interface, and performing voltage conversion to provide the main control component.
其中,主控元件用于将以太网通讯数据帧通过第二接口发送至伺服驱动器,主控元件进一步从通过第二接口从伺服驱动器接收控制指令,以根据控制指令执行相应的操作。The main control component is configured to send the Ethernet communication data frame to the servo driver through the second interface, and the main control component further receives the control instruction from the servo driver through the second interface to perform a corresponding operation according to the control instruction.
其中,主控元件包括以太网物理层芯片,用于将数据封装成以太网通讯数据帧,并将接收的以太网通讯数据帧解析为数据;信号处理电路进一步包括隔离电路,隔离电路连接于主控元件的以太网物理层芯片与第二接口之间。The main control component includes an Ethernet physical layer chip, configured to encapsulate data into an Ethernet communication data frame, and parse the received Ethernet communication data frame into data; the signal processing circuit further includes an isolation circuit, and the isolation circuit is connected to the main Between the Ethernet physical layer chip of the control element and the second interface.
为解决上述技术问题,本发明实施例采用的一个技术方案是:提供一种电机,电机包括如前的绝对式编码器,绝对式编码器的码盘设置成随电机转子进行转动。In order to solve the above technical problem, a technical solution adopted by the embodiment of the present invention is to provide a motor including the absolute encoder as before, and the code wheel of the absolute encoder is arranged to rotate with the rotor of the motor.
本发明实施例的有益效果是:在本发明的信号处理电路包括第一接口、主控元件以及第二接口,其中第一接口用于连接绝对式编码器的光电检测器,并从光电检测器接收光电信号,主控元件分析光电信号得出电机转子的位置信号,主控电路将位置信号封装成以太网通讯数据帧,并将以太网通讯数据帧由所述第二接口发送至电机的伺服驱动器,通过以太网通讯数据帧进行传输位置信号,提高数据的传输速率,实时采集反馈位置信号。An advantageous effect of the embodiment of the present invention is that the signal processing circuit of the present invention includes a first interface, a main control element, and a second interface, wherein the first interface is used to connect the photodetector of the absolute encoder, and the photodetector is Receiving the photoelectric signal, the main control component analyzes the photoelectric signal to obtain the position signal of the motor rotor, the main control circuit encapsulates the position signal into an Ethernet communication data frame, and sends the Ethernet communication data frame from the second interface to the servo of the motor The driver transmits the position signal through the Ethernet communication data frame, increases the data transmission rate, and collects the feedback position signal in real time.
【附图说明】 [Description of the Drawings]
图1是本发明一实施例的信号处理电路的结构示意图;1 is a schematic structural diagram of a signal processing circuit according to an embodiment of the present invention;
图2是图1中主控元件的结构示意图;Figure 2 is a schematic structural view of the main control unit of Figure 1;
图3是图1中第二接口与RJ45连接头和电池连接器连接的示意图;Figure 3 is a schematic view showing the second interface of Figure 1 connected to the RJ45 connector and the battery connector;
图4是本发明一实施例的绝对式编码器的结构示意图。4 is a schematic structural view of an absolute encoder according to an embodiment of the present invention.
【具体实施方式】【detailed description】
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
请参见图1-3,图1是本发明一实施例的信号处理电路的结构示意图;图2是图1中主控元件的结构示意图;图3是图1中第二接口与RJ45连接头和电池连接器连接的示意图。本实施例所揭示的信号处理电路应用于绝对式编码器,如图1所示,该信号处理电路包括第一接口11、主控元件12以及第二接口14。1-3, FIG. 1 is a schematic structural diagram of a signal processing circuit according to an embodiment of the present invention; FIG. 2 is a schematic structural view of the main control component of FIG. 1, and FIG. 3 is a second interface and an RJ45 connector of FIG. Schematic diagram of battery connector connections. The signal processing circuit disclosed in this embodiment is applied to an absolute encoder. As shown in FIG. 1, the signal processing circuit includes a first interface 11, a main control unit 12, and a second interface 14.
其中,第一接口11用于连接绝对式编码器20的光电检测器21,并从光电检测器21接收光电信号,主控元件12分析光电信号得出电机转子的位置信号,主控元件12将位置信号封装成以太网通讯数据帧,并将以太网通讯数据帧由第二接口14发送至电机的伺服驱动器30。第一接口11可为光电接口。The first interface 11 is used to connect the photodetector 21 of the absolute encoder 20, and receives the photoelectric signal from the photodetector 21, and the main control component 12 analyzes the photoelectric signal to obtain the position signal of the motor rotor, and the main control component 12 The location signal is encapsulated into an Ethernet communication data frame and the Ethernet communication data frame is transmitted by the second interface 14 to the servo drive 30 of the motor. The first interface 11 can be an optoelectronic interface.
其中,主控元件12可将位置信号进行处理,以获得实时位置数据并将实时位置数据封装成以太网通讯数据帧。主控元件12进一步根据位置信号计算速度数据,并将速度数据封装成以太网通讯数据帧,即主控元件12将实时位置数据和速度数据封装成以太网通讯数据帧。The main control component 12 can process the position signal to obtain real-time position data and package the real-time position data into an Ethernet communication data frame. The main control unit 12 further calculates the speed data based on the position signal and encapsulates the speed data into an Ethernet communication data frame, that is, the main control unit 12 encapsulates the real-time position data and the speed data into an Ethernet communication data frame.
主控元件12可为现场可编程门阵列电路(FPGA,Field-Programmable Gate Array),具体地主控元件12可为SPARTAN6 系列的XC6SLX25芯片,能够实现采集位置数据、计算速度数据以及以太网协议栈功能。The main control component 12 can be a field programmable gate array circuit (FPGA, Field-Programmable Gate) Array), specifically the main control component 12 can be the SPARTAN6 series XC6SLX25 chip, which can collect position data, calculate speed data and Ethernet protocol stack function.
如图2所示,主控元件12包括主控单元121、硬件抽象层配置单元122、位置信号处理单元123、速度信息计算单元124、以太网协议栈单元125和以太网物理层芯片126,硬件抽象层配置单元122、位置信号处理单元123、速度信息计算单元124、以太网协议栈单元125分别与主控单元121连接。As shown in FIG. 2, the main control unit 12 includes a main control unit 121, a hardware abstraction layer configuration unit 122, a position signal processing unit 123, a speed information calculation unit 124, an Ethernet protocol stack unit 125, and an Ethernet physical layer chip 126. The abstraction layer configuration unit 122, the position signal processing unit 123, the speed information calculation unit 124, and the Ethernet protocol stack unit 125 are respectively connected to the main control unit 121.
主控单元121用于控制位置信号处理单元123对光电信号进行处理,进而获得实时位置数据,并进一步控制以太网协议栈单元125将实时位置数据打包成以太网通讯数据帧。The main control unit 121 is configured to control the position signal processing unit 123 to process the photoelectric signals, thereby obtaining real-time position data, and further controlling the Ethernet protocol stack unit 125 to package the real-time position data into an Ethernet communication data frame.
其中,硬件抽象层配置单元122用于对现场可编程门阵列电路及现场可编程门阵列电路的外围设备进行配置,即在程序启动时硬件抽象层配置单元122用于配置的外围设备,例如EEPROM(电可擦可编程只读存储器,Electrically Erasable Programmable Read-Only Memory)的读写时序,以太网物理层芯片126的读写时序。The hardware abstraction layer configuration unit 122 is configured to configure the peripheral devices of the field programmable gate array circuit and the field programmable gate array circuit, that is, the peripheral device used by the hardware abstraction layer configuration unit 122 for configuring, such as EEPROM, when the program is started. (Electrically erasable programmable read only memory, Electrically Read and write timing of Erasable Programmable Read-Only Memory), read and write timing of Ethernet physical layer chip 126.
速度信息计算单元124用于根据位置信号处理单元123采集的位置信息,如位置频率和位置差,实时计算速度信息,该速度信息用于传输给伺服驱动器30,伺服驱动器30根据速度信息对电机进行控制反馈。The speed information calculation unit 124 is configured to calculate speed information in real time according to the position information collected by the position signal processing unit 123, such as the position frequency and the position difference, the speed information is used for transmission to the servo driver 30, and the servo driver 30 performs the motor according to the speed information. Control feedback.
其中,以太网物理层芯片126可为以太网的PHY芯片,具体选用千兆以太网AR8031。以太网物理层芯片126用于将数据封装成以太网通讯数据帧,并将接收的以太网通讯数据帧解析为数据。The Ethernet physical layer chip 126 can be an Ethernet PHY chip, and the Gigabit Ethernet AR8031 is specifically selected. The Ethernet physical layer chip 126 is configured to encapsulate data into an Ethernet communication data frame and parse the received Ethernet communication data frame into data.
其中,第二接口14可为编码器连接器,具体地,第二接口14进一步连接RJ45连接头15和电池连接器16,如图3所示,第二接口14包括5V、0V、FG、TX+、TX-、RX+、RX-、BAT+和BAT-引线,RJ45连接头15包括与绝对式编码器的第二接口14对应的5V、0V、FG、TX+、TX-、RX+、RX-引线,电池连接器16与BAT+和BAT-引线连接,用于给绝对式编码器提供电源。The second interface 14 can be an encoder connector. Specifically, the second interface 14 is further connected to the RJ45 connector 15 and the battery connector 16. As shown in FIG. 3, the second interface 14 includes 5V, 0V, FG, and TX+. , TX-, RX+, RX-, BAT+ and BAT-lead, RJ45 connector 15 includes 5V, 0V, FG, TX+, TX-, RX+, RX-lead corresponding to the second interface 14 of the absolute encoder, battery Connector 16 is connected to the BAT+ and BAT-leads for powering the absolute encoder.
其中,RJ45连接头15用于连接伺服驱动器30,即第二接口14通过RJ45连接头15连接伺服驱动器30,第二接口14用于将以太网通讯数据帧通过RJ45连接头15发送至伺服驱动器30,第二接口14进一步从通过RJ45连接头15从伺服驱动器30接收控制指令,主控元件12根据控制指令执行相应的操作;此外伺服驱动器30还可以通过RJ45连接头15为信号处理电路提供5V电源。电池连接器16用于连接绝对式编码器20的电池22。The RJ45 connector 15 is used to connect the servo driver 30, that is, the second interface 14 is connected to the servo driver 30 through the RJ45 connector 15, and the second interface 14 is used to send the Ethernet communication data frame to the servo driver 30 through the RJ45 connector 15. The second interface 14 further receives a control command from the servo driver 30 through the RJ45 connector 15, and the master component 12 performs a corresponding operation according to the control command; in addition, the servo driver 30 can also provide a 5V power supply for the signal processing circuit through the RJ45 connector 15. . The battery connector 16 is used to connect the battery 22 of the absolute encoder 20.
可选地,信号处理电路进一步包括隔离电路17,隔离电路17连接于主控元件12的以太网物理层芯片126与第二接口14之间,隔离电路17用于实现信号隔离,以实现抗干扰。Optionally, the signal processing circuit further includes an isolation circuit 17 connected between the Ethernet physical layer chip 126 of the main control component 12 and the second interface 14. The isolation circuit 17 is used for signal isolation to achieve anti-interference. .
可选地,信号处理电路进一步包括电源电路18,电源电路18经第二接口14从电池连接器16接收外部供电,并进行电压转换后提供给主控元件12以及隔离电路17。Optionally, the signal processing circuit further includes a power supply circuit 18 that receives external power from the battery connector 16 via the second interface 14 and provides voltage conversion to the main control component 12 and the isolation circuit 17.
其中,以太网通讯数据帧的传输速率不小于10Mbps。The transmission rate of the Ethernet communication data frame is not less than 10 Mbps.
本实施例所揭示信号处理电路通过以太网通讯数据帧进行传输位置信号,提高数据的传输速率,实时采集反馈位置信号;本实施例所揭示信号处理电路还通过RJ45连接头15连接伺服驱动器30,无需选用专用的接头,提高通用性。The signal processing circuit disclosed in the embodiment transmits the position signal through the Ethernet communication data frame, increases the data transmission rate, and collects the feedback position signal in real time; the signal processing circuit disclosed in this embodiment is also connected to the servo driver 30 through the RJ45 connector 15. No need to use a dedicated connector to improve versatility.
本发明还提供一种绝对式编码器,如图4所示,本实施例所揭示的绝对式编码器20包括光源23、码盘24、挡板25、光电检测器21以及信号处理电路26。其中,码盘24设置成随电机转子进行转动,进而使光源23出射的光线经码盘24和挡板25作用后形成随待测物体的转动位置发生变化的光编码信号,光电检测器21对光编码信号进行检测,进而形成光电信号,信号处理电路26从光电检测器21获取光电信号并分析光电信号得出电机转子的位置信号。该信号处理电路26为上述实施例所描述的信号处理电路,在此不再赘述。The present invention also provides an absolute encoder. As shown in FIG. 4, the absolute encoder 20 disclosed in this embodiment includes a light source 23, a code wheel 24, a shutter 25, a photodetector 21, and a signal processing circuit 26. The code wheel 24 is arranged to rotate with the rotor of the motor, so that the light emitted by the light source 23 acts through the code wheel 24 and the baffle 25 to form an optical coded signal that changes with the rotational position of the object to be tested, and the photodetector 21 pairs The optical coded signal is detected to form a photoelectric signal, and the signal processing circuit 26 acquires the photoelectric signal from the photodetector 21 and analyzes the photoelectric signal to obtain a position signal of the motor rotor. The signal processing circuit 26 is the signal processing circuit described in the above embodiment, and details are not described herein again.
本发明还提供一种伺服系统,该伺服系统包括伺服驱动器和与伺服驱动器连接的如上述实施例所示的绝对式编码器,当然,还可包括伺服电机,绝对式编码器用于对伺服电机的位置和速度信息进行传输。The present invention also provides a servo system including a servo driver and an absolute encoder as shown in the above embodiment connected to the servo driver. Of course, a servo motor may also be included, and the absolute encoder is used for the servo motor. Position and speed information is transmitted.
本发明还提供一种电机,该电机包括如前述实施例所述的绝对式编码器,该绝对式编码器的码盘设置成随电机转子进行转动。The present invention also provides an electric machine comprising an absolute encoder as described in the preceding embodiments, the encoder of the absolute encoder being arranged to rotate with the rotor of the machine.
综上所述,本发明的信号处理电路通过太通讯数据帧进行传输位置信号,提高数据的传输速率,实时采集反馈位置信号;本实施例所揭示信号处理电路还通过RJ45连接头连接伺服驱动器,无需选用专用的接头,提高通用性。In summary, the signal processing circuit of the present invention transmits a position signal through a communication data frame, increases the data transmission rate, and collects a feedback position signal in real time; the signal processing circuit disclosed in this embodiment also connects the servo driver through the RJ45 connector. No need to use a dedicated connector to improve versatility.
以上所述仅为本发明的实施方式,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above is only the embodiment of the present invention, and is not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the invention and the drawings are directly or indirectly applied to other related technologies. The fields are all included in the scope of patent protection of the present invention.

Claims (25)

  1. 一种绝对式编码器的信号处理电路,其特征在于,所述信号处理电路包括第一接口、主控元件以及第二接口,其中所述第一接口用于连接所述绝对式编码器的光电检测器,并从所述光电检测器接收光电信号,所述主控元件分析所述光电信号得出电机转子的位置信号,所述主控元件将所述位置信号封装成以太网通讯数据帧,并将所述以太网通讯数据帧由所述第二接口发送至电机的伺服驱动器。A signal processing circuit for an absolute encoder, characterized in that the signal processing circuit comprises a first interface, a main control element and a second interface, wherein the first interface is used to connect the optoelectronics of the absolute encoder Detecting, and receiving a photoelectric signal from the photodetector, the main control component analyzing the photoelectric signal to obtain a position signal of a motor rotor, the main control component packaging the position signal into an Ethernet communication data frame, And transmitting the Ethernet communication data frame from the second interface to a servo driver of the motor.
  2. 根据权利要求1的信号处理电路,其特征在于,所述主控元件将所述位置信号封装成以太网通讯数据帧,包括:The signal processing circuit according to claim 1, wherein said main control unit encapsulates said position signal into an Ethernet communication data frame, comprising:
    所述主控元件将所述位置信号进行处理,以获得实时位置数据;The main control component processes the position signal to obtain real-time position data;
    并将所述实时位置数据封装成以太网通讯数据帧。And compressing the real-time location data into an Ethernet communication data frame.
  3. 根据权利要求2的信号处理电路,其特征在于,所述主控元件进一步根据所述位置信号计算速度数据;A signal processing circuit according to claim 2, wherein said main control element further calculates velocity data based on said position signal;
    并将所述速度数据封装成以太网通讯数据帧。And encoding the speed data into an Ethernet communication data frame.
  4. 根据权利要求3的信号处理电路,其特征在于,所述主控元件为现场可编程门阵列电路,所述现场可编程门阵列电路包括主控单元、硬件抽象层配置单元、位置信号处理单元、速度信息计算单元、以太网协议栈单元,其中所述硬件抽象层配置单元用于对所述现场可编程门阵列电路及所述现场可编程门阵列电路的外围部件进行配置,所述主控单元用于控制所述位置信号处理单元对所述光电信号进行处理,进而获得实时位置数据,并进一步控制以太网协议栈单元将所述实时位置数据打包成以太网通讯数据帧。The signal processing circuit according to claim 3, wherein said main control element is a field programmable gate array circuit, said field programmable gate array circuit comprising a main control unit, a hardware abstraction layer configuration unit, a position signal processing unit, a speed information calculation unit, an Ethernet protocol stack unit, wherein the hardware abstraction layer configuration unit is configured to configure peripheral components of the field programmable gate array circuit and the field programmable gate array circuit, the main control unit And controlling the position signal processing unit to process the photoelectric signal to obtain real-time position data, and further controlling the Ethernet protocol stack unit to package the real-time position data into an Ethernet communication data frame.
  5. 根据权利要求1的信号处理电路,其特征在于,所述第二接口包括RJ45连接头,用于连接伺服驱动器。The signal processing circuit of claim 1 wherein said second interface comprises an RJ45 connector for connecting to the servo drive.
  6. 根据权利要求5的信号处理电路,其特征在于,所述信号处理电路还进一步包括电源电路,所述电源电路用于通过所述第二接口接收外部供电,并进行电压转换后提供给所述主控元件。A signal processing circuit according to claim 5, wherein said signal processing circuit further comprises a power supply circuit for receiving an external power supply through said second interface and performing voltage conversion to provide said main Control components.
  7. 根据权利要求5的信号处理电路,其特征在于,所述主控元件用于将所述以太网通讯数据帧通过所述第二接口发送至所述伺服驱动器,所述主控元件进一步通过所述第二接口从所述伺服驱动器接收控制指令,以根据所述控制指令执行相应的操作。A signal processing circuit according to claim 5, wherein said main control element is configured to transmit said Ethernet communication data frame to said servo drive through said second interface, said main control element further passing said The second interface receives a control command from the servo drive to perform a corresponding operation in accordance with the control command.
  8. 根据权利要求1至7任一项所述的信号处理电路,其特征在于,所述主控元件包括以太网物理层芯片,用于将数据封装成以太网通讯数据帧,并将接收的以太网通讯数据帧解析为数据;所述信号处理电路进一步包括隔离电路,所述隔离电路连接于所述主控元件的以太网物理层芯片与所述第二接口之间。The signal processing circuit according to any one of claims 1 to 7, wherein the main control element comprises an Ethernet physical layer chip for encapsulating data into an Ethernet communication data frame and receiving the Ethernet The communication data frame is parsed into data; the signal processing circuit further includes an isolation circuit connected between the Ethernet physical layer chip of the main control element and the second interface.
  9. 一种绝对式编码器,其特征在于,所述绝对式编码器包括光源、码盘、挡板、光电检测器以及信号处理电路,所述码盘设置成随电机转子进行转动,进而使所述光源出射的光线经所述码盘和挡板作用后形成随所述待测物体的转动位置发生变化的光编码信号,所述光电检测器对所述光编码信号进行转换,进而形成光电信号,所述信号处理电路包括第一接口、主控元件以及第二接口,其中所述第一接口用于连接所述绝对式编码器的光电检测器,并从所述光电检测器接收所述光电信号,所述主控元件分析所述光电信号得出电机转子的位置信号,所述主控元件将所述位置信号封装成以太网通讯数据帧,并将所述以太网通讯数据帧由所述第二接口发送至电机的伺服驱动器。An absolute encoder, characterized in that the absolute encoder comprises a light source, a code wheel, a baffle, a photodetector and a signal processing circuit, the code wheel being arranged to rotate with the rotor of the motor, thereby enabling the The light emitted by the light source is formed by the code wheel and the baffle to form an optical coded signal that changes according to the rotational position of the object to be tested, and the photodetector converts the optical coded signal to form a photoelectric signal. The signal processing circuit includes a first interface, a main control element, and a second interface, wherein the first interface is for connecting a photodetector of the absolute encoder, and receiving the photoelectric signal from the photodetector And the main control component analyzes the photoelectric signal to obtain a position signal of the motor rotor, and the main control component encapsulates the position signal into an Ethernet communication data frame, and the Ethernet communication data frame is configured by the The second interface is sent to the servo drive of the motor.
  10. 根据权利要求9的绝对式编码器,其特征在于,所述主控元件将所述位置信号封装成以太网通讯数据帧,包括:所述主控元件将所述位置信号进行处理,以获得实时位置数据并将所述实时位置数据封装成以太网通讯数据帧。The absolute encoder according to claim 9, wherein said main control component encapsulates said position signal into an Ethernet communication data frame, comprising: said main control component processing said position signal to obtain real time The location data encapsulates the real-time location data into an Ethernet communication data frame.
  11. 根据权利要求10的绝对式编码器,其特征在于,所述主控元件进一步根据所述位置信号计算速度数据并将所述速度数据封装成以太网通讯数据帧。The absolute encoder of claim 10 wherein said master component further calculates velocity data based on said position signal and encapsulates said speed data into an Ethernet communication data frame.
  12. 根据权利要求11的绝对式编码器,其特征在于,所述主控元件为现场可编程门阵列电路,所述现场可编程门阵列电路包括主控单元、硬件抽象层配置单元、位置信号处理单元、速度信息计算单元、以太网协议栈单元,其中所述硬件抽象层配置单元用于对所述现场可编程门阵列电路及所述现场可编程门阵列电路的外围部件进行配置,所述主控单元用于控制所述位置信号处理单元对所述光电信号进行处理,进而获得实时位置数据,并进一步控制以太网协议栈单元将所述实时位置数据打包成以太网通讯数据帧。The absolute encoder according to claim 11, wherein said main control element is a field programmable gate array circuit, said field programmable gate array circuit comprising a main control unit, a hardware abstraction layer configuration unit, and a position signal processing unit a speed information computing unit, an Ethernet protocol stack unit, wherein the hardware abstraction layer configuration unit is configured to configure peripheral components of the field programmable gate array circuit and the field programmable gate array circuit, the master control The unit is configured to control the position signal processing unit to process the photoelectric signal, thereby obtaining real-time position data, and further controlling the Ethernet protocol stack unit to package the real-time position data into an Ethernet communication data frame.
  13. 根据权利要求9的绝对式编码器,其特征在于,所述第二接口包括RJ45连接头,用于连接伺服驱动器。The absolute encoder of claim 9 wherein said second interface comprises an RJ45 connector for connecting to the servo drive.
  14. 根据权利要求13的绝对式编码器,其特征在于,所述信号处理电路还进一步包括电源电路,所述电源电路用于通过所述第二接口接收外部供电,并进行电压转换后提供给所述主控元件。The absolute encoder according to claim 13, wherein said signal processing circuit further comprises a power supply circuit for receiving an external power supply through said second interface, and performing voltage conversion to provide said Master control component.
  15. 根据权利要求13的绝对式编码器,其特征在于,所述主控元件用于将所述以太网通讯数据帧通过所述第二接口发送至所述伺服驱动器,所述主控元件进一步从通过所述第二接口从所述伺服驱动器接收控制指令,以根据所述控制指令执行相应的操作。The absolute encoder of claim 13 wherein said master control element is operative to transmit said Ethernet communication data frame to said servo drive via said second interface, said master control element further passing The second interface receives a control command from the servo drive to perform a corresponding operation in accordance with the control command.
  16. 根据权利要求11至15任一项所述的绝对式编码器,其特征在于,所述主控元件包括以太网物理层芯片,用于将数据封装成以太网通讯数据帧,并将接收的以太网通讯数据帧解析为数据;所述信号处理电路进一步包括隔离电路,所述隔离电路连接于所述主控元件的以太网物理层芯片与所述第二接口之间。The absolute encoder according to any one of claims 11 to 15, wherein the main control element comprises an Ethernet physical layer chip for packaging data into an Ethernet communication data frame and receiving the Ethernet The network communication data frame is parsed into data; the signal processing circuit further includes an isolation circuit connected between the Ethernet physical layer chip of the main control element and the second interface.
  17. 一种伺服系统,其特征在于,所述伺服系统包括伺服驱动器和与所述伺服驱动器连接的绝对式编码器,所述绝对式编码器包括光源、码盘、挡板、光电检测器以及信号处理电路,所述码盘设置成随电机转子进行转动,进而使所述光源出射的光线经所述码盘和挡板作用后形成随所述待测物体的转动位置发生变化的光编码信号,所述光电检测器对所述光编码信号进行转换,进而形成光电信号,所述信号处理电路包括第一接口、主控元件以及第二接口,其中所述第一接口用于连接所述绝对式编码器的光电检测器,并从所述光电检测器接收所述光电信号,所述主控元件分析所述光电信号得出电机转子的位置信号,所述主控元件将所述位置信号封装成以太网通讯数据帧,并将所述以太网通讯数据帧由所述第二接口发送至电机的伺服驱动器。A servo system, characterized in that the servo system comprises a servo driver and an absolute encoder connected to the servo driver, the absolute encoder comprising a light source, a code wheel, a baffle, a photodetector, and signal processing In the circuit, the code wheel is arranged to rotate with the rotor of the motor, so that the light emitted by the light source passes through the code wheel and the baffle to form an optical coded signal that changes according to the rotational position of the object to be tested. The photodetector converts the optically encoded signal to form a photoelectric signal, the signal processing circuit comprising a first interface, a main control element and a second interface, wherein the first interface is used to connect the absolute code Photodetector of the device, and receiving the photoelectric signal from the photodetector, the main control component analyzing the photoelectric signal to obtain a position signal of the rotor of the motor, the main control component packaging the position signal into an ether The network communicates a data frame and transmits the Ethernet communication data frame from the second interface to a servo driver of the motor.
  18. 根据权利要求17的伺服系统,其特征在于,所述主控元件将所述位置信号封装成以太网通讯数据帧,包括:所述主控元件将所述位置信号进行处理,以获得实时位置数据并将所述实时位置数据封装成以太网通讯数据帧。The servo system according to claim 17, wherein said main control component encapsulates said position signal into an Ethernet communication data frame, comprising: said main control component processing said position signal to obtain real-time position data And compressing the real-time location data into an Ethernet communication data frame.
  19. 根据权利要求18的伺服系统,其特征在于,所述主控元件进一步根据所述位置信号计算速度数据并将所述速度数据封装成以太网通讯数据帧。The servo system of claim 18 wherein said master component further calculates velocity data based on said position signal and encapsulates said speed data into an Ethernet communication data frame.
  20. 根据权利要求19的伺服系统,其特征在于,所述主控元件为现场可编程门阵列电路,所述现场可编程门阵列电路包括主控单元、硬件抽象层配置单元、位置信号处理单元、速度信息计算单元、以太网协议栈单元,其中所述硬件抽象层配置单元用于对所述现场可编程门阵列电路及所述现场可编程门阵列电路的外围部件进行配置,所述主控单元用于控制所述位置信号处理单元对所述光电信号进行处理,进而获得实时位置数据,并进一步控制以太网协议栈单元将所述实时位置数据打包成以太网通讯数据帧。The servo system according to claim 19, wherein said main control element is a field programmable gate array circuit, said field programmable gate array circuit comprising a main control unit, a hardware abstraction layer configuration unit, a position signal processing unit, and a speed An information computing unit, an Ethernet protocol stack unit, wherein the hardware abstraction layer configuration unit is configured to configure peripheral components of the field programmable gate array circuit and the field programmable gate array circuit, where the main control unit is configured The position signal processing unit is controlled to process the photoelectric signal to obtain real-time position data, and further controls the Ethernet protocol stack unit to package the real-time position data into an Ethernet communication data frame.
  21. 根据权利要求17的伺服系统,其特征在于,所述第二接口包括RJ45连接头,用于连接伺服驱动器。The servo system of claim 17 wherein said second interface comprises an RJ45 connector for connecting to the servo drive.
  22. 根据权利要求21的伺服系统,其特征在于,所述信号处理电路还进一步包括电源电路,所述电源电路用于通过所述第二接口接收外部供电,并进行电压转换后提供给所述主控元件。A servo system according to claim 21, wherein said signal processing circuit further comprises a power supply circuit for receiving an external power supply through said second interface, and performing voltage conversion to provide said main control element.
  23. 根据权利要求21的伺服系统,其特征在于,所述主控元件用于将所述以太网通讯数据帧通过所述第二接口发送至所述伺服驱动器,所述主控元件进一步从通过所述第二接口从所述伺服驱动器接收控制指令,以根据所述控制指令执行相应的操作。The servo system according to claim 21, wherein said main control element is configured to transmit said Ethernet communication data frame to said servo drive through said second interface, said main control element further passing said said The second interface receives a control command from the servo drive to perform a corresponding operation in accordance with the control command.
  24. 根据权利要求19至23任一项所述的伺服系统,其特征在于,所述主控元件包括以太网物理层芯片,用于将数据封装成以太网通讯数据帧,并将接收的以太网通讯数据帧解析为数据;所述信号处理电路进一步包括隔离电路,所述隔离电路连接于所述主控元件的以太网物理层芯片与所述第二接口之间。The servo system according to any one of claims 19 to 23, wherein the main control element comprises an Ethernet physical layer chip for packaging data into an Ethernet communication data frame and receiving the received Ethernet communication. The data frame is parsed into data; the signal processing circuit further includes an isolation circuit connected between the Ethernet physical layer chip of the main control element and the second interface.
  25. 一种电机,其特征在于,所述电机包括权利要求9-16任一项所述的绝对式编码器,所述绝对式编码器的码盘设置成随电机转子进行转动。An electric machine comprising the absolute encoder of any one of claims 9-16, the code disc of the absolute encoder being arranged to rotate with a rotor of the electric machine.
PCT/CN2017/086197 2017-05-26 2017-05-26 Servo system, motor, absolute encoder, and signal processing circuit for same WO2018214167A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2017/086197 WO2018214167A1 (en) 2017-05-26 2017-05-26 Servo system, motor, absolute encoder, and signal processing circuit for same
CN201780036370.2A CN109463037B (en) 2017-05-26 2017-05-26 Servo system, motor, absolute encoder and signal processing circuit thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/086197 WO2018214167A1 (en) 2017-05-26 2017-05-26 Servo system, motor, absolute encoder, and signal processing circuit for same

Publications (1)

Publication Number Publication Date
WO2018214167A1 true WO2018214167A1 (en) 2018-11-29

Family

ID=64396106

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/086197 WO2018214167A1 (en) 2017-05-26 2017-05-26 Servo system, motor, absolute encoder, and signal processing circuit for same

Country Status (2)

Country Link
CN (1) CN109463037B (en)
WO (1) WO2018214167A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109560745A (en) * 2018-12-29 2019-04-02 湖南宇正智能科技有限公司 A kind of servo controller
CN111367842A (en) * 2018-12-26 2020-07-03 沈阳新松机器人自动化股份有限公司 Multi-interface servo driving device, method and system based on object dictionary
CN113791734A (en) * 2021-09-09 2021-12-14 苏州汇川控制技术有限公司 Encoder reading acquisition method and device, servo system and storage medium
CN113867189A (en) * 2021-09-02 2021-12-31 北京精密机电控制设备研究所 High-speed Glink bus communication servo control assembly and control method
CN115550469A (en) * 2022-08-26 2022-12-30 上海市雷智电机有限公司 Servo driver compatible with multiple encoder protocols and method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117007088B (en) * 2023-10-07 2023-12-22 深圳市盛泰奇科技有限公司 Encoder for rotary motion unit structure

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101216711A (en) * 2008-01-08 2008-07-09 哈尔滨工程大学 Amphibious mechanical crab step control device and control method
US20100193588A1 (en) * 2009-02-04 2010-08-05 Datalogic Scanning, Inc. Systems and methods for selectively masking a scan volume of a data reader
CN102436262A (en) * 2011-09-26 2012-05-02 北京航空航天大学 High-precision and large-load control system and method of three-axis inertially stabilized platform for airborne remote sensing
CN203346433U (en) * 2013-07-12 2013-12-18 湖南湘投金天新材料有限公司 Control device of annealing furnace in welded pipe production line
CN105007006A (en) * 2015-08-14 2015-10-28 杜铁军 Peristaltic pump system with performance being improved and service life being prolonged and application in blood component separation
CN205910583U (en) * 2016-07-05 2017-01-25 蚌埠凯盛工程技术有限公司 Combined material belt roll extrusion host computer wireless control system

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1149794C (en) * 1999-07-27 2004-05-12 信息产业部武汉邮电科学研究院 Interfacing apparatus and method for adapting ethernet directly to physical channel
CN202453710U (en) * 2011-12-06 2012-09-26 配天(安徽)电子技术有限公司 Multi-axis linkage numerical control system
CN103192545B (en) * 2013-03-29 2015-04-08 天津大学 Controller, control system and control method of hydraulic machine movement on basis of Ethernet
CN103425106B (en) * 2013-08-08 2015-12-23 华南理工大学 The master/slave station control system of a kind of EtherCAT based on Linux and method
CN204076264U (en) * 2013-12-30 2015-01-07 北京配天技术有限公司 A kind of motion control card and robot
CN204405090U (en) * 2014-12-11 2015-06-17 中国矿业大学 A kind of absolute value encoder based on Novel guard board formula photoelectric code disk
CN105682864A (en) * 2014-12-26 2016-06-15 深圳市配天智造装备股份有限公司 Control card and robot
CN205193561U (en) * 2015-12-11 2016-04-27 沈阳高精数控智能技术股份有限公司 Total line number accuse device of MIII
CN206489440U (en) * 2016-11-17 2017-09-12 上海新时达机器人有限公司 Centralized servo drive system
WO2018170805A1 (en) * 2017-03-22 2018-09-27 深圳配天智能技术研究院有限公司 Ethernet interconnection circuit and apparatus
CN207216330U (en) * 2017-06-13 2018-04-10 华南理工大学 A kind of multi-axis synchronized control device based on EtherCAT

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101216711A (en) * 2008-01-08 2008-07-09 哈尔滨工程大学 Amphibious mechanical crab step control device and control method
US20100193588A1 (en) * 2009-02-04 2010-08-05 Datalogic Scanning, Inc. Systems and methods for selectively masking a scan volume of a data reader
CN102436262A (en) * 2011-09-26 2012-05-02 北京航空航天大学 High-precision and large-load control system and method of three-axis inertially stabilized platform for airborne remote sensing
CN203346433U (en) * 2013-07-12 2013-12-18 湖南湘投金天新材料有限公司 Control device of annealing furnace in welded pipe production line
CN105007006A (en) * 2015-08-14 2015-10-28 杜铁军 Peristaltic pump system with performance being improved and service life being prolonged and application in blood component separation
CN205910583U (en) * 2016-07-05 2017-01-25 蚌埠凯盛工程技术有限公司 Combined material belt roll extrusion host computer wireless control system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111367842A (en) * 2018-12-26 2020-07-03 沈阳新松机器人自动化股份有限公司 Multi-interface servo driving device, method and system based on object dictionary
CN109560745A (en) * 2018-12-29 2019-04-02 湖南宇正智能科技有限公司 A kind of servo controller
CN113867189A (en) * 2021-09-02 2021-12-31 北京精密机电控制设备研究所 High-speed Glink bus communication servo control assembly and control method
CN113791734A (en) * 2021-09-09 2021-12-14 苏州汇川控制技术有限公司 Encoder reading acquisition method and device, servo system and storage medium
CN115550469A (en) * 2022-08-26 2022-12-30 上海市雷智电机有限公司 Servo driver compatible with multiple encoder protocols and method

Also Published As

Publication number Publication date
CN109463037B (en) 2022-04-26
CN109463037A (en) 2019-03-12

Similar Documents

Publication Publication Date Title
WO2018214167A1 (en) Servo system, motor, absolute encoder, and signal processing circuit for same
CN1331073C (en) A communication method and common control bus interconnecting a controller and a precision measurement assembly
US8208478B2 (en) Communications system for an underwater fluid extraction facility
CN107831702B (en) A kind of synchronous serial signal acquisition and control device based on gigabit Ethernet
WO2015101217A1 (en) Control card and robot
CN202143070U (en) Unidirectional fiber channel data transmission system
US11689439B2 (en) Method and apparatus for communication with a motor or load mounted device in motion applications
CN209590642U (en) The conversion of underwater robot information and processing system
WO2018076296A1 (en) Steering engine control system and robot
CN207010693U (en) Servo-drive system, motor, absolute type encoder and its signal processing circuit
CN207427013U (en) A kind of electric machine control system using optical fiber remote control technology
CN103759747B (en) Motor absolute position detection device and method based on uni-core bidirectional technology
WO2018170774A1 (en) Rtex-ethercat protocol conversion apparatus and industrial control system
CN106877936A (en) A kind of SFP28 optical modules
WO2018053693A1 (en) Motor control system and unmanned aircraft
CN103176435A (en) Device and method of interface for achieving connection of distributed control system and measuring device
CN105205024B (en) A kind of 100G high-speed transfers CFP encapsulates cable module
CN201877986U (en) EPA (Ethernet for Plant Automation)-based motor digital magnetic encoder
CN212020774U (en) EtherCAT bus triaxial SCARA arm control system
CN207083090U (en) A kind of SFP28 optical modules
CN208314183U (en) phased array weather radar signal processing data transmission device
CN102901522A (en) Optical fibre transmission type rotary encoding device
CN205068380U (en) 100G high -speed transmission CFP encapsulation cable module
WO2019218324A1 (en) Encoder, driver and controller for robot and robot
CN203732079U (en) Motor absolute-position detecting device based on single-core bidirectional technology

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17910793

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17910793

Country of ref document: EP

Kind code of ref document: A1