JP2007085942A - Magnetic encoder device, angle of rotation calculation method and position detection method - Google Patents
Magnetic encoder device, angle of rotation calculation method and position detection method Download PDFInfo
- Publication number
- JP2007085942A JP2007085942A JP2005276499A JP2005276499A JP2007085942A JP 2007085942 A JP2007085942 A JP 2007085942A JP 2005276499 A JP2005276499 A JP 2005276499A JP 2005276499 A JP2005276499 A JP 2005276499A JP 2007085942 A JP2007085942 A JP 2007085942A
- Authority
- JP
- Japan
- Prior art keywords
- magnetic field
- temperature
- field detection
- detection element
- processing circuit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 230000005291 magnetic effect Effects 0.000 title claims abstract description 285
- 238000001514 detection method Methods 0.000 title claims abstract description 206
- 238000004364 calculation method Methods 0.000 title claims description 40
- 238000012545 processing Methods 0.000 claims abstract description 110
- 238000012937 correction Methods 0.000 claims abstract description 22
- 101100425597 Solanum lycopersicum Tm-1 gene Proteins 0.000 claims description 15
- 238000000034 method Methods 0.000 claims description 15
- 238000010586 diagram Methods 0.000 description 18
- 238000006243 chemical reaction Methods 0.000 description 11
- 230000000694 effects Effects 0.000 description 6
- 230000002093 peripheral effect Effects 0.000 description 6
- 230000005355 Hall effect Effects 0.000 description 4
- 239000002131 composite material Substances 0.000 description 4
- 239000002861 polymer material Substances 0.000 description 4
- 229910000859 α-Fe Inorganic materials 0.000 description 4
- 238000007796 conventional method Methods 0.000 description 2
- 239000000696 magnetic material Substances 0.000 description 2
- 230000035945 sensitivity Effects 0.000 description 2
- 229910000975 Carbon steel Inorganic materials 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
- 238000009529 body temperature measurement Methods 0.000 description 1
- 239000010962 carbon steel Substances 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 239000003302 ferromagnetic material Substances 0.000 description 1
- 230000004907 flux Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
Images
Landscapes
- Transmission And Conversion Of Sensor Element Output (AREA)
Abstract
Description
本発明は、産業用ロボット、NC工作機械等に用いられるモータの回転位置を検出する磁気式エンコーダ装置、及び回転角度算出方法に関する。 The present invention relates to a magnetic encoder device that detects the rotational position of a motor used in industrial robots, NC machine tools, and the like, and a rotational angle calculation method.
従来の磁気式エンコーダには、図13に示すようなものがある。(例えば、特許文献1参照)。図13はその構成を示す斜視図、図14は磁界検出素子4から出力される各相信号を処理する信号処理回路のブロック図である。また、図15は特許文献1には図示されていないが、角度演算を説明するためのフロー図である。図13において、1は回転体、2は回転体1の端部に固定された円板状の発磁体を構成する永久磁石で、永久磁石2の表面は回転体1に垂直な一方向に磁化されている。3は永久磁石2の外周側に設けられたリング状の固定体、4は回転体1の回転中心に対し同心円状にして設けられ、且つ、固定体3の周方向に互いに等間隔に配設された磁界検出素子であって、4個の磁界検出素子41、42、43、44から構成されている。このような各磁界検出素子は、永久磁石2の外周面に対して空隙を介して対向し、且つ、互いに機械角で90度位相をずらしてA1相検出素子41とB1相検出素子42を設け、さらにA1相検出素子41に対して機械角で180度位相をずらしてA2相検出素子 73を、B1相検出素子43に対して機械角で180度位相をずらしてB2相検出素子44を設けている。
次に、磁界検出素子4から出力される各相信号を処理する信号処理回路5について説明する。図14において、5は信号処理回路であって、Va1とVa2の差動信号Vaを出力する差動増幅器53と、Vb1とVb2の差動信号Vbを出力する差動増幅器 54と、差動信号VaとVbとから、
arctan(Va/Vb)・・・(1)
の演算を行って回転角度を演算する角度演算回路57とを設けている。
即ち、図15のフロー図に示すように、磁気式エンコーダ装置に電源が投入されると、信号処理回路5は各パラメータを初期値に設定する初期設定を行う。次に、ステップ601(S601)で磁界検出素子4の信号を取得する。
本実施例ではVa、及びVbの信号が入力される。S602で角度θを(1)式で導出して、S603で求めた、θを信号処理回路5に接続された上位機器(図示していない)に出力する。
このように、従来の装置は、永久磁石2が発する磁界を磁界検出素子により検出して信号処理回路により角度演算を行い、回転体1の1回転以内の回転位置を検出するのである。
しかし、以上のような特許文献1の磁気式エンコーダ装置では、磁界検出素子4の出力のオフセット(「不平衡出力」と同義語であり、本文では「オフセット」と表記する。)や感度が温度変動により変動していた。すなわち、永久磁石2の磁束密度や、磁界検出素子4の感度の温度による変動は、差動信号Va,Vbに同様の比率で発生するため、角度演算時の式(1)において相殺され、温度変動による回転角度の変動は極めて微小である。
しかしながら、磁界検出素子のオフセットの温度ドリフト量はばらつきがあるため、温度変動により回転角度の誤差が発生する。そこで、磁界検出素子を選別することによりオフセットの温度ドリフト量の低減を図っていたが、選別の工程が増えるなどの問題が本方式の適用範囲を狭めていた。
そこで、オフセットの温度ドリフト量を、あらかじめ測定し、温度を計測して補正することが特許文献2で提案されている。
本文献は適用分野は異なるのだが磁界検出素子であるホール素子のオフセットの温度ドリフト量を補正しようとする点で課題が共通である。
特許文献2では、あらかじめ複数のホール素子の周囲温度−オフセット電圧特性を測定し、ばらつきはあるものの数種の代表的な関係を計測しておき、実機に搭載されるホール素子のオフセット電圧を測定して前記周囲温度−オフセット電圧特性に当てはめて温度係数を求め、ホール素子近傍に設置した温度検出素子と温度係数を用いた温度補償回路を構成しホール素子の温度補正を行うこととしている。
Next, the
arctan (Va / Vb) (1)
And an
That is, as shown in the flowchart of FIG. 15, when the magnetic encoder device is turned on, the
In this embodiment, Va and Vb signals are input. In step S602, the angle θ is derived from the equation (1), and θ obtained in step S603 is output to a host device (not shown) connected to the
As described above, the conventional apparatus detects the magnetic field generated by the permanent magnet 2 by the magnetic field detection element, performs the angle calculation by the signal processing circuit, and detects the rotational position of the
However, in the magnetic encoder device of
However, since the temperature drift amount of the offset of the magnetic field detection element varies, a rotation angle error occurs due to temperature fluctuation. Therefore, although the amount of offset temperature drift was reduced by selecting the magnetic field detection element, problems such as an increase in the selection process narrowed the application range of this method.
Therefore, Patent Document 2 proposes that the temperature drift amount of the offset is measured in advance and the temperature is measured and corrected.
Although this document is applied in different fields, it has a common problem in that it is intended to correct the temperature drift amount of the offset of the Hall element that is a magnetic field detection element.
In Patent Document 2, the ambient temperature-offset voltage characteristics of a plurality of Hall elements are measured in advance, and some typical relationships are measured although there are variations, and the offset voltage of the Hall elements mounted on an actual machine is measured. Then, the temperature coefficient is obtained by applying to the ambient temperature-offset voltage characteristic, and a temperature compensation circuit using the temperature detecting element and the temperature coefficient installed in the vicinity of the Hall element is configured to correct the temperature of the Hall element.
しかしながら、上記従来技術においては、特許文献1の場合は、オフセットの温度ドリフトが発生しても修正することができないため精度が劣化していた。また検出素子を事前に選別することも考えられるが、コストが上昇するため従来の磁気式エンコーダ装置の適用範囲を狭めるという問題があった。
また、常にオフセット値を修正することも考えられるが、実際には温度の変動は一般に時定数が大きく、更に本装置の使用中は、温度が上昇した後一定になることが多いので、オフセット値を逐次検出することはCPUの負担を大きくすることになる。従って、回路が大型化してコストが上がり、従来の磁気式エンコーダの適用範囲を狭めるという問題があった。
また、特許文献2の場合は、温度計測のため温度検出素子や温度補償回路を磁界検出素子近傍に配置することは、デバイス点数が多くなり高価になることや、大型化して、配線数が増えるなど好ましくない。
また、ホール素子の周囲温度−オフセット電圧特性は実際には線形のものだけではないことから、オフセット温度ドリフトを補正することは困難である。
これらのことから、従来の磁気式エンコーダ装置の適用範囲を狭めるという問題があった。
本発明は、このような問題点に鑑みてなされたものであり、磁界検出素子を選別する必要が無く、CPUの負担を軽減して磁界検出素子のオフセット温度ドリフトを低減できて、コストを維持し精度を高くすることが可能であり、また、磁界検出素子近傍に温度計測のための温度検出素子を配置することなく温度検出を行い、オフセット値の温度ドリフトを補正することによって、高精度な位置検出が行える適用範囲の広い磁気式エンコーダ装置及びその回転角度算出方法を提供することを目的とする。
However, in the above prior art, in the case of
Although it is possible to always correct the offset value, in practice, the temperature fluctuation generally has a large time constant, and during use of this device, the offset value is often constant after the temperature rises. Sequentially detecting increases the burden on the CPU. Therefore, there is a problem that the circuit is increased in size and cost, and the application range of the conventional magnetic encoder is narrowed.
Further, in the case of Patent Document 2, disposing a temperature detection element and a temperature compensation circuit near the magnetic field detection element for temperature measurement increases the number of devices and increases the cost, and increases the number of wirings. It is not preferable.
Further, since the ambient temperature-offset voltage characteristics of the Hall element are not actually only linear, it is difficult to correct the offset temperature drift.
For these reasons, there is a problem of narrowing the application range of the conventional magnetic encoder device.
The present invention has been made in view of such problems, and it is not necessary to select a magnetic field detection element. The burden on the CPU can be reduced, offset temperature drift of the magnetic field detection element can be reduced, and cost can be maintained. In addition, it is possible to increase the accuracy, and by detecting the temperature without arranging the temperature detection element for measuring the temperature in the vicinity of the magnetic field detection element and correcting the temperature drift of the offset value, it is possible to increase the accuracy. It is an object of the present invention to provide a magnetic encoder device with a wide application range capable of position detection and a method for calculating the rotation angle thereof.
上記問題を解決するため、請求項1に記載の発明は、回転体と垂直方向の一方向に磁化され、前記回転体に固定された永久磁石、前記永久磁石2に空隙を介して対向し、固定体に取り付けられた少なくとも2つの磁界検出素子と、前記磁界検出素子を定電流で駆動する定電流駆動回路と、前記磁界検出素子からの信号を処理する信号処理回路とを備えた磁気式エンコーダ装置において、前記少なくとも2つの磁界検出素子4の駆動電圧を計測し、前記信号処理回路に入力して、あらかじめ記録している駆動電圧と温度の関係から前記磁界検出素子の温度を推定し、あらかじめ記録しているオフセット値と温度の関係から、温度の最も近い値に対応するオフセットの補正値を、前記磁界検出素子から得られる信号に加え、回転角度の算出を行う機能を有する信号処理回路を備えていることを特徴としている。
また、請求項2に記載の発明は、回転体と垂直方向の一方向に磁化され、前記回転体に固定された永久磁石、前記永久磁石に空隙を介して対向し、固定体に取り付けられた少なくとも2つの磁界検出素子と、前記磁界検出素子を定電流で駆動する定電流駆動回路と、前記磁界検出素子からの信号を処理する信号処理回路とを備えた磁気式エンコーダ装置の回転角度算出方法において、前記少なくとも2つの磁界検出素子の駆動電圧を計測し、前記信号処理回路に入力して、あらかじめ記録している駆動電圧と温度の関係から前記磁界検出素子の温度を推定し、あらかじめ記録しているオフセット値と温度の関係から、温度の最も近い値に対応するオフセットの補正値を、前記磁界検出素子から得られる信号に加え、回転角度の算出を行うという手順で処理することを特徴としている。
また、請求項3に記載の発明は、回転体と垂直方向の一方向に磁化され、前記回転体に固定された永久磁石、前記永久磁石に空隙を介して対向し、固定体に取り付けられた少なくとも2つの磁界検出素子と、前記磁界検出素子を定電圧で駆動する定電圧駆動回路と、前記磁界検出素子からの信号を処理する信号処理回路とを備えた磁気式エンコーダ装置において、前記少なくとも2つの磁界検出素子に直列に接続された温度推定用抵抗間電圧を計測し、前記信号処理回路に入力してあらかじめ記録している温度推定用抵抗間電圧と温度の関係から前記磁界検出素子の温度を推定し、あらかじめ記録しているオフセット値と温度の関係から、温度の最も近い値に対応するオフセットの補正値を、前記磁界検出素子から得られる信号に加え、回転角度の算出を行う機能を有する信号処理回路を備えていることを特徴としている。
また、請求項4に記載の発明は、回転体と垂直方向の一方向に磁化され、前記回転体に固定された永久磁石、前記永久磁石に空隙を介して対向し、固定体に取り付けられた少なくとも2つの磁界検出素子と、前記磁界検出素子を定電圧で駆動する定電圧駆動回路と、前記磁界検出素子からの信号を処理する信号処理回路とを備えた磁気式エンコーダ装置の回転角度算出方法において、前記少なくとも2つの磁界検出素子に直列に接続された温度推定用抵抗間電圧を計測し、前記信号処理回路に入力してあらかじめ記録している温度推定用抵抗間電圧と温度の関係から前記磁界検出素子の温度を推定し、あらかじめ記録しているオフセット値と温度の関係から、温度の最も近い値に対応するオフセットの補正値を、前記磁界検出素子から得られる信号に加え、回転角度の算出を行うという手順で処理することを特徴としている。
また、請求項5に記載の発明は、前記磁界検出素子の駆動電圧もしくは温度推定用抵抗間電圧が、前記信号処理回路にあらかじめ記録している電圧値Vtと異なる場合、Vtに最も近いVtn,Vtn+1を用いて係数k=(Vt−Vtn)/(Vtn+1−Vtn)を求め、あらかじめ記録している前記磁界検出素子のオフセットの補正値Voffn,Voffn+1を用いて、
Voff=k×(Voffn+1−Voffn)+Voffn
を算出し、前記磁界検出素子から得られる信号に加え、回転角度の算出を行う機能を信号処理回路5に備えていることを特徴としている。
また、請求項6に記載の発明は、前記磁界検出素子の駆動電圧もしくは温度推定用抵抗間電圧が、前記信号処理回路にあらかじめ記録している電圧値Vtと異なる場合、Vtに最も近いVtn,Vtn+1を用いて係数k=(Vt−Vtn)/(Vtn+1−Vtn)を求め、あらかじめ記録している前記磁界検出素子のオフセットの補正値Voffn,Voffn+1を用いて、
Voff=k×(Voffn+1−Voffn)+Voffn
を算出し、前記磁界検出素子から得られる信号に加え、回転角度の算出を行うという手順で処理することを特徴としている。
また、請求項7に記載の発明は、回転体と垂直方向の一方向に磁化され、前記回転体に固定された永久磁石、前記永久磁石に空隙を介して対向し、固定体に取り付けられた少なくとも2つの磁界検出素子と、前記磁界検出素子を駆動する駆動回路、及び前記磁界検出素子からの信号を処理する信号処理回路とを備えた磁気式エンコーダの位置検出方法において、温度Tがあらかじめ記録された閾値Tmを超えたとき、前記信号処理回路に入力された前記磁界検出素子の信号のオフセット値を求め、前記信号からオフセット値の除去を行い位置算出することを特徴としている。
また、請求項8に記載の発明は、回転体と垂直方向の一方向に磁化され、前記回転体に固定された永久磁石、前記永久磁石に空隙を介して対向し、固定体に取り付けられた少なくとも2つの磁界検出素子と、前記磁界検出素子を駆動する駆動回路、及び前記磁界検出素子からの信号を処理する信号処理回路とを備えた磁気式エンコーダ装置において、温度Tがあらかじめセットされた値Tmを超えたとき、前記信号処理回路に入力された前記磁界検出素子の信号のオフセット値を求め、前記信号からオフセット値の除去を行い位置算出する信号処理回路を備えたことを特徴としている。
また、請求項9に記載の発明は、前記閾値Tmがn個設定され、温度TがTm−1からTmの間はオフセット値の演算は行わず、Tm−1を下回るか、Tmを上回った場合、オフセット値の演算を行い、オフセット値の除去を行って位置演算することを特徴としている。
また、請求項10に記載の発明は、前記閾値Tmがn個設定され、温度TがTm−1からTmの間はオフセット値の演算は行わず、Tm−1を下回るか、Tmを上回った場合、オフセット値の演算を行い、オフセット値の除去を行い位置演算する信号処理回路を備えたことを特徴としている。
また、請求項11に記載の発明は、前記永久磁石がリング状を成し、この永久磁石の外周にリング形状磁気ヨークが形成されていることを特徴としている。
In order to solve the above problem, the invention according to
The invention described in claim 2 is magnetized in one direction perpendicular to the rotating body, fixed to the rotating body, opposed to the permanent magnet via a gap, and attached to the fixed body. Rotation angle calculation method for magnetic encoder device, comprising at least two magnetic field detection elements, a constant current drive circuit for driving the magnetic field detection elements with a constant current, and a signal processing circuit for processing a signal from the magnetic field detection element And measuring the drive voltages of the at least two magnetic field detection elements, inputting them to the signal processing circuit, estimating the temperature of the magnetic field detection elements from the relationship between the drive voltage and the temperature recorded in advance, and recording them in advance. From the relationship between the offset value and the temperature, the correction value of the offset corresponding to the closest value of the temperature is added to the signal obtained from the magnetic field detection element, and the rotation angle is calculated. It is characterized by treating in step.
According to a third aspect of the present invention, a permanent magnet that is magnetized in one direction perpendicular to the rotating body, is fixed to the rotating body, is opposed to the permanent magnet via a gap, and is attached to the fixed body. In the magnetic encoder device comprising at least two magnetic field detection elements, a constant voltage driving circuit for driving the magnetic field detection elements with a constant voltage, and a signal processing circuit for processing a signal from the magnetic field detection element, the at least 2 The voltage between the temperature estimation resistors connected in series to the two magnetic field detection elements is measured, and the temperature of the magnetic field detection element is calculated from the relationship between the temperature estimation resistance voltage and the temperature recorded in advance by inputting to the signal processing circuit. From the relationship between the offset value recorded in advance and the temperature, an offset correction value corresponding to the closest temperature value is added to the signal obtained from the magnetic field detection element, and the rotation It is characterized in that it comprises a signal processing circuit having a function to calculate the degree.
According to a fourth aspect of the present invention, a permanent magnet that is magnetized in one direction perpendicular to the rotating body, is fixed to the rotating body, is opposed to the permanent magnet via a gap, and is attached to the fixed body. Rotation angle calculation method for magnetic encoder device, comprising at least two magnetic field detection elements, a constant voltage driving circuit for driving the magnetic field detection elements with a constant voltage, and a signal processing circuit for processing a signal from the magnetic field detection element The temperature estimation resistance voltage connected in series to the at least two magnetic field detection elements is measured and input to the signal processing circuit and recorded in advance from the relationship between the temperature estimation resistance voltage and the temperature. The temperature of the magnetic field detection element is estimated, and the offset correction value corresponding to the closest value of the temperature can be obtained from the magnetic field detection element from the relationship between the offset value and the temperature recorded in advance. In addition to the signal, it is characterized by treating in step that calculates the rotation angle.
According to the fifth aspect of the present invention, when the drive voltage of the magnetic field detection element or the voltage across the resistance for temperature estimation is different from the voltage value Vt recorded in advance in the signal processing circuit, Vtn, The coefficient k = (Vt−Vtn) / (Vtn + 1−Vtn) is obtained using Vtn + 1, and the offset correction values Voffn and Voffn + 1 of the magnetic field detecting element recorded in advance are used.
Voff = k × (Voffn + 1−Voffn) + Voffn
And the
Further, in the invention according to claim 6, when the drive voltage of the magnetic field detection element or the voltage between the resistors for temperature estimation is different from the voltage value Vt recorded in the signal processing circuit in advance, Vtn, closest to Vt, The coefficient k = (Vt−Vtn) / (Vtn + 1−Vtn) is obtained using Vtn + 1, and the offset correction values Voffn and Voffn + 1 of the magnetic field detecting element recorded in advance are used.
Voff = k × (Voffn + 1−Voffn) + Voffn
, And in addition to the signal obtained from the magnetic field detection element, the rotation angle is calculated and processed.
The invention according to claim 7 is magnetized in one direction perpendicular to the rotating body, fixed to the rotating body, opposed to the permanent magnet via a gap, and attached to the fixed body. In a magnetic encoder position detection method comprising at least two magnetic field detection elements, a drive circuit for driving the magnetic field detection elements, and a signal processing circuit for processing signals from the magnetic field detection elements, the temperature T is recorded in advance. When the measured threshold value Tm is exceeded, the offset value of the signal of the magnetic field detection element input to the signal processing circuit is obtained, and the offset value is removed from the signal to calculate the position.
The invention according to claim 8 is magnetized in one direction perpendicular to the rotating body, fixed to the rotating body, facing the permanent magnet through a gap, and attached to the fixed body. In a magnetic encoder device comprising at least two magnetic field detection elements, a drive circuit for driving the magnetic field detection elements, and a signal processing circuit for processing a signal from the magnetic field detection elements, a temperature T is set in advance. A signal processing circuit is provided that obtains an offset value of the signal of the magnetic field detection element input to the signal processing circuit when Tm is exceeded, removes the offset value from the signal, and calculates a position.
Further, in the invention according to claim 9, n threshold values Tm are set, and the offset value is not calculated when the temperature T is between Tm-1 and Tm, and falls below or exceeds Tm-1. In this case, the offset value is calculated and the position is calculated by removing the offset value.
Further, in the invention described in claim 10, n threshold values Tm are set, and the offset value is not calculated when the temperature T is between Tm-1 and Tm, and is below Tm-1 or above Tm. In this case, a signal processing circuit for calculating an offset value, removing an offset value, and calculating a position is provided.
According to an eleventh aspect of the present invention, the permanent magnet has a ring shape, and a ring-shaped magnetic yoke is formed on the outer periphery of the permanent magnet.
請求項1に記載の発明によると、少なくとも2つの磁界検出素子4のうち、少なくとも2つの磁界検出素子4の駆動電圧を計測し、信号処理回路5に入力して、あらかじめ記録している駆動電圧と温度の関係から磁界検出素子4の温度を推定する。さらに、あらかじめ記録しているオフセット値と温度の関係から、温度の最も近い値に対応するオフセットの補正値を、磁界検出素子4から得られる信号に加え、回転角度の算出を行う機能を有する信号処理回路5を備えているので、磁界検出素子のオフセット温度ドリフトを補正することが出来、磁気式エンコーダの精度が向上し、適用範囲の広い磁気式エンコーダ装置を提供することができる。
また、請求項2に記載の発明によると、少なくとも2つの磁界検出素子4の駆動電圧を計測し、信号処理回路5に入力して、あらかじめ記録している駆動電圧と温度の関係から磁界検出素子4の温度を推定する。さらに、あらかじめ記録しているオフセット値と温度の関係から、温度の最も近い値に対応するオフセットの補正値を、磁界検出素子4から得られる信号に加え、回転角度の算出を行うという手順で処理するので、磁界検出素子のオフセット温度ドリフトを補正することが出来、磁気式エンコーダの精度が向上し、適用範囲の広い磁気式エンコーダ装置の回転角度算出方法を提供することができる。
また、請求項3に記載の発明によると、少なくとも2つの磁界検出素子4に直列に接続された温度推定用抵抗7間電圧を計測し、信号処理回路5に入力してあらかじめ記録している温度推定用抵抗7間電圧と温度の関係から磁界検出素子4の温度を推定する。さらに、あらかじめ記録しているオフセット値と温度の関係から、温度の最も近い値に対応するオフセットの補正値を、磁界検出素子4から得られる信号に加え、回転角度の算出を行う機能を有する信号処理回路5を備えているので、磁界検出素子のオフセット温度ドリフトを補正することが出来、磁気式エンコーダの精度が向上し、適用範囲の広い磁気式エンコーダ装置を提供することができる。
また、請求項4に記載の発明によると、少なくとも2つの磁界検出素子4に直列に接続された温度推定用抵抗7間電圧を計測し、信号処理回路5に入力してあらかじめ記録している温度推定用抵抗7間電圧と温度の関係から磁界検出素子4の温度を推定する。さらに、あらかじめ記録しているオフセット値と温度の関係から、温度の最も近い値に対応するオフセットの補正値を、磁界検出素子4から得られる信号に加え、回転角度の算出を行うという手順で処理するので、磁界検出素子のオフセット温度ドリフトを補正することが出来、磁気式エンコーダの精度が向上し、適用範囲の広い磁気式エンコーダ装置の回転角度算出方法を提供することができる。
また、請求項5に記載の発明によると、磁界検出素子4の駆動電圧もしくは温度推定用抵抗7間電圧が、信号処理回路5にあらかじめ記録している電圧値Vtと異なる場合、Vtに最も近いVtn,Vtn+1を用いて係数k=(Vt−Vtn)/(Vtn+1−Vtn)を求め、あらかじめ記録している磁界検出素子4のオフセットの補正値Voffn, Voffn+1を用いて、
Voff=k×(Voffn+1−Voffn)+Voffn
を算出し、前記磁界検出素子4から得られる信号に加え、回転角度の算出を行う機能を信号処理回路5に備えているので、磁界検出素子のオフセット温度ドリフトを補正することが出来、磁気式エンコーダの精度が向上する。適用範囲の広い磁気式エンコーダ装置を提供することができる。
また、請求項6に記載の発明によると、磁界検出素子4の駆動電圧もしくは温度推定用抵抗7間電圧が、信号処理回路5にあらかじめ記録している電圧値Vtと異なる場合、Vtに最も近いVtn,Vtn+1を用いて係数k=(Vt−Vtn)/(Vtn+1−Vtn)を求め、あらかじめ記録している前記磁界検出素子4のオフセットの補正値Voffn,, Voffn+1を用いて、
Voff=k×(Voffn+1−Voffn)+Voffn
を算出し、磁界検出素子4から得られる信号に加え、回転角度の算出を行うという手順で処理するので、磁界検出素子のオフセット温度ドリフトを補正することが出来、磁気式エンコーダの精度が向上し、適用範囲の広い磁気式エンコーダ装置の回転角度算出方法を提供することができる。
請求項7に記載の発明によると、温度Tがあらかじめ記録された閾値Tmを超えたとき、信号処理回路6に入力された磁界検出素子4の信号のオフセット値を求め、信号からオフセット値の除去を行い位置算出する磁気式エンコーダの位置検出方法としているので、頻繁にオフセット値を求めないのでCPUの負担を加えずに位置検出できるので、適用範囲の広い磁気式エンコーダ装置の位置検出方法を提供することができる。
また、請求項8に記載の発明によると、温度Tがあらかじめセットされた値Tmを超えたとき、信号処理回路6に入力された磁界検出素子4の信号のオフセット値を求め、信号からオフセット値の除去を行い位置算出する信号処理回路6を備えた磁気式エンコーダ装置としているので、素子選別を行うことなく適用範囲の広い磁気式エンコーダ装置を提供することができる。
また、請求項9に記載の発明によると、閾値Tmがn個設定され、温度TがTm−1からTmの間はオフセット値の演算は行わず、Tm−1を下回るか、Tmを上回った場合、オフセット値の演算を行い、オフセット値の除去を行って位置演算する磁気式エンコーダの位置検出方法としているので、温度範囲が広く、適用範囲の広い磁気式エンコーダの位置検出方法を提供することができる。
また、請求項10に記載の発明によると、閾値Tmがn個設定され、温度TがTm−1からTmの間はオフセット値の演算は行わず、Tm−1を下回るか、Tmを上回った場合、オフセット値の演算を行い、オフセット値の除去を行い位置演算する信号処理回路6を備えた磁気式エンコーダ装置としているので、温度範囲が広く、適用範囲の広い磁気式エンコーダ装置を提供することができる。
また、請求項11に記載の発明によると、前記永久磁石がリング状を成し、この永久磁石の外周にリング形状磁気ヨークが形成されているので、アウターロータ方式の磁気式エンコーダ装置に対して、磁界検出素子のオフセット温度ドリフトを補正することが出来、適用範囲の広いアウターロータ方式の磁気式エンコーダ装置を提供することができる。
According to the first aspect of the present invention, the drive voltage of at least two magnetic field detection elements 4 out of the at least two magnetic field detection elements 4 is measured and input to the
According to the second aspect of the present invention, the drive voltage of at least two magnetic field detection elements 4 is measured and input to the
According to the third aspect of the present invention, the temperature between the temperature estimation resistors 7 connected in series to the at least two magnetic field detecting elements 4 is measured, and is input to the
According to the fourth aspect of the present invention, the temperature between the temperature estimation resistors 7 connected in series to the at least two magnetic field detecting elements 4 is measured and input to the
According to the fifth aspect of the present invention, when the drive voltage of the magnetic field detection element 4 or the voltage between the temperature estimation resistors 7 is different from the voltage value Vt recorded in the
Voff = k × (Voffn + 1−Voffn) + Voffn
Since the
According to the sixth aspect of the present invention, when the drive voltage of the magnetic field detecting element 4 or the voltage between the temperature estimation resistors 7 is different from the voltage value Vt recorded in the
Voff = k × (Voffn + 1−Voffn) + Voffn
In addition to the signal obtained from the magnetic field detection element 4, the rotation angle is calculated, so that the offset temperature drift of the magnetic field detection element can be corrected and the accuracy of the magnetic encoder is improved. Therefore, it is possible to provide a method for calculating the rotation angle of a magnetic encoder device having a wide application range.
According to the seventh aspect of the invention, when the temperature T exceeds the pre-recorded threshold value Tm, the offset value of the signal of the magnetic field detection element 4 input to the signal processing circuit 6 is obtained, and the offset value is removed from the signal. Since the position detection method of the magnetic encoder that calculates the position is performed so that the offset value is not frequently obtained, the position can be detected without adding a burden on the CPU. can do.
According to the invention described in claim 8, when the temperature T exceeds a preset value Tm, the offset value of the signal of the magnetic field detection element 4 input to the signal processing circuit 6 is obtained, and the offset value is obtained from the signal. Since the magnetic encoder device is provided with the signal processing circuit 6 for removing the position and calculating the position, a magnetic encoder device having a wide application range can be provided without performing element selection.
According to the invention of claim 9, n threshold values Tm are set, and the offset value is not calculated when the temperature T is between Tm−1 and Tm, and falls below or exceeds Tm−1. In this case, the position detection method of the magnetic encoder that calculates the offset value and performs the position calculation by removing the offset value is used. Therefore, the position detection method of the magnetic encoder having a wide temperature range and a wide application range is provided. Can do.
According to the invention described in claim 10, n threshold values Tm are set, and the offset value is not calculated when the temperature T is between Tm-1 and Tm, and is below Tm-1 or above Tm. In this case, since the magnetic encoder device includes the signal processing circuit 6 that calculates the offset value, removes the offset value, and calculates the position, a magnetic encoder device having a wide temperature range and a wide application range is provided. Can do.
According to an eleventh aspect of the present invention, the permanent magnet forms a ring shape, and a ring-shaped magnetic yoke is formed on the outer periphery of the permanent magnet. In addition, the offset temperature drift of the magnetic field detecting element can be corrected, and an outer rotor type magnetic encoder device having a wide application range can be provided.
以下、本発明の実施の形態について図を参照して説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
図1は、本発明の実施例1に係る磁気式エンコーダ装置の構成図である。
図において、1は回転体であり、2は回転体1に固定された永久磁石、4は永久磁石2に空隙を介して対向し、固定体3に取り付けられた4つの磁界検出素子、51は磁界検出素子4を定電流にて駆動する、定電流駆動回路、5は磁界検出素子4からの信号を処理する信号処理回路である。永久磁石2は、材質はフェライト系磁石、Sm−Co 系磁石、Ne−Fe−B系磁石、または前記各種磁石を高分子材料で結合した分散型複合磁石によって形成し、回転体1の軸に垂直方向と平行に一方向に磁化されN−S の2極となっている。寸法は例えば、直径が3mm、厚さが1mmである。磁界検出素子4は4個のホール効果素子からなり、永久磁石2の外周面に対して空隙を介して対向し、かつ互いに電気角で90 度位相をずらしてA1 相検出素子41とB1 相検出素子42を設け、さらにA1 相検出素子41 に対して電気角で180 度位相をずらしてA2 相検出素子43 を、B1 相検出素子42 に対して電気角で180 度位相をずらしてB2 相検出素子44 を設けてある。51は定電流駆動回路である。
FIG. 1 is a configuration diagram of a magnetic encoder device according to a first embodiment of the present invention.
In the figure, 1 is a rotating body, 2 is a permanent magnet fixed to the
図2は、磁界検出素子4の温度を測定するための定電流駆動回路51及び信号処理回路5の回路ブロック図である。定電流駆動回路51の出力Vcct1、及びVcct2をそれぞれ、信号処理回路5の差動増幅器53に接続しており、差動後の温度推定用電圧VcctとしてA/D変換回路56に入力され、角度演算回路57に入力される。一方、A1 相検出素子41,A2相検出素子42,から出力されるA1 相, A2相の各信号は差動増幅器54に入力され、B1 相検出素子43,B2相検出素子44,から出力されるB1 相, B2相の各信号は差動増幅器55に入力される。さらに各々の出力はA/D変換回路56に入力され、角度演算回路57に入力される。
本発明が特許文献1と異なる部分は、定電圧駆動回路51他の温度推定用の電圧を計測する為の回路が接続されていることである。
FIG. 2 is a circuit block diagram of the constant current drive circuit 51 and the
The present invention differs from
その動作は、回転体1の回転に伴って、永久磁石2が回転する。永久磁石2の発する磁界を磁界検出素子4にて検出し電気信号に変換され、信号処理回路5に入力される。本発明の磁気式エンコーダ装置の回転角度算出方法を、フローチャートを用いて説明する。
図3は回転角度算出方法のフローチャートである。磁界検出素子出力Va,Vbを取得して(ステップ101)、温度推定用電圧Vcctを取得する(ステップ102)。
任意の温度範囲においてあらかじめT=α×Vcct+βとして算出が可能になっているので、取得したVcct値から温度Tを推定する(ステップ103)。あらかじめ記録されている温度Tn値にもっとも近い値からVmoffn値(m=a,b)を決定し(ステップ104)、得られたVmoffn値をVa、Vbに代入してオフセットを調整する(ステップ105)。さらにVa,Vbを用いて角度θの演算、
θ=arctan(Va/Vb)
を行って、角度θを算出し(ステップS106)、角度θを出力する(ステップ107)。
In this operation, the permanent magnet 2 rotates with the rotation of the
FIG. 3 is a flowchart of the rotation angle calculation method. The magnetic field detection element outputs Va and Vb are acquired (step 101), and the temperature estimation voltage Vcct is acquired (step 102).
Since it is possible to calculate beforehand as T = α × Vcct + β in an arbitrary temperature range, the temperature T is estimated from the acquired Vcct value (step 103). A Vmoffn value (m = a, b) is determined from a value closest to the temperature Tn value recorded in advance (step 104), and the obtained Vmoffn value is substituted into Va and Vb to adjust the offset (step 105). ). Further, calculation of the angle θ using Va and Vb,
θ = arctan (Va / Vb)
To calculate the angle θ (step S106) and output the angle θ (step 107).
本実施例では以上のように磁界検出素子の温度を推定できるので、20℃から100℃に磁界検出素子周囲温度をあげた場合、従来の温度推定が無くオフセット温度ドリフトを補正しない方法では、角度出力精度の温度変動による誤差は±1.6度であることに対し、本実施例ではオフセット値を記録する温度間隔を10℃毎にし、Vmoffn値を記録して実施したところ角度出力精度の温度変動による誤差は約1/40となった。以上のように、本実施例を用いれば磁界検出素子周囲の温度変化に対しても高い精度が維持される適用範囲の広い磁気式エンコーダ装置を提供できるようになる。
なお、本実施例ではオフセット値を記録する温度間隔を10℃毎にVmoffn値を記録して実施しているが、記録が可能な限り温度間隔を狭めれば精度が向上することは言うまでもない。
また、本実施例では定電流駆動回路51の端子間を差動増幅器としているが、入力電圧が十分大きい場合、低減するAMPを用いても同様の効果が得られることは自明である。
さらに、信号はすべてA/D変換回路56に入力しているが、他のA/D変換回路に接続し角度演算回路57に接続しても良いことは自明である。
In this embodiment, the temperature of the magnetic field detection element can be estimated as described above. Therefore, when the ambient temperature of the magnetic field detection element is increased from 20 ° C. to 100 ° C., there is no conventional temperature estimation and the offset temperature drift is not corrected. The error due to the temperature fluctuation of the output accuracy is ± 1.6 degrees. In the present embodiment, the temperature interval for recording the offset value is set at every 10 ° C., and the Vmoffn value is recorded. The error was about 1/40. As described above, by using this embodiment, it is possible to provide a magnetic encoder device with a wide application range in which high accuracy is maintained even with respect to a temperature change around the magnetic field detection element.
In this embodiment, the temperature interval for recording the offset value is recorded by recording the Vmoffn value every 10 ° C. However, it goes without saying that the accuracy is improved if the temperature interval is narrowed as much as possible.
In this embodiment, the differential amplifier is used between the terminals of the constant current drive circuit 51. However, when the input voltage is sufficiently large, it is obvious that the same effect can be obtained even if the reduced AMP is used.
Further, all the signals are input to the A /
次に、実施例2について図を参照して説明する。
図4は本発明の実施例2に係る磁気式エンコーダ装置の構成図である。
図4において、1は回転体であり、2は回転体1に固定された永久磁石、4は永久磁石2に空隙を介して対向し、固定体3に取り付けられた4つの磁界検出素子、52は磁界検出素子4を定電流にて駆動する定電圧駆動回路、5は磁界検出素子4からの信号を処理する信号処理回路である。永久磁石2は、材質はフェライト系磁石、Sm−Co 系磁石、Ne −Fe −B系磁石、または前記各種磁石を高分子材料で結合した分散型複合磁石によって形成し、回転体1の軸に垂直方向と平行に一方向に磁化されN −S の2 極となっている。寸法は、例えば、直径が3mm 、厚さが1mm である。
磁界検出素子4は、4個のホール効果素子からなり、永久磁石2の外周面に対して空隙を介して対向し、かつ互いに電気角で90 度位相をずらしてA1 相検出素子41 とB1 相検出素子42 を設け、さらにA1 相検出素子41 に対して電気角で180 度位相をずらして A2 相検出素子43 を、B1 相検出素子42 に対して電気角で180 度位相をずらしてB2 相検出素子44 を設けてある。52は定電圧駆動回路である。
Next, Example 2 will be described with reference to the drawings.
FIG. 4 is a configuration diagram of a magnetic encoder device according to a second embodiment of the present invention.
In FIG. 4, 1 is a rotating body, 2 is a permanent magnet fixed to the
The magnetic field detection element 4 is composed of four Hall effect elements, which are opposed to the outer peripheral surface of the permanent magnet 2 through a gap and are 90 degrees out of phase with each other at an electrical angle. A
図5は、磁界検出素子4の温度を測定するための定電圧駆動回路52及び信号処理回路5の回路ブロック図である。定電圧駆動回路52の素子駆動配線の一部に温度推定用抵抗8を設けている。温度推定用抵抗8の両端出力Vcvt1、及びVcvt2をそれぞれ、信号処理回路5の差動増幅器53に接続しており、差動後の温度推定用電圧VcvtとしてA/D変換回路56に入力し、角度演算回路57に入力している。一方、A1 相検出素子41,A2相検出素子42,から出力されるA1 相, A2相の各信号は差動増幅器54に入力され、B1 相検出素子43,B2相検出素子44,から出力されるB1 相, B2相の各信号は差動増幅器55に入力される。さらに各々の出力はA/D変換回路56に入力されて、角度演算回路57に入力される。
本発明が特許文献1、及び実施例1と異なる部分は、定電圧駆動回路52に温度推定用抵抗6を備えて、電圧を計測するための回路が接続がなされている点である。
FIG. 5 is a circuit block diagram of the constant voltage drive circuit 52 and the
The present invention is different from
その動作は、実施例1と同様に回転体1の回転に伴って永久磁石2が回転する。永久磁石2の発する磁界を磁界検出素子4にて検出して電気信号に変換し、信号処理回路5に入力する。本発明の磁気式エンコーダ装置の回転角度算出方法を、フローチャートを用いて説明する。
図6は回転角度算出方法のフローチャートである。磁界検出素子出力Va,Vbを取得し(ステップ201)、温度推定用電圧Vcvtを取得する(ステップ202)。任意の温度範囲においてあらかじめT=γ×Vcvt+δとして算出が可能になっているので、取得したVcvt値から温度Tを推定する(ステップ203)。あらかじめ記録されている温度Tn値にもっとも近い値からVmoffn値(m=a,b)を決定し(ステップ204)、得られたVmoffn値をVa、Vbに代入してオフセットを調整する(ステップ205)。さらにVa,Vbを用いて角度θの演算、
θ=tan-1(Va/Vb)
を行って、角度を算出して(ステップ206)、角度を出力する(ステップ207)。
In the operation, the permanent magnet 2 rotates as the
FIG. 6 is a flowchart of the rotation angle calculation method. Magnetic field detection element outputs Va and Vb are acquired (step 201), and temperature estimation voltage Vcvt is acquired (step 202). Since it is possible to calculate in advance as T = γ × Vcvt + δ in an arbitrary temperature range, the temperature T is estimated from the acquired Vcvt value (step 203). The Vmoffn value (m = a, b) is determined from the value closest to the temperature Tn value recorded in advance (step 204), and the obtained Vmoffn value is substituted into Va and Vb to adjust the offset (step 205). ). Further, calculation of the angle θ using Va and Vb,
θ = tan-1 (Va / Vb)
To calculate the angle (step 206) and output the angle (step 207).
本実施例では以上のように磁界検出素子の温度を推定できるので、20℃から100℃に磁界検出素子周囲温度をあげた場合、従来の温度推定が無くオフセット温度ドリフトを補正しない方法では、角度出力精度の温度変動による誤差は±1.6度であることに対し、本実施例ではオフセット値を記録する温度間隔を5℃毎にし、Vmoffn値を記録して実施したところ、角度出力精度の温度変動による誤差は約1/80となった。
以上のように、本実施例を用いれば磁界検出素子周囲の温度変化に対しても高い精度が維持される適用範囲の広い磁気式エンコーダ装置を提供できるようになる。なお、本実施例ではオフセット値を記録する温度間隔を5℃毎にVmoffn値を記録して実施しているが、記録が可能な限り温度間隔を狭めれば精度が向上することは言うまでもない。
また、本実施例では定電圧駆動回路52の端子間を差動増幅器としているが、入力電圧が十分大きい場合、検出電圧を低減するAMPを用いても同様の効果が得られることは自明である。
また、温度検出用抵抗は素子駆動VH線に接続したが、素子駆動VL線に接続しても同様の効果が得られることは自明である。さらに、信号はすべてA/D変換回路56に入力しているが、他のA/D変換回路に接続し角度演算回路57に接続しても良いことは自明である。
In this embodiment, the temperature of the magnetic field detection element can be estimated as described above. Therefore, when the ambient temperature of the magnetic field detection element is increased from 20 ° C. to 100 ° C., there is no conventional temperature estimation and the offset temperature drift is not corrected. The error due to the temperature fluctuation of the output accuracy is ± 1.6 degrees. In this embodiment, the temperature interval for recording the offset value is set every 5 ° C., and the Vmoffn value is recorded. The error due to was about 1/80.
As described above, by using this embodiment, it is possible to provide a magnetic encoder device with a wide application range in which high accuracy is maintained even with respect to a temperature change around the magnetic field detection element. In this embodiment, the temperature interval for recording the offset value is recorded by recording the Vmoffn value every 5 ° C. However, it goes without saying that the accuracy is improved if the temperature interval is narrowed as much as possible.
Further, in this embodiment, the differential amplifier is used between the terminals of the constant voltage drive circuit 52. However, when the input voltage is sufficiently large, it is obvious that the same effect can be obtained even if the AMP for reducing the detection voltage is used. .
Although the temperature detection resistor is connected to the element drive VH line, it is obvious that the same effect can be obtained even if it is connected to the element drive VL line. Further, all the signals are input to the A /
次に、実施例3について図を参照して説明する。
実施例3の構成は実施例2と外観上ハード構成は同じである。異なるのは回転角度算出方法が異なる信号処理回路5を備えていることである。本発明の磁気式エンコーダ装置の回転角度算出方法をフローチャートを用いて説明する。
図7は実施例3に係る回転角度算出方法のフローチャートである。
磁界検出素子出力Va,Vbを取得し(ステップ301)、温度推定用電圧Vcvtを取得する(ステップ302)。取得したVcvt値に最も近い、あらかじめ記録しているVtn,Vtn+1を用いて係数k、
k=(Vt−Vtn)/(Vtn+1−Vtn)
を算出する(ステップ303)。あらかじめ記録されているVtn,Vtn+1に対応するVmoffn+1−Vmoffn値(m=a,b)から
Vmoff=k×(Vmoffn+1−Vmoffn)+Vmoffn
の計算を行いオフセット補正値Vmoffを決定し(ステップ304)、得られたVmoff値をVa、Vbに代入してオフセットを調整する(ステップ305)。さらにVa,Vbを用いて角度θの演算、
θ=tan-1(Va/Vb)
を行って、角度θを算出して(ステップ306)、角度θを出力する(ステップ307)。
Next, Example 3 will be described with reference to the drawings.
The configuration of the third embodiment is the same as that of the second embodiment in terms of appearance. The difference is that a
FIG. 7 is a flowchart of the rotation angle calculation method according to the third embodiment.
Magnetic field detection element outputs Va and Vb are acquired (step 301), and temperature estimation voltage Vcvt is acquired (step 302). Coefficients k using the previously recorded Vtn and Vtn + 1 closest to the obtained Vcvt value,
k = (Vt−Vtn) / (Vtn + 1−Vtn)
Is calculated (step 303). From Vmoffn + 1−Vmoffn values (m = a, b) corresponding to Vtn and Vtn + 1 recorded in advance Vmoff = k × (Vmoffn + 1−Vmoffn) + Vmoffn
Then, the offset correction value Vmoff is determined (step 304), and the obtained Vmoff value is substituted into Va and Vb to adjust the offset (step 305). Further, calculation of the angle θ using Va and Vb,
θ = tan-1 (Va / Vb)
To calculate the angle θ (step 306) and output the angle θ (step 307).
本実施例では以上のように磁界検出素子の温度を推定できるので、20℃から100℃に磁界検出素子周囲温度をあげた場合、従来の温度推定が無くオフセット温度ドリフトを補正しない方法では、角度出力精度の温度変動による誤差は±1.6度であることに対し、本実施例ではオフセット値を記録する温度間隔を10℃毎にし、Vmoffn値を記録して実施したところ、角度出力精度の温度変動による誤差は約1/140となった。
以上のように、本実施例を用いれば磁界検出素子周囲の温度変化に対しても高い精度が維持される適用範囲の広い磁気式エンコーダ装置を提供できるようになる。なお、温度検出用抵抗は素子駆動VH線に接続したが、素子駆動VL線に接続しても同様の効果が得られることは自明である。さらに、信号はすべてA/D変換回路56に入力しているが、他のA/D変換回路に接続し角度演算回路57に接続しても良いことは自明である。
このように、定電流駆動回路51を用いる場合、温度推定用の電圧を計測する為の接続がなされており、定電圧駆動回路52を用いる場合、温度推定用の温度推定用抵抗6を備え、電圧を計測する為の接続がなされているので、特別な温度検出機構を磁界検出素子近傍に配置することなく温度補正が可能となる。また、温度推定用電圧近傍のあらかじめ記録している電圧を用いてオフセット補正値の補完を行うので、本磁気式エンコーダの磁界検出素子周囲の温度が変動しても精度が維持されるので、適用範囲の広い磁気式エンコーダ装置を供給することができる。
In this embodiment, the temperature of the magnetic field detection element can be estimated as described above. Therefore, when the ambient temperature of the magnetic field detection element is increased from 20 ° C. to 100 ° C., there is no conventional temperature estimation and the offset temperature drift is not corrected. The error due to the temperature fluctuation of the output accuracy is ± 1.6 degrees. In this embodiment, the temperature interval for recording the offset value is set every 10 ° C. and the Vmoffn value is recorded. The error due to was about 1/140.
As described above, by using this embodiment, it is possible to provide a magnetic encoder device with a wide application range in which high accuracy is maintained even with respect to a temperature change around the magnetic field detection element. Although the temperature detection resistor is connected to the element drive VH line, it is obvious that the same effect can be obtained even if it is connected to the element drive VL line. Further, all the signals are input to the A /
As described above, when the constant current drive circuit 51 is used, connection for measuring the temperature estimation voltage is made. When the constant voltage drive circuit 52 is used, the temperature estimation resistor 6 is provided for temperature estimation. Since the connection for measuring the voltage is made, temperature correction can be performed without arranging a special temperature detection mechanism in the vicinity of the magnetic field detection element. In addition, since the offset correction value is complemented using a pre-recorded voltage near the temperature estimation voltage, the accuracy is maintained even if the temperature around the magnetic field detection element of this magnetic encoder changes. A wide range magnetic encoder device can be supplied.
次に、実施例4について図を参照して説明する。
図8は本発明の実施例4に係る磁気式エンコーダ装置の位置検出方法のフロー図である。
図10は実施例4に係る磁気式エンコーダ装置の構成図であり、図11は図10に示す信号処理回路のブロック図である。なお、図10、図11は従来技術と同じ構成であるが、実施例4の一般的なハード構成を対象とした1例と言う意味で改めて図示している。
従って、ここでは図8が、請求項7から請求項8の発明を説明する図である。
先ず、ハード構成については、図10に示すように、1は回転体であり、2は回転体1に固定された永久磁石、4は永久磁石2に空隙を介して対向し、固定体3に取り付けられた4つの磁界検出素子、6は磁界検出素子を駆動する駆動回路、5は磁界検出素子4からの信号を処理する信号処理回路である。永久磁石2は、材質はフェライト系磁石、Sm −Co 系磁石、Ne −Fe −B系磁石、または前記各種磁石を高分子材料で結合した分散型複合磁石によって形成し、回転体1の軸に垂直な方向と平行である一方向に磁化されN −S の2 極となっている。寸法は例えば、直径が3mm 、厚さが1mm である。磁界検出素子4 は、4 個のホール効果素子からなり、永久磁石2 の外周面に対して空隙を介して対向し、かつ互いに電気角で90 度位相をずらしてA1 相検出素子41 とB1 相検出素子42 を設け、さらに A1 相検出素子41 に対して電気角で180 度位相をずらしてA2 相検出素子43 を、B1 相検出素子42 に対して電気角で180 度位相をずらしてB2 相検出素子44 を設けてある。
また、駆動回路6から、前記磁界検出素子4を駆動する電流を供給している。
また、図示していないが磁界検出素子4付近に温度を検出する素子が配置され、信号処理回路に入力されている。
図11の信号処理回路のハード構成は、Va1とVa2の差動信号Vaを出力する差動増幅器53と、Vb1とVb2の差動信号Vbを出力する差動増幅器54と、角度演算回路57で構成されている。
なお、本実施例が前実施例と異なる部分は、信号処理回路5に温度Tを判定して、磁界検出素子のオフセット値を再設定し角度演算を行う位置検出方法のソフトを備えた部分である。
Next, Example 4 will be described with reference to the drawings.
FIG. 8 is a flowchart of the position detection method for the magnetic encoder device according to the fourth embodiment of the present invention.
FIG. 10 is a configuration diagram of a magnetic encoder device according to the fourth embodiment, and FIG. 11 is a block diagram of the signal processing circuit shown in FIG. 10 and 11 have the same configuration as that of the prior art, but they are illustrated again in the sense of an example intended for the general hardware configuration of the fourth embodiment.
Therefore, FIG. 8 is a diagram for explaining the inventions of claims 7 to 8 here.
First, regarding the hardware configuration, as shown in FIG. 10, 1 is a rotating body, 2 is a permanent magnet fixed to the
Further, a current for driving the magnetic field detection element 4 is supplied from the drive circuit 6.
Although not shown, an element for detecting temperature is arranged near the magnetic field detection element 4 and is input to the signal processing circuit.
The hardware configuration of the signal processing circuit of FIG. 11 includes a
Note that this embodiment differs from the previous embodiment in that the
その動作は、図8を参照すると、磁気式エンコーダ装置に電源が投入されると、信号処理回路5は各パラメタを初期値に設定する初期設定がおこなわれ、Tmに温度閾値が代入される(図示していない)。
次に、磁界検出素子4の信号、および温度信号を入力する。本実施例では、Va、およびVbの信号が入力され、温度信号は、別に設けられている温度センサの信号がTとして入力される(ステップ401)。次に、温度TがTmを超えるか判断される(ステップ402)。超えた場合は、Va,Vbからオフセット値を検出しVoffa、Voffbに代入してステップ404に進む(ステップ403)。オフセット値は磁界検出素子信号の最大値V*maxとV*min(*=a,b)から
Voff*=V*max−((V*max−V*min)/2) (*=a,b)……(2)
として求める。
また、温度TがTmを超えていない場合は、ステップ403は実行せずに、Va'にVa−Voffaを、Vb'にVb−Voffbを代入する処理を行い(ステップ404)。角度θを、
θ=tan−1(Va'/Vb')、
より導出し(ステップ405)、求めたθを信号処理回路6に接続された上位機器(図示していない)に出力する(ステップ406)。
Referring to FIG. 8, when the power is supplied to the magnetic encoder device, the
Next, a signal of the magnetic field detection element 4 and a temperature signal are input. In the present embodiment, Va and Vb signals are input, and a temperature sensor signal provided as a temperature signal is input as T (step 401). Next, it is determined whether the temperature T exceeds Tm (step 402). If exceeded, an offset value is detected from Va and Vb and substituted for Voffa and Voffb before proceeding to step 404 (step 403). The offset value is Voff * = V * max − ((V * max−V * min) / 2) from the maximum value V * max and V * min (* = a, b) of the magnetic field detection element signal (* = a, b) …… (2)
Asking.
If the temperature T does not exceed Tm, Step 403 is not executed, and Va-Voffa is substituted for Va ′ and Vb-Voffb is substituted for Vb ′ (Step 404). The angle θ
θ = tan−1 (Va ′ / Vb ′),
(Step 405), and the obtained θ is output to a host device (not shown) connected to the signal processing circuit 6 (step 406).
本実施例では逐次オフセット値を算出する必要が無いので、従来技術と比較して信号処理回路の処理時間を短くすることができ、CPUの負担を軽くした磁気式エンコーダ装置を提供できるようになる。 In this embodiment, since it is not necessary to calculate the offset value sequentially, the processing time of the signal processing circuit can be shortened as compared with the prior art, and a magnetic encoder device that reduces the burden on the CPU can be provided. .
次に、実施例5について図を参照して説明する。
図9は実施例5に係るフロー図である。
図9は請求項9および請求項10に記載の発明を説明するもので、ハード構成は実施例4の図10、図11と変わらないので、構成説明は省略する。
実施例4と異なっている部分は、信号処理回路5に温度Tを判定する際にあらかじめ記述されている温度閾値がn個有り、Tm−1を下回るか、Tmを上回った場合、磁界検出素子のオフセット値を再設定し角度演算を行う位置検出方法のソフトを備えた部分である。
Next, Example 5 will be described with reference to the drawings.
FIG. 9 is a flowchart according to the fifth embodiment.
FIG. 9 illustrates the invention described in claims 9 and 10. The hardware configuration is the same as that of FIG. 10 and FIG. 11 of the fourth embodiment, and the description of the configuration is omitted.
The difference from the fourth embodiment is that when there are n temperature thresholds described in advance when the temperature T is determined in the
その動作を、図9に示すフローを用いて説明する。
磁気式エンコーダ装置に電源が投入されると、信号処理回路5は各パラメタを初期値に設定する初期設定を行う。Tmに温度閾値が代入される。次に、磁界検出素子4の信号、および温度信号を入力する。本実施例ではVa、およびVbの信号が入力され、温度信号は別に設けられている温度センサの信号がTとして入力される。T値に最も近いTm値のm値が、はじめにmとして入力処理される(ステップ501)。
次に、温度TがTmを超えるか判断される(ステップ502a1)。超えた場合はm=m+1の処理がなされ(ステップ502a2)、Va,Vbからオフセット値を検出しVoffa、Voffbに代入してステップ504に進む。オフセット値検出は式(2)を用いる(ステップ503)。
一方、温度TがTmを超えていない場合は、温度TがTm−1を下回るか判断される(ステップ502b1)。下回った場合はm=m−1の処理がなされ(ステップ502b2)、Va,Vbからオフセット値を検出しVoffa、Voffbに代入してステップ504に進む。オフセット値検出は前記同様に式(2)を用いる(ステップ503)。
続いて、Va'にVa−Vaoffaを、Vb'にVb−Voffbを代入する(ステップ504)。
次に、角度θをtan−1(Va'/Vb')によって導出し(ステップ505)、θを信号処理回路6に接続された上位機器(図示していない)に出力する(ステップ506)。
The operation will be described with reference to the flow shown in FIG.
When power is turned on to the magnetic encoder device, the
Next, it is determined whether the temperature T exceeds Tm (step 502a1). If it exceeds, m = m + 1 is processed (step 502a2), an offset value is detected from Va and Vb, and is substituted for Voffa and Voffb. The offset value is detected using equation (2) (step 503).
On the other hand, if the temperature T does not exceed Tm, it is determined whether the temperature T is lower than Tm−1 (step 502b1). If it falls below, the process of m = m−1 is performed (step 502b2), the offset value is detected from Va and Vb, is substituted for Voffa and Voffb, and the process proceeds to step 504. The offset value is detected using the equation (2) as described above (step 503).
Subsequently, Va-Vaoffa is substituted for Va 'and Vb-Voffb is substituted for Vb' (step 504).
Next, the angle θ is derived by tan−1 (Va ′ / Vb ′) (step 505), and θ is output to a host device (not shown) connected to the signal processing circuit 6 (step 506).
本実施例では逐次オフセット値を算出する必要が無く、且つ広い温度範囲で詳細に設定可能になるので、従来と比較して信号処理回路の処理時間を短くするうえ、適用温度範囲の広い磁気式エンコーダ装置を提供できるようになる。 In this embodiment, it is not necessary to calculate a sequential offset value and can be set in detail in a wide temperature range, so that the processing time of the signal processing circuit is shortened compared to the conventional method, and a magnetic type with a wide applicable temperature range is provided. An encoder device can be provided.
このように、温度があらかじめセットされた閾値に応じて、信号処理回路5に入力された磁界検出素子4のオフセット値を求めて、オフセット値の除去を行って位置算出を行う信号処理回路5を備えているので、頻繁にオフセット値を求めないのでCPUの負担を加えずに位置検出できるので、適用範囲の広い磁気式エンコーダ装置の位置検出方法を提供することができる。
As described above, the
次に、実施例6について図を参照して説明する。
図12は実施例6に係る磁気式エンコーダ装置の構成図である。
図12において11は回転体であり、20はリング形状永久磁石21と前記リング形状磁石の外周に配置され磁性材料で構成されたリング形状磁気ヨーク22とで構成される磁界発生ロータ、4はリング形状永久磁石21に空隙を介して対向し、固定体31に取り付けられた1回転内の位置を検出する4つの磁界検出素子、5は磁界検出素子4からの信号を処理する信号処理回路であり、6は駆動回路である。
前記磁界発生ロータ20を構成する一方の部材であるリング形状永久磁石21は、材質はフェライト系磁石、Sm−Co系磁石、Ne−Fe−B系磁石、または前記各種磁石を高分子材料で結合した分散型複合磁石によって形成し、回転体1の軸に垂直方向と平行に一方向に磁化されN−Sの2極となっている。また、磁界発生ロータ20を構成する他方の部材であるリング形状磁気ヨーク22は、磁気抵抗を減少させ、磁界を1回転内の位置を検出する磁界検出素子4に磁界を集中させる効果があり、これにより磁界検出素子のSN比を向上させることができる。さらに外界の磁気ノイズを遮断する効果もある。材質は、強磁性体であれば良く、例えば炭素鋼などである。
1回転内の位置および角度を検出する磁界検出素子4は、4個のホール効果素子からなり、永久磁石21の内周面に対して空隙を介して対向し、かつ互いに電気角で90度位相をずらしてA1相検出素子41とB1相検出素子42を設け、さらにA1相検出素子41 に対して電気角で180度位相をずらしてA2相検出素子43を、B1相検出素子42 に対して電気角で180度位相をずらしてB2相検出素子44を設けてある。
Next, Example 6 will be described with reference to the drawings.
FIG. 12 is a configuration diagram of a magnetic encoder device according to the sixth embodiment.
In FIG. 12, 11 is a rotating body, 20 is a magnetic field generating rotor composed of a ring-shaped permanent magnet 21 and a ring-shaped magnetic yoke 22 arranged on the outer periphery of the ring-shaped magnet and made of a magnetic material. Four magnetic field detecting elements that face the shape permanent magnet 21 with a gap and are attached to the fixed body 31 to detect a position within one rotation, and 5 is a signal processing circuit that processes a signal from the magnetic field detecting element 4. , 6 are drive circuits.
The ring-shaped permanent magnet 21, which is one member constituting the magnetic field generating rotor 20, is made of a ferrite-based magnet, Sm—Co-based magnet, Ne—Fe—B-based magnet, or a combination of the various magnets with a polymer material. The dispersive type composite magnet is formed and magnetized in one direction parallel to the direction perpendicular to the axis of the
The magnetic field detection element 4 that detects the position and angle within one rotation is composed of four Hall effect elements, faces the inner peripheral surface of the permanent magnet 21 via a gap, and is 90 degrees in electrical angle with each other. A1 phase detection element 41 and B1
また、図12に示すように駆動回路6は、例えば、定電圧電源と、抵抗値を変更するデジタルポテンショ等から構成され、磁界検出素子4を駆動する電流を供給している。
本実施例が前実施例と異なっている部分は、リング形状永久磁石21と前記リング形状磁石の外周に配置され磁性材料で構成されたリング形状磁気ヨーク22とで構成される磁界発生ロータ備えた、いわゆるアウター・ロータ型として、固定体31に取り付けられた1回転内の位置を検出する4つの磁界検出素子をリング形状永久磁石21に空隙を介して対向して配置した部分である。
また、ここでも信号処理回路5は、温度Tを判定する際にあらかじめ記述されている温度閾値がn個有り、Tm−1を下回るか、Tmを上回った場合、磁界検出素子のオフセット値を再設定し角度演算を行う位置検出方法がとられる。
As shown in FIG. 12, the drive circuit 6 is configured by, for example, a constant voltage power supply and a digital potentiometer that changes a resistance value, and supplies a current for driving the magnetic field detection element 4.
The present embodiment is different from the previous embodiment in that a magnetic field generating rotor including a ring-shaped permanent magnet 21 and a ring-shaped magnetic yoke 22 arranged on the outer periphery of the ring-shaped magnet and made of a magnetic material is provided. In other words, as a so-called outer rotor type, four magnetic field detection elements that detect the position within one rotation attached to the fixed body 31 are arranged to face the ring-shaped permanent magnet 21 with a gap therebetween.
Also, here, the
その動作を、前実施例と共通のフロー図9を用いて説明する。
磁気式エンコーダ装置に電源が投入されると、信号処理回路6は各パラメタを初期値に設定する初期設定を行う。Tmに温度閾値が代入される。次に、磁界検出素子4の信号、および温度信号を入力する。本実施例ではVa、およびVbの信号が入力され、温度信号は別に設けられている温度センサの信号がTとして入力される。T値に最も近いTm値のm値が、はじめにmとして入力処理される(ステップ501)。次に、温度TがTmを超えるか判断される(ステップ502a1)。超えた場合はm=m+1の処理がなされ(ステップ502a2)、Va,Vbからオフセット値を検出しVoffa、Voffbに代入してステップ504に進む。オフセット値検出は式(2)を用いる(ステップ503)。
温度TがTmを超えていない場合は、次の(S502b1)で温度TがTn−1を下回るか判断される(ステップ502b1)。下回った場合は、m=m−1の処理がなされ(ステップ502b2)、Va,Vbからオフセット値を検出しVoffa、Voffbに代入してステップ504に進む。オフセット値検出は前記同様に式(2)を用いる(ステップ503)。
次に、Va'にVa−Vaoffaを、Vb'にVb−Voffbを代入(ステップ504)する。次に、角度θをtan−1(Va'/Vb')によって導出し(ステップ505)、θを信号処理回路5に接続された上位機器(図示なし)に出力する(ステップ506)。
The operation will be described with reference to a flow chart 9 common to the previous embodiment.
When the magnetic encoder device is turned on, the signal processing circuit 6 performs initial setting for setting each parameter to an initial value. A temperature threshold is substituted into Tm. Next, a signal of the magnetic field detection element 4 and a temperature signal are input. In this embodiment, Va and Vb signals are input, and a temperature sensor signal provided separately from the temperature signal is input as T. The m value of the Tm value closest to the T value is first input and processed as m (step 501). Next, it is determined whether the temperature T exceeds Tm (step 502a1). If it exceeds, m = m + 1 is processed (step 502a2), an offset value is detected from Va and Vb, and is substituted for Voffa and Voffb. The offset value is detected using equation (2) (step 503).
If the temperature T does not exceed Tm, it is determined in the next (S502b1) whether the temperature T falls below Tn-1 (step 502b1). If it falls below, m = m−1 is processed (step 502b2), an offset value is detected from Va and Vb, and is substituted for Voffa and Voffb. The offset value is detected using the equation (2) as described above (step 503).
Next, Va-Vaoffa is substituted for Va ', and Vb-Voffb is substituted for Vb' (step 504). Next, the angle θ is derived by tan−1 (Va ′ / Vb ′) (step 505), and θ is output to a host device (not shown) connected to the signal processing circuit 5 (step 506).
本実施例では逐次オフセット値を算出する必要が無く、且つ広い温度範囲で詳細に設定可能になるので、従来と比較して信号処理回路の処理時間を短くするうえ、適用温度範囲の広い磁気式エンコーダ装置を提供できるようになる。 In this embodiment, it is not necessary to calculate a sequential offset value and can be set in detail in a wide temperature range, so that the processing time of the signal processing circuit is shortened compared to the conventional method, and a magnetic type with a wide applicable temperature range is provided. An encoder device can be provided.
このように、温度があらかじめセットされた閾値に応じて、信号処理回路5に入力された磁界検出素子4のオフセット値を求めて、オフセット値の除去を行って位置算出を行う信号処理回路5を備えているので、頻繁にオフセット値を求めないのでCPUの負担を加えずに位置検出できるので適用範囲の広い磁気式エンコーダ装置の位置検出方法を提供することができる。
なお、本実施例では、アウターロータ方式の磁気式エンコーダ装置に対して、実施例5と同じ位置検出方法を適用する例を示したが、アウターロータ方式の磁気式エンコーダ装置に対して、実施例1乃至4に示した位置検出方法を適用できることは明らかである。
As described above, the
In the present embodiment, an example in which the same position detection method as that of the fifth embodiment is applied to the outer rotor type magnetic encoder device, but the embodiment is applied to the outer rotor type magnetic encoder device. It is clear that the position detection methods shown in 1 to 4 can be applied.
本発明によって広い温度範囲で高精度な回転位置検出ができるようになるので、本発明の磁気式エンコーダ装置を搭載したサーボモータは高温にて動作可能なため、高い耐環境性が要求される用途に適用できる。
また、CPUに負担を掛けずに適用範囲を広げることができるので、基板が小さくなり、適用温度範囲が広がるので、高温対応のサーボモータや、更に小型サーボモータと言う用途にも適用できる。
Since the present invention enables highly accurate rotational position detection over a wide temperature range, the servo motor equipped with the magnetic encoder device of the present invention can operate at high temperatures, and therefore requires high environmental resistance. Applicable to.
In addition, since the applicable range can be expanded without imposing a burden on the CPU, the substrate becomes smaller and the applicable temperature range is expanded. Therefore, the present invention can be applied to high-temperature compatible servo motors and even smaller servo motors.
1:回転体
2:永久磁石
3:固定体
4:磁界検出素子
5:信号処理回路
6:駆動回路
8:温度推定用抵抗
20:磁界発生ロータ
21:リング形状永久磁石
22:リング形状磁気ヨーク
41:A1相検出素子
42:B1相検出素子
43:A2相検出素子
44:B2相検出素子
51:定電流駆動回路
52:定電圧駆動回路
53,54,55:差動増幅器
56:A/D変換回路
57:角度演算回路
DESCRIPTION OF SYMBOLS 1: Rotating body 2: Permanent magnet 3: Fixed body 4: Magnetic field detection element 5: Signal processing circuit 6: Drive circuit 8: Resistance for temperature estimation 20: Magnetic field generating rotor 21: Ring-shaped permanent magnet 22: Ring-shaped magnetic yoke 41 : A1 phase detection element 42: B1 phase detection element 43: A2 phase detection element 44: B2 phase detection element 51: Constant current drive circuit 52: Constant
Claims (11)
前記少なくとも2つの磁界検出素子の駆動電圧を計測し、前記信号処理回路に入力して、あらかじめ記録している駆動電圧と温度の関係から前記磁界検出素子の温度を推定し、あらかじめ記録しているオフセット値と温度の関係から、温度の最も近い値に対応するオフセットの補正値を、前記磁界検出素子から得られる信号に加え、回転角度の算出を行う機能を有する信号処理回路を備えていることを特徴とする磁気式エンコーダ装置。 A permanent magnet magnetized in one direction perpendicular to the rotating body and fixed to the rotating body; at least two magnetic field detecting elements mounted on the fixed body facing the permanent magnet through a gap; and the magnetic field detection In a magnetic encoder device comprising a constant current drive circuit for driving an element with a constant current and a signal processing circuit for processing a signal from the magnetic field detection element,
The drive voltage of the at least two magnetic field detection elements is measured, input to the signal processing circuit, the temperature of the magnetic field detection element is estimated from the relationship between the drive voltage and the temperature recorded in advance, and recorded in advance. A signal processing circuit having a function of calculating a rotation angle in addition to a signal obtained from the magnetic field detection element from the relationship between the offset value and the temperature, in addition to the offset correction value corresponding to the closest temperature value. A magnetic encoder device.
前記少なくとも2つの磁界検出素子の駆動電圧を計測し、前記信号処理回路に入力して、あらかじめ記録している駆動電圧と温度の関係から前記磁界検出素子の温度を推定し、あらかじめ記録しているオフセット値と温度の関係から、温度の最も近い値に対応するオフセットの補正値を、前記磁界検出素子から得られる信号に加え、回転角度の算出を行うという手順で処理することを特徴とする磁気式エンコーダ装置の回転角度算出方法。 A permanent magnet magnetized in one direction perpendicular to the rotating body and fixed to the rotating body; at least two magnetic field detecting elements mounted on the fixed body facing the permanent magnet through a gap; and the magnetic field detection In a rotation angle calculation method for a magnetic encoder device comprising a constant current drive circuit for driving an element with a constant current and a signal processing circuit for processing a signal from the magnetic field detection element,
The drive voltage of the at least two magnetic field detection elements is measured, input to the signal processing circuit, the temperature of the magnetic field detection element is estimated from the relationship between the drive voltage and the temperature recorded in advance, and recorded in advance. From the relationship between the offset value and the temperature, the offset correction value corresponding to the closest value of the temperature is added to the signal obtained from the magnetic field detection element, and the rotation angle is calculated, and the magnetic field is processed. Rotation angle calculation method of the encoder system.
前記少なくとも2つの磁界検出素子に直列に接続された温度推定用抵抗間電圧を計測し、前記信号処理回路に入力してあらかじめ記録している温度推定用抵抗間電圧と温度の関係から前記磁界検出素子の温度を推定し、あらかじめ記録しているオフセット値と温度の関係から、温度の最も近い値に対応するオフセットの補正値を、前記磁界検出素子から得られる信号に加え、回転角度の算出を行う機能を有する信号処理回路を備えていることを特徴とする磁気式エンコーダ装置。 A permanent magnet magnetized in one direction perpendicular to the rotating body and fixed to the rotating body; at least two magnetic field detecting elements mounted on the fixed body facing the permanent magnet through a gap; and the magnetic field detection In a magnetic encoder device comprising a constant voltage driving circuit for driving an element with a constant voltage and a signal processing circuit for processing a signal from the magnetic field detection element,
The voltage between the temperature estimation resistors connected in series to the at least two magnetic field detection elements is measured, and the magnetic field detection is performed from the relationship between the temperature estimation resistance voltage and the temperature recorded in advance by inputting to the signal processing circuit. The temperature of the element is estimated, and the offset correction value corresponding to the closest temperature value is added to the signal obtained from the magnetic field detection element based on the relationship between the offset value and the temperature recorded in advance, and the rotation angle is calculated. A magnetic encoder device comprising a signal processing circuit having a function to perform.
前記少なくとも2つの磁界検出素子に直列に接続された温度推定用抵抗間電圧を計測し、前記信号処理回路に入力してあらかじめ記録している温度推定用抵抗間電圧と温度の関係から前記磁界検出素子の温度を推定し、あらかじめ記録しているオフセット値と温度の関係から、温度の最も近い値に対応するオフセットの補正値を、前記磁界検出素子から得られる信号に加え、回転角度の算出を行うという手順で処理することを特徴とする磁気式エンコーダ装置の回転角度算出方法。 A permanent magnet magnetized in one direction perpendicular to the rotating body and fixed to the rotating body; at least two magnetic field detecting elements mounted on the fixed body facing the permanent magnet through a gap; and the magnetic field detection In a rotation angle calculation method for a magnetic encoder device, comprising: a constant voltage driving circuit that drives an element with a constant voltage; and a signal processing circuit that processes a signal from the magnetic field detection element.
The voltage between the temperature estimation resistors connected in series to the at least two magnetic field detection elements is measured, and the magnetic field detection is performed from the relationship between the temperature estimation resistance voltage and the temperature recorded in advance by inputting to the signal processing circuit. The temperature of the element is estimated, and the offset correction value corresponding to the closest temperature value is added to the signal obtained from the magnetic field detection element based on the relationship between the offset value and the temperature recorded in advance, and the rotation angle is calculated. A rotation angle calculation method for a magnetic encoder device, characterized in that processing is performed according to a procedure of performing.
Voff=k×(Voffn+1−Voffn)+Voffn
を算出し、前記磁界検出素子から得られる信号に加え、回転角度の算出を行う機能を信号処理回路に備えていることを特徴とする請求項1又は3記載の磁気式エンコーダ装置。 When the drive voltage of the magnetic field detection element or the voltage across the resistance for temperature estimation is different from the voltage value Vt recorded in the signal processing circuit in advance, the coefficient k = (Vt−Vtn) using Vtn and Vtn + 1 closest to Vt. ) / (Vtn + 1−Vtn), and using the offset correction values Voffn and Voffn + 1 of the magnetic field detecting element 4 recorded in advance,
Voff = k × (Voffn + 1−Voffn) + Voffn
The magnetic encoder device according to claim 1, wherein the signal processing circuit has a function of calculating a rotation angle in addition to a signal obtained from the magnetic field detection element.
Voff=k×(Voffn+1−Voffn)+Voffn
を算出し、前記磁界検出素子から得られる信号に加え、回転角度の算出を行うという手順で処理することを特徴とする請求項2又は4記載の磁気式エンコーダ装置の回転角度算出方法 When the drive voltage of the magnetic field detection element or the voltage across the resistance for temperature estimation is different from the voltage value Vt recorded in the signal processing circuit 5 in advance, the coefficient k = (Vt−) using Vtn and Vtn + 1 closest to Vt. Vtn) / (Vtn + 1−Vtn) is obtained, and the offset correction values Voffn, Voffn + 1 of the magnetic field detection element recorded in advance are used,
Voff = k × (Voffn + 1−Voffn) + Voffn
5. The rotation angle calculation method for a magnetic encoder device according to claim 2, wherein the rotation angle is calculated in addition to a signal obtained from the magnetic field detection element.
温度Tがあらかじめ記録された閾値Tmを超えたとき、前記信号処理回路に入力された前記磁界検出素子の信号のオフセット値を求め、前記信号からオフセット値の除去を行い位置算出することを特徴とする磁気式エンコーダの位置検出方法。 A permanent magnet magnetized in one direction perpendicular to the rotating body and fixed to the rotating body; at least two magnetic field detecting elements mounted on the fixed body facing the permanent magnet through a gap; and the magnetic field detection In a position detection method of a magnetic encoder comprising a drive circuit for driving an element and a signal processing circuit for processing a signal from the magnetic field detection element,
When the temperature T exceeds a pre-recorded threshold value Tm, an offset value of the signal of the magnetic field detection element input to the signal processing circuit is obtained, and the position is calculated by removing the offset value from the signal. To detect the position of a magnetic encoder.
温度Tがあらかじめセットされた値Tmを超えたとき、前記信号処理回路に入力された前記磁界検出素子の信号のオフセット値を求め、前記信号からオフセット値の除去を行い位置算出する信号処理回路を備えたことを特徴とする磁気式エンコーダ装置。 A permanent magnet magnetized in one direction perpendicular to the rotating body and fixed to the rotating body; at least two magnetic field detecting elements mounted on the fixed body facing the permanent magnet through a gap; and the magnetic field detection In a magnetic encoder device comprising a drive circuit for driving an element and a signal processing circuit for processing a signal from the magnetic field detection element,
A signal processing circuit for obtaining an offset value of the signal of the magnetic field detection element input to the signal processing circuit when the temperature T exceeds a preset value Tm, and removing the offset value from the signal to calculate a position; A magnetic encoder device comprising the magnetic encoder device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005276499A JP4706413B2 (en) | 2005-09-22 | 2005-09-22 | Magnetic encoder device, rotation angle calculation method and position detection method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005276499A JP4706413B2 (en) | 2005-09-22 | 2005-09-22 | Magnetic encoder device, rotation angle calculation method and position detection method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007085942A true JP2007085942A (en) | 2007-04-05 |
JP4706413B2 JP4706413B2 (en) | 2011-06-22 |
Family
ID=37973060
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005276499A Expired - Fee Related JP4706413B2 (en) | 2005-09-22 | 2005-09-22 | Magnetic encoder device, rotation angle calculation method and position detection method thereof |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4706413B2 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009168782A (en) * | 2008-01-21 | 2009-07-30 | Yaskawa Electric Corp | Magnetic encoder device and position detection method using the same |
JP2013250073A (en) * | 2012-05-30 | 2013-12-12 | Denso Corp | Rotational angle detection device |
CN104748768A (en) * | 2015-03-12 | 2015-07-01 | 常州大学 | Angular position detection device and detection method thereof |
KR20170026209A (en) * | 2015-08-28 | 2017-03-08 | 니혼 덴산 산쿄 가부시키가이샤 | Encoder |
CN110274615A (en) * | 2019-08-08 | 2019-09-24 | 成都芯进电子有限公司 | The circuit and method of incremental encoding ABZ output accuracy are improved in a kind of magnetic angle encoder |
CN116203480A (en) * | 2023-04-24 | 2023-06-02 | 麦格雷博电子(深圳)有限公司 | Rotor surface magnetic field detection correction compensation method and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0835809A (en) * | 1994-02-01 | 1996-02-06 | Moving Magnet Technol Sa | Magnetic position sensor by hall element |
JP2000329513A (en) * | 1999-05-17 | 2000-11-30 | Denso Corp | Driving circuit for physical quantity detecting element and rotation angle sensor |
JP2003161637A (en) * | 2001-11-26 | 2003-06-06 | Furukawa Electric Co Ltd:The | Temperature compensating circuit of detecting device |
JP2003254785A (en) * | 2002-02-28 | 2003-09-10 | Fanuc Ltd | Signal processor for encoder |
JP2004340681A (en) * | 2003-05-14 | 2004-12-02 | Yaskawa Electric Corp | Method for calculating rotation angle of magnetic encoder |
-
2005
- 2005-09-22 JP JP2005276499A patent/JP4706413B2/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0835809A (en) * | 1994-02-01 | 1996-02-06 | Moving Magnet Technol Sa | Magnetic position sensor by hall element |
JP2000329513A (en) * | 1999-05-17 | 2000-11-30 | Denso Corp | Driving circuit for physical quantity detecting element and rotation angle sensor |
JP2003161637A (en) * | 2001-11-26 | 2003-06-06 | Furukawa Electric Co Ltd:The | Temperature compensating circuit of detecting device |
JP2003254785A (en) * | 2002-02-28 | 2003-09-10 | Fanuc Ltd | Signal processor for encoder |
JP2004340681A (en) * | 2003-05-14 | 2004-12-02 | Yaskawa Electric Corp | Method for calculating rotation angle of magnetic encoder |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009168782A (en) * | 2008-01-21 | 2009-07-30 | Yaskawa Electric Corp | Magnetic encoder device and position detection method using the same |
JP2013250073A (en) * | 2012-05-30 | 2013-12-12 | Denso Corp | Rotational angle detection device |
US9488461B2 (en) | 2012-05-30 | 2016-11-08 | Denso Corporation | Rotation angle detection device |
CN104748768A (en) * | 2015-03-12 | 2015-07-01 | 常州大学 | Angular position detection device and detection method thereof |
KR20170026209A (en) * | 2015-08-28 | 2017-03-08 | 니혼 덴산 산쿄 가부시키가이샤 | Encoder |
KR102677085B1 (en) | 2015-08-28 | 2024-06-21 | 니덱 인스트루먼츠 가부시키가이샤 | Encoder |
CN110274615A (en) * | 2019-08-08 | 2019-09-24 | 成都芯进电子有限公司 | The circuit and method of incremental encoding ABZ output accuracy are improved in a kind of magnetic angle encoder |
CN110274615B (en) * | 2019-08-08 | 2024-05-10 | 成都芯进电子有限公司 | Circuit and method for improving output precision of incremental coding ABZ in magnetic angle encoder |
CN116203480A (en) * | 2023-04-24 | 2023-06-02 | 麦格雷博电子(深圳)有限公司 | Rotor surface magnetic field detection correction compensation method and system |
CN116203480B (en) * | 2023-04-24 | 2023-08-18 | 麦格雷博电子(深圳)有限公司 | Rotor surface magnetic field detection correction compensation method and system |
Also Published As
Publication number | Publication date |
---|---|
JP4706413B2 (en) | 2011-06-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8471552B2 (en) | Rotational angle-measurement apparatus and rotational speed-measurement apparatus | |
US8368392B2 (en) | Magnetic encoder and method of detecting absolute rotational position | |
JP6779227B2 (en) | Angle detector and electric power steering device | |
JP5144528B2 (en) | Rotation angle detector | |
JP2011106935A (en) | Rotation angle measurement apparatus | |
JP2017156266A (en) | Rotation angle sensor and correction method therefor | |
JP2013501486A (en) | Electric drive device with commutator and control method of electric motor with commutator | |
WO2018168203A1 (en) | Rotation sensor | |
CN113167598A (en) | Angle sensor with multipole magnet for motor vehicle steering systems | |
JP4706413B2 (en) | Magnetic encoder device, rotation angle calculation method and position detection method thereof | |
JP5176208B2 (en) | Rotation angle detection method and rotation angle sensor | |
CN104937380B (en) | For system, sensor bearing unit, deviator module and the offset method for offseting the analog output signal of sensor device | |
CN111133279A (en) | Method for compensating for disturbances of a measured angle signal of a magnetic angle sensor of an electric machine, correspondingly designed microcontroller, electric machine and computer program product | |
JP2007529737A (en) | Magnetoresistive sensor with test mode start function | |
JP2004340681A (en) | Method for calculating rotation angle of magnetic encoder | |
JP6619974B2 (en) | Encoder | |
JP2007256034A (en) | Rotation angle detecting device and bearing provided with detection device | |
JP5162739B2 (en) | Encoder signal processing method, encoder device, and servo motor | |
JP2006042537A (en) | Brushless dc motor added with magnetic encoder and signal processing circuit | |
JP7319178B2 (en) | Servo motor controller | |
JP2023538316A (en) | System and method for detecting magnetic turn counter errors | |
JP2005083983A (en) | Rotation angle detecting apparatus | |
JP4343585B2 (en) | Bearing device with absolute angle sensor and method of using the same | |
JP2020153980A (en) | A system that determines at least one rotational parameter of a rotating member | |
JP4725109B2 (en) | Brushless motor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20071127 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080818 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100906 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20101005 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20101203 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20110215 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110228 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150325 Year of fee payment: 4 |
|
LAPS | Cancellation because of no payment of annual fees |