US20070120557A1 - Signal processing circuit for encoder - Google Patents
Signal processing circuit for encoder Download PDFInfo
- Publication number
- US20070120557A1 US20070120557A1 US11/564,178 US56417806A US2007120557A1 US 20070120557 A1 US20070120557 A1 US 20070120557A1 US 56417806 A US56417806 A US 56417806A US 2007120557 A1 US2007120557 A1 US 2007120557A1
- Authority
- US
- United States
- Prior art keywords
- detectors
- difference
- angular
- calculating
- angular values
- 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.)
- Granted
Links
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
- G01D5/244—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 influencing characteristics of pulses or pulse trains; generating pulses or pulse trains
- G01D5/24457—Failure detection
- G01D5/24461—Failure detection by redundancy or plausibility
-
- 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
- G01D18/00—Testing or calibrating apparatus or arrangements provided for in groups G01D1/00 - G01D15/00
- G01D18/001—Calibrating encoders
-
- 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
- G01D5/244—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 influencing characteristics of pulses or pulse trains; generating pulses or pulse trains
- G01D5/24471—Error correction
- G01D5/2449—Error correction using hard-stored calibration data
Definitions
- the present invention relates to a signal processing circuit for an encoder of a type having two detectors arranged on both sides of a rotating shaft in order to eliminate an eccentricity error.
- One of the detection errors that can occur in an encoder is an eccentricity error, i.e., the error caused by the eccentricity of its rotating part.
- This eccentricity error can be canceled by arranging two detectors on both sides of the rotating shaft and by taking an average between the angular values ⁇ 1 and ⁇ 2 calculated from their respective output signals, as described, for example, in the prior art section of JP 3195117B.
- the difference between ⁇ 1 and ⁇ 2 calculated from the output signals of the respective detectors may become equal to 180°, depending on the mounting condition of the detectors; in that case, two solutions ⁇ ′ and ⁇ ′′ can occur, resulting in a 180° displacement, as shown in FIG. 3 .
- the detectors have had to be mounted by exercising care so that the difference between ⁇ 1 and ⁇ 2 will not become equal to 180° while considering the positional relationship between the detectors, and hence the problem that it takes time to mount the detectors appears.
- an encoder signal processing circuit for calculating position data by processing signals output from first and second detectors arranged on both sides of a rotating shaft, comprising: angular value calculating means for calculating first and second angular values respectively from the output signals of the first and second detectors; initial difference storing means for storing an initial value of an angular difference calculated between the first and second angular values; correcting means for correcting one or the other of the first and second angular values by the initial value of the angular difference stored in the initial difference storing means; and position data calculating means for calculating the position data by taking an average between the two angular values after the correction is made by the correcting means.
- the two angular values after the correction become close to each other; as a result, if the detectors are mounted in any positional relationship, the situation where the difference between the two values becomes equal to 180°, causing two solutions to occur, can be prevented, and thus the mounting of the detectors can be facilitated.
- FIG. 1 is a diagram for explaining the averaging of angular values
- FIG. 2 is a diagram for explaining the averaging of angular values
- FIG. 3 is a diagram for explaining the problem of averaging that can occur when the angular difference is 180°;
- FIG. 4 is a block diagram showing a first embodiment of the present invention.
- FIG. 5 is a block diagram showing a first embodiment of the present invention.
- FIG. 4 is a block diagram showing the configuration of an encoder signal processing circuit according to a first embodiment of the present invention.
- an analog section 10 As a rotating part 12 rotates, two sine wave signals A 1 and B 1 , 90° apart in phase, are output from a detector 14 mounted near the rotating part 12 . Similarly, sine wave signals A 2 and B 2 are output from a detector 16 mounted opposite the detector 14 across the rotating part 12 .
- Analog/digital converters 20 and 22 each interfacing the analog section 10 with a digital section 18 , convert the analog values A 1 , B 1 , A 2 , and B 2 into digital values A 1D , B 1D , A 2D , and B 2D , respectively.
- An interpolation circuit 24 calculates an angular value ⁇ 1 from the digital values A 1D and B 1D by a known method, and outputs the result.
- an interpolation circuit 26 calculates an angular value ⁇ 2 from the digital values A 2D and B 2D , and outputs the result.
- the value of ⁇ may be measured a plurality of times, and its average value may be stored as ⁇ .
- FIG. 5 shows a second embodiment according to the present invention.
- an alarm processor 36 is added to the configuration of FIG. 4 .
- the alarm processor 36 outputs an alarm when 180° ⁇ ALM ⁇ 3 ⁇ 2 ⁇ 180°+ ⁇ ALM , that is, when the angular difference ( ⁇ 3 ⁇ 2 ) after the correction lies within the range of 180° to ⁇ ALM , where ⁇ ALM is a predetermined value.
- an alarm can be issued whenever there arises the possibility of an abnormal value being output as the phase difference after the correction becomes close to 180° due, for example, to the breakage or a displacement in the mounting position of the detectors.
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Transmission And Conversion Of Sensor Element Output (AREA)
Abstract
Description
- 1. Field of the Invention
- The present invention relates to a signal processing circuit for an encoder of a type having two detectors arranged on both sides of a rotating shaft in order to eliminate an eccentricity error.
- 2. Description of the Related Art
- One of the detection errors that can occur in an encoder is an eccentricity error, i.e., the error caused by the eccentricity of its rotating part. This eccentricity error can be canceled by arranging two detectors on both sides of the rotating shaft and by taking an average between the angular values θ1 and θ2 calculated from their respective output signals, as described, for example, in the prior art section of JP 3195117B.
- As the average θ=(θ3+θ2)/2 is the average of angular values, it is not the mere average of the values, but the value of θ is chosen so that, after the averaging, the angle θ is located between θ1 and θ2, as shown in
FIGS. 1 and 2 . - However, in a certain type of encoder, such as a magnetic encoder, in which the detectors are mounted to the stator or rotor after the encoder is assembled, the difference between θ1 and θ2 calculated from the output signals of the respective detectors may become equal to 180°, depending on the mounting condition of the detectors; in that case, two solutions θ′ and θ″ can occur, resulting in a 180° displacement, as shown in
FIG. 3 . - Therefore, to avoid the above situation, in the prior art the detectors have had to be mounted by exercising care so that the difference between θ1 and θ2 will not become equal to 180° while considering the positional relationship between the detectors, and hence the problem that it takes time to mount the detectors appears.
- It is accordingly an object of the present invention to provide a signal processing circuit that facilitates the mounting of the detectors in an encoder of the type in which two detectors are arranged on both sides of the rotating shaft in order to eliminate an eccentricity error.
- According to the present invention, there is provided an encoder signal processing circuit, for calculating position data by processing signals output from first and second detectors arranged on both sides of a rotating shaft, comprising: angular value calculating means for calculating first and second angular values respectively from the output signals of the first and second detectors; initial difference storing means for storing an initial value of an angular difference calculated between the first and second angular values; correcting means for correcting one or the other of the first and second angular values by the initial value of the angular difference stored in the initial difference storing means; and position data calculating means for calculating the position data by taking an average between the two angular values after the correction is made by the correcting means.
- When one or the other of the first and second angular values is corrected by the initial value of their difference, if the angular value before the correction contains an error associated with the positional relationship between the detectors, the two angular values after the correction become close to each other; as a result, if the detectors are mounted in any positional relationship, the situation where the difference between the two values becomes equal to 180°, causing two solutions to occur, can be prevented, and thus the mounting of the detectors can be facilitated.
-
FIG. 1 is a diagram for explaining the averaging of angular values; -
FIG. 2 is a diagram for explaining the averaging of angular values; -
FIG. 3 is a diagram for explaining the problem of averaging that can occur when the angular difference is 180°; -
FIG. 4 is a block diagram showing a first embodiment of the present invention; and -
FIG. 5 is a block diagram showing a first embodiment of the present invention. -
FIG. 4 is a block diagram showing the configuration of an encoder signal processing circuit according to a first embodiment of the present invention. - In an
analog section 10, as a rotatingpart 12 rotates, two sine wave signals A1 and B1, 90° apart in phase, are output from adetector 14 mounted near therotating part 12. Similarly, sine wave signals A2 and B2 are output from adetector 16 mounted opposite thedetector 14 across therotating part 12. Analog/digital converters analog section 10 with adigital section 18, convert the analog values A1, B1, A2, and B2 into digital values A1D, B1D, A2D, and B2D, respectively. Aninterpolation circuit 24 calculates an angular value θ1 from the digital values A1D and B1D by a known method, and outputs the result. Similarly, aninterpolation circuit 26 calculates an angular value θ2 from the digital values A2D and B2D, and outputs the result. - A
Δθ calculator 28 calculates Δθ=θ2−θ1 (or θ1−θ2), and stores the value of Δθ in amemory 30 after mounting thedetectors corrector 32 applies a correction by adding the value of Δθ stored in thememory 30 to the value of θ1 (or θ2), i.e., by the calculation of θ3=θ1+Δθ. - A
position data calculator 34 calculates the average between the corrected value θ3 and the value of θ2, i.e., θ=(θ3+θ2)/2, and outputs the result as the position data θ. - In this way, by applying a correction by adding the initial difference Δθ to the angular value θ1, the initial phase difference associated with the positional relationship between the
detectors detectors -
FIG. 5 shows a second embodiment according to the present invention. In this embodiment, analarm processor 36 is added to the configuration ofFIG. 4 . Thealarm processor 36 outputs an alarm when 180°−θALM<θ3−θ2<180°+θALM, that is, when the angular difference (θ3−θ2) after the correction lies within the range of 180° to θALM, where θALM is a predetermined value. - In this way, an alarm can be issued whenever there arises the possibility of an abnormal value being output as the phase difference after the correction becomes close to 180° due, for example, to the breakage or a displacement in the mounting position of the detectors.
Claims (2)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005343478A JP4005096B2 (en) | 2005-11-29 | 2005-11-29 | Encoder signal processing circuit |
JP2005343478 | 2005-11-29 |
Publications (2)
Publication Number | Publication Date |
---|---|
US20070120557A1 true US20070120557A1 (en) | 2007-05-31 |
US7619537B2 US7619537B2 (en) | 2009-11-17 |
Family
ID=37794725
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/564,178 Active 2027-10-31 US7619537B2 (en) | 2005-11-29 | 2006-11-28 | Signal processing circuit for encoder |
Country Status (4)
Country | Link |
---|---|
US (1) | US7619537B2 (en) |
EP (1) | EP1790951B1 (en) |
JP (1) | JP4005096B2 (en) |
CN (1) | CN1975336B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180088187A1 (en) * | 2016-09-29 | 2018-03-29 | Aisin Seiki Kabushiki Kaisha | Magnetic sensor and magnetic sensor system |
CN111146979A (en) * | 2018-11-02 | 2020-05-12 | 宝沃汽车(中国)有限公司 | Initial angle correction method and device of motor rotor and electric vehicle |
Families Citing this family (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2176626A4 (en) * | 2007-08-08 | 2011-03-30 | Eliezer Zeichner | Encoding device, system and method |
US8179127B2 (en) * | 2007-11-06 | 2012-05-15 | GM Global Technology Operations LLC | Method and apparatus to monitor position of a rotatable shaft |
WO2011125357A1 (en) | 2010-04-02 | 2011-10-13 | 株式会社安川電機 | Encoder, drive device, absolute position calculation method, and encoder manufacturing method |
CN102169721A (en) * | 2010-12-16 | 2011-08-31 | 中国兵器工业第二0六研究所 | Software self-calibrating method for position codes |
CN102806494B (en) * | 2011-05-31 | 2016-03-02 | 德马吉森精机株式会社 | Rotation angle location device |
JP5948023B2 (en) * | 2011-07-08 | 2016-07-06 | オークマ株式会社 | Absolute position detector with abnormality detection function |
CN105910629B (en) * | 2014-05-06 | 2018-01-12 | 盛铂科技(上海)有限公司 | A kind of rotary encoder biphase signaling process circuit and its signal processing method |
US9784598B2 (en) * | 2014-10-27 | 2017-10-10 | Seiko Epson Corporation | Position detecting device, electronic apparatus, recording apparatus, robot, and position detecting method having a ratio computing unit |
DE102016200594B4 (en) * | 2015-01-29 | 2020-03-19 | Denso Corporation | Angle of rotation detection device |
JP6235505B2 (en) * | 2015-02-27 | 2017-11-22 | ファナック株式会社 | Encoder signal processing apparatus having automatic adjustment function |
JP6438441B2 (en) | 2016-08-04 | 2018-12-12 | ファナック株式会社 | Encoder signal processing apparatus, encoder, signal processing method, and program |
JP2018059714A (en) * | 2016-09-30 | 2018-04-12 | キヤノン株式会社 | Eccentricity calculation method, rotary encoder, robot arm and robot apparatus |
CN106482669B (en) * | 2016-11-29 | 2018-10-26 | 中国科学院长春光学精密机械与物理研究所 | A kind of angle displacement measurement system using twin-line array image detector |
CN110959101B (en) * | 2017-07-27 | 2023-01-17 | 株式会社尼康 | Correcting device, encoder device and manufacturing method thereof |
CN108426599A (en) * | 2018-03-09 | 2018-08-21 | 浙江赛安电气科技有限公司 | A kind of magnetic coder trouble hunting method |
TWI730564B (en) | 2019-12-26 | 2021-06-11 | 財團法人工業技術研究院 | Encoder and signal processing method using the same |
CN117949021A (en) * | 2024-03-26 | 2024-04-30 | 横川机器人(深圳)有限公司 | Implementation method of double-sensing photoelectric angle encoder, encoder and medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4580047A (en) * | 1981-04-13 | 1986-04-01 | Tokyo Kogaku Kikai Kabushiki Kaisha | Displacement measuring device utilizing an incremental code |
US4990767A (en) * | 1987-08-07 | 1991-02-05 | Dr. Johannes Heidenhain Gmbh | Position measuring apparatus with multiple scanning locations |
US5774074A (en) * | 1997-01-21 | 1998-06-30 | Hewlett-Packard Company | Multi-track position encoder system |
US5930905A (en) * | 1995-02-28 | 1999-08-03 | Robert Bosch Gmbh | Method and device for angular measurement of a rotatable body |
US6215119B1 (en) * | 1999-01-19 | 2001-04-10 | Xerox Corporation | Dual sensor encoder to counter eccentricity errors |
US6396052B1 (en) * | 2000-04-07 | 2002-05-28 | Lexmark International, Inc. | High precision analog encoder system |
US6639207B2 (en) * | 1999-12-28 | 2003-10-28 | Canon Kabushiki Kaisha | Optical rotary encoder and motor control apparatus |
US20050217126A1 (en) * | 2002-11-25 | 2005-10-06 | Makoto Inoue | Device and method of detecting rotation angle |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3195117B2 (en) | 1993-04-19 | 2001-08-06 | 株式会社トプコン | Rotary encoder |
EP0787973B1 (en) | 1995-08-17 | 2001-10-31 | Fanuc Ltd | Method and apparatus for processing angular data from encoder |
-
2005
- 2005-11-29 JP JP2005343478A patent/JP4005096B2/en not_active Expired - Fee Related
-
2006
- 2006-11-09 CN CN2006101438432A patent/CN1975336B/en active Active
- 2006-11-28 US US11/564,178 patent/US7619537B2/en active Active
- 2006-11-28 EP EP06024622.0A patent/EP1790951B1/en not_active Expired - Fee Related
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4580047A (en) * | 1981-04-13 | 1986-04-01 | Tokyo Kogaku Kikai Kabushiki Kaisha | Displacement measuring device utilizing an incremental code |
US4990767A (en) * | 1987-08-07 | 1991-02-05 | Dr. Johannes Heidenhain Gmbh | Position measuring apparatus with multiple scanning locations |
US5930905A (en) * | 1995-02-28 | 1999-08-03 | Robert Bosch Gmbh | Method and device for angular measurement of a rotatable body |
US5774074A (en) * | 1997-01-21 | 1998-06-30 | Hewlett-Packard Company | Multi-track position encoder system |
US6215119B1 (en) * | 1999-01-19 | 2001-04-10 | Xerox Corporation | Dual sensor encoder to counter eccentricity errors |
US6639207B2 (en) * | 1999-12-28 | 2003-10-28 | Canon Kabushiki Kaisha | Optical rotary encoder and motor control apparatus |
US6396052B1 (en) * | 2000-04-07 | 2002-05-28 | Lexmark International, Inc. | High precision analog encoder system |
US20050217126A1 (en) * | 2002-11-25 | 2005-10-06 | Makoto Inoue | Device and method of detecting rotation angle |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180088187A1 (en) * | 2016-09-29 | 2018-03-29 | Aisin Seiki Kabushiki Kaisha | Magnetic sensor and magnetic sensor system |
CN111146979A (en) * | 2018-11-02 | 2020-05-12 | 宝沃汽车(中国)有限公司 | Initial angle correction method and device of motor rotor and electric vehicle |
Also Published As
Publication number | Publication date |
---|---|
JP4005096B2 (en) | 2007-11-07 |
US7619537B2 (en) | 2009-11-17 |
JP2007147488A (en) | 2007-06-14 |
CN1975336B (en) | 2010-05-12 |
CN1975336A (en) | 2007-06-06 |
EP1790951B1 (en) | 2014-11-26 |
EP1790951A1 (en) | 2007-05-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7619537B2 (en) | Signal processing circuit for encoder | |
JP6649018B2 (en) | Rotary encoder and method for detecting absolute angular position of rotary encoder | |
US9823091B2 (en) | Encoder system, signal processing method, and transmission signal generation and output device | |
US9013179B2 (en) | Angle detecting device | |
WO2011024730A1 (en) | Rotation angle detection device | |
KR20200002823A (en) | Rotation Angle Detection Device and Rotation Angle Detection Method | |
JP2009080058A (en) | Rotation detector and bearing with rotation detector | |
US11378421B2 (en) | Absolute position sensor using hall array | |
CN107860404B (en) | Rotary encoder and absolute angle position detection method for rotary encoder | |
JP6226811B2 (en) | Multi-turn encoder | |
US10006784B2 (en) | Rotational angle detecting device | |
CN113661375B (en) | Angle detecting device | |
CN114001768B (en) | Self-calibration device of magnetoelectric encoder | |
JP5376338B2 (en) | Rotation angle detector | |
US20220412774A1 (en) | Position sensor system using equidistantly spaced magnetic sensor arrays | |
JP2004264137A (en) | Method of determining correction value for noncontact rotation angle sensor and noncontact rotation angle sensor | |
JP6106839B2 (en) | Encoder | |
KR20110051933A (en) | Sensor correcting device for turning of a track vihicles | |
JP2010048786A (en) | External adjustment type encoder | |
JP6212688B2 (en) | Noise resistance improvement system and noise resistance improvement method | |
JP5053150B2 (en) | Rotation angle detection method and rotation angle detection device | |
JP2004077133A (en) | Initial setting method of rotational angle detecting apparatus | |
JP2022062501A (en) | Encoder device | |
JP2017070160A (en) | Resolver and production method therefor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: FANUC LTD, JAPAN Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:TANIGUCHI, MITSUYUKI;KIKUCHI, HIROFUMI;MATSUO, TADAYOSHI;REEL/FRAME:018558/0572 Effective date: 20061121 |
|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
FEPP | Fee payment procedure |
Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
FPAY | Fee payment |
Year of fee payment: 4 |
|
FPAY | Fee payment |
Year of fee payment: 8 |
|
MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 12TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1553); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 12 |