CN113865623A - An incremental encoder to absolute encoder interface circuit - Google Patents

An incremental encoder to absolute encoder interface circuit Download PDF

Info

Publication number
CN113865623A
CN113865623A CN202111127797.8A CN202111127797A CN113865623A CN 113865623 A CN113865623 A CN 113865623A CN 202111127797 A CN202111127797 A CN 202111127797A CN 113865623 A CN113865623 A CN 113865623A
Authority
CN
China
Prior art keywords
circuit
encoder
incremental
signal
charging
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202111127797.8A
Other languages
Chinese (zh)
Inventor
景国丰
高飞
张同欣
陈扬
刘云东
刘晓乐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yantai Global Cnc Technology Co ltd
Yantai Universal Machine Tool Accessory Group Co ltd
Original Assignee
Yantai Global Cnc Technology Co ltd
Yantai Universal Machine Tool Accessory Group Co ltd
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 Yantai Global Cnc Technology Co ltd, Yantai Universal Machine Tool Accessory Group Co ltd filed Critical Yantai Global Cnc Technology Co ltd
Priority to CN202111127797.8A priority Critical patent/CN113865623A/en
Publication of CN113865623A publication Critical patent/CN113865623A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D5/00Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
    • G01D5/12Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Transmission And Conversion Of Sensor Element Output (AREA)

Abstract

本发明公开了一种增量编码器转绝对值编码器接口电路,涉及电子电路技术领域,主要由充电电池及充放电相关电路、增量信号输入电路、信号细分电路、位置计数器以及串行输出电路组成,充电电池串接在充放电路中,增量信号输入电路、信号细分电路、位置计数器以及串行输出电路均与充放电路电性连接,该电路在实际使用时,将该电路与增量编码器及上位机相连接即可完成增量式编码器到绝对值编码器的转换,无需其它任何额外信号或编码器的改动,就可以实现增量编码器转换为绝对值编码器的功能,方便快捷且不会因为拆装损坏机械部件。

Figure 202111127797

The invention discloses an incremental encoder-to-absolute encoder interface circuit, which relates to the technical field of electronic circuits. The output circuit is composed, the rechargeable battery is connected in series in the charging and discharging circuit, the incremental signal input circuit, the signal subdivision circuit, the position counter and the serial output circuit are all electrically connected with the charging and discharging circuit. The circuit is connected with the incremental encoder and the host computer to complete the conversion from the incremental encoder to the absolute value encoder. The incremental encoder can be converted into absolute value encoding without any additional signal or encoder modification. The function of the device is convenient and fast, and the mechanical parts will not be damaged due to disassembly and assembly.

Figure 202111127797

Description

Interface circuit of incremental encoder-absolute value encoder
Technical Field
The invention relates to the technical field of electronic circuits, in particular to an incremental encoder-to-absolute value encoder interface circuit.
Background
In industrial positioning control, it is sometimes necessary to obtain accurate position feedback. This is typically accomplished by adding an encoder (linear grating scale, circular grating, magnetic grating, etc.) at the end of the mechanism.
Encoders are classified into an incremental type and an absolute value type in a counting manner. The absolute value type encoder can be powered off without losing the position value, and the incremental encoder can lose the original position value after being powered off, so that the whole moving mechanism needs to search the zero point again after being powered on every time, and the inconvenience in use is caused. Although the problem can be solved by replacing the absolute value encoder, the encoder needs to be reset by replacing the absolute value encoder, and the encoder of some equipment can not be replaced almost, so that great inconvenience is caused.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides an incremental encoder to absolute value encoder interface circuit, which can solve the problem that an incremental encoder has the effect of an absolute value encoder on the premise of not replacing the encoder.
In order to achieve the purpose, the invention is realized by the following technical scheme: an incremental encoder to absolute encoder interface circuit, comprising:
the rechargeable battery is connected in the charge-discharge circuit in series;
the increment signal input circuit is electrically connected with the charging and discharging circuit of the rechargeable battery and is used for receiving an increment signal transmitted by the increment encoder;
the signal subdivision circuit is electrically connected with the charging and discharging circuit of the rechargeable battery and is used for subdividing the signals received by the incremental signal input circuit to obtain position signals with higher resolution;
the position counter is electrically connected with the charging and discharging circuit of the rechargeable battery and used for obtaining an absolute position value of the position signal and counting;
and the serial output circuit is electrically connected with the charging and discharging circuit of the rechargeable battery and is used for transmitting the absolute position value obtained by the position counter to an upper computer.
Furthermore, the charging and discharging circuit is used for supplying power to the rechargeable battery when external power supply exists, and the rechargeable battery supplies power to other circuits through the charging circuit when external power supply does not exist.
Furthermore, the incremental signals are two sine and cosine signals with a phase difference of 90 degrees or two TTL square wave signals with a phase difference of 90 degrees.
Advantageous effects
The invention provides an incremental encoder-to-absolute value encoder interface circuit. Compared with the prior art, the method has the following beneficial effects:
the utility model provides an incremental encoder changes absolute value encoder interface circuit, is connected this circuit and incremental encoder and host computer and can accomplishes incremental encoder to the conversion of absolute value encoder, need not the change of any other extra signal or encoder, just can realize that the incremental encoder converts the function of absolute value encoder into, convenient and fast just can not damage mechanical parts because of the dismouting.
Drawings
FIG. 1 is a frame diagram of the present invention;
fig. 2 is a schematic structural diagram of a control circuit according to the present invention.
In the figure: 1. a rechargeable battery; 2. an incremental signal input circuit; 3. a signal subdivision circuit; 4. a position counter; 5. and a serial output circuit.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and 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, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1-2, the present invention provides a technical solution: an incremental encoder to absolute encoder interface circuit, comprising:
the charging circuit is used for supplying power to the charging battery 1 when external power supply exists, and the charging battery 1 supplies power to other circuits through the charging circuit when external power supply does not exist;
the increment signal input circuit 2 is electrically connected with the charging and discharging circuit of the rechargeable battery 1 and is used for receiving the increment signal transmitted by the increment encoder;
the signal subdivision circuit 3 is electrically connected with the charge-discharge circuit of the rechargeable battery 1 and is used for subdividing the signal received by the incremental signal input circuit 2 to obtain a position signal with higher resolution;
the position counter 4 is electrically connected with a charging and discharging circuit of the rechargeable battery 1 and used for obtaining an absolute position value of the position signal and counting;
and the serial output circuit 5 is electrically connected with the charge and discharge circuit of the rechargeable battery 1 and is used for transmitting the absolute position value obtained by the position counter 4 to an upper computer, and encoding the absolute position value according to different upper computer protocols during transmission, for example, transmitting a data frame encoded into an Endat protocol when the upper computer uses a Heidenhain protocol.
When the device is used, the conversion from the incremental signal to the absolute value signal can be completed only by connecting the encoder and the corresponding interface of the upper computer with the device.
All the parts realize functions based on a single chip microcomputer or an FPGA, wherein the functions are preferably realized in an FPGA mode because the hardware realization efficiency is higher.
When the device is used, the upper computer and the encoder are connected with the corresponding interface of the device, so that the upper computer charges the rechargeable battery 1 and the charge and discharge related circuits of the device through the interface of the upper computer when the device is started; the charging battery 1 and the charging and discharging related circuit supply power for the increment signal input circuit 2, the signal subdivision circuit 3, the position counter 4, the serial output circuit 5 and the increment encoder.
The incremental encoder generates an incremental position signal when moving and transmits the incremental position signal to the incremental signal input circuit 2; the increment signal input circuit 2 transmits the received increment signal to the signal subdivision circuit 3; after receiving the incremental signal, the signal subdivision circuit 3 subdivides the signal in different ways according to the type of the signal to obtain a position value with higher resolution. When two paths of sine and cosine signals are obtained, the electrical angle of a single signal period can be obtained through arc tangent calculation according to the two paths of sine and cosine signals, a specific angle position can be obtained through the angle according to the number of signal periods of one rotation of an encoder, and the position change value of two times of sampling can be obtained according to the position value of the last sampling. When two paths of TTL signals are obtained, quadruple frequency can be directly carried out to obtain a position variation value; the signal subdividing circuit 3 then transmits the obtained position variation value to the position counter 4 for cumulative counting, and the position counter 4 has a zero setting operation after the device is installed and used, and a zero point of an absolute value is obtained through the zero setting operation. Thereafter all accumulated data is accumulated from the zero point, thereby obtaining an accumulated absolute position value relative to the zero point; the position counter 4 transmits the absolute position value to the serial output circuit 5, and the serial output circuit 5 encodes the absolute position value into a serial signal according to a protocol used by the upper computer and transmits the serial signal to the upper computer for receiving. Therefore, the device can realize the function of converting the incremental encoder into the absolute value encoder only by two incremental signals of the common incremental encoder without any other additional signals or the change of the encoder.
When the upper computer is shut down, the rechargeable battery 1 and the charge-discharge related circuit continue to supply power to the encoder and the circuit in the device, so that the position change of the encoder can still be detected after the upper computer is shut down, and the absolute value position is ensured not to be lost. Optionally, the serial output circuit 5 is not powered when the upper computer is shut down, because serial signal output is not required after the upper computer is shut down, the serial output circuit 5 is not used for reducing the overall power consumption temporarily, and the standby time is prolonged.
It can be seen from above that, only need to connect this encoder interface circuit with incremental encoder and host computer and can accomplish incremental encoder to the conversion of absolute value encoder, this device need not the change of any other extra signal or encoder, just can realize that the incremental encoder converts the function of absolute value encoder into.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (3)

1.一种增量编码器转绝对值编码器接口电路,其特征在于,包括:1. a kind of incremental encoder turns absolute value encoder interface circuit, is characterized in that, comprises: 充电电池(1),所述充电电池(1)串接在充放电路中;a rechargeable battery (1), the rechargeable battery (1) is connected in series in a charging and discharging circuit; 增量信号输入电路(2),与所述充电电池(1)的充放电路电性连接,用于接收增量编码器传来的增量信号;an incremental signal input circuit (2), electrically connected to the charging and discharging circuit of the rechargeable battery (1), for receiving the incremental signal from the incremental encoder; 信号细分电路(3),与所述充电电池(1)的充放电路电性连接,用于对所述增量信号输入电路(2)接收到的信号进行细分以获得更高分辨率的位置信号;A signal subdivision circuit (3), electrically connected to the charging and discharging circuit of the rechargeable battery (1), and used for subdividing the signal received by the incremental signal input circuit (2) to obtain higher resolution position signal; 位置计数器(4),与所述充电电池(1)的充放电路电性连接,用于获得所述位置信号的绝对位置值并进行计数;a position counter (4), electrically connected to the charging and discharging circuit of the rechargeable battery (1), for obtaining and counting the absolute position value of the position signal; 串行输出电路(5),与所述充电电池(1)的充放电路电性连接,用于将所述位置计数器(4)获得的绝对位置值向上位机进行传输。The serial output circuit (5) is electrically connected with the charging and discharging circuit of the rechargeable battery (1), and is used for transmitting the absolute position value obtained by the position counter (4) to the upper computer. 2.根据权利要求1所述的一种增量编码器转绝对值编码器接口电路,其特征在于,所述充放电路用于在有外部供电时为所述充电电池(1)进行供电,在没有外部供电时让所述充电电池(1)通过充电电路为其他电路供电。2. An incremental encoder-to-absolute encoder interface circuit according to claim 1, wherein the charging and discharging circuit is used to supply power to the rechargeable battery (1) when there is an external power supply, When there is no external power supply, the rechargeable battery (1) can supply power to other circuits through the charging circuit. 3.根据权利要求1所述的一种增量编码器转绝对值编码器接口电路,其特征在于,所述增量信号为两路相差90°相位的正余弦信号或两路相差90°相位的TTL方波信号。3. a kind of incremental encoder according to claim 1 turns to absolute value encoder interface circuit, it is characterized in that, described incremental signal is the sine and cosine signal of two-way phase difference of 90° or two-way phase difference of 90° phase TTL square wave signal.
CN202111127797.8A 2021-09-26 2021-09-26 An incremental encoder to absolute encoder interface circuit Pending CN113865623A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111127797.8A CN113865623A (en) 2021-09-26 2021-09-26 An incremental encoder to absolute encoder interface circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111127797.8A CN113865623A (en) 2021-09-26 2021-09-26 An incremental encoder to absolute encoder interface circuit

Publications (1)

Publication Number Publication Date
CN113865623A true CN113865623A (en) 2021-12-31

Family

ID=78994423

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111127797.8A Pending CN113865623A (en) 2021-09-26 2021-09-26 An incremental encoder to absolute encoder interface circuit

Country Status (1)

Country Link
CN (1) CN113865623A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2665700Y (en) * 2003-12-30 2004-12-22 中国科学院沈阳计算技术研究所 Drop hammer impact test machine controller remotely controlled by computer
CN2856935Y (en) * 2005-08-17 2007-01-10 长春三峰传感技术有限公司 Increment coding converting absolute coding memory converter
CN203203609U (en) * 2013-04-27 2013-09-18 北京超同步科技有限公司 Interface circuit of sine-cosine encoder
CN104111347A (en) * 2014-06-13 2014-10-22 北京航天控制仪器研究所 Raster encoder low-speed precision detection apparatus
CN106197484A (en) * 2016-06-30 2016-12-07 中工科安科技有限公司 A kind of sine and cosine encoder high-precision signal processing system and method thereof
CN111366176A (en) * 2018-12-25 2020-07-03 北京精雕科技集团有限公司 A multi-protocol and multi-type sine-cosine encoder signal processing device
CN111693075A (en) * 2020-07-09 2020-09-22 赛卓微电子(深圳)有限公司 Method for outputting absolute position in incremental encoder IC
CN112824059A (en) * 2019-11-15 2021-05-21 合肥欣奕华智能机器有限公司 Data conversion method, device and equipment for encoder
CN112928813A (en) * 2019-12-06 2021-06-08 东元电机股份有限公司 External power supply device applied to incremental encoder and power supply method thereof
CN113028975A (en) * 2021-03-09 2021-06-25 浙江禾川科技股份有限公司 Inductance type encoder

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2665700Y (en) * 2003-12-30 2004-12-22 中国科学院沈阳计算技术研究所 Drop hammer impact test machine controller remotely controlled by computer
CN2856935Y (en) * 2005-08-17 2007-01-10 长春三峰传感技术有限公司 Increment coding converting absolute coding memory converter
CN203203609U (en) * 2013-04-27 2013-09-18 北京超同步科技有限公司 Interface circuit of sine-cosine encoder
CN104111347A (en) * 2014-06-13 2014-10-22 北京航天控制仪器研究所 Raster encoder low-speed precision detection apparatus
CN106197484A (en) * 2016-06-30 2016-12-07 中工科安科技有限公司 A kind of sine and cosine encoder high-precision signal processing system and method thereof
CN111366176A (en) * 2018-12-25 2020-07-03 北京精雕科技集团有限公司 A multi-protocol and multi-type sine-cosine encoder signal processing device
CN112824059A (en) * 2019-11-15 2021-05-21 合肥欣奕华智能机器有限公司 Data conversion method, device and equipment for encoder
CN112928813A (en) * 2019-12-06 2021-06-08 东元电机股份有限公司 External power supply device applied to incremental encoder and power supply method thereof
CN111693075A (en) * 2020-07-09 2020-09-22 赛卓微电子(深圳)有限公司 Method for outputting absolute position in incremental encoder IC
CN113028975A (en) * 2021-03-09 2021-06-25 浙江禾川科技股份有限公司 Inductance type encoder

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
TAKASHI KATAGIRI等: "An Integrated Single-Output Signal Encoder for both Multi-Turn Absolute Encoder Use and Incremental Encoder Use", PROCEEDINGS OF 1994 IEEE INDUSTRY APPLICATIONS SOCIETY ANNUAL MEETING, pages 347 - 351 *

Similar Documents

Publication Publication Date Title
CN101281042B (en) High-precision CMOS integrated circuit synchro/resolver-digital conversion method
CN101281041B (en) Single power supply CMOS integrated circuit autosyn / rotary transformer - digital conversion technique
CN100575884C (en) A Resolver Signal-to-Digital Conversion Method
CN101226066A (en) Multiple-loop absolute type rotary encoder based on rotating transformer
CN105222814A (en) Multi-turn memory rotary transformer decoding circuit and position calculation method thereof
CN111351512B (en) An incremental photoelectric encoder signal processing device and processing method
CN106773897B (en) A kind of method that absolute encoder signal is converted to incremental encoder signal
CN102436733A (en) A thermal power type energy efficiency data acquisition terminal
CN103383443B (en) Modularization three-phase instrument calibration device used for intelligent electric network
CN113865623A (en) An incremental encoder to absolute encoder interface circuit
CN205725536U (en) An Adjacent Cross-Coupled Synchronous Control System Based on Sliding Mode Variable Structure
CN203204080U (en) Bushing dielectric loss on-line monitoring device based on B code timing
CN201215505Y (en) Digital weighing controller
CN210720558U (en) Low-cost portable voltage measurement device
CN102636192B (en) A kind of I/O type is able to programme arranges intelligent transducer
CN102486383A (en) An Electrically Retentive Multi-turn Absolute Encoder
CN207365987U (en) Absolute type encoder
CN102506932A (en) Thermodynamic type energy-efficiency data acquisition terminal
CN202373130U (en) Thermal electric quantity type energy efficiency data acquisition terminal
CN108334001A (en) Acquisition system of Haidenhain absolute encoder
CN203894328U (en) Digital RLC tester
CN203909178U (en) Multifunctional digital electric power meter
CN208224851U (en) Control circuit takes aim at control system with thick
CN101420772A (en) An intelligent energy-supply photoelectric integrated wireless sensor
CN204963882U (en) Signal conversion equipment based on photoelectric encoder

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20211231