JP4518871B2 - Interpolation error correction method and apparatus - Google Patents

Interpolation error correction method and apparatus Download PDF

Info

Publication number
JP4518871B2
JP4518871B2 JP2004243914A JP2004243914A JP4518871B2 JP 4518871 B2 JP4518871 B2 JP 4518871B2 JP 2004243914 A JP2004243914 A JP 2004243914A JP 2004243914 A JP2004243914 A JP 2004243914A JP 4518871 B2 JP4518871 B2 JP 4518871B2
Authority
JP
Japan
Prior art keywords
sine wave
phase sine
phase
wave signals
error
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.)
Expired - Fee Related
Application number
JP2004243914A
Other languages
Japanese (ja)
Other versions
JP2006064402A (en
Inventor
英幸 中川
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.)
Mitutoyo Corp
Original Assignee
Mitutoyo Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitutoyo Corp filed Critical Mitutoyo Corp
Priority to JP2004243914A priority Critical patent/JP4518871B2/en
Publication of JP2006064402A publication Critical patent/JP2006064402A/en
Application granted granted Critical
Publication of JP4518871B2 publication Critical patent/JP4518871B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、内挿誤差補正方法及び装置に係り、特に位置検出に使用される位相差90°の二相正弦波信号を内挿して、高分解能の位置を検出する際に適用して好適な内挿誤差補正方法及び装置に関する。   The present invention relates to an interpolation error correction method and apparatus, and is particularly suitable for application when detecting a high-resolution position by interpolating a two-phase sine wave signal having a phase difference of 90 ° used for position detection. The present invention relates to an interpolation error correction method and apparatus.

位相差90°の二相正弦波信号を内挿して、高分解能の位置を検出する位置検出装置において、位置を検出する際に使用される二相正弦波信号は、理想的な正弦波であることが仮定されている。しかし、実際には、検出部を構成する素子のノイズや温度ドリフト等により、二相正弦波信号には振幅、位相、オフセット誤差が含まれている。その結果、検出部からサンプリング入力される二相正弦波信号から求めた位置には、理想的な正弦波の場合に対して内挿誤差が含まれてしまう。   In a position detection apparatus that detects a high-resolution position by interpolating a two-phase sine wave signal having a phase difference of 90 °, the two-phase sine wave signal used for detecting the position is an ideal sine wave. It is assumed that However, in practice, the amplitude, phase, and offset error are included in the two-phase sine wave signal due to noise and temperature drift of the elements constituting the detection unit. As a result, the position obtained from the two-phase sine wave signal sampled and input from the detection unit includes an interpolation error with respect to an ideal sine wave.

この内挿誤差の補正には、(1)別の手段を用いて前もって内挿誤差を測定しておくテーブル補正方式(例えば、特許文献1参照)、(2)二相正弦波信号の最大値、最小値等から、振幅、位相、オフセット誤差を演算し内挿誤差を補正する最大振幅値方式(例えば、特許文献2参照)、(3)二相正弦波信号の1周期分のデータを用いて、振幅、位相、オフセット誤差を算出し内挿誤差を補正する最小二乗円方式(例えば、特許文献3参照)の3つが、主に行なわれている。   The correction of the interpolation error includes (1) a table correction method in which the interpolation error is measured in advance using another means (for example, refer to Patent Document 1), and (2) the maximum value of the two-phase sine wave signal. A maximum amplitude value method for calculating an amplitude, phase, and offset error from the minimum value, etc., and correcting an interpolation error (see, for example, Patent Document 2), (3) Using data for one cycle of a two-phase sine wave signal The least square method (for example, refer to Patent Document 3) that calculates the amplitude, phase, and offset error and corrects the interpolation error is mainly performed.

特開平5−231879号公報JP-A-5-231879 特開平6−167354号公報JP-A-6-167354 特開2003−254784号公報JP 2003-254784 A

しかしながら、前記(1)テーブル補正方式は、内挿誤差の時間的変化に対応しておらず、又、内挿誤差を測定するために、より高精度な基準が必要であるという欠点がある。   However, the (1) table correction method does not correspond to the temporal change of the interpolation error, and has a drawback that a higher-accuracy reference is required to measure the interpolation error.

前記(2)最大振幅値方式は、計算時間が短くリアルタイム補正が可能であるが、補正を行なう際に特定のデータしか用いていないため、ノイズの影響を受け易いという欠点がある。   The (2) maximum amplitude value method has a short calculation time and allows real-time correction. However, since only specific data is used when performing correction, there is a drawback that it is easily affected by noise.

前記(3)最小二乗円方式は、ノイズの影響を受け難く、内挿誤差もかなり小さくできるが、計算時間が長くリアルタイム補正が難しいという欠点がある。   The (3) least squares method is not easily affected by noise, and the interpolation error can be considerably reduced. However, there are drawbacks in that the calculation time is long and real-time correction is difficult.

そこで、本出願人は、以上の問題点を解決するべく、特願2003−414801において、漸化的最小二乗法を適用した内挿誤差補正方法を、既に提案している。   Therefore, the present applicant has already proposed an interpolation error correction method to which the recursive least square method is applied in Japanese Patent Application No. 2003-414801 in order to solve the above problems.

その要旨は、所定のサンプリング周期でサンプリングして得られた位相差90°の二相正弦波信号φA(n)、φB(n)から算出される位置に含まれる内挿誤差を補正する内挿誤差補正方法において、前記二相正弦波信号φA(n)、φB(n)に対して漸化的最小二乗法を適用して求めた振幅誤差ΔA(n)、ΔB(n)、位相誤差ΔαA(n)、ΔαB(n)、オフセット誤差ΔVA(n)、ΔVB(n)に基づいて、所定の更新周期N毎に振幅誤差Δ’A、Δ’B、位相誤差Δα’A、Δα’B、オフセット誤差ΔV’A、ΔV’Bを更新する補正を行ない、更新された前記各補正誤差を用いて得られた二相正弦波信号φ’A(n)、φ’B(n)に、前記サンプリング周期毎に再度漸化的最小二乗法を適用して、振幅誤差ΔA(n)、ΔB(n)、位相誤差ΔαA(n)、ΔαB(n)、オフセット誤差ΔVA(n)、ΔVB(n)を推定し、前記二相正弦波信号φ’A(n)、φ’B(n)の補正を行なうことにより、リアルタイム且つ高精度に二相正弦波信号の振幅、位相、オフセット誤差を算出し、内挿誤差を補正することができるようにしたものである。 The gist is to correct an interpolation error included in a position calculated from two-phase sinusoidal signals φ A (n) and φ B (n) having a phase difference of 90 ° obtained by sampling at a predetermined sampling period. In the interpolation error correction method, amplitude errors Δ A (n), Δ B (obtained by applying a recursive least square method to the two-phase sinusoidal signals φ A (n), φ B (n) n), amplitude errors Δ ′ A , Δ ′ B every predetermined update period N based on the phase errors Δα A (n), Δα B (n), offset errors ΔV A (n), ΔV B (n) , Phase errors Δα ′ A , Δα ′ B , offset errors ΔV ′ A , ΔV ′ B are corrected, and the two-phase sine wave signal φ ′ A (n ), Φ ′ B (n), the recurrence least squares method is applied again for each sampling period to obtain amplitude errors Δ A (n), Δ B (n), phase errors Δα A (n), Δα B (n), the offset error ΔV a (n), to estimate the ΔV B (n), prior to By correcting the two-phase sine wave signal φ 'A (n), φ ' B (n), the two-phase sine wave signals in real time and with high precision amplitude, phase, and calculates an offset error, the interpolation error It can be corrected.

以下、参考のために、この提案済み内挿誤差補正方法を、この方法が適用される位置検出装置の概要を示す図1のブロック図と、そのアルゴリズムを示す図2のフローチャートを参照して、詳細に説明する。   Hereinafter, for reference, the proposed interpolation error correction method is described with reference to the block diagram of FIG. 1 showing an outline of a position detection apparatus to which the method is applied and the flowchart of FIG. This will be described in detail.

提案済み内挿誤差補正方法は、前記の如く、所定のサンプリング周期毎にサンプリングされた二相正弦波信号に対して、漸化的最小二乗法(Recursive Least Squares method、以下RLS法と略記する)を適用して、振幅、位相、オフセットを補正することにより、内挿誤差を補正する際、該RLS法を適用する前に、サンプリングされた前記二相正弦波信号に対して、RLS法によって既に得られている補正値に基づいた補正を行なうことにより、より高精度な補正を実現しようとするものである。以下に、数式に基づきこれを具体的に説明する。なお、このRLS法については、例えば、足立修一著:“MATLABによる制御のためのシステム同定”、東京電機大学出版局(1996)に説明されている。   As described above, the proposed interpolation error correction method uses a recursive least squares method (hereinafter abbreviated as RLS method) for a two-phase sine wave signal sampled at a predetermined sampling period. When correcting the interpolation error by correcting the amplitude, phase, and offset, before applying the RLS method, the sampled two-phase sine wave signal is already processed by the RLS method. By performing correction based on the obtained correction value, more accurate correction is to be realized. This will be specifically described below based on mathematical expressions. The RLS method is described in, for example, Shuichi Adachi: “System identification for control by MATLAB”, Tokyo Denki University Press (1996).

いま、図1の位置検出装置において、検出部10から所定のサンプリング周期でサンプリングされ、A/D変換されてコンピュータからなるデータ処理部12に入力される、位相差90°の二相正弦波信号φA(n)、φB(n)を、式(1)で表わす。 Now, in the position detection apparatus of FIG. 1, a two-phase sine wave signal having a phase difference of 90 ° is sampled from the detection unit 10 at a predetermined sampling period, A / D converted, and input to the data processing unit 12 composed of a computer. φ A (n) and φ B (n) are expressed by equation (1).

Figure 0004518871
Figure 0004518871

ここで、ΔA(n)、ΔB(n)は振幅誤差、ΔαA(n)、ΔαB(n)は位相誤差、ΔVA(n)、ΔVB(n)はオフセット誤差、nはサンプリング番号である。 Here, Δ A (n) and Δ B (n) are amplitude errors, Δα A (n) and Δα B (n) are phase errors, ΔV A (n) and ΔV B (n) are offset errors, and n is Sampling number.

前記データ処理部12において、プログラムにより構築された各演算手段(図示せず)により、図2に示すアルゴリズムに従って式(1)に対してRLS法が適用されるようになっている。具体的なRLS法の適用方法を以下に説明する。   In the data processing unit 12, the RLS method is applied to the equation (1) according to the algorithm shown in FIG. 2 by each calculation means (not shown) constructed by a program. A specific application method of the RLS method will be described below.

最初に、式(1)に対してRLS法が適用できるように該式の線形化を行なう。   First, the equation is linearized so that the RLS method can be applied to the equation (1).

まず、二相正弦波信号φA(n)、φB(n)から、式(2)を用いて角度θ’(n)を求める(ステップ101)。但し、最初の補正処理以外は、二相正弦波信号φA(n)、φB(n)に対しては、後に詳述するステップ100の補正を予め行ない、補正された二相正弦波信号φ’A(n)、φ’B(n)を得る。そして、二相正弦波信号φ’A(n)、φ’B(n)を二相正弦波信号φA(n)、φB(n)と考えて以下の演算を行う。 First, the angle θ ′ (n) is obtained from the two-phase sine wave signals φ A (n) and φ B (n) using the equation (2) (step 101). However, except for the first correction process, the two-phase sine wave signals φ A (n) and φ B (n) are corrected in advance in step 100 to be described in detail later, and the corrected two-phase sine wave signals are corrected. φ ′ A (n) and φ ′ B (n) are obtained. The two-phase sine wave signal φ 'A (n), φ ' B (n) the two-phase sine wave signal phi A (n), consider phi B (n) perform the following operations.

Figure 0004518871
Figure 0004518871

そして、x(n)を式(3)のように定義する(ステップ102)。すると、式(1)は、下記の如く式(4)、式(5)のように線形化することができる。ここでは、式(1)のθ(n)と式(2)のθ’(n)は等しいものと考えて式(1)の線形化を行なう。なお、以下の式で、Tは転置行列を表わす。   And x (n) is defined like Formula (3) (step 102). Then, Expression (1) can be linearized as Expression (4) and Expression (5) as follows. Here, θ (n) in equation (1) is equal to θ ′ (n) in equation (2), and linearization of equation (1) is performed. In the following equation, T represents a transposed matrix.

x(n)=[x1(n) x2(n) x3(n)]T=[sinθ’(n) cosθ’(n) 1]T
…(3)
φA(n)=(1+ΔA(n))cos(θ’(n)+ΔαA(n))+ΔVA(n)
=(1+ΔA(n))sin(θ’(n)+ΔαA(n)+π/2)+ΔVA(n)
=(1+ΔA(n))sinθ’(n)cos(ΔαA(n)+π/2)
+(1+ΔA(n))cosθ’(n)sin(ΔαA(n)+π/2)+ΔVA(n)
=cA1(n)x1(n)+cA2(n)x2(n)+cA3(n)x3(n)
=cT A(n)x(n) …(4)
φB(n)=(1+ΔB(n))sin(θ’(n)+ΔαB(n))+ΔVB(n)
=(1+ΔB(n))sinθ’(n)cosΔαB(n)
+(1+ΔB(n))cosθ’(n)sinΔαB(n)+ΔVB(n)
=cB1(n)x1(n)+cB2(n)x2(n)+cB3(n)x3(n)
=cT B(n)x(n) …(5)
x (n) = [x 1 (n) x 2 (n) x 3 (n)] T = [sin θ ′ (n) cos θ ′ (n) 1] T
... (3)
φ A (n) = (1 + Δ A (n)) cos (θ ′ (n) + Δα A (n)) + ΔV A (n)
= (1 + Δ A (n)) sin (θ ′ (n) + Δα A (n) + π / 2) + ΔV A (n)
= (1 + Δ A (n)) sinθ ′ (n) cos (Δα A (n) + π / 2)
+ (1 + Δ A (n)) cos θ ′ (n) sin (Δα A (n) + π / 2) + ΔV A (n)
= C A1 (n) x 1 (n) + c A2 (n) x 2 (n) + c A3 (n) x 3 (n)
= C T A (n) x (n) ... (4)
φ B (n) = (1 + Δ B (n)) sin (θ ′ (n) + Δα B (n)) + ΔV B (n)
= (1 + Δ B (n)) sinθ ′ (n) cosΔα B (n)
+ (1 + Δ B (n)) cos θ ′ (n) sin Δα B (n) + ΔV B (n)
= C B1 (n) x 1 (n) + c B2 (n) x 2 (n) + c B3 (n) x 3 (n)
= C T B (n) x (n) (5)

ここで、

Figure 0004518871
である。 here,
Figure 0004518871
It is.

この式(4)、式(5)に対してRLS法を適用して、cA(n)、cB(n)を算出する。但し、予め下記の式(12)の関係を求めておく(ステップ103)。 By applying the RLS method to the equations (4) and (5), c A (n) and c B (n) are calculated. However, the relationship of the following formula (12) is obtained in advance (step 103).

具体的には、x(n)と二相正弦波信号φA(n)、φB(n)を用いて、式(10)、式(11)によりcA(n)、cB (n)を算出する(ステップ104、105)。 Specifically, by using x (n) and two-phase sine wave signals φ A (n), φ B (n), c A (n), c B (n ) Is calculated (steps 104 and 105).

A(n)=cA(n-1)+Q(n)x(n)(φA(n)−xT(n)cA(n-1)) …(10)
B(n)=cB(n-1)+Q(n)x(n)(φB(n)−xT(n)cB(n-1)) …(11)
A(0)=[0 1 0]T
B(0)=[1 0 0]T
c A (n) = c A (n-1) + Q (n) x (n) (φ A (n) -x T (n) c A (n-1)) ... (10)
c B (n) = c B (n-1) + Q (n) x (n) (φ B (n) -x T (n) c B (n-1)) ... (11)
c A (0) = [0 1 0] T
c B (0) = [1 0 0] T

ここで、Q(n)は式(12)から算出される行列である。   Here, Q (n) is a matrix calculated from Equation (12).

Figure 0004518871
Figure 0004518871

なお、Q(0)の値としては、最初は単位行列等を用いる。Q(n)が十分に収束した場合は、次回以降からはこのQ(n)の値をQ(0)として用いる。又、γは忘却要素であり、1以下の正数である。   As the value of Q (0), a unit matrix or the like is initially used. When Q (n) sufficiently converges, the value of Q (n) is used as Q (0) from the next time onward. Γ is a forgetting factor and is a positive number of 1 or less.

式(10)、式(11)により求めたcA(n)、cB(n)を、式(6)、式(8)、式(7)、式(9)に適用して、振幅誤差ΔA(n)、ΔB(n)、位相誤差ΔαA(n)、ΔαB(n)、オフセット誤差ΔVA(n)、ΔVB(n)を算出し(ステップ106、107)、各誤差を用いて二相正弦波信号φA(n)、φB(n)の補正を行ない、補正された二相正弦波信号φ”A(n)、φ”B(n)を得る(ステップ108)。そして、φ”A(n)、φ”B(n)から位置を算出することで内挿誤差を補正する。 Applying c A (n) and c B (n) obtained by Equation (10) and Equation (11) to Equation (6), Equation (8), Equation (7), and Equation (9), the amplitude error Δ a (n), Δ B (n), the phase error Δα a (n), Δα B (n), the offset error [delta] V a (n), calculates the [delta] V B (n) (step 107), The two-phase sine wave signals φ A (n) and φ B (n) are corrected using each error to obtain corrected two-phase sine wave signals φ ″ A (n) and φ ″ B (n) ( Step 108). Then, the interpolation error is corrected by calculating the position from φ ″ A (n) and φ ″ B (n).

通常のRLS法では、前述した如くθ(n)=θ’(n)と考え、式(1)から式(4)、式(5)の線形化を行なっている。しかし、実際には二相正弦波信号φA(n)、φB(n)に含まれている振幅、位相、オフセット誤差のため、θ(n)=θ’(n)とはならない。その結果、式(4)、式(5)の線形化には誤差が含まれてしまい、式(4)、式(5)にRLS法を適用して算出した振幅誤差ΔA(n)、ΔB(n)、位相誤差ΔαA(n)、ΔαB(n)、オフセット誤差ΔVA(n)、ΔVB(n)の推定結果にも誤差が含まれてしまうことになる。 In the normal RLS method, as described above, θ (n) = θ ′ (n) is considered, and linearization is performed from Equation (1) to Equation (4) and Equation (5). However, in practice, θ (n) = θ ′ (n) does not occur due to the amplitude, phase, and offset error included in the two-phase sine wave signals φ A (n) and φ B (n). As a result, equation (4), wherein the linearization of (5) will contain an error, equation (4), (5) the amplitude error is calculated by applying the RLS method delta A (n), Errors are also included in the estimation results of Δ B (n), phase error Δα A (n), Δα B (n), offset error ΔV A (n), ΔV B (n).

そこで、ここでは、式(2)を適用してθ’(n)を算出する前に、RLS法によって既に得られている補正値から求めた振幅誤差Δ’A、Δ’B、位相誤差Δα’A、Δα’B、オフセット誤差ΔV’A、ΔV’Bを用いて、サンプリング入力される二相正弦波信号φA(n)、φB(n)の補正を行なう。 Therefore, here, before calculating θ ′ (n) by applying equation (2), amplitude errors Δ ′ A , Δ ′ B , and phase error Δα obtained from correction values already obtained by the RLS method are used. The two-phase sine wave signals φ A (n) and φ B (n) input by sampling are corrected using ' A , Δα' B and offset errors ΔV ' A , ΔV' B.

その結果、二相正弦波信号φA(n)、φB(n)に含まれている振幅、位相、オフセット誤差は小さくなり、RLS法を適用して求めた振幅誤差ΔA(n)、ΔB(n)、位相誤差ΔαA(n)、ΔαB(n)、オフセット誤差ΔVA(n)、ΔVB(n)の推定結果に含まれている誤差も小さくできる。 As a result, two-phase sine wave signals φ A (n), φ B amplitude contained in the (n), the phase, offset error decreases, the amplitude error delta A determined by applying the RLS method (n), The errors included in the estimation results of Δ B (n), phase error Δα A (n), Δα B (n), offset error ΔV A (n), ΔV B (n) can be reduced.

即ち、ここでは、前記ステップ101において式(2)を適用する前に、ステップ100で行なう補正に用いる振幅誤差Δ’A、Δ’B、位相誤差Δα’A、Δα’B、オフセット誤差ΔV’A、ΔV’Bを、それ以前のRLS法による推定結果から予め求めておき、更新周期Nで式(13)に示す更新を行なっている(ステップ109)。 That is, here, before applying equation (2) in step 101, amplitude errors Δ ′ A , Δ ′ B , phase errors Δα ′ A , Δα ′ B , and offset error ΔV ′ used for correction performed in step 100 are used. A and ΔV ′ B are obtained in advance from the estimation result obtained by the previous RLS method, and the update shown in Expression (13) is performed at the update cycle N (step 109).

Figure 0004518871
Figure 0004518871

例えば、更新周期N=200とした場合、振幅誤差Δ’Aは式(14)のようになる。 For example, when the update cycle N = 200, the amplitude error Δ ′ A is expressed by Equation (14).

Figure 0004518871
Figure 0004518871

なお、更新周期N毎に更新を行なっている理由は、RLS法による推定結果が十分に収束したときの振幅誤差ΔA(n)、ΔB(n)、位相誤差ΔαA(n)、ΔαB(n)、オフセット誤差ΔVA(n)、ΔVB(n)を用いるためである。但し、各補正値の初期値は0とする。又、忘却要素γはγ=0.99、更新周期NはN=100〜200程度が好ましい。 The reason for updating every update period N is that the amplitude error Δ A (n), Δ B (n), phase error Δα A (n), Δα when the estimation result by the RLS method is sufficiently converged. This is because B (n), offset errors ΔV A (n), and ΔV B (n) are used. However, the initial value of each correction value is 0. The forgetting factor γ is preferably γ = 0.99, and the update period N is preferably about N = 100 to 200.

以上説明した本出願人が特願2003−414801により提案済みの内挿誤差補正方法は、リアルタイム且つ高精度に二相正弦波信号の振幅、位相、オフセットの各誤差を算出し、内挿誤差を補正することができるという点で極めて優れている。   The above-described interpolation error correction method proposed by the present applicant in Japanese Patent Application No. 2003-414801 calculates each error of the amplitude, phase, and offset of the two-phase sine wave signal in real time and with high accuracy, and calculates the interpolation error. It is extremely excellent in that it can be corrected.

しかしながら、この提案済み内挿誤差補正方法は、サンプリング周期に比べて二相正弦波信号の周期が非常に長い場合には、振幅、位相、オフセットの各誤差の推定結果が発散してしまう場合がある。   However, this proposed interpolation error correction method may diverge the estimation results of amplitude, phase, and offset errors when the period of the two-phase sine wave signal is very long compared to the sampling period. is there.

即ち、前記提案済の具体例では、振幅、位相、オフセット誤差の時間的変化にも対応できるように忘却要素を用いている。そのため、サンプリング周期に比べて二相正弦波信号の周期が非常に長い場合、振幅、位相、オフセット誤差の推定結果が発散してしまう場合がある。どのくらいの周期で発散してしまうかに関してはシミュレーション結果を図3に示す。この図から、例えば更新周期N=100のときは、サンプリング周期と比較して二相正弦波信号の周期が約350倍以下の場合は振幅、位相、オフセット誤差の推定結果は収束するが、約350倍以上の場合は振幅、位相、オフセット誤差の推定結果は発散してしまう。   That is, in the proposed specific example, the forgetting element is used so as to cope with temporal changes in amplitude, phase, and offset error. Therefore, when the period of the two-phase sine wave signal is very long compared to the sampling period, the estimation results of the amplitude, phase, and offset error may diverge. A simulation result is shown in FIG. 3 about how long it diverges. From this figure, for example, when the update cycle N = 100, the estimation result of the amplitude, phase, and offset error converges when the cycle of the two-phase sine wave signal is about 350 times or less compared to the sampling cycle. In the case of 350 times or more, the estimation results of amplitude, phase and offset error are diverged.

本発明は、上記問題点を解決するべくなされたもので、サンプリング周期に比べて二相正弦波信号の周期が非常に長い場合でも、リアルタイム且つ高精度に二相正弦波信号の振幅、位相、オフセット誤差を算出し、内挿誤差の補正を行なうことができる内挿誤差補正方法及び装置を提供することを課題とする。   The present invention has been made to solve the above-described problems. Even when the period of the two-phase sine wave signal is very long compared to the sampling period, the amplitude, phase, It is an object of the present invention to provide an interpolation error correction method and apparatus capable of calculating an offset error and correcting the interpolation error.

本発明は、所定のサンプリング周期でサンプリングして得られた位相差90°の二相正弦波信号φA(n)、φB(n)から算出される位置に含まれる内挿誤差を補正する内挿誤差補正方法において、二相正弦波信号φA(n)、φB(n)の1周期をM分割して記憶するM個の記憶装置を備え、時系列的に入力される二相正弦波信号φA(n)、φB(n)から算出された角度θ(n)に対応する前記記憶装置に、前記二相正弦波信号φA(n)、φB(n)を保存する保存処理を行ない、前記保存処理とは独立に、前記記憶装置から角度系列データとして二相正弦波信号ΦA(k)、ΦB(k)を順次読み出し、読み出された前記二相正弦波信号ΦA(k)、ΦB(k)に対して漸化的最小二乗法を適用して振幅誤差、位相誤差、オフセット誤差を推定し、推定された振幅誤差、位相誤差、オフセット誤差を用いて、前記二相正弦波信号φA(n)、φB(n)の補正を行なうことにより、前記課題を解決したものである。 The present invention corrects an interpolation error included in a position calculated from two-phase sine wave signals φ A (n) and φ B (n) having a phase difference of 90 ° obtained by sampling at a predetermined sampling period. The interpolation error correction method includes M storage devices for storing one cycle of the two-phase sine wave signals φ A (n) and φ B (n) by dividing them into M, and two-phase input time-sequentially. Save sinusoidal signal phi a (n), in the storage device corresponding to phi B (n) angle calculated from the theta (n), the two-phase sine wave signals φ a (n), φ B (n) of Independently of the storage process, the two-phase sine wave signals Φ A (k) and Φ B (k) are sequentially read out as angle series data from the storage device, and the read out two-phase sine Apply the recursive least squares method to the wave signals Φ A (k), Φ B (k) to estimate the amplitude error, phase error, offset error, and the estimated amplitude error, phase error, offset error Is used to correct the two-phase sine wave signals φ A (n) and φ B (n).

本発明は、又所定のサンプリング周期でサンプリングして得られた位相差90°の二相正弦波信号φ A (n)、φ B (n)から算出される位置に含まれる内挿誤差を補正する内挿誤差補正方法において、二相正弦波信号φA(n)、φB(n)のL周期分(L:2以上の整数)の値を、1周期当たりM分割して記憶するM行L列からなる記憶装置と、前記記憶装置の保存箇所を指定するM個の変数l(m)とを備え、時系列的に入力される二相正弦波信号φA(n)、φB(n)から算出された角度θ(n)に対応するm行と、m行に対応する変数l(m)を用いて、前記記憶装置のm行l(m)列目に二相正弦波信号φA(n)、φB(n)を保存すると共に、前記変数l(m)≠Lの場合は前記変数l(m)に1を加え、前記変数l(m)=Lの場合は前記変数l(m)を1にする処理を行なうことにより、前記記憶装置に、前記二相正弦波信号φA(n)、φB(n)のL周期分の値を保存する保存処理を行ない、前記保存処理とは独立に、前記記憶装置から角度系列データとして二相正弦波信号Φ A (k)、Φ B (k)を順次読み出し、読み出された二相正弦波信号Φ A (k)、Φ B (k)に対して漸化的最小二乗法を適用して振幅誤差、位相誤差、オフセット誤差を推定し、推定された振幅誤差、位相誤差、オフセット誤差を用いて、前記二相正弦波信号φ A (n)、φ B (n)の補正を行なことにより、同様に前記課題を解決したものである。 The present invention also provides an interpolation error included in a position calculated from two-phase sine wave signals φ A (n) and φ B (n) having a phase difference of 90 ° obtained by sampling at a predetermined sampling period. In the interpolation error correction method to be corrected, the values of L periods (L: integer of 2 or more) of the two-phase sine wave signals φ A (n) and φ B (n) are divided into M per cycle and stored. A two-phase sine wave signal φ A (n), φ, which is input in a time series, comprising a storage device having M rows and L columns and M variables l (m) designating the storage location of the storage device. Using the m rows corresponding to the angle θ (n) calculated from B (n) and the variable l (m) corresponding to the m rows, the two-phase sine in the m row l (m) column of the storage device Wave signals φ A (n) and φ B (n) are stored, and if the variable l (m) ≠ L, 1 is added to the variable l (m), and the variable l (m) = L Performs the process of setting the variable l (m) to 1 to The憶device, the two-phase sine wave signal phi A (n), have rows of storage processing for storing the values of L cycles of phi B (n), independently of the storage process, the angle from said storage device The two-phase sine wave signals Φ A (k) and Φ B (k) are sequentially read out as series data , and the recursive minimum is applied to the read two-phase sine wave signals Φ A (k) and Φ B (k). A square method is applied to estimate the amplitude error, phase error, and offset error, and the estimated amplitude error, phase error, and offset error are used to calculate the two-phase sine wave signals φ A (n), φ B (n) corrected by it rows of, it is obtained by solving the above problems as well.

又、前記内挿誤差補正方法においては、前記角度θ(n)と1サンプリング前の角度θ(n-1)の差の絶対値に応じて、時系列データの二相正弦波信号φA(n)、φB(n)に漸化的最小二乗法を適用する補正方法との間で切り替えを行なうようにしてもよい。 In the interpolation error correction method, the two-phase sinusoidal signal φ A (time series data) is selected according to the absolute value of the difference between the angle θ (n) and the angle θ (n−1) one sampling before. n) and φ B (n) may be switched between correction methods that apply the recursive least squares method.

本発明は、又、所定のサンプリング周期でサンプリングして得られた位相差90°の二相正弦波信号φA(n)、φB(n)から算出される位置に含まれる内挿誤差を補正する内挿誤差補正装置において、二相正弦波信号φA(n)、φB(n)の1周期をM分割して記憶するM個の記憶装置を備え、時系列的に入力される二相正弦波信号φA(n)、φB(n)から算出された角度θ(n)に対応する前記記憶装置に前記二相正弦波信号φA(n)、φB(n)を保存する保存処理を行なう手段と、前記保存処理とは独立に、前記記憶装置から角度系列データとして二相正弦波信号ΦA(k)、ΦB(k)を順次読み出し、読み出された前記二相正弦波信号ΦA(k)、ΦB(k)に対して漸化的最小二乗法を適用して振幅誤差、位相誤差、オフセット誤差を推定する手段と、推定された振幅誤差、位相誤差、オフセット誤差を用いて、前記二相正弦波信号φA(n)、φB(n)の補正を行なう手段と、を備えたことにより、同様に前記課題を解決したものである。 The present invention also provides an interpolation error included in a position calculated from two-phase sine wave signals φ A (n) and φ B (n) having a phase difference of 90 ° obtained by sampling at a predetermined sampling period. An interpolation error correction device for correction includes M storage devices for storing one cycle of the two-phase sine wave signals φ A (n) and φ B (n) by dividing into M, and is input in time series. The two-phase sine wave signals φ A (n) and φ B (n) are stored in the storage device corresponding to the angle θ (n) calculated from the two-phase sine wave signals φ A (n) and φ B (n). Independently of the storing process for storing and the storing process, the two-phase sine wave signals Φ A (k) and Φ B (k) are sequentially read out as angle series data from the storage device, and the read out Means for estimating the amplitude error, phase error, and offset error by applying the recursive least square method to the two-phase sinusoidal signals Φ A (k), Φ B (k), and the estimated amplitude error, phase error And the means for correcting the two-phase sine wave signals φ A (n) and φ B (n) by using an offset error.

本発明は、更に所定のサンプリング周期でサンプリングして得られた位相差90°の二相正弦波信号φ A (n)、φ B (n)から算出される位置に含まれる内挿誤差を補正する内挿誤差補正装置において、二相正弦波信号φA(n)、φB(n)のL周期分(L:2以上の整数)の値を、1周期当たりM分割して記憶するM行L列からなる記憶装置と、前記記憶装置の保存箇所を指定するM個の変数l(m)とを備え、時系列的に入力される二相正弦波信号φA(n)、φB(n)から算出された角度θ(n)に対応するm行と、m行に対応する変数l(m)を用いて、前記記憶装置のm行l(m)列目に二相正弦波信号φA(n)、φB(n)を保存すると共に、前記変数l(m)≠Lの場合は前記変数l(m)に1を加え、前記変数l(m)=Lの場合は前記変数l(m)を1にする処理を行なうことにより、前記記憶装置に、前記二相正弦波信号φA(n)、φB(n)のL周期分の値を保存する保存処理を行なう手段と、前記保存処理とは独立に、前記記憶装置から角度系列データとして二相正弦波信号Φ A (k)、Φ B (k)を順次読み出し、読み出された二相正弦波信号Φ A (k)、Φ B (k)に対して漸化的最小二乗法を適用して振幅誤差、位相誤差、オフセット誤差を推定する手段と、推定された振幅誤差、位相誤差、オフセット誤差を用いて、前記二相正弦波信号φ A (n)、φ B (n)の補正を行なう手段と、を備えたことにより、同様に前記課題を解決したものである The present invention further provides an interpolation error included in a position calculated from two-phase sine wave signals φ A (n) and φ B (n) having a phase difference of 90 ° obtained by sampling at a predetermined sampling period. In the interpolating error correction device for correction, the values of L periods (L: integer of 2 or more) of the two-phase sine wave signals φ A (n), φ B (n) are divided into M per cycle and stored. A two-phase sine wave signal φ A (n), φ, which is input in a time series, comprising a storage device having M rows and L columns and M variables l (m) designating the storage location of the storage device. Using the m rows corresponding to the angle θ (n) calculated from B (n) and the variable l (m) corresponding to the m rows, the two-phase sine in the m row l (m) column of the storage device Wave signals φ A (n) and φ B (n) are stored, and if the variable l (m) ≠ L, 1 is added to the variable l (m), and the variable l (m) = L Performs the process of setting the variable l (m) to 1 to The storage device, the two-phase sine wave signal phi A (n), means for performing a saving process of saving the value of L cycles of phi B (n), independently of the storage process, the angle from said storage device The two-phase sine wave signals Φ A (k) and Φ B (k) are sequentially read out as series data , and the recursive minimum is applied to the read two-phase sine wave signals Φ A (k) and Φ B (k). Using the means of estimating the amplitude error, phase error, offset error by applying the square method and the estimated amplitude error, phase error, offset error, the two-phase sine wave signals φ A (n), φ B ( The above problem is similarly solved by providing the means for performing the correction of n) .

又、前記内挿誤差補正装置においては、前記角度θ(n)と1サンプリング前の角度θ(n-1)の差の絶対値に応じて、時系列データの二相正弦波信号φA(n)、φB(n)に漸化的最小二乗法を適用する補正方法との間で切り替えを行なう手段を備えるようにしてもよい。 In the interpolation error correction device, the two-phase sine wave signal φ A (time series data) is selected according to the absolute value of the difference between the angle θ (n) and the angle θ (n−1) one sampling before. n) and means for switching between φ B (n) and a correction method applying the recursive least squares method may be provided.

本発明は又、前記の内挿誤差補正方法を実施するためのコンピュータプログラムを提供するものである。   The present invention also provides a computer program for performing the interpolation error correction method.

又、前記の内挿誤差補正装置を実現するためのコンピュータプログラムを提供するものである。   The present invention also provides a computer program for realizing the interpolation error correction device.

又、前記のコンピュータプログラムが記録された、コンピュータ読取り可能な記録媒体を提供するものである。   The present invention also provides a computer-readable recording medium in which the computer program is recorded.

本発明によれば、サンプリング周期に比べ二相正弦波信号の周期が非常に長い場合でも、リアルタイム且つ高精度に二相正弦波信号の振幅、位相、オフセットの各誤差を算出し、内挿誤差を補正することができる。従って、高分解能の位置をリアルタイム且つ高精度に検出することができる。   According to the present invention, even when the period of the two-phase sine wave signal is very long compared to the sampling period, the amplitude, phase, and offset errors of the two-phase sine wave signal are calculated in real time and with high accuracy, and the interpolation error is calculated. Can be corrected. Therefore, a high-resolution position can be detected in real time and with high accuracy.

以下、図面を参照して、本発明の実施の形態を詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

まず、提案済み内挿誤差補正方法と本発明の内挿誤差補正方法の違いを概念的に説明する。   First, the difference between the proposed interpolation error correction method and the interpolation error correction method of the present invention will be conceptually described.

提案済み補正方法では、RLS法が適用される二相正弦波信号φ(n)、φ(n)を時系列のデータとして入力していたため、図4(a)に示すように、二相正弦波信号の周期の変動に伴い、二相正弦波信号の角度間隔も変動していた。その結果、サンプリング周期に比べて二相正弦波信号の周期が非常に長い場合、1サンプリングの間で二相正弦波信号の値があまり変化せず、ほぼ同じ値に対してRLS法が適用され続けることになり、振幅、位相、オフセットの各誤差の推定結果が発散してしまう場合があった。 In the proposed correction method, since the two-phase sine wave signals φ A (n) and φ B (n) to which the RLS method is applied are input as time-series data, as shown in FIG. As the period of the phase sine wave signal varies, the angular interval of the two-phase sine wave signal also varies. As a result, when the period of the two-phase sine wave signal is very long compared to the sampling period, the value of the two-phase sine wave signal does not change much during one sampling, and the RLS method is applied to almost the same value. As a result, the estimation results of amplitude, phase, and offset errors may diverge.

そこで、本発明は、順次入力される時系列のデータを角度系列のデータに変換することで、図4(b)に●で示すように、二相正弦波信号Φ(k)、Φ(k)の角度間隔をほぼ一定にし、提案済のRLS法を用いた補正方法の欠点を解決している。 Therefore, according to the present invention, the time-series data sequentially input is converted into the angle-series data, so that the two-phase sine wave signals Φ A (k), Φ B are indicated by ● in FIG. The angular interval of (k) is made substantially constant, and the drawbacks of the proposed correction method using the RLS method are solved.

本発明では、以下に具体例を挙げて説明するように、時系列のデータから角度系列のデータに変換するために、二相正弦波信号を記憶する記憶装置(メモリ領域)を設けている。そして、この記憶装置に二相正弦波信号を保存する処理と、この保存処理とは独立に該記憶装置から二相正弦波信号を角度系列のデータとして読み出し、読み出した二相正弦波信号に対してRLS法を実行して振幅、位相、オフセットの各誤差を推定する処理を行なっている。   In the present invention, a storage device (memory area) for storing a two-phase sine wave signal is provided in order to convert time-series data into angle-series data, as will be described below with a specific example. In addition, the processing for storing the two-phase sine wave signal in the storage device and the two-phase sine wave signal are read from the storage device as angle series data independently of the storage processing, and the read two-phase sine wave signal is The RLS method is executed to estimate the amplitude, phase, and offset errors.

次に、本発明の第1実施形態の内挿誤差補正方法について説明する。   Next, an interpolation error correction method according to the first embodiment of the present invention will be described.

図5には、本実施形態の補正方法が適用される内挿誤差補正装置の概要を示す。この補正装置は、検出部20、データ記憶部21、内挿誤差推定部22及び内挿誤差補正部23を備えている。   FIG. 5 shows an outline of an interpolation error correction apparatus to which the correction method of this embodiment is applied. The correction apparatus includes a detection unit 20, a data storage unit 21, an interpolation error estimation unit 22, and an interpolation error correction unit 23.

いま、データ記憶部21において、検出部20から所定のサンプリング周期毎にサンプリングされ、該データ記憶部21に時系列データとして入力される二相正弦波信号φA(n)、φB(n)から、次の式(14)を用いて角度θ(n)が計算される。ここで、nはサンプリング番号である。 Now, in the data storage unit 21, the two-phase sine wave signals φ A (n) and φ B (n) sampled from the detection unit 20 at predetermined sampling periods and input to the data storage unit 21 as time series data. From this, the angle θ (n) is calculated using the following equation (14). Here, n is a sampling number.

θ(n)=tan-1(φA(n)/φB(n)) …(14) θ (n) = tan −1A (n) / φ B (n)) (14)

前記データ記憶部21には、二相正弦波信号φA(n)、φB(n)の1周期をM分割して記憶する、M個の記憶装置(メモリ領域)が備えられている。そして、図6の表1及び図7の概念図に示すように、式(14)から得られる角度θ(n)の値に応じて設定されている1〜Mの番号の記憶装置に、二相正弦波信号φA(n)、φB(n)が順次保存される。なお、記憶装置の初期値として、二相正弦波信号1周期分の値を予め記憶させておく。 The data storage unit 21 is provided with M storage devices (memory areas) that store one cycle of the two-phase sine wave signals φ A (n) and φ B (n) by dividing them into M parts. Then, as shown in Table 1 of FIG. 6 and the conceptual diagram of FIG. 7, two storage devices with numbers 1 to M set according to the value of the angle θ (n) obtained from the equation (14) The phase sine wave signals φ A (n) and φ B (n) are sequentially stored. A value corresponding to one cycle of the two-phase sine wave signal is stored in advance as an initial value of the storage device.

このように順次入力される時系列の二相正弦波信号φ(n)、φ(n)を、式(14)で算出される角度θ(n)に応じて角度範囲(表1)の順番に設定された1〜Mの記憶装置に保存することにより、時系列データから角度系列データへの変換が実現される。 The time-series two-phase sinusoidal signals φ A (n) and φ B (n) that are sequentially input in this way are converted into an angle range (Table 1) according to the angle θ (n) calculated by the equation (14). Is stored in the storage devices 1 to M set in this order, thereby realizing conversion from time series data to angle series data.

即ち、例えば、二相正弦波信号φ(n)、φ(n)が入力され、式(14)から求めた角度θ(n)が(2π/M)×1≦θ(n)<(2π/M)×2であったとすると、この場合は2番目の記憶装置に二相正弦波信号φ(n)、φ(n)が保存される。1サンプリング後、二相正弦波信号φ(n+1)、φ(n+1)から求めた角度θ(n+1)がまだ(2π/M)×1≦θ(n+1)<(2π/M)×2のままであったとすると、2番目の記憶装置に保存されていた二相正弦波信号φ(n)、φ(n)の上に二相正弦波信号φ(n+1)、φ(n+1)が上書き保存される。 That is, for example, two-phase sine wave signals φ A (n) and φ B (n) are input, and the angle θ (n) obtained from the equation (14) is (2π / M) × 1 ≦ θ (n) < Assuming that (2π / M) × 2, in this case, the two-phase sine wave signals φ A (n) and φ B (n) are stored in the second storage device. After one sampling, the angle θ (n + 1) obtained from the two-phase sine wave signals φ A (n + 1) and φ B (n + 1) is still (2π / M) × 1 ≦ θ (n + 1) <(2π / M) × 2 is assumed, the two-phase sine wave signal φ is added to the two-phase sine wave signals φ A (n) and φ B (n) stored in the second storage device. A (n + 1) and φ B (n + 1) are overwritten and saved.

従って、便宜上M=8として、入力された二相正弦波信号φ(n)、φ(n)が前記図4(a)のようであったと仮定すると、記憶装置から読み出される二相正弦波信号Φ(k)、Φ(k)は、同図(b)に示すように〇のデータが除かれて●で示すデータだけが保存されることになり、結果として角度間隔がほぼ一定の角度系列データに変換されることになる。 Therefore, assuming that M = 8 for convenience and the input two-phase sine wave signals φ A (n) and φ B (n) are as shown in FIG. In the wave signals Φ A (k) and Φ B (k), as shown in FIG. 5B, only the data indicated by ● is saved without the ◯ data, and as a result, the angular interval is almost equal. It is converted into constant angle series data.

一方、二相正弦波信号の読み出しは、所定のサンプリング周期毎に、k=1→2→・・・→M−1→M→1→2→・・・の順に角度系列でk番目の記憶装置に記憶された二相正弦波信号ΦA(k)、ΦB(k)を内挿誤差推定部22に出力する。 On the other hand, the readout of the two-phase sine wave signal is stored in the k-th order in the order of k = 1 → 2 →... → M−1 → M → 1 → 2 →. The two-phase sine wave signals Φ A (k) and Φ B (k) stored in the apparatus are output to the interpolation error estimation unit 22.

この方法により、現在の二相正弦波信号φA(n)、φB(n)を含む常に最新の1周期分の値が記憶装置に記憶されることになる。又、この記憶装置から順次読み出された、内挿誤差推定部22に入力される二相正弦波信号ΦA(k)、ΦB(k)は、最新の1周期分の二相正弦波信号で、且つ、各二相正弦波信号の角度間隔は2・2π/M=4π/M以下ということになる。 By this method, the latest one period value including the current two-phase sine wave signals φ A (n), φ B (n) is always stored in the storage device. The two-phase sine wave signals Φ A (k) and Φ B (k) sequentially read from the storage device and input to the interpolation error estimating unit 22 are two-phase sine waves for the latest one cycle. The angle interval of each two-phase sine wave signal is 2 · 2π / M = 4π / M or less.

内挿誤差推定部22では、データ記憶部21から角度系列データに変換されて出力される、前記図4(b)に示したようなほぼ等間隔の二相正弦波信号ΦA(k)、ΦB(k)に対してRLS法を用いた補正方法を適用する。そして、内挿誤差補正部23において、内挿誤差推定部22により推定された振幅、位相、オフセットの各誤差を用いて、既に検出部20から入力されている前記二相正弦波信号φA(n)、φB(n)の補正を行ない、補正された二相正弦波信号φ'A(n)、φ’B(n)を得る。 In the interpolation error estimation unit 22, the two-phase sine wave signal Φ A (k) having substantially equal intervals as shown in FIG. A correction method using the RLS method is applied to Φ B (k). Then, the interpolation error correction unit 23 uses the amplitude, phase, and offset errors estimated by the interpolation error estimation unit 22 to input the two-phase sine wave signal φ A ( n) and φ B (n) are corrected to obtain corrected two-phase sine wave signals φ ′ A (n) and φ ′ B (n).

本実施形態では、前記データ記憶部21で式(14)による演算を行ない、更に内挿誤差推定部22で式(2)による演算を行なっており、この推定部22で実行するアルゴリズムの前記図2との差異と、内挿誤差補正部23で実行される補正処理との関係を、図8に示す。   In the present embodiment, the calculation according to the equation (14) is performed in the data storage unit 21 and the calculation according to the equation (2) is further performed in the interpolation error estimation unit 22. The relationship between the difference from 2 and the correction process executed by the interpolation error correction unit 23 is shown in FIG.

以上詳述した如く、本実施形態においては、時系列データの二相正弦波信号を角度系列データの二相正弦波信号に変換した後、RLS法を適用するようにしたので、サンプリング周期に比べて二相正弦波信号の周期が非常に長い場合でも、リアルタイム且つ高精度な内挿誤差の補正を実現することができる。   As described in detail above, in the present embodiment, the RLS method is applied after the two-phase sine wave signal of the time series data is converted to the two-phase sine wave signal of the angle series data. Even when the period of the two-phase sine wave signal is very long, real-time and highly accurate correction of the interpolation error can be realized.

次に、本発明の第2実施形態を説明する。この方法は、第1実施形態のデータ記憶部21を改良し、最大保存周期Lを設定して、二相正弦波信号φA(n)、φB(n)のL周期分(L=2、3、4、5、・・・)の値を、1周期当たりM分割して記憶できるようにしたものである。具体的には、M行L列からなる記憶装置と、該記憶装置の保存箇所(領域)を指定するM個の変数l(m)とが備えられている。なお、変数l(m)の値は1〜Lの整数であり、初期値は全て1とする。 Next, a second embodiment of the present invention will be described. In this method, the data storage unit 21 of the first embodiment is improved, a maximum storage period L is set, and L periods (L = 2) of the two-phase sine wave signals φ A (n) and φ B (n) are set. 3, 4, 5,...) Can be stored by dividing into M per cycle. Specifically, a storage device having M rows and L columns and M variables l (m) for specifying a storage location (area) of the storage device are provided. Note that the value of the variable l (m) is an integer from 1 to L, and the initial value is all 1.

そして、図9の表2に示すように、所定のサンプリング周期毎に入力される二相正弦波信号φA(n)、φB(n)から式(14)を用いて角度θ(n)を計算し、得られた角度θ(n)に対応する角度範囲を表わすm行と、このm行に対応する保存列を表わす変数l(m)を用いて、記憶装置のm行l(m)列目に該当する二相正弦波信号φA(n)、φB(n)を保存する。そして、もし変数l(m)≠Lならば変数l(m)に1を加えて次の保存列を設定し、変数l(m)=Lであった場合は変数l(m)を1にし、次は1列目に戻るようにする。 Then, as shown in Table 2 of FIG. 9, the angle θ (n) is obtained from the two-phase sine wave signals φ A (n) and φ B (n) inputted at predetermined sampling periods using the equation (14). And m rows representing the angle range corresponding to the obtained angle θ (n) and the variable l (m) representing the storage column corresponding to the m rows, m rows l (m ) The two-phase sine wave signals φ A (n) and φ B (n) corresponding to the column are stored. If variable l (m) ≠ L, 1 is added to variable l (m) to set the next storage sequence. If variable l (m) = L, variable l (m) is set to 1. Next, return to the first column.

例えば、二相正弦波信号φA(n)、φB(n)が入力され、式(14)から求めた角度θ(n)が(2π/M)×1≦θ(n)<(2π/M)×2であったとし、この時の変数l(2)=1であり、L=3であった場合について、図10を用いて説明する。なお、この図で矢印に付した1〜4の数は、以下のステップ番号を表わしている。 For example, two-phase sine wave signals φ A (n) and φ B (n) are input, and the angle θ (n) obtained from the equation (14) is (2π / M) × 1 ≦ θ (n) <(2π / M) × 2, the case where the variable l (2) = 1 at this time and L = 3 will be described with reference to FIG. In addition, the number of 1-4 attached | subjected to the arrow in this figure represents the following step numbers.

この場合、二相正弦波信号φA(n)、φB(n)は記憶装置の2行1列目に保存され(ステップ1)、次の保存列を設定するために変数l(2)に1を加える。次いで、数サンプリング後に、二相正弦波信号φA(n)、φB(n)から求めた角度θ(n)が(2π/M)×1≦θ(n)<(2π/M)×2に再度なったとする。この時は、l(2)=2なので、二相正弦波信号φA(n)、φB(n)は記憶装置の2行2列目に保存され(ステップ2)、同様に変数l(2)に1を加える。 In this case, the two-phase sine wave signals φ A (n) and φ B (n) are stored in the second row and first column of the storage device (step 1), and the variable l (2) is used to set the next storage column. Add 1 to Next, after several samplings, the angle θ (n) obtained from the two-phase sine wave signals φ A (n) and φ B (n) is (2π / M) × 1 ≦ θ (n) <(2π / M) × Suppose that it becomes 2 again. At this time, since l (2) = 2, the two-phase sine wave signals φ A (n) and φ B (n) are stored in the second row and second column of the storage device (step 2), and the variable l ( Add 1 to 2).

更に数サンプリング後に、二相正弦波信号φA(n)、φB(n)から求めた角度θ(n)が(2π/M)×1≦θ(n)<(2π/M)×2に再度なったとする。この時は、l(2)=3なので、二相正弦波信号φA(n)、φB(n)は記憶装置の2行3列目に保存され(ステップ3)、変数l(2)=Lであるので変数l(2)を1にする。 Further, after several samplings, the angle θ (n) obtained from the two-phase sine wave signals φ A (n) and φ B (n) is (2π / M) × 1 ≦ θ (n) <(2π / M) × 2. Suppose again. At this time, since l (2) = 3, the two-phase sine wave signals φ A (n) and φ B (n) are stored in the second row and third column of the storage device (step 3), and the variable l (2) Since = L, the variable l (2) is set to 1.

更に数サンプリング後に、二相正弦波信号φA(n)、φB(n)から求めた角度θ(n)が(2π/M)×1≦θ(n)<(2π/M)×2に再度なったとする。この時は、l(2)=1なので、二相正弦波信号φA(n)、φB(n)は記憶装置の2行1列目に保存・更新され(ステップ4)、変数l(2)に1を加える。 Further, after several samplings, the angle θ (n) obtained from the two-phase sine wave signals φ A (n) and φ B (n) is (2π / M) × 1 ≦ θ (n) <(2π / M) × 2. Suppose again. At this time, since l (2) = 1, the two-phase sine wave signals φ A (n) and φ B (n) are stored and updated in the second row and first column of the storage device (step 4), and the variable l ( Add 1 to 2).

以上の処理を所定のサンプリング周期毎に全ての角度θ(n)に対して行なう。そして、所定のサンプリング周期毎に、表2の矢印が示す順序で、記憶装置に記憶された角度系列の二相正弦波信号ΦA(k)、ΦB(k)を内挿誤差推定部22に出力する。 The above processing is performed for all the angles θ (n) every predetermined sampling period. Then, for each predetermined sampling period, the two-phase sine wave signals Φ A (k) and Φ B (k) of the angle series stored in the storage device in the order indicated by the arrows in Table 2 are inserted into the interpolation error estimating unit 22. Output to.

この方法により、現在の二相正弦波信号を含む常に最新のL周期分の値が記憶装置に記憶されることになる。また、この記憶装置から順次読み出されて内挿誤差推定部22に入力される二相正弦波信号は、最新のL周期分の二相正弦波信号となる。   By this method, the value for the latest L period including the current two-phase sine wave signal is always stored in the storage device. Further, the two-phase sine wave signal sequentially read from the storage device and input to the interpolation error estimation unit 22 becomes a two-phase sine wave signal corresponding to the latest L period.

本発明では、角度θ(n)と、1サンプリング前の角度θ(n-1)の差の絶対値が2π/M以上になると、記憶装置に保存されるデータがきちんと更新されないという問題が発生する。そのため、最大速度を考慮すると角度分割数Mはなるべく小さい方が良いことになるが、角度分割数Mが小さいと逆にデータ数が少なくなるため、ノイズの影響を受け易くなってしまう。   In the present invention, when the absolute value of the difference between the angle θ (n) and the angle θ (n−1) one sampling before becomes 2π / M or more, there is a problem that the data stored in the storage device is not updated properly. To do. Therefore, considering the maximum speed, it is better that the angle division number M is as small as possible. However, if the angle division number M is small, the number of data is conversely reduced, so that it is easily affected by noise.

ところが、この第2実施形態によれば、角度分割数Mを大きくせずにデータ数を増加させることができるので、ノイズの影響を受け難くすることが可能となる。   However, according to the second embodiment, since the number of data can be increased without increasing the angle division number M, it is possible to make it less susceptible to noise.

次に、本発明の第3実施形態の内挿誤差補正方法が適用される内挿誤差補正装置の概要を図11に示す。この図11は、前記図5の内挿誤差補正装置に切り替え部24を設けたものである。   Next, FIG. 11 shows an outline of an interpolation error correction apparatus to which the interpolation error correction method of the third embodiment of the present invention is applied. FIG. 11 shows a case where a switching unit 24 is provided in the interpolation error correction apparatus shown in FIG.

切り替え部24では、二相正弦波信号φA(n)、φB(n)から式(14)を用いて求めた角度θ(n)と、1サンプリング前の角度θ(n-1)の差の絶対値を求め、図12の表3に示すように、その値が2π/M以下であれば角度系列のデータに変換された二相正弦波信号ΦA(k)、ΦB(k)を内挿誤差推定部22に出力し、2π/Mより大きければ時系列のデータのままの二相正弦波信号φA(n)、φB(n)を内挿誤差推定部22に出力する。 In the switching unit 24, the angle θ (n) obtained from the two-phase sine wave signals φ A (n) and φ B (n) using the equation (14) and the angle θ (n−1) one sampling before are obtained. The absolute value of the difference is obtained. As shown in Table 3 of FIG. 12, if the value is 2π / M or less, the two-phase sine wave signals Φ A (k), Φ B (k ) Is output to the interpolation error estimation unit 22, and if it is greater than 2π / M, the two-phase sine wave signals φ A (n) and φ B (n) that are time-series data are output to the interpolation error estimation unit 22. To do.

この方法により、本発明の第1実施形態と、提案済のRLS法を用いた内挿誤差補正方法の切り換えを行なうことが可能となり、角度に応じて適切な二相正弦波信号φA(n)、φB(n)の補正を選択して行なうことが可能となる。 This method makes it possible to switch between the first embodiment of the present invention and the interpolation error correction method using the proposed RLS method, and an appropriate two-phase sine wave signal φ A (n ), Φ B (n) can be selected and performed.

次に、本発明に係る第1実施形態の効果をシミュレーションにより確認した結果を示す。適用したシミュレーション条件としては、二相正弦波信号の振幅誤差2%、位相誤差2°、オフセット誤差2%、ノイズを振幅の±2%、1周期のデータ数は2000個とした。又、内挿誤差の時間的変化として、オフセット誤差が1周期当たり0.2%ずつ増加していく時間的変化を与えた。又、1周期の分割数:M=200とした。   Next, the result of having confirmed the effect of 1st Embodiment which concerns on this invention by simulation is shown. As applied simulation conditions, the amplitude error of the two-phase sine wave signal was 2%, the phase error was 2 °, the offset error was 2%, the noise was ± 2% of the amplitude, and the number of data in one cycle was 2000. Further, as the temporal change of the interpolation error, a temporal change was given in which the offset error increased by 0.2% per cycle. Also, the number of divisions in one cycle was set to M = 200.

このシミュレーション条件のときのリサージュ波形を図13に示す。この図13から第1実施形態による補正を行なうことにより、リサージュ波形は理想値である真円に近づいていることが分かる。又、図14に、波長λで正規化した位置Pについて、このときの内挿誤差ΔPを示す。この図14から補正を行なうことにより内挿誤差が小さくなっていることが分かる。   FIG. 13 shows a Lissajous waveform under this simulation condition. It can be seen from FIG. 13 that by performing the correction according to the first embodiment, the Lissajous waveform approaches a perfect circle that is an ideal value. FIG. 14 shows the interpolation error ΔP at this time for the position P normalized by the wavelength λ. It can be seen from FIG. 14 that the interpolation error is reduced by performing the correction.

又、図14の内挿誤差の空間周波数解析結果を図15に示す。この図15から第1実施形態による補正を行なうことにより、内挿誤差であるλ、λ/2の周期の誤差が減少していることが分かる。   FIG. 15 shows the spatial frequency analysis result of the interpolation error of FIG. It can be seen from FIG. 15 that by performing the correction according to the first embodiment, errors in the periods of λ and λ / 2, which are interpolation errors, are reduced.

なお、前記実施形態では特に明示しなかったが、サンプリングして得られる位相差90°の二相正弦波信号は、対応する二相信号をサンプリングする場合に限らず、3相以上の多相正弦波信号を所定のサンプリング周期でサンプリングして得られた信号から求めるようにしてもよい。   Although not explicitly described in the above embodiment, the two-phase sine wave signal having a phase difference of 90 ° obtained by sampling is not limited to the sampling of the corresponding two-phase signal, and is a polyphase sine having three or more phases. You may make it obtain | require from the signal obtained by sampling a wave signal with a predetermined sampling period.

又、本発明においては、記憶装置に保存されるデータが確実に更新されるようにするために、1周期のデータ数≧分割数Mとする。   Further, in the present invention, in order to ensure that the data stored in the storage device is updated, the number of data in one cycle ≧ the number M of divisions.

以上詳述したとおり、本発明によれば、位置検出装置により位相差90°の二相正弦波信号を使って位置を検出する際に、サンプリング周期に比べて二相正弦波信号の周期が非常に長い場合でも、リアルタイム且つ高精度に二相正弦波信号の振幅、位相、オフセット誤差を検出し、内挿誤差の補正を行なうことができることから、高分解能の位置検出をリアルタイム且つ高精度に行なうことができる。   As described above in detail, according to the present invention, when the position is detected by using the two-phase sine wave signal having a phase difference of 90 °, the period of the two-phase sine wave signal is very short compared to the sampling period. Even in the case of a long time, the amplitude, phase and offset error of the two-phase sine wave signal can be detected in real time and with high accuracy, and the interpolation error can be corrected, so that high-resolution position detection can be performed in real time and with high accuracy. be able to.

提案済の参考例に適用される位置検出装置の概要を示すブロック図Block diagram showing the outline of the position detection device applied to the proposed reference example 上記参考例のアルゴリズムを示すフローチャートFlow chart showing the algorithm of the above reference example 補正誤差のシミュレーション結果の一例を示す線図Diagram showing an example of correction error simulation results 本発明の特徴を示す概念図Conceptual diagram showing features of the present invention 第1実施形態の内挿誤差補正装置の概要を示すブロック図The block diagram which shows the outline | summary of the interpolation error correction apparatus of 1st Embodiment. 第1実施形態のデータ記憶部の特徴を示す図表Chart showing characteristics of data storage unit of first embodiment 第1実施形態のデータ記憶部の特徴を示す概念図The conceptual diagram which shows the characteristic of the data storage part of 1st Embodiment 第1実施形態のアルゴリズムを示すフローチャートThe flowchart which shows the algorithm of 1st Embodiment 第2実施形態のデータ記憶部の特徴を示す図表Chart showing characteristics of data storage unit of second embodiment 第2実施形態のデータ記憶部の特徴を示す概念図The conceptual diagram which shows the characteristic of the data storage part of 2nd Embodiment 第3実施形態の内挿誤差補正装置の概要を示すブロック図The block diagram which shows the outline | summary of the interpolation error correction apparatus of 3rd Embodiment. 第3実施形態の切り換え部の特徴を示す図表Chart showing the characteristics of the switching unit of the third embodiment 本発明の効果を示す線図Diagram showing the effect of the present invention 本発明の効果を示す他の線図Other diagrams showing the effect of the present invention 本発明の効果を示す更に他の線図Still another diagram showing the effect of the present invention

符号の説明Explanation of symbols

10、20…検出部
12…データ処理部
21…データ記憶部
22…内挿誤差推定部
23…内挿誤差補正部
24…切り換え部
DESCRIPTION OF SYMBOLS 10, 20 ... Detection part 12 ... Data processing part 21 ... Data storage part 22 ... Interpolation error estimation part 23 ... Interpolation error correction part 24 ... Switching part

Claims (9)

所定のサンプリング周期でサンプリングして得られた位相差90°の二相正弦波信号φA(n)、φB(n)から算出される位置に含まれる内挿誤差を補正する内挿誤差補正方法において、
二相正弦波信号φA(n)、φB(n)の1周期をM分割して記憶するM個の記憶装置を備え、
時系列的に入力される二相正弦波信号φA(n)、φB(n)から算出された角度θ(n)に対応
する前記記憶装置に、前記二相正弦波信号φA(n)、φB(n)を保存する保存処理を行ない、
前記保存処理とは独立に、前記記憶装置から角度系列データとして二相正弦波信号ΦA(k)、ΦB(k)を順次読み出し、読み出された二相正弦波信号ΦA(k)、ΦB(k)に対して漸化的最小二乗法を適用して振幅誤差、位相誤差、オフセット誤差を推定し、
推定された振幅誤差、位相誤差、オフセット誤差を用いて、前記二相正弦波信号φA(n)、φB(n)の補正を行なうことを特徴とする内挿誤差補正方法。
Interpolation error correction for correcting an interpolation error included in a position calculated from two-phase sine wave signals φ A (n) and φ B (n) having a phase difference of 90 ° obtained by sampling at a predetermined sampling period In the method
M storage devices for storing one cycle of the two-phase sine wave signals φ A (n), φ B (n) by dividing into M,
In the storage device corresponding to the time the two-phase sine wave signals are sequentially input φ A (n), φ B (n) angle calculated from θ (n), the two-phase sine wave signal phi A (n ), Φ B (n) is saved,
Independently of the storage process, the two-phase sine wave signals Φ A (k) and Φ B (k) are sequentially read out as angle series data from the storage device, and the read two-phase sine wave signals Φ A (k) , Apply a recursive least squares method to Φ B (k) to estimate amplitude, phase, and offset errors,
An interpolation error correction method, wherein the two-phase sine wave signals φ A (n) and φ B (n) are corrected using the estimated amplitude error, phase error, and offset error.
所定のサンプリング周期でサンプリングして得られた位相差90°の二相正弦波信号φ A (n)、φ B (n)から算出される位置に含まれる内挿誤差を補正する内挿誤差補正方法において、
二相正弦波信号φA(n)、φB(n)のL周期分(L:2以上の整数)の値を、1周期当たりM分割して記憶するM行L列からなる記憶装置と、前記記憶装置の保存箇所を指定するM個の変数l(m)とを備え、
時系列的に入力される二相正弦波信号φA(n)、φB(n)から算出された角度θ(n)に対応
するm行と、m行に対応する変数l(m)を用いて、前記記憶装置のm行l(m)列目に二相正弦波信号φA(n)、φB(n)を保存すると共に、
前記変数l(m)≠Lの場合は前記変数l(m)に1を加え、前記変数l(m)=Lの場合は前
記変数l(m)を1にする処理を行なうことにより、前記記憶装置に、前記二相正弦波信号φA(n)、φB(n)のL周期分の値を保存する保存処理を行ない、
前記保存処理とは独立に、前記記憶装置から角度系列データとして二相正弦波信号Φ A (k)、Φ B (k)を順次読み出し、読み出された二相正弦波信号Φ A (k)、Φ B (k)に対して漸化的最小二乗法を適用して振幅誤差、位相誤差、オフセット誤差を推定し、
推定された振幅誤差、位相誤差、オフセット誤差を用いて、前記二相正弦波信号φ A (n)、φ B (n)の補正を行なうことを特徴とする内挿誤差補正方法。
Interpolation error correction for correcting an interpolation error included in a position calculated from two-phase sine wave signals φ A (n) and φ B (n) having a phase difference of 90 ° obtained by sampling at a predetermined sampling period In the method
A storage device comprising M rows and L columns for storing the values of L periods (L: an integer of 2 or more) of the two-phase sine wave signals φ A (n), φ B (n) by dividing into M per period; And M variables l (m) for designating the storage location of the storage device,
M rows corresponding to the angle θ (n) calculated from the two-phase sine wave signals φ A (n) and φ B (n) input in time series, and a variable l (m) corresponding to the m rows And storing the two-phase sine wave signals φ A (n) and φ B (n) in m rows and l (m) columns of the storage device,
When the variable l (m) ≠ L, 1 is added to the variable l (m), and when the variable l (m) = L, the variable l (m) is set to 1. the storage device, the two-phase sine wave signal phi a (n), have rows of storage processing for storing the values of L cycles of phi B (n),
Independently of the storage process, the two-phase sine wave signals Φ A (k) and Φ B (k) are sequentially read out as angle series data from the storage device , and the read two-phase sine wave signals Φ A (k) , Apply a recursive least squares method to Φ B (k) to estimate amplitude, phase, and offset errors,
Estimated magnitude error, phase error, using the offset error, the two-phase sine wave signals φ A (n), φ B interpolation error correction method correcting you, wherein rows of Ukoto a (n).
前記角度θ(n)と1サンプリング前の角度θ(n-1)の差の絶対値に応じて、時系列データの二相正弦波信号φA(n)、φB(n)に漸化的最小二乗法を適用する補正方法との間で切り替えを行なうことを特徴とする請求項1又は2に記載の内挿誤差補正方法。 In accordance with the absolute value of the difference between the angle θ (n) and the angle θ (n-1) before one sampling, the two-phase sine wave signals φ A (n) and φ B (n) of the time-series data are gradually refined. The interpolation error correction method according to claim 1 or 2 , wherein switching is performed between a correction method to which a static least square method is applied. 所定のサンプリング周期でサンプリングして得られた位相差90°の二相正弦波信号φA(n)、φB(n)から算出される位置に含まれる内挿誤差を補正する内挿誤差補正装置において、
二相正弦波信号φA(n)、φB(n)の1周期をM分割して記憶するM個の記憶装置を備え、
時系列的に入力される二相正弦波信号φA(n)、φB(n)から算出された角度θ(n)に対応
する前記記憶装置に、前記二相正弦波信号φA(n)、φB(n)を保存する保存処理を行なう手段と、
前記保存処理とは独立に、前記記憶装置から角度系列データとして二相正弦波信号ΦA(k)、ΦB(k)を順次読み出し、読み出された二相正弦波信号ΦA(k)、ΦB(k)に対して漸化的最小二乗法を適用して振幅誤差、位相誤差、オフセット誤差を推定する手段と、
推定された振幅誤差、位相誤差、オフセット誤差を用いて、前記二相正弦波信号φA(n)、φB(n)の補正を行なう手段と、を備えたことを特徴とする内挿誤差補正装置。
Interpolation error correction for correcting an interpolation error included in a position calculated from two-phase sine wave signals φ A (n) and φ B (n) having a phase difference of 90 ° obtained by sampling at a predetermined sampling period In the device
M storage devices for storing one cycle of the two-phase sine wave signals φ A (n), φ B (n) by dividing into M,
In the storage device corresponding to the time the two-phase sine wave signals are sequentially input φ A (n), φ B (n) angle calculated from θ (n), the two-phase sine wave signal phi A (n ), Φ B (n), a means for performing a storage process,
Independently of the storage process, the two-phase sine wave signals Φ A (k) and Φ B (k) are sequentially read out as angle series data from the storage device, and the read two-phase sine wave signals Φ A (k) , Means for applying a recursive least squares method to Φ B (k) to estimate amplitude error, phase error, offset error;
Means for correcting the two-phase sine wave signals φ A (n) and φ B (n) using the estimated amplitude error, phase error, and offset error, and an interpolation error characterized by comprising: Correction device.
所定のサンプリング周期でサンプリングして得られた位相差90°の二相正弦波信号φ A (n)、φ B (n)から算出される位置に含まれる内挿誤差を補正する内挿誤差補正装置において、
二相正弦波信号φA(n)、φB(n)のL周期分(L:2以上の整数)の値を、1周期当たりM分割して記憶するM行L列からなる記憶装置と、前記記憶装置の保存箇所を指定するM個の変数l(m)とを備え、
時系列的に入力される二相正弦波信号φA(n)、φB(n)から算出された角度θ(n)に対応
するm行と、m行に対応する変数l(m)を用いて、前記記憶装置のm行l(m)列目に二相正弦波信号φA(n)、φB(n)を保存すると共に、
前記変数l(m)≠Lの場合は前記変数l(m)に1を加え、前記変数l(m)=Lの場合は前
記変数l(m)を1にする処理を行なうことにより、前記記憶装置に、前記二相正弦波信号φA(n)、φB(n)のL周期分の値を保存する保存処理を行なう手段と、
前記保存処理とは独立に、前記記憶装置から角度系列データとして二相正弦波信号Φ A (k)、Φ B (k)を順次読み出し、読み出された二相正弦波信号Φ A (k)、Φ B (k)に対して漸化的最小二乗法を適用して振幅誤差、位相誤差、オフセット誤差を推定する手段と、
推定された振幅誤差、位相誤差、オフセット誤差を用いて、前記二相正弦波信号φ A (n)、φ B (n)の補正を行なう手段と、を備えたことを特徴とする内挿誤差補正装置。
Interpolation error correction for correcting an interpolation error included in a position calculated from two-phase sine wave signals φ A (n) and φ B (n) having a phase difference of 90 ° obtained by sampling at a predetermined sampling period In the device
A storage device comprising M rows and L columns for storing the values of L periods (L: an integer of 2 or more) of the two-phase sine wave signals φ A (n), φ B (n) by dividing into M per period; And M variables l (m) for designating the storage location of the storage device,
M rows corresponding to the angle θ (n) calculated from the two-phase sine wave signals φ A (n) and φ B (n) input in time series, and a variable l (m) corresponding to the m rows And storing the two-phase sine wave signals φ A (n) and φ B (n) in m rows and l (m) columns of the storage device,
When the variable l (m) ≠ L, 1 is added to the variable l (m), and when the variable l (m) = L, the variable l (m) is set to 1. Means for storing in the storage device a value for L periods of the two-phase sine wave signals φ A (n), φ B (n) ;
Independently of the storage process, the two-phase sine wave signals Φ A (k) and Φ B (k) are sequentially read out as angle series data from the storage device , and the read two-phase sine wave signals Φ A (k) , Means for applying a recursive least squares method to Φ B (k) to estimate amplitude error, phase error, offset error;
Estimated magnitude error, phase error, using the offset error, the two-phase sine wave signal phi A (n), phi B interpolation means for performing a correction, you characterized by comprising a (n) Error correction device.
前記角度θ(n)と1サンプリング前の角度θ(n-1)の差の絶対値に応じて、時系列データの二相正弦波信号φA(n)、φB(n)に漸化的最小二乗法を適用する補正方式との間で切り替えを行なう手段を備えたことを特徴とする請求項4又は5に記載の内挿誤差補正装置。 In accordance with the absolute value of the difference between the angle θ (n) and the angle θ (n-1) before one sampling, the two-phase sine wave signals φ A (n) and φ B (n) of the time-series data are gradually refined. The interpolation error correction device according to claim 4 or 5 , further comprising means for switching between correction methods to which a static least square method is applied. 請求項1、2又は3に記載の内挿誤差補正方法を実施するためのコンピュータプログラム。   A computer program for carrying out the interpolation error correction method according to claim 1, 2 or 3. 請求項4、5又は6に記載の内挿誤差補正装置を実現するためのコンピュータプログラム。   The computer program for implement | achieving the interpolation error correction apparatus of Claim 4, 5 or 6. 請求項7又は8に記載のコンピュータプログラムが記録された、コンピュータ読取り可能な記録媒体。   A computer-readable recording medium on which the computer program according to claim 7 or 8 is recorded.
JP2004243914A 2004-08-24 2004-08-24 Interpolation error correction method and apparatus Expired - Fee Related JP4518871B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004243914A JP4518871B2 (en) 2004-08-24 2004-08-24 Interpolation error correction method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004243914A JP4518871B2 (en) 2004-08-24 2004-08-24 Interpolation error correction method and apparatus

Publications (2)

Publication Number Publication Date
JP2006064402A JP2006064402A (en) 2006-03-09
JP4518871B2 true JP4518871B2 (en) 2010-08-04

Family

ID=36111030

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004243914A Expired - Fee Related JP4518871B2 (en) 2004-08-24 2004-08-24 Interpolation error correction method and apparatus

Country Status (1)

Country Link
JP (1) JP4518871B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108204830B (en) 2017-11-28 2019-08-06 珠海格力电器股份有限公司 The compensation method of phase deviation and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003254784A (en) * 2002-02-28 2003-09-10 Mitsutoyo Corp Method and device for calibrating displacement
JP2005172669A (en) * 2003-12-12 2005-06-30 Mitsutoyo Corp Interpolation error correcting method and its system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05231879A (en) * 1992-02-20 1993-09-07 Okuma Mach Works Ltd Correcting method for detecting position
JPH06167354A (en) * 1992-11-27 1994-06-14 Sony Magnescale Inc Interpolation unit for scale

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003254784A (en) * 2002-02-28 2003-09-10 Mitsutoyo Corp Method and device for calibrating displacement
JP2005172669A (en) * 2003-12-12 2005-06-30 Mitsutoyo Corp Interpolation error correcting method and its system

Also Published As

Publication number Publication date
JP2006064402A (en) 2006-03-09

Similar Documents

Publication Publication Date Title
US6556156B1 (en) Circuit and method for calibrating the phase shift between a plurality of digitizers in a data acquisition system
JP3772121B2 (en) Encoder signal processing device
US7805270B2 (en) Encoder signal analysis system for high-resolution position measurement
US7852969B2 (en) System and method for dynamic calibration of a quadrature encoder
KR101294566B1 (en) An apparatus for adaptively compensating position error of resolver
EP3546893B1 (en) Methods, computer programs, devices and encoders for signal error correction
US9857203B2 (en) Resolver device
US10355717B2 (en) Encoder signal processing device, encoder, and signal processing method and recording medium
JP7381707B2 (en) Detection device, method, system, calculation device, and calculation method
CN105928546A (en) Encoder Signal Processor
JP4518871B2 (en) Interpolation error correction method and apparatus
CN102878921A (en) Physical quantity detection apparatus and inspection method of physical quantity detection apparatus
JP4518786B2 (en) Interpolation error correction method and apparatus
JP5125320B2 (en) Encoder correction value control method
JP3602078B2 (en) Satellite attitude detection device
WO2018092416A1 (en) Rotary encoder signal processing device and rotary encoder signal processing method
CN115950345A (en) Measurement data processor, position measurement device and computer-implemented method
JP4700485B2 (en) Arithmetic apparatus and test apparatus
JP4943171B2 (en) Amplitude detector
JP2008180547A (en) Interpolation error correction system
US11774926B2 (en) Sensor system and method for measuring a process value of a physical system
JP3092100B2 (en) Position detector with error correction function
JP3858574B2 (en) Apparatus and method for off-line broadband attitude detection of artificial satellite
JP2003057073A (en) Interpolation error estimating method, its device, and interpolation error correcting apparatus using the same
JP2020003254A (en) Position detector

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070713

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100112

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100204

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100511

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100518

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

Free format text: PAYMENT UNTIL: 20130528

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4518871

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130528

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20160528

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees