JP2021076587A - Encoder device, use method therefor, positioning method, and position detection method - Google Patents

Encoder device, use method therefor, positioning method, and position detection method Download PDF

Info

Publication number
JP2021076587A
JP2021076587A JP2020157932A JP2020157932A JP2021076587A JP 2021076587 A JP2021076587 A JP 2021076587A JP 2020157932 A JP2020157932 A JP 2020157932A JP 2020157932 A JP2020157932 A JP 2020157932A JP 2021076587 A JP2021076587 A JP 2021076587A
Authority
JP
Japan
Prior art keywords
detection
unit
detection signal
signal
encoder device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2020157932A
Other languages
Japanese (ja)
Inventor
昭宏 渡邉
Akihiro Watanabe
昭宏 渡邉
春佳 小澤
Haruka Ozawa
春佳 小澤
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.)
Nikon Corp
Original Assignee
Nikon 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 Nikon Corp filed Critical Nikon Corp
Publication of JP2021076587A publication Critical patent/JP2021076587A/en
Priority to JP2022550612A priority Critical patent/JPWO2022059750A1/ja
Priority to PCT/JP2021/034186 priority patent/WO2022059750A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D5/00Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
    • G01D5/26Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable characterised by optical transfer means, i.e. using infrared, visible, or ultraviolet light
    • G01D5/32Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable characterised by optical transfer means, i.e. using infrared, visible, or ultraviolet light with attenuation or whole or partial obturation of beams of light
    • G01D5/34Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable characterised by optical transfer means, i.e. using infrared, visible, or ultraviolet light with attenuation or whole or partial obturation of beams of light the beams of light being detected by photocells
    • G01D5/347Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable characterised by optical transfer means, i.e. using infrared, visible, or ultraviolet light with attenuation or whole or partial obturation of beams of light the beams of light being detected by photocells using displacement encoding scales

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Optical Transform (AREA)
  • Transmission And Conversion Of Sensor Element Output (AREA)

Abstract

To heighten the reliability of detection result of position information.MEANS FOR SOLVING THE PROBLEM: Provided is an encoder device comprising: a first detection unit for irradiating the pattern of a moving part with light, detecting light from the pattern, and outputting a first and a second detection signal mutually differing in phase with regard to the movement of the moving part; a second detection unit for irradiating the pattern with light, detecting light from the pattern and outputting a third detection signal and arranged at a different position than the first detection part along the movement direction of the moving part; a control part for switching between a state in which the movement information of the moving part is obtained by the first and second detection signals and a state in which the movement information is obtained by one of the first and second detection signals and the third detection signal; and an arithmetic part for finding the movement information by the detection signals in the state to which having been switched by the control unit.SELECTED DRAWING: Figure 2

Description

本発明は、エンコーダ装置、エンコーダ装置の使用方法、エンコーダ装置の位置決め方法、エンコーダ装置を用いる位置検出方法、駆動装置、ステージ装置、及びロボット装置に関する。 The present invention relates to an encoder device, a method of using the encoder device, a method of positioning the encoder device, a position detection method using the encoder device, a drive device, a stage device, and a robot device.

被検物の回転角又は回転速度等の位置情報を検出するエンコーダ装置は、ロボット装置などの各種装置に搭載されている。従来のエンコーダ装置として、パターンを発光素子で照明し、そのパターンからの光を受光素子で受光するとともに、バックアップ用の電源を備えた装置が知られている(例えば、特許文献1参照)。
上述のようなエンコーダ装置は、検出結果の信頼性の向上を図ることが望まれている。
Encoder devices that detect position information such as the rotation angle or rotation speed of the test object are mounted on various devices such as robot devices. As a conventional encoder device, a device is known in which a pattern is illuminated by a light emitting element, light from the pattern is received by a light receiving element, and a power source for backup is provided (see, for example, Patent Document 1).
The encoder device as described above is desired to improve the reliability of the detection result.

特開平10−073458号公報Japanese Unexamined Patent Publication No. 10-073458

第1の態様によれば、移動部のパターンに光を照射し、そのパターンからの光を検出して第1検出信号と第2検出信号とを出力する第1検出部と、その第1検出部に対してその移動部の移動方向に沿った異なる位置に配置され、そのパターンに光を照射し、そのパターンからの光を検出して第3検出信号を出力する第2検出部と、その第1検出信号、その第2検出信号およびその第3検出信号のうちの、その移動部の移動に関して互いに位相の異なる2つの検出信号によりその移動部の移動情報を求める演算部と、を備えるエンコーダ装置が提供される。 According to the first aspect, the first detection unit that irradiates the pattern of the moving unit with light, detects the light from the pattern, and outputs the first detection signal and the second detection signal, and the first detection thereof. A second detection unit that is arranged at different positions along the movement direction of the movement unit with respect to the unit, irradiates the pattern with light, detects the light from the pattern, and outputs a third detection signal, and the second detection unit thereof. An encoder including a first detection signal, a second detection signal thereof, and a calculation unit for obtaining movement information of the moving portion by two detection signals having different phases with respect to the movement of the moving portion among the second detection signal and the third detection signal. Equipment is provided.

第2の態様によれば、第1の態様のエンコーダ装置と、その移動部に動力を供給する動力供給部と、を備える駆動装置が提供される。
第3の態様によれば、移動物体と、その移動物体を移動させる第2の態様の駆動装置と、を備えるステージ装置が提供される。
第4の態様によれば、第2の態様の駆動装置と、その駆動装置によって相対移動するアームと、を備えるロボット装置が提供される。
According to the second aspect, a drive device including the encoder device of the first aspect and a power supply unit for supplying power to the moving unit thereof is provided.
According to the third aspect, a stage device including a moving object and a driving device of the second aspect for moving the moving object is provided.
According to the fourth aspect, a robot device including the drive device of the second aspect and an arm that is relatively moved by the drive device is provided.

第5の態様によれば、移動部のパターンに光を照射し、そのパターンからの光を検出して第1検出信号と第2検出信号とを出力する第1検出部と、その第1検出部に対してその移動部の移動方向に沿った異なる位置に配置され、そのパターンに光を照射し、そのパターンからの光を検出して第3検出信号を出力する第2検出部と、その第1検出信号、その第2検出信号及びその第3検出信号のうちの、その移動部の移動に関して互いに位相の異なる2つの検出信号によりその移動部の移動情報を求める演算部と、を備えるエンコーダ装置の使用方法であって、その第1検出信号とその第2検出信号のうちの一方の検出信号と、その移動部の移動方向に関してその一方の検出信号と位相が異なるその第3検出信号とを用いてその移動部の移動情報を求めることを含むエンコーダ装置の使用方法が提供される。 According to the fifth aspect, the first detection unit that irradiates the pattern of the moving unit with light, detects the light from the pattern, and outputs the first detection signal and the second detection signal, and the first detection thereof. A second detection unit that is arranged at different positions along the movement direction of the movement unit with respect to the unit, irradiates the pattern with light, detects the light from the pattern, and outputs a third detection signal, and the second detection unit thereof. An encoder including a first detection signal, a second detection signal thereof, and a calculation unit for obtaining movement information of the moving portion by two detection signals having different phases with respect to the movement of the moving portion among the second detection signal and the third detection signal. A method of using the device, the detection signal of one of the first detection signal and the second detection signal, and the third detection signal whose phase is different from that of the other detection signal with respect to the movement direction of the moving portion. Provided is a method of using the encoder device, which comprises obtaining movement information of the moving portion using the above.

第6の態様によれば、回転移動する移動部の移動方向に沿って設けられたパターンからの光を検出して第1検出信号を出力する第1検出部と、その第1検出部に対してその移動部の移動方向に沿って所定角度離れた位置に配置され、そのパターンからの光を検出して第2検出信号を出力する第2検出部と、その第1検出信号及びその第2検出信号によりその移動部の回転情報を求める演算部と、その第1検出部及びその第2検出部を一体的に支持する支持部材と、を備えるエンコーダ装置の位置決め方法であって、その第1検出部及びその第2検出部をそれぞれその移動部の回転移動の半径方向に位置決めすること、を含むエンコーダ装置の位置決め方法が提供される。 According to the sixth aspect, with respect to the first detection unit that detects light from the pattern provided along the movement direction of the rotating moving unit and outputs the first detection signal, and the first detection unit thereof. A second detection unit that is arranged at a predetermined angle along the movement direction of the movement unit, detects light from the pattern, and outputs a second detection signal, the first detection signal thereof, and the second detection unit thereof. A method for positioning an encoder device including a calculation unit that obtains rotation information of the moving unit based on a detection signal, and a support member that integrally supports the first detection unit and the second detection unit. A method for positioning an encoder device is provided, which comprises positioning a detection unit and a second detection unit thereof in a radial direction of rotational movement of the moving unit, respectively.

第7の態様によれば、回転移動する移動部の移動方向に沿って設けたパターンからの光を検出してその移動部の回転移動に関して第1検出信号を出力する第1検出部と、その第1検出部に対してその移動部の移動方向に沿って所定角度離れた位置に配置され、そのパターンからの光を検出して第2検出信号を出力する第2検出部と、その第1検出信号及びその第2検出信によりその移動部の回転情報を求める演算部と、を備えるエンコーダ装置の位置検出方法であって、その第1検出信号から求められるその移動部の回転情報と、その第2検出信号から求められるその移動部の回転情報との差分からその回転情報の誤差を求めることと、その第1検出信号、その第2検出信、及びその誤差を用いてその移動部の回転情報を求めることと、を含むエンコーダ装置の位置検出方法が提供される。 According to the seventh aspect, a first detection unit that detects light from a pattern provided along the movement direction of the rotating moving unit and outputs a first detection signal regarding the rotational movement of the moving unit, and a first detecting unit thereof. A second detection unit that is arranged at a predetermined angle away from the first detection unit along the movement direction of the movement unit, detects light from the pattern, and outputs a second detection signal, and a first detection unit thereof. A position detection method for an encoder device including a calculation unit that obtains rotation information of the moving unit by a detection signal and its second detection signal, and rotation information of the moving unit obtained from the first detection signal and its rotation information. Obtaining the error of the rotation information from the difference from the rotation information of the moving part obtained from the second detection signal, and using the first detection signal, the second detection signal, and the error to rotate the moving part. A method for obtaining information and detecting the position of the encoder device including the above is provided.

第1の実施形態に係るエンコーダ装置を示す図である。It is a figure which shows the encoder device which concerns on 1st Embodiment. (A)は図1中のディスク及び検出部を示す平面図、(B)は図1中の検出部及び検出回路部等を示す図である。FIG. 1A is a plan view showing a disk and a detection unit in FIG. 1, and FIG. 1B is a diagram showing a detection unit, a detection circuit unit, and the like in FIG. (A)は図2(B)の4つの検出信号の一例を示す図、(B)は図2(B)の2組の検出信号のステートの変遷を示す図、(C)は正常な検出信号の4つのステートを示す図である。(A) is a diagram showing an example of the four detection signals of FIG. 2 (B), (B) is a diagram showing the transition of the states of the two sets of detection signals of FIG. 2 (B), and (C) is a normal detection. It is a figure which shows four states of a signal. 第1の実施形態のエンコーダ装置の使用方法の一例を示すフローチャートである。It is a flowchart which shows an example of the usage method of the encoder device of 1st Embodiment. エンコーダ装置の使用方法の他の例を示すフローチャートである。It is a flowchart which shows another example of the usage of the encoder device. (A)は4つの検出信号の一つが異常な場合を示す図、(B)は4つの検出信号の2つが異常な場合を示す図、(C)は回転情報が検出可能な検出信号の組み合わせの例を示す図である。(A) is a diagram showing a case where one of the four detection signals is abnormal, (B) is a diagram showing a case where two of the four detection signals are abnormal, and (C) is a combination of detection signals in which rotation information can be detected. It is a figure which shows the example of. (A)は4つの検出信号の2つが異常な場合を示す図、(B)は図7(A)に対応するステートの変化の一例を示す図である。(A) is a diagram showing a case where two of the four detection signals are abnormal, and (B) is a diagram showing an example of a state change corresponding to FIG. 7 (A). (A)は変形例のディスク及び検出部を示す平面図、(B)は図8(A)の検出部から得られる4つの検出信号の一例を示す図である。(A) is a plan view showing a modified example disk and a detection unit, and (B) is a diagram showing an example of four detection signals obtained from the detection unit of FIG. 8 (A). 変形例のエンコーダ装置を示す図である。It is a figure which shows the encoder device of the modification. (A)は第2の実施形態に係るエンコーダ装置の角度検出部の機構部を示す平面図、(B)は図10(A)の一部を断面で表した側面図、(C)は図10(A)の要部の拡大平面図である。(A) is a plan view showing the mechanical part of the angle detection unit of the encoder device according to the second embodiment, (B) is a side view showing a part of FIG. 10 (A) in cross section, and (C) is a view. It is an enlarged plan view of the main part of 10 (A). 第2の実施形態のエンコーダ装置の検出回路部の構成を示す図である。It is a figure which shows the structure of the detection circuit part of the encoder device of 2nd Embodiment. (A)、(B)、(C)、(D)、(E)、(F)は図11の検出回路部内の複数の信号の一例を示す図、(G)は位相差の調整を行わない場合(比較例)の絶対値検出信号の例を示す図である。(A), (B), (C), (D), (E), and (F) are diagrams showing an example of a plurality of signals in the detection circuit section of FIG. 11, and (G) is for adjusting the phase difference. It is a figure which shows the example of the absolute value detection signal when there is not (comparative example). (A)はディスク6に対して検出部11A,11Bの位置決めを行う場合を示す一部を切り欠いた平面図、(B)はディスク6のパターンの一部と検出部11A,11Bとの位置ずれの状態の一例を示す拡大平面図である。(A) is a plan view in which a part of the detection units 11A and 11B is positioned with respect to the disk 6, and (B) is a position of a part of the pattern of the disk 6 and the detection units 11A and 11B. It is an enlarged plan view which shows an example of the state of deviation. (A)は第2の実施形態に係る位置決め方法の一例を示すフローチャート、(B)は第3の実施形態に係る検出方法の一例を示すフローチャートである。(A) is a flowchart showing an example of the positioning method according to the second embodiment, and (B) is a flowchart showing an example of the detection method according to the third embodiment. 第2の実施形態に係るエンコーダ装置の角度検出部の第1、第2検出部の配置の一例を示す平面図である。It is a top view which shows an example of the arrangement of the 1st and 2nd detection part of the angle detection part of the encoder device which concerns on 2nd Embodiment. 駆動装置の一例を示す図である。It is a figure which shows an example of a drive device. ステージ装置の一例を示す図である。It is a figure which shows an example of a stage apparatus. ロボット装置の一例を示す図である。It is a figure which shows an example of a robot device.

[第1の実施形態]
第1の実施形態につき図1から図7を参照して説明する。図1は、本実施形態に係るエンコーダ装置ECを示す。図1において、エンコーダ装置ECは、モータM(動力供給部)の回転軸SF(移動部)の回転位置情報を検出する。回転軸SFは、例えばモータMのシャフト(回転子)であるが、モータMのシャフトに変速機などの動力伝達部を介して接続されるとともに負荷に接続される作用軸(出力軸)であってもよい。エンコーダ装置ECが検出した回転位置情報は、モータ制御部26に供給される。モータ制御部26の主主制御部27は、エンコーダ装置ECから供給された回転位置情報を使って、モータMの回転(例えば、回転位置、回転速度など)を制御する。モータ制御部26は、回転軸SFの回転を制御する。
[First Embodiment]
The first embodiment will be described with reference to FIGS. 1 to 7. FIG. 1 shows an encoder device EC according to the present embodiment. In FIG. 1, the encoder device EC detects the rotation position information of the rotation axis SF (moving unit) of the motor M (power supply unit). The rotary shaft SF is, for example, a shaft (rotor) of the motor M, but is an action shaft (output shaft) connected to the shaft of the motor M via a power transmission unit such as a transmission and connected to a load. You may. The rotation position information detected by the encoder device EC is supplied to the motor control unit 26. The main control unit 27 of the motor control unit 26 controls the rotation (for example, rotation position, rotation speed, etc.) of the motor M by using the rotation position information supplied from the encoder device EC. The motor control unit 26 controls the rotation of the rotation shaft SF.

エンコーダ装置ECは、回転軸SFの回転位置情報を検出する位置検出系(位置検出ユニット)2を備える。エンコーダ装置ECは、いわゆる多回転アブソリュートエンコーダである。位置検出系2は、回転軸SFの回転の数及び回転方向を示す多回転情報を検出する多回転情報検出部3、及び1回転未満の角度位置(回転角)を示す角度位置情報を含む回転位置情報を検出する角度検出部4を備える。 The encoder device EC includes a position detection system (position detection unit) 2 that detects the rotation position information of the rotation axis SF. The encoder device EC is a so-called multi-rotation absolute encoder. The position detection system 2 includes a multi-rotation information detection unit 3 that detects multi-rotation information indicating the number and direction of rotation of the rotation axis SF, and a rotation including angular position information indicating an angular position (rotation angle) of less than one rotation. The angle detection unit 4 for detecting the position information is provided.

位置検出系2の少なくとも一部(例えば角度検出部4)は、一例として、エンコーダ装置ECが搭載される装置(例えば駆動装置、ステージ装置、ロボット装置)の電源(以下、主電源という。)が電力を供給している状態で、その主電源から電力の供給を受けて動作する。また、位置検出系2の少なくとも一部(例えば多回転情報検出部3)は、一例として、その主電源が電力を供給している状態(電源オンの状態)、及びその主電源が電力を供給していない状態(電源オフの状態、又はバックアップ状態等)で、バッテリ15から電力の供給を受けて動作する。 As an example, at least a part of the position detection system 2 (for example, the angle detection unit 4) is a power source (hereinafter referred to as a main power source) of a device (for example, a drive device, a stage device, a robot device) on which the encoder device EC is mounted. It operates by receiving power from its main power supply while it is supplying power. Further, as an example, at least a part of the position detection system 2 (for example, the multi-rotation information detection unit 3) is in a state where the main power supply is supplying electric power (power-on state) and the main power supply is supplying electric power. It operates by receiving power from the battery 15 in a non-powered state (power off state, backup state, etc.).

バッテリ15は、一例として一次電池(ボタン電池等)及び充電可能な二次電池を有する。バッテリ15には切替部16が接続されている。モータ制御部26の電源部MCEはその主電源の一部である。電源部MCEが電力を供給している状態(電源オンの状態)では、電源部MCEはバッテリ15の二次電池に充電を行っている。そして、切替部16は、二次電池からの電力を多回転情報検出部3に供給する。一方、電源部MCEが電力の供給を行っていない状態(電源オフの状態)では、その二次電池への充電は行われない。この状態で二次電池の残存電力が多いときには、切替部16はその二次電池からの電力を多回転情報検出部3に供給してもよい。また、電源オフで二次電池の残存電力が少ないときには、切替部16はその一次電池からの電力を多回転情報検出部3に供給してもよい。このため、電源オフの状態でも、位置検出系2(多回転情報検出部3)は、回転軸SFの回転位置情報の少なくとも一部(ここでは多回転情報)を検出することができる。 The battery 15 includes, for example, a primary battery (button battery or the like) and a rechargeable secondary battery. A switching unit 16 is connected to the battery 15. The power supply unit MCE of the motor control unit 26 is a part of the main power supply. When the power supply unit MCE is supplying power (power is on), the power supply unit MCE charges the secondary battery of the battery 15. Then, the switching unit 16 supplies the electric power from the secondary battery to the multi-rotation information detection unit 3. On the other hand, when the power supply unit MCE is not supplying power (power off state), the secondary battery is not charged. When the remaining power of the secondary battery is large in this state, the switching unit 16 may supply the power from the secondary battery to the multi-rotation information detection unit 3. Further, when the power is off and the remaining power of the secondary battery is low, the switching unit 16 may supply the power from the primary battery to the multi-rotation information detection unit 3. Therefore, even when the power is off, the position detection system 2 (multi-rotation information detection unit 3) can detect at least a part (here, multi-rotation information) of the rotation position information of the rotation axis SF.

多回転情報検出部3は、一例として光学式で多回転情報を検出する。多回転情報検出部3は、回転軸SFに連結された円板状のディスク6に形成された多回転情報検出用のパターン8Sを検出する第1検出部10A、パターン8Sを異なる位置で検出する第2検出部10B、及び検出信号処理部12を有する。検出信号処理部12は、制御部13、例えば不揮発性メモリよりなる記憶部14、並びに上述のバッテリ15及び切替部16を有する。ディスク6は、回転軸SFに取り付けられた円板5にボルト17(図2(A)参照)によって固定されている。円板5は回転軸SFとともに回転するため、ディスク6は回転軸SFと連動して回転する。検出信号処理部12において、制御部13は、検出部10A,10Bの検出信号を処理して回転軸SFの多回転情報を検出する。記憶部14は、制御部13が検出した多回転情報を記憶する。 The multi-rotation information detection unit 3 optically detects the multi-rotation information as an example. The multi-rotation information detection unit 3 detects the first detection unit 10A and the pattern 8S for detecting the multi-rotation information detection pattern 8S formed on the disk-shaped disk 6 connected to the rotation axis SF at different positions. It has a second detection unit 10B and a detection signal processing unit 12. The detection signal processing unit 12 includes a control unit 13, for example, a storage unit 14 made of a non-volatile memory, and the above-mentioned battery 15 and switching unit 16. The disk 6 is fixed to a disk 5 attached to the rotating shaft SF by bolts 17 (see FIG. 2A). Since the disk 5 rotates together with the rotation axis SF, the disk 6 rotates in conjunction with the rotation axis SF. In the detection signal processing unit 12, the control unit 13 processes the detection signals of the detection units 10A and 10B to detect the multi-rotation information of the rotation axis SF. The storage unit 14 stores the multi-rotation information detected by the control unit 13.

角度検出部4は、一例として光学式のエンコーダであり、ディスク6の一回転内の位置情報(角度位置情報)を検出する。例えば光学式エンコーダであるとき、角度検出部4は、ディスク6の角度位置検出用のパターン9Sからの光を検出する第1検出部11A、パターン9Sからの光を異なる位置で検出する第2検出部11B、検出部11A,11Bの検出信号を処理して回転軸SFの1回転以内の角度位置を検出する検出回路部21を有する。パターン9Sは、例えばアブソリュートスケール及びインクリメンタルスケールを含む。なお、角度検出部4に関しては、第2検出部11Bを省略することもできる。 The angle detection unit 4 is an optical encoder as an example, and detects position information (angle position information) within one rotation of the disk 6. For example, in the case of an optical encoder, the angle detection unit 4 has a first detection unit 11A for detecting the light from the pattern 9S for detecting the angle position of the disk 6, and a second detection unit for detecting the light from the pattern 9S at different positions. It has a detection circuit unit 21 that processes the detection signals of the unit 11B and the detection units 11A and 11B to detect an angular position within one rotation of the rotation axis SF. Pattern 9S includes, for example, absolute scales and incremental scales. Regarding the angle detection unit 4, the second detection unit 11B may be omitted.

検出回路部21は、例えばアブソリュートスケールからの光を検出した結果を使って第1分解能の角度位置を検出する。また、検出回路部21は、インクリメンタルスケールからの光を検出した結果を使って、第1分解能の角度位置に内挿演算を行うことにより、第1分解能よりも高い第2分解能の角度位置を検出する。また、ディスク6は、例えば円板5と一体化された部材であってもよい。また、多回転情報検出部3及び角度検出部4は、それぞれ例えば反射型の光学式であるが、それらを透過型の光学式のエンコーダで構成してもよい。 The detection circuit unit 21 detects the angular position of the first resolution by using the result of detecting the light from the absolute scale, for example. Further, the detection circuit unit 21 detects the angle position of the second resolution higher than the first resolution by performing the interpolation calculation at the angle position of the first resolution using the result of detecting the light from the incremental scale. To do. Further, the disk 6 may be, for example, a member integrated with the disk 5. Further, although the multi-rotation information detection unit 3 and the angle detection unit 4 are each of a reflection type optical type, for example, they may be configured by a transmission type optical type encoder.

本実施形態において、エンコーダ装置ECは、信号合成部22を備える。信号合成部22は、位置検出系2による検出結果を演算して処理する。信号合成部22は、合成部23及びデータ通信部24を備える。合成部23は、検出回路部21が検出した第2分解能の角度位置情報を取得する。また、合成部23は、多回転情報検出部3の記憶部14から回転軸SFの多回転情報を取得する。合成部23は、検出回路部21からの角度位置情報、及び多回転情報検出部3からの多回転情報を合成して回転位置情報を算出する。例えば、検出回路部21の検出結果がθ(rad)であり、多回転情報検出部3の検出結果がn回転である場合に、合成部23は、回転位置情報として(2π×n+θ)(rad)を算出する。回転位置情報は、多回転情報と、1回転未満の角度位置情報とを組にした情報でもよい。 In the present embodiment, the encoder device EC includes a signal synthesis unit 22. The signal synthesis unit 22 calculates and processes the detection result by the position detection system 2. The signal synthesis unit 22 includes a synthesis unit 23 and a data communication unit 24. The synthesis unit 23 acquires the angle position information of the second resolution detected by the detection circuit unit 21. Further, the synthesis unit 23 acquires the multi-rotation information of the rotation axis SF from the storage unit 14 of the multi-rotation information detection unit 3. The synthesis unit 23 synthesizes the angle position information from the detection circuit unit 21 and the multi-rotation information from the multi-rotation information detection unit 3 to calculate the rotation position information. For example, when the detection result of the detection circuit unit 21 is θ (rad) and the detection result of the multi-rotation information detection unit 3 is n rotations, the synthesis unit 23 uses (2π × n + θ) (rad) as the rotation position information. ) Is calculated. The rotation position information may be information that is a combination of multi-rotation information and angle position information of less than one rotation.

合成部23は、回転位置情報をデータ通信部24に供給する。データ通信部24は、有線または無線によって、モータ制御部26の通信部MCCと通信可能に接続されている。データ通信部24は、デジタル形式の回転位置情報を、モータ制御部26の通信部MCCに供給する。モータ制御部26の主制御部27は、データ通信部24からの回転位置情報を例えば所定のサンプリングレートで取得する。主制御部27は、その回転位置情報を使ってモータMへ供給される電力(駆動電力)を制御することにより、モータMの回転を制御する。 The synthesis unit 23 supplies the rotation position information to the data communication unit 24. The data communication unit 24 is communicably connected to the communication unit MCC of the motor control unit 26 by wire or wirelessly. The data communication unit 24 supplies the rotation position information in digital format to the communication unit MCC of the motor control unit 26. The main control unit 27 of the motor control unit 26 acquires rotation position information from the data communication unit 24, for example, at a predetermined sampling rate. The main control unit 27 controls the rotation of the motor M by controlling the electric power (driving power) supplied to the motor M using the rotation position information.

次に、本実施形態の多回転情報検出部3につき説明する。
図2(A)は図1中のディスク6及び検出部10A,10Bを示す平面図、図2(B)は図1中の検出部10A,10B及び制御部13等を示す図である。図2(A)に示すように、ディスク6の表面には、回転中心の回りに同心円状の4つの輪帯をそれぞれ1/2にした形状の反射性の第1パターン8A、第2パターン8B、第3パターン8C、及び第4パターン8Dが形成されている。すなわち、パターン8A〜8Dはそれぞれ開き角が180°の半輪帯状のパターンであり、第1パターン8Aの直径が最も大きく、第2パターン8B、第3パターン8C、及び第4パターン8Dの順に直径が次第に小さく設定されている。また、第2パターン8Bはその回転中心の回りに第1パターン8Aを180°回転した配置であり、第3パターン8C及び第4パターン8Dはそれぞれその回転中心の回りに第1パターン8A及び第2パターン8Bを時計回りに90°回転した配置である。パターン8A〜8Dが図1のパターン8Sに対応している。パターン8A〜8Dの外側には図1の角度検出部4用のパターン9Sが形成されている。
Next, the multi-rotation information detection unit 3 of the present embodiment will be described.
FIG. 2A is a plan view showing the disc 6 and the detection units 10A and 10B in FIG. 1, and FIG. 2B is a diagram showing the detection units 10A and 10B and the control unit 13 and the like in FIG. As shown in FIG. 2 (A), on the surface of the disc 6, the reflective first pattern 8A and the second pattern 8B are formed by halving four concentric rings around the center of rotation, respectively. , The third pattern 8C, and the fourth pattern 8D are formed. That is, each of the patterns 8A to 8D is a half-ring band-shaped pattern having an opening angle of 180 °, the diameter of the first pattern 8A is the largest, and the diameters of the second pattern 8B, the third pattern 8C, and the fourth pattern 8D are in that order. Is gradually set smaller. Further, the second pattern 8B is an arrangement in which the first pattern 8A is rotated by 180 ° around the center of rotation, and the third pattern 8C and the fourth pattern 8D are the first pattern 8A and the second pattern 8A around the center of rotation, respectively. The pattern 8B is rotated 90 ° clockwise. Patterns 8A to 8D correspond to patterns 8S in FIG. Patterns 9S for the angle detection unit 4 of FIG. 1 are formed on the outside of the patterns 8A to 8D.

第1検出部10Aは、パターン8A〜8Dに対向するように配置され、第2検出部10Bは、第1検出部10Aをディスク6の回転中心の回りに時計回りに90°回転した位置に配置されている。
図2(B)に示すように、第1検出部10Aは、パターン8A〜8Dに検出用の光を照射する発光ダイオード(以下、LEDという)31と、パターン8A,8B,8C,8Dからの反射光を受光する受光素子32A,32B,32C,32Dとを有する。さらに、第1検出部10Aは、受光素子32A,32Bから出力される信号の差分をデジタル化した検出信号MA1を求めるアナログコンパレータ33Aと、受光素子32C,32Dから出力される信号の差分をデジタル化した検出信号MB1を求めるアナログコンパレータ33Bとを有する。検出信号MA1及びMB1は制御部13の演算制御部40に供給される。演算制御部40は計数器40a、判定部40b、及び記憶部(詳細後述)を有する。検出信号MA1及びMB1は、図3(A)に示すように、ディスク6が1回転(回転角が360°)する期間を1周期とする矩形波信号であり、検出信号MA1に対して検出信号MB1の位相は90°シフトしている。なお、図3(A)の横軸は時間tである。また、図3(A)の検出信号は、図2(A)のディスク6を反時計回り(以下、順方向という)に回転したときに得られる信号である。
The first detection unit 10A is arranged so as to face the patterns 8A to 8D, and the second detection unit 10B arranges the first detection unit 10A at a position rotated 90 ° clockwise around the rotation center of the disk 6. Has been done.
As shown in FIG. 2B, the first detection unit 10A is from a light emitting diode (hereinafter referred to as LED) 31 that irradiates patterns 8A to 8D with light for detection, and patterns 8A, 8B, 8C, and 8D. It has light receiving elements 32A, 32B, 32C, and 32D that receive reflected light. Further, the first detection unit 10A digitizes the difference between the analog comparator 33A for obtaining the detection signal MA1 obtained by digitizing the difference between the signals output from the light receiving elements 32A and 32B and the signal output from the light receiving elements 32C and 32D. It has an analog comparator 33B for obtaining the detected detection signal MB1. The detection signals MA1 and MB1 are supplied to the arithmetic control unit 40 of the control unit 13. The arithmetic control unit 40 includes a counter 40a, a determination unit 40b, and a storage unit (details will be described later). As shown in FIG. 3A, the detection signals MA1 and MB1 are rectangular wave signals having a period in which the disk 6 makes one rotation (rotation angle is 360 °) as one cycle, and are detection signals with respect to the detection signal MA1. The phase of MB1 is shifted by 90 °. The horizontal axis of FIG. 3A is time t. The detection signal of FIG. 3A is a signal obtained when the disk 6 of FIG. 2A is rotated counterclockwise (hereinafter referred to as a forward direction).

同様に、第2検出部10Bは、パターン8A〜8Dに検出用の光を照射する発光ダイオード(以下、LEDという)34と、パターン8A,8B,8C,8Dからの反射光を受光する受光素子35A,35B,35C,35Dとを有する。なお、LED31,34の代わりに半導体レーザ等の任意の発光素子を使用できる。受光素子32A〜32D,35A〜35Dとしては例えばフォトダイオードを使用できる。 Similarly, the second detection unit 10B includes a light emitting diode (hereinafter referred to as LED) 34 that irradiates the patterns 8A to 8D with light for detection, and a light receiving element that receives the reflected light from the patterns 8A, 8B, 8C, and 8D. It has 35A, 35B, 35C, and 35D. Any light emitting element such as a semiconductor laser can be used instead of the LEDs 31 and 34. As the light receiving elements 32A to 32D and 35A to 35D, for example, a photodiode can be used.

さらに、第2検出部10Bは、受光素子35A,35Bから出力される信号の差分をデジタル化した検出信号MA2を求めるアナログコンパレータ36Aと、受光素子35C,35Dから出力される信号の差分をデジタル化した検出信号MB2を求めるアナログコンパレータ36Bとを有する。検出信号MA2及びMB2も制御部13の演算制御部40に供給される。検出信号MA2及びMB2は、図3(A)に示すように、ディスク6が1回転する期間を1周期とする矩形波信号であり、検出信号MA2に対して検出信号MB2の位相は90°シフトしている。さらに、本実施形態では、第2検出部10Bの位置が第1検出部10Aの位置に対して90°異なっている。このため、検出信号MA1,MB1に対して検出信号MA2,MB2の位相はそれぞれ90°シフトしている。本実施形態では、検出信号MA2の位相は検出信号MB1の位相とほぼ等しく、検出信号MB2の位相は検出信号MA1の位相とほぼ180°異なっている。 Further, the second detection unit 10B digitizes the difference between the analog comparator 36A for obtaining the detection signal MA2 obtained by digitizing the difference between the signals output from the light receiving elements 35A and 35B and the signal output from the light receiving elements 35C and 35D. It has an analog comparator 36B for obtaining the detected detection signal MB2. The detection signals MA2 and MB2 are also supplied to the arithmetic control unit 40 of the control unit 13. As shown in FIG. 3A, the detection signals MA2 and MB2 are rectangular wave signals having a period in which the disk 6 rotates once, and the phase of the detection signal MB2 is shifted by 90 ° with respect to the detection signal MA2. doing. Further, in the present embodiment, the position of the second detection unit 10B is 90 ° different from the position of the first detection unit 10A. Therefore, the phases of the detection signals MA2 and MB2 are shifted by 90 ° with respect to the detection signals MA1 and MB1. In the present embodiment, the phase of the detection signal MA2 is substantially equal to the phase of the detection signal MB1, and the phase of the detection signal MB2 is substantially 180 ° different from the phase of the detection signal MA1.

図2(B)において、制御部13は、演算制御部40と、LED31及び34を発光させるための駆動信号31L,34Lを出力する発光制御部39とを有する。一例として発光制御部39は、さらに検出信号MA1〜MB2を検出するためのサンプリング信号SSを演算制御部40に供給する。演算制御部40は、サンプリング信号SSに同期して検出信号MA1〜MB2を読み込む。演算制御部40が発光制御部39に供給している発光制御信号LE1又はLE2をそれぞれハイレベル(通常はローレベル)に設定すると、発光制御部39では、LED31又は34の発光を停止することができる。 In FIG. 2B, the control unit 13 includes an arithmetic control unit 40 and a light emission control unit 39 that outputs drive signals 31L and 34L for causing the LEDs 31 and 34 to emit light. As an example, the light emission control unit 39 further supplies the sampling signal SS for detecting the detection signals MA1 to MB2 to the arithmetic control unit 40. The arithmetic control unit 40 reads the detection signals MA1 to MB2 in synchronization with the sampling signal SS. When the light emission control signals LE1 and LE2 supplied to the light emission control unit 39 by the arithmetic control unit 40 are set to high levels (usually low levels), the light emission control unit 39 may stop the light emission of the LED 31 or 34. it can.

第1検出部10Aが正常に動作している状態(検出信号MA1,MB1が正常な状態)では、演算制御部40内の計数器40aは、第1検出部10Aから読み込まれた検出信号MA1,MB1を用いて回転軸SFの多回転情報を求めることができる。例えば検出信号MA1がローレベルからハイレベルに変化する際に検出信号MB1がローレベルであれば、回転数を1増加させるためのアップ信号を記憶部14に供給する。一方、検出信号MA1がローレベルからハイレベルに変化する際に検出信号MB1がハイレベルであれば、回転数を1減少させるためのダウン信号を記憶部14に供給する。これに応じて記憶部14がそれまでに記憶されている回転数を増減させることで回転軸SFの回転数(多回転情報)が正確に求められる。 In the state where the first detection unit 10A is operating normally (the detection signals MA1 and MB1 are normal), the counter 40a in the arithmetic control unit 40 is the detection signal MA1 read from the first detection unit 10A. Multi-rotation information of the rotation axis SF can be obtained using MB1. For example, if the detection signal MB1 is at the low level when the detection signal MA1 changes from the low level to the high level, an up signal for increasing the rotation speed by 1 is supplied to the storage unit 14. On the other hand, if the detection signal MB1 is at a high level when the detection signal MA1 changes from a low level to a high level, a down signal for reducing the rotation speed by 1 is supplied to the storage unit 14. By increasing or decreasing the rotation speed stored up to that point by the storage unit 14, the rotation speed (multi-rotation information) of the rotation axis SF can be accurately obtained.

さらに、第2検出部10Bが正常に動作している状態では、演算制御部40内の計数器40aは、第2検出部10Bから読み込まれた検出信号MA2,MB2を用いても同様に回転軸SFの多回転情報を求めることができる。また、検出信号MB1,MA2の位相はほぼ等しく、検出信号MA1,MB2の位相はほぼ180°異なっている(反転している)。このため、検出信号MA1又はMB2と、検出信号MB又はMA2との組み合わせを用いても、それぞれ回転軸SFの多回転情報を求めることができる。言い替えると、検出部10A及び10Bが部分的に正常でない場合にも多回転情報を求めることができる場合がある。 Further, in the state where the second detection unit 10B is operating normally, the counter 40a in the arithmetic control unit 40 also uses the detection signals MA2 and MB2 read from the second detection unit 10B to similarly rotate the axis. It is possible to obtain SF multi-rotation information. Further, the phases of the detection signals MB1 and MA2 are substantially the same, and the phases of the detection signals MA1 and MB2 are substantially 180 ° different (inverted). Therefore, even if the combination of the detection signal MA1 or MB2 and the detection signal MB or MA2 is used, the multi-rotation information of the rotation axis SF can be obtained respectively. In other words, it may be possible to obtain the multi-rotation information even when the detection units 10A and 10B are partially abnormal.

演算制御部40内の判定部40bでは、検出信号MA1〜MB2のいずれかが正常ではないが多回転情報を検出可能なときには、第1アラーム信号AS1を図1のデータ通信部24を介してモータ制御部26の主制御部27に送信する。判定部40bでは、検出信号MA1〜MB2の少なくとも2つが正常ではなく、かつ多回転情報を検出できないときには、第2アラーム信号AS2をモータ制御部26の主制御部27に送信する。主制御部27では、アラーム信号AS1,AS2に応じた処理を行うことができる。 In the determination unit 40b in the arithmetic control unit 40, when any of the detection signals MA1 to MB2 is not normal but multi-rotation information can be detected, the first alarm signal AS1 is transmitted to the motor via the data communication unit 24 of FIG. It is transmitted to the main control unit 27 of the control unit 26. When at least two of the detection signals MA1 to MB2 are not normal and the multi-rotation information cannot be detected, the determination unit 40b transmits the second alarm signal AS2 to the main control unit 27 of the motor control unit 26. The main control unit 27 can perform processing according to the alarm signals AS1 and AS2.

次に、本実施形態のエンコーダ装置ECの基本的な使用方法の一例につき図4のフローチャートを参照して説明する。その使用方法においては、制御部13内の演算制御部40の判定部40bは4つの検出信号MA1〜MB2がそれぞれ正常かどうか、すなわち多回転情報の検出を行うために使用可能か否かを判定する。その際に、一例として検出信号MA1,MB1及びMA2,MB2の状態の組合せ及び/又は遷移を調べる。図3(A)に示すように、正常な検出信号MA1,MB1の組み合わせには、MA1がハイレベル(以下、Hで表す)でMB1がローレベル(以下、Lで表す)となるステート1(ST1)、MA1,MB1が(H,H)となるステート2(ST2)、MA1,MB1が(L,H)となるステート3(ST3)、及びMA1,MB1が(L,L)となるステート4(ST4)がある。同様に、正常な検出信号MA2,MB2の組み合わせには、MA2,MB2が(L,L)となるステート1(ST1)、MA2,MB2が(H,L)となるステート2(ST2)、MA2,MB2が(H,H)となるステート3(ST3)、及びMA2,MB2が(L,H)となるステート4(ST4)がある。検出信号MA1,MB1の周期をT1とすると、各ステートの周期T2はT1/4である。原則として、検出信号MA1,MB1がステート1〜4であれば、検出信号MA2,MB2も同じステート1〜4である。ステート1〜4の正常な検出信号MA1〜MB2のレベルの組み合わせは図3(C)のようになる。 Next, an example of the basic usage of the encoder device EC of the present embodiment will be described with reference to the flowchart of FIG. In the usage method, the determination unit 40b of the arithmetic control unit 40 in the control unit 13 determines whether the four detection signals MA1 to MB2 are normal, that is, whether they can be used to detect the multi-rotation information. To do. At that time, as an example, the combination and / or transition of the states of the detection signals MA1, MB1 and MA2, MB2 is examined. As shown in FIG. 3 (A), in the combination of the normal detection signals MA1 and MB1, the state 1 (hereinafter, represented by L) is such that MA1 is at a high level (hereinafter, represented by H) and MB1 is at a low level (hereinafter, represented by L). ST1), state 2 (ST2) where MA1 and MB1 are (H, H), state 3 (ST3) where MA1 and MB1 are (L, H), and state where MA1 and MB1 are (L, L). There is 4 (ST4). Similarly, for a combination of normal detection signals MA2 and MB2, state 1 (ST1) in which MA2 and MB2 are (L, L), state 2 (ST2) in which MA2 and MB2 are (H, L), and MA2 , MB2 is (H, H) in state 3 (ST3), and MA2 and MB2 are in (L, H) state 4 (ST4). Assuming that the period of the detection signals MA1 and MB1 is T1, the period T2 of each state is T1 / 4. As a general rule, if the detection signals MA1 and MB1 are in states 1 to 4, the detection signals MA2 and MB2 are also in the same states 1 to 4. The combination of the levels of the normal detection signals MA1 to MB2 in the states 1 to 4 is as shown in FIG. 3 (C).

図2(A)のディスク6が順方向に回転する場合には、図3(B)に示すように、検出信号MA1,MB1のステートの遷移18A及び検出信号MA2,MB2のステートの遷移18Bは、ステート1、ステート2、ステート3、ステート4、ステート1の順になる。ディスク6が逆方向(時計回り)に回転する場合には、ステートの遷移18A及び18Bは、ステート1、ステート4、ステート3、ステート2、ステート1の順になる。このステートの遷移18A,18Bのパターンは、演算制御部40内のROM等の記憶部に記憶されている。 When the disk 6 of FIG. 2 (A) rotates in the forward direction, as shown in FIG. 3 (B), the state transition 18A of the detection signals MA1 and MB1 and the state transition 18B of the detection signals MA2 and MB2 , State 1, state 2, state 3, state 4, state 1 in that order. When the disk 6 rotates in the opposite direction (clockwise), the state transitions 18A and 18B are in the order of state 1, state 4, state 3, state 2, and state 1. The patterns of the transitions 18A and 18B of this state are stored in a storage unit such as a ROM in the arithmetic control unit 40.

演算制御部40の判定部40bでは、検出信号MA1〜MB2が正常であるかどうかを、一例としてこれらの検出信号の状態の遷移に基づいて判定できる。例えば、図6(A)に示すように、4つの検出信号MA1〜MB2のうちで3つの検出信号MB1,MA2,MB2のレベルが変化しているのに対して、他の1つの検出信号MA1のレベルが変化していない場合(状態が遷移していない場合)、その検出信号MA1は正常でないとみなすことができる。同様に、図6(B)に示すように、4つの検出信号MA1〜MB2のうちで2つの検出信号MA1,MB2のレベルが変化しているのに対して、他の2つの検出信号MB1,MA2のレベルが変化していない場合、その検出信号MB1,MA2は正常でないとみなすことができる。 The determination unit 40b of the arithmetic control unit 40 can determine whether or not the detection signals MA1 to MB2 are normal based on the transition of the states of these detection signals as an example. For example, as shown in FIG. 6A, the levels of three detection signals MB1, MA2, MB2 among the four detection signals MA1 to MB2 are changing, while the other one detection signal MA1 If the level of is not changed (the state is not changed), the detection signal MA1 can be regarded as abnormal. Similarly, as shown in FIG. 6B, the levels of the two detection signals MA1 and MB2 among the four detection signals MA1 to MB2 are changing, while the other two detection signals MB1 and MB1 are changed. If the level of MA2 has not changed, the detection signals MB1 and MA2 can be regarded as abnormal.

また、他の例として、演算制御部40の判定部では、検出信号MA1〜MB2が正常であるかどうかを、これらの検出信号の状態の組合せに基づいて判定できる。例えば、図7(A)に示すように、4つの検出信号MA1〜MB2のうちで2つの検出信号MA1,MB2のレベルが変化しているのに対して、他の2つの検出信号MB1,MA2のレベルが変化していない場合、検出信号MA1〜MB2のステート1〜4におけるレベルの組合せは図7(B)のようになる。図7(B)の検出信号のレベル(状態)の組合せと、図3(C)の正常な検出信号のレベルの組合せとを比較すると、図7(B)のステート2及び3のレベルの組合せが図3(C)の対応する部分と異なっている(検出信号MB1,MA2のレベルが異なっている)ことが分かる。この比較から検出信号MB1,MA2が正常でないと判定可能である。 Further, as another example, the determination unit of the arithmetic control unit 40 can determine whether or not the detection signals MA1 to MB2 are normal based on the combination of the states of these detection signals. For example, as shown in FIG. 7A, the levels of two detection signals MA1 and MB2 among the four detection signals MA1 to MB2 are changing, while the other two detection signals MB1 and MA2 are changed. When the level of is not changed, the combination of levels in the states 1 to 4 of the detection signals MA1 to MB2 is as shown in FIG. 7 (B). Comparing the combination of the detection signal levels (states) of FIG. 7 (B) with the combination of the normal detection signal levels of FIG. 3 (C), the combination of the levels of states 2 and 3 of FIG. 7 (B) is compared. Is different from the corresponding part in FIG. 3C (the levels of the detection signals MB1 and MA2 are different). From this comparison, it can be determined that the detection signals MB1 and MA2 are not normal.

そして、エンコーダ装置ECの基本的な使用方法として、図4のステップ102において、発光制御部39が第1検出部10A及び第2検出部10BのLED31,34を点灯し、ステップ104において、演算制御部40が検出部10A,10Bの4つの検出信号MA1,MB1,MA2,MB2の読み込みを行う。さらにステップ108において、上述の判定方法を用いて演算制御部40の判定部は検出信号MA1が正常か否かを判定し、検出信号MA1が正常である場合にはステップ110に移行して検出信号MB1が正常か否かを判定する。検出信号MB1が正常である場合には、ステップ114に移行して、演算制御部40の計数器40aは有効(正常)な検出信号としてここでは第1検出部10Aの検出信号MA1,MB1の読み込みを行う。次のステップ116において、演算制御部40の計数器は、読み込んだ検出信号MA1,MB1を処理して回転軸SFの多回転情報(例えば上述のアップ信号又はダウン信号)(回転情報)を算出し、算出した情報を記憶部14に記憶させる。その後、ステップ114,116の動作が繰り返される。 Then, as a basic method of using the encoder device EC, in step 102 of FIG. 4, the light emission control unit 39 lights the LEDs 31 and 34 of the first detection unit 10A and the second detection unit 10B, and in step 104, arithmetic control is performed. The unit 40 reads the four detection signals MA1, MB1, MA2, and MB2 of the detection units 10A and 10B. Further, in step 108, the determination unit of the arithmetic control unit 40 determines whether or not the detection signal MA1 is normal by using the above-mentioned determination method, and if the detection signal MA1 is normal, the process proceeds to step 110 and the detection signal is detected. Determine whether MB1 is normal or not. When the detection signal MB1 is normal, the process proceeds to step 114, and the counter 40a of the arithmetic control unit 40 reads the detection signals MA1 and MB1 of the first detection unit 10A as valid (normal) detection signals. I do. In the next step 116, the counter of the arithmetic control unit 40 processes the read detection signals MA1 and MB1 to calculate the multi-rotation information (for example, the above-mentioned up signal or down signal) (rotation information) of the rotation axis SF. , The calculated information is stored in the storage unit 14. After that, the operations of steps 114 and 116 are repeated.

一方、ステップ110で検出信号MB1が正常でない場合にはステップ118に移行して、演算制御部40の判定部が第2検出部10Bの検出信号MA2が正常か否かを判定する。検出信号MA2が正常である場合には、検出信号MB1の代替に検出信号MA2を使用するためステップ114に移行して、演算制御部40の計数器は有効な検出信号として第1検出部10Aの検出信号MA1及び第2検出部10Bの検出信号MA2を読み込む。そして、ステップ116において、演算制御部40の計数器は検出信号MA1,MA2を用いて多回転情報を算出し、算出した情報を記憶部14に記憶させる。 On the other hand, if the detection signal MB1 is not normal in step 110, the process proceeds to step 118, and the determination unit of the arithmetic control unit 40 determines whether or not the detection signal MA2 of the second detection unit 10B is normal. When the detection signal MA2 is normal, the process proceeds to step 114 in order to use the detection signal MA2 instead of the detection signal MB1, and the counter of the arithmetic control unit 40 is used as a valid detection signal by the first detection unit 10A. The detection signal MA1 and the detection signal MA2 of the second detection unit 10B are read. Then, in step 116, the counter of the arithmetic control unit 40 calculates the multi-rotation information using the detection signals MA1 and MA2, and stores the calculated information in the storage unit 14.

また、ステップ118において、検出信号MA2が正常でない場合には、多回転情報を求めるために必要な2つの検出信号が存在しないため、ステップ126に移行する。そして、演算制御部40の判定部は図1のモータ制御部26の主制御部27に、回転情報を検出できないことを示す第2アラーム信号AS2(第2アラーム情報)を送信する。これに応じて、一例として主制御部27は、オペレータ(不図示)にエンコーダ装置ECの多回転情報検出部3が正常でない旨の情報を供給し、例えばオペレータは検出部10A,10Bの交換等のメンテナンスを行う。 Further, in step 118, if the detection signal MA2 is not normal, the process proceeds to step 126 because the two detection signals necessary for obtaining the multi-rotation information do not exist. Then, the determination unit of the arithmetic control unit 40 transmits a second alarm signal AS2 (second alarm information) indicating that the rotation information cannot be detected to the main control unit 27 of the motor control unit 26 of FIG. In response to this, as an example, the main control unit 27 supplies information to the operator (not shown) that the multi-rotation information detection unit 3 of the encoder device EC is not normal, for example, the operator replaces the detection units 10A and 10B. Perform maintenance.

また、ステップ108において、検出信号MA1が正常でない場合にはステップ130に移行して、演算制御部40の判定部は第2検出部10Bの検出信号MB2が正常か否かを判定する。検出信号MB2が正常である場合には、検出信号MA1の代わりに検出信号MB2を使用するためにステップ110に移行する。そして、検出信号MB1又はMA2が正常である場合にはステップ114に移行して、演算制御部40の計数器は有効な検出信号として検出信号MB2及び検出信号MB1(又はMA2)を読み込む。そして、ステップ116において、演算制御部40の計数器は読み込んだ検出信号を用いて多回転情報を算出し、算出した情報を記憶部14に記憶させる。 Further, in step 108, if the detection signal MA1 is not normal, the process proceeds to step 130, and the determination unit of the arithmetic control unit 40 determines whether or not the detection signal MB2 of the second detection unit 10B is normal. If the detection signal MB2 is normal, the process proceeds to step 110 in order to use the detection signal MB2 instead of the detection signal MA1. Then, when the detection signal MB1 or MA2 is normal, the process proceeds to step 114, and the counter of the arithmetic control unit 40 reads the detection signal MB2 and the detection signal MB1 (or MA2) as effective detection signals. Then, in step 116, the counter of the arithmetic control unit 40 calculates the multi-rotation information using the read detection signal, and stores the calculated information in the storage unit 14.

また、ステップ130において、検出信号MB2が正常でない場合には、多回転情報を求めるために必要な2つの検出信号が存在しないため、ステップ126に移行する。そして、演算制御部40の判定部は図1のモータ制御部26の主制御部27に、回転情報を検出できないことを示す第2アラーム信号AS2を送信する。以上の動作をまとめると、正常でない検出信号が図6(C)の表の左欄の信号である場合、回転軸SFの多回転情報を検出可能な2つの検出信号の組合せはその表の右欄のようになる。図6(C)の表において、検出信号MA1のみが正常でない場合には、検出可能な検出信号の組合せは検出信号MB2及びMB1(又はMA2)であり、検出信号MB1のみが正常でない場合には、検出可能な検出信号の組合せは検出信号MA2及びMB2(又はMA1)である。 Further, in step 130, if the detection signal MB2 is not normal, the process proceeds to step 126 because the two detection signals necessary for obtaining the multi-rotation information do not exist. Then, the determination unit of the arithmetic control unit 40 transmits a second alarm signal AS2 indicating that the rotation information cannot be detected to the main control unit 27 of the motor control unit 26 of FIG. Summarizing the above operations, when the abnormal detection signal is the signal in the left column of the table in FIG. 6C, the combination of the two detection signals capable of detecting the multi-rotation information of the rotation axis SF is on the right side of the table. It looks like a column. In the table of FIG. 6C, when only the detection signal MA1 is not normal, the combination of the detection signals that can be detected is the detection signals MB2 and MB1 (or MA2), and when only the detection signal MB1 is not normal. , The combination of the detection signals that can be detected is the detection signals MA2 and MB2 (or MA1).

また、検出信号MB1,MB2が正常でない場合には、検出可能な検出信号の組合せは検出信号MA1及びMA2であり、検出信号MA1,MB1が正常でない場合には、検出可能な検出信号の組合せは検出信号MA2及びMB2である。一方、検出信号MA1,MB2が正常でない場合、及び検出信号MB1,MA2が正常でない場合にはそれぞれ検出可能な検出信号の組合せは存在しない。この場合には、ステップ126において、演算制御部40の判定部(制御部13)により第2アラーム信号AS2が出力される。 If the detection signals MB1 and MB2 are not normal, the combination of the detection signals that can be detected is the detection signals MA1 and MA2, and if the detection signals MA1 and MB1 are not normal, the combination of the detection signals that can be detected is. The detection signals MA2 and MB2. On the other hand, when the detection signals MA1 and MB2 are not normal, and when the detection signals MB1 and MA2 are not normal, there is no combination of detection signals that can be detected. In this case, in step 126, the determination unit (control unit 13) of the arithmetic control unit 40 outputs the second alarm signal AS2.

この使用方法によれば、例えば第1検出部10Aの一方の検出信号MA1が正常で他方の検出信号MB1が正常でない場合には、検出信号MA1及び第2検出部10Bの検出信号MA2を使用して回転軸SFの回転情報を求めることができる。このため、回転情報の検出結果の信頼性を向上できる。また、4つの検出信号MA1〜MB2のうちで互いに位相が90°(又は270°)異なる2つの検出信号が正常である場合、これら2つの検出信号を用いて回転情報を検出できる。 According to this usage method, for example, when one detection signal MA1 of the first detection unit 10A is normal and the other detection signal MB1 is not normal, the detection signal MA1 and the detection signal MA2 of the second detection unit 10B are used. The rotation information of the rotation axis SF can be obtained. Therefore, the reliability of the detection result of the rotation information can be improved. Further, when two of the four detection signals MA1 to MB2 having phases different from each other by 90 ° (or 270 °) are normal, rotation information can be detected using these two detection signals.

次に、本実施形態の使用方法の他の例につき図5のフローチャートを参照して説明する。まず図5のステップ102において、発光制御部39によって検出部10A,10BのLED31,34が点灯され、ステップ104において、演算制御部40の判定部により検出部10A,10Bの検出信号MA1〜MB2が読み込まれ、ステップ106において、演算制御部40の判定部は、検出信号MA1〜MB2のうちにハイレベル及び/又はローレベルに複数回変化している検出信号があるか否かを確認し、複数回変化している検出信号がない場合にはステップ104に戻る。一方、ステップ106で複数回変化している検出信号がある場合にはステップ108に移行して、その判定部は検出信号MA1が正常か否かを判定する。検出信号MA1等が正常か否かは、上述のように検出信号の状態の組合せ、又はその状態の遷移に基づいて判定できる。 Next, another example of the usage method of the present embodiment will be described with reference to the flowchart of FIG. First, in step 102 of FIG. 5, the light emission control unit 39 turns on the LEDs 31 and 34 of the detection units 10A and 10B, and in step 104, the determination unit of the arithmetic control unit 40 sends the detection signals MA1 to MB2 of the detection units 10A and 10B. After being read, in step 106, the determination unit of the arithmetic control unit 40 confirms whether or not the detection signals MA1 to MB2 have a detection signal that has changed to a high level and / or a low level a plurality of times, and a plurality of detection signals MA1 to MB2. If there is no detection signal that has changed the number of times, the process returns to step 104. On the other hand, if there is a detection signal that has changed a plurality of times in step 106, the process proceeds to step 108, and the determination unit determines whether or not the detection signal MA1 is normal. Whether or not the detection signal MA1 or the like is normal can be determined based on the combination of the states of the detection signals or the transition of the states as described above.

検出信号MA1が正常である場合、ステップ110に移行して演算制御部40の判定部は検出信号MB1が正常か否かを判定し、検出信号MB1が正常である場合、ステップ112に移行して、演算制御部40の判定部は発光制御信号LE2をハイレベルに設定し、これに応じて発光制御部39は第2検出部10BのLED34を消灯する。そして、ステップ114において、演算制御部40の計数器は第1検出部10Aの検出信号MA1,MB1を読み込み、ステップ116において回転軸SFの多回転情報(回転情報)の算出及び記憶を行う。この後はステップ114及び116が繰り返される。 If the detection signal MA1 is normal, the process proceeds to step 110, and the determination unit of the arithmetic control unit 40 determines whether or not the detection signal MB1 is normal. If the detection signal MB1 is normal, the process proceeds to step 112. The determination unit of the arithmetic control unit 40 sets the light emission control signal LE2 to a high level, and the light emission control unit 39 turns off the LED 34 of the second detection unit 10B accordingly. Then, in step 114, the counter of the arithmetic control unit 40 reads the detection signals MA1 and MB1 of the first detection unit 10A, and in step 116, the multi-rotation information (rotation information) of the rotation axis SF is calculated and stored. After this, steps 114 and 116 are repeated.

また、ステップ110において、検出信号MB1が正常でない場合には、ステップ118に移行して、演算制御部40の判定部は検出信号MA2が正常か否かを判定する。検出信号MA2が正常である場合には、ステップ120に移行して、検出信号MA1〜MB2の一部(ここでは検出信号MB1)に異常があるが回転情報の検出は可能であることを示すために、演算制御部40の判定部は第1アラーム信号AS1をモータ制御部26の主制御部27に出力する。これに応じて、主制御部27は、一例として次のエンコーダ装置ECのメンテナンス時にオペレータに正常でない検出信号の情報を提供してもよい。次のステップ122において、演算制御部40は検出信号MA1,MA2を読み込み、ステップ124において、その検出信号MA1,MA2を用いて回転軸SFの多回転情報(回転情報)を算出し、算出結果を記憶部14に記憶させる。その後、ステップ122及び124が繰り返される。 If the detection signal MB1 is not normal in step 110, the process proceeds to step 118, and the determination unit of the arithmetic control unit 40 determines whether or not the detection signal MA2 is normal. When the detection signal MA2 is normal, the process proceeds to step 120 to show that there is an abnormality in a part of the detection signals MA1 to MB2 (here, the detection signal MB1), but the rotation information can be detected. In addition, the determination unit of the arithmetic control unit 40 outputs the first alarm signal AS1 to the main control unit 27 of the motor control unit 26. In response to this, the main control unit 27 may provide the operator with information on an abnormal detection signal at the time of maintenance of the next encoder device EC, for example. In the next step 122, the arithmetic control unit 40 reads the detection signals MA1 and MA2, and in step 124, the detection signals MA1 and MA2 are used to calculate the multi-rotation information (rotation information) of the rotation axis SF, and the calculation result is obtained. It is stored in the storage unit 14. After that, steps 122 and 124 are repeated.

また、ステップ118において、検出信号MA2が正常でない場合には、使用できる検出信号がないため、動作はステップ126に移行し、演算制御部40の判定部は主制御部27に第2アラーム信号AS2を出力し、主制御部27は上述の対応する処理を行うことができる。さらに一例として、次のステップ128において、演算制御部40の判定部は発光制御信号LE1,LE2をハイレベルに設定し、回転情報の検出を停止する。これに応じて発光制御部39はLED31,34を消灯する。 Further, in step 118, if the detection signal MA2 is not normal, there is no detection signal that can be used, so the operation shifts to step 126, and the determination unit of the arithmetic control unit 40 sends the second alarm signal AS2 to the main control unit 27. Is output, and the main control unit 27 can perform the corresponding processing described above. As a further example, in the next step 128, the determination unit of the arithmetic control unit 40 sets the light emission control signals LE1 and LE2 to a high level, and stops the detection of the rotation information. In response to this, the light emission control unit 39 turns off the LEDs 31 and 34.

また、ステップ108において、検出信号MA1が正常でない場合、ステップ130に移行して演算制御部40の判定部は検出信号MB2が正常か否かを判定し、検出信号MB2が正常である場合、ステップ132に移行して、演算制御部40の判定部は検出信号MB1が正常か否かを判定する。検出信号MB1が正常である場合、ステップ134に移行して、検出信号MA1〜MB2の一部(ここでは検出信号MA1)に異常があるが回転情報の検出は可能であることを示すために、演算制御部40の判定部は第1アラーム信号AS1(第1アラーム情報)をモータ制御部26の主制御部27に出力する。次のステップ136において、演算制御部40の計数器は検出信号MB2,MB1を読み込み、ステップ138において、演算制御部40の計数器はその検出信号MB2,MB1を用いて回転軸SFの多回転情報を算出し、算出結果を記憶部14に記憶させる。その後、ステップ136及び138が繰り返される。 Further, in step 108, if the detection signal MA1 is not normal, the process proceeds to step 130, and the determination unit of the arithmetic control unit 40 determines whether or not the detection signal MB2 is normal, and if the detection signal MB2 is normal, the step Moving to 132, the determination unit of the arithmetic control unit 40 determines whether or not the detection signal MB1 is normal. When the detection signal MB1 is normal, the process proceeds to step 134 to show that there is an abnormality in a part of the detection signals MA1 to MB2 (here, the detection signal MA1), but the rotation information can be detected. The determination unit of the arithmetic control unit 40 outputs the first alarm signal AS1 (first alarm information) to the main control unit 27 of the motor control unit 26. In the next step 136, the counter of the arithmetic control unit 40 reads the detection signals MB2 and MB1, and in step 138, the counter of the arithmetic control unit 40 uses the detection signals MB2 and MB1 to provide multi-rotation information of the rotation axis SF. Is calculated, and the calculation result is stored in the storage unit 14. After that, steps 136 and 138 are repeated.

また、ステップ132において、検出信号MB1が正常でない場合には、ステップ140に移行して演算制御部40の判定部は検出信号MA2が正常か否かを判定する。検出信号MA2が正常である場合、ステップ142に移行して、検出信号MA1〜MB2の一部(ここでは検出信号MA1,MB1)に異常があるが回転情報の検出は可能であることを示すために、演算制御部40の判定部は第1アラーム信号AS1をモータ制御部26の主制御部27に出力する。次のステップ144において、演算制御部40の判定部は発光制御信号LE1をハイレベルに設定し、これに応じて発光制御部39は第1検出部10AのLED31を消灯する。そして、ステップ146において、演算制御部40の計数器は第2検出部10Bの検出信号MA2,MB2を読み込み、ステップ148においてその計数器は回転軸SFの多回転情報(回転情報)の算出及び記憶を行う。この後はステップ146及び148が繰り返される。 Further, in step 132, if the detection signal MB1 is not normal, the process proceeds to step 140, and the determination unit of the arithmetic control unit 40 determines whether or not the detection signal MA2 is normal. When the detection signal MA2 is normal, the process proceeds to step 142 to show that there is an abnormality in a part of the detection signals MA1 to MB2 (here, the detection signals MA1 and MB1), but the rotation information can be detected. In addition, the determination unit of the arithmetic control unit 40 outputs the first alarm signal AS1 to the main control unit 27 of the motor control unit 26. In the next step 144, the determination unit of the arithmetic control unit 40 sets the light emission control signal LE1 to a high level, and the light emission control unit 39 turns off the LED 31 of the first detection unit 10A accordingly. Then, in step 146, the counter of the arithmetic control unit 40 reads the detection signals MA2 and MB2 of the second detection unit 10B, and in step 148, the counter calculates and stores the multi-rotation information (rotation information) of the rotation axis SF. I do. After this, steps 146 and 148 are repeated.

また、ステップ140において、検出信号MA2が正常でない場合、及びステップ130において、検出信号MB2が正常でない場合には、使用できる検出信号がないため、それぞれステップ150に移行する。そして、演算制御部40の判定部は主制御部27に第2アラーム信号AS2を出力し、主制御部27は上述の対応する処理を行うことができる。さらに一例として、次のステップ152において、ステップ128と同様に回転情報の検出が停止される。 If the detection signal MA2 is not normal in step 140, and if the detection signal MB2 is not normal in step 130, there is no usable detection signal, and the process proceeds to step 150, respectively. Then, the determination unit of the arithmetic control unit 40 outputs the second alarm signal AS2 to the main control unit 27, and the main control unit 27 can perform the corresponding processing described above. As a further example, in the next step 152, the detection of the rotation information is stopped as in the step 128.

この使用方法によれば、第1検出部10A及び第2検出部10Bの検出信号のうちの一部の検出信号が正常でない場合に、別の正常な検出信号を代わりに使用することによって、回転情報を高い信頼性で求めることができる。また、正常でない検出信号があっても回転情報の検出が可能な場合には第1アラーム信号AS1を出力し、正常でない検出信号が多く回転情報の検出ができない場合には第2アラーム信号AS2を出力することによって、第1アラーム信号AS1に対しては例えばメンテナンスを延期する等の対処を行うことで、エンコーダ装置ECのメンテナンス(部分的な検出器の交換、又は全部の検出器の交換等)を効率的に行うことができる。 According to this usage method, when some of the detection signals of the first detection unit 10A and the second detection unit 10B are not normal, another normal detection signal is used instead to rotate the detection signal. Information can be requested with high reliability. Further, if the rotation information can be detected even if there is an abnormal detection signal, the first alarm signal AS1 is output, and if there are many abnormal detection signals and the rotation information cannot be detected, the second alarm signal AS2 is output. By outputting the first alarm signal AS1, for example, by taking measures such as postponing the maintenance, the maintenance of the encoder device EC (replacement of partial detectors, replacement of all detectors, etc.) Can be done efficiently.

上述のように、本実施形態のエンコーダ装置ECは、回転軸SF(移動部)のディスク5のパターン8Sに光を照射し、パターン8Sからの光を検出して回転軸SFの回転(移動)に関して互いに位相の異なる第1検出信号MA1と第2検出信号MB1とを出力する第1検出部10Aと、第1検出部10Aに対して回転軸SFの回転方向(移動方向)に沿った異なる位置に配置され、パターン8Sに光を照射し、パターン8Sからの光を検出して第3検出信号MA2及び第4検出信号MB2を出力する第2検出部10Bと、第1検出信号MA1と第2検出信号MB1とにより回転軸SFの回転情報(移動情報)を求める状態と、第1検出信号MA1と第2検出信号MB1との一方と、第3検出信号MA2(又は第4検出信号MB2)とによりその回転情報を求める状態とを切り替える制御部13(又は演算制御部40内の判定部40b)と、制御部13によって切り替えた状態の検出信号によりその回転情報を求める演算制御部40内の計数器40a(演算部)とを備えている。 As described above, the encoder device EC of the present embodiment irradiates the pattern 8S of the disk 5 of the rotating shaft SF (moving portion) with light, detects the light from the pattern 8S, and rotates (moves) the rotating shaft SF. The first detection unit 10A that outputs the first detection signal MA1 and the second detection signal MB1 that are out of phase with each other, and different positions along the rotation direction (movement direction) of the rotation axis SF with respect to the first detection unit 10A. The second detection unit 10B, which irradiates the pattern 8S with light, detects the light from the pattern 8S, and outputs the third detection signal MA2 and the fourth detection signal MB2, and the first detection signals MA1 and the second. A state in which rotation information (movement information) of the rotation axis SF is obtained by the detection signal MB1, one of the first detection signal MA1 and the second detection signal MB1, and the third detection signal MA2 (or the fourth detection signal MB2). Counting in the control unit 13 (or the determination unit 40b in the calculation control unit 40) that switches the state for obtaining the rotation information by the control unit 13 and the calculation control unit 40 that obtains the rotation information by the detection signal in the state switched by the control unit 13. It is equipped with a device 40a (calculation unit).

また、本実施形態のエンコーダ装置ECの使用方法は、判定部40bによって第1検出信号MA1と第2検出信号MB1とにより回転軸SFの回転情報(移動情報)を求める状態と、第1検出信号MA1と第2検出信号MB1との一方と、第3検出信号MA2(又は第4検出信号MB2)とによりその回転情報を求める状態とを切り替えるステップ108,110,118,130、114と、計数器40aによってその切り替えた状態の検出信号によりその回転情報を求めるステップ116とを含んでいる。本実施形態によれば、2つの検出部10A,10Bを備えており、4つの検出信号が出力されるため、仮に1つの検出信号に異常が生じても他の正常な検出信号を使用することによって、回転軸SFの回転情報の検出結果の精度又は信頼性を向上できる。 Further, the method of using the encoder device EC of the present embodiment includes a state in which the determination unit 40b obtains rotation information (movement information) of the rotation axis SF by the first detection signal MA1 and the second detection signal MB1 and a first detection signal. Steps 108, 110, 118, 130, 114 for switching between one of the MA1 and the second detection signal MB1 and the state for obtaining the rotation information by the third detection signal MA2 (or the fourth detection signal MB2), and the counter. It includes step 116 of obtaining the rotation information by the detection signal of the switched state by 40a. According to this embodiment, two detection units 10A and 10B are provided, and four detection signals are output. Therefore, even if an abnormality occurs in one detection signal, another normal detection signal is used. Therefore, the accuracy or reliability of the detection result of the rotation information of the rotation axis SF can be improved.

また、本実施形態において、第1検出部10Aの検出信号MA1,MB2を用いて回転情報を求める際に、第2検出部10BのLED34を消灯し、第2検出部10Bの検出信号MA2,MB2を用いて回転情報を求める際には、第1検出部10AのLED31を消灯してもよい。この場合、消費電力を抑制して回転情報の検出結果の信頼性を向上できる。 Further, in the present embodiment, when the rotation information is obtained by using the detection signals MA1 and MB2 of the first detection unit 10A, the LED 34 of the second detection unit 10B is turned off and the detection signals MA2 and MB2 of the second detection unit 10B are turned off. When obtaining rotation information using the above, the LED 31 of the first detection unit 10A may be turned off. In this case, the power consumption can be suppressed and the reliability of the detection result of the rotation information can be improved.

なお、上述の実施形態では以下のような変形が可能である。まず、上述の実施形態では図2(A)に示すように、第1検出部10Aと第2検出部10Bとの間の角度は90°である。これに対して、図8(A)の変形例に示すように、ディスク6上で第1検出部10Aに対して180°の角度で第2検出部10Bを配置してもよい。この変形例では、ディスク6を回転したときに第1検出部10Aから得られる検出信号MA1,MB1が図8(B)に示す2相の矩形波信号であるとする。このとき、第2検出部10Bから得られる検出信号MA2,MB2は、図8(B)に示すように、例えば図3(A)の対応する信号の位相を90°シフトさせた矩形波信号となる。 In the above-described embodiment, the following modifications are possible. First, in the above-described embodiment, as shown in FIG. 2A, the angle between the first detection unit 10A and the second detection unit 10B is 90 °. On the other hand, as shown in the modified example of FIG. 8A, the second detection unit 10B may be arranged on the disk 6 at an angle of 180 ° with respect to the first detection unit 10A. In this modification, it is assumed that the detection signals MA1 and MB1 obtained from the first detection unit 10A when the disk 6 is rotated are the two-phase rectangular wave signals shown in FIG. 8B. At this time, the detection signals MA2 and MB2 obtained from the second detection unit 10B are, for example, a rectangular wave signal in which the phase of the corresponding signal in FIG. 3A is shifted by 90 °, as shown in FIG. 8B. Become.

この変形例においては、ステート1(ST1)〜ステート4(ST4)における検出信号MA1,MB1の組み合わせは図3(A)の例と同じである。これに対して、ステート1〜ステート4における検出信号MA2,MB2の組み合わせは、(L,H)、(L,L)、(H,L)及び(H,H)となり、図3(A)の例とは異なっている。この変形例においては、検出信号MA1の代わりに位相が180°異なる検出信号MA2を使用でき、検出信号MB1の代わりに位相が180°異なる検出信号MB2を使用できる。そして、例えば検出信号MA1が正常でない場合には、検出信号MB1及びMA2を用いて回転情報を求めることができる。 In this modified example, the combination of the detection signals MA1 and MB1 in the states 1 (ST1) to 4 (ST4) is the same as the example of FIG. 3 (A). On the other hand, the combinations of the detection signals MA2 and MB2 in the states 1 to 4 are (L, H), (L, L), (H, L) and (H, H), which are shown in FIG. 3 (A). It is different from the example of. In this modification, the detection signal MA2 having a phase difference of 180 ° can be used instead of the detection signal MA1, and the detection signal MB2 having a phase difference of 180 ° can be used instead of the detection signal MB1. Then, for example, when the detection signal MA1 is not normal, rotation information can be obtained using the detection signals MB1 and MA2.

次に、上述の実施形態では、4つの検出信号MA1〜MB2が生成されているが、図9の変形例のエンコーダ装置ECAで示すように、3つの検出信号MA1,MB1,MA2を生成してもよい。なお、図9において図2(B)に対応する部分には同一の符号を付してその詳細な説明を省略する。
図9において、第1検出部10Aの構成は図2(B)の第1検出部10Aと同じである。また、第2検出部10Cは、パターン8A,8Bに検出用の光を照射するLED34と、パターン8A,8Bからの反射光を受光する受光素子35A,35Bとを有する。さらに、第2検出部10Cは、受光素子35A,35Bから出力される信号の差分をデジタル化した検出信号MA2を求めるアナログコンパレータ36Aを有する。第1検出部10Aの検出信号MA1,MB1及び第2検出部10Cの検出信号MA2は演算制御部40に供給される。
Next, in the above-described embodiment, the four detection signals MA1 to MB2 are generated, but as shown in the encoder device ECA of the modified example of FIG. 9, the three detection signals MA1, MB1 and MA2 are generated. May be good. In FIG. 9, the parts corresponding to FIG. 2B are designated by the same reference numerals, and detailed description thereof will be omitted.
In FIG. 9, the configuration of the first detection unit 10A is the same as that of the first detection unit 10A in FIG. 2B. The second detection unit 10C includes an LED 34 that irradiates the patterns 8A and 8B with light for detection, and light receiving elements 35A and 35B that receive the reflected light from the patterns 8A and 8B. Further, the second detection unit 10C has an analog comparator 36A that obtains a detection signal MA2 that digitizes the difference between the signals output from the light receiving elements 35A and 35B. The detection signals MA1 and MB1 of the first detection unit 10A and the detection signals MA2 of the second detection unit 10C are supplied to the arithmetic control unit 40.

検出信号MA1,MB1が正常であれば、演算制御部40では、検出信号MA1,MB1を用いて回転軸SFの多回転情報を算出できる。また、例えば検出信号MB1が正常でない場合には、演算制御部40では、検出信号MA1,MA2を用いて回転軸SFの多回転情報を算出できる。このように3つの検出信号を生成する変形例においても、正常でない検出信号の代わりに正常な検出信号を使用することによって、回転情報の検出結果の信頼性を向上できる。 If the detection signals MA1 and MB1 are normal, the arithmetic control unit 40 can calculate the multi-rotation information of the rotation axis SF using the detection signals MA1 and MB1. Further, for example, when the detection signal MB1 is not normal, the arithmetic control unit 40 can calculate the multi-rotation information of the rotation axis SF by using the detection signals MA1 and MA2. Even in the modified example of generating the three detection signals in this way, the reliability of the detection result of the rotation information can be improved by using the normal detection signal instead of the abnormal detection signal.

なお、この変形例では図2(C)の3つの検出信号MA1,MB1,MA2を生成しているが、図2(C)の3つの検出信号MA1,MB1,MB2を生成してもよい。
また、上述の実施形態では、図2(B)に示すように、2つの受光素子32A,32B及び32C,32Dの検出信号からアナログコンパレータ33A及び33Bを用いて2相の検出信号MA1,MB1を生成し、同様に4つの受光素子35A〜35Dの検出信号から2相の検出信号MA2,MB2を生成している。これに対して、例えば受光素子32A及び32Cの検出信号と対応する参照信号との比較から2相の検出信号MA1,MB1を生成してもよい。2相の検出信号MA2,MB2も同様に生成できる。この場合には、図2(A)のディスク6からパターン8B及び8Dを省略し、第1検出部10Aから受光素子32B,32Dを省略し、第2検出部10から受光素子35B,35Dを省略できるため、ディスク6の構成及び検出部10A,10Bの構成を簡素化できる。
In this modification, the three detection signals MA1, MB1 and MA2 shown in FIG. 2C are generated, but the three detection signals MA1, MB1 and MB2 shown in FIG. 2C may be generated.
Further, in the above-described embodiment, as shown in FIG. 2B, the two-phase detection signals MA1 and MB1 are obtained from the detection signals of the two light receiving elements 32A, 32B and 32C, 32D by using the analog comparators 33A and 33B. Similarly, the two-phase detection signals MA2 and MB2 are generated from the detection signals of the four light receiving elements 35A to 35D. On the other hand, for example, the two-phase detection signals MA1 and MB1 may be generated by comparing the detection signals of the light receiving elements 32A and 32C with the corresponding reference signals. Two-phase detection signals MA2 and MB2 can be generated in the same manner. In this case, the patterns 8B and 8D are omitted from the disk 6 of FIG. 2A, the light receiving elements 32B and 32D are omitted from the first detection unit 10A, and the light receiving elements 35B and 35D are omitted from the second detection unit 10. Therefore, the configuration of the disk 6 and the configurations of the detection units 10A and 10B can be simplified.

[第2の実施形態]
第2の実施形態につき図10から図14を参照して説明する。なお、図10から図13において図1から図2(B)に対応する部分には同一の符号を付してその詳細な説明を省略する。図10(A)は、本実施形態に係るエンコーダ装置ECBの角度検出部4の機構部を示す平面図、図10(B)は図10(A)の一部を断面とした側面図、図10(C)は図10(A)の要部の拡大平面図である。角度検出部4は図1の位置検出系2の一部である。角度検出部4は、図1のモータMに連結された回転軸SF(移動部)の1回転未満の回転角を示す角度位置(角度)情報を含む回転位置情報(回転情報)を検出する。角度検出部4が検出した回転情報は、図1の合成部23を介してモータ制御部26に供給される。モータ制御部26は、その回転情報等を用いてモータM(回転軸SF)の回転を制御する。
[Second Embodiment]
The second embodiment will be described with reference to FIGS. 10 to 14. The parts corresponding to FIGS. 1 to 2 (B) in FIGS. 10 to 13 are designated by the same reference numerals, and detailed description thereof will be omitted. 10 (A) is a plan view showing a mechanical portion of the angle detection unit 4 of the encoder device ECB according to the present embodiment, and FIG. 10 (B) is a side view and a view showing a part of FIG. 10 (A) as a cross section. 10 (C) is an enlarged plan view of a main part of FIG. 10 (A). The angle detection unit 4 is a part of the position detection system 2 of FIG. The angle detection unit 4 detects rotation position information (rotation information) including angle position (angle) information indicating a rotation angle of less than one rotation of the rotation axis SF (moving unit) connected to the motor M of FIG. The rotation information detected by the angle detection unit 4 is supplied to the motor control unit 26 via the synthesis unit 23 of FIG. The motor control unit 26 controls the rotation of the motor M (rotation axis SF) by using the rotation information and the like.

図10(A)及び(B)において、回転軸SFの先端部の円板5の表面にディスク6がボルト17及びワッシャ(座金)17Aを用いて固定されている。円板状のディスク6の表面に回転軸SFの中心(回転中心)の回りに同心円状に、インクリメンタルスケール9SI及びアブソリュートスケール9SAを含む角度検出用のパターン9Sが形成されている。角度検出部4は、ディスク6のパターン9Sからの光を検出する第1検出部11A、パターン9Sからの光を異なる位置で検出する第2検出部11B、検出部11A,11Bの検出信号を処理して回転軸SF(ディスク6)の1回転以内の角度θを検出する検出回路部21(図11参照)を有する。本実施形態では、回転軸SFの回転方向(θ方向)において、第1検出部11Aに対して第2検出部11Bの位置は90°ずれている。また、検出部11A,11B及び検出回路部21は、共通の円板状の基板50のディスク6に対向する面に設けられ、基板50は、基板50とディスク6との間に配置され、不図示の本体部に固定された支持部材52に取り付けられている。一例として、基板50は、2箇所でボルト17B及びワッシャ17Cを用いて支持部材52に固定されている。 In FIGS. 10A and 10B, the disc 6 is fixed to the surface of the disk 5 at the tip of the rotating shaft SF by using bolts 17 and washers (washers) 17A. On the surface of the disk-shaped disk 6, a pattern 9S for angle detection including an incremental scale 9SI and an absolute scale 9SA is formed concentrically around the center (rotation center) of the rotation axis SF. The angle detection unit 4 processes the detection signals of the first detection unit 11A for detecting the light from the pattern 9S of the disk 6, the second detection unit 11B for detecting the light from the pattern 9S at different positions, and the detection units 11A and 11B. It has a detection circuit unit 21 (see FIG. 11) that detects an angle θ within one rotation of the rotation axis SF (disk 6). In the present embodiment, the position of the second detection unit 11B is deviated by 90 ° from the first detection unit 11A in the rotation direction (θ direction) of the rotation axis SF. Further, the detection units 11A and 11B and the detection circuit unit 21 are provided on the surface of the common disk-shaped substrate 50 facing the disk 6, and the substrate 50 is arranged between the substrate 50 and the disk 6 and is not available. It is attached to a support member 52 fixed to the main body (shown). As an example, the substrate 50 is fixed to the support member 52 at two locations using bolts 17B and washers 17C.

また、図10(C)に示すように、一例としてインクリメンタルスケール9SIは反射部と非反射部とを交互にディスク6の回転方向(円周方向)に所定周期で配置したパターンであり、アブソリュートスケール9SAはインクリメンタルスケール9SIの1周期の整数倍の幅を持つ多数の反射部をディスク6の回転方向に所定配列で配置したパターンである。第1検出部11Aは、スケール9SI及び9SAに検出用の光を照射する発光ダイオード(以下、LEDという)31Aと、インクリメンタルスケール9SIからの反射光を位相が互いに90°異なる参照格子53A1及び53A2を介して受光する受光素子32EA,32EBよりなる受光素子群32Eと、アブソリュートスケール9SAからの反射光を受光する第1系統の受光素子群54AX及び第2系統の受光素子群54AYよりなる受光素子群54Aとを有する。第1系統の受光素子群54AXは、アブソリュートスケール9SAを構成する反射部の最小線幅の1/2の幅aの受光素子を、ほぼその幅aの間隔でディスク6の回転方向に配置したものである。第2系統の受光素子群54AYは、第1系統の受光素子群54AXの間及び一方の端部に配置された複数の幅aの受光素子を有する。 Further, as shown in FIG. 10C, as an example, the incremental scale 9SI is a pattern in which reflective portions and non-reflective portions are alternately arranged in the rotation direction (circumferential direction) of the disc 6 at a predetermined cycle, and is an absolute scale. 9SA is a pattern in which a large number of reflecting portions having a width of an integral multiple of one cycle of the incremental scale 9SI are arranged in a predetermined arrangement in the rotation direction of the disc 6. The first detection unit 11A includes a light emitting diode (hereinafter referred to as LED) 31A that irradiates the scales 9SI and 9SA with light for detection, and reference grids 53A1 and 53A2 that are 90 ° out of phase with the reflected light from the incremental scale 9SI. The light receiving element group 32E composed of the light receiving elements 32EA and 32EB that receive light through the light receiving element group 54AX consisting of the light receiving element group 54AX of the first system and the light receiving element group 54AY of the second system receiving the reflected light from the absolute scale 9SA. And have. In the light receiving element group 54AX of the first system, light receiving elements having a width a of 1/2 of the minimum line width of the reflecting portion constituting the absolute scale 9SA are arranged in the rotation direction of the disk 6 at intervals of the width a. Is. The light receiving element group 54AY of the second system has a plurality of light receiving elements having a width a arranged between and at one end of the light receiving element group 54AX of the first system.

同様に、第2検出部11Bは、LED31Bと、インクリメンタルスケール9SIからの反射光を位相が互いに90°異なる参照格子を介して受光する受光素子32FA,32FB(図11参照)よりなる受光素子群32Fと、アブソリュートスケール9SAからの反射光を受光する第1系統及び第2系統の受光素子群よりなる受光素子群54Bとを有する。
次に図11は、角度検出部4の検出回路部21の構成例を示し、図12(A)〜(G)はディスク6を回転した場合に検出回路部21内で発生する複数の信号を示す。なお、図12(A)〜(G)の横軸は時間tであるが、ディスク6が一定の角速度で回転している場合には、その横軸はディスク6の回転角θとみなすこともできる。
Similarly, the second detection unit 11B is a light receiving element group 32F composed of the LED 31B and the light receiving elements 32FA and 32FB (see FIG. 11) that receive the reflected light from the incremental scale 9SI through the reference lattices whose phases are different from each other by 90 °. And a light receiving element group 54B including a group of light receiving elements of the first system and the second system for receiving the reflected light from the absolute scale 9SA.
Next, FIG. 11 shows a configuration example of the detection circuit unit 21 of the angle detection unit 4, and FIGS. 12A to 12G show a plurality of signals generated in the detection circuit unit 21 when the disk 6 is rotated. Shown. The horizontal axis of FIGS. 12A to 12G is time t, but when the disc 6 is rotating at a constant angular velocity, the horizontal axis may be regarded as the rotation angle θ of the disc 6. it can.

図11において、検出回路部21は、第1検出部11A及び第2検出部11Bの検出信号をそれぞれ処理する互いに同じ構成の第1回路部48A及び第2回路部48Bと、第1回路部48A及び第2回路部48Bでそれぞれ検出される回転角θA及びθBから回転軸SFの回転角θT(検出される回転角)の情報を求める位置出力部80とを有する。
第1回路部48Aは、インクリメンタルスケール9SIからの反射光を受光する2つの受光素子32EA及び32EBから出力される位相が90°異なる検出信号SA及びSB(図12(A)参照)を増幅する増幅器58A,58Bと、増幅器58A,58Bの出力を2値化して絶対値処理部68に供給する2値化部60Aと、増幅器58A,58Bの出力をアナログ/デジタル変換して内挿処理部64に供給するA/D変換部62とを有する。内挿処理部64は、A/D変換部62から出力される2相のデジタル信号を内挿してインクリメンタルスケール9SIの1周期の範囲内で、その1周期の1/4より微細な分解能の回転角を求め、求めた回転角を切替信号生成部66及び合成処理部78に供給する。内挿処理部64で生成される1周期内の回転角は、図12(B)の鋸歯状の360°を1周期とする内挿信号Sθで表される。一例として、内挿信号Sθは検出信号SBが0°のときに0°になり、検出信号SBが360°のときに360°となる。
In FIG. 11, the detection circuit unit 21 has the same configuration as the first circuit unit 48A and the second circuit unit 48B for processing the detection signals of the first detection unit 11A and the second detection unit 11B, respectively, and the first circuit unit 48A. It also has a position output unit 80 that obtains information on the rotation angle θT (detected rotation angle) of the rotation axis SF from the rotation angles θA and θB detected by the second circuit unit 48B, respectively.
The first circuit unit 48A is an amplifier that amplifies the detection signals SA and SB (see FIG. 12A) that are output from the two light receiving elements 32EA and 32EB that receive the reflected light from the incremental scale 9SI and have different phases by 90 °. The output of the 58A and 58B, the binarization unit 60A that binarizes the outputs of the amplifiers 58A and 58B and supplies them to the absolute value processing unit 68, and the output of the amplifiers 58A and 58B are analog-to-digital converted to the interpolation processing unit 64. It has an A / D conversion unit 62 to supply. The interpolation processing unit 64 interpolates the two-phase digital signal output from the A / D conversion unit 62, and rotates within one cycle of the incremental scale 9SI with a resolution finer than 1/4 of the cycle. The angle is obtained, and the obtained rotation angle is supplied to the switching signal generation unit 66 and the synthesis processing unit 78. The rotation angle within one cycle generated by the interpolation processing unit 64 is represented by the interpolation signal Sθ having the sawtooth-shaped 360 ° in FIG. 12 (B) as one cycle. As an example, the interpolation signal Sθ becomes 0 ° when the detection signal SB is 0 °, and becomes 360 ° when the detection signal SB is 360 °.

また、第1検出部11Aには、アブソリュートスケール9SAからの反射光を受光する第1系統の受光素子群54AXの検出信号と、第2系統の受光素子群54AYの検出信号とのいずれかを選択するセレクタ群56Aと、セレクタ群56Aで選択された一群の検出信号が供給されるシフトレジスタ56B(ビット切替部)56Bとが設けられている。切替信号生成部66から出力されるXY切替信号SXY(図12(C)参照)がハイレベルのときには、セレクタ群56Aで第1系統の受光素子群54AXの検出信号ABX(図12(D)参照)が選択され、XY切替信号SXYがローレベルのときには、セレクタ群56Aで第2系統の受光素子群54AYの検出信号ABY(図12(D)参照)が選択される。図12(D)において、検出信号ABX及びABYをまとめて原絶対値信号ABRで表している。第1検出部11Aの回転方向の位置が設計値通りの場合には、XY切替信号SXYは、検出信号SBが0°から180°までの期間でハイレベルとなり、それ以外の期間でローレベルとなる。しかしながら、本実施形態では、XY切替信号SXYは後述の位相差Δθだけ位相がずれている。すなわち、XY切替信号SXYは、検出信号SBが(0°−Δθ)から(180°−Δθ)までの期間でハイレベルとなり、それ以外の期間でローレベルとなる。この作用については後述する。 Further, the first detection unit 11A selects either the detection signal of the light receiving element group 54AX of the first system that receives the reflected light from the absolute scale 9SA or the detection signal of the light receiving element group 54AY of the second system. A selector group 56A and a shift register 56B (bit switching unit) 56B to which a group of detection signals selected by the selector group 56A are supplied are provided. When the XY switching signal SXY (see FIG. 12C) output from the switching signal generation unit 66 is at a high level, the selector group 56A uses the detection signal ABX of the light receiving element group 54AX of the first system (see FIG. 12D). ) Is selected, and when the XY switching signal SXY is at a low level, the detection signal ABY (see FIG. 12D) of the light receiving element group 54AY of the second system is selected by the selector group 56A. In FIG. 12D, the detection signals ABX and ABY are collectively represented by the original absolute value signal ABR. When the position of the first detection unit 11A in the rotation direction is as designed, the XY switching signal SXY becomes high level in the period from 0 ° to 180 ° of the detection signal SB, and becomes low level in other periods. Become. However, in the present embodiment, the XY switching signal SXY is out of phase by the phase difference Δθ described later. That is, the XY switching signal SXY has a high level in the period from (0 ° −Δθ) to (180 ° −Δθ) of the detection signal SB, and has a low level in other periods. This action will be described later.

また、第1検出部11Aは、シフトレジスタ56Bから出力される絶対値信号ABS(検出信号ABX及びABYをつなぎ合わせた信号)(図12(E)参照)を増幅する増幅器58Cと、増幅器58Cの出力を2値化したデジタル信号DAB(図12(F)参照)を絶対値処理部68に供給する2値化部60Bと、不揮発性メモリ74と、制御部76と、位置出力部80とを有する。制御部76はLED31Aの発光等を制御する。なお、2値化部60Aと絶対値処理部68との間、及び2値化部60Bと絶対値処理部68との間にそれぞれノイズを除去するためのフィルタを設置してもよい。絶対値処理部68は、デジタル信号DABからディスク6の1回転(360°)内の回転角の絶対値を求める処理部72と、デジタル信号DABと2値化された2相の信号SA,SBから求められる1周期内の回転角との位相差を求める位相差測定部70とを有する。 Further, the first detection unit 11A includes an amplifier 58C for amplifying an absolute value signal ABS (a signal obtained by connecting the detection signals ABX and ABY) output from the shift register 56B (see FIG. 12E), and an amplifier 58C. The binarization unit 60B for supplying the binarized digital signal DAB (see FIG. 12F) to the absolute value processing unit 68, the non-volatile memory 74, the control unit 76, and the position output unit 80. Have. The control unit 76 controls the light emission of the LED 31A and the like. A filter for removing noise may be installed between the binarization unit 60A and the absolute value processing unit 68, and between the binarization unit 60B and the absolute value processing unit 68, respectively. The absolute value processing unit 68 includes a processing unit 72 that obtains the absolute value of the rotation angle within one rotation (360 °) of the disk 6 from the digital signal DAB, and two-phase signals SA and SB that are binarized with the digital signal DAB. It has a phase difference measuring unit 70 for obtaining a phase difference from the rotation angle within one cycle obtained from the above.

絶対値処理部68で求められる1回転内の回転角の絶対値の情報は合成処理部78に供給される。合成処理部78では、その1回転内の回転角の絶対値に、内挿処理部64から供給されるインクリメンタルスケール9SIの1周期内の内挿された回転角を加算することで、ディスク6(回転軸SF)の1回転内の回転角θAをその1周期の1/4より微細な分解能で求め、求めた回転角θAの情報を位置出力部80に供給する。 Information on the absolute value of the rotation angle within one rotation obtained by the absolute value processing unit 68 is supplied to the synthesis processing unit 78. The compositing processing unit 78 adds the intercalated rotation angle within one cycle of the incremental scale 9SI supplied from the intercalation processing unit 64 to the absolute value of the rotation angle within one rotation, thereby causing the disk 6 ( The rotation angle θA within one rotation of the rotation axis SF) is obtained with a resolution finer than 1/4 of the one cycle, and the obtained information of the rotation angle θA is supplied to the position output unit 80.

不揮発性メモリ74には、例えばエンコーダ装置ECBの稼働前に実測した2相の信号SA,SBとデジタル信号DABとの位相差Δθ(図12(B)参照)の情報が制御部76によって書き込まれている。絶対値処理部68で求められる角度の位相差及び角速度の位相差の情報、並びに不揮発性メモリ74から読み出される位相差Δθの情報は切替信号生成部66に供給される。切替信号生成部66では、その位相差Δθ等の情報を用いて、図12(C)に示すように、検出信号SBが(0°−Δθ)から(180°−Δθ)までの期間でハイレベルとなり、それ以外の期間でローレベルとなるXY切替信号SXYを生成する。 Information on the phase difference Δθ (see FIG. 12B) between the two-phase signals SA and SB and the digital signal DAB actually measured before the operation of the encoder device ECB is written to the non-volatile memory 74 by the control unit 76, for example. ing. The information on the phase difference of the angle and the phase difference of the angular velocity obtained by the absolute value processing unit 68, and the information of the phase difference Δθ read from the non-volatile memory 74 are supplied to the switching signal generation unit 66. In the switching signal generation unit 66, the detection signal SB is high in the period from (0 ° −Δθ) to (180 ° −Δθ) as shown in FIG. 12C by using the information such as the phase difference Δθ. It generates an XY switching signal SXY that becomes a level and becomes a low level in other periods.

第2検出部11Bの検出信号を処理する第2回路部48Bの構成は第1回路部48Aと同様である。第2回路部48Bは、第2検出部11Bの受光素子32FA,32FBの検出信号、及び受光素子群54Bの検出信号を用いて、ディスク6(回転軸SF)の1回転内の回転角θBをインクリメンタルスケール9SIの1周期の1/4より微細な分解能で求め、求めた回転角θBの情報を位置出力部80に供給する。位置検出部80では、一例として2つの回転角θA及びθBの平均値を検出された回転角θTとして求め、求めた回転角θTを図1の合成部23に供給する。その回転角θT及び図1の多回転情報検出部3で求められる多回転情報を用いてモータMの動作が制御される。 The configuration of the second circuit unit 48B that processes the detection signal of the second detection unit 11B is the same as that of the first circuit unit 48A. The second circuit unit 48B uses the detection signals of the light receiving elements 32FA and 32FB of the second detection unit 11B and the detection signals of the light receiving element group 54B to set the rotation angle θB within one rotation of the disk 6 (rotation axis SF). It is obtained with a resolution finer than 1/4 of one cycle of the incremental scale 9SI, and the obtained information on the rotation angle θB is supplied to the position output unit 80. As an example, the position detection unit 80 obtains the average value of the two rotation angles θA and θB as the detected rotation angle θT, and supplies the obtained rotation angle θT to the synthesis unit 23 of FIG. The operation of the motor M is controlled by using the rotation angle θT and the multi-rotation information obtained by the multi-rotation information detection unit 3 in FIG.

次に、本実施形態のエンコーダ装置ECBの位置決め方法及び検出方法の一例につき図14(A)のフローチャートを参照して説明する。まず、図14(A)のステップ160において、エンコーダ装置ECBを構成するディスク6、支持部材52、並びに検出部11A,11B及び検出回路部21が取り付けられた基板50等の部材の製造が行われ、ディスク6が回転軸SFの円板5の表面にボルト17によって取り付けられ、支持部材52が不図示の本体部に固定される。そして、ステップ162において、図13(A)に示すように、2つのボルト17Bを用いて基板50を支持部材52に取り付ける。この際に、第1検出部11A及び第2検出部11Bのディスク6の半径方向(R方向)の位置をパターン9Sの位置に合わせるように、第1検出部11Aの半径方向(R方向)及び第2検出部11Bの半径方向(R方向)の位置を調整する。一例として、ディスク6をθ方向に回転しながら第1検出部11Aの受光素子32EA,32EB(又は受光素子群54A)の検出信号、及び第2検出部11Bの受光素子32FA,32FB(又は受光素子群54B)の検出信号をモニタし、まずは第1検出部11Aの受光素子32EA,32EB(又は受光素子群54A)の検出信号が最大になるように支持部材52に対する基板50のR方向の位置を調整し、その後、第2検出部11Bの受光素子32FA,32FB(又は受光素子群54B)の検出信号が最大になるように支持部材52に対する基板50のR方向の位置を調整する。これらの調整のためには、一例として支持部材52に対する基板50の位置を調整しながら2箇所のボルト17Bを固定すればよい。これによって、第1検出部11Aの受光素子32EA,32EB、及び第2検出部11Bの受光素子32FA,32FBに対するインクリメンタルスケール9SIからの反射光が最適化され、第1検出部11Aの受光素子群54A、及び第2検出部11Bの受光素子群54Bに対するアブソリュートスケール9SAからの反射光が最適化される。このため、角度検出部4では高いSN比で高精度にディスク6の回転角を検出できる。 Next, an example of the positioning method and the detection method of the encoder device ECB of the present embodiment will be described with reference to the flowchart of FIG. 14 (A). First, in step 160 of FIG. 14A, members such as a disk 6 constituting the encoder device ECB, a support member 52, and a substrate 50 to which the detection units 11A and 11B and the detection circuit unit 21 are attached are manufactured. The disc 6 is attached to the surface of the disk 5 of the rotating shaft SF by bolts 17, and the support member 52 is fixed to a main body (not shown). Then, in step 162, as shown in FIG. 13A, the substrate 50 is attached to the support member 52 using two bolts 17B. At this time, the radial direction (R direction) of the first detection unit 11A and the position in the radial direction (R direction) of the disk 6 of the first detection unit 11A and the second detection unit 11B are aligned with the position of the pattern 9S. The position of the second detection unit 11B in the radial direction (R direction) is adjusted. As an example, the detection signals of the light receiving elements 32EA and 32EB (or the light receiving element group 54A) of the first detection unit 11A and the light receiving elements 32FA and 32FB (or the light receiving elements) of the second detection unit 11B while rotating the disk 6 in the θ direction. The detection signal of the group 54B) is monitored, and first, the position of the substrate 50 with respect to the support member 52 in the R direction is set so that the detection signals of the light receiving elements 32EA and 32EB (or the light receiving element group 54A) of the first detection unit 11A are maximized. After that, the position of the substrate 50 with respect to the support member 52 in the R direction is adjusted so that the detection signals of the light receiving elements 32FA and 32FB (or the light receiving element group 54B) of the second detection unit 11B are maximized. For these adjustments, as an example, two bolts 17B may be fixed while adjusting the position of the substrate 50 with respect to the support member 52. As a result, the reflected light from the incremental scale 9SI with respect to the light receiving elements 32EA and 32EB of the first detection unit 11A and the light receiving elements 32FA and 32FB of the second detection unit 11B is optimized, and the light receiving element group 54A of the first detection unit 11A , And the reflected light from the absolute scale 9SA with respect to the light receiving element group 54B of the second detection unit 11B is optimized. Therefore, the angle detection unit 4 can detect the rotation angle of the disk 6 with high accuracy with a high SN ratio.

このように検出信号の振幅をモニタしながら第1検出部11AのR方向及び第2検出部11BのR方向の位置を調整するのは比較的容易である。ところが、この場合には、図13(B)に示すように、第1検出部11A及び第2検出部11Bのθ方向の位置が目標とする位置からずれる恐れがある。一例として、第1検出部11Aの中心(例えばLED31Aの中心)がθ方向に目標位置からδ1だけずれ、第2検出部11Bの中心(例えばLED31Bの中心)がθ方向に目標位置からδ2だけずれている。そのθ方向の位置のずれには、基板50に対する検出部11A,11Bの取り付け位置及び取り付け角度の誤差等も含まれている。この結果、第1検出部11Aにおいては、図12(A)、(D)の検出信号SA,SBと検出信号ABX,ABYとの位相差が目標値(例えば0)から所定の第1角度誤差だけずれ、第2検出部11Bにおいても、インクリメンタルスケール9SIから得られる検出信号とアブソリュートスケール9SAから得られる検出信号との位相差が目標値から所定の第2角度誤差だけずれている。 In this way, it is relatively easy to adjust the positions of the first detection unit 11A in the R direction and the second detection unit 11B in the R direction while monitoring the amplitude of the detection signal. However, in this case, as shown in FIG. 13B, the positions of the first detection unit 11A and the second detection unit 11B in the θ direction may deviate from the target positions. As an example, the center of the first detection unit 11A (for example, the center of LED31A) deviates from the target position by δ1 in the θ direction, and the center of the second detection unit 11B (for example, the center of LED31B) deviates from the target position by δ2 in the θ direction. ing. The deviation of the position in the θ direction includes an error in the mounting position and mounting angle of the detection units 11A and 11B with respect to the substrate 50. As a result, in the first detection unit 11A, the phase difference between the detection signals SA and SB of FIGS. 12A and 12A and the detection signals ABX and ABY is a predetermined first angle error from the target value (for example, 0). Also in the second detection unit 11B, the phase difference between the detection signal obtained from the incremental scale 9SI and the detection signal obtained from the absolute scale 9SA is deviated from the target value by a predetermined second angle error.

そこで、ステップ164において、第1検出部11Aに関して、不揮発性メモリ74から切替信号生成部66に供給する位相差Δθを0に設定した状態で、増幅器58Cから出力される絶対値信号ABSと、検出信号SA,SBとの位相差Δθ(第1角度誤差に相当する)を検出し、検出した位相差Δθを制御部76を介して不揮発性メモリ74に記憶させる。同様に、第2検出部11Bに関しても、受光素子32FA,32FBの検出信号と受光素子群54Bの検出信号との位相差(第2角度誤差に相当する)を検出し、検出した位相差を第2回路部48B内の不揮発性メモリに記憶させる。 Therefore, in step 164, with respect to the first detection unit 11A, the absolute value signal ABS output from the amplifier 58C and the detection in a state where the phase difference Δθ supplied from the non-volatile memory 74 to the switching signal generation unit 66 is set to 0. The phase difference Δθ (corresponding to the first angle error) with the signals SA and SB is detected, and the detected phase difference Δθ is stored in the non-volatile memory 74 via the control unit 76. Similarly, the second detection unit 11B also detects the phase difference (corresponding to the second angle error) between the detection signals of the light receiving elements 32FA and 32FB and the detection signal of the light receiving element group 54B, and determines the detected phase difference. 2 Stored in the non-volatile memory in the circuit unit 48B.

その後、エンコーダ装置ECBの稼働が開始され、ステップ166において、第1検出部11Aにおいて図11の切替信号生成部66から位相差Δθで補正されたXY切替信号SXYがセレクタ群56Aに供給されて、2つのABS信号ABX及びABYをつなぐ角度が補正され、補正によって常に安定した信号レベルの絶対値信号ABSを用いてディスク6の回転情報が高精度に検出される。同様に第2検出部11Bにおいても、第2回路部48B内で補正されたXY切替信号SXYを用いることで、ディスク6の回転情報が高精度に検出される。その後、ステップ168で検出を続行する場合にはステップ166が繰り返される。 After that, the operation of the encoder device ECB is started, and in step 166, the XY switching signal SXY corrected by the phase difference Δθ is supplied to the selector group 56A from the switching signal generation unit 66 of FIG. 11 in the first detection unit 11A. The angle connecting the two ABS signals ABX and ABY is corrected, and the rotation information of the disk 6 is detected with high accuracy by using the absolute value signal ABS of the signal level that is always stable by the correction. Similarly, in the second detection unit 11B, the rotation information of the disk 6 is detected with high accuracy by using the XY switching signal SXY corrected in the second circuit unit 48B. After that, if the detection is continued in step 168, step 166 is repeated.

なお、本実施形態のように位相差Δθ(角度誤差)の補正を行うことなく位相差Δθを0とした場合(比較例)には、図11のシフトレジスタ56Bから出力される絶対値信号ABS’ は、図12(G)に示すように、信号レベルの変動が大きくなる。このため、絶対値信号ABS’ を2値化したときに、正しいアブソリュートスケール9SAのパターンが得られなくなり、絶対値の検出誤差が生じる恐れがある。 When the phase difference Δθ is set to 0 (comparative example) without correcting the phase difference Δθ (angle error) as in the present embodiment, the absolute value signal ABS output from the shift register 56B in FIG. 11 is used. In', as shown in FIG. 12 (G), the fluctuation of the signal level becomes large. Therefore, when the absolute value signal ABS'is binarized, the correct pattern of the absolute scale 9SA cannot be obtained, and there is a possibility that an absolute value detection error may occur.

このように本実施形態のエンコーダ装置ECBの位置決め方法は、回転移動するディスク6(移動部)の回転移動方向に沿って設けられたパターン9Sからの光を検出して第1検出信号SA,SBを出力する第1検出部11Aと、第1検出部211Aに対してディスク6の回転移動方向に沿って所定角度離れた位置に配置され、パターン9Sからの光を検出して第2検出信号を出力する第2検出部11Bと、第1検出信号SA,SB及びその第2検出信号によりディスク6の回転情報を求める検出回路部21(演算部)と、第1検出部11A及び第2検出部11Bを一体的に支持する基板50(支持部材)と、を備えるエンコーダ装置の位置決め方法であって、第1検出部11A及び第2検出部11Bをそれぞれディスク6の回転移動の半径方向に位置決めするステップ162を含むものである。 As described above, the positioning method of the encoder device ECB of the present embodiment detects the light from the pattern 9S provided along the rotational movement direction of the rotating disk 6 (moving portion) and detects the first detection signals SA, SB. The first detection unit 11A and the first detection unit 211A are arranged at positions separated from each other by a predetermined angle along the rotational movement direction of the disk 6, detect the light from the pattern 9S, and output the second detection signal. The second detection unit 11B to be output, the detection circuit unit 21 (calculation unit) that obtains the rotation information of the disk 6 from the first detection signals SA and SB and the second detection signal thereof, and the first detection unit 11A and the second detection unit. A method for positioning an encoder device including a substrate 50 (support member) that integrally supports 11B, in which the first detection unit 11A and the second detection unit 11B are respectively positioned in the radial direction of the rotational movement of the disk 6. It includes step 162.

この位置決め方法によれば、ディスク6(パターン9S)に対する第1検出部11A及び第2検出部11Bの位置決めを容易に高精度に行うことができる。
また、半径方向に位置決めした際の第1検出部11A及び第2検出部11Bの回転方向の位置ずれ(角度誤差)は、例えば第1検出部11A及び第2検出部11B内のアブソリュートスケール9SAの反射光の検出信号の位相(2系統の絶対値信号ABX,ABYをつなぎ合わせる位相)を補正することで、電気的に高精度に補正できる。
なお、本実施形態における2つの第1検出部11A及び第2検出部11Bの間の角度は90°であるが、その角度は例えば180°以外の任意の角度でもよい。
According to this positioning method, the first detection unit 11A and the second detection unit 11B can be easily and highly accurately positioned with respect to the disk 6 (pattern 9S).
Further, the positional deviation (angle error) in the rotational direction of the first detection unit 11A and the second detection unit 11B when positioned in the radial direction is, for example, the absolute scale 9SA in the first detection unit 11A and the second detection unit 11B. By correcting the phase of the detected signal of the reflected light (the phase of connecting the two absolute value signals ABX and ABY), it can be electrically corrected with high accuracy.
The angle between the two first detection units 11A and the second detection unit 11B in the present embodiment is 90 °, but the angle may be any angle other than, for example, 180 °.

[第3の実施形態]
第3の実施形態につき図15及び図14(B)を参照して説明する。なお、図15において図10(A)から図11に対応する部分には同一の符号を付してその詳細な説明を省略する。図15は、本実施形態に係るエンコーダ装置ECCの角度検出部4Aの機構部を示す。図15において、ディスク6は図10(B)の回転軸SFの円板5に取り付けられ、ディスク6の表面に回転中心の回りに同心円状に、インクリメンタルスケール9SI及びアブソリュートスケール9SAを含む角度検出用のパターン9Sが形成されている。角度検出部4は、ディスク6のパターン9Sからの光を検出する第1検出部11A、パターン9Sからの光を異なる位置で検出する第2検出部11B、検出部11A,11Bの検出信号を処理してディスク6(回転軸SF)の1回転以内の角度θを検出する検出回路部21Aを有する。検出回路部21Aの構成は図11の検出回路部21と同様である。本実施形態では、ディスク6の回転方向(θ方向)において、第1検出部11Aに対して第2検出部11Bの位置は角度φ(0°<φ<360°)だけずれているものとする。
[Third Embodiment]
The third embodiment will be described with reference to FIGS. 15 and 14 (B). In FIG. 15, the parts corresponding to FIGS. 10A to 11 are designated by the same reference numerals, and detailed description thereof will be omitted. FIG. 15 shows the mechanical unit of the angle detection unit 4A of the encoder device ECC according to the present embodiment. In FIG. 15, the disk 6 is attached to the disk 5 of the rotation axis SF of FIG. 10B, and is used for angle detection including an incremental scale 9SI and an absolute scale 9SA concentrically around the center of rotation on the surface of the disk 6. Pattern 9S is formed. The angle detection unit 4 processes the detection signals of the first detection unit 11A for detecting the light from the pattern 9S of the disk 6, the second detection unit 11B for detecting the light from the pattern 9S at different positions, and the detection units 11A and 11B. It has a detection circuit unit 21A for detecting an angle θ within one rotation of the disk 6 (rotation axis SF). The configuration of the detection circuit unit 21A is the same as that of the detection circuit unit 21 of FIG. In the present embodiment, it is assumed that the position of the second detection unit 11B is deviated from the first detection unit 11A by an angle φ (0 ° <φ <360 °) in the rotation direction (θ direction) of the disk 6. ..

検出回路部21A内には位置出力部80Aが設けられ、位置出力部80Aには第1検出部11A及び第2検出部11Bから出力される検出信号をそれぞれ処理して得られるディスク6の回転角θA及びθBが供給されている。位置出力部80Aは、回転角θA及びθBを処理してディスク6の回転角θTを求め、求めた回転角θTの情報を図1の合成部23に供給する。図1の合成部23で求められた回転角の情報を用いて図1のモータMが制御される。 A position output unit 80A is provided in the detection circuit unit 21A, and the position output unit 80A is the rotation angle of the disk 6 obtained by processing the detection signals output from the first detection unit 11A and the second detection unit 11B, respectively. θA and θB are supplied. The position output unit 80A processes the rotation angles θA and θB to obtain the rotation angle θT of the disk 6, and supplies the information on the obtained rotation angle θT to the synthesis unit 23 in FIG. The motor M of FIG. 1 is controlled by using the information of the rotation angle obtained by the synthesis unit 23 of FIG.

次に、本実施形態のエンコーダ装置ECCの検出方法の一例につき図14(B)のフローチャートを参照して説明する。まず、図14(B)のステップ172において、エンコーダ装置の組立が行われる。次のステップ174において、例えばディスク6を1回転させながら、位置出力部80Aでは、第1検出部11A及び第2検出部11Bから出力される検出信号をそれぞれ処理して得られるディスク6の回転角θA及びθBの情報を所定のサンプリングレートで取り込む。そして、位置出力部80Aでは、取り込んだ回転角の情報を用いて以下のように検出誤差をn次高調波(nは1以上の整数)毎に算出する。回転角θA及びθBをそれぞれ関数f(θ)及びf(θ+φ)とすると、エンコーダ装置の誤差はディスク6を1回転(360°回転)することで元に戻るため、関数f(θ)及びf(θ+φ)は次のようにフーリエ級数を用いて表すことができる。 Next, an example of the detection method of the encoder device ECC of the present embodiment will be described with reference to the flowchart of FIG. 14 (B). First, in step 172 of FIG. 14B, the encoder device is assembled. In the next step 174, for example, while rotating the disk 6 once, the position output unit 80A processes the detection signals output from the first detection unit 11A and the second detection unit 11B, respectively, and the rotation angle of the disk 6 is obtained. Information on θA and θB is taken in at a predetermined sampling rate. Then, the position output unit 80A calculates the detection error for each nth harmonic (n is an integer of 1 or more) as follows using the information of the captured rotation angle. Assuming that the rotation angles θA and θB are the functions f (θ) and f (θ + φ), respectively, the error of the encoder device is restored by rotating the disk 6 once (360 ° rotation), so that the functions f (θ) and f (Θ + φ) can be expressed using the Fourier series as follows.

Figure 2021076587
これらの式において、nは高調波の次数、An はn次高調波の振幅、αn はn次高調波の初期位相、Nはディスク6のインクリメンタルスケール9SIの目盛数(周期の数)である。位置出力部80Aでは、2つの回転角の読み取り値の差分(以下、比較測定値という。)δ(θ)を求める。(1)式、(2)式を用いると、比較測定値δ(θ)は次のようになる。なお、(1)式から(3)式における角度の単位はradであるとする。
Figure 2021076587
In these formulas, n represents the order of the harmonic, A n is the n-th harmonic amplitude, alpha n is the n-th harmonic of the initial phase, N represents a scale number of incremental scale 9SI disk 6 (the number of cycles) is there. The position output unit 80A obtains the difference between the readings of the two rotation angles (hereinafter referred to as the comparative measurement value) δ (θ). Using equations (1) and (2), the comparative measurement value δ (θ) is as follows. It is assumed that the unit of angle in the equations (1) to (3) is rad.

Figure 2021076587
式(3)において、角度φ以外の部分が回転角の誤差になるため、誤差はn次高調波毎にその位相と振幅を予め計算によって求めることができる。
本実施形態において、2つの検出部11A,11Bの角度φが90°(π/2)である場合、(3)式においてφにπ/2を代入することで次式が得られる。
Figure 2021076587
In the equation (3), since the portion other than the angle φ is the error of the rotation angle, the error can be obtained by calculating the phase and the amplitude of each nth harmonic in advance.
In the present embodiment, when the angles φ of the two detection units 11A and 11B are 90 ° (π / 2), the following equation can be obtained by substituting π / 2 for φ in the equation (3).

Figure 2021076587
一方、(4)式の位相成分は、(1)式に対して(2+n)π/4だけ元の誤差に対して位相が進む。各高調波での位相シフト量は、第1高調波で(3/4)π、第2高調波でπ(逆相)、第3高調波で(5/4)π、第4高調波で(3/2)π(但し、振幅は0)、第5高調波で(7/4)π、第6高調波で2π(同相だが振幅がマイナスなので、逆相となる)、第7高調波で(9/4)π(=π/4)、第8高調波で(5/2)π(但し、振幅は0)となる。
Figure 2021076587
On the other hand, the phase component of the equation (4) advances the phase with respect to the original error by (2 + n) π / 4 with respect to the equation (1). The phase shift amount for each harmonic is (3/4) π for the first harmonic, π (opposite phase) for the second harmonic, (5/4) π for the third harmonic, and (5/4) π for the fourth harmonic. (3/2) π (however, the amplitude is 0), the 5th harmonic (7/4) π, the 6th harmonic 2π (in phase but the amplitude is negative, so the phase is opposite), the 7th harmonic (9/4) π (= π / 4), and (5/2) π (however, the amplitude is 0) at the 8th harmonic.

このように各高調波での振幅と位相とを計算できることから、比較測定値δ(θ)に対して各高調波の次数nにおける位相シフト分と振幅の増減量を補正すれば、検出結果の誤差の補正が可能になる。一例としてステップ176において、位置出力部80Aは、その各高調波の振幅と位相を計算し、計算結果を検出回路部21A内の不揮発性メモリ(不図示)に記憶しておく。そして、ステップ178において、ディスク6の回転情報を検出する際には、検出結果をその記憶した各高調波の振幅と位相を用いて補正することができる。次のステップ180で検出を続行する場合にはステップ178が繰り返される。ただし、4の倍数の次数の高調波については振幅が0になるため誤差を顕在化することはできない。また、4の倍数以外の偶数次数の高調波については、各検出部11A,11Bでの角度検出値を平均化することで誤差をリアルタイムに相殺することもできる。このフーリエ変換を行う方法では、1回の計算を行うだけで済むとともに、計算を繰り返す必要がなく、誤差残差が累積することがないため、高精度な補正が可能である。 Since the amplitude and phase of each harmonic can be calculated in this way, if the phase shift and the amount of increase / decrease in amplitude at the order n of each harmonic are corrected for the comparative measurement value δ (θ), the detection result will be obtained. Error correction is possible. As an example, in step 176, the position output unit 80A calculates the amplitude and phase of each harmonic thereof, and stores the calculation result in a non-volatile memory (not shown) in the detection circuit unit 21A. Then, in step 178, when detecting the rotation information of the disk 6, the detection result can be corrected by using the amplitude and phase of each of the stored harmonics. If the detection is continued in the next step 180, step 178 is repeated. However, for harmonics of multiples of 4, the amplitude becomes 0, so the error cannot be manifested. For even-numbered harmonics other than multiples of 4, errors can be canceled out in real time by averaging the angle detection values of the detection units 11A and 11B. In this method of performing the Fourier transform, only one calculation is required, the calculation does not need to be repeated, and the error residuals do not accumulate, so that highly accurate correction is possible.

また、フーリエ変換の計算を行うことなく検出結果の誤差を高調波の次数毎に補正するために以下のようなa1)〜a8)の処理を行ってもよい。この方法では複雑な計算が不要(四則演算のみで済む)であり、検出回路部21A側の負担が軽く済む。
a1)式(3)の比較測定値δ(θ)(検出部11A,11Bの検出結果の差分)をディスク6の1回転分(1周分)だけ取得する。
a2)比較測定値δ(θ)に対して、位相が(3/4)π進んだ、+21/2 倍の振幅の波形を生成する。
a3)a2)で生成した波形から、傾斜補正用のデータを生成する。
a4)検出回路部21A内の記憶部にa3)で生成したデータを書き込む。この時点で、誤差の1次高調波成分が相殺される。同時に(8x±1)の倍数次(xは1から始まる自然数)の高調波成分についても元の誤差と位相と振幅が合うため、誤差が補正される。1次または(8x±1)の倍数次の高調波以外の誤差については元の誤差曲線と違う振幅・位相になる。
Further, the following processes a1) to a8) may be performed in order to correct the error of the detection result for each harmonic order without calculating the Fourier transform. This method does not require complicated calculations (only four arithmetic operations are required), and the burden on the detection circuit unit 21A side is lightened.
a1) The comparative measurement value δ (θ) (difference between the detection results of the detection units 11A and 11B) of the equation (3) is acquired for one rotation (one round) of the disk 6.
a2) Generates a waveform with an amplitude of +2 1/2 times that the phase is advanced by (3/4) π with respect to the comparative measurement value δ (θ).
Data for tilt correction is generated from the waveforms generated in a3) and a2).
a4) The data generated in a3) is written in the storage unit in the detection circuit unit 21A. At this point, the first harmonic components of the error are offset. At the same time, the error is corrected because the original error matches the phase and amplitude of the harmonic component of the multiple order (x is a natural number starting from 1) of (8x ± 1). For errors other than first-order or (8x ± 1) multiple-order harmonics, the amplitude and phase will be different from the original error curve.

a5)a1)〜a4)と同様に、誤差の2次高調波成分について補正を行う。この時点で、誤差の2次高調波成分が相殺されるだけでなく、(8x±2)の倍数次の高調波成分についても、上記a4)で残差となった誤差に対して位相と振幅が合うため、誤差が補正される。残った誤差時数については元の誤差曲線と異なる振幅・位相となってしまうが、1次および(8x±1)の倍数次の高調波については既に誤差が相殺されていることから、1次および(8x±1)の倍数次の高調波の誤差振幅は0のままとなる。
a6)a5)と同様に、誤差の3次高調波成分についても補正を行う。同様に、誤差の3次高調波成分が相殺される。また、(8x±3)の倍数次の高調波成分についても、a4)で残差となった誤差に対して位相と振幅が合うため、誤差が補正される。この時点で、4(の倍数)次以外の高調波成分は誤差が相殺される。
a7)4次及び4の倍数の次数の高調波については、誤差が顕在化しないことから、補正する必要がない。
In the same manner as in a5) a1) to a4), the second harmonic component of the error is corrected. At this point, not only the second harmonic component of the error is canceled out, but also the harmonic component of the multiple order of (8x ± 2) has the phase and amplitude with respect to the error remaining in a4) above. Therefore, the error is corrected. The remaining error time will have a different amplitude and phase from the original error curve, but for the first-order and (8x ± 1) multiple-order harmonics, the error has already been offset, so the first-order. And the error amplitude of the harmonics of multiples of (8x ± 1) remains zero.
Similar to a6) and a5), the third harmonic component of the error is also corrected. Similarly, the third harmonic component of the error is offset. Also, for harmonic components of multiples of (8x ± 3), the error is corrected because the phase and amplitude match the error that became the residual in a4). At this point, the errors are canceled out for harmonic components other than the 4th (multiple) order.
a7) Harmonics of the 4th order and the order of multiples of 4 do not need to be corrected because the error does not become apparent.

この方法は計算負荷が軽いため、検出回路部21Aを容易に構成できる。なお、この方法では、補正したい次数以外の誤差成分の振幅が変化するが、既に相殺した次数の誤差については、理論的には誤差振幅が0になるため、理論上では問題は発生しない。 Since this method has a light calculation load, the detection circuit unit 21A can be easily configured. In this method, the amplitude of the error component other than the order to be corrected changes, but the error amplitude is theoretically 0 for the error of the order that has already been offset, so that no problem theoretically occurs.

このように本実施形態のエンコーダ装置ECCの位置検出方法は、回転移動するディスク6(移動部)の回転移動方向に沿って設けられたパターン9Sからの光を検出して第1検出信号SA,SBを出力する第1検出部11Aと、第1検出部211Aに対してディスク6の回転移動方向に沿って所定角度離れた位置に配置され、パターン9Sからの光を検出して第2検出信号を出力する第2検出部11Bと、第1検出信号SA,SB及びその第2検出信号によりディスク6の回転情報を求める検出回路部21A(演算部)とを備えるエンコーダ装置の位置検出方法であって、その第1検出信号から求められるディスク6の回転情報と、その第2検出信号から求められるディスク6の回転情報との差分からその回転情報の誤差を求めるステップ174,176と、その第1検出信号、その第2検出信、及びその誤差を用いてディスク6の回転情報を求めるステップ178とを含むものである。
この位置検出方法によれば、ディスク6(パターン9S)の回転情報を高精度に求めることができる。
As described above, the position detection method of the encoder device ECC of the present embodiment detects the light from the pattern 9S provided along the rotational movement direction of the rotating disk 6 (moving portion) and detects the first detection signal SA, The first detection unit 11A that outputs SB and the first detection unit 211A are arranged at positions separated by a predetermined angle along the rotational movement direction of the disk 6, and the light from the pattern 9S is detected to detect the second detection signal. This is a position detection method for an encoder device including a second detection unit 11B for outputting the above, and a detection circuit unit 21A (calculation unit) for obtaining rotation information of the disk 6 from the first detection signals SA, SB and the second detection signal. Then, steps 174 and 176 for obtaining the error of the rotation information from the difference between the rotation information of the disk 6 obtained from the first detection signal and the rotation information of the disk 6 obtained from the second detection signal, and the first step. It includes a detection signal, a second detection signal thereof, and step 178 for obtaining rotation information of the disk 6 using the error.
According to this position detection method, the rotation information of the disk 6 (pattern 9S) can be obtained with high accuracy.

なお、上述の実施形態において、位置検出系2は、移動情報として回転軸SF(移動部)の回転位置情報を検出するが、移動情報として所定方向の位置、速度、加速度の少なくとも一つを検出してもよい。エンコーダ装置EC,ECA,ECB,ECCは、ロータリーエンコーダを含んでもよいし、リニアエンコーダを含んでもよい。また、エンコーダ装置EC,ECA,ECB,ECCは、反射型のエンコーダであるが、透過型のエンコーダであってもよい。 In the above-described embodiment, the position detection system 2 detects the rotation position information of the rotation axis SF (moving unit) as the movement information, but detects at least one of the position, speed, and acceleration in the predetermined direction as the movement information. You may. The encoder devices EC, ECA, ECB, and ECC may include a rotary encoder or a linear encoder. The encoder devices EC, ECA, ECB, and ECC are reflection type encoders, but may be transmission type encoders.

[駆動装置]
駆動装置の一例について説明する。図16は、駆動装置MTRの一例を示す図である。以下の説明において、上記した実施形態と同一または同等の構成部分については同一符号を付けて説明を省略または簡略化する。この駆動装置MTRは、電動モータを含むモータ装置である。駆動装置MTRは、回転軸SFと、回転軸SFを回転駆動する本体部(駆動部)BDと、回転軸SFの回転位置情報を検出するエンコーダ装置ECとを有している。なお、エンコーダ装置ECの代わりにエンコーダ装置ECA,ECBを備えていてもよい(以下同様)。
[Drive]
An example of the drive device will be described. FIG. 16 is a diagram showing an example of the drive device MTR. In the following description, the same or equivalent components as those in the above-described embodiment are designated by the same reference numerals to omit or simplify the description. This drive device MTR is a motor device including an electric motor. The drive device MTR includes a rotation axis SF, a main body (drive unit) BD that rotationally drives the rotation axis SF, and an encoder device EC that detects rotation position information of the rotation axis SF. The encoder devices ECA and ECB may be provided instead of the encoder device EC (the same applies hereinafter).

回転軸SFは、負荷側端部SFaと、反負荷側端部SFbとを有している。負荷側端部SFaは、減速機など他の動力伝達機構に接続される。反負荷側端部SFbには、固定部を介してディスク6が固定される。このディスク6に対応させて、エンコーダ装置ECが取り付けられている。エンコーダ装置ECは、上述した実施形態、変形例、あるいはその組み合わせに係るエンコーダ装置である。 The rotating shaft SF has a load-side end SFa and a non-load-side end SFb. The load side end SFa is connected to another power transmission mechanism such as a speed reducer. The disk 6 is fixed to the counterload side end SFb via the fixing portion. An encoder device EC is attached corresponding to this disk 6. The encoder device EC is an encoder device according to the above-described embodiment, modification, or combination thereof.

この駆動装置MTRは、エンコーダ装置ECの検出結果を使って、図1に示したモータ制御部26が本体部BDを制御する。駆動装置MTRは、エンコーダ装置ECを用いて検出される回転軸SFの回転情報を用いて高精度に回転軸SFを駆動できる。なお、駆動装置MTRは、モータ装置に限定されず、油圧や空圧を利用して回転する軸部を有する他の駆動装置であってもよい。 In this drive device MTR, the motor control unit 26 shown in FIG. 1 controls the main body unit BD using the detection result of the encoder device EC. The drive device MTR can drive the rotation axis SF with high accuracy by using the rotation information of the rotation axis SF detected by using the encoder device EC. The drive device MTR is not limited to the motor device, and may be another drive device having a shaft portion that rotates using hydraulic pressure or pneumatic pressure.

[ステージ装置]
ステージ装置の一例について説明する。図17は、ステージ装置STGを示す。このステージ装置STGは、図16に示した駆動装置MTRの回転軸SFのうち負荷側端部SFaに、回転テーブル(移動物体)TBを取り付けた構成である。以下の説明において、上記した実施形態と同一または同等の構成部分については同一符号を付けて説明を省略または簡略化する。
[Stage device]
An example of the stage device will be described. FIG. 17 shows the stage device STG. This stage device STG has a configuration in which a rotary table (moving object) TB is attached to the load side end SFa of the rotary shaft SF of the drive device MTR shown in FIG. In the following description, the same or equivalent components as those in the above-described embodiment are designated by the same reference numerals to omit or simplify the description.

ステージ装置STGは、駆動装置MTRを駆動して回転軸SFを回転させると、この回転が回転テーブルTBに伝達される。その際、エンコーダ装置ECは、回転軸SFの角度位置等を検出する。従って、エンコーダ装置ECからの出力を用いることにより、回転テーブルTBの角度位置を検出することができる。なお、駆動装置MTRの負荷側端部SFaと回転テーブルTBとの間に減速機等が配置されてもよい。 When the stage device STG drives the drive device MTR to rotate the rotation shaft SF, this rotation is transmitted to the rotary table TB. At that time, the encoder device EC detects the angular position of the rotation axis SF and the like. Therefore, the angular position of the rotary table TB can be detected by using the output from the encoder device EC. A speed reducer or the like may be arranged between the load side end SFa of the drive device MTR and the rotary table TB.

ステージ装置STGは、エンコーダ装置ECを用いて高精度に回転軸SFを駆動できるため、回転テーブルTBを高精度に制御できる。なお、ステージ装置STGは、例えば、旋盤等の工作機械に備える回転テーブル等に適用できる。
[ロボット装置]
ロボット装置の一例について説明する。図18は、ロボット装置RBTを示す斜視図である。なお、図18には、ロボット装置RBTの一部(関節部分)を模式的に示した。以下の説明において、上記した実施形態と同一または同等の構成部分については同一符号を付けて説明を省略または簡略化する。このロボット装置RBTは、第1アームAR1と、第2アームAR2と、関節部JTとを有している。第1アームAR1は、関節部JTを介して、第2アームAR2と接続されている。
Since the stage device STG can drive the rotary shaft SF with high accuracy by using the encoder device EC, the rotary table TB can be controlled with high accuracy. The stage device STG can be applied to, for example, a rotary table provided in a machine tool such as a lathe.
[Robot device]
An example of a robot device will be described. FIG. 18 is a perspective view showing the robot device RBT. Note that FIG. 18 schematically shows a part (joint portion) of the robot device RBT. In the following description, the same or equivalent components as those in the above-described embodiment are designated by the same reference numerals to omit or simplify the description. This robot device RBT has a first arm AR1, a second arm AR2, and a joint portion JT. The first arm AR1 is connected to the second arm AR2 via the joint JT.

第1アームAR1は、腕部91、軸受91a、及び軸受91bを備えている。第2アームAR2は、腕部92及び接続部92aを有する。接続部92aは、関節部JTにおいて、軸受91aと軸受91bの間に配置されている。接続部92aは、回転軸SF2と一体的に設けられている。回転軸SF2は、関節部JTにおいて軸受91aと軸受91bの両方に挿入されている。回転軸SF2のうち軸受91bに挿入される側の端部は、軸受91bを貫通して減速機RGに接続されている。 The first arm AR1 includes an arm portion 91, a bearing 91a, and a bearing 91b. The second arm AR2 has an arm portion 92 and a connecting portion 92a. The connecting portion 92a is arranged between the bearing 91a and the bearing 91b in the joint portion JT. The connecting portion 92a is provided integrally with the rotating shaft SF2. The rotary shaft SF2 is inserted into both the bearing 91a and the bearing 91b at the joint portion JT. The end of the rotating shaft SF2 on the side inserted into the bearing 91b penetrates the bearing 91b and is connected to the speed reducer RG.

減速機RGは、駆動装置MTRに接続されており、駆動装置MTRの回転を例えば100分の1等に減速して回転軸SF2に伝達する。図18に図示しないが、駆動装置MTRの回転軸SFのうち負荷側端部SFaは、減速機RGに接続されている。また、駆動装置MTRの回転軸SFのうち反負荷側端部SFbには、エンコーダ装置ECのディスク6が取り付けられている。 The speed reducer RG is connected to the drive device MTR, and reduces the rotation of the drive device MTR to, for example, 1/100 or the like and transmits it to the rotation shaft SF2. Although not shown in FIG. 18, the load side end SFa of the rotation shaft SF of the drive device MTR is connected to the speed reducer RG. Further, a disk 6 of the encoder device EC is attached to the counterload side end SFb of the rotating shaft SF of the drive device MTR.

ロボット装置RBTは、駆動装置MTRを駆動して回転軸SFを回転させると、この回転が減速機RGを介して回転軸SF2に伝達される。回転軸SF2の回転により接続部92aが一体的に回転し、これにより第2アームAR2が、第1アームAR1に対して回転する。その際、エンコーダ装置ECは、回転軸SFの角度位置等を検出する。従って、エンコーダ装置ECからの出力により、第2アームAR2の角度位置を検出することができる。 When the robot device RBT drives the drive device MTR to rotate the rotation shaft SF, this rotation is transmitted to the rotation shaft SF2 via the speed reducer RG. The rotation of the rotation shaft SF2 causes the connection portion 92a to rotate integrally, whereby the second arm AR2 rotates with respect to the first arm AR1. At that time, the encoder device EC detects the angular position of the rotation axis SF and the like. Therefore, the angular position of the second arm AR2 can be detected by the output from the encoder device EC.

ロボット装置RBTは、エンコーダ装置ECを用いて高精度に位置決めを行うことができる。なお、ロボット装置RBTは、上記の構成に限定されず、駆動装置MTRは、関節を備える各種ロボット装置に適用できる。 The robot device RBT can perform positioning with high accuracy by using the encoder device EC. The robot device RBT is not limited to the above configuration, and the drive device MTR can be applied to various robot devices having joints.

2…位置検出系、3…多回転情報検出部、4…角度検出部、6…ディスク、8A〜8D…半輪帯状のパターン、10A…第1検出部、10B…第2検出部、11A…第1検出部、11B…第2検出部、13…制御部、14…記憶部、15…バッテリ、22…信号合成部、26…モータ制御部、31,34…LED、32A〜32E,35A〜35E…受光素子、33A,33B,36A,36B…アナログコンパレータ、39…発光制御部、40…演算制御部、EC,ECA,ECB,ECC…エンコーダ装置、SF…回転軸、M…モータ、AR1…第1アーム、AR2…第2アーム、MTR…駆動装置、RBT…ロボット装置、STG…ステージ装置 2 ... Position detection system, 3 ... Multi-rotation information detection unit, 4 ... Angle detection unit, 6 ... Disc, 8A to 8D ... Half-ring band pattern, 10A ... First detection unit, 10B ... Second detection unit, 11A ... 1st detection unit, 11B ... 2nd detection unit, 13 ... control unit, 14 ... storage unit, 15 ... battery, 22 ... signal synthesis unit, 26 ... motor control unit, 31,34 ... LED, 32A to 32E, 35A to 35E ... light receiving element, 33A, 33B, 36A, 36B ... analog comparator, 39 ... light emission control unit, 40 ... arithmetic control unit, EC, ECA, ECB, ECC ... encoder device, SF ... rotary axis, M ... motor, AR1 ... 1st arm, AR2 ... 2nd arm, MTR ... drive device, RBT ... robot device, STG ... stage device

Claims (22)

移動部のパターンに光を照射し、前記パターンからの光を検出して前記移動部の移動に関して互いに位相の異なる第1検出信号と第2検出信号とを出力する第1検出部と、
前記第1検出部に対して前記移動部の移動方向に沿った異なる位置に配置され、前記パターンに光を照射し、前記パターンからの光を検出して第3検出信号を出力する第2検出部と、
前記第1検出信号と前記第2検出信号とにより前記移動部の移動情報を求める状態と、前記第1検出信号と前記第2検出信号の一方と前記第3検出信号とにより前記移動情報を求める状態とを切り替える制御部と、
前記制御部によって切り替えた状態の検出信号により前記移動情報を求める演算部と、を備えるエンコーダ装置。
A first detection unit that irradiates a pattern of the moving unit with light, detects light from the pattern, and outputs a first detection signal and a second detection signal having different phases with respect to the movement of the moving unit.
A second detection that is arranged at different positions along the moving direction of the moving unit with respect to the first detecting unit, irradiates the pattern with light, detects the light from the pattern, and outputs a third detection signal. Department and
The movement information of the moving unit is obtained from the first detection signal and the second detection signal, and the movement information is obtained from one of the first detection signal, the second detection signal, and the third detection signal. A control unit that switches between states and
An encoder device including a calculation unit that obtains movement information from a detection signal in a state of being switched by the control unit.
前記第2検出部は、前記移動部の移動に関して前記第1検出信号と前記第2検出信号の
一方と同位相の前記第3検出信号を出力する請求項1に記載のエンコーダ装置。
The encoder device according to claim 1, wherein the second detection unit outputs the third detection signal having the same phase as one of the first detection signal and the second detection signal with respect to the movement of the moving unit.
前記パターンは前記移動部の移動方向に関して前記移動部の互いに異なる位置に配置された複数の部分パターンを含み、
前記第1検出部と前記第2検出部は、前記パターンの位置関係に対応した位置関係で前記移動部に対して配置されている請求項1または2に記載のエンコーダ装置。
The pattern includes a plurality of partial patterns arranged at different positions of the moving portion with respect to the moving direction of the moving portion.
The encoder device according to claim 1 or 2, wherein the first detection unit and the second detection unit are arranged with respect to the moving unit in a positional relationship corresponding to the positional relationship of the pattern.
前記移動部は回転軸の軸回りに回転し、
前記第1検出信号と前記第2検出信号とは、前記位相が前記位置関係に応じて異なり、
前記演算部は、前記第1検出信号と第2検出信号により前記回転軸の多回転情報を検出する請求項1から3のいずれか一項に記載のエンコーダ装置。
The moving part rotates around the axis of rotation,
The first detection signal and the second detection signal have different phases depending on the positional relationship.
The encoder device according to any one of claims 1 to 3, wherein the calculation unit detects multi-rotation information of the rotation axis by the first detection signal and the second detection signal.
前記パターンは、前記移動部の移動方向に沿って互いに異なる位置に配置される第1パターンと第2パターンを含み、
前記互いに位相の異なる2つの検出信号は、前記第1検出部が前記第1パターンからの光を検出して生成された前記第1検出信号と、前記第2検出部が前記第1パターンからの光を検出して生成された前記第3検出信号とを含む請求項1から4のいずれか一項に記載のエンコーダ装置。
The pattern includes a first pattern and a second pattern arranged at different positions along the moving direction of the moving portion.
The two detection signals having different phases are the first detection signal generated by the first detection unit detecting the light from the first pattern and the second detection unit from the first pattern. The encoder device according to any one of claims 1 to 4, which includes the third detection signal generated by detecting light.
前記演算部は、
前記第1検出信号と前記第2検出信号とにより、前記第1検出信号と前記第2検出信号の一方を前記第3検出信号に変更して前記移動部の移動情報を求める請求項1から5のいずれか一項に記載のエンコーダ装置。
The calculation unit
Claims 1 to 5 for obtaining the movement information of the moving unit by changing one of the first detection signal and the second detection signal to the third detection signal by the first detection signal and the second detection signal. The encoder device according to any one of the above.
前記演算部は、前記第1検出部の検出信号と前記第2検出部の検出信号の状態の組合せにより、前記第3検出信号を用いて前記移動情報を求める請求項6に記載のエンコーダ装置。 The encoder device according to claim 6, wherein the calculation unit uses the third detection signal to obtain the movement information by combining the state of the detection signal of the first detection unit and the detection signal of the second detection unit. 前記演算部は、前記第1検出部の検出信号と前記第2検出部の検出信号の状態の遷移により、前記第3検出信号を用いて前記移動情報を求める請求項6に記載のエンコーダ装置。 The encoder device according to claim 6, wherein the calculation unit uses the third detection signal to obtain the movement information based on a state transition between the detection signal of the first detection unit and the detection signal of the second detection unit. 請求項1から8のいずれか一項に記載のエンコーダ装置と、
前記移動部に動力を供給する動力供給部と、
を備える駆動装置。
The encoder device according to any one of claims 1 to 8, and the encoder device.
A power supply unit that supplies power to the moving unit and
A drive device equipped with.
移動物体と、
前記移動物体を移動させる請求項9に記載の駆動装置と、を備えるステージ装置。
With moving objects
A stage device including the drive device according to claim 9, which moves the moving object.
請求項9に記載の駆動装置と、
前記駆動装置によって相対移動するアームと、を備えるロボット装置。
The drive device according to claim 9 and
A robot device including an arm that moves relative to each other by the drive device.
移動部のパターンに光を照射し、前記パターンからの光を検出して前記移動部の移動に関して互いに位相の異なる第1検出信号と第2検出信号とを出力する第1検出部と、
前記第1検出部に対して前記移動部の移動方向に沿った異なる位置に配置され、前記パターンに光を照射し、前記パターンからの光を検出して第3検出信号を出力する第2検出部と、
前記第1検出信号、前記第2検出信号及び前記第3検出信号のうちの、前記移動部の移動に関して互いに位相の異なる2つの検出信号により前記移動部の移動情報を求める演算部と、を備えるエンコーダ装置の使用方法であって、
前記第1検出信号と前記第2検出信号とにより前記移動部の位置情報を求める状態と、前記第1検出信号と前記第2検出信号の一方と前記第3検出信号とにより前記移動情報を求める状態とを切り替え、
切り替えた状態の検出信号により前記移動部の移動情報を求めることを含むエンコーダ装置の使用方法。
A first detection unit that irradiates a pattern of the moving unit with light, detects light from the pattern, and outputs a first detection signal and a second detection signal having different phases with respect to the movement of the moving unit.
A second detection that is arranged at different positions along the moving direction of the moving unit with respect to the first detecting unit, irradiates the pattern with light, detects the light from the pattern, and outputs a third detection signal. Department and
It includes a calculation unit that obtains movement information of the moving unit by two detection signals having different phases with respect to the movement of the moving unit among the first detection signal, the second detection signal, and the third detection signal. How to use the encoder device
The movement information is obtained from a state in which the position information of the moving portion is obtained from the first detection signal and the second detection signal, and one of the first detection signal, the second detection signal, and the third detection signal. Switch between states,
A method of using an encoder device, which comprises obtaining movement information of the moving portion from a detection signal in a switched state.
前記第1検出信号と前記第2検出信号との状態の組合せにより、前記第3検出信号を用いて前記移動情報を求めることを含む請求項12に記載のエンコーダ装置の使用方法。 The method of using the encoder device according to claim 12, wherein the movement information is obtained by using the third detection signal by combining the states of the first detection signal and the second detection signal. 前記第1検出信号と前記第2検出信号との状態の遷移により、前記第3検出信号を用いて前記移動情報を求めることを含む請求項12に記載のエンコーダ装置の使用方法。 The method of using the encoder device according to claim 12, wherein the movement information is obtained by using the third detection signal by the state transition between the first detection signal and the second detection signal. 回転移動する移動部の移動方向に沿って設けられたパターンからの光を検出して第1検出信号を出力する第1検出部と、
前記第1検出部に対して前記移動部の移動方向に沿って所定角度離れた位置に配置され、前記パターンからの光を検出して第2検出信号を出力する第2検出部と、
前記第1検出信号及び前記第2検出信号により前記移動部の回転情報を求める演算部と、
前記第1検出部及び前記第2検出部を一体的に支持する支持部材と、を備えるエンコーダ装置の位置決め方法であって、
前記第1検出部及び前記第2検出部をそれぞれ前記移動部の回転移動の半径方向に位置決めすること、
を含むエンコーダ装置の位置決め方法。
A first detection unit that detects light from a pattern provided along the movement direction of the rotating movement unit and outputs a first detection signal, and a first detection unit.
A second detection unit, which is arranged at a position separated from the first detection unit by a predetermined angle along the moving direction of the moving unit, detects light from the pattern, and outputs a second detection signal.
A calculation unit that obtains rotation information of the moving unit from the first detection signal and the second detection signal, and
A method for positioning an encoder device including a support member that integrally supports the first detection unit and the second detection unit.
Positioning the first detection unit and the second detection unit in the radial direction of the rotational movement of the moving unit, respectively.
How to position an encoder device, including.
前記所定角度は90°である請求項15に記載のエンコーダ装置の位置決め方法。 The method for positioning an encoder device according to claim 15, wherein the predetermined angle is 90 °. 請求項15または16に記載の位置決め方法で位置決めされたエンコーダ装置の位置検出方法であって、
前記第1検出信号及び前記第2検出信号はそれぞれインクリメンタル信号及びアブソリュート信号を含み、
前記演算部において、前記第1検出信号の前記インクリメンタル信号を基準として前記アブソリュート信号の位相を補正し、前記第2検出信号の前記インクリメンタル信号を基準として前記アブソリュート信号の位相を補正すること
をさらに含むエンコーダ装置の位置検出方法。
A method for detecting the position of an encoder device positioned by the positioning method according to claim 15 or 16.
The first detection signal and the second detection signal include an incremental signal and an absolute signal, respectively.
The calculation unit further includes correcting the phase of the absolute signal with reference to the incremental signal of the first detection signal, and correcting the phase of the absolute signal with reference to the incremental signal of the second detection signal. How to detect the position of the encoder device.
前記インクリメンタル信号は位相差が90°の2相の信号を含み、前記アブソリュート
信号は2系統の信号を含み、前記アブソリュート信号の位相を補正することは、前記アブソリュート信号の2系統の信号をつなぎ合わせる角度を補正することを含む請求項17に記載のエンコーダ装置の位置検出方法。
The incremental signal includes a two-phase signal having a phase difference of 90 °, the absolute signal includes two signals, and correcting the phase of the absolute signal connects the two signals of the absolute signal. The position detection method for an encoder device according to claim 17, which comprises correcting an angle.
回転移動する移動部の移動方向に沿って設けたパターンからの光を検出して前記移動部の回転移動に関して第1検出信号を出力する第1検出部と、
前記第1検出部に対して前記移動部の移動方向に沿って所定角度離れた位置に配置され、前記パターンからの光を検出して第2検出信号を出力する第2検出部と、
前記第1検出信号及び前記第2検出信により前記移動部の回転情報を求める演算部と、を備えるエンコーダ装置の位置検出方法であって、
前記第1検出信号から求められる前記移動部の回転情報と、前記第2検出信号から求められる前記移動部の回転情報との差分から前記回転情報の誤差を求めることと、
前記第1検出信号、前記第2検出信、及び前記誤差を用いて前記移動部の回転情報を求めることと、を含むエンコーダ装置の位置検出方法。
A first detection unit that detects light from a pattern provided along the movement direction of the rotating moving unit and outputs a first detection signal regarding the rotational movement of the moving unit.
A second detection unit, which is arranged at a position separated from the first detection unit by a predetermined angle along the moving direction of the moving unit, detects light from the pattern, and outputs a second detection signal.
A method for detecting the position of an encoder device including a calculation unit that obtains rotation information of the moving unit by the first detection signal and the second detection signal.
Obtaining the error of the rotation information from the difference between the rotation information of the moving portion obtained from the first detection signal and the rotation information of the moving portion obtained from the second detection signal.
A method for detecting the position of an encoder device, which comprises obtaining rotation information of the moving portion using the first detection signal, the second detection signal, and the error.
前記誤差を求めることは、前記移動部の回転角の360°を1周期とする基本波及び高調波の次数ごとに誤差を求めることを含む請求項19に記載のエンコーダ装置の位置検出方法。 The position detection method for an encoder device according to claim 19, wherein obtaining the error includes obtaining an error for each order of a fundamental wave and a harmonic having 360 ° as one cycle of the rotation angle of the moving portion. 前記第1検出信号及び前記第2検出信号はそれぞれインクリメンタル信号及びアブソリュート信号を含む請求項19または20に記載のエンコーダ装置の位置検出方法。 The position detection method for an encoder device according to claim 19 or 20, wherein the first detection signal and the second detection signal include an incremental signal and an absolute signal, respectively. 前記所定角度は90°である請求項19から21のいずれか一項に記載のエンコーダ装置の位置検出方法。 The position detection method for an encoder device according to any one of claims 19 to 21, wherein the predetermined angle is 90 °.
JP2020157932A 2019-10-31 2020-09-18 Encoder device, use method therefor, positioning method, and position detection method Pending JP2021076587A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2022550612A JPWO2022059750A1 (en) 2019-10-31 2021-09-16
PCT/JP2021/034186 WO2022059750A1 (en) 2019-10-31 2021-09-16 Encoding device, usage method therefor, positioning method therefor, and position detection method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2019199464 2019-10-31
JP2019199464 2019-10-31

Publications (1)

Publication Number Publication Date
JP2021076587A true JP2021076587A (en) 2021-05-20

Family

ID=75898758

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2020157932A Pending JP2021076587A (en) 2019-10-31 2020-09-18 Encoder device, use method therefor, positioning method, and position detection method
JP2022550612A Pending JPWO2022059750A1 (en) 2019-10-31 2021-09-16

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2022550612A Pending JPWO2022059750A1 (en) 2019-10-31 2021-09-16

Country Status (2)

Country Link
JP (2) JP2021076587A (en)
WO (1) WO2022059750A1 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6148719A (en) * 1984-08-16 1986-03-10 Fanuc Ltd Optical rotary encoder
JP2000088609A (en) * 1998-09-16 2000-03-31 Daihatsu Motor Co Ltd Angle of steering detector
JP5479236B2 (en) * 2010-06-15 2014-04-23 キヤノン株式会社 Rotary encoder
JP6786873B2 (en) * 2016-05-20 2020-11-18 株式会社ニコン Encoder device, drive device, stage device, and robot device
CN110959101B (en) * 2017-07-27 2023-01-17 株式会社尼康 Correcting device, encoder device and manufacturing method thereof
JP2020085657A (en) * 2018-11-26 2020-06-04 株式会社東海理化電機製作所 Displacement detector

Also Published As

Publication number Publication date
WO2022059750A1 (en) 2022-03-24
JPWO2022059750A1 (en) 2022-03-24

Similar Documents

Publication Publication Date Title
JP5356979B2 (en) Position measuring apparatus and operation method of position measuring apparatus
JP6147038B2 (en) Position detecting device, lens device, imaging system, and machine tool
JP5318212B2 (en) How to index an optical encoder
US8698071B2 (en) Rotary encoder having multiple slit arrays, which detects rotation angle
US10514255B2 (en) Eccentricity calculating method, rotary encoder, robotic arm and robot apparatus
JP5945973B2 (en) Encoder, motor with encoder, servo system, encoder signal processing method
US8497469B2 (en) Rotary encoder that detects rotation angle
JP2008129018A (en) Device for measuring position
EP2466267B1 (en) Absolute rotary encoder
JP2009524039A (en) Rotary encoder apparatus and method
JP2012118064A (en) Monitoring unit and method for monitoring position signal of incremental position measuring mechanism
JP2013029511A (en) Method and apparatus for angle measurement
US10209104B2 (en) Absolute encoder, processing method, program, driving apparatus, and industrial machine
JP5640732B2 (en) Encoder device, drive device, and robot device
JP7502887B2 (en) Optical Position Measuring Device
EP2963393B1 (en) Absolute encoder
JP4737598B2 (en) Encoder
WO2022059750A1 (en) Encoding device, usage method therefor, positioning method therefor, and position detection method
US20040095583A1 (en) Displacement pickup
JPS61104220A (en) Trouble-shooting circuit of body movement detecting apparatus
JP6842680B2 (en) Encoder, servo motor, servo system
JP2017187490A (en) Device and method for measuring angle
JP2021012188A (en) Angle measuring mechanism and method for operating angle measuring mechanism
JP7092535B2 (en) Encoders and methods for operating encoders
JP6924419B2 (en) Encoder, servo motor, servo system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230821