JP4291564B2 - Displacement measuring device - Google Patents

Displacement measuring device Download PDF

Info

Publication number
JP4291564B2
JP4291564B2 JP2002344235A JP2002344235A JP4291564B2 JP 4291564 B2 JP4291564 B2 JP 4291564B2 JP 2002344235 A JP2002344235 A JP 2002344235A JP 2002344235 A JP2002344235 A JP 2002344235A JP 4291564 B2 JP4291564 B2 JP 4291564B2
Authority
JP
Japan
Prior art keywords
signal
origin
phase
output
detection pattern
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
JP2002344235A
Other languages
Japanese (ja)
Other versions
JP2004177281A (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 JP2002344235A priority Critical patent/JP4291564B2/en
Publication of JP2004177281A publication Critical patent/JP2004177281A/en
Application granted granted Critical
Publication of JP4291564B2 publication Critical patent/JP4291564B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、光学式エンコーダ、磁気式エンコーダ、静電容量式エンコーダ、電磁誘導式エンコーダ、これらの方式を組み合わせたエンコーダ等の変位測定装置に関し、特に原点位置検出のバラツキを低減した変位測定装置に関する。
【0002】
被測定物の相対的移動量を測定するための変位測定装置、特にインクリメンタルタイプのエンコーダにおいては、メインスケールとこれに対向するインデックススケールとに原点を検出するための原点検出用パターンを形成しておき、電源投入時や任意の時点で、原点検出用パターンを検出し、その原点検出信号をトリガ信号としてゼロセットやプリセット等を行うようにしている。また、例えばアナログ出力型スケールでは、原点検出信号の出力タイミングを、計測用の主信号の特定の位相エリア内に収めるように、主信号の位相を調整可能にした変位測定装置も知られている(特許文献1)。即ち、この特許文献1に開示されたものは、主信号の特定の位相領域、例えば主信号が2相出力信号である場合、A相と、これより90°位相が進んだB相とが共に正となる位相領域で原点検出信号が出力されるように、主信号の位相を切替えるようにしている。
【0003】
【特許文献1】
特開2002−116060号公報(段落0026、図1)
【0004】
【発明が解決しようとする課題】
しかしながら、上述した従来の変位測定装置では、主信号の特定の位相領域と原点検出信号の出力タイミングとの同期は図っているものの、原点検出信号の出力タイミングが主信号の特定の位相領域内でばらつくことがある。このようなバラツキが生じる原因としては、次のようなものが挙げられる。
【0005】
▲1▼移動中のスケールの移動方向の動きの他に、モアレ、ギャップの変動、ローリング、ピッチング等の好ましくない挙動が含まれることから生じる検出器とスケールとの相対的のバラツキの影響。
▲2▼信号処理系の遅延により原点検出用パターンを通過する際の速度のバラツキから受ける影響。
▲3▼原点検出用パターンの検出信号を生成するためのアナログ源信号に含まれるノイズの影響。
【0006】
このような原点検出信号の出力タイミングのバラツキが生じると、得られる指示値(測定値)が原点検出のたびに異なってしまう。特に微細測定を可能にするため、主信号を高分割して最小読取り値をより細かくした変位測定装置では、原点検出信号の出力タイミングのバラツキが数カウント分の指示値のバラツキにつながるので、測定精度に大きな影響を与えてしまう。
【0007】
本発明は、上記の問題点に鑑みなされたもので、原点検出位置のバラツキを抑え、常に正確な測定値を得ることができる変位測定装置を提供することを目的とする。
【0008】
【課題を解決するための手段】
本発明に係る変位測定装置は、測定軸方向に延びる第1の変位検出用パターンと前記測定軸方向における原点位置を検出するための第1の原点検出用パターンとが形成されたメインスケールと、このメインスケールに対して前記測定軸方向に相対的に移動可能に配置されて前記第1の変位検出用パターン及び第1の原点検出用パターンにそれぞれ対応する位置に第2の変位検出用パターン及び第2の原点検出用パターンが形成されたインデックススケールと、前記メインスケールの第1の変位検出用パターンと前記インデックススケールの第2の変位検出用パターンとの前記測定軸方向の相対位置の変化に応じて位相が変化する主信号を出力する主信号出力回路と、前記メインスケールの第1の原点検出用パターンと前記インデックススケールの第2の原点検出用パターンとの対向状態に応じて内部原点信号を出力する内部原点信号出力回路と、前記外部原点信号出力回路は、前記主信号が前記所定の位相となったことを示す位相信号を生成すると共に、前記内部原点信号が出力されてから前記内部原点信号の出力タイミングのバラツキを吸収する所定のマージンを経た後に立ち上がる前記位相信号を外部原点信号として出力する外部原点信号出力回路とを備え、前記外部原点信号出力回路は更に、外部からの操作で前記出力される位相信号の位相を所定の位相に切替える切替手段を備えていることを特徴とする。
【0009】
本発明によれば、メインスケールの第1の原点検出用パターンとインデックススケールの第2の原点検出用パターンとの対向状態に応じて出力される原点信号を内部原点信号とし、この内部原点信号が出力されてから前記内部原点信号の出力タイミングのバラツキを吸収する所定のマージンを経た後に主信号が所定の位相となったタイミングで外部原点信号を測定の基準となる原点信号として出力するようにしているので、原点検出用パターンにより出力される内部原点信号の出力タイミングがばらついても、測定の基準となる原点信号の出力タイミングは、主信号に対してばらつくことが無く、常に高精度な変位測定が可能になる。また、
前記外部原点信号出力回路は更に、外部からの操作で前記出力される位相信号の位相を切替える切替手段を備えており、これにより、内部原点信号の出力タイミングのバラツキを考慮して、主信号の最も適切な位相を選択することができる。
【0010】
外部原点信号出力回路は、例えば内部原点信号出力回路から内部原点信号が出力されてからその直後に出力される位相信号の出力が終了するまでの間だけアクティブになるゲート信号を出力するゲート信号出力回路と、位相信号の出力を前記ゲート信号がアクティブの間だけ通過させるゲート回路とを備えて構成することができる。
【0011】
【発明の実施の形態】
以下、本発明の実施の形態を、図面に基づいて説明する。
図1は、本発明に係る変位測定装置を光学式エンコーダに適用した一実施形態を示す図で、特に検出系の構成を示す斜視図である。
図1に示すように、本光学式エンコーダの検出系は、測定軸A方向に延びるメインスケール11と、このメインスケール11に微小ギャップを介して対向配置されメインスケール11に対して測定軸A方向に相対移動可能なインデックススケール12と、これらメインスケール11及びインデックススケール12を挟んで対向配置された発光素子10及び受光部13,14とを備えている。
【0012】
メインスケール11は、ガラススケール上に測定軸A方向の移動量を検出するための測定軸A方向に延びる第1の光学格子11Gと、原点位置を検出するための第1の原点検出用光学格子11Zとをパターン形成してなるものである。
インデックススケール12は、ガラススケールの第1の光学格子11Gと対向する面に第2の光学格子12A,12B,12A´,12B´を形成し、第1の原点検出用光学格子11Zと対向し得る面に第2の原点検出用光学格子12Zを形成してなるものである。
【0013】
第1の光学格子11及び第2の光学格子12A,12B,12A´,12B´は、いずれも格子ピッチがpである。第2の光学格子12A,12B,12A´,12B´は、第1の光学格子11との間の空間位相が、互いに90°ずつずれるような位相関係でそれぞれ形成されている。
【0014】
受光部13は、4つの受光素子13A,13B,13A´,13B´から構成されている。これら4つの受光素子13A,13B,13A´,13B´は、それぞれ前述の光学格子12A,12B,12A´,12B´と対向する位置に配置されている。メインスケール11とインデックススケール12とが測定軸A方向に相対的に移動することにより、受光素子13A,13B,13A´,13B´には、格子ピッチpと同じ周期で明暗が変化する光が受光される。これにより、受光素子13A,13Bからは互いに90°位相の異なる正弦波状の検出信号A,Bが出力される。同様に受光素子13A´,13B´からも、互いに90°位相の異なる正弦波状の検出信号−A,−Bが出力される。検出信号A,−A、検出信号B,−Bは、それぞれ互いに180°位相がずれた信号となる。
【0015】
受光部14は、原点検出用光学格子11Z,12Zにより規定される原点位置を検出するためのものであり、ランダムパターンにより構成されている。これにより、例えば図4に示すように、メインスケール11とインデックススケール12とが相対移動して原点検出用光学格子11Z,12Zが完全に重なった位置で鋭く立ち下がる原点原信号φZが得られる。
【0016】
図2は、このような検出系の受光部13,14からの検出信号A,−A,B,−B及び原点原信号φZを処理する信号処理回路20を示す。この信号処理回路20は、合成回路21、内挿分割回路22、内部原点信号生成回路23、ゲート信号出力回路24及び位相指定回路25を備えて構成されている。
【0017】
合成回路21は、主信号出力回路を構成するもので、同相ノイズ除去のため、180°位相の異なる検出信号A,−Aを合成して図3(a)に示すようなA相信号φA(主信号)を生成すると共に、180°位相の異なる検出信号B,−Bを合成して図3(b)に示すようなB相信号φB(主信号)を生成する。
【0018】
内挿分割回路22は、A相信号φAとB相信号φBの周期を所定数分割した方形波信号を出力するものである。ここでは、A相信号φAとB相信号φBの周期をそれぞれ100分割した2相方形波信号D100A,D100B、A相信号φAの周期を2分割した方形波信号D2(図3(c)参照)及びA相信号φAの周期を4分割した方形波信号D4(図3(d)参照)をそれぞれ生成し出力するものである。
【0019】
なお、ここで2分割、4分割というのは一例であり、例えば2分割と5分割の信号の組合せとすることも可能である。要は、A相信号φA、B相信号φBの周期と同一周期の低分割信号と、この低分割信号とエンコーダの移動量を測定するための2相方形波信号(D100A,D100B等)との中間の分割数の分割信号(中分割信号)とを用意すれば良い。
2相方形波信号D100A,D100Bは、図示しない計数回路に出力され、この計数回路よりメインスケール11の移動量が出力される。
【0020】
内部原点信号生成回路23は、図4に示すように、原点原信号φZを所定の基準レベルでスライスし、図3(b)に示すようなパルス状の内部原点信号Ziを出力する。この内部原点信号Ziは、図3(b)に矢印及び点線で示すように、前述の様々な要因により出現位置にバラツキが生じるものである。
【0021】
ゲート信号出力回路24は、ゲート信号Gを出力するもので、図3(f)に示すように、内部原点信号Ziの立ち上がりを検出してゲート信号Gを立上げ、方形波信号D4の立下りを解除信号Rとしてゲート信号Gを立ち下げる。
【0022】
位相指定回路25は、複数の方形波信号D2,D4を論理演算して主信号であるA相信号φAの特定の位相タイミングで出力される位相信号を生成すると共に、この位相信号をゲート信号Gに応じて外部原点信号として出力する外部原点信号出力回路を構成する。方形波信号D2と、これをインバータINV1によって反転した信号のいずれか一つがスイッチSW1により選択され、選択された出力信号D2´がAND回路26に供給される。同様に、方形波信号D4と、これをインバータINV2によって反転した信号のいずれか一つがスイッチSW2により選択され、選択された出力信号D4´がAND回路26に供給される。AND回路26は、出力信号D2´,D4´を論理積してゲート回路27に出力する。この様子は図3(c)〜(e)に示されている。スイッチSW1,SW2を切替えて、AND回路26に与えられる2分割及び4分割の方形波信号D2,D4とその反転信号との組合せを変える事により、AND回路26から出力される位相信号の位相を適宜切替えることができる。ここでスイッチSW1,SW2は切替え手段を構成し、インバータINV1,INV2、スイッチSW1,SW2及びAND回路26が位相信号出力回路を構成している。また、ゲート信号出力回路24と位相指定回路25とで外部原点信号出力回路が構成されている。
【0023】
スイッチSW1,SW2の切替えは、図3(b)に示す内部原点信号Ziの出現位置とそのバラツキを考慮してユーザが適宜切替えるものとする。例えばスイッチSW1,SW2により、図5に示すように、方形波信号D2の反転信号と方形波信号D4の非反転信号の論理積(−D2 AND D4)や、両方形波D2,D4の非反転信号同士の論理積(D2 AND D4)等を適宜AND回路26の出力(位相信号)として選択することもできる。
【0024】
しかし、内部原点信号Ziの立ち上がりが図5に示すような位置である場合には、論理積信号(−D2 AND D4)を位相信号として選択すると、図中点線で示す内部原点信号Ziの出現位置のバラツキにより、外部原点信号Zoが図中31の位置で出現したり、32の位置で出現したりするので、主信号であるA相信号φA又はB相信号φBの1周期分の誤差が生じることになる。従って、内部原点信号Ziの立ち上がりから、その位置のバラツキ分を吸収する所定のマージン(例えばAB間の距離)を経た後に立ち上がる論理積信号(D2 AND D4)を位相信号として選択するようにスイッチSW1,SW2を切替えることが必要である。
【0025】
なお、スイッチSW1,SW2の選択は、出荷調整時に手動で行うこともできるが、初期化処理時に内部原点信号Ziの出現位置と各位相信号の出現位置の間の時間を測定し、例えば前述した所定のマージン以上で最も早く立ち上がる位相信号を最適な位相信号として選択するようにプログラムされた制御手段により自動選択するようにしても良い。
【0026】
ゲート回路27は、ゲート信号出力回路24からのゲート信号G(図3(f)参照)が立ち上がった後にAND回路25から出力される位相信号を外部原点信号Zo(図3(g)参照)として外部に出力するとともに、AND回路26からの位相信号の次の立下りを検出して、解除信号Rをゲート信号出力回路24に出力する。ゲート信号出力回路24は、この解除信号Rを受けると、ゲート信号Gの出力を中止するとともに、内部原点信号Ziのラッチを解除する。これにより、外部原点信号Zoの出力は、内部原点信号Ziの一度の出力で一回だけ出力されることになる。
【0027】
次に、以上のように構成された光学式エンコーダの作用を説明する。
まず、ゼロセット又はプリセットを行うため、メインスケール11とインデックススケール12の相対位置を初期位置(ホームポジション)に移動させた後、予め決められた方向にメインスケール11とインデックススケール12とを相対移動させる。この過程で、メインスケール11に形成された第1の原点検出用光学格子11Zと、インデックススケール12に形成された第2の原点検出用光学格子12Zの位置が一致するので、そのタイミングで受光部14からは原点原信号φZが出力される。これにより、内部原点信号生成回路23からは内部原点信号Ziが出力される。この内部原点信号Ziがゲート信号出力回路24にラッチされるので、ゲート信号Gが立ち上がる。
【0028】
いま、内部原点信号Ziと主信号との位相関係が、図3に示すような関係であるとすると、内部原点信号Ziの立ち上がりの後、主信号であるA相信号φAの270°の位相のタイミングで外部原点信号Zoが出力される。この外部原点信号Zoにより、図示しない計数回路がリセット又はプリセットされ、内挿分割回路22からの100分割出力D100A,D100Bを計数回路がカウントすることで、被測定物の変位を測定する。外部原点信号Zoの出力タイミングは主信号に対してずれることはないので、常に同じ位置を原点とした正確な測定が可能になる。
【0029】
なお、上述した実施の形態では、光学式エンコーダを一例として本発明を説明したが、本発明のような原点検出方式は、特に光学式エンコーダに限定されるものではなく、磁気式エンコーダ、静電容量式エンコーダ、電磁誘導式エンコーダ等、他の検出方式の変位測定装置にも同様に適用可能である。
【0030】
【発明の効果】
以上述べたように、本発明に係る変位測定装置によれば、メインスケールの第1の原点検出用パターンとインデックススケールの第2の原点検出用パターンとの対向状態に応じて出力される原点信号を内部原点信号とし、この内部原点信号が出力されてから前記内部原点信号の出力タイミングのバラツキを吸収する所定のマージンを経た後に主信号が所定の位相となったタイミングで外部原点信号を測定の基準となる原点信号として出力するようにしているので、原点検出用パターンにより出力される内部原点信号の出力タイミングがばらついても、測定の基準となる原点信号の出力タイミングは、主信号に対してばらつくことが無く、常に高精度な変位測定が可能になる。
【図面の簡単な説明】
【図1】 本発明の実施の形態に係る光学式エンコーダの構成を示す斜視図である。
【図2】 図1に示す受光部13,14からの検出信号を処理する信号処理回路20の構成を示す。
【図3】 信号処理回路20に入力または信号処理回路20により生成される信号を示すタイミングチャートである。
【図4】 図1に示す受光部14の検出信号の処理を説明するための概念図である。
【図5】 図2に示すAND回路26の出力信号の選択方法を説明するための図である。
【符号の説明】
10…発光素子、11…メインスケール、11G…第1の光学格子、11Z…第1の原点検出用光学格子、12…インデックススケール、12A,12B,12A´,12B´…第2の光学格子、12Z…第2の原点検出用光学格子、13,14…受光部、13A,13B,13A´,13B´…受光素子、20…信号処理回路、21…合成回路、22…内挿分割回路、23…内部原点信号生成回路、24…ゲート信号出力回路、25…位相指定回路、26…AND回路、27…ゲート回路。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an optical encoder, a magnetic encoder, a capacitance encoder, an electromagnetic induction encoder, a displacement measuring device such as an encoder combining these methods, and more particularly to a displacement measuring device with reduced variation in origin position detection. .
[0002]
In a displacement measuring device for measuring the relative movement of the object to be measured, especially an incremental type encoder, an origin detection pattern for detecting the origin is formed on the main scale and the index scale opposite to the main scale. In addition, when the power is turned on or at an arbitrary time, the origin detection pattern is detected, and the origin detection signal is used as a trigger signal to perform zero setting or presetting. In addition, for example, in an analog output type scale, a displacement measuring device is also known in which the phase of the main signal can be adjusted so that the output timing of the origin detection signal falls within a specific phase area of the main signal for measurement. (Patent Document 1). That is, the one disclosed in Patent Document 1 is that a specific phase region of the main signal, for example, when the main signal is a two-phase output signal, both the A phase and the B phase advanced by 90 ° from this phase. The phase of the main signal is switched so that the origin detection signal is output in the positive phase region.
[0003]
[Patent Document 1]
JP 2002-1116060 A (paragraph 0026, FIG. 1)
[0004]
[Problems to be solved by the invention]
However, in the conventional displacement measuring apparatus described above, although the specific phase region of the main signal and the output timing of the origin detection signal are synchronized, the output timing of the origin detection signal is within the specific phase region of the main signal. May vary. The following causes can be cited as causes of such variations.
[0005]
(1) Influence of relative variation between the detector and the scale resulting from the inclusion of undesirable behavior such as moire, gap fluctuation, rolling, and pitching in addition to the movement of the scale during movement.
(2) Influence of speed variation when passing through the origin detection pattern due to delay in the signal processing system.
(3) Influence of noise included in the analog source signal for generating the detection signal of the origin detection pattern.
[0006]
When such variation in the output timing of the origin detection signal occurs, the obtained instruction value (measured value) differs every time the origin is detected. In particular, in a displacement measuring device that divides the main signal into high resolutions to make the minimum reading finer to enable fine measurement, variation in the output timing of the origin detection signal leads to variation in the indicated value for several counts. The accuracy will be greatly affected.
[0007]
The present invention has been made in view of the above-described problems, and an object of the present invention is to provide a displacement measuring device that can suppress variations in the origin detection position and can always obtain accurate measurement values.
[0008]
[Means for Solving the Problems]
The displacement measuring apparatus according to the present invention includes a main scale on which a first displacement detection pattern extending in the measurement axis direction and a first origin detection pattern for detecting an origin position in the measurement axis direction are formed; The second displacement detection pattern and the second displacement detection pattern are arranged at positions corresponding to the first displacement detection pattern and the first origin detection pattern, respectively, so as to be movable relative to the main scale in the measurement axis direction. Changes in relative positions in the measurement axis direction of the index scale on which the second origin detection pattern is formed, the first displacement detection pattern of the main scale, and the second displacement detection pattern of the index scale. A main signal output circuit that outputs a main signal whose phase changes in response to the main scale, a first origin detection pattern of the main scale, and the index scale. And internal origin signal output circuit for outputting the internal origin signal in response to the opposite state between the second reference point detection pattern of the external origin signal output circuit indicates that the main signal becomes the predetermined phase An external origin signal output circuit that generates a phase signal and outputs the phase signal that rises after a predetermined margin that absorbs variations in the output timing of the internal origin signal after the internal origin signal is output as an external origin signal The external origin signal output circuit further comprises switching means for switching the phase of the output phase signal to a predetermined phase by an external operation .
[0009]
According to the present invention, the origin signal output according to the opposed state of the first origin detection pattern of the main scale and the second origin detection pattern of the index scale is used as the internal origin signal, and this internal origin signal is An external origin signal is output as an origin signal that serves as a measurement reference at a timing when the main signal has a prescribed phase after a predetermined margin that absorbs variations in the output timing of the internal origin signal after being output. Therefore, even if the output timing of the internal origin signal output by the origin detection pattern varies, the output timing of the origin signal, which is the reference for measurement, does not vary with respect to the main signal, and always provides highly accurate displacement measurement. Is possible. Also,
The external origin signal output circuit further includes switching means for switching the phase of the output phase signal by an operation from the outside, thereby taking into account variations in the output timing of the internal origin signal, The most appropriate phase can be selected.
[0010]
External origin signal output circuit has a gate output of the phase signal internal origin signal is outputted immediately after the output from the field in the portion origin signal output circuit even outputs a gate signal which becomes active only until completed a signal output circuit, the gate signal output of the phase device signals is able to configure a gate circuit to pass only during active.
[0011]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a diagram showing an embodiment in which a displacement measuring apparatus according to the present invention is applied to an optical encoder, and is a perspective view showing a configuration of a detection system in particular.
As shown in FIG. 1, the detection system of the optical encoder includes a main scale 11 extending in the measurement axis A direction, and opposed to the main scale 11 via a minute gap. The index scale 12 is relatively movable, and the light emitting element 10 and the light receiving portions 13 and 14 are disposed to face each other with the main scale 11 and the index scale 12 interposed therebetween.
[0012]
The main scale 11 includes a first optical grating 11G extending in the measurement axis A direction for detecting a movement amount in the measurement axis A direction on the glass scale, and a first origin detection optical grating for detecting the origin position. 11Z is formed as a pattern.
The index scale 12 can form the second optical gratings 12A, 12B, 12A ′, and 12B ′ on the surface of the glass scale that faces the first optical grating 11G, and can face the first origin detection optical grating 11Z. A second origin detection optical grating 12Z is formed on the surface.
[0013]
The first optical grating 11 and the second optical gratings 12A, 12B, 12A ′, 12B ′ all have a grating pitch p. The second optical gratings 12A, 12B, 12A ′, and 12B ′ are respectively formed in a phase relationship such that the spatial phase with the first optical grating 11 is shifted by 90 ° from each other.
[0014]
The light receiving unit 13 includes four light receiving elements 13A, 13B, 13A ′, and 13B ′. These four light receiving elements 13A, 13B, 13A ′, and 13B ′ are disposed at positions facing the optical gratings 12A, 12B, 12A ′, and 12B ′, respectively. As the main scale 11 and the index scale 12 move relative to each other in the direction of the measurement axis A, the light receiving elements 13A, 13B, 13A ′, and 13B ′ receive light whose brightness changes with the same period as the grating pitch p. Is done. As a result, the light receiving elements 13A and 13B output sinusoidal detection signals A and B having a phase difference of 90 ° from each other. Similarly, the light receiving elements 13A ′ and 13B ′ output sinusoidal detection signals −A and −B having 90 ° phases different from each other. The detection signals A and -A and the detection signals B and -B are signals that are 180 degrees out of phase with each other.
[0015]
The light receiving unit 14 is for detecting an origin position defined by the origin detection optical gratings 11Z and 12Z, and is configured by a random pattern. As a result, as shown in FIG. 4, for example, an original origin signal φZ that sharply falls at a position where the main scale 11 and the index scale 12 are relatively moved and the origin detection optical gratings 11Z and 12Z completely overlap each other is obtained.
[0016]
FIG. 2 shows a signal processing circuit 20 that processes the detection signals A, -A, B, -B and the origin original signal φZ from the light receiving units 13, 14 of such a detection system. The signal processing circuit 20 includes a synthesis circuit 21, an interpolation / division circuit 22, an internal origin signal generation circuit 23, a gate signal output circuit 24, and a phase designation circuit 25.
[0017]
The synthesizing circuit 21 constitutes a main signal output circuit. In order to remove in-phase noise, the synthesizing circuit 21 synthesizes the detection signals A and -A having different phases by 180 ° to synthesize an A phase signal φA (as shown in FIG. Main signal) and detection signals B and -B having different phases by 180 ° are combined to generate a B-phase signal φB (main signal) as shown in FIG.
[0018]
The interpolation division circuit 22 outputs a square wave signal obtained by dividing a period of the A phase signal φA and the B phase signal φB by a predetermined number. Here, two-phase square wave signals D 100A and D 100B obtained by dividing the periods of the A-phase signal φA and the B-phase signal φB by 100, respectively, and a square-wave signal D 2 obtained by dividing the period of the A-phase signal φA by two (FIG. 3 (c )) And a square wave signal D 4 (see FIG. 3 (d)) obtained by dividing the period of the A-phase signal φA by four.
[0019]
Here, the 2-division and 4-division are examples, and for example, a combination of 2-division and 5-division signals is also possible. In short, a low-division signal having the same period as that of the A-phase signal φA and B-phase signal φB, and a two-phase square wave signal (D 100A , D 100B, etc.) And a division signal (medium division signal) having an intermediate division number.
The two-phase square wave signals D 100A and D 100B are output to a counter circuit (not shown), and the movement amount of the main scale 11 is output from the counter circuit.
[0020]
As shown in FIG. 4, the internal origin signal generation circuit 23 slices the original origin signal φZ at a predetermined reference level and outputs a pulsed internal origin signal Zi as shown in FIG. The internal origin signal Zi has a variation in the appearance position due to the various factors described above, as indicated by arrows and dotted lines in FIG.
[0021]
The gate signal output circuit 24 outputs a gate signal G. As shown in FIG. 3F, the gate signal output circuit 24 detects the rise of the internal origin signal Zi, raises the gate signal G, and sets the square wave signal D 4 . The gate signal G is caused to fall with the down signal as a release signal R.
[0022]
The phase specifying circuit 25 performs a logical operation on the plurality of square wave signals D 2 and D 4 to generate a phase signal output at a specific phase timing of the A-phase signal φA that is the main signal, and gates this phase signal. An external origin signal output circuit that outputs an external origin signal in response to the signal G is configured. One of the square wave signal D 2 and a signal obtained by inverting the square wave signal D 2 by the inverter INV 1 is selected by the switch SW 1, and the selected output signal D 2 ′ is supplied to the AND circuit 26. Similarly, one of the square wave signal D 4 and a signal obtained by inverting the square wave signal D 4 by the inverter INV 2 is selected by the switch SW 2, and the selected output signal D 4 ′ is supplied to the AND circuit 26. The AND circuit 26 ANDs the output signals D 2 ′ and D 4 ′ and outputs the result to the gate circuit 27. This is shown in FIGS. 3C to 3E. The phase signal output from the AND circuit 26 is changed by switching the switches SW1 and SW2 and changing the combination of the 2-divided and 4-divided square wave signals D 2 and D 4 applied to the AND circuit 26 and their inverted signals. The phase can be switched as appropriate. Here, the switches SW1 and SW2 constitute switching means, and the inverters INV1 and INV2, the switches SW1 and SW2 and the AND circuit 26 constitute a phase signal output circuit. The gate signal output circuit 24 and the phase specifying circuit 25 constitute an external origin signal output circuit.
[0023]
The switches SW1 and SW2 are switched appropriately by the user in consideration of the appearance position and variation of the internal origin signal Zi shown in FIG. For example by switches SW1, SW2, as shown in FIG. 5, the logical product of the inverted signal and the non-inverted signal of the square wave signal D 4 of the square wave signal D 2 (-D 2 AND D 4 ) and, both square wave D 2 , D 4 non-inverted signals and the logical product (D 2 AND D 4 ) can be appropriately selected as the output (phase signal) of the AND circuit 26.
[0024]
However, when the rising edge of the internal origin signal Zi is at the position shown in FIG. 5, if the logical product signal (−D 2 AND D 4 ) is selected as the phase signal, the internal origin signal Zi indicated by the dotted line in the figure The external origin signal Zo appears at the position 31 in the figure or appears at the position 32 due to variations in the appearance position, so that an error corresponding to one cycle of the A-phase signal φA or the B-phase signal φB that is the main signal. Will occur. Accordingly, a logical product signal (D 2 AND D 4 ) that rises after a predetermined margin (for example, a distance between AB) from the rising edge of the internal origin signal Zi after absorbing a variation in the position is selected as a phase signal. It is necessary to switch the switches SW1 and SW2.
[0025]
The selection of the switches SW1 and SW2 can be performed manually at the time of shipment adjustment. However, the time between the appearance position of the internal origin signal Zi and the appearance position of each phase signal is measured during the initialization process. The phase signal that rises earliest at a predetermined margin or more may be automatically selected by a control means that is programmed to select the optimum phase signal.
[0026]
The gate circuit 27 uses the phase signal output from the AND circuit 25 after the gate signal G (see FIG. 3F) from the gate signal output circuit 24 rises as the external origin signal Zo (see FIG. 3G). While outputting to the outside, the next falling of the phase signal from the AND circuit 26 is detected, and the release signal R is output to the gate signal output circuit 24. When receiving the release signal R, the gate signal output circuit 24 stops the output of the gate signal G and releases the latch of the internal origin signal Zi. As a result, the output of the external origin signal Zo is output only once with one output of the internal origin signal Zi.
[0027]
Next, the operation of the optical encoder configured as described above will be described.
First, in order to perform zero setting or presetting, the relative position of the main scale 11 and the index scale 12 is moved in the predetermined direction after the relative position of the main scale 11 and the index scale 12 is moved to the initial position (home position). Let In this process, the positions of the first origin detection optical grating 11Z formed on the main scale 11 and the second origin detection optical grating 12Z formed on the index scale 12 coincide with each other. 14 outputs an original origin signal φZ. As a result, the internal origin signal generation circuit 23 outputs the internal origin signal Zi. Since the internal origin signal Zi is latched by the gate signal output circuit 24, the gate signal G rises.
[0028]
Now, assuming that the phase relationship between the internal origin signal Zi and the main signal is as shown in FIG. 3, after the rising of the internal origin signal Zi, the phase of the 270 ° phase of the A phase signal φA, which is the main signal, is increased. The external origin signal Zo is output at the timing. The counting circuit (not shown) is reset or preset by the external origin signal Zo, and the counting circuit counts the 100-divided outputs D 100A and D 100B from the interpolation dividing circuit 22, thereby measuring the displacement of the object to be measured. Since the output timing of the external origin signal Zo does not deviate from the main signal, accurate measurement with the same position as the origin is always possible.
[0029]
In the above-described embodiment, the present invention has been described by taking an optical encoder as an example. However, the origin detection method as in the present invention is not particularly limited to an optical encoder, and a magnetic encoder, electrostatic The present invention can be similarly applied to displacement detection devices of other detection methods such as a capacitive encoder and an electromagnetic induction encoder.
[0030]
【The invention's effect】
As described above, according to the displacement measuring apparatus of the present invention, the origin signal output according to the facing state of the first origin detection pattern of the main scale and the second origin detection pattern of the index scale. Is used as the internal origin signal, and after the internal origin signal is output, the external origin signal is measured at the timing when the main signal becomes a predetermined phase after passing through a predetermined margin that absorbs variations in the output timing of the internal origin signal. Since it is output as a reference origin signal, even if the output timing of the internal origin signal output by the origin detection pattern varies, the output timing of the origin signal as the measurement reference is Dispersion does not occur, and highly accurate displacement measurement is always possible.
[Brief description of the drawings]
FIG. 1 is a perspective view showing a configuration of an optical encoder according to an embodiment of the present invention.
2 shows a configuration of a signal processing circuit 20 that processes detection signals from the light receiving units 13 and 14 shown in FIG.
FIG. 3 is a timing chart showing signals input to the signal processing circuit 20 or generated by the signal processing circuit 20;
4 is a conceptual diagram for explaining processing of a detection signal of a light receiving unit 14 shown in FIG.
5 is a diagram for explaining a method for selecting an output signal of an AND circuit 26 shown in FIG. 2; FIG.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 10 ... Light emitting element, 11 ... Main scale, 11G ... 1st optical grating, 11Z ... 1st origin detection optical grating, 12 ... Index scale, 12A, 12B, 12A ', 12B' ... 2nd optical grating, 12Z... Second origin detecting optical grating, 13, 14... Light receiving portion, 13A, 13B, 13A ', 13B'... Light receiving element, 20 ... Signal processing circuit, 21 ... Synthesis circuit, 22 ... Interpolation division circuit, 23 ... internal origin signal generation circuit, 24 ... gate signal output circuit, 25 ... phase designation circuit, 26 ... AND circuit, 27 ... gate circuit.

Claims (4)

測定軸方向に延びる第1の変位検出用パターンと前記測定軸方向における原点位置を検出するための第1の原点検出用パターンとが形成されたメインスケールと、
このメインスケールに対して前記測定軸方向に相対的に移動可能に配置されて前記第1の変位検出用パターン及び第1の原点検出用パターンにそれぞれ対応する位置に第2の変位検出用パターン及び第2の原点検出用パターンが形成されたインデックススケールと、
前記メインスケールの第1の変位検出用パターンと前記インデックススケールの第2の変位検出用パターンとの前記測定軸方向の相対位置の変化に応じて位相が変化する主信号を出力する主信号出力回路と、
前記メインスケールの第1の原点検出用パターンと前記インデックススケールの第2の原点検出用パターンとの対向状態に応じて内部原点信号を出力する内部原点信号出力回路と、
前記主信号が前記所定の位相となったことを示す位相信号を生成すると共に、前記内部原点信号が出力されてから前記内部原点信号の出力タイミングのバラツキを吸収する所定のマージンを経た後に立ち上がる前記位相信号を外部原点信号として出力する外部原点信号出力回路と
を備え、
前記外部原点信号出力回路は更に、外部からの操作で前記出力される位相信号の位相を所定の位相に切替える切替手段を備えている
ことを特徴とする変位測定装置。
A main scale formed with a first displacement detection pattern extending in the measurement axis direction and a first origin detection pattern for detecting the origin position in the measurement axis direction;
The second displacement detection pattern and the second displacement detection pattern are arranged at positions corresponding to the first displacement detection pattern and the first origin detection pattern, respectively, so as to be movable relative to the main scale in the measurement axis direction. An index scale on which a second origin detection pattern is formed;
A main signal output circuit that outputs a main signal whose phase changes according to a change in the relative position in the measurement axis direction between the first displacement detection pattern of the main scale and the second displacement detection pattern of the index scale. When,
An internal origin signal output circuit that outputs an internal origin signal in accordance with the opposing state of the first origin detection pattern of the main scale and the second origin detection pattern of the index scale;
Generating a phase signal indicating that the main signal has reached the predetermined phase, and rising after passing through a predetermined margin for absorbing variations in output timing of the internal origin signal after the internal origin signal is output; An external origin signal output circuit that outputs the phase signal as an external origin signal;
With
The displacement measuring apparatus, wherein the external origin signal output circuit further comprises switching means for switching the phase of the output phase signal to a predetermined phase by an external operation .
前記外部原点信号出力回路は、
記内部原点信号出力回路から内部原点信号が出力されてからその直後に出力される前記位相信号の出力が終了するまでの間だけアクティブになるゲート信号を出力するゲート信号出力回路と、
前記位相信号の出力を前記ゲート信号がアクティブの間だけ通過させるゲート回路と
を備えてなることを特徴とする請求項1記載の変位測定装置。
The external origin signal output circuit is
A gate signal output circuit for outputting a gate signal which becomes active only until the output of the phase signal internal origin signal is outputted immediately after from the output ends before SL internal origin signal output circuit,
The displacement measuring apparatus according to claim 1, further comprising: a gate circuit that passes the output of the phase signal only while the gate signal is active.
前記主信号を更に内挿分割して変位測定用の分割信号を出力する内挿分割回路を更に備えたことを特徴とする請求項1又は2に記載の変位測定装置。Displacement measuring apparatus according to claim 1 or 2, characterized in, further comprising the interpolation division circuit among which outputs a divided signal for displacement measurement the main signal was further subdividing. 前記内挿分割回路は、前記主信号をm分割した第1信号と、前記主信号をn分割した第2信号(m≠n)とを出力するように構成され、前記m及びnは、前記変位用の分割信号の分割数よりも小さい数であり、  The interpolation division circuit is configured to output a first signal obtained by dividing the main signal by m and a second signal (m ≠ n) obtained by dividing the main signal by n. The number is smaller than the number of divisions of the divided signal for displacement
前記位相信号は、前記第1信号と前記第2信号とを論理演算して得られることを特徴とする請求項3記載の変位測定装置。  The displacement measuring apparatus according to claim 3, wherein the phase signal is obtained by performing a logical operation on the first signal and the second signal.
JP2002344235A 2002-11-27 2002-11-27 Displacement measuring device Expired - Fee Related JP4291564B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002344235A JP4291564B2 (en) 2002-11-27 2002-11-27 Displacement measuring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002344235A JP4291564B2 (en) 2002-11-27 2002-11-27 Displacement measuring device

Publications (2)

Publication Number Publication Date
JP2004177281A JP2004177281A (en) 2004-06-24
JP4291564B2 true JP4291564B2 (en) 2009-07-08

Family

ID=32705786

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002344235A Expired - Fee Related JP4291564B2 (en) 2002-11-27 2002-11-27 Displacement measuring device

Country Status (1)

Country Link
JP (1) JP4291564B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5337847B2 (en) * 2011-07-05 2013-11-06 株式会社日立ハイテクノロジーズ Displacement detection circuit
JP5982161B2 (en) 2012-04-11 2016-08-31 株式会社ミツトヨ Encoder
JP6625236B2 (en) * 2016-10-25 2019-12-25 三菱電機株式会社 Pulse conversion device and pulse conversion method for incremental encoder
CN110487162B (en) * 2019-09-29 2020-09-08 桂林广陆数字测控有限公司 Hybrid positioning electromagnetic induction type displacement sensor

Also Published As

Publication number Publication date
JP2004177281A (en) 2004-06-24

Similar Documents

Publication Publication Date Title
US6617572B2 (en) Displacement information detection apparatus
EP2492647B1 (en) Scale, optical encoder and optical device
JPS6331722B2 (en)
JP4908764B2 (en) Optical encoder
JP3506613B2 (en) Origin detection method
JPH03115921A (en) Signal interpolating circuit and displacement measuring instrument equipped with the same
JP4291564B2 (en) Displacement measuring device
Portman et al. Phase-statistical method and device for high precise and high-efficiency angular measurements
JP2537146B2 (en) Displacement measuring device
JP4473975B2 (en) Encoder
JP4265929B2 (en) Displacement measuring device
JP2003247864A (en) Scale for absolute encoder, its manufacturing method, and absolute encoder
EP2778626B1 (en) Position detection apparatus, lens apparatus, image pickup system, machine tool apparatus, position detection method, program, and storage medium
JPH0143243B2 (en)
JP3168282B2 (en) Method for detecting the movement reference position of a moving object
JP2012237638A (en) Encoder and correction method
JP2547334B2 (en) Position detection device
JPH0476049B2 (en)
JPS58169027A (en) Displacement measuring device
JPS6052714A (en) Incremental encoder
JP2742828B2 (en) Origin circuit
KR100292806B1 (en) Encoder using diffraction gratings
JP2537980B2 (en) Speed detection method
JP2585857B2 (en) Position detection device
JPH0233132Y2 (en)

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051014

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081218

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081224

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090220

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 4291564

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20150410

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees