JPH10227657A - Position detector with error correction function - Google Patents

Position detector with error correction function

Info

Publication number
JPH10227657A
JPH10227657A JP2866197A JP2866197A JPH10227657A JP H10227657 A JPH10227657 A JP H10227657A JP 2866197 A JP2866197 A JP 2866197A JP 2866197 A JP2866197 A JP 2866197A JP H10227657 A JPH10227657 A JP H10227657A
Authority
JP
Japan
Prior art keywords
component
signal
phase
phase signal
detected
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
JP2866197A
Other languages
Japanese (ja)
Other versions
JP3391646B2 (en
Inventor
Motosumi Yura
元澄 由良
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.)
Okuma Corp
Original Assignee
Okuma Machinery Works Ltd
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 Okuma Machinery Works Ltd filed Critical Okuma Machinery Works Ltd
Priority to JP02866197A priority Critical patent/JP3391646B2/en
Publication of JPH10227657A publication Critical patent/JPH10227657A/en
Application granted granted Critical
Publication of JP3391646B2 publication Critical patent/JP3391646B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To constantly detect a DC component and to detect a position accurately by utilizing a property that the mutual difference between square sums indicating the radius of a circle increases in the case of a gear eccentricity and adding a correction to a bi-phase signal using only an accurate DC component detection value when the amplitude fluctuation is small. SOLUTION: When a retention signal dh of the output of an amplitude fluctuation detection part 11 is zero, DC components Va and Vb detected by a DC component detection part 10 are outputted as they are. When hen the retention signal dh is 1, DC components Va and Va immediately before are retained and continue to be outputted. As a result, when the amplitudes of bi-phase signals (x) and (y) fluctuate and an operation for detecting the DC components Va and Vb becomes inaccurate, a DC component that is detected by an operation immediately before continues to be used. Then, by performing a correction by subtracting DC components Va and Vb outputted from the DC component retention part 18 using substracting 19a and 19b, an ideal bi-phase AC signal that does not contain any DC component can be obtained without any DC component.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、工作機械の主軸の
回転位置や回転速度等の検出に利用される回転位置検出
装置の改良に関し、誤差補正機能を有した位置検出装置
に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an improvement in a rotational position detecting device used for detecting a rotational position and a rotational speed of a main shaft of a machine tool, and more particularly to a position detecting device having an error correcting function.

【0002】[0002]

【従来の技術】図5は従来の回転位置検出装置の検出原
理を示すブロック線図である。図中、1は回転軸等の披
検出体に取付けられたギアであり、一般的に鉄などの磁
性体で構成されている。2はセンサであり、磁気抵抗素
子およびバイアスマグネットから成り、ギア1が回転す
ることによって、その歯に基づいて発生する磁束変化が
電気信号xおよびyとして出力される。これらの電気信
号xおよびyは一般的に2相交流信号であり、次の数1
および数2のように表わされる。
2. Description of the Related Art FIG. 5 is a block diagram showing the principle of detection of a conventional rotational position detecting device. In the figure, reference numeral 1 denotes a gear attached to a detection body such as a rotating shaft, which is generally made of a magnetic material such as iron. Reference numeral 2 denotes a sensor, which includes a magnetoresistive element and a bias magnet, and outputs a change in magnetic flux generated based on the teeth of the gear 1 as the gear 1 rotates as electric signals x and y. These electric signals x and y are generally two-phase AC signals,
And Equation 2.

【数1】x=V・sinθ+VaX = V · sin θ + Va

【数2】y=V・cosθ+Vb ここで、Vは2相信号の振幅、Vaは信号xに含まれる
直流成分であり、Vbは信号yに含まれる直流成分であ
る。θは2相信号の位相であり、ギア1の回転角度を
φ、ギア1の歯数をnとすると、位相θは下記数3で表
わされる。
Y = V · cos θ + Vb where V is the amplitude of the two-phase signal, Va is the DC component included in the signal x, and Vb is the DC component included in the signal y. is the phase of the two-phase signal, and when the rotation angle of the gear 1 is φ and the number of teeth of the gear 1 is n, the phase θ is expressed by the following equation (3).

【数3】θ=n・φ[Equation 3] θ = n · φ

【0003】これら2相信号xおよびyはそれぞれA/
Dコンバータ3aおよび3bによって瞬時値(x,y)
に変換され、除算器6に入力される。従来の一般的な回
転位置検出装置においては上記数1、数2に示した直流
成分VaおよびVbを無視しており、このとき除算器6の
出力は次のように表わされる。
[0003] These two-phase signals x and y are A /
Instantaneous value (x, y) by D converters 3a and 3b
And input to the divider 6. In the conventional general rotational position detecting device, the DC components Va and Vb shown in the above equations (1) and (2) are neglected. At this time, the output of the divider 6 is expressed as follows.

【数4】x/y=sinθ/cosθ=tanθ 除算器6の出力は変換器7によってtan関数の逆変換さ
れ、次のように回転位置θが検出される。
X / y = sin θ / cos θ = tan θ The output of the divider 6 is inversely converted from the tan function by the converter 7, and the rotational position θ is detected as follows.

【数5】θ=tan-1(x/y)=tan-1(tanθ)## EQU5 ## θ = tan -1 (x / y) = tan -1 (tan θ)

【0004】以上のように検出された回転位置θは、ギ
ア1の歯の1個分を1周期とする微小な位置である。ま
た一方、2相信号xおよびyはコンパレータ4aおよび
4bによってパルス信号化されてカウンタ回路5に入力
される。このカウンタ回路5では、パルス信号xaおよ
びyaをカウントすることによって上記回転位置θの1
周期を越える範囲の回転位置上位桁udが検出される。
この回転位置上位桁udと上記の回転位置θは加算器8
において加算され、ギア1の全周にわたる回転位置検出
値φが得られる。なお、一般的に図5中の点線で示され
る部分はマイクロプロセッサ等を用いてソフトウェア処
理される。
The rotational position θ detected as described above is a minute position where one tooth of the gear 1 has one cycle. On the other hand, the two-phase signals x and y are converted into pulse signals by the comparators 4a and 4b and input to the counter circuit 5. The counter circuit 5 counts the pulse signals xa and ya to obtain 1 of the rotational position θ.
The upper digit ud of the rotational position exceeding the period is detected.
The upper digit ud of the rotational position and the rotational position θ are added by an adder 8.
And the rotational position detection value φ over the entire circumference of the gear 1 is obtained. Generally, a portion indicated by a dotted line in FIG. 5 is processed by software using a microprocessor or the like.

【0005】[0005]

【発明が解決しようとする課題】前述の回転位置検出装
置においては、2相信号に含まれる直流成分Vaおよび
Vbを無視しているが、一般的なセンサの出力信号には
温度変化等によって発生する直流成分が含まれており、
このため位置検出値に誤差を生じる。このような問題に
対して本出願人は既に特開平3-54416号において、2相
信号に含まれる直流成分を検出し、補正する位置検出装
置を提案している。かかる従来の位置検出装置において
は2相信号の振幅Vを一定と仮定しており、直流成分を
検出する際に使用する2相信号の瞬時値(x1,y1)〜(x4,y
4)のそれぞれについて、振幅Vが等しくなければ正確な
直流成分の検出ができない。しかしながら、一般的なセ
ンサの出力信号は、ギアとセンサの距離に反比例して信
号振幅が変化するため、ギアが回転軸に対して偏心して
取付けられている場合には回転に応じて振幅Vは変化し
てしまう。また一方、上記従来の位置検出装置において
は、2相信号の瞬時値(x1,y1)〜(x4,y4)を抽出する際に
振幅Vの変化を何ら考慮していないために、ギアが偏心
している場合には振幅Vの異なっている瞬時値の組を抽
出してしまうため直流成分の検出値が不正確になる。
In the above-described rotational position detecting device, the DC components Va and Vb included in the two-phase signal are neglected, but the output signal of a general sensor is generated due to a temperature change or the like. DC component
This causes an error in the position detection value. With respect to such a problem, the present applicant has already proposed in Japanese Patent Application Laid-Open No. 3-54416 a position detecting device for detecting and correcting a DC component included in a two-phase signal. In such a conventional position detecting device, the amplitude V of the two-phase signal is assumed to be constant, and the instantaneous values (x1, y1) to (x4, y) of the two-phase signal used for detecting the DC component are used.
Unless the amplitudes V are equal for each of 4), accurate detection of a DC component cannot be performed. However, since the signal amplitude of a general sensor output signal changes in inverse proportion to the distance between the gear and the sensor, when the gear is mounted eccentrically with respect to the rotation axis, the amplitude V is changed according to the rotation. Will change. On the other hand, in the above-described conventional position detection device, when extracting the instantaneous values (x1, y1) to (x4, y4) of the two-phase signal, the change in the amplitude V is not considered at all, so that the gear is biased. If the user is in mind, a set of instantaneous values having different amplitudes V is extracted, so that the detected value of the DC component becomes inaccurate.

【0006】本発明は上述のような事情によりなされた
ものであり、本発明の目的は、ギアの偏心によって2相
信号の振幅が変動するような場合においても、常に正確
に直流成分が検出することでき、その結果、精度のよい
位置検出を行うことができる誤差補正機能付き位置検出
装置を提供することである。
The present invention has been made in view of the above circumstances, and an object of the present invention is to always accurately detect a DC component even when the amplitude of a two-phase signal fluctuates due to gear eccentricity. As a result, an object of the present invention is to provide a position detection device with an error correction function capable of performing accurate position detection.

【0007】[0007]

【課題を解決するための手段】本発明は、被検出体の位
置に応じて、所定の位相を有し、相互に90度位相の異
なる2相信号x=V・cosθ+Va,y=V・sinθ+Vbを用いて前記
被検出体の位置を検出する位置検出装置に関するもので
本発明の上記目的は、前記2相信号の軌跡の、円周上の
相異なる少なくとも3点以上の瞬時値(x1,y1),(x2,y2),
(x3,y3)を保持する瞬時値保持部と、前記2相信号の直
流成分と前記軌跡の円中心とが一致することにより、前
記瞬時値(x1,y1),(x2,y2),(x3,y3)より、前記軌跡の円
の中心として直流成分検出値Va,Vbを演算する直流成分
検出部と、前記直流成分検出値Va,Vbを保持する直流成
分保持部と、前記瞬時値(x1,y1),(x2,y2),(x3,y3)のそ
れぞれに対して、前記円の半径を表わす二乗和R1=x12+y
12,R2=x22+y22,R3=x32+y32を求め、当該二乗和R1,R2,R3
の相互の差が所定値以上の場合には前記直流成分保持部
に対して保持信号を出力する振幅変動検出部と、前記直
流成分保持部によって保持された直流成分検出値Va,Vb
と前記2相信号との差信号により前記被検出体の位置を
検出する位置検出部とを設けることによて達成される。
According to the present invention, two-phase signals x = V.cos .theta. + Va, y = V having predetermined phases according to the position of the object to be detected and having mutually different phases by 90 degrees. The present invention relates to a position detecting device that detects the position of the object using sin θ + Vb. The object of the present invention is to provide an instantaneous value of at least three or more different points on the circumference of the locus of the two-phase signal. (x1, y1), (x2, y2),
(x3, y3), and the instantaneous value (x1, y1), (x2, y2), (x x3, y3), a DC component detection unit that calculates DC component detection values Va, Vb as the center of the trajectory circle, a DC component holding unit that holds the DC component detection values Va, Vb, and the instantaneous value ( x1, y1), (x2, y2), for each of (x3, y3), the sum of squares R1 = x1 2 + y representing the radius of the circle
1 2 , R2 = x2 2 + y2 2 , R3 = x3 2 + y3 2 and sum of squares R1, R2, R3
When the mutual difference is equal to or more than a predetermined value, an amplitude fluctuation detection unit that outputs a holding signal to the DC component holding unit, and the DC component detection values Va and Vb held by the DC component holding unit.
This is achieved by providing a position detection unit that detects the position of the object to be detected based on a difference signal between the two-phase signal and the two-phase signal.

【0008】[0008]

【発明の実施の形態】本発明の位置検出装置において
は、2相信号の軌跡である円周上の相異なる3つ以上の
点である複数の瞬時値(x1,y1),(x2,y2),(x3,y3)のそれ
ぞれに対して、振幅変動検出部が前記円の半径を表わす
二乗和R1=x12+y12, R2=x22+y22, R3=x32+y32を求めてお
り、ギアが偏心している場合には、前記二乗和R1,R2,R3
の相互の差が大きくなることを利用して振幅Vの変動を
検出する。そして、振幅Vの変動が検知された場合に
は、直流成分検出部が正確な直流成分検出値を出力でき
ないことを予測して直流成分保持部が直流成分検出値V
a,Vbを保持する。この結果、振幅Vの変動が小さい場合
に演算された正確な直流成分検出値のみを用いて2相信
号に補正を加えることができる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS In a position detecting apparatus according to the present invention, a plurality of instantaneous values (x1, y1), (x2, y2), which are three or more different points on the circumference of a locus of a two-phase signal, are described. ), (against x3, y3) respectively, the sum of squares amplitude variation detecting section represents a radius of the circle R1 = x1 2 + y1 2, R2 = x2 2 + y2 2, R3 = x3 2 + y3 2 If the gear is eccentric, the sum of squares R1, R2, R3
Of the amplitude V is detected by utilizing the fact that the difference between the two becomes larger. When a change in the amplitude V is detected, the DC component detection unit predicts that the DC component detection unit cannot output an accurate DC component detection value, and the DC component holding unit sets the DC component detection value V
hold a and Vb. As a result, the two-phase signal can be corrected using only the accurate DC component detection value calculated when the fluctuation of the amplitude V is small.

【0009】図1は、本発明に係る誤差補正機能付き位
置検出装置の一実施例を示すブロック線図であり、図5
の従来の位置検出装置と同一の構成要素には同一符号を
付記してあり、その説明は重複するので省略する。瞬時
値保持部9は、A/Dコンバータ3aおよび3bの出力
である各2相信号の瞬時値(x,y)から下記数6の演算に
基づいて4組の瞬時値(x1,y1),(x2,y2),(x3,y3),(x4,y
4)を抽出し、4個のバッファに保持する。なお、バッフ
ァは具体的な実施例においては、データレジスタやマイ
クロプロセッサ等を用いる場合にはメモリなどを用いる
ことができる。
FIG. 1 is a block diagram showing an embodiment of a position detecting device with an error correcting function according to the present invention.
The same components as those of the conventional position detecting device are denoted by the same reference numerals, and the description thereof will not be repeated. The instantaneous value holding unit 9 obtains four sets of instantaneous values (x1, y1), based on the following equation 6 from the instantaneous values (x, y) of the two-phase signals output from the A / D converters 3a and 3b. (x2, y2), (x3, y3), (x4, y
4) is extracted and held in four buffers. In a specific embodiment, when a data register, a microprocessor, or the like is used, a memory can be used as the buffer.

【数6】(x1,y1)はx≧0かつy≧0かつ|x|≧|y| (x2,y2)はx≧0かつy<0かつ|x|<|y| (x3,y3)はx<0かつy<0かつ|x|≧|y| (x4,y4)はx<0かつy≧0かつ|x|<|y|(X1, y1) is x ≧ 0 and y ≧ 0 and | x | ≧ | y | (x2, y2) is x ≧ 0 and y <0 and | x | <| y | (x3, y3 ) Is x <0 and y <0 and | x | ≧ | y | (x4, y4) is x <0 and y ≧ 0 and | x | <| y |

【0010】上記数6によって抽出された瞬時値(x1,y
1),(x2,y2),(x3,y3),(x4,y4)は、2相信号の軌跡である
円周上の点として図2のように表わされる。すなわち、
円周を8つの領域に分割して、そのうち隣り合わない4
つの領域の瞬時値を抽出するというアルゴリズムであ
る。このように隣り合わない領域の瞬時値を抽出するこ
とによって、後述する直流成分演算における精度を確保
することができる。なお上記数6のほかに下記数7のよ
うな演算に基づけば、図2に示していない領域の瞬時値
を抽出することができるが、その内容は全く等価であ
る。
The instantaneous value (x1, y
1), (x2, y2), (x3, y3), (x4, y4) are represented as points on the circumference which is the locus of the two-phase signal as shown in FIG. That is,
Divide the circumference into eight areas, of which four are not adjacent
This is an algorithm that extracts instantaneous values of two regions. By extracting the instantaneous values of the non-adjacent areas in this way, it is possible to ensure the accuracy in the DC component calculation described later. It should be noted that, based on an operation such as the following equation 7 in addition to the above equation 6, an instantaneous value in an area not shown in FIG. 2 can be extracted, but the contents are completely equivalent.

【数7】(x1,y1)はx≧0かつy≧0かつ|x|<|y| (x2,y2)はx≧0かつy<0かつ|x|≧|y| (x3,y3)はx<0かつy<0かつ|x|<|y| (x4,y4)はx<0かつy≧0かつ|x|≧|y|(X1, y1) is x ≧ 0 and y ≧ 0 and | x | <| y | (x2, y2) is x ≧ 0 and y <0 and | x | ≧ | y | (x3, y3 ) Is x <0 and y <0 and | x | <| y | (x4, y4) is x <0 and y ≧ 0 and | x | ≧ | y |

【0011】瞬時値保持部9に保持された瞬時値(x1,y
1),(x2,y2),(x3,y3),(x4,y4)を用いて、直流成分検出部
10は下記数8および数9の演算に基づいて2相信号に
含まれる直流成分Va,Vbを演算する。
The instantaneous value (x1, y) held in the instantaneous value holding unit 9
Using (1), (x2, y2), (x3, y3), and (x4, y4), the DC component detection unit 10 calculates the DC component Va included in the two-phase signal based on the calculation of Expressions 8 and 9 below. , Vb.

【数8】Va=1/2・[{(x12-x32)(y2-y4)-(x22-x42)(y1-y3)
+(y2-y4)(y1-y3)(y1+y3-y2-y4)}/{(x1-x3)(y2-y4)-(x2-
x4)(y1-y3)}]
[Equation 8] Va = 1/2 · [{(x1 2 -x3 2 ) (y2-y4)-(x2 2 -x4 2 ) (y1-y3)
+ (y2-y4) (y1-y3) (y1 + y3-y2-y4)} / {(x1-x3) (y2-y4)-(x2-
x4) (y1-y3)}]

【数9】Vb=1/2・[{(y22-y42)(x1-x3)-(y12-y32)(x2-x4)
+(x2-x4)(x1-x3)(x2+x4-x1-x3)}/{(x1-x3)(y2-y4)-(x2-
x4)(y1-y3)}] 上記演算は図2において、点(x1,y1)と点(x3,y3)を結ぶ
線分、および点(x2,y2)と点(x4,y4)を結ぶ線分のそれぞ
れの垂直二等分線の交点座標を求める演算であり、得ら
れた座標点(Va,Vb)は図2の円の中心点であり、2相信
号の直流成分に一致する。
[Equation 9] Vb = 1/2 · [{(y2 2 -y4 2 ) (x1-x3)-(y1 2 -y3 2 ) (x2-x4)
+ (x2-x4) (x1-x3) (x2 + x4-x1-x3)} / {(x1-x3) (y2-y4)-(x2-
x4) (y1-y3)}] In FIG. 2, the line segment connecting the point (x1, y1) and the point (x3, y3) and the point (x2, y2) and the point (x4, y4) in FIG. This is an operation to obtain the intersection coordinates of the vertical bisectors of the line segments, and the obtained coordinate points (Va, Vb) are the center points of the circle in FIG. 2 and coincide with the DC components of the two-phase signal.

【0012】上記の数8、数9による演算は図2に示す
ように点(x1,y1)〜(x4,y4)の全てが同一の円周上に存在
する場合には正しく円の中心点を求めることができる。
しかしながら図1に示したギア1が回転軸に対して偏心
して取付けられているときには、センサ2とギア1の間
隔が変化することによって2相信号の振幅が変化する。
このように振幅が変化した場合には図3に示すように、
瞬時値保持部9は半径の異なる円周上の瞬時値を保持す
る結果となり、このとき直流成分検出部10は正しく円
の中心点を求めることができない。このため、本発明に
おいては、振幅変動検出部11は瞬時値保持部9に保持
された瞬時値(x1,y1)〜(x4,y4)を用いて下記数10の演
算によって円の半径の二乗和を演算する。
As shown in FIG. 2, when the points (x1, y1) to (x4, y4) are all present on the same circumference, the calculation based on the above equations (8) and (9) is correctly performed. Can be requested.
However, when the gear 1 shown in FIG. 1 is mounted eccentrically with respect to the rotation shaft, the amplitude of the two-phase signal changes due to a change in the interval between the sensor 2 and the gear 1.
When the amplitude changes in this way, as shown in FIG.
The result is that the instantaneous value holding unit 9 holds the instantaneous values on the circumferences having different radii. At this time, the DC component detection unit 10 cannot correctly obtain the center point of the circle. For this reason, in the present invention, the amplitude fluctuation detection unit 11 uses the instantaneous values (x1, y1) to (x4, y4) held in the instantaneous value holding unit 9 to calculate the square of the radius of the circle by the following equation (10). Calculate the sum.

【数10】R1=x12+y12 R2=x22+y22 R3=x32+y32 R4=x42+y42 [Number 10] R1 = x1 2 + y1 2 R2 = x2 2 + y2 2 R3 = x3 2 + y3 2 R4 = x4 2 + y4 2

【0013】上記数10で演算されたR1〜R4を用いて、
これらの相互の差が許容値以下であるかを判定し、もし
許容値を越えている場合には振幅が変動していると判断
して直流成分の保持信号dhを出力する。この保持信号
dhを出力する動作、つまり振幅変動検出部11の構成
は、図4のブロックダイアグラムのようになっている。
すなわち乗算器12a〜12hによってx1〜y4の二乗を
それぞれ演算し、加算器13a〜13dによってx成分
の二乗とy成分の二乗をそれぞれ加算し、半径の二乗和
R1〜R4を演算する。減算器14a〜14cでは半径の二
乗和R1〜R4の相互の差を演算しているが、例えば減算器
14aでは(x1,y1)によって演算されたR1と(x4,y4)によ
って演算されたR4との差D1を求めている。次にコンパ
レータ15a〜15cでは減算器14a〜14cの出力
したR1,R2,R3,R4の相互の差D1〜D3が所定値以上で
あるかどうかを基準電圧16と比較することによって判
定する。なお図4の実施例では、コンパレータ15a〜
15cの出力論理は”1”のときに相互の差が所定値未
満、”0”のときに所定値以上を表わしている。このコ
ンパレータ15a〜15cの出力をNAND回路17に
よって論理合成し、R1,R2,R3,R4の相互の差D1〜D3
のうち、少なくとも1つが所定値以上の場合には保持信
号dhを出力する。
Using R1 to R4 calculated by the above equation (10),
It is determined whether or not the difference between them is equal to or less than an allowable value. If the difference exceeds the allowable value, it is determined that the amplitude has fluctuated, and a DC component holding signal dh is output. The operation of outputting the holding signal dh, that is, the configuration of the amplitude fluctuation detecting unit 11 is as shown in the block diagram of FIG.
That is, the squares of x1 to y4 are calculated by the multipliers 12a to 12h, and the squares of the x component and the y component are added by the adders 13a to 13d, respectively, and the sum of squares of the radius is calculated.
Calculate R1 to R4. The subtractors 14a to 14c calculate the difference between the sums of the squares of the radii R1 to R4.For example, the subtractor 14a calculates R1 calculated by (x1, y1) and R4 calculated by (x4, y4). Is obtained. Next, the comparators 15a to 15c determine whether or not the difference D1 to D3 between R1, R2, R3, and R4 output from the subtracters 14a to 14c is greater than or equal to a predetermined value by comparing the difference with the reference voltage 16. In the embodiment shown in FIG.
The output logic of 15c indicates that the difference is less than a predetermined value when it is "1" and that it is more than a predetermined value when it is "0". The outputs of the comparators 15a to 15c are logically synthesized by the NAND circuit 17, and the difference D1 to D3 between R1, R2, R3, and R4 is calculated.
If at least one of them is equal to or larger than a predetermined value, the holding signal dh is output.

【0014】直流成分保持部18はサンプルホールド回
路によって実現されており、振幅変動検出部11の出力
した保持信号dhが”0”の場合には直流成分検出部1
0の検出した直流成分Va、Vbをそのまま出力し、保
持信号dhが”1”になった場合には、その直前の直流
成分VaおよびVbを保持して出力を継続する。この結
果、2相信号xおよびyの振幅が変動して直流成分Va
およびVbを検出する演算が不正確になる場合について
は、その直前の演算によって検出された直流成分をその
まま継続して使用することができる。なお、2相信号に
含まれる直流成分は一般的に温度変化等に起因するの
で、短い時間領域で急激に変化するものではない。従っ
て、直流成分保持部18が保持した値を継続して使用し
ていても良い。次にこのように直流成分保持部18の出
力した直流成分Va、Vbを、減算器19aおよび19
bにおいて2相交流信号から減算することによって補正
すると、数1、数2に含まれている直流成分はなくな
り、直流成分を含まない理想的な2相交流信号を得るこ
とができる。なお、図1のうち、点線で示した部分は、
マイクロプロセッサ等を用いてソフトウェアによって実
現することも可能である。
The DC component holding unit 18 is realized by a sample and hold circuit. When the holding signal dh output from the amplitude fluctuation detecting unit 11 is "0", the DC component detecting unit 1
The DC components Va and Vb detected as 0 are output as they are, and when the holding signal dh becomes "1", the DC components Va and Vb immediately before that are held and the output is continued. As a result, the amplitudes of the two-phase signals x and y fluctuate and the DC component Va
When the calculation for detecting Vb and Vb becomes inaccurate, the DC component detected by the immediately preceding calculation can be used as it is. Since the DC component included in the two-phase signal is generally caused by a temperature change or the like, it does not rapidly change in a short time region. Therefore, the value held by the DC component holding unit 18 may be continuously used. Next, the DC components Va and Vb output from the DC component holding unit 18 are subtracted by the subtracters 19a and 19b.
If the correction is made by subtracting from the two-phase AC signal in b, the DC components included in Equations 1 and 2 disappear, and an ideal two-phase AC signal containing no DC component can be obtained. Note that, in FIG.
It is also possible to realize by software using a microprocessor or the like.

【0015】[0015]

【発明の効果】以上説明したように本発明においては、
ギアが回転軸に対して偏心して取付けられているために
2相信号の振幅が変動している場合においても、2相信
号に含まれる直流成分が不正確に検出されることなく、
常に正確に直流成分を補正して位置を検出することがで
き、高精度な位置検出装置を実現できる。
As described above, in the present invention,
Even when the amplitude of the two-phase signal fluctuates because the gear is mounted eccentrically with respect to the rotating shaft, the DC component included in the two-phase signal is not detected incorrectly,
The position can always be detected by accurately correcting the DC component, and a highly accurate position detecting device can be realized.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明に係る位置検出装置の一実施例のシステ
ム構成を示すブロック図である。
FIG. 1 is a block diagram showing a system configuration of an embodiment of a position detecting device according to the present invention.

【図2】直流成分検出原理を説明するための図である。FIG. 2 is a diagram for explaining a principle of detecting a DC component.

【図3】振幅が変動した場合の直流成分検出動作を説明
するための図である。
FIG. 3 is a diagram for explaining a DC component detection operation when the amplitude fluctuates.

【図4】振幅変動検出部の内部構成を示すブロック図で
ある。
FIG. 4 is a block diagram illustrating an internal configuration of an amplitude fluctuation detection unit.

【図5】従来技術による位置検出装置のシステム構成の
一例を示すブロック図である。
FIG. 5 is a block diagram showing an example of a system configuration of a position detecting device according to the related art.

【符号の説明】[Explanation of symbols]

1 ギア 2 センサ 3 A/Dコンバータ 4 コンパレータ 5 カウンタ回路 6 除算器 7 変換器 8 加算器 9 瞬時値保持部 10 直流成分検出部 11 振幅変動検出部 12 乗算器 13 加算器 14 減算器 15 コンパレータ 16 基準電圧 17 NAND回路 18 直流成分保持部 Reference Signs List 1 gear 2 sensor 3 A / D converter 4 comparator 5 counter circuit 6 divider 7 converter 8 adder 9 instantaneous value holding unit 10 DC component detecting unit 11 amplitude fluctuation detecting unit 12 multiplier 13 adder 14 subtractor 15 comparator 16 Reference voltage 17 NAND circuit 18 DC component holding unit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】被検出体の位置に応じて、所定の位相を有
し、互いに90度位相の異なる2相信号x=V・cosθ+Va,y
=V・sinθ+Vbを用いて前記被検出体の位置を検出する位
置検出装置において、前記2相信号の軌跡の、円周上の
相異なる少なくとも3点以上の瞬時値(x1,y1),(x2,y2),
(x3,y3)を保持する瞬時値保持部と、前記2相信号の直
流成分と前記軌跡の円中心とが一致することにより、前
記瞬時値(x1,y1),(x2,y2),(x3,y3)より、前記軌跡の円
の中心として直流成分検出値Va,Vbを演算する直流成分
検出部と、前記直流成分検出値Va,Vbを保持する直流成
分保持部と、前記瞬時値(x1,y1),(x2,y2),(x3,y3)のそ
れぞれに対して、前記円の半径を表わす二乗和R1=x12+y
12,R2=x22+y22,R3=x32+y32を求め、当該二乗和R1,R2,R3
の相互の差が所定値以上の場合には前記直流成分保持部
に対して保持信号を出力する振幅変動検出部と、前記直
流成分保持部によって保持された直流成分検出値Va,Vb
と前記2相信号との差信号により前記被検出体の位置を
検出する位置検出部とを具備したことを特徴とする誤差
補正機能付き位置検出装置。
1. A two-phase signal x = V · cos θ + Va, y having a predetermined phase and having a phase difference of 90 degrees according to the position of an object to be detected.
= V · sinθ + Vb, in the position detecting device for detecting the position of the detected object, the locus of the two-phase signal, at least three or more different points on the circumference of the instantaneous value (x1, y1), (x2, y2),
(x3, y3), and the instantaneous value (x1, y1), (x2, y2), (x x3, y3), a DC component detection unit that calculates DC component detection values Va, Vb as the center of the trajectory circle, a DC component holding unit that holds the DC component detection values Va, Vb, and the instantaneous value ( x1, y1), (x2, y2), for each of (x3, y3), the sum of squares R1 = x1 2 + y representing the radius of the circle
1 2 , R2 = x2 2 + y2 2 , R3 = x3 2 + y3 2 and sum of squares R1, R2, R3
When the mutual difference is equal to or more than a predetermined value, an amplitude fluctuation detection unit that outputs a holding signal to the DC component holding unit, and the DC component detection values Va and Vb held by the DC component holding unit.
A position detection unit for detecting a position of the object to be detected based on a difference signal between the two-phase signal and the two-phase signal.
【請求項2】請求項1に記載の誤差補正機能付き位置検
出装置において、前記瞬時値保持部は前記2相信号の瞬
時値x,yから、 (x1,y1)はx≧0かつy≧0かつ|x|≧|y|、 (x2,y2)はx≧0かつy<0かつ|x|<|y|、 (x3,y3)はx<0かつy<0かつ|x|≧|y|、 (x4,y4)はx<0かつy≧0かつ|x|<|y|からなる演算、も
しくは (x1,y1)はx≧0かつy≧0かつ|x|<|y|、 (x2,y2)はx≧0かつy<0かつ|x|≧|y|、 (x3,y3)はx<0かつy<0かつ|x|<|y|、 (x4,y4)はx<0かつy≧0かつ|x|≧|y|からなる演算に基
づいて前記軌跡の円周上の相異なる点である前記2相信
号の瞬時値(x1,y1)〜(x4,y4)を抽出し、保持することを
特徴とする誤差補正機能付き位置検出装置。
2. The position detection device with an error correction function according to claim 1, wherein said instantaneous value holding section is configured such that (x1, y1) is x ≧ 0 and y ≧ 0 and | x | ≧ | y |, (x2, y2) is x ≧ 0 and y <0 and | x | <| y |, (x3, y3) is x <0 and y <0 and | x | ≧ | y |, (x4, y4) is an operation consisting of x <0 and y ≧ 0 and | x | <| y |, or (x1, y1) is x ≧ 0 and y ≧ 0 and | x | <| y |, (X2, y2) are x ≧ 0 and y <0 and | x | ≧ | y |, (x3, y3) are x <0 and y <0 and | x | <| y |, (x4, y4 ) Is an instantaneous value (x1, y1) to (x4) of the two-phase signal, which is a different point on the circumference of the trajectory based on the calculation of x <0 and y ≧ 0 and | x | ≧ | y | , y4) are extracted and held, and a position detection device with an error correction function is provided.
【請求項3】請求項1又は2に記載の誤差補正機能付き
位置検出装置において、前記直流成分検出部は前記2相
信号の瞬時値(x1,y1)〜(x4,y4)を用いて Va=1/2・[{(x12-x32)(y2-y4)-(x22-x42)(y1-y3)+(y2-y4)
(y1-y3)(y1+y3-y2-y4)}/{(x1-x3)(y2-y4)-(x2-x4)(y1-y
3)}] Vb=1/2・[{(y22-y42)(x1-x3)-(y12-y32)(x2-x4)+(x2-x4)
(x1-x3)(x2+x4-x1-x3)}/{(x1-x3)(y2-y4)-(x2-x4)(y1-y
3)}] からなる演算に基づいて前記直流成分検出値Va,Vbを演
算することを特徴とする誤差補正機能付き位置検出装
置。
3. The position detection device with an error correction function according to claim 1, wherein the DC component detection unit performs a Va based on instantaneous values (x1, y1) to (x4, y4) of the two-phase signal. = 1/2 ・ [{(x1 2 -x3 2 ) (y2-y4)-(x2 2 -x4 2 ) (y1-y3) + (y2-y4)
(y1-y3) (y1 + y3-y2-y4)} / {(x1-x3) (y2-y4)-(x2-x4) (y1-y
3)}] Vb = 1/2 ・ [{(y2 2 -y4 2 ) (x1-x3)-(y1 2 -y3 2 ) (x2-x4) + (x2-x4)
(x1-x3) (x2 + x4-x1-x3)} / {(x1-x3) (y2-y4)-(x2-x4) (y1-y
3)}, wherein the DC component detection values Va and Vb are calculated based on the calculation consisting of:
JP02866197A 1997-02-13 1997-02-13 Position detection device with error correction function Expired - Fee Related JP3391646B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02866197A JP3391646B2 (en) 1997-02-13 1997-02-13 Position detection device with error correction function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02866197A JP3391646B2 (en) 1997-02-13 1997-02-13 Position detection device with error correction function

Publications (2)

Publication Number Publication Date
JPH10227657A true JPH10227657A (en) 1998-08-25
JP3391646B2 JP3391646B2 (en) 2003-03-31

Family

ID=12254695

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02866197A Expired - Fee Related JP3391646B2 (en) 1997-02-13 1997-02-13 Position detection device with error correction function

Country Status (1)

Country Link
JP (1) JP3391646B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003509665A (en) * 1999-09-15 2003-03-11 コンティネンタル・テーベス・アクチエンゲゼルシヤフト・ウント・コンパニー・オッフェネ・ハンデルスゲゼルシヤフト Method for detecting and evaluating the running dynamic state of an automobile
JP2013245959A (en) * 2012-05-23 2013-12-09 Okuma Corp Position detector

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003509665A (en) * 1999-09-15 2003-03-11 コンティネンタル・テーベス・アクチエンゲゼルシヤフト・ウント・コンパニー・オッフェネ・ハンデルスゲゼルシヤフト Method for detecting and evaluating the running dynamic state of an automobile
JP2013245959A (en) * 2012-05-23 2013-12-09 Okuma Corp Position detector

Also Published As

Publication number Publication date
JP3391646B2 (en) 2003-03-31

Similar Documents

Publication Publication Date Title
US10775201B2 (en) Rotary encoder and absolute angular position detection method thereof
US10775200B2 (en) Rotary encoder and absolute angular position detection method thereof
JP4138899B2 (en) Phase difference detection apparatus, position detection system and method for position detection
US7295000B2 (en) Method for detecting disturbances when determining the rotational speed of a rotor and evaluation circuit
JP4708427B2 (en) Evaluation method for analog first signal and analog second signal and evaluation circuit corresponding thereto
CN111464107B (en) Motor, motor data analysis method, device and system
JPH06147922A (en) Displacement measuring device
US8289013B2 (en) Speed detector and servomotor
JPH10227657A (en) Position detector with error correction function
US8401817B2 (en) Velocity detection device and servomotor
JP6204000B2 (en) Position detection device
JP2004077249A (en) Position detector with correcting function
JP3092100B2 (en) Position detector with error correction function
JP2003207366A (en) Rotation angle sensor
JPS62237316A (en) Detection error correcting device for position detector
JP3733397B2 (en) Multi-directional tilt detector
JPH04285805A (en) Encoder
JP3451851B2 (en) Rotation speed detector
JPS62228955A (en) Rotating speed detection system
JP2007139502A (en) Angle detector and device of calculating rotational coordinate
JP2004045087A (en) Device and method for detecting rotation angle
JP2021110592A (en) Angle detection device
JP2023041534A (en) magnetic encoder
JPH02236414A (en) Azimuth detecting system
JP2002044959A (en) Phase-synchronizing method for inverter

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120124

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120124

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130124

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130124

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140124

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees