[go: up one dir, main page]

JP2018048874A - Rotary encoder and method of detecting absolute angle position of rotary encoder - Google Patents

Rotary encoder and method of detecting absolute angle position of rotary encoder Download PDF

Info

Publication number
JP2018048874A
JP2018048874A JP2016183736A JP2016183736A JP2018048874A JP 2018048874 A JP2018048874 A JP 2018048874A JP 2016183736 A JP2016183736 A JP 2016183736A JP 2016183736 A JP2016183736 A JP 2016183736A JP 2018048874 A JP2018048874 A JP 2018048874A
Authority
JP
Japan
Prior art keywords
angle data
absolute angle
phase
correction
absolute
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
Application number
JP2016183736A
Other languages
Japanese (ja)
Other versions
JP6769799B2 (en
Inventor
宏克 奥村
Hirokatsu Okumura
宏克 奥村
齋藤 豊
Yutaka Saito
豊 齋藤
均 上甲
Hitoshi Joko
均 上甲
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.)
Nidec Instruments Corp
Original Assignee
Nidec Sankyo Corp
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 Nidec Sankyo Corp filed Critical Nidec Sankyo Corp
Priority to JP2016183736A priority Critical patent/JP6769799B2/en
Priority to TW106128531A priority patent/TW201825871A/en
Priority to KR1020170117647A priority patent/KR102328288B1/en
Priority to CN201710851546.1A priority patent/CN107860404B/en
Publication of JP2018048874A publication Critical patent/JP2018048874A/en
Application granted granted Critical
Publication of JP6769799B2 publication Critical patent/JP6769799B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G01D18/00Testing or calibrating apparatus or arrangements provided for in groups G01D1/00 - G01D15/00
    • G01D18/002Automatic recalibration
    • 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
    • G01D5/244Mechanical 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/249Mechanical 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 using pulse code
    • G01D5/2497Absolute encoders
    • 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
    • G01D5/14Mechanical 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 the magnitude of a current or voltage
    • G01D5/16Mechanical 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 the magnitude of a current or voltage by varying resistance

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To propose a method of detecting the absolute angle position of a rotary encoder with which it is possible to suppress detection degradation caused by a relative positional deviation between a first sensor unit and a second sensor unit.SOLUTION: As a preprocess of absolute angle position detection operation, first absolute angle data abs-1 is acquired by a first sensor unit 1a of a rotary encoder 1, incremental angle data INC is acquired by a second sensor unit 1b, and a phase difference Δp of these is acquired. Next, calculation is made of phase-corrected first absolute angle data abs-1p in which the phase of the first absolute angle data is corrected by the phase difference Δp. Then, a correction value Δq is obtained on the basis of a difference between incremental signal conversion absolute angle data INC-abs in which the incremental angle data is converted into absolute angle data of one rotation and the phase-corrected first absolute angle abs-1p, and error-corrected first absolute angle data abs-1c in which the phase-corrected first absolute angle data abs-1p is corrected by the correction value Δq is obtained.SELECTED DRAWING: Figure 13

Description

本発明は、回転体の瞬間時の絶対角度位置を検出するロータリエンコーダ、およびロータリエンコーダの絶対角度位置検出方法に関する。   The present invention relates to a rotary encoder that detects the absolute angular position of a rotating body at the moment, and an absolute angular position detection method of the rotary encoder.

固定体に対する回転体の回転を検出するロータリエンコーダは特許文献1に記載されている。同文献のロータリエンコーダは、第1センサ部と、第2センサ部とを備え、第1センサ部での検出結果と、第2センサ部での検出結果とに基づいて、回転体の瞬間時の絶対角度位置を検出する。第1センサ部は、N極とS極とが1つずつ配置された第1磁石と、第1磁石に対向する第1磁気抵抗素子と、第1磁石に対向する第1ホール素子と、第1磁石に対向するとともに第1ホール素子に対して回転中心軸線回りに機械角で90°ずれた位置に配置された第2ホール素子とを備える。第2センサ部は、回転中心軸周りに配置された複数極対の第2磁石と、第2磁石に対向する第2磁気抵抗素子とを備える。ロータリエンコーダでは、第1センサ部における1回転1周期の絶対角度データ、および第2センサ部における1回転N周期のインクリメンタル角度データに基づいて、回転体の瞬間時の角度位置を決定する。   A rotary encoder that detects the rotation of the rotating body with respect to the fixed body is described in Patent Document 1. The rotary encoder of the same document includes a first sensor unit and a second sensor unit, and based on the detection result of the first sensor unit and the detection result of the second sensor unit, the moment of rotation of the rotating body is determined. Detect absolute angular position. The first sensor unit includes a first magnet having one N pole and one S pole, a first magnetoresistive element facing the first magnet, a first Hall element facing the first magnet, And a second Hall element disposed opposite to the first magnet and disposed at a position shifted by 90 ° in mechanical angle around the rotation center axis with respect to the first Hall element. The second sensor unit includes a second magnet having a plurality of pairs of poles disposed around the rotation center axis, and a second magnetoresistive element facing the second magnet. In the rotary encoder, the instantaneous angular position of the rotating body is determined based on absolute angle data for one rotation and one cycle in the first sensor unit and incremental angle data for one rotation and N cycles in the second sensor unit.

特許第5666886号公報Japanese Patent No. 5666886

特許文献1のように、第1センサ部および第2センサ部を備えるロータリエンコーダでは、第1センサ部と第2センサ部との間に相対的な位置ずれが発生することがある。また、各センサ部の位置ずれが発生すると、第1センサ部における絶対角度データと、第2センサ部におけるインクリメンタル角度データとの間に位相のずれや誤差が発生するので、検出精度が低下するという問題が発生する。   As in Patent Document 1, in a rotary encoder including a first sensor unit and a second sensor unit, a relative positional shift may occur between the first sensor unit and the second sensor unit. Further, when a positional deviation of each sensor unit occurs, a phase deviation or an error occurs between the absolute angle data in the first sensor unit and the incremental angle data in the second sensor unit, so that the detection accuracy decreases. A problem occurs.

かかる問題に鑑みて、本発明の課題は、第1センサ部での検出結果、および第2センサ部での検出結果に基づいて回転体の絶対角度位置を検出した場合でも、第1センサ部と第2センサ部との間の相対的な位置ずれ等に起因する検出低下を抑制できるロータリエンコーダ、およびロータリエンコーダの絶対角度位置検出方法を提供することにある。   In view of such problems, the problem of the present invention is that even when the absolute angular position of the rotating body is detected based on the detection result of the first sensor unit and the detection result of the second sensor unit, An object of the present invention is to provide a rotary encoder that can suppress detection degradation caused by a relative positional shift with the second sensor unit, and an absolute angular position detection method of the rotary encoder.

上記課題を解決するために、本発明は、第1センサ部と、第2センサ部とを備え、前記第1センサ部において1回転1周期の第1絶対角度データを取得するとともに、前記第2センサ部において、Nを2以上の正の整数としたときに1回転N周期のインクリメンタル角度データを取得し、前記第1センサ部からの第1検出結果および前記第2センサ部からの第2検出結果に基づいて絶対角度位置を検出するロータリエンコーダにおいて、前記第1絶対角度データと前記インクリメンタル角度データとの位相差を取得する位相差取得部と、N周期分の前記インクリメンタル角度データを1回転の絶対角度データに変換したインクリメンタル信号変換絶対角度データを算出する変換絶対角度データ算出部と、前記位相差に基づいて前記第1絶対角度データを補正して前記第1絶対角度データの位相を前記インクリメンタル信号変換絶対角度データの位相に一致させた位相補正第1絶対角度データを生成する第1位相補正部と、前記インクリメンタル信号変換絶対角度データと前記位相補正第1絶対角度データとの差に基づいて補正値を取得する補正値取得部と、前記位相
補正第1絶対角度データを前記補正値で補正した誤差補正第1絶対角度データを生成する相対誤差補正部と、前記第1検出結果、前記第2検出結果、前記位相差、前記誤差補正第1絶対角度データ、および、前記インクリメンタル角度データに基づいて絶対角度を取得する絶対角度取得部と、を備えることを特徴とする。
In order to solve the above-described problem, the present invention includes a first sensor unit and a second sensor unit, wherein the first sensor unit acquires first absolute angle data for one rotation and one cycle, and the second sensor unit. In the sensor unit, when N is a positive integer equal to or greater than 2, incremental angle data of one rotation N period is acquired, the first detection result from the first sensor unit, and the second detection from the second sensor unit In a rotary encoder that detects an absolute angle position based on a result, a phase difference acquisition unit that acquires a phase difference between the first absolute angle data and the incremental angle data, and the incremental angle data for N cycles are rotated once. A converted absolute angle data calculating unit for calculating incremental signal converted absolute angle data converted into absolute angle data; and the first absolute angle based on the phase difference. A first phase correction unit that corrects data and generates phase corrected first absolute angle data in which the phase of the first absolute angle data is matched with the phase of the incremental signal converted absolute angle data; and the incremental signal converted absolute angle Correction value acquisition unit for acquiring a correction value based on a difference between the data and the phase correction first absolute angle data; and error correction first absolute angle data obtained by correcting the phase correction first absolute angle data with the correction value. Relative error correction unit to be generated, and absolute angle acquisition for acquiring an absolute angle based on the first detection result, the second detection result, the phase difference, the error correction first absolute angle data, and the incremental angle data And a section.

本発明では、第1センサ部からの第1検出結果(1回転1周期の第1絶対角度データ)および第2センサ部からの第2検出結果(1回転N周期のインクリメンタル角度データ)に基づいて回転体の瞬間時の絶対角度位置を検出する。従って、高い分解能で回転体の瞬間時の絶対角度位置を検出することができる。また、本発明では、第1絶対角度データとインクリメンタル角度データとの位相差を取得して第1絶対角度データの位相をインクリメンタル角度データの位相に一致させた位相補正第1絶対角度データを算出するとともに、インクリメンタル角度データを1回転の絶対角度データに変換したインクリメンタル信号変換絶対角度データと位相補正第1絶対角度データとの差に基づいて補正値を求め、かかる補正値によって位相補正第1絶対角度データを補正した誤差補正第1絶対角度データを得る。ここで、誤差補正第1絶対角度データは、第1絶対角度データに当該第1絶対角度データとN周期分のインクリメンタル角度データとの相対的な誤差が付加されたものとなる。従って、誤差補正第1絶対角度データとインクリメンタル角度データとは、これらの間の相対的な誤差が無くなるか、或いは、抑制される。よって、誤差補正第1絶対角度データとインクリメンタル角度データとに基づいて絶対角度位置を決定すれば、第1センサ部と第2センサ部との相対的な位置ずれ等に起因する検出低下を抑制できる。   In the present invention, based on the first detection result from the first sensor unit (first absolute angle data in one rotation and one cycle) and the second detection result from the second sensor unit (incremental angle data in one rotation and N cycles). The absolute angular position at the moment of the rotating body is detected. Accordingly, it is possible to detect the absolute angular position at the moment of the rotating body with high resolution. In the present invention, the phase difference between the first absolute angle data and the incremental angle data is acquired, and the phase corrected first absolute angle data is calculated by matching the phase of the first absolute angle data with the phase of the incremental angle data. In addition, a correction value is obtained based on the difference between the incremental signal converted absolute angle data obtained by converting the incremental angle data into absolute rotation angle data and the phase correction first absolute angle data, and the phase correction first absolute angle is calculated based on the correction value. Error corrected first absolute angle data obtained by correcting the data is obtained. Here, the error-corrected first absolute angle data is obtained by adding a relative error between the first absolute angle data and the N-cycle incremental angle data to the first absolute angle data. Therefore, the error correction first absolute angle data and the incremental angle data have no or no relative error between them. Therefore, if the absolute angle position is determined based on the error-corrected first absolute angle data and the incremental angle data, it is possible to suppress a decrease in detection due to a relative positional deviation or the like between the first sensor unit and the second sensor unit. .

本発明において、誤差補正第1絶対角度データを取得するためには、前記補正値取得部は、前記インクリメンタル信号変換絶対角度データから前記位相補正第1絶対角度データを減算して前記補正値を取得し、前記相対誤差補正部は、前記位相補正第1絶対角度データに前記補正値を加算して前記誤差補正第1絶対角度データとするものとすることができる。   In the present invention, in order to acquire error correction first absolute angle data, the correction value acquisition unit acquires the correction value by subtracting the phase correction first absolute angle data from the incremental signal conversion absolute angle data. The relative error correction unit may add the correction value to the phase correction first absolute angle data to obtain the error correction first absolute angle data.

また、本発明において、誤差補正第1絶対角度データを取得するためには、前記補正値取得部は、前記位相補正第1絶対角度データから前記インクリメンタル信号変換絶対角度データを減算して前記補正値を取得し、前記相対誤差補正部は、前記位相補正第1絶対角度データから前記補正値を減算して前記誤差補正第1絶対角度データとするものとすることができる。   In the present invention, in order to acquire error correction first absolute angle data, the correction value acquisition unit subtracts the incremental signal conversion absolute angle data from the phase correction first absolute angle data, thereby correcting the correction value. The relative error correction unit may subtract the correction value from the phase correction first absolute angle data to obtain the error correction first absolute angle data.

本発明において、さらに、記憶部を備え、前記補正値取得部は、1回転1周期中の複数の角度位置における前記補正値を取得し、各角度位置と当該角度位置において取得した補正値とを関連付けて前記記憶部に記憶保持し、前記相対誤差補正部は、隣り合う2つの前記角度位置のそれぞれで取得されている前記補正値に基づいて当該2つの角度位置の間の中間角度位置の中間補正値を算出するとともに、前記補正値として前記記憶部に記憶保持されている前記補正値と前記中間補正値とを用いて前記位相補正第1絶対角度データを補正することが望ましい。このようにすれば、記憶部に記憶保持した補正値と、記憶部に記憶保持した補正値の間を補完した中間補正値によって位相補正第1絶対角度データを補正できるので、誤差補正第1絶対角度データとインクリメンタル角度データとの間の誤差を、より、抑制できる。また、中間補正値は演算によって得ることができるので、補正値を記憶保持する容量を抑制できる。   In the present invention, the image processing apparatus further includes a storage unit, and the correction value acquisition unit acquires the correction values at a plurality of angular positions in one rotation and one cycle, and obtains each angular position and the correction value acquired at the angular position. The relative error correction unit is stored in the storage unit in association with each other, and the relative error correction unit is an intermediate intermediate angular position between the two angular positions based on the correction value acquired at each of the two adjacent angular positions. It is desirable to calculate a correction value and correct the phase correction first absolute angle data using the correction value and the intermediate correction value stored and held in the storage unit as the correction value. In this way, the phase correction first absolute angle data can be corrected by the correction value stored and held in the storage unit and the intermediate correction value complemented between the correction values stored and held in the storage unit. An error between the angle data and the incremental angle data can be further suppressed. In addition, since the intermediate correction value can be obtained by calculation, the capacity for storing and holding the correction value can be suppressed.

本発明において、前記絶対角度取得部は、前記誤差補正第1絶対角度データがN個に内挿分割された第2絶対角度データを生成する第2絶対角度データ生成部と、前記第2絶対角度データの位相と前記インクリメンタル角度データの位相とを比較する位相比較部と、前記位相比較部での比較結果において前記第2絶対角度データの位相と前記インクリメンタル角度データの位相とがずれているときに前記第2絶対角度データを補正する位相補正
部と、前記第1検出結果を前記位相差で補正した位相補正第1検出結果、前記第2検出結果、前記第2絶対角度データ、および、前記インクリメンタル角度データに基づいて、回転体の絶対角度位置を決定する角度位置決定部と、を備えることが望ましい。このようにすれば、誤差補正第1絶対角度データにおいても、インクリメンタル角度データとの間に位相ずれ等の誤差がある場合に、これらの誤差を補正によって抑制できる。また、絶対角度位置の決定は、第1センサ部からの第1検査結果を位相差で補正した位相差位相補正第1検出結果を用いて行うので、第1センサ部と第2センサ部との間の相対的な位置ずれ等に起因する検出精度の低下を、より、抑制できる。
In the present invention, the absolute angle acquisition unit includes a second absolute angle data generation unit that generates second absolute angle data obtained by interpolating the error-corrected first absolute angle data into N pieces, and the second absolute angle A phase comparison unit that compares the phase of the data and the phase of the incremental angle data, and the phase of the second absolute angle data and the phase of the incremental angle data are shifted in the comparison result of the phase comparison unit A phase correction unit for correcting the second absolute angle data; a phase correction first detection result obtained by correcting the first detection result by the phase difference; the second detection result; the second absolute angle data; and the incremental. It is desirable to include an angular position determination unit that determines an absolute angular position of the rotating body based on the angle data. In this way, even in the error-corrected first absolute angle data, when there is an error such as a phase shift with the incremental angle data, these errors can be suppressed by correction. Moreover, since the determination of the absolute angle position is performed using the phase difference phase correction first detection result obtained by correcting the first inspection result from the first sensor unit with the phase difference, the first sensor unit and the second sensor unit It is possible to further suppress a decrease in detection accuracy due to a relative positional deviation between the two.

本発明において、前記第1センサ部は、回転中心軸周りにN極とS極とが1つずつ配置された第1磁石と、前記第1磁石の回転中心軸線方向で対向する第1磁気抵抗素子と、前記第1磁石に対向する第1ホール素子と、前記第1磁石に対向するとともに前記第1ホール素子に対して前記回転中心軸線回りに機械角で90°ずれた位置に配置された第2ホール素子と、を備え、前記第2センサ部は、前記回転中心軸周りに複数極対が配置された第2磁石と、前記第2磁石に対向する第2磁気抵抗素子と、を備えるものとすることができる。   In the present invention, the first sensor unit includes a first magnetoresistor that is opposed to the first magnet in which one N pole and one S pole are arranged around the rotation center axis in the rotation center axis direction of the first magnet. An element, a first Hall element facing the first magnet, and a position opposed to the first magnet and shifted by 90 ° in mechanical angle around the rotation center axis with respect to the first Hall element A second Hall element, and the second sensor unit includes a second magnet having a plurality of pole pairs arranged around the rotation center axis, and a second magnetoresistive element facing the second magnet. Can be.

次に、本発明は、第1センサ部と、第2センサ部とを備え、前記第1センサ部において1回転1周期の第1絶対角度データを取得するとともに、前記第2センサ部において、Nを2以上の正の整数としたときに1回転N周期のインクリメンタル角度データを取得しておき、前記第1センサ部からの第1検出結果および前記第2センサ部からの第2検出結果に基づいて絶対角度位置を検出するロータリエンコーダの絶対角度位置検出方法において、前記第1絶対角度データと前記インクリメンタル角度データとの位相差を取得する位相差取得工程と、N周期分の前記インクリメンタル角度データを1回転の絶対角度データに変換したインクリメンタル信号変換絶対角度データを算出する変換絶対角度データ算出工程と、前記位相差に基づいて前記第1絶対角度データを補正して前記第1絶対角度データの位相を前記インクリメンタル信号変換絶対角度データの位相に一致させた位相補正第1絶対角度データを生成する第1位相補正工程と、前記インクリメンタル信号変換絶対角度データと前記位相補正第1絶対角度データとの差に基づいて補正値を取得する補正値取得工程と、前記位相補正第1絶対角度データを前記補正値で補正した誤差補正第1絶対角度データを生成する相対誤差補正工程と、前記第1検出結果、前記第2検出結果、前記位相差、前記誤差補正第1絶対角度データ、および、前記インクリメンタル角度データに基づいて絶対角度を取得する絶対角度取得工程と、を備えることを特徴とする。   Next, the present invention includes a first sensor unit and a second sensor unit, wherein the first sensor unit acquires first absolute angle data of one rotation and one cycle, and the second sensor unit includes N Incremental angle data of one rotation N period is acquired when the value is a positive integer of 2 or more, and based on the first detection result from the first sensor unit and the second detection result from the second sensor unit. In the absolute angle position detecting method of the rotary encoder for detecting the absolute angle position, a phase difference obtaining step for obtaining a phase difference between the first absolute angle data and the incremental angle data, and the incremental angle data for N cycles are obtained. A converted absolute angle data calculating step of calculating incremental signal converted absolute angle data converted into absolute angle data of one rotation, and a previous step based on the phase difference A first phase correction step for generating phase corrected first absolute angle data in which the first absolute angle data is corrected to make the phase of the first absolute angle data coincide with the phase of the incremental signal conversion absolute angle data; and the incremental A correction value acquisition step of acquiring a correction value based on a difference between the signal conversion absolute angle data and the phase correction first absolute angle data; and error correction first in which the phase correction first absolute angle data is corrected with the correction value. An absolute angle is acquired based on a relative error correction step for generating absolute angle data, and the first detection result, the second detection result, the phase difference, the error correction first absolute angle data, and the incremental angle data. And an absolute angle acquisition step.

本発明では、第1センサ部からの第1検出結果(1回転1周期の第1絶対角度データ)および第2センサ部からの第2検出結果(1回転N周期のインクリメンタル角度データ)に基づいて回転体の瞬間時の絶対角度位置を検出する。従って、高い分解能で回転体の瞬間時の絶対角度位置を検出することができる。また、本発明では、第1絶対角度データとインクリメンタル角度データとの位相差を取得して第1絶対角度データの位相をインクリメンタル角度データの位相に一致させた位相補正第1絶対角度データを算出するとともに、インクリメンタル角度データを1回転の絶対角度データに変換したインクリメンタル信号変換絶対角度データと位相補正第1絶対角度データとの差に基づいて補正値を求め、かかる補正値によって位相補正第1絶対角度データを補正した誤差補正第1絶対角度データを得る。ここで、誤差補正第1絶対角度データは、第1絶対角度データに当該第1絶対角度データとN周期分のインクリメンタル角度データとの相対的な誤差が付加されたものとなる。従って、誤差補正第1絶対角度データとインクリメンタル角度データとは、これら間の相対的な誤差が無くなるか、或いは、抑制される。よって、誤差補正第1絶対角度データとインクリメンタル角度データとに基づいて絶対角度位置を決定すれば、第1センサ部と第2センサ部との相対的な位置ずれ等に起因する検出低下を抑制できる。   In the present invention, based on the first detection result from the first sensor unit (first absolute angle data in one rotation and one cycle) and the second detection result from the second sensor unit (incremental angle data in one rotation and N cycles). The absolute angular position at the moment of the rotating body is detected. Accordingly, it is possible to detect the absolute angular position at the moment of the rotating body with high resolution. In the present invention, the phase difference between the first absolute angle data and the incremental angle data is acquired, and the phase corrected first absolute angle data is calculated by matching the phase of the first absolute angle data with the phase of the incremental angle data. In addition, a correction value is obtained based on the difference between the incremental signal converted absolute angle data obtained by converting the incremental angle data into absolute rotation angle data and the phase correction first absolute angle data, and the phase correction first absolute angle is calculated based on the correction value. Error corrected first absolute angle data obtained by correcting the data is obtained. Here, the error-corrected first absolute angle data is obtained by adding a relative error between the first absolute angle data and the N-cycle incremental angle data to the first absolute angle data. Accordingly, the error correction first absolute angle data and the incremental angle data have no or no relative error between them. Therefore, if the absolute angle position is determined based on the error-corrected first absolute angle data and the incremental angle data, it is possible to suppress a decrease in detection due to a relative positional deviation or the like between the first sensor unit and the second sensor unit. .

本発明において、誤差補正第1絶対角度データを取得するためには、前記補正値取得工程では、前記インクリメンタル信号変換絶対角度データから前記位相補正第1絶対角度データを減算して前記補正値を取得し、前記相対誤差補正工程では、前記位相補正第1絶対角度データに前記補正値を加算して前記誤差補正第1絶対角度データとするものとすることができる。   In the present invention, in order to acquire error correction first absolute angle data, in the correction value acquisition step, the phase correction first absolute angle data is subtracted from the incremental signal conversion absolute angle data to acquire the correction value. In the relative error correction step, the error correction first absolute angle data can be obtained by adding the correction value to the phase correction first absolute angle data.

また、本発明において、誤差補正第1絶対角度データを取得するためには、前記補正値取得工程では、前記位相補正第1絶対角度データから前記インクリメンタル信号変換絶対角度データを減算して前記補正値を取得し、前記相対誤差補正工程では、前記位相補正第1絶対角度データから前記補正値を減算して前記誤差補正第1絶対角度データとするものとすることができる。   In the present invention, in order to obtain error correction first absolute angle data, in the correction value acquisition step, the incremental signal conversion absolute angle data is subtracted from the phase correction first absolute angle data to obtain the correction value. In the relative error correction step, the error correction first absolute angle data can be obtained by subtracting the correction value from the phase correction first absolute angle data.

本発明において、前記補正値取得工程は、1回転1周期中の複数の角度位置における前記補正値を取得し、各角度位置と当該角度位置において取得した補正値とを関連付けて記憶部に記憶保持し、前記相対誤差補正工程は、隣り合う2つの前記角度位置のそれぞれで取得されている前記補正値に基づいて当該2つの角度位置の間の中間角度位置の中間補正値を算出するとともに、前記補正値として前記記憶部に記憶保持されている前記補正値と前記中間補正値とを用いて前記位相補正第1絶対角度データを補正することが望ましい。このようにすれば、記憶部に記憶保持した補正値と、記憶部に記憶保持した補正値の間を補完した中間補正値によって位相補正第1絶対角度データを補正できるので、誤差補正第1絶対角度データとインクリメンタル角度データとの間の誤差を、より、抑制できる。また、中間補正値は演算によって得ることができるので、補正値を記憶保持する容量を抑制できる。   In the present invention, the correction value acquisition step acquires the correction values at a plurality of angular positions in one rotation and one cycle, stores the angular positions and the correction values acquired at the angular positions in association with each other and stores them in the storage unit. The relative error correction step calculates an intermediate correction value of an intermediate angular position between the two angular positions based on the correction value acquired at each of the two adjacent angular positions, and It is desirable that the phase correction first absolute angle data is corrected using the correction value and the intermediate correction value stored and held in the storage unit as a correction value. In this way, the phase correction first absolute angle data can be corrected by the correction value stored and held in the storage unit and the intermediate correction value complemented between the correction values stored and held in the storage unit. An error between the angle data and the incremental angle data can be further suppressed. Further, since the intermediate correction value can be obtained by calculation, the capacity for storing and holding the correction value can be suppressed.

本発明において、前記絶対角度取得工程は、前記誤差補正第1絶対角度データがN個に内挿分割された第2絶対角度データを生成する第2絶対角度データ生成工程と、前記第2絶対角度データの位相と前記インクリメンタル角度データの位相とを比較する位相比較工程と、前記位相比較工程での比較結果において前記第2絶対角度データの位相と前記インクリメンタル角度データの位相とがずれているときに前記第2絶対角度データを補正する第2位相補正工程と、前記第1検出結果を前記位相差で補正した位相補正第1検出結果、前記第2検出結果、前記第2絶対角度データ、および、前記インクリメンタル角度データに基づいて、回転体の絶対角度位置を決定する角度位置決定工程と、を備えることを特徴とする。このようにすれば、誤差補正第1絶対角度データにおいても、インクリメンタル角度データとの間に位相ずれ等の誤差がある場合に、これらの誤差を補正によって抑制できる。また、絶対角度位置の決定は、第1センサ部からの第1検査結果を位相差で補正した位相差位相補正第1検出結果を用いて行うので、第1センサ部と第2センサ部との間の相対的な位置ずれ等に起因する検出精度の低下を、より、抑制できる。   In the present invention, the absolute angle acquisition step includes a second absolute angle data generation step of generating second absolute angle data obtained by interpolating the error-corrected first absolute angle data into N pieces, and the second absolute angle A phase comparison step of comparing the phase of the data with the phase of the incremental angle data, and the phase of the second absolute angle data and the phase of the incremental angle data are shifted in the comparison result of the phase comparison step A second phase correction step of correcting the second absolute angle data, a phase correction first detection result obtained by correcting the first detection result by the phase difference, the second detection result, the second absolute angle data, and And an angular position determination step of determining an absolute angular position of the rotating body based on the incremental angle data. In this way, even in the error-corrected first absolute angle data, when there is an error such as a phase shift with the incremental angle data, these errors can be suppressed by correction. Moreover, since the determination of the absolute angle position is performed using the phase difference phase correction first detection result obtained by correcting the first inspection result from the first sensor unit with the phase difference, the first sensor unit and the second sensor unit It is possible to further suppress a decrease in detection accuracy due to a relative positional deviation between the two.

本発明において、前記第1センサ部は、回転中心軸周りにN極とS極とが1つずつ配置された第1磁石と、前記第1磁石の回転中心軸線方向で対向する第1磁気抵抗素子と、前記第1磁石に対向する第1ホール素子と、前記第1磁石に対向するとともに前記第1ホール素子に対して前記回転中心軸線回りに機械角で90°ずれた位置に配置された第2ホール素子と、を備え、前記第2センサ部は、前記回転中心軸周りに複数極対が配置された第2磁石と、前記第2磁石に対向する第2磁気抵抗素子と、を備えることが望ましい。   In the present invention, the first sensor unit includes a first magnetoresistor that is opposed to the first magnet in which one N pole and one S pole are arranged around the rotation center axis in the rotation center axis direction of the first magnet. An element, a first Hall element facing the first magnet, and a position opposed to the first magnet and shifted by 90 ° in mechanical angle around the rotation center axis with respect to the first Hall element A second Hall element, and the second sensor unit includes a second magnet having a plurality of pole pairs arranged around the rotation center axis, and a second magnetoresistive element facing the second magnet. It is desirable.

本発明では、第1センサ部からの第1絶対角度データに当該第1絶対角度データと第2センサ部からのインクリメンタル角度データとの相対的な誤差を付加した誤差補正第1絶対角度データを取得し、誤差補正第1絶対角度データおよびインクリメンタル角度データに基づいて絶対角度位置を検出する。ここで、誤差補正第1絶対角度データとインクリメ
ンタル角度データとの間では、第1絶対角度データとN周期分のインクリメンタル角度データとの間の相対的な誤差が無くなるか、或いは、相対的な誤差が抑制される。従って、誤差補正第1絶対角度データとインクリメンタル角度データとに基づいて絶対角度位置を取得すれば、相対的な位置ずれ等に起因する検出低下を抑制できる。
In the present invention, error corrected first absolute angle data obtained by adding a relative error between the first absolute angle data and the incremental angle data from the second sensor unit to the first absolute angle data from the first sensor unit is acquired. Then, the absolute angle position is detected based on the error correction first absolute angle data and the incremental angle data. Here, there is no relative error between the first absolute angle data and the incremental angle data for N cycles or the relative error between the error-corrected first absolute angle data and the incremental angle data. Is suppressed. Therefore, if the absolute angle position is acquired based on the error-corrected first absolute angle data and the incremental angle data, it is possible to suppress a decrease in detection due to a relative positional deviation or the like.

本発明を適用したロータリエンコーダの外観等を示す説明図である。It is explanatory drawing which shows the external appearance etc. of the rotary encoder to which this invention is applied. 図1のロータリエンコーダの固定体の一部を切り欠いて示す側面図である。It is a side view which notches and shows a part of fixing body of the rotary encoder of FIG. ロータリエンコーダのセンサ部等の構成を示す説明図である。It is explanatory drawing which shows the structure of the sensor part etc. of a rotary encoder. ロータリエンコーダの角度位置の検出原理を示す説明図である。It is explanatory drawing which shows the detection principle of the angular position of a rotary encoder. ロータリエンコーダの角度位置の決定方法の基本的構成を示す説明図である。It is explanatory drawing which shows the basic composition of the determination method of the angular position of a rotary encoder. 第1絶対角度データとインクリメンタル角度データとの位相差および位相補正第1絶対角度データの説明図である。It is explanatory drawing of the phase difference of 1st absolute angle data and incremental angle data, and phase correction 1st absolute angle data. 変換絶対角度データの説明図である。It is explanatory drawing of conversion absolute angle data. 補正値の説明図である。It is explanatory drawing of a correction value. 誤差補正第1絶対角度データの説明図である。It is explanatory drawing of error correction 1st absolute angle data. ロータリエンコーダの角度位置の決定方法の具体的構成を示す説明図である。It is explanatory drawing which shows the specific structure of the determination method of the angular position of a rotary encoder. 第2絶対角度データの位相が進んでいる場合の説明図である。It is explanatory drawing in case the phase of 2nd absolute angle data has advanced. 第2絶対角度データの位相が遅れている場合の説明図である。It is explanatory drawing when the phase of 2nd absolute angle data is behind. 絶対角度位置を検出する絶対角度位置検出動作のフローチャートである。It is a flowchart of the absolute angle position detection operation | movement which detects an absolute angle position.

以下に、図面を参照して、本発明を適用したロータリエンコーダの実施の形態を説明する。以下の説明では、ロータリエンコーダとして、センサ部が磁石および感磁素子(磁気抵抗素子、ホール素子)によって構成された磁気式ロータリエンコーダを中心に説明する。この場合、固定体に磁石を設け、回転体に感磁素子を設けた構成、および固定体に感磁素子を設け、回転体に磁石を設けた構成のいずれの構成を採用してもよいが、以下の説明では、固定体に感磁素子を設け、回転体に磁石を設けた構成を中心に説明する。また、以下に参照する図面において、磁石および感磁素子等の構成について模式的に示してあり、第2磁石における磁極についてはその数を減らして模式的に示してある。また、磁気抵抗素子(感磁素子)における磁気抵抗パターンの構成についても、互いの位置をずらして模式的に示してある。   Embodiments of a rotary encoder to which the present invention is applied will be described below with reference to the drawings. In the following description, a magnetic rotary encoder in which a sensor unit is configured by a magnet and a magnetosensitive element (magnetoresistance element, Hall element) will be mainly described as a rotary encoder. In this case, either a configuration in which a magnet is provided on the fixed body and a magnetic sensing element is provided on the rotating body, or a configuration in which a magnetic sensing element is provided on the fixed body and a magnet is provided on the rotating body may be adopted. In the following description, the description will focus on a configuration in which a magnetosensitive element is provided on a fixed body and a magnet is provided on a rotating body. In the drawings referred to below, the configuration of the magnet, the magnetic sensing element, and the like are schematically shown, and the number of magnetic poles in the second magnet is schematically shown by reducing the number thereof. In addition, the configuration of the magnetoresistive pattern in the magnetoresistive element (magnetic sensitive element) is also schematically shown with the positions shifted from each other.

(全体構成)
図1は本発明を適用したロータリエンコーダの外観等を示す説明図である。図1(a)はロータリエンコーダを回転軸線方向の一方側かつ斜め方向から見た場合の斜視図であり、図1(b)は、回転軸線方向の一方側から見た場合の平面図である。図2は、本発明を適用したロータリエンコーダの固定体の一部を切り欠いて示す側面図である。
(overall structure)
FIG. 1 is an explanatory view showing the appearance and the like of a rotary encoder to which the present invention is applied. 1A is a perspective view when the rotary encoder is viewed from one side in the rotational axis direction and from an oblique direction, and FIG. 1B is a plan view when viewed from one side in the rotational axis direction. . FIG. 2 is a side view of the rotary encoder to which the present invention is applied with a part cut away.

ロータリエンコーダ1は、固定体10に対する回転体2の回転軸線回りの回転を磁気的に検出する装置である。固定体10は、モータ装置のフレーム等に固定され、回転体2は、モータ装置の回転出力軸等に連結された状態で使用される。図1および図2に示すように、固定体10は、センサ基板15と、センサ基板15を支持する複数の支持部材11とを備える。本例において、支持部材11は、円形の開口部122が形成された底板部121を備えたベース体12と、ベース体12に固定されたセンサ支持板13とからなる。   The rotary encoder 1 is a device that magnetically detects rotation around the rotation axis of the rotating body 2 with respect to the fixed body 10. The fixed body 10 is fixed to a frame or the like of the motor device, and the rotating body 2 is used in a state of being connected to a rotation output shaft or the like of the motor device. As shown in FIGS. 1 and 2, the fixed body 10 includes a sensor substrate 15 and a plurality of support members 11 that support the sensor substrate 15. In this example, the support member 11 includes a base body 12 including a bottom plate portion 121 in which a circular opening 122 is formed, and a sensor support plate 13 fixed to the base body 12.

センサ支持板13は、ベース体12において開口部122の縁部分から回転中心軸線方向Lの第1方向L1に向けて突出した略円筒状の胴部123にネジ191、192等により固定されている。センサ支持板13からは、回転中心軸線方向Lの第1方向L1に向け
て複数本の端子16が突出している。胴部123において回転中心軸線方向Lの第1方向L1に位置する端面には、突起124や穴125等が形成されており、かかる穴125等を利用して、胴部123にはセンサ基板15がネジ193等により固定されている。その際、センサ基板15は、突起124等により所定位置に位置決めされた状態で精度よく固定される。センサ基板15において、回転中心軸線方向Lの第1方向L1の面にはコネクタ17が設けられている。回転体2は、胴部123の内側に配置される円筒状の部材であって、その内側にはモータの回転出力軸(図示せず)が嵌合等の方法で連結されている。従って、回転体2は、回転軸線回りに回転可能である。
The sensor support plate 13 is fixed to the substantially cylindrical body 123 protruding from the edge portion of the opening 122 in the base body 12 in the first direction L1 in the rotation center axis direction L by screws 191 and 192. . A plurality of terminals 16 protrude from the sensor support plate 13 in the first direction L1 in the rotation center axial direction L. A protrusion 124, a hole 125, and the like are formed on an end surface of the body portion 123 that is positioned in the first direction L1 of the rotation center axis direction L. The sensor substrate 15 is formed in the body portion 123 using the hole 125 and the like. Is fixed by a screw 193 or the like. At that time, the sensor substrate 15 is accurately fixed in a state where the sensor substrate 15 is positioned at a predetermined position by the protrusions 124 and the like. On the sensor substrate 15, a connector 17 is provided on the surface in the first direction L <b> 1 in the rotation center axis direction L. The rotating body 2 is a cylindrical member disposed inside the trunk portion 123, and a rotation output shaft (not shown) of the motor is connected to the inside by a method such as fitting. Accordingly, the rotating body 2 can rotate around the rotation axis.

(磁石および感磁素子等のレイアウト等)
図3は、本発明を適用したロータリエンコーダ1のセンサ部等の構成を示す説明図である。図3において、データ処理部90は、予め格納されているプログラムに基づいて動作するCPU等を備える。データ処理部90の構成については機能ブロック図で示す。
(Layout of magnets and magneto-sensitive elements)
FIG. 3 is an explanatory diagram showing the configuration of the sensor unit and the like of the rotary encoder 1 to which the present invention is applied. In FIG. 3, the data processing unit 90 includes a CPU that operates based on a program stored in advance. The configuration of the data processing unit 90 is shown in a functional block diagram.

第1センサ部1aは、回転体2の側に第1磁石20を有する。第1磁石20は、N極とS極とが周方向において1極ずつ着磁された着磁面21を備える。着磁面21は回転中心軸線方向Lの第1方向L1を向いている。また、第1センサ部1aは、固定体10の側に、第1磁石20の着磁面21に対して回転中心軸線方向Lの第1方向L1で対向する第1磁気抵抗素子40と、第1磁石20の着磁面21に対して回転中心軸線方向Lの第1方向L1で対向する第1ホール素子51と、第1磁石20の着磁面21に対して回転中心軸線方向Lの第1方向L1で対向するとともに、第1ホール素子51に対して回転軸線回りに機械角で90°ずれた位置に配置された第2ホール素子52と、を有する。   The first sensor unit 1a includes a first magnet 20 on the rotating body 2 side. The first magnet 20 includes a magnetized surface 21 in which an N pole and an S pole are magnetized one by one in the circumferential direction. The magnetized surface 21 faces the first direction L1 of the rotation center axis direction L. The first sensor unit 1a includes a first magnetoresistive element 40 facing the magnetized surface 21 of the first magnet 20 in the first direction L1 in the rotation center axis direction L on the fixed body 10 side, A first Hall element 51 that faces the magnetized surface 21 of one magnet 20 in a first direction L1 in the rotation center axis direction L, and a first Hall element 51 in the rotation center axis direction L with respect to the magnetized surface 21 of the first magnet 20. And a second Hall element 52 disposed opposite to the first Hall element 51 at a mechanical angle of 90 ° around the rotation axis.

第2センサ部1bは、回転体2の側に第2磁石30を有する。第2磁石は、第1磁石20に対して径方向の外側で離間する位置でN極とS極とが周方向において交互に複数着磁された環状の着磁面31を備える。着磁面31は回転中心軸線方向Lの第1方向L1を向いている。本例において、第2磁石30の着磁面31には、周方向においてN極とS極とが交互に多極に着磁されたトラック310が径方向で複数、並列している。本例では、トラック310が2列形成されている。本例においては、Nを正の整数としたとき、第2磁石30では、N極とS極との対が計N対形成されている。本例において、Nは、例えば128である。かかる2つのトラック310の間ではN極およびS極の位置が周方向でずれており、本例では、2つのトラック310の間においてN極およびS極は周方向に1極分ずれている。また、第2センサ部1bは、固定体10の側に、第2磁石30の着磁面31に対して回転中心軸線方向Lの第1方向L1で対向する第2磁気抵抗素子60を備える。   The 2nd sensor part 1b has the 2nd magnet 30 on the rotating body 2 side. The second magnet includes an annular magnetized surface 31 in which a plurality of N poles and S poles are alternately magnetized in the circumferential direction at positions spaced radially outward from the first magnet 20. The magnetized surface 31 faces the first direction L1 of the rotation center axis direction L. In this example, a plurality of tracks 310 in which N poles and S poles are alternately magnetized in the circumferential direction are arranged in parallel on the magnetized surface 31 of the second magnet 30 in the radial direction. In this example, two tracks 310 are formed. In this example, when N is a positive integer, the second magnet 30 has a total of N pairs of N and S poles. In this example, N is 128, for example. The positions of the N pole and the S pole are shifted in the circumferential direction between the two tracks 310. In this example, the N pole and the S pole are shifted by one pole in the circumferential direction between the two tracks 310. The second sensor unit 1 b includes a second magnetoresistive element 60 that faces the magnetized surface 31 of the second magnet 30 in the first direction L1 in the rotation center axial direction L on the fixed body 10 side.

第1磁石20および第2磁石30は、回転体2と一体に回転軸線回りに回転する。第1磁石20は円盤状の永久磁石からなる。第2磁石30は円筒状であり、第1磁石20に対して径方向の外側で離間する位置に配置されている。第1磁石20および第2磁石30はボンド磁石等からなる。   The first magnet 20 and the second magnet 30 rotate around the rotation axis integrally with the rotating body 2. The first magnet 20 is made of a disk-shaped permanent magnet. The second magnet 30 has a cylindrical shape and is disposed at a position spaced apart from the first magnet 20 on the outer side in the radial direction. The 1st magnet 20 and the 2nd magnet 30 consist of bond magnets.

第1磁気抵抗素子40は、第1磁石20の位相に対して、互いに90°の位相差を有するA相(SIN)の磁気抵抗パターンとB相(COS)の磁気抵抗パターンとを備えた第1磁気抵抗素子である。かかる第1磁気抵抗素子40において、A相の磁気抵抗パターンは、180°の位相差をもって回転体2の移動検出を行う+a相(SIN+)の磁気抵抗パターン43および−a相(SIN−)の磁気抵抗パターン41を備える。B相の磁気抵抗パターンは、180°の位相差をもって回転体2の移動検出を行う+b相(COS+)の磁気抵抗パターン44および−b相(COS−)の磁気抵抗パターン42を備える。ここで、+a相の磁気抵抗パターン43および−a相の磁気抵抗パターン41は、ブリッジ回路を構成しており、+b相の磁気抵抗パターン44および−b相の磁気抵抗パターン42も、+a相の磁気抵抗パターン43および−a相の磁気抵抗パターン41と同様、ブリ
ッジ回路を構成している。
The first magnetoresistive element 40 includes an A phase (SIN) magnetoresistive pattern and a B phase (COS) magnetoresistive pattern having a phase difference of 90 ° with respect to the phase of the first magnet 20. 1 magnetoresistive element. In the first magnetoresistive element 40, the A-phase magnetoresistive pattern includes the + a-phase (SIN +) magnetoresistive pattern 43 and the -a-phase (SIN-) magnetoresistive pattern 43 that detect the movement of the rotating body 2 with a phase difference of 180 °. A magnetoresistive pattern 41 is provided. The B phase magnetoresistive pattern includes a + b phase (COS +) magnetoresistive pattern 44 and a −b phase (COS−) magnetoresistive pattern 42 that detect movement of the rotating body 2 with a phase difference of 180 °. Here, the + a-phase magnetoresistive pattern 43 and the -a-phase magnetoresistive pattern 41 constitute a bridge circuit, and the + b-phase magnetoresistive pattern 44 and the -b-phase magnetoresistive pattern 42 are also of + a-phase. Similar to the magnetoresistive pattern 43 and the -a phase magnetoresistive pattern 41, a bridge circuit is configured.

第2磁気抵抗素子60は、第2磁石30の位相に対して、互いに90°の位相差を有するA相(SIN)の磁気抵抗パターンとB相(COS)の磁気抵抗パターンとを備える。かかる第2磁気抵抗素子60において、A相の磁気抵抗パターンは、180°の位相差をもって回転体2の移動検出を行う+a相(SIN+)の磁気抵抗パターン64および−a相(SIN−)の磁気抵抗パターン62を備える。B相の磁気抵抗パターンは、180°の位相差をもって回転体2の移動検出を行う+b相(COS+)の磁気抵抗パターン63および−b相(COS−)の磁気抵抗パターン61を備える。ここで、+a相の磁気抵抗パターン64および−a相の磁気抵抗パターン62は、第1磁気抵抗素子40と同様、ブリッジ回路を構成しており、+b相の磁気抵抗パターン63および−b相の磁気抵抗パターン61は、+a相の磁気抵抗パターン64および−a相の磁気抵抗パターン62と同様、示すブリッジ回路を構成している。   The second magnetoresistive element 60 includes an A phase (SIN) magnetoresistive pattern and a B phase (COS) magnetoresistive pattern having a phase difference of 90 ° with respect to the phase of the second magnet 30. In the second magnetoresistive element 60, the A-phase magnetoresistive pattern includes the + a-phase (SIN +) magnetoresistive pattern 64 and the -a-phase (SIN-) that detect movement of the rotating body 2 with a phase difference of 180 °. A magnetoresistive pattern 62 is provided. The B phase magnetoresistive pattern includes a + b phase (COS +) magnetoresistive pattern 63 and a −b phase (COS−) magnetoresistive pattern 61 that detect the movement of the rotating body 2 with a phase difference of 180 °. Here, the + a phase magnetoresistive pattern 64 and the −a phase magnetoresistive pattern 62 constitute a bridge circuit, like the first magnetoresistive element 40, and the + b phase magnetoresistive pattern 63 and the −b phase magnetoresistive pattern 63. The magnetoresistive pattern 61 forms a bridge circuit as shown in the same manner as the + a phase magnetoresistive pattern 64 and the −a phase magnetoresistive pattern 62.

本例においては、第1磁気抵抗素子40、第1ホール素子51、第2ホール素子52、および第2磁気抵抗素子60はいずれも、センサ基板15の回転中心軸線方向Lの第2方向L2に位置する第1面151に設けられている。センサ基板15において第1面151とは反対側の第2面152において、第1磁気抵抗素子40と平面視で重なる位置には、センサ基板15を貫通するスルーホール(図示せず)を介して第1磁気抵抗素子40に電気的に接続された第1アンプ91が設けられている。また、第2面152において、第2磁気抵抗素子60と平面視で重なる位置には、センサ基板15を貫通するスルーホールを介して第2磁気抵抗素子60に電気的に接続された第2アンプ92が設けられている。なお、第1ホール素子51および第2ホール素子52は、センサ基板15を貫通するスルーホールを介して第1アンプ91に電気的に接続されている。   In this example, the first magnetoresistive element 40, the first Hall element 51, the second Hall element 52, and the second magnetoresistive element 60 are all in the second direction L2 of the rotation center axis direction L of the sensor substrate 15. The first surface 151 is provided. On the second surface 152 opposite to the first surface 151 in the sensor substrate 15, a position overlapping the first magnetoresistive element 40 in plan view is through a through hole (not shown) penetrating the sensor substrate 15. A first amplifier 91 electrically connected to the first magnetoresistive element 40 is provided. A second amplifier electrically connected to the second magnetoresistive element 60 through a through hole penetrating the sensor substrate 15 at a position overlapping the second magnetoresistive element 60 in plan view on the second surface 152. 92 is provided. The first Hall element 51 and the second Hall element 52 are electrically connected to the first amplifier 91 through a through hole that penetrates the sensor substrate 15.

(検出原理)
図4は、本発明を適用したロータリエンコーダ1における検出原理を示す説明図である。図4(a)は磁気抵抗素子4から出力される信号等の説明図であり、図4(b)は、図4(a)に示す信号と回転体2の角度位置(電気角)との関係を示す説明図である。図5はロータリエンコーダにおける角度位置の決定方法の基本的構成を示す説明図である。
(Detection principle)
FIG. 4 is an explanatory diagram showing the detection principle in the rotary encoder 1 to which the present invention is applied. FIG. 4A is an explanatory diagram of signals and the like output from the magnetoresistive element 4, and FIG. 4B shows the signal shown in FIG. 4A and the angular position (electrical angle) of the rotating body 2. It is explanatory drawing which shows a relationship. FIG. 5 is an explanatory diagram showing the basic configuration of the method for determining the angular position in the rotary encoder.

図3に示すように、本例のロータリエンコーダ1において、第1磁気抵抗素子40、第1ホール素子51、第2ホール素子52、および第2磁気抵抗素子60の出力は、第1アンプ91、第2アンプ92、A−Dコンバータ93a、93b、94を介して、データ処理部90に出力される。データ処理部90は、第1磁気抵抗素子40、第1ホール素子51、第2ホール素子52、および第2磁気抵抗素子60からの出力に基づいて、固定体10に対する回転体2の絶対角度位置を求める。   As shown in FIG. 3, in the rotary encoder 1 of this example, the outputs of the first magnetoresistive element 40, the first Hall element 51, the second Hall element 52, and the second magnetoresistive element 60 are the first amplifier 91, The data is output to the data processing unit 90 via the second amplifier 92 and AD converters 93a, 93b, and 94. Based on the outputs from the first magnetoresistive element 40, the first hall element 51, the second hall element 52, and the second magnetoresistive element 60, the data processing unit 90 calculates the absolute angular position of the rotating body 2 with respect to the fixed body 10. Ask for.

より具体的には、ロータリエンコーダ1において、回転体2が1回転すると、第1磁石20が1回転するので、第1センサ部1aの第1磁気抵抗素子40からは、図4(a)に示す正弦波信号sin、cosが2周期分、出力される。従って、データ処理部90において、図4(b)に示すように、正弦波信号sin、cosからθ=tan−1(sin/cos)を求めれば、回転体2の角度位置θが分かる。また、本例では、第1センサ部1aには、第1磁石20の中心からみて90°ずれた位置に第1ホール素子51および第2ホール素子52が配置されている。このため、現在位置が正弦波信号sin、cosのいずれの区間に位置するかが分かるので、回転体2の絶対角度位置が分かる。 More specifically, in the rotary encoder 1, when the rotating body 2 makes one revolution, the first magnet 20 makes one revolution. Therefore, from the first magnetoresistive element 40 of the first sensor unit 1a, FIG. The sine wave signals sin and cos shown are output for two cycles. Therefore, if the data processing unit 90 obtains θ = tan −1 (sin / cos) from the sine wave signals sin and cos as shown in FIG. 4B, the angular position θ of the rotating body 2 can be obtained. Further, in the present example, the first sensor element 1 a is provided with the first hall element 51 and the second hall element 52 at a position shifted by 90 ° from the center of the first magnet 20. For this reason, since it can be known in which section of the sine wave signals sin and cos the current position is located, the absolute angular position of the rotating body 2 can be known.

また、本例のロータリエンコーダ1では、第2センサ部1bに、N極とS極とが周方向において交互に複数着磁された環状の着磁面31を備えた第2磁石30が用いられており、かかる第2磁石30に対向する第2磁気抵抗素子60からは、回転体2が第2磁石30
の磁極の1周期分を回転する度に、正弦波信号sin、cosが出力される。従って、第2磁気抵抗素子60から出力された正弦波信号sin、cosについても、図4(b)に示すように、正弦波信号sin、cosからθ=tan−1(sin/cos)を求めれば、第2磁石30の磁極の1周期分に相当する角度内における回転体2の角度位置θが分かる。
In the rotary encoder 1 of the present example, the second magnet 30 having the annular magnetized surface 31 in which a plurality of N poles and S poles are alternately magnetized in the circumferential direction is used for the second sensor portion 1b. From the second magnetoresistive element 60 facing the second magnet 30, the rotating body 2 is moved to the second magnet 30.
The sine wave signals sin and cos are output each time the magnetic poles of one cycle are rotated. Accordingly, for the sine wave signals sin and cos output from the second magnetoresistive element 60, θ = tan −1 (sin / cos) can be obtained from the sine wave signals sin and cos as shown in FIG. For example, the angular position θ of the rotating body 2 within an angle corresponding to one period of the magnetic poles of the second magnet 30 is known.

そこで、本例では、第1センサ部1aからの第1検出結果である1回転1周期の第1絶対角度データabs−1(図5(a)参照)と、第2センサ部1bからの第2検出結果である1回転N周期のインクリメンタル角度データINC(図5(b)参照)とに基づいて、回転体2の瞬間時の角度位置を検出する。従って、第1絶対角度データabs−1の分解能が低い場合でも、分解能の高い絶対角度データを得ることができる。   Therefore, in this example, the first absolute angle data abs-1 (see FIG. 5A) of one rotation and one cycle, which is the first detection result from the first sensor unit 1a, and the second detection from the second sensor unit 1b. The instantaneous angular position of the rotator 2 is detected based on the 1-rotation N-cycle incremental angle data INC (see FIG. 5B), which is the 2 detection result. Therefore, even when the resolution of the first absolute angle data abs-1 is low, absolute angle data with high resolution can be obtained.

かかる検出方式を採用するにあたって、本例のロータリエンコーダ1においては、第1センサ部1aと第2センサ部1bとの相対的な位置ずれ、第1センサ部1aおよび第2センサ部1bを構成する部材の特性の誤差、第1センサ部1aと第2センサ部1bとのサンプリング時間差等の影響で、第1センサ部1aからの第1絶対角度データabs−1(図5(a)参照)と、第2センサ部1bからの1回転N周期のインクリメンタル角度データINC(図5(b)参照)との間に、位相ずれが発生することがある。また、第1センサ部1aの回転軸からのずれ、第2センサ部1bの回転軸からのずれ、第1センサ部1aの特性、第2センサ部1bの特性によって、各センサ部1a、1bからの出力には、真の値(角度位置)に対する誤差が発生することがある。ここで、第1絶対角度データabs−1とインクリメンタル角度データINCとの間に、位相ずれを含む相対的な誤差があると、検出精度が低下してしまう。   In adopting such a detection method, in the rotary encoder 1 of the present example, the relative displacement between the first sensor unit 1a and the second sensor unit 1b, the first sensor unit 1a and the second sensor unit 1b are configured. The first absolute angle data abs-1 (see FIG. 5A) from the first sensor unit 1a due to the influence of the member characteristic error, the sampling time difference between the first sensor unit 1a and the second sensor unit 1b, etc. In some cases, a phase shift may occur between the second sensor unit 1b and the incremental angle data INC (see FIG. 5B) of one rotation N cycle. Further, depending on the displacement of the first sensor unit 1a from the rotation axis, the displacement of the second sensor unit 1b from the rotation axis, the characteristics of the first sensor unit 1a, and the characteristics of the second sensor unit 1b, In some cases, an error may occur with respect to the true value (angular position). Here, if there is a relative error including a phase shift between the first absolute angle data abs-1 and the incremental angle data INC, the detection accuracy is lowered.

そこで、本例では、絶対角度位置を検出するために、まず、第1絶対角度データabs−1とインクリメンタル角度データINCとの位相差Δpを取得し、第1絶対角度データabs−1とインクリメンタル角度データINCとの間で発生している位相差相対的な誤差と位相差Δpとを抑制、或いは、無くした誤差補正第1絶対角度データabs−1cを取得する前補正工程を行う。   Therefore, in this example, in order to detect the absolute angle position, first, the phase difference Δp between the first absolute angle data abs-1 and the incremental angle data INC is acquired, and the first absolute angle data abs-1 and the incremental angle are acquired. A pre-correction step is performed to suppress the relative error and the phase difference Δp generated between the data INC and the error correction first absolute angle data abs-1c.

その後、第1センサ部1aから出力される瞬間時の第1絶対角度データabs−1である第1検出結果、第2センサ部1bから出力される瞬間時のインクリメンタル角度データINCである第2検出結果、前補正工程で取得した位相差Δp、誤差補正第1絶対角度データabs−1c、および、インクリメンタル角度データINCに基づいて絶対角度位置を取得する絶対角度取得工程を行う。   Thereafter, a first detection result that is the first absolute angle data abs-1 output from the first sensor unit 1a, and a second detection that is the instantaneous angle data INC output from the second sensor unit 1b. As a result, an absolute angle acquisition step of acquiring an absolute angle position based on the phase difference Δp acquired in the previous correction step, the error correction first absolute angle data abs-1c, and the incremental angle data INC is performed.

(制御系)
図6は第1絶対角度データabs−1とインクリメンタル角度データINCとの位相差および位相補正第1絶対角度データの説明図である。図7は変換絶対角度データの説明図である。図8は補正値の説明図である。図9は誤差補正第1絶対角度データabs−1cの説明図である。図10はロータリエンコーダにおける角度位置の決定方法の具体的構成を示す説明図である。図10には、第2絶対角度データabs−2の各周期が真の角度位置に対して、いずれの位置の周期かを示す符号1、2・・n−1、n、n+1・・Nを付し、インクリメンタル角度データINCの各周期が真の角度位置に対して、いずれの位置の周期かを示す符号1、2・・m−1、m、m+1・・Nを付してある。図11はロータリエンコーダにおいて第2絶対角度データの位相が進んでいる場合の説明図である。図12はロータリエンコーダにおいて第2絶対角度データの位相が遅れている場合の説明図である。
(Control system)
FIG. 6 is an explanatory diagram of the phase difference between the first absolute angle data abs-1 and the incremental angle data INC and the phase-corrected first absolute angle data. FIG. 7 is an explanatory diagram of converted absolute angle data. FIG. 8 is an explanatory diagram of correction values. FIG. 9 is an explanatory diagram of the error correction first absolute angle data abs-1c. FIG. 10 is an explanatory diagram showing a specific configuration of the method for determining the angular position in the rotary encoder. In FIG. 10, reference numerals 1, 2,..., N-1, n, n + 1,... N indicating the period of each position of the second absolute angle data abs-2 with respect to the true angular position are indicated. In addition, reference numerals 1, 2,..., M−1, m, m + 1,... N indicating the position of each period of the incremental angle data INC with respect to the true angle position are attached. FIG. 11 is an explanatory diagram when the phase of the second absolute angle data is advanced in the rotary encoder. FIG. 12 is an explanatory diagram when the phase of the second absolute angle data is delayed in the rotary encoder.

図3に示すように、データ処理部90は、前補正工程を行う前補正処理部100と、絶
対角度取得工程を行う絶対角度取得部101を備える。
As shown in FIG. 3, the data processing unit 90 includes a pre-correction processing unit 100 that performs a pre-correction step and an absolute angle acquisition unit 101 that performs an absolute angle acquisition step.

(前補正処理部)
前補正処理部100は、メモリ(記憶部)102、位相差取得部103、変換絶対角度データ算出部104、第1位相補正部105、補正値取得部106、および、相対誤差補正部107を備える。
(Pre-correction processing unit)
The pre-correction processing unit 100 includes a memory (storage unit) 102, a phase difference acquisition unit 103, a converted absolute angle data calculation unit 104, a first phase correction unit 105, a correction value acquisition unit 106, and a relative error correction unit 107. .

位相差取得部103は、第1センサ部1aからの第1絶対角度データabs−1と第2センサ部1bからのインクリメンタル角度データINCとの位相差Δpを取得する。すなわち、位相差取得部103は、図6(a)、(b)に示すように、第1センサ部1aからの1回転1周期の第1絶対角度データabs−1と第2センサ部1bからの1回転N周期のインクリメンタル角度データINCとの間に位相ずれが発生していることを前提として、第1センサ部1aからの第1絶対角度データabs−1の角度位置0°のポイントと、当該ポイントに最も近いインクリメンタル角度データINCの角度位置0°のポイントとの角度差を位相差Δpとして取得する。なお、理想的な第1絶対角度データabs−1は、図5(a)に示すように直線的なデータである。しかし、第1センサ部1aからの第1絶対角度データabs−1は、例えば図6(a)に示すように、内包する誤差の分だけ理想的なデータからずれている。また、理想的なインクリメンタル角度データINCは図5(b)に示すように直線的なデータである。しかし、第2センサ部1bからのインクリメンタル角度データINCは、例えば図6(b)に示すように、内包する誤差の分だけ、理想的なデータからずれている。   The phase difference acquisition unit 103 acquires a phase difference Δp between the first absolute angle data abs-1 from the first sensor unit 1a and the incremental angle data INC from the second sensor unit 1b. That is, as shown in FIGS. 6A and 6B, the phase difference acquisition unit 103 receives the first absolute angle data abs-1 of one rotation and one cycle from the first sensor unit 1a and the second sensor unit 1b. Assuming that there is a phase shift with the incremental angle data INC of one rotation N cycle, the point of the angular position 0 ° of the first absolute angle data abs-1 from the first sensor unit 1a, An angle difference from the point at the angular position 0 ° of the incremental angle data INC closest to the point is acquired as a phase difference Δp. The ideal first absolute angle data abs-1 is linear data as shown in FIG. However, the first absolute angle data abs-1 from the first sensor unit 1a is deviated from the ideal data by the included error, as shown in FIG. 6A, for example. The ideal incremental angle data INC is linear data as shown in FIG. However, the incremental angle data INC from the second sensor unit 1b is deviated from the ideal data by the included error, as shown in FIG. 6B, for example.

変換絶対角度データ算出部104は、図7に示すように、第2センサ部1bからのN周期分のインクリメンタル角度データINC(図6(b)および図7(a)参照)を、1回転1周期のインクリメンタル信号変換絶対角度データINC-abs(図7(b)参照)に変換する。すなわち、変換絶対角度データ算出部104は、第1絶対角度データabs−1における角度位置0°のポイントに最も近いインクリメンタル角度データINCの角度位置0°のポイントから逐次にインクリメンタル角度データINCを積算して、最終的にN周期分のインクリメンタル角度データINCを積算することにより、第1絶対角度データに対応する1回転1周期の絶対角度データ(インクリメンタル信号変換絶対角度データINC-abs)を算出する。   As shown in FIG. 7, the converted absolute angle data calculation unit 104 converts the N-cycle incremental angle data INC (see FIGS. 6B and 7A) from the second sensor unit 1 b into one rotation 1 Periodic incremental signal conversion absolute angle data INC-abs (see FIG. 7B). That is, the converted absolute angle data calculation unit 104 sequentially accumulates the incremental angle data INC from the point of the angle position 0 ° of the incremental angle data INC closest to the point of the angle position 0 ° in the first absolute angle data abs−1. Finally, the absolute angle data INC (incremental signal conversion absolute angle data INC-abs) corresponding to the first absolute angle data is calculated by integrating the incremental angle data INC for N cycles.

第1位相補正部105は、位相差取得部103が取得した位相差Δpに基づいて第1絶対角度データを補正して、第1絶対角度データの位相をインクリメンタル信号変換絶対角度データINC-absの位相に一致させた位相補正第1絶対角度データabs−1pを生成する。すなわち、第1位相補正部105は、図6(c)に示すように、第1絶対角度データを位相差Δp分だけオフセットさせた位相補正第1絶対角度データabs−1pを生成する。これにより、位相補正第1絶対角度データabs−1pの角度位置0°は、インクリメンタル信号変換絶対角度データINC-absの角度位置0°と一致する。   The first phase correction unit 105 corrects the first absolute angle data based on the phase difference Δp acquired by the phase difference acquisition unit 103, and converts the phase of the first absolute angle data to the incremental signal conversion absolute angle data INC-abs. Phase corrected first absolute angle data abs-1p matched with the phase is generated. That is, as shown in FIG. 6C, the first phase correction unit 105 generates phase corrected first absolute angle data abs-1p obtained by offsetting the first absolute angle data by the phase difference Δp. Thereby, the angle position 0 ° of the phase correction first absolute angle data abs-1p matches the angle position 0 ° of the incremental signal conversion absolute angle data INC-abs.

補正値取得部106は、インクリメンタル信号変換絶対角度データINC-absと位相補正第1絶対角度データabs−1pとの差に基づいて補正値Δqを取得する。本例では、補正値取得部106は、図8(a)に示すインクリメンタル信号変換絶対角度データINC-absから図8(b)に示す位相補正第1絶対角度データabs−1pを減算して補正値Δq1を取得する。図8(c)に示す補正値Δq1は、インクリメンタル信号変換絶対角度データINC-absと位相補正第1絶対角度データabs−1pとの相対的な誤差成分である。   The correction value acquisition unit 106 acquires the correction value Δq based on the difference between the incremental signal conversion absolute angle data INC-abs and the phase correction first absolute angle data abs-1p. In this example, the correction value acquisition unit 106 performs correction by subtracting the phase correction first absolute angle data abs-1p shown in FIG. 8B from the incremental signal conversion absolute angle data INC-abs shown in FIG. The value Δq1 is acquired. The correction value Δq1 shown in FIG. 8C is a relative error component between the incremental signal conversion absolute angle data INC-abs and the phase correction first absolute angle data abs-1p.

ここで、補正値取得部106は、補正値Δq1として、1回転1周期中の複数の角度位置における第1補正値Δq1を取得する。そして、補正値取得部106は、角度位置と第
1補正値Δq1とを関連付けたテーブルの形態でメモリ102に記憶保持する。本例において補正値Δq1を取得する複数の角度位置は、1回転を第2磁石30の磁極対の数Nで等間隔に分割した場合の各角度位置である。なお、補正値Δq1を取得する複数の角度位置は、例えば、1回転を第2磁石30の磁極対の数の2倍の数で等間隔に分割した場合の各角度位置とすることができる。
Here, the correction value acquisition unit 106 acquires, as the correction value Δq1, the first correction value Δq1 at a plurality of angular positions in one rotation and one cycle. Then, the correction value acquisition unit 106 stores and holds in the memory 102 in the form of a table in which the angular position and the first correction value Δq1 are associated with each other. In this example, the plurality of angular positions at which the correction value Δq1 is acquired are the respective angular positions when one rotation is divided at equal intervals by the number N of the magnetic pole pairs of the second magnet 30. Note that the plurality of angular positions from which the correction value Δq1 is acquired can be, for example, each angular position when one rotation is divided at equal intervals by twice the number of magnetic pole pairs of the second magnet 30.

相対誤差補正部107は、メモリ102を参照して、隣り合う2つの角度位置のそれぞれで取得された補正値Δq1に基づいて当該2つの角度位置の間の中間角度位置の中間補正値Δq2を算出する。本例では、中間角度位置は隣り合う2つの角度位置の中央の角度位置であり、補正値取得部106は中間角度位置における中間補正値Δq2を、隣り合う2つの角度位置の補正値Δq1を直線補完して算出する。   The relative error correction unit 107 refers to the memory 102 and calculates an intermediate correction value Δq2 of an intermediate angular position between the two angular positions based on the correction value Δq1 acquired at each of the two adjacent angular positions. To do. In this example, the intermediate angular position is the central angular position of two adjacent angular positions, and the correction value acquisition unit 106 linearly calculates the intermediate correction value Δq2 at the intermediate angular position and the correction value Δq1 of the two adjacent angular positions. Complementary calculation.

また、相対誤差補正部107は、図9に示すように、位相補正第1絶対角度データabs−1pを、メモリ102に記録保持された補正値Δq1および中間補正値Δq2で補正した誤差補正第1絶対角度データabs−1cを生成する。本例では、相対誤差補正部107は、図9(a)に示す位相補正第1絶対角度データabs−1pに、図9(b)に示す補正値Δq1および中間補正値Δq2を加算する。これにより、相対誤差補正部107は、図9(c)に示す誤差補正第1絶対角度データabs−1cを取得する。   Further, as shown in FIG. 9, the relative error correction unit 107 corrects the phase correction first absolute angle data abs-1p with the correction value Δq1 and the intermediate correction value Δq2 recorded and held in the memory 102. Absolute angle data abs-1c is generated. In this example, the relative error correction unit 107 adds the correction value Δq1 and the intermediate correction value Δq2 shown in FIG. 9B to the phase correction first absolute angle data abs-1p shown in FIG. Thereby, the relative error correction unit 107 acquires error correction first absolute angle data abs-1c shown in FIG.

ここで、補正値Δq1は、位相補正第1絶対角度データabs−1pに対するインクリメンタル信号変換絶対角度データINC-abs(N周期分のインクリメンタル角度データINC)の誤差成分なので、位相補正第1絶対角度データabs−1pを補正値Δq1および中間補正値Δq2で補正した誤差補正第1絶対角度データabs−1cは、インクリメンタル信号変換絶対角度データINC-abs(図7(b)参照)とほぼ同一の誤差成分を備えるものとなる。換言すれば、誤差補正第1絶対角度データabs−1cは、N周期分のインクリメンタル角度データINC(図7(a)参照)とほぼ同一の誤差成分を備えるものとなる。従って、誤差補正第1絶対角度データabs−1cとインクリメンタル角度データINCとの間では、相対的な誤差は無くなるか、或いは、抑制されている。よって、誤差補正第1絶対角度データabs−1cとインクリメンタル角度データINCとに基づいて絶対角度位置を取得すれば、第1センサ部1aと第2センサ部1bとの間の相対的な位置ずれ等に起因する検出低下を抑制できる。   Here, since the correction value Δq1 is an error component of the incremental signal conversion absolute angle data INC-abs (incremental angle data INC for N cycles) with respect to the phase correction first absolute angle data abs-1p, the phase correction first absolute angle data. Error corrected first absolute angle data abs-1c obtained by correcting abs-1p with the correction value Δq1 and the intermediate correction value Δq2 is substantially the same error component as the incremental signal conversion absolute angle data INC-abs (see FIG. 7B). It will be equipped with. In other words, the error correction first absolute angle data abs-1c includes almost the same error component as the N-cycle incremental angle data INC (see FIG. 7A). Therefore, the relative error is eliminated or suppressed between the error correction first absolute angle data abs-1c and the incremental angle data INC. Therefore, if the absolute angle position is acquired based on the error-corrected first absolute angle data abs-1c and the incremental angle data INC, the relative positional deviation between the first sensor unit 1a and the second sensor unit 1b, etc. It is possible to suppress a decrease in detection due to.

なお、補正値取得部106は、位相補正第1絶対角度データabs−1pからインクリメンタル信号変換絶対角度データINC-absを減算して補正値を取得してもよい。この場合には、相対誤差補正部107は、位相補正第1絶対角度データabs−1pから補正値を減算して誤差補正第1絶対角度データabs−1cを取得する。   The correction value acquisition unit 106 may acquire the correction value by subtracting the incremental signal conversion absolute angle data INC-abs from the phase correction first absolute angle data abs-1p. In this case, the relative error correction unit 107 subtracts the correction value from the phase correction first absolute angle data abs-1p to obtain error correction first absolute angle data abs-1c.

(絶対角度取得部)
次に、絶対角度取得部101は、図3に示すように、第2絶対角度データ生成部110、第1メモリ111、第2メモリ112、角度位置決定部113を備える。また、絶対角度取得部101は、位相比較部114および第2位相補正部115を備える。
(Absolute angle acquisition unit)
Next, as shown in FIG. 3, the absolute angle acquisition unit 101 includes a second absolute angle data generation unit 110, a first memory 111, a second memory 112, and an angular position determination unit 113. The absolute angle acquisition unit 101 includes a phase comparison unit 114 and a second phase correction unit 115.

第2絶対角度データ生成部110は、図10(a)に示すように、前処理工程により得られた誤差補正第1絶対角度データabs−1cを、第2磁石30の磁極対の数(N:2以上の正の整数)に内挿分割した第2絶対角度データabs−2を作成する。そして、第2絶対角度データ生成部110は、第2絶対角度データabs−2を第1メモリ111に記憶保持する。ここで、第2メモリ112には、インクリメンタル角度データINCが記憶保持される。   As shown in FIG. 10A, the second absolute angle data generation unit 110 uses the error correction first absolute angle data abs-1c obtained by the preprocessing step as the number of magnetic pole pairs (N : 2nd absolute angle data abs-2 which is divided by interpolation into a positive integer of 2 or more. Then, the second absolute angle data generation unit 110 stores and holds the second absolute angle data abs-2 in the first memory 111. Here, the second memory 112 stores and holds incremental angle data INC.

角度位置決定部113は、位相差Δp、第1センサ部1aから出力される瞬間時の第1
絶対角度データである第1検出結果、第2センサ部からの瞬間時のインクリメンタル角度データである第2検出結果、第1メモリ111に記憶された第2絶対角度データabs−2、および第2メモリ112に記憶されたインクリメンタル角度データINCに基づいて、瞬間時の回転体2の絶対角度位置を決定する。
The angular position determination unit 113 outputs the first phase difference Δp at the moment of output from the first sensor unit 1a.
First detection result that is absolute angle data, second detection result that is instantaneous angle data from the second sensor unit, second absolute angle data abs-2 stored in the first memory 111, and second memory Based on the incremental angle data INC stored in 112, the absolute angular position of the rotating body 2 at the moment is determined.

より具体的には、角度位置決定部113は、第1センサ部1aからの第1検出結果(瞬間時の第1絶対角度データabs−1)を取得すると、第1検出結果を位相差Δpで補正した位相補正第1検出結果(瞬間時の位相補正第1絶対角度データabs−1p)を算出する。そして、角度位置決定部113は、この位相補正第1検出結果が、第1メモリ111に記憶保持された第2絶対角度データabs−2のいずれの周期にあるかをデジタルデータの上位データとし、第2センサ部1bからの第2検出結果(瞬間時のインクリメンタル角度データINC)が第2メモリ112に記憶保持されたインクリメンタル角度データINCのいずれの位置に相当するかをデジタルデータの下位データとして、瞬間時の回転体2の絶対角度位置を決定する。   More specifically, when the angular position determination unit 113 acquires the first detection result (first absolute angle data abs-1 at the moment) from the first sensor unit 1a, the first detection result is expressed by the phase difference Δp. A corrected phase correction first detection result (instantaneous phase correction first absolute angle data abs-1p) is calculated. Then, the angle position determination unit 113 uses the period of the second absolute angle data abs-2 stored and held in the first memory 111 as the higher-order data of the digital data, as the first phase correction detection result. Which position of the incremental angle data INC stored and held in the second memory 112 the second detection result from the second sensor unit 1b (instantaneous incremental angle data INC) corresponds to the lower data of the digital data, The absolute angular position of the rotating body 2 at the moment is determined.

ここで、位相比較部114は、所定のタイミングで第2絶対角度データabs−2の位相とインクリメンタル角度データINCの位相とを比較する。また、第2位相補正部115は、位相比較部114により第2絶対角度データabs−2とインクリメンタル角度データINCとの位相がずれていると判断されたときに、第2絶対角度データabs−2を補正して第2絶対角度データabs−2の位相とインクリメンタル角度データINCの位相とを一致させるとともに、補正した第2絶対角度データabs−2を第1メモリ111に記憶保持(上書き)する。なお、所定のタイミングとは、例えば、ロータリエンコーダ1に電源が投入された時点である。   Here, the phase comparison unit 114 compares the phase of the second absolute angle data abs-2 with the phase of the incremental angle data INC at a predetermined timing. The second phase correction unit 115 also determines that the phase of the second absolute angle data abs-2 and the incremental angle data INC are shifted from each other by the phase comparison unit 114. And the phase of the second absolute angle data abs-2 and the phase of the incremental angle data INC are matched, and the corrected second absolute angle data abs-2 is stored and retained (overwritten) in the first memory 111. The predetermined timing is, for example, the time when the rotary encoder 1 is turned on.

より詳細には、位相比較部114は、図3に示すように、第3絶対角度データ生成部116と、第1判定部117と、第2判定部118と、第3メモリ119を備える。   More specifically, the phase comparison unit 114 includes a third absolute angle data generation unit 116, a first determination unit 117, a second determination unit 118, and a third memory 119, as shown in FIG.

第3絶対角度データ生成部116は、図11(b)および図12(b)に示すように、誤差補正第1絶対角度データabs−1cが(2×N)個に内挿分割されたデータに相当する第3絶対角度データabs−3を生成して、第3メモリ119に記憶保持する。   As shown in FIGS. 11B and 12B, the third absolute angle data generation unit 116 is data in which the error-corrected first absolute angle data abs-1c is interpolated into (2 × N) pieces. The third absolute angle data abs-3 corresponding to is generated and stored in the third memory 119.

第1判定部117は、第3絶対角度データabs−3に基づいてインクリメンタル角度データINCに対する第2絶対角度データabs−2の位相の進みの有無を判定する。具体的には、図11(a)、(b)に示すように、第1判定部117は、位相補正第1検出結果が第3絶対角度データabs−3における奇数番目(例えば、i番目)の周期であって、第2センサ部1bによる第2検出結果がインクリメンタル角度データINCにおける第1閾値TH1以上である場合、第2絶対角度データabs−2の位相がインクリメンタル角度データINCの位相より進んでいると判定する。すなわち、第2絶対角度データabs−2の位相とインクリメンタル角度データINCの位相とが一致している場合には、位相補正第1検出結果が第3絶対角度データabs−3における奇数番目の周期であるときには、第2センサ部1bによる第2検出結果は、インクリメンタル角度データINCにおける第1閾値TH1未満であるから、上記の処理によれば、第2絶対角度データabs−2の位相がインクリメンタル角度データINCの位相より進んでいることを検出することができる。本形態において、第1閾値TH1は、電気角で270degである。   The first determination unit 117 determines whether the phase of the second absolute angle data abs-2 has advanced with respect to the incremental angle data INC based on the third absolute angle data abs-3. Specifically, as illustrated in FIGS. 11A and 11B, the first determination unit 117 determines that the phase detection first detection result is an odd number (for example, i-th) in the third absolute angle data abs-3. And the phase of the second absolute angle data abs-2 advances from the phase of the incremental angle data INC when the second detection result by the second sensor unit 1b is equal to or greater than the first threshold value TH1 in the incremental angle data INC. It is determined that That is, when the phase of the second absolute angle data abs-2 and the phase of the incremental angle data INC match, the phase correction first detection result is an odd-numbered cycle in the third absolute angle data abs-3. In some cases, the second detection result by the second sensor unit 1b is less than the first threshold value TH1 in the incremental angle data INC. Therefore, according to the above processing, the phase of the second absolute angle data abs-2 is the incremental angle data. It is possible to detect that the phase is ahead of the INC phase. In the present embodiment, the first threshold value TH1 is 270 degrees in electrical angle.

第2判定部118は、第3絶対角度データabs−3に基づいてインクリメンタル角度データINCに対する第2絶対角度データabs−2の位相の遅れの有無を判定する。具体的には、図12(a)、(b)に示すように、第2判定部118は、第1センサ部1aによる第1検出結果を位相差Δpで補正した位相補正第1検出結果(瞬間時の位相補正第1絶対角度データabs−1p)が第3絶対角度データabs−3における偶数番目(例
えば、(i+1)番目)の周期であって、第2センサ部1bによる第2検出結果がインクリメンタル角度データINCにおける第2閾値TH2以下である場合、第2絶対角度データabs−2の位相がインクリメンタル角度データINCの位相より遅れていると判定する。すなわち、第2絶対角度データabs−2の位相とインクリメンタル角度データINCの位相とが一致している場合、位相補正第1検出結果が第3絶対角度データabs−3における偶数番目の周期であるときには、第2センサ部1bによる第2検出結果は、インクリメンタル角度データINCにおける第2閾値TH2を超えることから、上記の処理によれば、第2絶対角度データabs−2の位相がインクリメンタル角度データINCの位相より遅れていることを検出することができる。本形態において、第2閾値TH2は、電気角で90degである。
The second determination unit 118 determines whether there is a phase delay of the second absolute angle data abs-2 with respect to the incremental angle data INC based on the third absolute angle data abs-3. Specifically, as illustrated in FIGS. 12A and 12B, the second determination unit 118 corrects the first detection result obtained by the first sensor unit 1 a with the phase difference Δp (first phase correction detection result ( The instantaneous phase correction first absolute angle data abs-1p) is an even-numbered (for example, (i + 1) th) period in the third absolute angle data abs-3, and the second detection result by the second sensor unit 1b. Is equal to or smaller than the second threshold value TH2 in the incremental angle data INC, it is determined that the phase of the second absolute angle data abs-2 is delayed from the phase of the incremental angle data INC. That is, when the phase of the second absolute angle data abs-2 and the phase of the incremental angle data INC match, the phase correction first detection result is the even-numbered cycle in the third absolute angle data abs-3. Since the second detection result by the second sensor unit 1b exceeds the second threshold value TH2 in the incremental angle data INC, according to the above processing, the phase of the second absolute angle data abs-2 is the same as that of the incremental angle data INC. It can be detected that the phase is delayed. In the present embodiment, the second threshold TH2 is 90 degrees in electrical angle.

第2位相補正部115は、位相補正第1検出結果が第3絶対角度データabs−3におけるi番目(奇数番目)の周期であって、第2センサ部1bによる第2検出結果がインクリメンタル角度データINCにおける第1閾値TH1以上である期間については、図11(c)に示すように、第2絶対角度データabs−2における(((i+1)/2)−1)番目の周期(n−1番目の周期)となるように、第2絶対角度データabs−2を補正する。従って、インクリメンタル角度データINCと、補正後の第2絶対角度データabs−2とでは位相が一致する。そして、第2位相補正部115は、かかる補正後の第2絶対角度データabs−2を第1メモリ111に記憶保持(上書き)する。   In the second phase correction unit 115, the first phase correction detection result is the i-th (odd number) period in the third absolute angle data abs-3, and the second detection result by the second sensor unit 1b is the incremental angle data. For a period that is equal to or greater than the first threshold value TH1 in INC, as shown in FIG. 11C, the (((i + 1) / 2) -1) th cycle (n-1) in the second absolute angle data abs-2. The second absolute angle data abs-2 is corrected so that the second cycle). Accordingly, the phase of the incremental angle data INC and the corrected second absolute angle data abs-2 are the same. Then, the second phase correction unit 115 stores and holds (overwrites) the corrected second absolute angle data abs-2 in the first memory 111.

また、第2位相補正部115は、位相補正第1検出結果が第3絶対角度データabs−3における(i+1)番目(偶数番目)の周期であって、第2センサ部1bによる第2検出結果がインクリメンタル角度データINCにおける第2閾値TH2以下である期間については、図12(c)に示すように、第2絶対角度データabs−2における(((i+1)/2)+1)番目の周期(n+1番目の周期)となるように、第2絶対角度データabs−2を補正する。従って、インクリメンタル角度データINCと、補正後の第2絶対角度データabs−2とでは位相が一致する。そして、第2位相補正部115は、かかる補正後の第2絶対角度データabs−2を第1メモリ111に記憶保持(上書き)する。   In addition, the second phase correction unit 115 has the (i + 1) -th (even-numbered) period in the third absolute angle data abs-3, and the second detection result by the second sensor unit 1b. Is a second threshold TH2 or less in the incremental angle data INC, as shown in FIG. 12C, the (((i + 1) / 2) +1) -th cycle in the second absolute angle data abs-2 ( The second absolute angle data abs-2 is corrected so as to be (n + 1) th cycle). Accordingly, the phase of the incremental angle data INC and the corrected second absolute angle data abs-2 are the same. Then, the second phase correction unit 115 stores and holds (overwrites) the corrected second absolute angle data abs-2 in the first memory 111.

なお、角度位置決定部113は、絶対角度位置を決定する際に、第1メモリ111に記憶保持された第2絶対角度データabs−2を参照する。従って、第2位相補正部115によって第2絶対角度データabs−2が補正され、補正後の第2絶対角度データabs−2cが第1メモリ111に記憶保持されると、それ以降、角度位置決定部113は補正された第2絶対角度データabs−2cに基づいて絶対角度位置を決定する。   The angle position determination unit 113 refers to the second absolute angle data abs-2 stored and held in the first memory 111 when determining the absolute angle position. Accordingly, when the second absolute angle data abs-2 is corrected by the second phase correction unit 115 and the corrected second absolute angle data abs-2c is stored and held in the first memory 111, the angular position is determined thereafter. The unit 113 determines the absolute angle position based on the corrected second absolute angle data abs-2c.

(絶対角度位置取得動作)
次に、図13を参照して、絶対角度位置取得動作を説明する。絶対角度位置取得動作は前補正工程(ステップST1)と、絶対角度位置取得工程(ステップST2)とを備える。
(Absolute angular position acquisition operation)
Next, the absolute angular position acquisition operation will be described with reference to FIG. The absolute angle position acquisition operation includes a pre-correction step (step ST1) and an absolute angle position acquisition step (step ST2).

前補正工程(ステップST1)では、回転体2を回転させて、第1センサ部1aからの出力に基づいて1回転1周期の第1絶対角度データabs−1を取得するとともに、第2センサ部1bからの出力に基づいて、1回転N周期のインクリメンタル角度データINCを取得する(ステップST11)。   In the pre-correction step (step ST1), the rotating body 2 is rotated to acquire the first absolute angle data abs-1 for one rotation and one cycle based on the output from the first sensor unit 1a, and the second sensor unit Based on the output from 1b, incremental angle data INC for one rotation N period is acquired (step ST11).

次に、位相差取得部103が第1絶対角度データabs−1とインクリメンタル角度データINCとの位相差Δpを取得する(ステップST12:位相差取得工程)。位相差Δpが取得されると、変換絶対角度データ算出部104が、N周期分のインクリメンタル角度データINCを1回転の絶対角度データに変換したインクリメンタル信号変換絶対角度データINC-absを算出するとともに、第1位相補正部105が、位相差Δpに基づ
いて第1絶対角度データabs−1を補正して第1絶対角度データabs−1とインクリメンタル信号変換絶対角度データINC-absとの位相を合わせた位相補正第1絶対角度データabs−1pを生成する(ステップST13:変換絶対角度データ算出工程、第1位相補正工程)。
Next, the phase difference acquisition unit 103 acquires the phase difference Δp between the first absolute angle data abs-1 and the incremental angle data INC (step ST12: phase difference acquisition step). When the phase difference Δp is acquired, the converted absolute angle data calculating unit 104 calculates incremental signal converted absolute angle data INC-abs obtained by converting incremental angle data INC for N cycles into absolute angle data of one rotation, and The first phase correction unit 105 corrects the first absolute angle data abs-1 based on the phase difference Δp to match the phases of the first absolute angle data abs-1 and the incremental signal conversion absolute angle data INC-abs. Phase correction first absolute angle data abs-1p is generated (step ST13: conversion absolute angle data calculation step, first phase correction step).

その後、補正値取得部106がインクリメンタル信号変換絶対角度データINC-absと位相補正第1絶対角度データabs−1pとの差に基づいて補正値Δq1を取得する。また、補正値取得部106は、かかる補正値Δq1を角度位置と対応付けたテーブルの形態でメモリ102に記憶保持する。(ステップST14:補正値取得工程)。   Thereafter, the correction value acquisition unit 106 acquires the correction value Δq1 based on the difference between the incremental signal conversion absolute angle data INC-abs and the phase correction first absolute angle data abs-1p. Further, the correction value acquisition unit 106 stores and holds the correction value Δq1 in the memory 102 in the form of a table associated with the angular position. (Step ST14: Correction value acquisition step).

補正値Δq1が取得されると、相対誤差補正部107が、位相補正第1絶対角度データabs−1pを補正値Δq1および中間補正値Δq2で補正した誤差補正第1絶対角度データabs−1cを生成する(ステップST15:相対誤差補正工程)。   When the correction value Δq1 is acquired, the relative error correction unit 107 generates error correction first absolute angle data abs-1c obtained by correcting the phase correction first absolute angle data abs-1p with the correction value Δq1 and the intermediate correction value Δq2. (Step ST15: Relative error correction step).

ここで、補正値Δq1は、位相補正第1絶対角度データabs−1pに対するN周期分のインクリメンタル角度データINCの誤差成分なので、位相補正第1絶対角度データabs−1pを補正値Δq1および中間補正値Δq2で補正した誤差補正第1絶対角度データabs−1cは、インクリメンタル信号変換絶対角度データINC-abs(N周期分のインクリメンタル角度データINC)とほぼ同一の誤差成分を備えるものとなる。これにより、誤差補正第1絶対角度データabs−1cとインクリメンタル角度データINCとの間の相対的な誤差は無くなるか、或いは、抑制される。よって、次の絶対角度取得工程において、誤差補正第1絶対角度データとインクリメンタル角度データとに基づいて絶対角度位置を決定すれば、第1センサ部と第2センサ部との相対的な位置ずれ等に起因する検出低下を抑制できる。なお、前補正工程は、真の絶対角度に対して、2つのセンサ部1a、1bからの出力を補正するものではなく、2つのセンサ部1a、1bからの出力を一致させるための補正であるといえる。   Here, since the correction value Δq1 is an error component of the N angle incremental angle data INC with respect to the phase correction first absolute angle data abs-1p, the phase correction first absolute angle data abs-1p is used as the correction value Δq1 and the intermediate correction value. The error-corrected first absolute angle data abs-1c corrected by Δq2 has substantially the same error component as the incremental signal conversion absolute angle data INC-abs (N-cycle incremental angle data INC). Thereby, the relative error between the error correction first absolute angle data abs-1c and the incremental angle data INC is eliminated or suppressed. Therefore, in the next absolute angle acquisition step, if the absolute angle position is determined based on the error-corrected first absolute angle data and the incremental angle data, the relative positional deviation between the first sensor unit and the second sensor unit, etc. It is possible to suppress a decrease in detection due to. Note that the pre-correction step is not for correcting the outputs from the two sensor units 1a and 1b with respect to the true absolute angle, but for correcting the outputs from the two sensor units 1a and 1b. It can be said.

(絶対角度取得工程)
絶対角度取得工程(ステップST2)では、第2絶対角度データ生成部110が、誤差補正第1絶対角度データabs−1cを、第2磁石30の磁極対の数(N:2以上の正の整数)に内挿分割した第2絶対角度データabs−2を作成し、この第2絶対角度データabs−2を第1メモリ111に記憶保持する(ステップST21:第2絶対角度データ生成工程)。その後、回転体2を回転させて、第1センサ部1aからの第1検出結果(第1センサ部1aから出力される瞬間時の第1絶対角度データ)および第2センサ部1bからの第2検出結果(第2センサ部1bから出力される瞬間時のインクリメンタル角度データ)を得る。また、角度位置決定部113は、第1検出結果(第1センサ部1aから出力される瞬間時の第1絶対角度データ)を位相差Δpで補正した位相補正第1検出結果(瞬間時の位相補正第1絶対角度データ)を算出する。
(Absolute angle acquisition process)
In the absolute angle acquisition step (step ST2), the second absolute angle data generation unit 110 uses the error-corrected first absolute angle data abs-1c as the number of magnetic pole pairs of the second magnet 30 (N: a positive integer greater than or equal to 2). The second absolute angle data abs-2 interpolated into () is created, and the second absolute angle data abs-2 is stored and held in the first memory 111 (step ST21: second absolute angle data generation step). Thereafter, the rotating body 2 is rotated, the first detection result from the first sensor unit 1a (the first absolute angle data at the moment output from the first sensor unit 1a) and the second detection from the second sensor unit 1b. A detection result (incremental angle data at the moment output from the second sensor unit 1b) is obtained. Further, the angle position determination unit 113 corrects the first detection result (first absolute angle data at the moment output from the first sensor unit 1a) with the phase difference Δp (phase correction at the moment). Corrected first absolute angle data) is calculated.

ここで、第1判定部117および第2判定部118によって、第2絶対角度データabs−2の位相とインクリメンタル角度データINCの位相とがずれていると判定されていない場合(第2絶対角度データabs−2の位相とインクリメンタル角度データINCの位相とが一致している場合)には(ステップ22:位相比較工程、Yes)、角度位置決定部113は、位相補正第1検出結果が、第1メモリ111に記憶保持された第2絶対角度データabs−2のいずれの周期にあるかをデジタルデータの上位データとし、第2検出結果が第1メモリ111に記憶保持されたインクリメンタル角度データINCのいずれの位置に相当するかをデジタルデータの下位データとして、瞬間時の回転体2の絶対角度位置を決定する(ステップST23:角度位置決定工程)。   Here, when it is not determined by the first determination unit 117 and the second determination unit 118 that the phase of the second absolute angle data abs-2 and the phase of the incremental angle data INC are shifted (second absolute angle data If the phase of abs-2 and the phase of the incremental angle data INC match (step 22: phase comparison step, Yes), the angular position determination unit 113 indicates that the first phase correction detection result is the first. Which period of the second absolute angle data abs-2 stored and held in the memory 111 is used as the higher order data of the digital data, and which of the incremental angle data INC stored in the first memory 111 is the second detection result. The absolute angular position of the rotating body 2 at the moment is determined by using the low-order data of the digital data as a position corresponding to the position (step ST). 3: angular position determining step).

一方、第1判定部117が、第2絶対角度データabs−2の位相がインクリメンタル
角度データINCの位相より進んでいると判定した場合、或いは、第2判定部118が、第2絶対角度データabs−2の位相がインクリメンタル角度データINCの位相より遅れていると判定した場合には(ステップ22:位相比較工程、No)、第2位相補正部115が第2絶対角度データabs−2を補正して、第2絶対角度データabs−2の位相をインクリメンタル角度データINCの位相に一致させる。そして、補正後の第2絶対角度データabs−2を新たな第2絶対角度データabs−2として、第1メモリ111に記憶保持する(ステップST24:第2位相補正工程)。
On the other hand, when the first determination unit 117 determines that the phase of the second absolute angle data abs-2 is ahead of the phase of the incremental angle data INC, or the second determination unit 118 determines the second absolute angle data abs. -2 is delayed from the phase of the incremental angle data INC (step 22: phase comparison step, No), the second phase correction unit 115 corrects the second absolute angle data abs-2. Thus, the phase of the second absolute angle data abs-2 is made to coincide with the phase of the incremental angle data INC. Then, the corrected second absolute angle data abs-2 is stored and held in the first memory 111 as new second absolute angle data abs-2 (step ST24: second phase correction step).

その後、角度位置決定部113は、位相補正第1検出結果が、第1メモリ111に記憶保持された第2絶対角度データabs−2のいずれの周期にあるかをデジタルデータの上位データとし、第2検出結果が第1メモリ111に記憶保持されたインクリメンタル角度データINCのいずれの位置に相当するかをデジタルデータの下位データとして、瞬間時の回転体2の絶対角度位置を決定する(ステップST23:角度位置決定工程)。   After that, the angular position determination unit 113 uses the period of the second absolute angle data abs-2 stored and held in the first memory 111 as the higher order data of the digital data, and the first phase correction detection result is the first data. 2 The absolute angle position of the rotator 2 at the moment is determined using the position of the incremental angle data INC stored and held in the first memory 111 as the lower data of the digital data, which corresponds to the position of the detection result (step ST23: Angular position determination step).

(変形例)
なお、絶対角度取得工程の後に、絶対角度取得工程を経て検出された絶対角度位置を更に補正する後補正工程を備えることもできる。この場合には、予め、絶対角度取得工程を経て検出された絶対角度位置と、基準エンコーダーにより取得した基準絶対角度位置との誤差を取得して位置誤差データとしてメモリに記憶保持しておき、絶対角度取得工程を経て検出された絶対角度位置を、位置誤差データを用いて補正して、基準エンコーダーにより取得した基準絶対角度位置に一致させる。かかる後補正工程を行う後補正部は、メモリ(記憶部)と、絶対角度取得工程を経て検出された絶対角度位置と基準エンコーダーにより取得した基準絶対角度位置との誤差を取得して位置誤差データとしてメモリ(記憶部)に記憶保持する位置誤差データ記憶部と、絶対角度取得工程を経て検出された絶対角度位置を、位置誤差データを用いて補正して、基準エンコーダーにより取得した基準絶対角度位置に一致させる絶対角度位置補正部と、を備えるものとすることができる。
(Modification)
Note that a post-correction step of further correcting the absolute angle position detected through the absolute angle acquisition step may be provided after the absolute angle acquisition step. In this case, the error between the absolute angle position detected through the absolute angle acquisition step and the reference absolute angle position acquired by the reference encoder is acquired in advance and stored in the memory as position error data. The absolute angle position detected through the angle acquisition step is corrected using the position error data to match the reference absolute angle position acquired by the reference encoder. The post-correction unit that performs the post-correction step acquires error between the absolute angle position detected through the memory (storage unit) and the absolute angle acquisition step and the reference absolute angle position acquired by the reference encoder, and position error data As a reference absolute angle position obtained by correcting the absolute angle position detected through the absolute angle acquisition process using the position error data and storing it in the memory (storage part) And an absolute angle position correction unit that matches the above.

(その他の実施の形態)
上記実施形態の磁気式のロータリエンコーダでは、第1センサ部1aおよび第2センサ部1bの第2検出結果に磁石と磁気抵抗素子とを用いたが、第1センサ部1aおよび第2センサ部1bの第2検出結果の一方あるいは双方をレゾルバによって構成した場合に本発明を適用してもよい。
(Other embodiments)
In the magnetic rotary encoder of the above embodiment, a magnet and a magnetoresistive element are used as the second detection result of the first sensor unit 1a and the second sensor unit 1b. However, the first sensor unit 1a and the second sensor unit 1b are used. The present invention may be applied when one or both of the second detection results are configured by a resolver.

上記実施形態のロータリエンコーダは、磁気式であったが、光学式のロータリエンコーダに本発明を適用してもよい。   Although the rotary encoder of the above embodiment is magnetic, the present invention may be applied to an optical rotary encoder.

1・・・ロータリエンコーダ
1a・・・第1センサ部
1b・・・第2センサ部
20・・・第1磁石
30・・・第2磁石
40・・・第1磁気抵抗素子
51・・・第1ホール素子
52・・・第2ホール素子
60・・・第2磁気抵抗素子
101・・・絶対角度取得部
102・・・メモリ(記憶部)
103・・・位相差取得部
104・・・変換絶対角度データ算出部
105・・・第1位相補正部
106・・・補正値取得部
107・・・相対誤差補正部
110・・・第2絶対角度データ生成部
113・・・角度位置決定部
114・・・位相比較部
115・・・位相補正部
abs-1・・・第1絶対角度データ
INC・・・インクリメンタル角度データ
INC−abs・・・インクリメンタル信号変換絶対角度データ
L・・・回転中心軸方向
Δp・・・位相差
Δq1・・・補正値
Δq2・・・中間補正値
DESCRIPTION OF SYMBOLS 1 ... Rotary encoder 1a ... 1st sensor part 1b ... 2nd sensor part 20 ... 1st magnet 30 ... 2nd magnet 40 ... 1st magnetoresistive element 51 ... 1st 1 Hall element 52 ... 2nd Hall element 60 ... 2nd magnetoresistive element 101 ... Absolute angle acquisition part 102 ... Memory (storage part)
103 ... Phase difference acquisition unit 104 ... Conversion absolute angle data calculation unit 105 ... First phase correction unit 106 ... Correction value acquisition unit 107 ... Relative error correction unit 110 ... Second absolute Angle data generation unit 113 ... angular position determination unit 114 ... phase comparison unit 115 ... phase correction unit abs-1 ... first absolute angle data INC ... incremental angle data INC-abs ... Incremental signal conversion absolute angle data L: rotation center axis direction Δp: phase difference Δq1: correction value Δq2: intermediate correction value

Claims (12)

第1センサ部と、第2センサ部とを備え、前記第1センサ部において1回転1周期の第1絶対角度データを取得するとともに、前記第2センサ部において、Nを2以上の正の整数としたときに1回転N周期のインクリメンタル角度データを取得し、前記第1センサ部からの第1検出結果および前記第2センサ部からの第2検出結果に基づいて絶対角度位置を検出するロータリエンコーダにおいて、
前記第1絶対角度データと前記インクリメンタル角度データとの位相差を取得する位相差取得部と、
N周期分の前記インクリメンタル角度データを1回転の絶対角度データに変換したインクリメンタル信号変換絶対角度データを算出する変換絶対角度データ算出部と、
前記位相差に基づいて前記第1絶対角度データを補正して前記第1絶対角度データの位相を前記インクリメンタル信号変換絶対角度データの位相に一致させた位相補正第1絶対角度データを生成する第1位相補正部と、
前記インクリメンタル信号変換絶対角度データと前記位相補正第1絶対角度データとの差に基づいて補正値を取得する補正値取得部と、
前記位相補正第1絶対角度データを前記補正値で補正した誤差補正第1絶対角度データを生成する相対誤差補正部と、
前記第1検出結果、前記第2検出結果、前記位相差、前記誤差補正第1絶対角度データ、および、前記インクリメンタル角度データに基づいて絶対角度を取得する絶対角度取得部と、
を備えることを特徴とするロータリエンコーダ。
A first sensor unit and a second sensor unit, wherein the first sensor unit acquires first absolute angle data of one rotation and one period, and in the second sensor unit, N is a positive integer of 2 or more A rotary encoder that acquires incremental angle data of one rotation N period and detects an absolute angle position based on a first detection result from the first sensor unit and a second detection result from the second sensor unit In
A phase difference acquisition unit for acquiring a phase difference between the first absolute angle data and the incremental angle data;
A converted absolute angle data calculating unit for calculating incremental signal converted absolute angle data obtained by converting the incremental angle data for N cycles into absolute angle data for one rotation;
The first absolute angle data is corrected based on the phase difference to generate phase corrected first absolute angle data in which the phase of the first absolute angle data is matched with the phase of the incremental signal conversion absolute angle data. A phase correction unit;
A correction value acquisition unit that acquires a correction value based on a difference between the incremental signal conversion absolute angle data and the phase correction first absolute angle data;
A relative error correction unit that generates error correction first absolute angle data obtained by correcting the phase correction first absolute angle data with the correction value;
An absolute angle acquisition unit that acquires an absolute angle based on the first detection result, the second detection result, the phase difference, the error correction first absolute angle data, and the incremental angle data;
A rotary encoder comprising:
請求項1において、
前記補正値取得部は、前記インクリメンタル信号変換絶対角度データから前記位相補正第1絶対角度データを減算して前記補正値を取得し、
前記相対誤差補正部は、前記位相補正第1絶対角度データに前記補正値を加算して前記誤差補正第1絶対角度データとすることを特徴とするロータリエンコーダ。
In claim 1,
The correction value acquisition unit acquires the correction value by subtracting the phase correction first absolute angle data from the incremental signal conversion absolute angle data,
The relative error correction unit adds the correction value to the phase correction first absolute angle data to obtain the error correction first absolute angle data.
請求項1において、
前記補正値取得部は、前記位相補正第1絶対角度データから前記インクリメンタル信号変換絶対角度データを減算して前記補正値を取得し、
前記相対誤差補正部は、前記位相補正第1絶対角度データから前記補正値を減算して前記誤差補正第1絶対角度データとすることを特徴とするロータリエンコーダ。
In claim 1,
The correction value acquisition unit acquires the correction value by subtracting the incremental signal conversion absolute angle data from the phase correction first absolute angle data,
The relative error correction unit subtracts the correction value from the phase correction first absolute angle data to obtain the error correction first absolute angle data.
請求項1から3のうちのいずれかの項において、
さらに、記憶部を備え、
前記補正値取得部は、1回転1周期中の複数の角度位置における前記補正値を取得し、各角度位置と当該角度位置において取得した補正値とを関連付けて前記記憶部に記憶保持し、
前記相対誤差補正部は、隣り合う2つの前記角度位置のそれぞれで取得されている前記補正値に基づいて当該2つの角度位置の間の中間角度位置の中間補正値を算出するとともに、前記補正値として前記記憶部に記憶保持されている前記補正値と前記中間補正値とを用いて前記位相補正第1絶対角度データを補正することを特徴とするロータリエンコーダ。
In any one of claims 1 to 3,
Furthermore, a storage unit is provided,
The correction value acquisition unit acquires the correction values at a plurality of angular positions in one rotation and one cycle, associates each angular position with the correction values acquired at the angular position, and stores and holds them in the storage unit.
The relative error correction unit calculates an intermediate correction value of an intermediate angular position between the two angular positions based on the correction value acquired at each of the two adjacent angular positions, and the correction value A rotary encoder that corrects the phase correction first absolute angle data using the correction value and the intermediate correction value that are stored and held in the storage unit.
請求項1から4のうちのいずれか一項において、
前記絶対角度取得部は、
前記誤差補正第1絶対角度データがN個に内挿分割された第2絶対角度データを生成する第2絶対角度データ生成部と、
前記第2絶対角度データの位相と前記インクリメンタル角度データの位相とを比較する位相比較部と、
前記位相比較部での比較結果において前記第2絶対角度データの位相と前記インクリメンタル角度データの位相とがずれているときに前記第2絶対角度データを補正する位相補正部と、
前記第1検出結果を前記位相差で補正した位相補正第1検出結果、前記第2検出結果、前記第2絶対角度データ、および、前記インクリメンタル角度データに基づいて、回転体の絶対角度位置を決定する角度位置決定部と、
を備えることを特徴とするロータリエンコーダ。
In any one of claims 1 to 4,
The absolute angle acquisition unit
A second absolute angle data generating unit that generates second absolute angle data in which the error-corrected first absolute angle data is interpolated into N pieces;
A phase comparator that compares the phase of the second absolute angle data with the phase of the incremental angle data;
A phase correction unit that corrects the second absolute angle data when the phase of the second absolute angle data is shifted from the phase of the incremental angle data in the comparison result of the phase comparison unit;
The absolute angle position of the rotating body is determined based on the phase detection first detection result obtained by correcting the first detection result with the phase difference, the second detection result, the second absolute angle data, and the incremental angle data. An angular position determination unit to perform,
A rotary encoder comprising:
請求項1から5のうちのいずれか一項において、
前記第1センサ部は、回転中心軸周りにN極とS極とが1つずつ配置された第1磁石と、前記第1磁石の回転中心軸線方向で対向する第1磁気抵抗素子と、前記第1磁石に対向する第1ホール素子と、前記第1磁石に対向するとともに前記第1ホール素子に対して前記回転中心軸線回りに機械角で90°ずれた位置に配置された第2ホール素子と、を備え、
前記第2センサ部は、前記回転中心軸周りに複数極対が配置された第2磁石と、前記第2磁石に対向する第2磁気抵抗素子と、を備えることを特徴とするロータリエンコーダ。
In any one of claims 1 to 5,
The first sensor unit includes a first magnet in which one N pole and one S pole are arranged around a rotation center axis, a first magnetoresistive element facing in the rotation center axis direction of the first magnet, A first Hall element that faces the first magnet, and a second Hall element that faces the first magnet and is positioned at a mechanical angle of 90 ° around the rotation center axis with respect to the first Hall element. And comprising
The second sensor unit includes a second magnet having a plurality of pole pairs arranged around the rotation center axis, and a second magnetoresistive element facing the second magnet.
第1センサ部と、第2センサ部とを備え、前記第1センサ部において1回転1周期の第1絶対角度データを取得するとともに、前記第2センサ部において、Nを2以上の正の整数としたときに1回転N周期のインクリメンタル角度データを取得しておき、前記第1センサ部からの第1検出結果および前記第2センサ部からの第2検出結果に基づいて絶対角度位置を検出するロータリエンコーダの絶対角度位置検出方法において、
前記第1絶対角度データと前記インクリメンタル角度データとの位相差を取得する位相差取得工程と、
N周期分の前記インクリメンタル角度データを1回転の絶対角度データに変換したインクリメンタル信号変換絶対角度データを算出する変換絶対角度データ算出工程と、
前記位相差に基づいて前記第1絶対角度データを補正して前記第1絶対角度データの位相を前記インクリメンタル信号変換絶対角度データの位相に一致させた位相補正第1絶対角度データを生成する第1位相補正工程と、
前記インクリメンタル信号変換絶対角度データと前記位相補正第1絶対角度データとの差に基づいて補正値を取得する補正値取得工程と、
前記位相補正第1絶対角度データを前記補正値で補正した誤差補正第1絶対角度データを生成する相対誤差補正工程と、
前記第1検出結果、前記第2検出結果、前記位相差、前記誤差補正第1絶対角度データ、および、前記インクリメンタル角度データに基づいて絶対角度を取得する絶対角度取得工程と、
を備えることを特徴とするロータリエンコーダの絶対角度位置検出方法。
A first sensor unit and a second sensor unit, wherein the first sensor unit acquires first absolute angle data of one rotation and one period, and in the second sensor unit, N is a positive integer of 2 or more Incremental angle data of one rotation N period is acquired, and the absolute angle position is detected based on the first detection result from the first sensor unit and the second detection result from the second sensor unit. In the absolute angular position detection method of the rotary encoder,
A phase difference acquisition step of acquiring a phase difference between the first absolute angle data and the incremental angle data;
A converted absolute angle data calculating step of calculating incremental signal converted absolute angle data obtained by converting the incremental angle data of N cycles into absolute angle data of one rotation;
The first absolute angle data is corrected based on the phase difference to generate phase corrected first absolute angle data in which the phase of the first absolute angle data is matched with the phase of the incremental signal conversion absolute angle data. A phase correction process;
A correction value acquisition step of acquiring a correction value based on a difference between the incremental signal conversion absolute angle data and the phase correction first absolute angle data;
A relative error correction step of generating error correction first absolute angle data obtained by correcting the phase correction first absolute angle data with the correction value;
An absolute angle acquisition step of acquiring an absolute angle based on the first detection result, the second detection result, the phase difference, the error correction first absolute angle data, and the incremental angle data;
An absolute angular position detection method for a rotary encoder, comprising:
請求項7において、
前記補正値取得工程では、前記インクリメンタル信号変換絶対角度データから前記位相補正第1絶対角度データを減算して前記補正値を取得し、
前記相対誤差補正工程では、前記位相補正第1絶対角度データに前記補正値を加算して前記誤差補正第1絶対角度データとすることを特徴とするロータリエンコーダの絶対角度位置検出方法。
In claim 7,
In the correction value acquisition step, the correction value is acquired by subtracting the phase correction first absolute angle data from the incremental signal conversion absolute angle data,
In the relative error correction step, the absolute value of the rotary encoder is detected by adding the correction value to the phase correction first absolute angle data to obtain the error correction first absolute angle data.
請求項7において、
前記補正値取得工程では、前記位相補正第1絶対角度データから前記インクリメンタル信号変換絶対角度データを減算して前記補正値を取得し、
前記相対誤差補正工程では、前記位相補正第1絶対角度データから前記補正値を減算して前記誤差補正第1絶対角度データとすることを特徴とするロータリエンコーダの絶対角度位置検出方法。
In claim 7,
In the correction value acquiring step, the correction value is acquired by subtracting the incremental signal conversion absolute angle data from the phase correction first absolute angle data;
In the relative error correction step, an absolute angle position detection method for a rotary encoder, wherein the correction value is subtracted from the phase correction first absolute angle data to obtain the error correction first absolute angle data.
請求項7から9のうちのいずれか一項において、
前記補正値取得工程は、1回転1周期中の複数の角度位置における前記補正値を取得し、各角度位置と当該角度位置において取得した補正値とを関連付けて記憶部に記憶保持し、
前記相対誤差補正工程は、隣り合う2つの前記角度位置のそれぞれで取得されている前記補正値に基づいて当該2つの角度位置の間の中間角度位置の中間補正値を算出するとともに、前記補正値として前記記憶部に記憶保持されている前記補正値と前記中間補正値とを用いて前記位相補正第1絶対角度データを補正することを特徴とするロータリエンコーダの絶対角度位置検出方法。
In any one of claims 7 to 9,
The correction value acquisition step acquires the correction values at a plurality of angular positions in one rotation and one cycle, associates each angular position with the correction values acquired at the angular position, and stores and holds them in the storage unit;
The relative error correction step calculates an intermediate correction value of an intermediate angular position between the two angular positions based on the correction value acquired at each of the two adjacent angular positions, and the correction value A method of detecting an absolute angular position of a rotary encoder, wherein the phase correction first absolute angle data is corrected using the correction value and the intermediate correction value stored and held in the storage unit.
請求項7から10のうちのいずれか一項において、
前記絶対角度取得工程は、
前記誤差補正第1絶対角度データがN個に内挿分割された第2絶対角度データを生成する第2絶対角度データ生成工程と、
前記第2絶対角度データの位相と前記インクリメンタル角度データの位相とを比較する位相比較工程と、
前記位相比較工程での比較結果において前記第2絶対角度データの位相と前記インクリメンタル角度データの位相とがずれているときに前記第2絶対角度データを補正する第2位相補正工程と、
前記第1検出結果を前記位相差で補正した位相補正第1検出結果、前記第2検出結果、前記第2絶対角度データ、および、前記インクリメンタル角度データに基づいて、回転体の絶対角度位置を決定する角度位置決定工程と、
を備えることを特徴とするロータリエンコーダの絶対角度位置検出方法。
In any one of claims 7 to 10,
The absolute angle acquisition step includes
A second absolute angle data generation step of generating second absolute angle data in which the error correction first absolute angle data is interpolated into N pieces;
A phase comparison step of comparing the phase of the second absolute angle data with the phase of the incremental angle data;
A second phase correction step of correcting the second absolute angle data when the phase of the second absolute angle data is shifted from the phase of the incremental angle data in the comparison result in the phase comparison step;
The absolute angle position of the rotating body is determined based on the phase detection first detection result obtained by correcting the first detection result with the phase difference, the second detection result, the second absolute angle data, and the incremental angle data. An angular position determination step,
An absolute angular position detection method for a rotary encoder, comprising:
請求項7から11のうちのいずれか一項において、
前記第1センサ部は、回転中心軸周りにN極とS極とが1つずつ配置された第1磁石と、前記第1磁石の回転中心軸線方向で対向する第1磁気抵抗素子と、前記第1磁石に対向する第1ホール素子と、前記第1磁石に対向するとともに前記第1ホール素子に対して前記回転中心軸線回りに機械角で90°ずれた位置に配置された第2ホール素子と、を備え、
前記第2センサ部は、前記回転中心軸周りに複数極対が配置された第2磁石と、前記第2磁石に対向する第2磁気抵抗素子と、を備えることを特徴とするロータリエンコーダの絶対角度位置検出方法。
In any one of claims 7 to 11,
The first sensor unit includes a first magnet in which one N pole and one S pole are arranged around a rotation center axis, a first magnetoresistive element facing in the rotation center axis direction of the first magnet, A first Hall element that faces the first magnet, and a second Hall element that faces the first magnet and is positioned at a mechanical angle of 90 ° around the rotation center axis with respect to the first Hall element. And comprising
The absolute encoder of the rotary encoder, wherein the second sensor unit includes: a second magnet having a plurality of pole pairs arranged around the rotation center axis; and a second magnetoresistive element facing the second magnet. Angular position detection method.
JP2016183736A 2016-09-21 2016-09-21 Rotary encoder and absolute angle position detection method for rotary encoder Active JP6769799B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2016183736A JP6769799B2 (en) 2016-09-21 2016-09-21 Rotary encoder and absolute angle position detection method for rotary encoder
TW106128531A TW201825871A (en) 2016-09-21 2017-08-23 Rotary encoder and absolute angle position detecting method of rotary encoder
KR1020170117647A KR102328288B1 (en) 2016-09-21 2017-09-14 Rotary encoder and absolute angle position detecting method of rotary encoder
CN201710851546.1A CN107860404B (en) 2016-09-21 2017-09-19 Rotary encoder and absolute angle position detection method for rotary encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016183736A JP6769799B2 (en) 2016-09-21 2016-09-21 Rotary encoder and absolute angle position detection method for rotary encoder

Publications (2)

Publication Number Publication Date
JP2018048874A true JP2018048874A (en) 2018-03-29
JP6769799B2 JP6769799B2 (en) 2020-10-14

Family

ID=61699485

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016183736A Active JP6769799B2 (en) 2016-09-21 2016-09-21 Rotary encoder and absolute angle position detection method for rotary encoder

Country Status (4)

Country Link
JP (1) JP6769799B2 (en)
KR (1) KR102328288B1 (en)
CN (1) CN107860404B (en)
TW (1) TW201825871A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020034273A (en) * 2018-08-27 2020-03-05 キヤノン株式会社 Position detecting device, device including the same, position detecting method, and computer program

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7114315B2 (en) * 2018-04-19 2022-08-08 日本電産サンキョー株式会社 encoder
CN110567363A (en) * 2019-10-17 2019-12-13 厦门市计量检定测试院 angle detection device and detection method thereof
JP7517927B2 (en) * 2020-09-25 2024-07-17 ニデックインスツルメンツ株式会社 Encoders and Motors
CN116868029A (en) 2020-12-18 2023-10-10 德州仪器公司 Capacitive Sensing Rotary Encoder
CN119343582A (en) * 2022-06-14 2025-01-21 深圳引望智能技术有限公司 Angle sensor calibration method and sensing system
CN120359392A (en) * 2022-12-19 2025-07-22 台达电子株式会社 Magnetic rotary encoder and standby control method thereof

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09229719A (en) * 1996-02-27 1997-09-05 Mitsubishi Electric Corp Absolute position detector
DE10049502A1 (en) * 2000-10-06 2002-04-11 Heidenhain Gmbh Dr Johannes Method and device for absolute position determination
JP2006220530A (en) * 2005-02-10 2006-08-24 Matsushita Electric Ind Co Ltd Absolute rotation angle detector
US8368392B2 (en) * 2007-04-24 2013-02-05 Harmonic Drive Systems Inc. Magnetic encoder and method of detecting absolute rotational position
JP5170046B2 (en) * 2009-09-18 2013-03-27 株式会社安川電機 Rotary encoder, rotary motor, rotary motor system, disk, and method for manufacturing rotary encoder
JP5666886B2 (en) * 2010-11-22 2015-02-12 日本電産サンキョー株式会社 Rotary encoder
JP5833878B2 (en) * 2011-10-05 2015-12-16 株式会社ミツトヨ Absolute length encoder
JP5956207B2 (en) * 2012-03-19 2016-07-27 山洋電気株式会社 Encoder
EP2711663B1 (en) * 2012-09-25 2015-11-04 Vishay MCB Industrie High-precision device for magnetic and/or electromagnetic measurement of an angular position of a point
JP6313571B2 (en) * 2013-11-12 2018-04-18 キヤノン株式会社 POSITION DETECTION DEVICE AND LENS DEVICE AND PHOTOGRAPHING DEVICE HAVING THE SAME
JP2015094682A (en) * 2013-11-13 2015-05-18 キヤノン株式会社 Encoder, device with encoder, position detection method, and position detection processing program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020034273A (en) * 2018-08-27 2020-03-05 キヤノン株式会社 Position detecting device, device including the same, position detecting method, and computer program

Also Published As

Publication number Publication date
JP6769799B2 (en) 2020-10-14
KR102328288B1 (en) 2021-11-19
CN107860404B (en) 2020-03-27
TW201825871A (en) 2018-07-16
KR20180032178A (en) 2018-03-29
CN107860404A (en) 2018-03-30

Similar Documents

Publication Publication Date Title
JP6649018B2 (en) Rotary encoder and method for detecting absolute angular position of rotary encoder
KR102328288B1 (en) Rotary encoder and absolute angle position detecting method of rotary encoder
US10775200B2 (en) Rotary encoder and absolute angular position detection method thereof
US10775201B2 (en) Rotary encoder and absolute angular position detection method thereof
TWI650528B (en) Rotation angle detecting device and rotation angle detecting method
JP5081553B2 (en) Rotation detection device and bearing with rotation detection device
JP5613839B2 (en) Method and apparatus for absolute positioning of a moving object
KR102195533B1 (en) Rotary encoder and angle correction method of rotary encoder
US10989568B2 (en) Position detection device and position detection method
KR20160059958A (en) Encoder and method of calculating rotational angle position
CN108426587B (en) Rotary encoder
US11637482B2 (en) Magnetic sensor system for motor control
JP2018132356A (en) Rotary encoder
JP7114315B2 (en) encoder
JP6877169B2 (en) Rotary encoder
JP2009069092A (en) Rotation detector and bearing with rotation detector
TWI683990B (en) Encoder
JP2012189350A (en) Encoder device and correction method for encoder device
JP6377335B2 (en) Data detection method and detection device in detection device
WO2024143256A1 (en) Angle detecting device
JP2024054797A (en) Rotation angle detection device, rotation angle detection method and rotation angle detection program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190808

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200828

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20200908

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200924

R150 Certificate of patent or registration of utility model

Ref document number: 6769799

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150