JP2007327770A - Output signal correcting device and output signal correcting method of digital scale - Google Patents

Output signal correcting device and output signal correcting method of digital scale Download PDF

Info

Publication number
JP2007327770A
JP2007327770A JP2006157172A JP2006157172A JP2007327770A JP 2007327770 A JP2007327770 A JP 2007327770A JP 2006157172 A JP2006157172 A JP 2006157172A JP 2006157172 A JP2006157172 A JP 2006157172A JP 2007327770 A JP2007327770 A JP 2007327770A
Authority
JP
Japan
Prior art keywords
phase
sine wave
wave signal
phase sine
signal value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2006157172A
Other languages
Japanese (ja)
Other versions
JP4979988B2 (en
Inventor
Masateru Doi
正照 土居
Takayuki Kurata
隆行 倉田
Naoyuki Harada
直幸 原田
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2006157172A priority Critical patent/JP4979988B2/en
Publication of JP2007327770A publication Critical patent/JP2007327770A/en
Application granted granted Critical
Publication of JP4979988B2 publication Critical patent/JP4979988B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Transmission And Conversion Of Sensor Element Output (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a digital scale output signal correcting device for accurately detecting and correcting an offset, gain and a phase of a two-phase sine wave signal of an encoder. <P>SOLUTION: A correction is made by offset addition and primary conversion, by determining an error in the respective offset, gain and phase of a two-phase signal, by using a large number of data of six pieces or more, with an atctan conversion value of the two-phase signal near to a sine wave as a parameter. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、サーボモータの回転角度の検出装置やリニアステージの位置検出装置の改良に関するものであり、移動体の位置を検出する際に、その検出信号である位相の異なる2相交流信号に含まれる各種の誤差成分を検出し、自動的にこの誤差を補正する出力信号補正方法、及び誤差補正機能付き位置検出方法を用いた、高精度三次元測定装置や薄板の厚み測定を行う測定装置としての出力信号補正装置に関する。   The present invention relates to improvements in a rotation angle detection device for a servo motor and a position detection device for a linear stage, and is included in a two-phase AC signal having a different phase as a detection signal when detecting the position of a moving body. As a high-precision three-dimensional measuring device and a measuring device that measures the thickness of a thin plate using an output signal correction method that automatically corrects this error and a position detection method with an error correction function The present invention relates to an output signal correction apparatus.

従来のデジタルスケール(以下、位置検出器と表記する。)の一例として、図8に示すものがある。図8の位置検出器は、被検出体の移動体1には透磁材の目盛2が取付けられており、目盛2に対向して光学センサ303,304が配設されている。光学センサ303及び304の出力V及びVはそれぞれ瞬時値検出部310内のサンプルホールド回路311及び312に入力されると共に、位置上位桁検出回路320内の比較演算器321及び322に入力される。サンプルホールド回路311及び312の出力はそれぞれA/D変換器313及び314に入力され、A/D変換されたデジタル瞬時値X=cosθ及びY=sinθは除算器331に入力され、その除算結果Y/Xがarctan部332に入力されている。 An example of a conventional digital scale (hereinafter referred to as a position detector) is shown in FIG. In the position detector of FIG. 8, a magnetically permeable material scale 2 is attached to the moving body 1 of the detection object, and optical sensors 303 and 304 are disposed opposite the scale 2. The outputs V x and V y of the optical sensors 303 and 304 are respectively input to the sample hold circuits 311 and 312 in the instantaneous value detection unit 310 and are also input to the comparison calculators 321 and 322 in the position upper digit detection circuit 320. The The outputs of the sample and hold circuits 311 and 312 are input to A / D converters 313 and 314, respectively, and the digital instantaneous values X = cos θ and Y = sin θ that are A / D converted are input to the divider 331, and the division result Y / X is input to the arctan unit 332.

このarctan部332の出力は、移動体2の1目盛に相当する回転角を2π[radian]とした場合の1目盛の微小な位置θを内挿検出した結果である。比較演算器321及び322の出力はそれぞれパルスカウンタ323に入力され、計数された位置の上位桁データTNは位置検出部330内の加算器333に入力される。加算器333では上述の1目盛内の内挿検出した位置θと、位置の上位桁データTNとを加算することにより、移動体1の位置PSを得ている。このような構成において、位置検出部330における処理は、マイクロプロセッサ等を用いたソフトウェア処理や、ROMテーブルを持つハードウェアで実現することが考えられる。   The output of the arctan unit 332 is the result of interpolating and detecting a minute position θ on one scale when the rotation angle corresponding to one scale on the moving body 2 is 2π [radian]. The outputs of the comparison calculators 321 and 322 are respectively input to the pulse counter 323, and the upper digit data TN of the counted position is input to the adder 333 in the position detection unit 330. The adder 333 obtains the position PS of the moving body 1 by adding the position θ detected by interpolation within the above-mentioned one scale and the upper digit data TN of the position. In such a configuration, the processing in the position detection unit 330 can be realized by software processing using a microprocessor or the like, or hardware having a ROM table.

図9は、特許文献2に示す位置検出装置を搭載するプローブ走査型3次元測定機の構成図である。図において、定盤381上に、XYテーブル382が設けられる。XYテーブル382上に架台383が設けられている。架台383上には、発振周波数安定化He−Neレーザからなる測定用スケール設定手段384と、垂直方向に上下移動するZ軸移動台385と、干渉計とレンズを含む光学系からなるZ1位置検出器386−1及びZ2位置検出器386−2が設けられている。また、測定用スケール設定手段384には、各種ミラー、プリズム、偏光板等の光学システムが含まれている。さらに、定盤381上に、支持体388を設け、この支持体388を介して、前記Z軸移動台385の上方に、水平ミラーをX―Y軸基準面389として設ける。そして、被測定物387は、定盤381上の、前記Z1位置検出器386−1の下方に位置する場所に固定される。   FIG. 9 is a configuration diagram of a probe scanning type three-dimensional measuring machine equipped with the position detection device shown in Patent Document 2. In the figure, an XY table 382 is provided on a surface plate 381. A stand 383 is provided on the XY table 382. On the gantry 383, Z1 position detection comprising an optical system including a measurement scale setting means 384 made of an oscillation frequency stabilized He—Ne laser, a Z-axis moving table 385 moving up and down in the vertical direction, and an interferometer and a lens. A device 386-1 and a Z2 position detector 386-2 are provided. The measurement scale setting means 384 includes optical systems such as various mirrors, prisms, and polarizing plates. Further, a support 388 is provided on the surface plate 381, and a horizontal mirror is provided as an XY axis reference surface 389 above the Z-axis moving table 385 via the support 388. The object to be measured 387 is fixed at a position on the surface plate 381 below the Z1 position detector 386-1.

測定光は、前記各種ミラー、プリズム、偏光板等の光学システムによって、2つに分けられ、その1つは、前記Z軸移動台385上に設けられたZ1位置検出器386−1のレンズによって、被測定物387上に集光され、反射されて、架台383上に設けたZ1位置検出器386−1に入射する。他の1つは、各種ミラー、プリズム、偏光板等の光学システムによって、直接、架台383上に設けたZ1位置検出器386−1に入射する。このZ1位置検出器386−1は、内蔵している干渉計によって、これら2つの測定光Fから前記被測定物の被測定点と前記架台383上の第1特定点との距離Z1を測定する。参照光Fは、各種ミラー、プリズムによって、2つに分けられ、その一方の参照光Fが、各種ミラー、プリズム、偏光板等の光学システムによってX−Y軸基準面389のミラー上に集光されて反射され、各種ミラー、プリズム、偏光板等の光学システムによってZ2位置検出器386−2に集光されると共に、他方の参照光Fが各種ミラー、プリズム、偏光板等の光学システムによって、直接、Z2位置検出器386−2に集光され、Z2位置検出器386−2に内蔵されている干渉計によってX−Y軸基準面389と、架台383上にある、第1特定点とのZ軸方向の距離が特定できる第2特定点との距離Z2が測定される。   The measuring light is divided into two by the optical system such as the various mirrors, prisms, polarizing plates, etc., one of which is by the lens of the Z1 position detector 386-1 provided on the Z-axis moving table 385. The light is condensed on the object to be measured 387, reflected, and incident on the Z1 position detector 386-1 provided on the gantry 383. The other is directly incident on the Z1 position detector 386-1 provided on the mount 383 by an optical system such as various mirrors, prisms, and polarizing plates. This Z1 position detector 386-1 measures a distance Z 1 between the measurement point of the object to be measured and the first specific point on the mount 383 from these two measurement lights F by means of a built-in interferometer. . The reference light F is divided into two by various mirrors and prisms, and one of the reference lights F is condensed on the mirror of the XY axis reference plane 389 by an optical system such as various mirrors, prisms, and polarizing plates. And reflected on the Z2 position detector 386-2 by an optical system such as various mirrors, prisms and polarizing plates, and the other reference light F is reflected by an optical system such as various mirrors, prisms and polarizing plates. Directly focused on the Z2 position detector 386-2, and the interferometer built in the Z2 position detector 386-2 is connected to the XY axis reference plane 389 and the first specific point on the mount 383. A distance Z2 to the second specific point where the distance in the Z-axis direction can be specified is measured.

上記三次元測定装置のZ1位置検出器386−1、Z2位置検出器386−2、X位置検出器386−X、Y位置検出器386−Yは、図8の目盛2の替わりに、発振周波数安定化He−Neレーザからなる測定用スケール設定手段384を用いることで高精度な位置検出を実現し、図8の光学センサ303、304に対応する光学センサよりなる干渉計を配設し、図8の光学センサ出力V、Vと同様に
=cosθ 及び V=sinθ
(θは 測定物の位置を示す)
となる信号V、Vを出力する。
The Z1 position detector 386-1, the Z2 position detector 386-2, the X position detector 386-X, and the Y position detector 386Y of the above three-dimensional measuring apparatus have an oscillation frequency instead of the scale 2 in FIG. By using the measurement scale setting means 384 made of a stabilized He-Ne laser, highly accurate position detection is realized, and an interferometer made up of optical sensors corresponding to the optical sensors 303 and 304 in FIG. Similarly to the optical sensor outputs V x and V y of FIG. 8, V x = cos θ and V y = sin θ
(Θ indicates the position of the object to be measured)
The signals V x and V y are output.

また、測定用スケール手段384の発振周波数安定化He−Neレーザの波長は約0.633μmであり、1e−8以上の周波数安定性を持ち、光路が測定対象との間を一往復するシングルパスの場合、リサージュ1回転は波長の半分の0.3165μmとなる。 The wavelength of the oscillation frequency stabilized He—Ne laser of the measuring scale means 384 is about 0.633 μm, has a frequency stability of 1e −8 or more, and a single path in which the optical path makes a round trip between the measuring object. In this case, one rotation of Lissajous is 0.3165 μm, which is half the wavelength.

しかしながら、従来の位置検出装置では、光学センサ303及び304の出力V及びVは互いに振幅が等しく、位相差が正確に90°異なっており、また、直流オフセット成分を0として扱っている。ただし、一般的には直流オフセットについては、0でなくても予め既知である一定の値として扱っている例も多く、この場合でも位置検出部330の内部処理において、既知である一定の直流オフセットをVa及びVbから減算することによって、前述のように直流オフセットが0である場合と同様に扱っている。 However, in the conventional position detection device, the outputs V x and V y of the optical sensors 303 and 304 have the same amplitude, the phase difference is exactly 90 ° different, and the DC offset component is treated as zero. However, in general, there are many examples in which the DC offset is treated as a constant value that is known in advance even if it is not 0, and even in this case, the constant DC offset that is known in the internal processing of the position detection unit 330 Is subtracted from Va and Vb, as described above, in the same way as when the DC offset is zero.

ところが実際の位置検出装置においては、光学センサ303及び304により出力される実際の2相交流信号について、オフセット又はオフセットの変動が生じていたり、各振幅が異なっていたり、位相差が90°からずれていたりする。図10A〜図10Dは、横軸をV、縦軸をVとしたときのV、Vの軌跡(リサージュ波形と呼ぶ)を具体的に表示したものである。図10Aは、理想的に調整された状態であり中心が原点に一致した円である。図10Bはオフセットのみがずれた状態、図10Cはゲインのみがずれた状態、図10Dは位相のみがずれた状態をそれぞれ模式的に表示している。信号に誤差がある場合、その信号は検出されるべきsinθ,cosθとは異なった値として検出されていた。このような誤差を含んだ検出値に基づいて演算を行なっていたので、従来は高精度な位置検出ができないという問題点があった。 However, in the actual position detection device, the actual two-phase AC signals output from the optical sensors 303 and 304 have offsets or offset fluctuations, the amplitudes are different, or the phase difference is shifted from 90 °. I'm going. FIGS. 10A to 10D specifically show the trajectories (referred to as Lissajous waveforms) of V x and V y when the horizontal axis is V x and the vertical axis is V y . FIG. 10A is a circle that is ideally adjusted and whose center coincides with the origin. FIG. 10B schematically shows a state in which only the offset is shifted, FIG. 10C schematically shows a state in which only the gain is shifted, and FIG. 10D schematically shows a state in which only the phase is shifted. When there was an error in the signal, the signal was detected as a value different from sin θ and cos θ to be detected. Since the calculation is performed based on the detection value including such an error, there has been a problem that the position cannot be detected with high accuracy.

なお、従来そのような場合に、図11のようにV、VをVオフセット調整用可変抵抗315、Vゲイン調整用可変抵抗316、Vオフセット調整用可変抵抗317、Vゲイン調整用可変抵抗318による各誤差補正回路を設けることにより対処している。しかし、当該各誤差補正回路はハード的に処理を行うため、可変抵抗等の人間または自動機による調整が必要であり、V、Vの位相差を90°の調整を抵抗等の安価な部品のみで実現することはむずかしかった。さらに、人為的な調整ミスが発生したり、回路素子の温度変動等による特性変化や経年変化による特性劣化等により、常に高精度な位置検出を行なうことができなかった。 Conventionally, in such a case, as shown in FIG. 11, V x and V y are changed to V x offset adjusting variable resistor 315, V x gain adjusting variable resistor 316, V y offset adjusting variable resistor 317, and V y gain. This is dealt with by providing each error correction circuit with an adjustment variable resistor 318. However, since each error correction circuit performs hardware processing, adjustment by a human or automatic machine such as a variable resistor is necessary, and adjustment of the phase difference of V x and V y by 90 ° is inexpensive such as resistance. It was difficult to achieve with only parts. Furthermore, position detection cannot always be performed with high accuracy due to an artificial adjustment error, characteristic changes due to temperature fluctuations of circuit elements, characteristic deterioration due to secular changes, and the like.

図12,13は、従来の補正を行う3次元測定機により、被測定物387に平面度の保障された平面を設置して、測定した一例である。被測定物387は水平に設置するが、実作業上1μm/mm以下の傾きをなくすことは難しいため、測定結果よりデータの後処理により、平面の傾き分を補正して表示している(当該平面の傾き分の補正を、以下、傾き補正と表記する)。   FIGS. 12 and 13 show an example in which a flat surface with a guaranteed flatness is set on the measurement object 387 using a conventional three-dimensional measuring machine that performs correction. The object to be measured 387 is installed horizontally, but since it is difficult to eliminate the inclination of 1 μm / mm or less in actual work, the inclination of the plane is corrected and displayed by the post-processing of the data from the measurement result (the relevant The correction of the plane inclination is hereinafter referred to as inclination correction).

図12の測定結果は、傾き補正つきで1.2mm/秒にてY方向(横軸(mm))に測定した結果である。被測定物の設置条件は変えずに、左側は本補正を実施せずに測定した場合である。実際の測定物は、Y方向に0.36μm/mmの傾きがあり、リサージュ1回転あたりが発振周波数安定化He−Neレーザの波長の半分、つまり約0.315μmにあたる。したがって、補正前の左側の測定データは、Y方向に
0.315[μm]/0.36[μm/mm]=0.875mm
ごとの周期的な変動(測定誤差)が発生することが予想され、実際に補正前のデータには、約1mm弱ごとに約5nmの周期的誤差があることが確認できる。
The measurement result of FIG. 12 is the result of measurement in the Y direction (horizontal axis (mm)) at 1.2 mm / second with tilt correction. The left-hand side is the case where measurement is performed without performing this correction without changing the installation conditions of the object to be measured. The actual measurement object has an inclination of 0.36 μm / mm in the Y direction, and one rotation of the Lissajous corresponds to half the wavelength of the oscillation frequency stabilized He—Ne laser, that is, about 0.315 μm. Therefore, the measurement data on the left before correction is 0.315 [μm] /0.36 [μm / mm] = 0.875 mm in the Y direction.
It is expected that a periodic variation (measurement error) occurs every time, and it can be confirmed that the data before correction actually has a periodic error of about 5 nm for every about 1 mm.

図10B〜図10Dのような誤差を含んだ検出値に基づいて演算を行なうことにより、高精度な位置検出ができないという問題を解決するため、特許第3026949号(特許文献3)に開示されるように、2相交流信号V,Vの複数組の瞬時値から検出する誤差検出方法を提案している。たとえば、特許第3026949号においては、図14、図15に示すようにVがゼロクロスするときのV1、V2と、VがゼロクロスするときのV1,V2とを求め、V1とV2の平均(V1+V2)/2、V1とV2の平均(V1+V2)/2をオフセットとする方法が提案されている。 In order to solve the problem that high-precision position detection cannot be performed by performing calculations based on detection values including errors as shown in FIGS. 10B to 10D, Japanese Patent No. 3026949 (Patent Document 3) discloses. Thus, an error detection method for detecting from a plurality of sets of instantaneous values of the two-phase AC signals V x and V y has been proposed. For example, in Japanese Patent No. 3026949, as shown in FIGS. 14 and 15, V y 1 and V y 2 when V x zero-crosses and V x 1 and V x 2 when V y zero-crosses are obtained. A method is proposed in which the average of V y 1 and V y 2 (V y 1 + V y 2) / 2 and the average of V x 1 and V x 2 (V x 1 + V x 2) / 2 are offset.

また、特許第3092100号(特許文献1)においては、VがゼロクロスするときのV1、V2と、VがゼロクロスするときのV1,V2、V=VとなるときのV3、V3の6つのV、Vの組から、オフセット、ゲイン、位相差を求める方法が提案されている。
特許第3092100号公報 特許第3046635号公報 特許第3026949号公報
In Japanese Patent No. 3092100 (Patent Document 1), V x 1 and V x 2 when V x zero-crosses, and V x 1, V x 2 and V x = V y when V y zero-crosses. A method for obtaining an offset, a gain, and a phase difference from a set of six V x and V y of V x 3 and V y 3 is proposed.
Japanese Patent No. 3092100 Japanese Patent No. 3046635 Japanese Patent No. 3026949

しかしながら、前記従来の特許第3026949号(特許文献3)に開示された方法では、図16に示すように、2つの正弦波入力V、Vの間に位相誤差がある場合は、ゼロクロスの平均で求めた位置と真の中心は異なるため、正確に求めることができないという課題を有していた。また、ゼロクロスサンプル回路を付加する分だけ高価になるという課題も有していた。 However, in the method disclosed in the above-mentioned conventional patent No. 3026949 (Patent Document 3), when there is a phase error between two sine wave inputs V x and V y as shown in FIG. Since the average position and the true center are different, there is a problem that the position cannot be determined accurately. In addition, there is a problem that the cost is increased by adding a zero-cross sample circuit.

また、前記従来の特許第3092100(特許文献1)に開示された方法では、光学センサ303及び304の出力V及びVのわずか6組から誤差を求めるため、光学センサ303及び304のノイズ等により高精度に求めることができない、V、Vのゼロクロス、V=Vとなる値を検出する高価なゼロクロスサンプル回路が必要となるという課題を有していた。 Further, in the method disclosed in the conventional patent No. 3092100 (Patent Document 1), since errors are obtained from only 6 sets of the outputs V a and V b of the optical sensors 303 and 304, noise of the optical sensors 303 and 304, etc. Therefore, there is a problem that an expensive zero cross sample circuit for detecting a value of V x , V y zero cross and V x = V y that cannot be obtained with high accuracy is required.

通常XYテーブル382と架台383の動作面は、X−Y基準面389と平行に調整されるため、Z2位置検出器386−2はXYテーブル382の全可動範囲でも一定値となり、静止時に位置検出器の測定変動は0.01μm以下である。このため、通常のリサージュ波形は縁にならず点に近く、外乱を与えても、図13に示すように、その測定点は、非常に偏った分布を示す。   Normally, the operation surfaces of the XY table 382 and the gantry 383 are adjusted in parallel with the XY reference surface 389, so that the Z2 position detector 386-2 has a constant value even in the entire movable range of the XY table 382, and detects the position when stationary. The measurement variation of the vessel is 0.01 μm or less. For this reason, the normal Lissajous waveform does not become an edge but is close to a point, and even if a disturbance is applied, the measurement point shows a very biased distribution as shown in FIG.

このような、偏り存在するデータを用いて補正を行った場合、上記2つの方法では十分な精度を得られないばかりか、逆に精度が悪化するという課題があった。   When correction is performed using such biased data, there is a problem that not only the above two methods cannot obtain sufficient accuracy but also the accuracy deteriorates.

本発明は、前記従来の課題を解決するもので、上記各誤差を簡単かつ安価な演算処理回路により演算して、センサのノイズ等の不確定さの影響を小さくし、かつ、偏りのあるデータを用いても、十分な精度の位置検出を行なうことのできる出力信号補正装置と誤差補正機能を有効に使用する出力信号補正方法を提供することを目的とする。   The present invention solves the above-described conventional problems, and calculates the above errors by a simple and inexpensive arithmetic processing circuit to reduce the influence of uncertainties such as sensor noise, and biased data. It is an object of the present invention to provide an output signal correction apparatus capable of performing position detection with sufficient accuracy and an output signal correction method that effectively uses an error correction function.

本発明は、上記技術的課題を解決するために、以下の構成のデジタルスケール出力信号補正装置を提供する。   In order to solve the above technical problem, the present invention provides a digital scale output signal correction apparatus having the following configuration.

本発明の第1態様によれば、誤差を含むA相正弦波信号及び前記A相正弦波信号に対して位相差を有する誤差を含むB相正弦波信号を含むエンコーダ信号を入力し、前記誤差を補正した位置情報又は角度情報を出力するデジタルスケール出力信号補正装置であって、
A相正弦波信号がAD変換された前記A相正弦波信号値と、B相正弦波信号がAD変換されたB相正弦波信号値を記憶するデータ保持部と、
前記データ保持部に格納されている、前記A相正弦波信号値とB相正弦波信号値の瞬時値に関し、6個以上の複数のA相B相ペアを入力値とし、それぞれの入力値について、前記A相正弦波信号値のオフセット、前記B相正弦波信号値のオフセット、前記A相正弦波信号値と前記B相正弦波信号値の大きさ比、前記A相正弦波信号値と前記B相正弦波信号値の位相差を算出する誤差演算部と、
前記誤差演算部が算出した結果により前記A相B相ペアを補正するデータ変換部と、
データ変換部の出力を割り算する割算器と、
割算器からの出力のarctan値を出力するarctan部を有し、
前記誤差演算部は、(B相正弦波信号値/A相正弦波信号値)のarctan値をパラメータとし、
前記パラメータに対し前記A相正弦波信号値を正弦波に近似したときのA相オフセットとA相大きさとA相位相と、前記パラメータに対し前記B相正弦波信号値を正弦波に近似したときのB相オフセットとA相に対するB相大きさ誤差とA相に対するB相位相誤差とを演算することを特徴とする、デジタルスケール出力信号補正装置を提供する。
According to the first aspect of the present invention, an encoder signal including an A-phase sine wave signal including an error and a B-phase sine wave signal including an error having a phase difference with respect to the A-phase sine wave signal is input. A digital scale output signal correction device that outputs position information or angle information corrected for
A data holding unit for storing the A-phase sine wave signal value obtained by AD-converting the A-phase sine wave signal and the B-phase sine wave signal value obtained by AD-converting the B-phase sine wave signal;
Regarding the instantaneous value of the A-phase sine wave signal value and the B-phase sine wave signal value stored in the data holding unit, six or more A-phase B-phase pairs are used as input values, and the respective input values , The offset of the A phase sine wave signal value, the offset of the B phase sine wave signal value, the magnitude ratio of the A phase sine wave signal value and the B phase sine wave signal value, the A phase sine wave signal value and the An error calculator that calculates the phase difference between the B-phase sine wave signal values;
A data converter that corrects the A-phase / B-phase pair based on the result calculated by the error calculator;
A divider for dividing the output of the data converter;
It has an arctan part that outputs the arctan value of the output from the divider,
The error calculation unit uses the arctan value of (B phase sine wave signal value / A phase sine wave signal value) as a parameter,
When the A phase sine wave signal value is approximated to a sine wave with respect to the parameter, and when the B phase sine wave signal value is approximated to a sine wave with respect to the parameter A digital scale output signal correction apparatus is provided that calculates a B phase offset error, a B phase magnitude error for the A phase, and a B phase error for the A phase.

上記構成において、A相正弦波信号とB相正弦波信号とは、それぞれ独立して誤差を含むものであり、互いに位相に差を有している信号である。位相差は、例えば、90゜である。B相正弦波信号値は、A相正弦波信号値の前記AD変換と同時にAD変換されるように構成されていてもよい。   In the above configuration, the A-phase sine wave signal and the B-phase sine wave signal each independently include an error, and are signals having a difference in phase. The phase difference is 90 °, for example. The B-phase sine wave signal value may be AD-converted simultaneously with the AD conversion of the A-phase sine wave signal value.

また、当該出力信号の補正は、繰り返し行われてもよい。具体的には、デジタルスケール出力信号補正装置は、さらに、前記デジタルスケール出力信号補正装置において実行される補正回数設定入力部と、
補正後のデータを再度補正装置に入力する切り替え部と、
実際の補正回数と前記補正回数の設定部の設定数とを比較する制御部を具備し、
前記補正回数設定入力部によって指定された回数の補正を繰り返し行うように構成されていてもよい。
Further, the correction of the output signal may be repeatedly performed. Specifically, the digital scale output signal correction device further includes a correction number setting input unit executed in the digital scale output signal correction device,
A switching unit for inputting the corrected data again into the correction device;
A controller that compares the actual number of corrections and the number of corrections set in the setting unit;
The correction may be repeatedly performed the number of times designated by the correction number setting input unit.

本発明の第2態様によれば、誤差を含むA相正弦波信号及び前記A相正弦波信号に対して位相差を有する誤差を含むB相正弦波信号を含むエンコーダ信号を入力し、前記誤差を補正した位置情報又は角度情報を出力するデジタルスケール出力信号補正方法であって、
A相正弦波信号がAD変換された前記A相正弦波信号値と、B相正弦波信号がAD変換されたB相正弦波信号値に関して、6個以上の複数のA相B相ペアを入力値とし、
それぞれの入力値について、前記A相正弦波信号値のオフセット、前記B相正弦波信号値のオフセット、前記A相正弦波信号値と前記B相正弦波信号値の大きさ比、前記A相正弦波信号値と前記B相正弦波信号値の位相差を算出し、
データ変換部の出力を割り算し、
割算器からの出力のarctan値を出力し、
(B相正弦波信号値/A相正弦波信号値)のarctan値をパラメータとし、
前記パラメータに対し前記A相正弦波信号値を正弦波に近似したときのA相オフセットとA相大きさとA相位相と、前記パラメータに対し前記B相正弦波信号値を正弦波に近似したときのB相オフセットとA相に対するB相大きさ誤差とA相に対するB相位相誤差とを演算する、ことを特徴とする、デジタルスケール出力信号補正方法を提供する。
According to a second aspect of the present invention, an encoder signal including an A-phase sine wave signal including an error and a B-phase sine wave signal including an error having a phase difference with respect to the A-phase sine wave signal is input. A digital scale output signal correction method for outputting position information or angle information corrected for
6 or more A phase B phase pairs are input for the A phase sine wave signal value obtained by AD conversion of the A phase sine wave signal and the B phase sine wave signal value obtained by AD conversion of the B phase sine wave signal. Value and
For each input value, the offset of the A phase sine wave signal value, the offset of the B phase sine wave signal value, the magnitude ratio of the A phase sine wave signal value and the B phase sine wave signal value, the A phase sine wave Calculating the phase difference between the wave signal value and the B-phase sine wave signal value,
Divide the output of the data converter,
Output the arctan value of the output from the divider,
With the arctan value of (B-phase sine wave signal value / A-phase sine wave signal value) as a parameter,
When the A phase sine wave signal value is approximated to a sine wave with respect to the parameter, and when the B phase sine wave signal value is approximated to a sine wave with respect to the parameter A digital scale output signal correction method is provided, which calculates a B phase offset, a B phase magnitude error for the A phase, and a B phase error for the A phase.

また、上記方法において、記出力補正を行うとき、意図的に装置に外乱を与えることにより、補正結果をより均一に取得することができる。   In the above method, when the output correction is performed, the correction result can be obtained more uniformly by intentionally giving a disturbance to the apparatus.

以上のように、本発明のデジタルスケール出力信号補正装置及びデジタルスケール出力信号補正方法によれば、高価なゼロクロスサンプル回路を使うことなく、6個以上任意の多数のデータを使用することで高精度に、かつ、高度な調整や経時変化に対応して移動体の位置を検出することができる。   As described above, according to the digital scale output signal correction apparatus and the digital scale output signal correction method of the present invention, high accuracy can be obtained by using any number of data of 6 or more without using an expensive zero-cross sample circuit. In addition, the position of the moving body can be detected in response to advanced adjustments and changes with time.

また、A相正弦波信号及びB相正弦波信号の大きな誤差がある場合、上記の補正を複数回繰り返すことで高精度の補正とすることができる。   Further, when there is a large error between the A-phase sine wave signal and the B-phase sine wave signal, the above correction can be repeated a plurality of times to achieve a highly accurate correction.

以下本発明の実施の形態について、図面を参照しながら説明する。   Embodiments of the present invention will be described below with reference to the drawings.

(第1実施形態)
図1は、本発明の第1実施形態におけるエンコーダ出力信号補正装置の構成図である。図1において、図8と同じ構成要素については同じ符号を用い、説明を省略する。また、図1の例においても、図8の位置上位桁検出回路320は存在するが、図8の位置上位桁検出回路320と全く同一で、本発明とは直接関係ないので、記載を省略している。
(First embodiment)
FIG. 1 is a configuration diagram of an encoder output signal correction apparatus according to the first embodiment of the present invention. In FIG. 1, the same components as those in FIG. Also in the example of FIG. 1, the upper position digit detection circuit 320 of FIG. 8 exists, but it is completely the same as the upper position digit detection circuit 320 of FIG. 8 and is not directly related to the present invention, so the description is omitted. ing.

データ保持部40は、信号V、VをA/D変換した瞬時値検出部310の出力のデジタルデータx、yを6組以上保持する部分で、メモリと制御部から構成されている。誤差演算部50は、データ保持部40の保持した6個以上の出力をもとにして下記アルゴリズムに従って、Vのオフセット、Vのオフセット、ゲインと位相差を補正する1次変換補正値の合計6つの補正値を算出する。データ変換部60は、誤差演算部50の出力した6つも補正値により、瞬時値検出部10の出力のデジタル化された数値データX、Yをリアルタイムで変換し、変換結果のX’、Y’を位置検出部330に入力する。 The data holding unit 40 is a part that holds six or more sets of digital data x and y output from the instantaneous value detection unit 310 obtained by A / D converting the signals V x and V y , and includes a memory and a control unit. Error calculation unit 50, according to the following algorithm based on the six or more output holding the data holding unit 40, the V x offset, the offset of V y, gain and linear transformation correction value for correcting a phase difference A total of six correction values are calculated. The data conversion unit 60 converts the digitized numerical data X, Y output from the instantaneous value detection unit 10 in real time using the six correction values output from the error calculation unit 50, and converts the conversion results X ′, Y ′. Is input to the position detector 330.

以下、誤差演算部50の処理アルゴリズムを説明する。図1において、光学センサ303,304の出力は数1、数2   Hereinafter, a processing algorithm of the error calculation unit 50 will be described. In FIG. 1, the outputs of the optical sensors 303 and 304 are expressed by Equations 1 and 2.

Figure 2007327770
Figure 2007327770

Figure 2007327770
に示したように振幅誤差(V,V)、位相誤差(c,d)、直流オフセット(P,Q)などの誤差を含む2相正弦波信号である。
Figure 2007327770
As shown in FIG. 4, the two-phase sine wave signal includes errors such as amplitude error (V 1 , V 2 ), phase error (c, d), and DC offset (P, Q).

この2相正弦波信号V及びVはサンプルホールド回路311及び312、A/D変換器313,314によってデジタル化された数値データX、Yに変換される。X及びYは、それぞれ次の式のように表される。 The two-phase sine wave signals V x and V y are converted into digitized numerical data X and Y by sample and hold circuits 311 and 312 and A / D converters 313 and 314, respectively. X and Y are each expressed by the following equations.

Figure 2007327770
Figure 2007327770

Figure 2007327770
Figure 2007327770

この2相正弦波信号XおよびYは、図1の目盛り1個分を1周期(またはn周期)、すなわち2π[radian]とする正弦波であり、理想的な2相正弦波 X=cosθ 及び、Y=sinθに対して、
振幅

Figure 2007327770
位相誤差
Figure 2007327770
直流オフセット
Figure 2007327770
となる。 The two-phase sine wave signals X and Y are sine waves in which one scale of FIG. 1 is one period (or n period), that is, 2π [radian], and an ideal two-phase sine wave X = cos θ and , For Y = sin θ
amplitude
Figure 2007327770
Phase error
Figure 2007327770
DC offset
Figure 2007327770
It becomes.

これらの各誤差量は、このような位置検出装置において直接検出することは不可能であるので、2相正弦波信号A及びBの瞬時値の多数のペアからこれらの各誤差量

Figure 2007327770
を検出することを考える。 Since each of these error amounts cannot be directly detected by such a position detecting device, each of these error amounts is obtained from a large number of pairs of instantaneous values of the two-phase sinusoidal signals A and B.
Figure 2007327770
Think about detecting.

1からN(Nは6以上)個までのAD変換値の組を

Figure 2007327770
とする。nは1からNまでの任意の数である。そのそれぞれの組について
Figure 2007327770
を求める。入力V,Vは、ほぼ理想状態に調整できているため、
Figure 2007327770
と考えられる。 A set of AD conversion values from 1 to N (N is 6 or more)
Figure 2007327770
And n is an arbitrary number from 1 to N. About each pair
Figure 2007327770
Ask for. Since the inputs V x and V y can be adjusted to the ideal state,
Figure 2007327770
it is conceivable that.

この条件で上記誤差分をもとめる。たとえば、評価関数を数12、数13のように設定できる。   Under this condition, the above error is obtained. For example, the evaluation function can be set as in Expression 12 and Expression 13.

Figure 2007327770
Figure 2007327770

Figure 2007327770
Figure 2007327770

評価関数数12、数13を最小にする解は   The solution that minimizes the number of evaluation functions 12 and 13 is

Figure 2007327770
Figure 2007327770

Figure 2007327770
となり、連立1次方程式を解くことで求めることができる。
Figure 2007327770
And can be obtained by solving simultaneous linear equations.

したがって、

Figure 2007327770
の関係を利用することで、AD変換結果X、Y
Figure 2007327770
の変換を行えばよい。 Therefore,
Figure 2007327770
By using the relationship, the AD conversion results X n and Y n
Figure 2007327770
It is sufficient to perform the conversion.

ここで、
オフセット

Figure 2007327770
ゲイン
Figure 2007327770
フェイズ
Figure 2007327770
である。 here,
offset
Figure 2007327770
gain
Figure 2007327770
Phase
Figure 2007327770
It is.

Figure 2007327770
としたのは、Vを基準にすることにより、時間ごとに分けて補正を行ったときに、時間分割の継ぎ目で位置が不連続になるのを避けるためである。
Figure 2007327770
The reason for this is to avoid the discontinuity of positions at the time division seams when correction is performed for each time by using V x as a reference.

図1の誤差演算部50は、数14、数15に従い、X,YからX’、Y’に変換する係数を求める。データ変換部60は、数17の変換を行う部分である。   The error calculation unit 50 in FIG. 1 obtains coefficients for converting X and Y into X ′ and Y ′ according to the equations 14 and 15. The data converter 60 is a part that performs the conversion of Equation 17.

高速にリアルタイムに補正を行う場合は、誤差演算部50及びデータ変換部60をFPGAのようなLSIによりハードウェアで構築すればよい。   When correction is performed in real time at high speed, the error calculation unit 50 and the data conversion unit 60 may be constructed by hardware using an LSI such as an FPGA.

高速にリアルタイムに補正を行う必要がない場合は、データ保持部40および誤差演算部50をLSIと比べて安価なパソコン等のCPUを用いて、数14、数15をソフト処理により実現できる。通常、図9に示した3次元測定機には、モータ等を制御し、測定を行い、測定データを保持し、解析し、解析結果を表示するためのパソコン及びディスプレイが装備されている。データ保持部40、誤差演算部50を3次元測定装置に具備されたパソコンにて実施することで、追加ハードウェアなく本誤差演算部を実装することが可能となる。   When it is not necessary to perform correction in real time at high speed, the data holding unit 40 and the error calculation unit 50 can be realized by software processing using a CPU such as a personal computer that is less expensive than an LSI. Usually, the three-dimensional measuring machine shown in FIG. 9 is equipped with a personal computer and a display for controlling a motor and the like, performing measurement, holding measurement data, analyzing it, and displaying the analysis result. By implementing the data holding unit 40 and the error calculation unit 50 with a personal computer provided in the three-dimensional measuring apparatus, the error calculation unit can be implemented without additional hardware.

以上は、

Figure 2007327770
とし、入力V,Vは、ほぼ理想状態に調整できているため、
Figure 2007327770
と考え、一度の補正方式を例にあげた。 The above is
Figure 2007327770
And the inputs V x and V y can be adjusted to the ideal state.
Figure 2007327770
I took this as an example.

しかし、実際にはV、Vにも誤差があるため、上記の補正を複数回繰り返すことで高精度の補正とすることができる。具体的には、数17で変換したX’、Y’を測定データとして再度誤差をもとめ、再度補正をかけてやればよい。2回の補正を行った結果をX''、Y''とすると

Figure 2007327770
の変換を行えばよい。 However, since there are actually errors in V x and V y , high-precision correction can be performed by repeating the above correction a plurality of times. Specifically, X n ′ and Y n ′ converted in Expression 17 are used as measurement data to obtain an error again, and correction is performed again. If the result of two corrections is X ″, Y ″
Figure 2007327770
It is sufficient to perform the conversion.

1度目の変換と同様に
オフセット

Figure 2007327770
ゲイン
Figure 2007327770
フェイズ
Figure 2007327770
である。 Offset as in the first conversion
Figure 2007327770
gain
Figure 2007327770
Phase
Figure 2007327770
It is.

変換行列を

Figure 2007327770
とすると、
Figure 2007327770
となる。 Transformation matrix
Figure 2007327770
Then,
Figure 2007327770
It becomes.

同様に、2回のみでなく、3回以上の任意の十分な回数変換を行うこともできる。   Similarly, the conversion can be performed not only twice, but any sufficient number of times three or more times.

図2、3は、本補正方式によるデータ保持部40、誤差演算部50をパソコンに実装し、データ変換部60のみをハードウェアで実現し、補正パラメータを設定後はリアルタイムの出力を可能にした図9の3次元測定機により、被測定物387に平面度の保障された平面を設置して、測定した一例である。   2 and 3, the data holding unit 40 and the error calculation unit 50 according to the present correction method are mounted on a personal computer, only the data conversion unit 60 is realized by hardware, and real-time output is possible after setting correction parameters. FIG. 10 shows an example in which a plane with guaranteed flatness is set on the object to be measured 387 and measured by the three-dimensional measuring machine of FIG.

図2の測定結果は、図12と同様に傾き補正つきで1.2mm/秒にてY方向に測定した結果である。被測定物の設置条件は変えずに、本補正を実施して補正パラメータを設定した後、測定した場合であり、補正パラメータの設定前後に測定を行っている。先に説明したように、この測定時に被測定物は、Y方向に0.36μm/mmの傾きがあり、リサージュ1回転あたりが発振周波数安定化He−Neレーザの波長の半分、つまり約0.315μmにあたる。   The measurement result of FIG. 2 is the result of measurement in the Y direction at 1.2 mm / second with tilt correction as in FIG. This is the case where the measurement is performed after the correction is performed and the correction parameter is set without changing the installation condition of the object to be measured, and the measurement is performed before and after the correction parameter is set. As described above, during this measurement, the object to be measured has an inclination of 0.36 μm / mm in the Y direction, and one rotation of the Lissajous is half the wavelength of the oscillation frequency stabilized He-Ne laser, that is, about 0. It corresponds to 315 μm.

これに対し、補正前の図12の測定データは、
0.315[μm]/0.36[μm/mm]=0.875mm
ごとの約5nmの周期的誤差が補正前には確認できる。一方、図2の補正後の測定結果からは、発振周波数安定化He−Neレーザの波長に依存する0.875mmごとの誤差がなくなっている。なお、図12のデータにおいて、測定形状が若干異なるのは、2度測定(被測定物を動かさず)したためである。
On the other hand, the measurement data of FIG.
0.315 [μm] /0.36 [μm / mm] = 0.875 mm
A periodic error of about 5 nm can be confirmed before correction. On the other hand, from the measurement result after correction in FIG. 2, there is no error every 0.875 mm depending on the wavelength of the oscillation frequency stabilized He—Ne laser. In the data of FIG. 12, the measurement shape is slightly different because it was measured twice (without moving the object to be measured).

図3の×点は、図2の測定を行う直前に補正の実施に用いた図9のZ2位置検出器386−2の測定点である。図3において、円は参考のために表示した原点を中心とする円である。このデータは、Z2位置検出器386−2の補正機能をオペレータの意思により実施し、補正データを収集するときにオペレータが意図的に外乱を与えたものである。本3次元測定装置が完全に停止している場合は、測定データが0.01μm以下で安定しているため測定データがリサージュ面と比較して偏ってしまい、補正を行うことはできないが、外乱をあたえることで補正データに図3のような偏りはあるが補正を実施できる。収集した補正データには偏りがあるが、図3で見る限りオフセット誤差、ゲイン誤差、位相誤差が正しく補正されていることが確認できる。   The x point in FIG. 3 is a measurement point of the Z2 position detector 386-2 in FIG. 9 used for the correction immediately before the measurement in FIG. 2 is performed. In FIG. 3, the circle is a circle centered on the origin displayed for reference. In this data, the correction function of the Z2 position detector 386-2 is implemented by the operator's intention, and the operator intentionally gives disturbance when collecting the correction data. When the three-dimensional measuring apparatus is completely stopped, the measurement data is stable at 0.01 μm or less, and the measurement data is biased compared to the Lissajous surface and cannot be corrected. The correction data can be corrected although there is a deviation as shown in FIG. Although the collected correction data is biased, it can be confirmed that the offset error, gain error, and phase error are corrected correctly as seen in FIG.

また、補正精度を上げるため、補正データを収集するとき、ステージを前記位置検出器の正弦波1周期分以上かつ動作を検知できない幅以下動作させる方法もある。本測定機の場合、3μmほど動作させれば、Z1位置検出器386−1、X位置検出器386−X、Y位置検出器386−Yは確実に補正を行うことができる。3μmであれば、オペレータからみて装置動作の許容範囲内であり、測定の支障になることはない。   In order to improve the correction accuracy, there is a method in which when the correction data is collected, the stage is operated for one cycle or more of the sine wave of the position detector and within a width where the operation cannot be detected. In the case of this measuring machine, if it is operated by about 3 μm, the Z1 position detector 386-1, the X position detector 386-X, and the Y position detector 386-Y can reliably perform correction. If it is 3 micrometers, it is in the tolerance | permissible_range of apparatus operation | movement seeing from an operator, and does not become a trouble of a measurement.

また、3次元測定装置を立ち上げたとき最初に行う原点復帰動作と同期させて行い、より均一な測定データを得ることにより補正精度をあげることも可能である。位置検出器はインクリメンタルであり、電源投入直後は絶対位置を検出できないため、自動測定を行うためには別のセンサを用いてアクチュエータの絶対位置を検出することが必要である。この動作を原点復帰動作と呼んでいる。XYテーブル382の動作面は、X−Y基準面389と平行に調整されるが、XYテーブルの可動範囲数十mm角の範囲では、0.5μm以上の傾きが調整できず残るため、上記原点復帰中には十分な偏りのない補正データを収集することができる。   It is also possible to increase the correction accuracy by obtaining more uniform measurement data by synchronizing with the initial return operation performed when the three-dimensional measurement apparatus is started up. Since the position detector is incremental and cannot detect the absolute position immediately after the power is turned on, it is necessary to detect the absolute position of the actuator using another sensor in order to perform automatic measurement. This operation is called an origin return operation. The operation surface of the XY table 382 is adjusted in parallel with the XY reference surface 389, but in the range of several tens of mm square of the XY table, an inclination of 0.5 μm or more cannot be adjusted. Correction data without sufficient bias can be collected during return.

(第2実施の形態)
特開2000−283728号公報に開示の薄板材の厚み変動測定装置に、上記第1実施形態にかかる補正方式を適用した場合及び適用しなかった場合について測定し、その結果を比較する。測定方法は図4、図5に示すように、位置検出器120を用いて、薄板材Wの両側から測定することにより、薄板材の厚み変動を測定する方式である。図9の位置検出器と同様に測定用スケール設定手段384を用いて構成できる。しかも、薄板材の厚み変動測定装置は測定光路が非常に短いため、高精度の測定が可能である。
(Second Embodiment)
Measurement is performed for the case where the correction method according to the first embodiment is applied to the thin plate material thickness variation measuring apparatus disclosed in Japanese Patent Application Laid-Open No. 2000-283728, and the results are compared. As shown in FIGS. 4 and 5, the measurement method is a method of measuring the thickness variation of the thin plate material by measuring from both sides of the thin plate material W using the position detector 120. Similar to the position detector of FIG. 9, the measurement scale setting means 384 can be used. In addition, since the thin plate material thickness variation measuring apparatus has a very short measurement optical path, high-precision measurement is possible.

リアルタイムでの補正と測定結果が不要の場合には、V、Vを一度保存し、測定後に第1実施形態の補正処理を行い、測定データを変換することもできる。 When real-time correction and measurement results are unnecessary, V x and V y can be stored once, and the measurement data can be converted by performing the correction process of the first embodiment after the measurement.

図6A及び図6Bに本補正方式を適用した場合としなかった場合との実施結果を示す。図6Aは、センサZ1からの出力波形V1、V1、センサZ2からの出力波形V2、V2をV1、V2を横軸にV1、V2を縦軸表示(リサージュ波形)したものである。拡大リサージュ波形は

Figure 2007327770
Figure 2007327770
const=0.9として、Vmagを横軸、Vmagを縦軸にとり、リサージュ波形の歪分を拡大表示している。 FIG. 6A and FIG. 6B show the implementation results with and without applying this correction method. 6A shows the output waveforms V x 1 and V y 1 from the sensor Z1, the output waveforms V x 2 and V y 2 from the sensor Z2 as V x 1 and V x 2 as the horizontal axes as V y 1 and V y 2. Is displayed on the vertical axis (Lissajous waveform). Expanded Lissajous waveform
Figure 2007327770
Figure 2007327770
With k const = 0.9, V x mag is plotted on the horizontal axis and V y mag is plotted on the vertical axis, and the distortion of the Lissajous waveform is enlarged and displayed.

本方式による補正前は、非常に大きい歪をもっていることがわかるが、本方式による補正後は、ほとんど歪がわからなくなっている。   It can be seen that there is a very large distortion before the correction by this method, but the distortion is almost unknown after the correction by this method.

図7A及び図7Bは、125kHzのサンプリングのフィルタ処理なしの測定を、時間(測定時間0.2秒)横軸に、薄板材の同一場所の位置と厚さを縦軸に表示したものである。被測定物は薄板材であり、薄板材の厚み変動測定装置では被測定物の外周3点だけ保持する方式のため測定点を含む被測定物は測定中40〜50Hzで、1ミクロン前後振動している。補正前は薄板材の同一点を測定しているにもかかわらず、測定した被測定物の厚さは周波数1kHz以上、振幅8nmで高速に変動しているようにみえる。しかし、上記データを本方式による補正すると、1nm以下の精度で安定して測定できていることがわかる。この薄板材の厚み変動測定装置でも、測定用スケール手段の発振周波数安定化He−Neレーザの波長は約0.633μmであり、リサージュ一回転の距離は316.5nmであり、300分割以上の内挿精度があることが推測できる。   FIG. 7A and FIG. 7B show the measurement of 125 kHz sampling without filtering, with the time (measurement time 0.2 seconds) on the horizontal axis and the position and thickness of the same location of the thin plate on the vertical axis. . The object to be measured is a thin plate material, and the thin plate material thickness variation measuring device holds only 3 points on the outer periphery of the object to be measured, so the object to be measured including the measurement point vibrates around 1 micron at 40 to 50 Hz during measurement. ing. Although the same point of the thin plate material is measured before correction, the measured thickness of the object to be measured seems to fluctuate at a high speed with a frequency of 1 kHz or more and an amplitude of 8 nm. However, when the above data is corrected by this method, it can be seen that measurement can be stably performed with an accuracy of 1 nm or less. Also in this thin plate thickness variation measuring device, the wavelength of the oscillation frequency stabilized He-Ne laser of the measuring scale means is about 0.633 μm, the distance of one rotation of Lissajous is 316.5 nm, and within 300 divisions or more It can be inferred that there is an insertion accuracy.

なお、本発明は上記実施形態に限定されるものではなく、その他種々の態様で実施可能である。   In addition, this invention is not limited to the said embodiment, It can implement in another various aspect.

本発明のデジタルスケール出力信号補正装置は、位置検出の高精度化を可能にする機能を有し、従来の目盛の代わりに波長安定性の保証されたHe−Neレーザの干渉を応用した測長システムに適用し、位置検出器を使用する測定機の動作と同期させて補正を実施することにより測定装置の測定精度を高精度化することができる。   The digital scale output signal correction apparatus of the present invention has a function that enables high accuracy of position detection, and uses a He-Ne laser interference whose wavelength stability is guaranteed instead of a conventional scale. By applying the correction to the system in synchronization with the operation of the measuring machine using the position detector, the measurement accuracy of the measuring device can be increased.

本発明の第1実施形態1におけるデジタルスケール出力信号補正装置の概略構成を示す図。The figure which shows schematic structure of the digital scale output signal correction apparatus in 1st Embodiment of this invention. 図1のデジタルスケール出力信号補正装置を用いた測定結果の一例を示す図。The figure which shows an example of the measurement result using the digital scale output signal correction apparatus of FIG. 図1のデジタルスケール出力信号補正装置を用いた補正結果とリサージュ図形との比較を示す図。The figure which shows the comparison with the correction result and Lissajous figure using the digital scale output signal correction apparatus of FIG. 図1のデジタルスケール出力信号補正装置を搭載した測定装置の構成例を示す図。The figure which shows the structural example of the measuring apparatus carrying the digital scale output signal correction apparatus of FIG. 図4の測定装置の部分拡大図。The elements on larger scale of the measuring apparatus of FIG. 本補正方式を適用しなかった場合の実施結果を示すグラフ。The graph which shows the implementation result when not applying this correction method. 本補正方式を適用した場合の実施結果を示すグラフ。The graph which shows the implementation result at the time of applying this correction method. 本補正方式を適用しなかった場合の補正結果の一例を示す図。The figure which shows an example of the correction result at the time of not applying this correction system. 本補正方式を適用した場合の補正結果の一例を示す図。The figure which shows an example of the correction result at the time of applying this correction system. 従来のデジタルスケール出力信号補正装置の構成例を示す図。The figure which shows the structural example of the conventional digital scale output signal correction apparatus. 従来のプローブ走査型3次元測定機の構成図。The block diagram of the conventional probe scanning type three-dimensional measuring machine. リサージュ波形の一例であり、理想的に調整された状態を示す図。It is an example of a Lissajous waveform, and is a diagram showing an ideally adjusted state. リサージュ波形の一例であり、オフセットのみがずれた状態を示す図。It is an example of a Lissajous waveform, and is a figure which shows the state from which only the offset shifted | deviated. リサージュ波形の一例であり、ゲインのみがずれた状態を示す図。It is an example of a Lissajous waveform, and is a diagram showing a state in which only the gain is shifted. リサージュ波形の一例であり、位相のみがずれた状態を示す図。The figure which is an example of a Lissajous waveform, and shows the state from which only the phase shifted | deviated. 従来のハード調整による補正方法の構成図。The block diagram of the correction method by the conventional hardware adjustment. 従来の測定結果の一例を示す図。The figure which shows an example of the conventional measurement result. 従来の補正結果とリサージュ図形との比較を示す図。The figure which shows the comparison with the conventional correction result and a Lissajous figure. 従来のエンコーダ出力信号補正方式の説明図。Explanatory drawing of the conventional encoder output signal correction system. 従来の他のエンコーダ出力信号補正方式の説明図。Explanatory drawing of the other conventional encoder output signal correction system. 図14に示すエンコーダ出力信号補正方式の課題を説明する図。The figure explaining the subject of the encoder output signal correction system shown in FIG.

符号の説明Explanation of symbols

1 移動体
2 目盛
40 データ保持部
50 誤差演算部
60 データ変換部
303,304 光学センサ
310 瞬時値検出部
311,312 サンプルホールド回路
313,314 A/D変換器
320 位置上位桁検出回路
331 除算器
332 arctan部
340 データ保持部
350 誤差演算部
DESCRIPTION OF SYMBOLS 1 Mobile body 2 Scale 40 Data holding part 50 Error calculating part 60 Data conversion part 303,304 Optical sensor 310 Instantaneous value detection part 311,312 Sample hold circuit 313,314 A / D converter 320 Position high-order digit detection circuit 331 Divider 332 arctan unit 340 data holding unit 350 error calculation unit

Claims (4)

誤差を含むA相正弦波信号及び前記A相正弦波信号に対して位相差を有する誤差を含むB相正弦波信号を含むエンコーダ信号を入力し、前記誤差を補正した位置情報又は角度情報を出力するデジタルスケール出力信号補正装置であって、
A相正弦波信号がAD変換された前記A相正弦波信号値と、B相正弦波信号がAD変換されたB相正弦波信号値を記憶するデータ保持部と、
前記データ保持部に格納されている、前記A相正弦波信号値とB相正弦波信号値の瞬時値に関し、6個以上の複数のA相B相ペアを入力値とし、それぞれの入力値について、前記A相正弦波信号値のオフセット、前記B相正弦波信号値のオフセット、前記A相正弦波信号値と前記B相正弦波信号値の大きさ比、前記A相正弦波信号値と前記B相正弦波信号値の位相差を算出する誤差演算部と、
前記誤差演算部が算出した結果により前記A相B相ペアを補正するデータ変換部と、
データ変換部の出力を割り算する割算器と、
割算器からの出力のarctan値を出力するarctan部を有し、
前記誤差演算部は、(B相正弦波信号値/A相正弦波信号値)のarctan値をパラメータとし、
前記パラメータに対し前記A相正弦波信号値を正弦波に近似したときのA相オフセットとA相大きさとA相位相と、前記パラメータに対し前記B相正弦波信号値を正弦波に近似したときのB相オフセットとA相に対するB相大きさ誤差とA相に対するB相位相誤差とを演算することを特徴とする、デジタルスケール出力信号補正装置。
An A-phase sine wave signal including an error and an encoder signal including a B-phase sine wave signal including an error having a phase difference with respect to the A-phase sine wave signal are input, and position information or angle information corrected for the error is output. A digital scale output signal correcting device,
A data holding unit for storing the A-phase sine wave signal value obtained by AD-converting the A-phase sine wave signal and the B-phase sine wave signal value obtained by AD-converting the B-phase sine wave signal;
Regarding the instantaneous value of the A-phase sine wave signal value and the B-phase sine wave signal value stored in the data holding unit, six or more A-phase B-phase pairs are used as input values, and the respective input values , The offset of the A phase sine wave signal value, the offset of the B phase sine wave signal value, the magnitude ratio of the A phase sine wave signal value and the B phase sine wave signal value, the A phase sine wave signal value and the An error calculator that calculates the phase difference between the B-phase sine wave signal values;
A data converter that corrects the A-phase / B-phase pair based on the result calculated by the error calculator;
A divider for dividing the output of the data converter;
It has an arctan part that outputs the arctan value of the output from the divider,
The error calculation unit uses the arctan value of (B phase sine wave signal value / A phase sine wave signal value) as a parameter,
When the A phase sine wave signal value is approximated to a sine wave with respect to the parameter, and when the B phase sine wave signal value is approximated to a sine wave with respect to the parameter A digital scale output signal correction apparatus, comprising: calculating a B-phase offset of B, a B-phase magnitude error for A-phase, and a B-phase error for A-phase.
さらに、前記デジタルスケール出力信号補正装置において実行される補正回数設定入力部と、
補正後のデータを再度補正装置に入力する切り替え部と、
実際の補正回数と前記補正回数の設定部の設定数とを比較する制御部を具備し、
前記補正回数設定入力部によって指定された回数の補正を繰り返し行うことを特徴とする請求項1に記載のデジタルスケール出力信号補正装置。
Further, a correction number setting input unit executed in the digital scale output signal correction device,
A switching unit for inputting the corrected data again into the correction device;
A controller that compares the actual number of corrections and the number of corrections set in the setting unit;
2. The digital scale output signal correction apparatus according to claim 1, wherein the correction is repeatedly performed a number of times designated by the correction number setting input unit.
誤差を含むA相正弦波信号及び前記A相正弦波信号に対して位相差を有する誤差を含むB相正弦波信号を含むエンコーダ信号を入力し、前記誤差を補正した位置情報又は角度情報を出力するデジタルスケール出力信号補正方法であって、
A相正弦波信号がAD変換された前記A相正弦波信号値と、B相正弦波信号がAD変換されたB相正弦波信号値に関して、6個以上の複数のA相B相ペアを入力値とし、
それぞれの入力値について、前記A相正弦波信号値のオフセット、前記B相正弦波信号値のオフセット、前記A相正弦波信号値と前記B相正弦波信号値の大きさ比、前記A相正弦波信号値と前記B相正弦波信号値の位相差を算出し、
データ変換部の出力を割り算し、
割算器からの出力のarctan値を出力し、
(B相正弦波信号値/A相正弦波信号値)のarctan値をパラメータとし、
前記パラメータに対し前記A相正弦波信号値を正弦波に近似したときのA相オフセットとA相大きさとA相位相と、前記パラメータに対し前記B相正弦波信号値を正弦波に近似したときのB相オフセットとA相に対するB相大きさ誤差とA相に対するB相位相誤差とを演算することを特徴とする、デジタルスケール出力信号補正方法。
An A-phase sine wave signal including an error and an encoder signal including a B-phase sine wave signal including an error having a phase difference with respect to the A-phase sine wave signal are input, and position information or angle information corrected for the error is output. A digital scale output signal correction method
6 or more A phase B phase pairs are input for the A phase sine wave signal value obtained by AD conversion of the A phase sine wave signal and the B phase sine wave signal value obtained by AD conversion of the B phase sine wave signal. Value and
For each input value, the offset of the A phase sine wave signal value, the offset of the B phase sine wave signal value, the magnitude ratio of the A phase sine wave signal value and the B phase sine wave signal value, the A phase sine wave Calculating the phase difference between the wave signal value and the B-phase sine wave signal value,
Divide the output of the data converter,
Output the arctan value of the output from the divider,
With the arctan value of (B-phase sine wave signal value / A-phase sine wave signal value) as a parameter,
When the A phase sine wave signal value is approximated to a sine wave with respect to the parameter, and when the B phase sine wave signal value is approximated to a sine wave with respect to the parameter A digital scale output signal correction method, comprising: calculating a B phase offset of B, a B phase magnitude error for A phase, and a B phase error for A phase.
前記出力補正を行うとき、意図的に装置に外乱を与え、補正結果をより均一に取得することを特徴とする請求項3に記載のデジタルスケール出力信号補正方法。
4. The digital scale output signal correction method according to claim 3, wherein when performing the output correction, disturbance is intentionally given to the apparatus, and the correction result is obtained more uniformly.
JP2006157172A 2006-06-06 2006-06-06 Digital scale output signal correction apparatus and output signal correction method Active JP4979988B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006157172A JP4979988B2 (en) 2006-06-06 2006-06-06 Digital scale output signal correction apparatus and output signal correction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006157172A JP4979988B2 (en) 2006-06-06 2006-06-06 Digital scale output signal correction apparatus and output signal correction method

Publications (2)

Publication Number Publication Date
JP2007327770A true JP2007327770A (en) 2007-12-20
JP4979988B2 JP4979988B2 (en) 2012-07-18

Family

ID=38928342

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006157172A Active JP4979988B2 (en) 2006-06-06 2006-06-06 Digital scale output signal correction apparatus and output signal correction method

Country Status (1)

Country Link
JP (1) JP4979988B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011069816A (en) * 2009-09-22 2011-04-07 Gm Global Technology Operations Inc System and method for calibrating rotary absolute position sensor
WO2013136612A1 (en) * 2012-03-16 2013-09-19 三菱電機株式会社 Angle detection device
US8835832B2 (en) 2012-01-17 2014-09-16 Avago Technologies General Ip (Singapore) Pte. Ltd. Optical encoder with signal offset correction system
WO2018190019A1 (en) * 2017-04-13 2018-10-18 ソニー株式会社 Position detection device and position detection method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005127761A (en) * 2003-10-22 2005-05-19 Canon Inc Encoder signal processing apparatus
JP2006090741A (en) * 2004-09-21 2006-04-06 Mitsutoyo Corp Output signal correction apparatus and method of encoder

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005127761A (en) * 2003-10-22 2005-05-19 Canon Inc Encoder signal processing apparatus
JP2006090741A (en) * 2004-09-21 2006-04-06 Mitsutoyo Corp Output signal correction apparatus and method of encoder

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
US8835832B2 (en) 2012-01-17 2014-09-16 Avago Technologies General Ip (Singapore) Pte. Ltd. Optical encoder with signal offset correction system
WO2013136612A1 (en) * 2012-03-16 2013-09-19 三菱電機株式会社 Angle detection device
WO2018190019A1 (en) * 2017-04-13 2018-10-18 ソニー株式会社 Position detection device and position detection method
JPWO2018190019A1 (en) * 2017-04-13 2020-02-27 ソニー株式会社 Position detecting device and position detecting method
US10989568B2 (en) 2017-04-13 2021-04-27 Sony Corporation Position detection device and position detection method
JP7070556B2 (en) 2017-04-13 2022-05-18 ソニーグループ株式会社 Position detection device and position detection method

Also Published As

Publication number Publication date
JP4979988B2 (en) 2012-07-18

Similar Documents

Publication Publication Date Title
KR101519908B1 (en) Position Detector
JP5351639B2 (en) On-machine measuring method and measuring apparatus
JP5995589B2 (en) Correction value deriving device, displacement amount deriving device, control device, and correction value deriving method
JP2003254785A (en) Signal processor for encoder
TW200934093A (en) Displacement sensing method and motor control apparatus
Geckeler et al. New frontiers in angle metrology at the PTB
JP4979988B2 (en) Digital scale output signal correction apparatus and output signal correction method
Yandayan et al. Calibration of high-resolution electronic autocollimators with demanded low uncertainties using single reading head angle encoders
JP2003014440A (en) Position detector
JP2011075404A (en) Detection signal correction method and detection signal correction device of digital scale
US20130265586A1 (en) Interferometer with continuously varying number of wavelengths to the reference mirror
WO2018092416A1 (en) Rotary encoder signal processing device and rotary encoder signal processing method
CN103712553A (en) Interference method with phase method and vertical scanning method compatible
JP2022111803A (en) Calculation method for calculating position or angle of specimen, program, information processing apparatus, and system
JP5902891B2 (en) Encoder and calibration method
JP4223324B2 (en) Optical encoder
KR101361625B1 (en) Position Measuring Apparatus and Position Measuring Method
JP5743408B2 (en) Rotating body position measurement method
JP2002243501A (en) Automatic adjustment device for encoder output signal
JP5300831B2 (en) Mechanical angle measuring device
JP2002250639A (en) Absolute position detection encoder
JP2018128350A (en) Position detector, stage device, and shape measuring device
JP6719684B1 (en) Numerical control device
JP2005308547A (en) Encoder, its signal confirmation device, and signal confirmation program
Shih et al. Optimization of Phase-Locked-Loop Based Correction Method for Linear Magnetic Encoding Signals

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20081003

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090305

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110614

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110803

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110823

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111013

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: 20120410

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: 20120418

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

Free format text: PAYMENT UNTIL: 20150427

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4979988

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150