JPH03170011A - Error detecting method by position detector and position detector with automatic error correcting function - Google Patents

Error detecting method by position detector and position detector with automatic error correcting function

Info

Publication number
JPH03170011A
JPH03170011A JP31023689A JP31023689A JPH03170011A JP H03170011 A JPH03170011 A JP H03170011A JP 31023689 A JP31023689 A JP 31023689A JP 31023689 A JP31023689 A JP 31023689A JP H03170011 A JPH03170011 A JP H03170011A
Authority
JP
Japan
Prior art keywords
phase
error
signal
amplitude
offset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP31023689A
Other languages
Japanese (ja)
Inventor
Masumi Suzuki
真澄 鈴木
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 JP31023689A priority Critical patent/JPH03170011A/en
Publication of JPH03170011A publication Critical patent/JPH03170011A/en
Pending legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices With Unspecified Measuring Means (AREA)
  • Transmission And Conversion Of Sensor Element Output (AREA)

Abstract

PURPOSE:To calculate position information according to a two-phase AC signal containing no error and to decrease man-hours and to attain highly accurate position detection by automatically detecting and correcting respective errors in a two-phase AC signal detected for the position detection. CONSTITUTION:The two-phase AC signal outputted by a two-phase AC signal detector 20 has an elliptic locus on its two-phase AC plane owing to respective errors. An offset error detector 11 performs arithmetic based upon an obtained coefficient value to detect offset errors Va and Vb, an amplitude error detector 12 detects an amplitude error Vbeta/Valpha, and a phase error detector 13 detects a phase error DELTAP=sinalpha. Then an offset error corrector 14 subtracts the errors Va and Vb from the instantaneous value of the two-phase AC signal and outputs signals Sa2 and Sb2. An amplitude error corrector 15 multiplies the signal Sa2 by the error Vbeta/Valpha and outputs signals Sa3 and Sb3 after the amplitude of a sin phase is corrected. A phase error corrector 16 has a small error DELTAP=sinalpha while cosalpha can be regarded nearly as 1 and outputs signals Sa4 and Sb4. A position detector 8 performs reverse trigonometric function conversion according to the signals Sa4 and Sb4 to detect the position theta in a gear tool.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、移動体の位置を検出する際にその検出信号に
含まれる各種の誤差を検出するようにした位置検出装置
における誤差検出方法及び検出した誤差を自動的に補正
して位置を検出1−るようにした自動誤差補正機能付き
位置検出装置に関する。
Detailed Description of the Invention (Industrial Field of Application) The present invention relates to an error detection method in a position detection device that detects various errors included in a detection signal when detecting the position of a moving object; The present invention relates to a position detection device with an automatic error correction function that detects a position by automatically correcting a detected error.

(従来の技術) 第8図は、従来における磁気式回転位置検出装置の構成
図である。同図において、ギア1.永久磁石2及び磁気
センサ3.4から成る2相交流信号検出器20は、互い
に90゜の位相差を有する2相交流信号Vsinθ, 
Vcosθを検出する。2個ずつのサンプル・アンド・
ホールド回路5及びA/D (アナログ/ディジタル)
変換器6から成る瞬時値検出器7は、2相交流信号検出
器20からの2相交流信号Vsinθ, Vcosθの
瞬時値をサンプリングしてディジタル変換する。位置信
号検出器8は、瞬時値検出器7からの2相交流信号の瞬
時値に火づいて、θ−tan−’( Vsinθ/ V
cos8) 17)演算ニヨリ、ギア歯内における位置
θを検出する。
(Prior Art) FIG. 8 is a configuration diagram of a conventional magnetic rotational position detection device. In the figure, gear 1. A two-phase AC signal detector 20 consisting of a permanent magnet 2 and a magnetic sensor 3.4 receives two-phase AC signals Vsinθ, which have a phase difference of 90° from each other.
Detect Vcosθ. Two samples each
Hold circuit 5 and A/D (analog/digital)
An instantaneous value detector 7 comprising a converter 6 samples the instantaneous values of the two-phase AC signals Vsinθ, Vcosθ from the two-phase AC signal detector 20 and converts them into digital data. The position signal detector 8 is triggered by the instantaneous value of the two-phase alternating current signal from the instantaneous value detector 7, and calculates θ-tan-'(Vsinθ/V
cos8) 17) Calculation: Detect the position θ within the gear teeth.

(発明が解決しようとする課題) ところが、上述した従来の位置検出装置においては、2
相交流信号検出器より出力される実際の2相交流信号に
ついて、オフセットが生じていたり、各振幅が異なって
いたり、位相差が90゜からずれていたりするため、そ
の信号は検出されるべきVsinθ, Vcosθとは
異なった値として検出されていた。したがって、その誤
差を含んだ検出値に基づいて演算を行なっていたので、
高精度な位置検出ができないという問題点があった。
(Problem to be Solved by the Invention) However, in the conventional position detection device described above, two
Regarding the actual two-phase AC signal output from the phase AC signal detector, there may be an offset, different amplitudes, or a phase difference of 90°, so the signal may not match the Vsinθ that should be detected. , Vcosθ was detected as a different value. Therefore, since calculations were performed based on detected values that included this error,
There was a problem that highly accurate position detection was not possible.

尚、従来そのような場合に、上記各誤差補正回路を設け
ることにより対処することもあったが、その従来の各誤
差抽正回路は可変抵抗等の調整が必要であったため、人
九的な調整くスが生じたり、回路素子の経年変化による
特性劣化等により、常に高精度な位]d検出を行なうこ
とができなかった。
In the past, such cases were sometimes dealt with by providing each of the above error correction circuits, but these conventional error extraction circuits required adjustment of variable resistors, etc. Due to adjustment errors, deterioration of characteristics due to aging of circuit elements, etc., it has not been possible to always perform highly accurate detection.

本発明は上述のような事情から成されたものであり、本
発明の目的は、正確に位置検出を行なうことができる位
置検出装置における誤差検出方法及び自動誤差補正機能
付き位置検出装置を提供することにある。
The present invention was made in view of the above-mentioned circumstances, and an object of the present invention is to provide an error detection method in a position detection device that can accurately detect a position, and a position detection device with an automatic error correction function. There is a particular thing.

(課題を解決するための手段) 末発明は、移動体の位置を検出する際にその検出信号に
含まれる各種の誤差を検出するようにした位置検出装置
における誤差検出方法に関するものであり、本発明の上
記目的は、移動体の移動距離に応じた周期的な波形を有
し、かつ互いに所定の位相差を有する2相交流信号に基
づいて前記移動体の位置を検出する位鎧検出装置におい
て、前記2相交流信号の互いの関係を楕円の方程式で近
似して表わし、前記方程式の係数を組合わせた所定の演
算式で表わされる前記2相交流信号の所望の相互関係に
対する誤差を、前記係数を求めるのに必要な数の前記2
相交流信号の瞬時値の組に基づいて求めることによって
達成される。また、検出した誤差を自動的に補正して位
置を検出するようにした自動誤差補正機能付き位置検出
装置に関するものであり、上記目的は、移動体の位置を
検出して、その移動距離に応じた周期的な波形を有し、
かつ互いに所定の位相差を有する2相交流信号を生成す
る位置信号生戒手段と、前記2相交流信号の互いの振幅
比すなわち振幅誤差の検出を行なう振幅誤差検出手段と
、当該振幅誤差検出手段により検出された振幅誤差の値
に基づいて前記2相交流信号に対して補正を施す振幅誤
差補正手段と、前記振幅誤差補正の施された2相交流信
号に基づいて前記移動体の位置を算出する位置検出手段
とを具備することによって達成される。更に、2相交流
信号のオフセット誤差の検出を行なうオフセット誤差検
出手段と、当該オフセット誤差検出手段により検出され
たオフセット誤差の値に基づいて前記2相交流信号に補
正を施すオフセット誤差補正手段とを具備することによ
って達成される。2相交流信号の前記所定の位相差から
のずれである位相誤差の検出を行なう位相誤差検出手段
と、当該位相誤差検出手段により検出された位相誤差の
値に基づいて前記2相交流信号に対して補正を施す位相
誤差補正手段とを具備することによって達成される。
(Means for Solving the Problems) The last invention relates to an error detection method in a position detection device that detects various errors included in a detection signal when detecting the position of a moving object. The above object of the invention is to provide a position detection device for detecting the position of a moving object based on two-phase AC signals having a periodic waveform corresponding to the moving distance of the moving object and having a predetermined phase difference from each other. , the mutual relationship of the two-phase AC signals is approximated and expressed by an elliptic equation, and the error with respect to the desired mutual relationship of the two-phase AC signals, which is expressed by a predetermined calculation formula combining the coefficients of the equation, is expressed as: The number of above 2 necessary to find the coefficient
This is achieved by determining it based on a set of instantaneous values of the phase alternating current signal. The invention also relates to a position detection device with an automatic error correction function that detects the position by automatically correcting the detected error.The above purpose is to detect the position of a moving object and to detect the position according to the distance traveled It has a periodic waveform,
and position signal detection means for generating two-phase AC signals having a predetermined phase difference from each other; amplitude error detection means for detecting mutual amplitude ratios of the two-phase AC signals, that is, amplitude errors; and said amplitude error detection means. amplitude error correction means for correcting the two-phase alternating current signal based on the value of the amplitude error detected by; and calculating the position of the moving body based on the two-phase alternating current signal subjected to the amplitude error correction. This is achieved by providing a position detecting means. Further, the present invention further includes an offset error detection means for detecting an offset error of the two-phase AC signal, and an offset error correction means for correcting the two-phase AC signal based on the value of the offset error detected by the offset error detection means. This is achieved by having a phase error detection means for detecting a phase error that is a deviation from the predetermined phase difference of the two-phase AC signal; This is achieved by comprising a phase error correction means for correcting the error.

(作用) 本発明にあっては、2相交流信号が振幅誤差.オフセッ
ト誤差まkは位相誤差を含んだ場合にはその2相交流信
号の2相交流平面上における軌跡は楕円となるので、そ
の楕円の方程式の各係数と前記各誤差との関係式に基づ
いて必要数の2相交流信号の瞬時値の組を用いて前記各
誤差を検出し、検出した各誤差の値に基づいて前記2相
交流信号を補正することにより、前記各誤差を含まない
2相交流信号に基づいて位置情報が算出できるので、位
置検出が正確に行なえる。
(Function) In the present invention, the two-phase AC signal has an amplitude error. If the offset error k includes a phase error, the locus of the two-phase AC signal on the two-phase AC plane becomes an ellipse, so it can be calculated based on the relational expression between each coefficient of the ellipse equation and each of the above-mentioned errors. By detecting each of the errors using a required number of sets of instantaneous values of two-phase AC signals and correcting the two-phase AC signal based on the detected error values, two-phase AC signals that do not include the respective errors are detected. Since position information can be calculated based on the AC signal, position detection can be performed accurately.

(実施例) 以下、図面に基づいて本発明の実施例について詳細に説
明する。
(Example) Hereinafter, an example of the present invention will be described in detail based on the drawings.

第1図は、木発明の位置検出装置の一実施例である磁気
式回転位置検出装置の構成図てある。
FIG. 1 is a block diagram of a magnetic rotary position detecting device, which is an embodiment of the position detecting device of the invention.

尚、2相交流信号検出器20,瞬時値検出器7及び位置
信号検出器8は従来と同一であるので説明を省略する。
Note that the two-phase AC signal detector 20, the instantaneous value detector 7, and the position signal detector 8 are the same as the conventional ones, so their explanations will be omitted.

先ず、2相交流信号検出器20から出力される2相交流
信号には振幅誤差.オフセット誤差,位相誤差が含まれ
ていると仮定すると、その場合の2相交流信号は(1)
式で表わすことができ、その2相交流平面上での軌跡は
第2図に示すように楕円となる。
First, the two-phase AC signal output from the two-phase AC signal detector 20 has an amplitude error. Assuming that offset and phase errors are included, the two-phase AC signal in that case is (1)
It can be expressed by the following equation, and its locus on the two-phase AC plane becomes an ellipse as shown in FIG.

オフセット誤差検出器11.振幅誤差検出器l2及び位
相誤差検出器13は、上記楕円の方程式を(2)式で示
される一般式に当てはめ、5組の2相交流信号の瞬時値
を用いて(2)式の各係数を演算する。
Offset error detector 11. The amplitude error detector l2 and the phase error detector 13 apply the above ellipse equation to the general formula shown in equation (2), and calculate each coefficient of equation (2) using the instantaneous values of the five sets of two-phase AC signals. Calculate.

ax2+by2+cx+dy+exy+f−0    
       − −  (2)?こで、オフセット誤
差検出器11は、得られた係数の値に基づいて演算−c
/2a,−d/2bを行なってオフセット誤差va.v
bを検出し、振幅誤差検出器12は、演算J1ηコーを
行なうことにより振幅誤差v,/V,を検出し、位相誤
差検出器!3は、演算−e/2F正を行なうことにより
位相誤差JP−sinαを検出する。次に、オフセット
誤差補正器l4は−2相交流信号の瞬時値からオフセッ
ト誤差検出器11により検出されたオフセット誤差V■
Vbを減算除去し、信号S.2−Vm s in (θ
◆α》,Sb2−ν, cosθを出力する.振幅誤差
補正器l5は、信号Sa2に振幅比誤差V,/V,・J
T八一を乗算し、sin相の振幅を補正した信号Sa3
・J’T7T・s a 2−V,sin(θ+a ) 
,Sb+−Sbz−V, cosθを出力ずる。位相誤
差補正器16は、前記位相誤差AP−sinαが小さ<
,COSαがほぼ1とみなせることにより三角関数の加
法定理によりsin(θ◆α)・sinθ・cos a
 +sina−cosθ〜sinθ+sina eco
sθと仮定し、前記信号Sa3+Sb3に対して位相誤
差APより演算Saa=Sas−A P−Sb+ x 
−Vp COS e ヲ行ナイ、信号Sa4,S,4を
出力する。位liV信号検出器8は、信号Sa4 .S
b4に基づいて逆三角関数変換、即ちθ・tan−’ 
(Saa/Sy) stan−’ (VISsinθ/
′J/scosθ)を行ない、ギア歯内における位置θ
を検出する。
ax2+by2+cx+dy+exy+f-0
- - (2)? Here, the offset error detector 11 performs calculation -c based on the obtained coefficient value.
/2a, -d/2b and calculate the offset error va. v
b, the amplitude error detector 12 detects the amplitude error v, /V, by performing the calculation J1η, and the phase error detector 12 detects the amplitude error v, /V. 3 detects the phase error JP-sin α by performing the calculation -e/2F positive. Next, the offset error corrector l4 detects the offset error V■ detected by the offset error detector 11 from the instantaneous value of the -2 phase AC signal.
Vb is subtracted and removed, and the signal S. 2-Vm s in (θ
◆α》, Sb2-ν, cosθ are output. The amplitude error corrector l5 adds an amplitude ratio error V, /V, ·J to the signal Sa2.
Signal Sa3 multiplied by T81 and corrected for sin phase amplitude
・J'T7T・sa 2-V, sin(θ+a)
, Sb+-Sbz-V, cos θ is outputted. The phase error corrector 16 is configured such that the phase error AP-sin α is small<
, COSα can be considered to be almost 1, so by the addition theorem of trigonometric functions, sin(θ◆α)・sinθ・cos a
+sina-cosθ~sinθ+sina eco
Assuming that sθ is calculated using the phase error AP for the signal Sa3+Sb3, Saa=Sas-A P-Sb+ x
-Vp COS e Outputs signals Sa4, S, and 4. The position liV signal detector 8 detects the signals Sa4 . S
Inverse trigonometric transformation based on b4, i.e. θ・tan-'
(Saa/Sy) stan-' (VISsinθ/
'J/scosθ), and the position θ within the gear tooth is
Detect.

以下、上述した各誤差の検出方法について詳細に説明す
る。
Hereinafter, the method for detecting each of the above-mentioned errors will be explained in detail.

一般に、2相交流信号検出器20から出力される2相交
流信号は、前述の如く理想的な2相交流イ2号Vsin
θ, Vcosθとはならずに振幅誤差.オフセット誤
差及び位相誤差を含むため、その出力信号は(1)式に
示すようになる。このとき sinθ.cosθを直交
座標軸とする2相交流平面上において、(1)式に基づ
く信号の軌跡は第2図に示すような楕円となる。そこで
、この楕円の一般式を(2)式のように仮定すると、(
2)式中の各係数と前記各誤差との間には、以下の関係
がある。
Generally, the two-phase AC signal output from the two-phase AC signal detector 20 is the ideal two-phase AC signal No. 2 Vsin as described above.
θ, Vcosθ is not the amplitude error. Since it includes an offset error and a phase error, its output signal becomes as shown in equation (1). At this time, sinθ. On a two-phase AC plane with cos θ as the orthogonal coordinate axis, the trajectory of the signal based on equation (1) becomes an ellipse as shown in FIG. Therefore, if we assume that the general formula for this ellipse is as shown in equation (2), then (
2) The following relationship exists between each coefficient in the formula and each error.

振幅誤差     v,/v,・うr直tーオフセット
誤差  V,−d/2b,Vb−c/2a位相誤差  
   sin a・−e/(21TE’)方、(2)式
に示した楕円の一般式を確定するには、楕円上の点が5
個分ればよい。つまり、2相交流信号の5組の瞬時値(
X+.y+) ,i−1〜5.が分れば連立方程式X1
”a+y1’b”X1C”311d+X1y+e”f−
0.(i−1〜5),を解いて係数を求めることにより
楕円を一意的に確定でき、得られた係数に基づいて演算
f訂丁,−c/2a,−d/2b,−e/( 2,/T
IT)を行なうことにより振幅誤差,オフセット誤差及
び位相誤差を求めることができる. また、上述した3 ffl類の誤差のうち補正を必要と
しない誤差がある場合には、以下に説明するいくつかの
具体例のように楕円の方程式を仮定して、補正に必要と
される誤差のみを検出することができる。
Amplitude error v, /v, ・Ur direct t - Offset error V, -d/2b, Vb-c/2a Phase error
sin a・-e/(21TE'), in order to determine the general formula for the ellipse shown in equation (2), the points on the ellipse must be 5.
Just separate it into pieces. In other words, five sets of instantaneous values (
X+. y+), i-1 to 5. If you know, the simultaneous equations X1
"a+y1'b"X1C"311d+X1y+e"f-
0. By solving (i-1 to 5) and finding the coefficients, the ellipse can be uniquely determined, and based on the obtained coefficients, the calculations f correction, -c/2a, -d/2b, -e/( 2,/T
IT), the amplitude error, offset error, and phase error can be determined. In addition, if there is an error that does not require correction among the above-mentioned 3 ffl class errors, the error required for correction can be calculated by assuming an ellipse equation as in some specific examples explained below. can only be detected.

先ず、振幅誤差のみが含まれる場合には、楕円の方程式
をax”+by2+f−0と仮定でき、この式に基づく
楕円の軌跡は第3図に示すようになる。この場合には、
2相交流信号の2組の瞬時値(x+,y+).in,2
を用イテ、振幅誤差V,/V(ヲv,/v.− JTr
a−  − y+ 一y2   XI −X2により検
出できる。
First, when only the amplitude error is included, the equation of the ellipse can be assumed to be ax''+by2+f-0, and the locus of the ellipse based on this equation is shown in Figure 3.In this case,
Two sets of instantaneous values (x+, y+) of a two-phase AC signal. in, 2
, the amplitude error V, /V (wov, /v. - JTr
It can be detected by a- - y+ -y2 XI -X2.

また、位相誤差のみが含まれる場合には、楕円の方程式
をax2◆a y 2◆exy+f・0と仮定でき、こ
の式に基づく楕円の軌跡は第4図に示すようになる。
Further, when only the phase error is included, the equation of the ellipse can be assumed to be ax2◆a y 2◆exy+f·0, and the locus of the ellipse based on this equation is as shown in FIG.

この場合(は、2相交流信号の2組の瞬時値(x+,y
+).+−t4を用いて、位相誤差sin aをsin
  α一−e/2a = (X+”y+”−X,’−y2’)/ (2 (X
+V+−x2Y2))により検出できる。
In this case, ( is two sets of instantaneous values (x+, y
+). +−t4 to convert the phase error sin a to sin
α-e/2a = (X+"y+"-X,'-y2')/(2 (X
+V+-x2Y2)).

振幅誤差とオフセット誤差が含まれる場合には、楕円の
方程式をax2+by2+cx+dy+f−0と仮定で
き、この式に基づく楕円の千九跡は第5図に示すように
なる。この場合には、2相交流信号の4組の瞬時値(X
+.y+) .i1 〜4を用イテ、振幅誤M v,/
 V−1及びオフセット誤差Va,V,を %/V,  −r−    八+  +     D+
,+[ただし、八一(x+−x2) (X2−X3) 
(X3−XI) (y:+−y4)11− (XI−X
2) (X3−X−1) (X++X2−1+−Xa)
 (y2−y3) .C− (X2−X3) (x+−
x4) (X4−X3) (y+−y2) .0− (
y+−y2)(y2−y3)(ya−y1)(X3−X
4).E−(y+−y2)(ys−y4)(y+”y2
−y3−y4) (x2−x3) .F−(y2−ys
) (!I’3−y4) (Y4−yz)(XI−X2
)である] V.−−d/2b− (^八1+八八2◆A^3+^^4)/ +2 (A八
,+八八。+八八7◆八^l,)}[ただし、A^+−
 (X3−X4) (X2−X4) (Xz−Xs)y
+’八八2− (XI−X:l1(X3−X4)(X4
−X+)yz’,  ^八3−(XI−X2)(X2−
X4) (X+−X4)y3’ *  ^^4−(XI
−X2) (X2−X3) (X3−Xlly4′. 
八八5”(X3−X+)(X2−X’4)(X2−X3
)yl.  AAa−(Xl−X3) (X3−X4)
 (X4−XI)3’21 AA7− (XI−X2)
 (X2−X4)(X l −X4) y3.   八
八6”(XI−X2)(X2−X3)(X3−XI)y
4.]Vb”−C/2a■ − (BB r”882”[lB3+[l[l4)/ 
{2 (DBS”B1111”BI17+BB8))[
ただし、BL−(y3−y4) (3’2−y4) (
y2−y3)X1’BB2−(y+−y3) (y3−
y4) (ya−y+)X2’, lllh−b’+−
y2)(!/2−!/4) (y+−y4)X3”. 
BB.+− (y+−yz) (3’2−Y3) (y
3−yl)X4’ .I]Bs” (y3−y4)(y
2−y4)(y2−y3)XI .  +1ロa−(y
l−ya)(y3−Ll)(y4−y+)X2.  I
IBt”(3’+−y2)(y2−y4)(y+−L+
)X3, BBa(y+−3’2) (y2−y3) 
(3’s−yI)X4である]により検出できる6 振幅誤差と位相誤差とが含まれる場合には、楕円の方程
式をax’+by2+exy+f−0と仮定でき、この
式に基づく楕円の軌跡は第6図に示すようになる。この
場合には、2相交流信号の3!l1の瞬時値(X+ .
y+) j”t 〜3を用いて、振幅誤差V/I/v,
及び位相誤差sinαを 1% /VJ − J””E7’T,及びsin a−
e/(2−/’TF)[ただし、a・(yz’−y3’
)X+y+◆(3’3’−y+’)XzY2◆(y+ 
’−y221 X+V3.b− (X2’−X3’) 
X+y+” (X3’−XI ’) X23’2”(X
+’−X2’)X3y3.e−(X2’−X3’)y+
”(Xs’−X+”)Y2”(X+’−X2’)yi’
である] ?より検出できる。
When an amplitude error and an offset error are included, the equation of the ellipse can be assumed to be ax2+by2+cx+dy+f-0, and the 1,900 traces of the ellipse based on this equation are shown in FIG. In this case, four sets of instantaneous values (X
+. y+). Using i1 to 4, the amplitude error M v,/
V-1 and offset error Va, V, as %/V, -r- 8+ + D+
, + [However, 81 (x+-x2) (X2-X3)
(X3-XI) (y:+-y4)11- (XI-X
2) (X3-X-1) (X++X2-1+-Xa)
(y2-y3). C- (X2-X3) (x+-
x4) (X4-X3) (y+-y2) . 0- (
y+-y2)(y2-y3)(ya-y1)(X3-X
4). E-(y+-y2)(ys-y4)(y+"y2
-y3-y4) (x2-x3). F-(y2-ys
) (!I'3-y4) (Y4-yz) (XI-X2
)] V. --d/2b- (^81+882◆A^3+^^4)/ +2 (A8, +88.+887◆8^l,)} [However, A^+-
(X3-X4) (X2-X4) (Xz-Xs)y
+'882- (XI-X:l1(X3-X4)(X4
-X+)yz', ^83-(XI-X2)(X2-
X4) (X+-X4)y3' * ^^4-(XI
-X2) (X2-X3) (X3-Xlly4'.
885” (X3-X+) (X2-X'4) (X2-X3
)yl. AAa-(Xl-X3) (X3-X4)
(X4-XI)3'21 AA7- (XI-X2)
(X2-X4) (X l -X4) y3. 886” (XI-X2) (X2-X3) (X3-XI)y
4. ]Vb"-C/2a■ - (BB r"882"[lB3+[l[l4)/
{2 (DBS”B1111”BI17+BB8)) [
However, BL-(y3-y4) (3'2-y4) (
y2-y3)X1'BB2-(y+-y3) (y3-
y4) (ya-y+)X2', lllh-b'+-
y2) (!/2-!/4) (y+-y4)X3".
BB. +- (y+-yz) (3'2-Y3) (y
3-yl)X4'. I]Bs” (y3-y4)(y
2-y4)(y2-y3)XI. +1 lo a-(y
l-ya) (y3-Ll) (y4-y+)X2. I
IBt"(3'+-y2) (y2-y4) (y+-L+
)X3, BBa(y+-3'2) (y2-y3)
(3's-yI) The result will be as shown in Figure 6. In this case, 3! of the two-phase AC signal! Instantaneous value of l1 (X+ .
y+) j”t ~3, the amplitude error V/I/v,
and phase error sin α is 1% /VJ − J””E7′T, and sin a−
e/(2-/'TF) [However, a・(yz'-y3'
)X+y+◆(3'3'-y+')XzY2◆(y+
'-y221 X+V3. b- (X2'-X3')
X+y+"(X3'-XI')X23'2"(X
+'-X2')X3y3.e-(X2'-X3')y+
"(Xs'-X+")Y2"(X+'-X2')yi'
] ? more detectable.

オフセット誤差と位相誤差とが含まれる場合には、楕円
の方程式をax’+ay2+cx+dy+exy+f−
0と仮定でき、この式に基づく楕円の帆跡は第7図に示
すようになる。この場合には、2相交流信号の4組の瞬
時値を用いて、オフセット誤差V■vb及び位相誤差s
inαを V,−−d/2a,V,−−c/2a,sin  a−
−e/2aにより検出できる。
If offset errors and phase errors are included, the ellipse equation can be changed to ax'+ay2+cx+dy+exy+f-
It can be assumed that 0, and the elliptical sail trace based on this formula is as shown in FIG. In this case, using four sets of instantaneous values of the two-phase AC signal, the offset error V■vb and the phase error s
in α as V, --d/2a, V, --c/2a, sin a-
-Can be detected by e/2a.

尚、本発明は上述のようなギアを利用した磁気式回転位
置検出装置のみに限るものではなく、その他の位置検出
装置、例えば着6J1されたドラムを利用した磁気式回
転位置検出装置、光学式位置検出装置、更には回転型以
外にも直線移動型位置検出装置等、2相交流信号を利用
している位置検出装置に適用できる。
Note that the present invention is not limited to the magnetic rotary position detecting device using gears as described above, but may also be applied to other position detecting devices, such as a magnetic rotary position detecting device using a mounted drum, or an optical type. The present invention can be applied to position detection devices that use two-phase alternating current signals, such as position detection devices and linear movement type position detection devices in addition to rotary type position detection devices.

(発明の効果) 以上のように本発明の位置検出装置に43ける誤差検出
方法及び自動誤差補正機能付き位置検出装1;lによれ
ば、位置検出のために検出した2相交流信号に含まれる
振幅詔差.オフセット誤差及び位相誤差を自動検出して
補正することにより、各誤差を含まない2相交流信号に
基づいて位置情報が算出できるので、組立て及び調整に
要する工程を削減することができ、かつ常に高精度な位
置検出を行なうことができる。
(Effects of the Invention) As described above, according to the error detection method in the position detection device 43 and the position detection device with automatic error correction function 1; Amplitude difference. By automatically detecting and correcting offset errors and phase errors, position information can be calculated based on two-phase AC signals that do not include each error, which reduces the steps required for assembly and adjustment, and allows for constant high performance. Accurate position detection can be performed.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の位置検出装置の一実施例である磁気式
回転位置検出装置の構成図、第2図〜第7図は2相交流
平面における2相交流イ3号の千九跡を示す図、第8図
は従来における磁気式回転位置検出装置の構成図である
。 1・・・ギア、2・・・永久磁石、3,4・・・磁気セ
ンサ、5・・・サンプル・アンド・ホールド回路、6・
・・A/D変換回路、7・・・瞬時値検出器、8・・・
位置信号検出酪、1l・・・オフセット誤差検出器、1
2・・・振幅誤差検出器、13・・・位相誤差検出器、
l4・・・オフセット誤差補正器、l5・・・振幅誤差
補正器、16・・・位相誤差補正器。
Fig. 1 is a configuration diagram of a magnetic rotary position detecting device which is an embodiment of the position detecting device of the present invention, and Figs. 2 to 7 show the 1,900 marks of two-phase AC No. The figure shown in FIG. 8 is a configuration diagram of a conventional magnetic rotational position detection device. DESCRIPTION OF SYMBOLS 1... Gear, 2... Permanent magnet, 3, 4... Magnetic sensor, 5... Sample and hold circuit, 6...
... A/D conversion circuit, 7... Instantaneous value detector, 8...
Position signal detection unit, 1l...Offset error detector, 1
2... Amplitude error detector, 13... Phase error detector,
l4... Offset error corrector, l5... Amplitude error corrector, 16... Phase error corrector.

Claims (1)

【特許請求の範囲】 1、移動体の移動距離に応じた周期的な波形を有し、か
つ互いに所定の位相差を有する2相交流信号に基づいて
前記移動体の位置を検出する位置検出装置において、前
記2相交流信号の互いの関係を楕円の方程式で近似して
表わし、前記方程式の係数を組合わせた所定の演算式で
表わされる前記2相交流信号の所望の相互関係に対する
誤差を、前記係数を求めるのに必要な数の前記2相交流
信号の瞬時値の組に基づいて求めるようにしたことを特
徴とする位置検出装置における誤差検出方法。 2、前記方程式をa_1x^2+b_1y^2+f_1
=0で表わし、演算▲数式、化学式、表等があります▼
または▲数式、化学式、表等があります▼で求められる
振幅の 比、すなわち振幅誤差を、2組の前記瞬時値に基づいて
求めるようにする請求項1に記載の位置検出装置におけ
る誤差検出方法。 3、前記方程式をa_2x^2+a_2y^2+e_2
xy+f_2=0で表わし、演算−e_2/2a_2で
求められる所定の位相差からのずれ、すなわち位相誤差
を、2組の前記瞬時値に基づいて求めるようにする請求
項1に記載の位置検出装置における誤差検出方法。 4、前記方程式をa_3x^2+b_3y^2+e_3
xy+f_3=0で表わし、演算▲数式、化学式、表等
があります▼または▲数式、化学式、表等があります▼
で求められる 振幅誤差及び演算▲数式、化学式、表等があります▼で
求められる 位相誤差を、3組の前記瞬時値に基づいて求めるように
する請求項1に記載の位置検出装置における誤差検出方
法。 5、前記方程式をa_4x^2+b_4y^2+c_4
x+d_4y+f_4=0で表わし、演算▲数式、化学
式、表等があります▼または▲数式、化学式、表等があ
ります▼で求められ る位相誤差及び演算−c_4/2a_4、−d_4/2
b_4で求められるオフセット誤差を、4組の前記瞬時
値に基づいて求めるようにする請求項1に記載の位置検
出装置における誤差検出方法。 6、前記方程式をa_5x^2+a_5y^2+c_5
x+d_5y+e_5xy+f_5=0で表わし、演算
−c_5/2a_5、−d_5/2a_5で求められる
オフセット誤差及び演算−e_5/2a_5で求められ
る位相誤差を、4組の前記瞬時値に基づいて求めるよう
にする請求項1に記載の位置検出装置における誤差検出
方法。 7、前記方程式a_6x^2+b_6y^2+c_6x
+d_6y+e_6xy+f_6=0で表し、演算▲数
式、化学式、表等があります▼または▲数式、化学式、
表等があります▼で求めら れる振幅誤差、演算−c_6/2a_6、−d_6/2
b_6で求められるオフセット誤差及び演算▲数式、化
学式、表等があります▼で 求められる位相誤差を、5組の前記瞬時値に基づいて求
めるようにする請求項1に記載の位置検出装置における
誤差検出方法。 8、移動体の移動距離に応じた周期的な波形を有し、か
つ互いに所定の位相差を有する2相交流信号を生成する
位置信号生成手段と、前記2相交流信号の互いの振幅比
すなわち振幅誤差の検出を行なう振幅誤差検出手段と、
当該振幅誤差検出手段により検出された振幅誤差の値に
基づいて前記2相交流信号に対して補正を施す振幅誤差
補正手段と、前記振幅誤差補正の施された2相交流信号
に基づいて前記移動体の位置を算出する位置検出手段と
を具備したことを特徴とする自動誤差補正機能付き位置
検出装置。 9、移動体の移動距離に応じた周期的な波形を有し、か
つ互いに所定の位相差を有する2相交流信号を生成する
位置信号生成手段と、前記2相交流信号のオフセット誤
差の検出を行なうオフセット誤差検出手段と、当該オフ
セット誤差検出手段により検出されたオフセット誤差の
値に基づいて前記2相交流信号に補正を施すオフセット
誤差補正手段と、前記オフセット誤差補正の施された2
相交流信号に基づいて前記移動体の位置を算出する位置
算出手段とを具備したことを特徴とする自動誤差補正機
能付き位置検出装置。 10、移動体の移動距離に応じた周期的な波形を有し、
かつ互いに所定の位相差を有する2相交流信号を生成す
る位置信号生成手段と、前記2相交流信号の前記所定の
位相差からのずれである位相誤差の検出を行なう位相誤
差検出手段と、当該位相誤差検出手段により検出された
位相誤差の値に基づいて前記2相交流信号に対して補正
を施す位相誤差補正手段と、前記位相誤差補正の施され
た2相交流信号に基づいて前記移動体の位置を算出する
位置算出手段とを具備したことを特徴とする自動誤差補
正機能付き位置検出装置。
[Claims] 1. A position detection device that detects the position of a moving body based on a two-phase AC signal having a periodic waveform corresponding to the distance traveled by the moving body and having a predetermined phase difference from each other. The mutual relationship of the two-phase AC signals is approximated and expressed by an elliptic equation, and the error with respect to the desired mutual relationship of the two-phase AC signals expressed by a predetermined arithmetic expression combining the coefficients of the equation is, An error detection method in a position detection device, characterized in that the coefficient is determined based on a necessary number of sets of instantaneous values of the two-phase AC signal. 2. The above equation is a_1x^2+b_1y^2+f_1
Represented by = 0, there are calculations ▲ mathematical formulas, chemical formulas, tables, etc. ▼
2. The method for detecting an error in a position detecting device according to claim 1, wherein the amplitude ratio, that is, the amplitude error, determined by ▲ is a mathematical formula, a chemical formula, a table, etc., based on the two sets of instantaneous values. 3. The above equation is a_2x^2+a_2y^2+e_2
2. The position detection device according to claim 1, wherein a deviation from a predetermined phase difference, that is, a phase error, expressed by xy+f_2=0 and determined by calculation -e_2/2a_2, is determined based on the two sets of instantaneous values. Error detection method. 4. The above equation is a_3x^2+b_3y^2+e_3
Expressed as xy + f_3 = 0, calculation ▲ There are mathematical formulas, chemical formulas, tables, etc. ▼ or ▲ There are mathematical formulas, chemical formulas, tables, etc. ▼
2. The method for detecting an error in a position detecting device according to claim 1, wherein the amplitude error and the phase error obtained by the calculation ▲There are mathematical formulas, chemical formulas, tables, etc.▼ are obtained based on the three sets of instantaneous values. . 5. The above equation is a_4x^2+b_4y^2+c_4
Represented by x + d_4y + f_4 = 0, the phase error and calculation determined by the operation ▲ There are mathematical formulas, chemical formulas, tables, etc. ▼ or ▲ There are mathematical formulas, chemical formulas, tables, etc. ▼ - c_4/2a_4, -d_4/2
The error detection method in a position detection device according to claim 1, wherein the offset error determined by b_4 is determined based on four sets of the instantaneous values. 6. The above equation is a_5x^2+a_5y^2+c_5
Claim 1: x+d_5y+e_5xy+f_5=0, and the offset error obtained by calculations -c_5/2a_5 and -d_5/2a_5 and the phase error obtained by calculation -e_5/2a_5 are obtained based on the four sets of instantaneous values. Error detection method in the position detection device described in . 7. The above equation a_6x^2+b_6y^2+c_6x
It is expressed as +d_6y+e_6xy+f_6=0, and there are calculations ▲mathematical formulas, chemical formulas, tables, etc.▼ or ▲mathematical formulas, chemical formulas,
There are tables, etc.Amplitude error calculated by ▼, calculation -c_6/2a_6, -d_6/2
Error detection in the position detecting device according to claim 1, wherein the offset error and the phase error determined by the calculation ▲There are mathematical formulas, chemical formulas, tables, etc.▼ are determined based on the five sets of instantaneous values. Method. 8. position signal generating means for generating two-phase alternating current signals having a periodic waveform according to the moving distance of the moving body and having a predetermined phase difference with each other, and a mutual amplitude ratio of the two-phase alternating current signals, i.e. amplitude error detection means for detecting an amplitude error;
amplitude error correction means for correcting the two-phase AC signal based on the value of the amplitude error detected by the amplitude error detection means; and the movement based on the two-phase AC signal subjected to the amplitude error correction. 1. A position detection device with an automatic error correction function, comprising a position detection means for calculating a body position. 9. A position signal generating means for generating a two-phase AC signal having a periodic waveform according to the moving distance of the moving body and having a predetermined phase difference from each other, and detecting an offset error of the two-phase AC signal. offset error detection means for correcting the two-phase alternating current signal based on the value of the offset error detected by the offset error detection means;
A position detection device with an automatic error correction function, comprising: a position calculation means for calculating the position of the moving object based on a phase alternating current signal. 10. Has a periodic waveform according to the moving distance of the moving object,
and position signal generation means for generating two-phase AC signals having a predetermined phase difference from each other; phase error detection means for detecting a phase error that is a deviation of the two-phase AC signal from the predetermined phase difference; phase error correction means for correcting the two-phase AC signal based on the value of the phase error detected by the phase error detection means; 1. A position detection device with an automatic error correction function, comprising: a position calculation means for calculating the position of.
JP31023689A 1989-11-29 1989-11-29 Error detecting method by position detector and position detector with automatic error correcting function Pending JPH03170011A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31023689A JPH03170011A (en) 1989-11-29 1989-11-29 Error detecting method by position detector and position detector with automatic error correcting function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31023689A JPH03170011A (en) 1989-11-29 1989-11-29 Error detecting method by position detector and position detector with automatic error correcting function

Publications (1)

Publication Number Publication Date
JPH03170011A true JPH03170011A (en) 1991-07-23

Family

ID=18002820

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31023689A Pending JPH03170011A (en) 1989-11-29 1989-11-29 Error detecting method by position detector and position detector with automatic error correcting function

Country Status (1)

Country Link
JP (1) JPH03170011A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001235307A (en) * 1999-03-15 2001-08-31 Tadatoshi Goto Rotary type position detecting apparatus
JP2002257590A (en) * 2001-03-06 2002-09-11 Yaskawa Electric Corp Position detecting device
JP2003014440A (en) * 2001-06-29 2003-01-15 Okuma Corp Position detector
JP2003075106A (en) * 2001-08-31 2003-03-12 Tadatoshi Goto Position detection device
JP2007033412A (en) * 2005-07-29 2007-02-08 Nsk Ltd Error parameter extracting device of position detector and position detector having error compensating function
JP2011069816A (en) * 2009-09-22 2011-04-07 Gm Global Technology Operations Inc System and method for calibrating rotary absolute position sensor
US11193794B2 (en) 2019-06-21 2021-12-07 Asahi Kasei Microdevices Corporation Rotation angle sensor, angle signal calculation method and non-transitory computer readable medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60170710A (en) * 1984-02-15 1985-09-04 Asahi Optical Co Ltd Correcting device for error in measured angle
JPS62187212A (en) * 1986-02-14 1987-08-15 Fanuc Ltd Position detector with phase difference correction

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60170710A (en) * 1984-02-15 1985-09-04 Asahi Optical Co Ltd Correcting device for error in measured angle
JPS62187212A (en) * 1986-02-14 1987-08-15 Fanuc Ltd Position detector with phase difference correction

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001235307A (en) * 1999-03-15 2001-08-31 Tadatoshi Goto Rotary type position detecting apparatus
JP2002257590A (en) * 2001-03-06 2002-09-11 Yaskawa Electric Corp Position detecting device
JP2003014440A (en) * 2001-06-29 2003-01-15 Okuma Corp Position detector
JP2003075106A (en) * 2001-08-31 2003-03-12 Tadatoshi Goto Position detection device
JP2007033412A (en) * 2005-07-29 2007-02-08 Nsk Ltd Error parameter extracting device of position detector and position detector having error compensating function
JP2011069816A (en) * 2009-09-22 2011-04-07 Gm Global Technology Operations Inc System and method for calibrating rotary absolute position sensor
US8250901B2 (en) 2009-09-22 2012-08-28 GM Global Technology Operations LLC System and method for calibrating a rotary absolute position sensor
US11193794B2 (en) 2019-06-21 2021-12-07 Asahi Kasei Microdevices Corporation Rotation angle sensor, angle signal calculation method and non-transitory computer readable medium

Similar Documents

Publication Publication Date Title
US7759929B2 (en) System and method for determining an angle of rotation with cascade sensors
WO2007148461A1 (en) Phase correction circuit of encoder signal
US5710509A (en) Phase difference detection device for an inductive position detector
US6534969B1 (en) Offset-compensated angle measuring system
JPS582678A (en) Method of compensating magnetic field sonde
EP3239661A1 (en) Resolver device
CN105547335B (en) A kind of signal processing system of magnetoresistance transformer
KR102144254B1 (en) Zero Force Transform Vector Synthesis Active Resolver Apparatus
JP2005283165A (en) Variable reluctance resolver and rotation angle sensor using it
JPH03170011A (en) Error detecting method by position detector and position detector with automatic error correcting function
US8278915B2 (en) Minimizing magnetic interference in a variable reluctance resolver
JP2005287097A (en) High precision 1xvr type resolver
CN102341673B (en) Assembly and method for determining angular position
US20030033103A1 (en) Position detection data generating method and apparatus based on phase shift principle
KR102506405B1 (en) Angle measurement system using magnetic encoder, measurement method therefor, parameter setting method of the angle measurement system
JP3693280B2 (en) Resolver assembly equipment
KR100895765B1 (en) Method for getting high angular position definition on multi-pole variable reactance resolver excited uni-phase sinusoidal wave and angular position tracking apparatus using thereof
KR20100118307A (en) Resolver digital converter and position detecting apparatus
Aung Analysis and synthesis of precision resolver system
EP4170287A1 (en) Circuit and method for determining angular position
JP2005140737A (en) Magnetic encoder device
KR101931440B1 (en) Phase correction circuit having low-area for rotary variable differential transformer
JPH0271312A (en) Automatic error correcting method for position detector
JPS62864A (en) Speed detecting device
JP5361658B2 (en) Resolver digital converter