JP2007218667A - エンコーダのオフセット補正回路 - Google Patents
エンコーダのオフセット補正回路 Download PDFInfo
- Publication number
- JP2007218667A JP2007218667A JP2006037833A JP2006037833A JP2007218667A JP 2007218667 A JP2007218667 A JP 2007218667A JP 2006037833 A JP2006037833 A JP 2006037833A JP 2006037833 A JP2006037833 A JP 2006037833A JP 2007218667 A JP2007218667 A JP 2007218667A
- Authority
- JP
- Japan
- Prior art keywords
- value
- phase
- offset
- conversion
- encoder
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D5/00—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
- G01D5/12—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
- G01D5/244—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing characteristics of pulses or pulse trains; generating pulses or pulse trains
- G01D5/24471—Error correction
- G01D5/2448—Correction of gain, threshold, offset or phase control
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Transmission And Conversion Of Sensor Element Output (AREA)
- Analogue/Digital Conversion (AREA)
Abstract
【解決手段】位相が90度異なる第1相(A)と第2相(B)の信号を同一タイミングでサンプリングし、A/D変換したデジタル信号に基づき角度信号を検出するエンコーダで、第1相のA/D変換値(AD)が第1値(XA)の近傍の場合の第2の相のA/D変換値(BD)を用いて第2相(B)のオフセット値(Bofs)を求め、第2相のA/D変換値(BD)が第2値(XB)の近傍の場合の第1相のA/D変換値(AD)を用いて第1相(A)のオフセット値(Aofs)を求め、次回の第1及び第2オフセット値(Aofs)(Bofs)の算出時に、第1値(XA)には今回求めた第1オフセット値(Aofs)を用い、第2値(XB)には今回求めた第2オフセット値(Bofs)を用いるオフセット検出回路と、第1及び第2オフセット値(Aofs)(Bofs)を用いて第1及び第2相信号のオフセットを補正する。
【選択図】図6
Description
(Ap’+An’)/2={(Ap−ΔAp)+(An−ΔAn)}/2
=(Ap+An)/2−(ΔAp+ΔAn)/2
まず、図4の状態では問題がない。
図4の(a)はB相のオフセットが0の時のB相のゼロクロス点に対応するA相のサンプリング値のA/D変換値Apとそのオフセット値が−ΔApである場合のB相のゼロクロス点に対応するA相のサンプリング値のA/D変換値Ap’とを示すグラフであり、図4の(b)はB相のオフセットが0の時のB相のゼロクロス点に対応するA相のサンプリング値のA/D変換値Anとそのオフセット値が−ΔAnである場合のB相のゼロクロス点に対応するA相のサンプリング値のA/D変換値Ap’とを示すグラフである。この場合は、オフセット値−ΔAp及び−ΔAnが小さいので、
−ΔAp+(−ΔA)≒0
(Ap’+An’)/2≒(Ap+An)/2
となり、全体としてのオフセット値はオフセットがない場合にほぼ等しくなる。
同様にして、A相のゼロクロス近傍でのB相のサンプリング値のA/D変換値Bpとオフセット値ΔBp及びΔBnが比較的小さい場合には、
ΔBp+ΔBn≒0
(Bp’+Bn’)/2≒(Bp+Bn)/2
となり、全体としてのオフセット値はオフセットがない場合にほぼ等しくなる。
このように、両方の相でオフセット値が小さい場には、特に問題はない。
ΔAp+ΔAn≠0
(Ap’+An’)/2=(Ap+An)/2−α
同様に、B相におけるオフセット値が大きい場合にも、平均値としてのオフセット値に大きな誤差を含んでしまう。
本発明の目的は、上記従来技術における問題に鑑み、サンプリング周期の長さやオフセットの大きさに関わらず、正しいオフセット量を得ることが可能なエンコーダのオフセット補正回路を提供することにある。
その為、計算を繰り返すにつれ、算出したオフセット値が正しい値へと近づいていくという効果が得られる。
図7の(a)から(c)はそれぞれ時刻t=0、t=t1、t=t2の状態でのオフセット検出動作を説明するための図である。ここで、時刻tは0<t1<t2である。図からわかるように、t=0ではXAは比較的低い値であるが、t=1、t=2になると次第に高い値になっている。また、t=0ではXBも比較的低い値であるが、t=1、t=2になると次第に高い値になっている。これらの値XA、XBの変化に応じてサンプリング値Ap’,An’,Bp’、Bn’も時刻とともに変化している。
オフセット検出回路は、第1の相のA/D変換値ADが第1の値XAの近傍のしきい値で設定される範囲内にある場合における、B相の正のA/D変換値Bp’とB相の負のA/D変換値Bn’との平均値を演算し、その平均値をB相のオフセット値として検出する。第2の相のA/D変換値BDが第2の値XBの近傍のしきい値で設定される範囲内にある場合における、A相の正のA/D変換値Ap’とA相の負のA/D変換値An’との平均値を演算し、その平均値をA相のオフセット値として検出する。
オフセット値は、複数の正のA/D変換値と複数の負のA/D変換値から算出した値である。
平均値を求める為の正のA/D変換値と負のA/D変換値は、交互に更新する。
減算回路は、オフセット検出回路が検出したオフセット値を用いて、A相及びB相のA/D変換値に含まれるオフセットを補償する補償回路である。
61A,61B A/D変換器
62A,62B オフセット検出回路
63A,63B 減算回路
64 角度検出回路
Claims (6)
- 位相が相互にほぼ90度異なる第1の相の信号及び第2の相の信号を同一タイミングでサンプリングし、A/D変換して得られるデジタル信号に基づいて角度信号を検出するエンコーダにおいて、前記第1の相のA/D変換値が第1の値の近傍の場合の前記第2の相のA/D変換値を用いて前記第2の相のオフセット値(Bofs)を求め、前記第2の相のA/D変換値が第2の値の近傍の場合の前記第1の相のA/D変換値を用いて前記第1の相のオフセット値(Aofs)を求め、次回の前記第1のオフセット値(Aofs)及び前記第2のオフセット値(Bofs)を算出する時に、前記第1の値には今回求めた前記第1のオフセット値(Aofs)を用い、前記第2の値には今回求めた前記第2のオフセット値(Bofs)を用いるオフセット検出回路と、前記第1のオフセット値(Aofs)及び前記第2のオフセット値(Bofs)を用いて前記第1の相信号及び前記第2の相信号のオフセットを補正する補正回路とを備えた事を特徴とするエンコーダのオフセット補正回路。
- 前記オフセット検出回路は、前記第1の値、前記第2の値の初期値を零とする事を特徴とする請求項1記載のエンコーダのオフセット補正回路。
- 前記オフセット検出回路は、前記第1の相のA/D変換値が前記第1の値の近傍のしきい値で設定される範囲内にある場合における、前記第2の相の正のA/D変換値と前記第2の相の負のA/D変換値との平均値を演算し、該平均値を前記第2の相のオフセット値として検出する事と、前記第2の相のA/D変換値が前記第2の値の近傍のしきい値で設定される範囲内にある場合における、前記第1の相の正のA/D変換値と前記第1の相の負のA/D変換値との平均値を演算し、該平均値を前記第1の相のオフセット値として検出する事とを特徴とする請求項1および請求項2記載のエンコーダのオフセット補正回路。
- 前記オフセット値は、複数の正のA/D変換値と複数の負のA/D変換値から算出した値である事を特徴とする請求項3記載のエンコーダのオフセット補正回路。
- 平均値を求める為の前記正のA/D変換値と負のA/D変換値は、交互に更新する事を特徴とする請求項4記載のエンコーダのオフセット補正回路。
- 前記補正回路は、前記第1の相及び前記第2の相のいずれか一方の相のA/D変換値から、前記オフセット検出回路で求めた一方の相のオフセット値を減算する減算回路であることを特徴とする、請求項1から5のいずれか一項記載のエンコーダのオフセット補正回路。
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006037833A JP2007218667A (ja) | 2006-02-15 | 2006-02-15 | エンコーダのオフセット補正回路 |
EP07002838A EP1821074A2 (en) | 2006-02-15 | 2007-02-09 | Offset correction circuit of encoder |
US11/705,425 US20070189421A1 (en) | 2006-02-15 | 2007-02-13 | Offset correction circuit of encoder |
CNA2007100791652A CN101021423A (zh) | 2006-02-15 | 2007-02-14 | 编码器的偏移补偿电路 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006037833A JP2007218667A (ja) | 2006-02-15 | 2006-02-15 | エンコーダのオフセット補正回路 |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007218667A true JP2007218667A (ja) | 2007-08-30 |
Family
ID=38091734
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006037833A Pending JP2007218667A (ja) | 2006-02-15 | 2006-02-15 | エンコーダのオフセット補正回路 |
Country Status (4)
Country | Link |
---|---|
US (1) | US20070189421A1 (ja) |
EP (1) | EP1821074A2 (ja) |
JP (1) | JP2007218667A (ja) |
CN (1) | CN101021423A (ja) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5917801B2 (ja) * | 2010-03-25 | 2016-05-18 | ローム株式会社 | モータ駆動回路およびそれを用いた冷却装置、電子機器 |
JP6235505B2 (ja) * | 2015-02-27 | 2017-11-22 | ファナック株式会社 | 自動調整機能を有するエンコーダの信号処理装置 |
JP7239349B2 (ja) * | 2019-02-28 | 2023-03-14 | ラピスセミコンダクタ株式会社 | オフセット算出装置、オフセット補正装置及びオフセット算出方法 |
JP2021039401A (ja) * | 2019-08-30 | 2021-03-11 | ファナック株式会社 | 数値制御装置 |
TWI730564B (zh) | 2019-12-26 | 2021-06-11 | 財團法人工業技術研究院 | 編碼器及利用該編碼器的訊號處理方法 |
TWI717230B (zh) * | 2020-03-12 | 2021-01-21 | 新代科技股份有限公司 | 機台編碼器安裝偏移的修正方法 |
DE102021105880A1 (de) * | 2021-03-11 | 2022-09-15 | Infineon Technologies Ag | Drehwinkelsensorvorrichtung und Verfahren zum Bestimmen eines Drehwinkels sowie Steuervorrichtung für einen Elektromotor |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3705400A (en) * | 1970-12-24 | 1972-12-05 | Warner Swasey Co | Error-compensated position determining |
JP3026949B2 (ja) * | 1997-05-12 | 2000-03-27 | ファナック株式会社 | エンコーダのオフセット補正回路 |
JP4270128B2 (ja) * | 2003-04-11 | 2009-05-27 | 三菱電機株式会社 | 回転型エンコーダ |
-
2006
- 2006-02-15 JP JP2006037833A patent/JP2007218667A/ja active Pending
-
2007
- 2007-02-09 EP EP07002838A patent/EP1821074A2/en not_active Withdrawn
- 2007-02-13 US US11/705,425 patent/US20070189421A1/en not_active Abandoned
- 2007-02-14 CN CNA2007100791652A patent/CN101021423A/zh active Pending
Also Published As
Publication number | Publication date |
---|---|
EP1821074A2 (en) | 2007-08-22 |
CN101021423A (zh) | 2007-08-22 |
US20070189421A1 (en) | 2007-08-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2007218667A (ja) | エンコーダのオフセット補正回路 | |
JP4301913B2 (ja) | モータ制御装置 | |
JP4453758B2 (ja) | エンコーダ信号の位相補正回路 | |
EP3239661B1 (en) | Resolver device | |
JP5249158B2 (ja) | エンコーダーのオフセット値補正方法 | |
JP2014025900A (ja) | 補正値導出装置、変位量導出装置、制御装置、および補正値導出方法 | |
JP2017151061A (ja) | 内挿方法及び内挿装置 | |
JP3026949B2 (ja) | エンコーダのオフセット補正回路 | |
JP5115419B2 (ja) | 光学式エンコーダ | |
WO2014061380A1 (ja) | 位置検出装置 | |
JP2007178170A (ja) | エンコーダの内挿装置 | |
US6950769B2 (en) | Encoder signal interpolation divider | |
JP5190644B2 (ja) | エンコーダの誤差補正方法 | |
JP2003121135A (ja) | リニヤスケールの読出装置 | |
JP5376338B2 (ja) | 回転角検出装置 | |
US20100004888A1 (en) | Measurement apparatus | |
US20190348933A1 (en) | Rotation angle correction device and motor control system | |
JP4581953B2 (ja) | エンコーダ出力信号の補正回路 | |
WO2005053146A2 (en) | Method and system for enhanced resolution, automatically- calibrated position sensor | |
JP2009053067A (ja) | エンコーダの補正値制御方法 | |
JP2004219333A (ja) | エンコーダ出力信号補正装置 | |
US20160036423A1 (en) | Interpolation apparatus for encoder, controlling method of interpolation apparatus for encoder, non-transitory storage medium storing controlling program of interpolation apparatus for encoder and encoder | |
JP5184590B2 (ja) | 回転検出器およびその位相誤差補正方法 | |
JP2013117430A (ja) | 位置検出回路および位置制御装置 | |
JP5877323B2 (ja) | 光学式アブソリュートエンコーダ及び装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A871 | Explanation of circumstances concerning accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A871 Effective date: 20070831 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20071002 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20071120 |
|
A975 | Report on accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A971005 Effective date: 20071207 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20080115 |