CN113865623A - Interface circuit of incremental encoder-absolute value encoder - Google Patents
Interface circuit of incremental encoder-absolute value encoder Download PDFInfo
- 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
- rechargeable battery
- signal
- incremental
- 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
Links
- 238000007599 discharging Methods 0.000 claims description 13
- 230000008859 change Effects 0.000 description 5
- 238000000034 method Methods 0.000 description 5
- 230000009471 action Effects 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000001186 cumulative effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING 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/00—Mechanical 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/12—Mechanical 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
The invention discloses an incremental encoder to absolute encoder interface circuit, which relates to the technical field of electronic circuits, and mainly comprises a rechargeable battery, a charge-discharge related circuit, an incremental signal input circuit, a signal subdivision circuit, a position counter and a serial output circuit, wherein the rechargeable battery is connected in series in the charge-discharge circuit, and the incremental signal input circuit, the signal subdivision circuit, the position counter and the serial output circuit are all electrically connected with the charge-discharge circuit.
Description
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. An incremental encoder to absolute encoder interface circuit, comprising:
the charging device comprises a rechargeable battery (1), wherein the rechargeable battery (1) is connected in a charging and discharging circuit in series;
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 an increment signal transmitted by the increment encoder;
the signal subdivision circuit (3) is electrically connected with the charging and discharging 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 is used for obtaining an absolute position value of the position signal and counting;
and 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 an upper computer.
2. The interface circuit of the incremental encoder to absolute value encoder according to claim 1, wherein the charge-discharge circuit is configured to supply power to the rechargeable battery (1) when external power is supplied, and to allow the rechargeable battery (1) to supply power to other circuits through the charge circuit when external power is not supplied.
3. The interface circuit of claim 1, wherein the incremental signal is two sine and cosine signals with 90 ° phase difference or two TTL square signals with 90 ° phase difference.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111127797.8A CN113865623A (en) | 2021-09-26 | 2021-09-26 | Interface circuit of incremental encoder-absolute value encoder |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111127797.8A CN113865623A (en) | 2021-09-26 | 2021-09-26 | Interface circuit of incremental encoder-absolute value encoder |
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 | Interface circuit of incremental encoder-absolute value encoder |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113865623A (en) |
Citations (10)
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 | 北京精雕科技集团有限公司 | Signal processing device compatible with multiprotocol and multi-type sine and cosine encoder |
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 |
-
2021
- 2021-09-26 CN CN202111127797.8A patent/CN113865623A/en active Pending
Patent Citations (10)
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 | 北京精雕科技集团有限公司 | Signal processing device compatible with multiprotocol and multi-type sine and cosine encoder |
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)
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 autosyn / rotary transformer - digital conversion technique | |
CN100583644C (en) | Integrating A/D convertion method and its A/D converter | |
CN105222814A (en) | Multi-turn memory rotary transformer decoding circuit and position calculation method thereof | |
CN105607535A (en) | Intelligent power meter based on CAN communication and ZigBee networking | |
CN111351512B (en) | Incremental photoelectric encoder signal processing device and processing method | |
CN103383443B (en) | Modularization three-phase instrument calibration device used for intelligent electric network | |
CN113865623A (en) | Interface circuit of incremental encoder-absolute value encoder | |
CN201555895U (en) | Single-phase digital current/voltage measuring instrument | |
CN210720558U (en) | Low-cost portable voltage measurement device | |
CN201450494U (en) | Coding type hand-held pulse generator capable of pulse number adjustment and long distance transmission | |
CN213021626U (en) | Universal measurement conversion circuit of photoelectric encoder based on DSP | |
CN102230809B (en) | Grating ruler hybrid conversion device | |
CN109088620B (en) | PFM modulation circuit based on data control | |
CN207365987U (en) | Absolute type encoder | |
CN203455024U (en) | Early warning apparatus for secure operation of switch cabinet | |
CN202145348U (en) | Energy metering data acquisition system | |
CN2083756U (en) | High-recision multi-function intelligent kilowatt-hour meter | |
CN205785396U (en) | Photoelectric direct-reading water meter | |
CN204963882U (en) | Signal conversion equipment based on photoelectric encoder | |
CN102589633A (en) | Data processing system embedded in gas meter | |
RU213086U1 (en) | Electronic attachment to mechanical gas and water meters for automated systems | |
CN212159931U (en) | Direct current electric energy meter based on clock synchronization metering function | |
Parvathala et al. | Arm based wireless energy meter reading system along with power on/off circuit | |
CN208847207U (en) | Split type photoelectricity absolute value encoder | |
CN115862181B (en) | Chain type communication display instrument group and chain type communication method thereof |
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 |