[go: up one dir, main page]

JP2018115895A - Encoder device, drive device, stage device, and robot device - Google Patents

Encoder device, drive device, stage device, and robot device Download PDF

Info

Publication number
JP2018115895A
JP2018115895A JP2017005593A JP2017005593A JP2018115895A JP 2018115895 A JP2018115895 A JP 2018115895A JP 2017005593 A JP2017005593 A JP 2017005593A JP 2017005593 A JP2017005593 A JP 2017005593A JP 2018115895 A JP2018115895 A JP 2018115895A
Authority
JP
Japan
Prior art keywords
unit
detection
pattern
position information
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2017005593A
Other languages
Japanese (ja)
Other versions
JP6878899B2 (en
Inventor
喜二 高橋
Yoshiji Takahashi
喜二 高橋
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
Priority to JP2017005593A priority Critical patent/JP6878899B2/en
Publication of JP2018115895A publication Critical patent/JP2018115895A/en
Application granted granted Critical
Publication of JP6878899B2 publication Critical patent/JP6878899B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Transmission And Conversion Of Sensor Element Output (AREA)
  • Optical Transform (AREA)

Abstract

【課題】信頼性が高いエンコーダ装置を提供する。【解決手段】エンコーダ装置は、回転体の角度位置を示す第1パターンと、第1パターンからの光を検出する第1検出部と、第1検出部の検出結果に基づいて回転体の角度位置情報を算出する第1処理部と、回転体の回転方向において光学特性値が漸次的に変化する第2パターンと、第2パターンからの光を検出する第2検出部と、第2検出部の検出結果をもとに回転体の多回転情報を算出する第2処理部と、を備える。【選択図】図1PROBLEM TO BE SOLVED: To provide a highly reliable encoder device. An encoder device has a first pattern indicating an angular position of a rotating body, a first detection unit that detects light from the first pattern, and an angular position of the rotating body based on the detection results of the first detection unit. A first processing unit that calculates information, a second pattern in which the optical characteristic value gradually changes in the rotation direction of the rotating body, a second detection unit that detects light from the second pattern, and a second detection unit. It includes a second processing unit that calculates multi-rotation information of the rotating body based on the detection result. [Selection diagram] Fig. 1

Description

本発明は、エンコーダ装置、駆動装置、ステージ装置、及びロボット装置に関する。   The present invention relates to an encoder device, a drive device, a stage device, and a robot device.

回転軸の回転の数を区別する多回転型のエンコーダ装置は、ロボット装置などの各種装置に搭載されている(例えば、下記の特許文献1参照)。   A multi-rotation type encoder device that distinguishes the number of rotations of a rotary shaft is mounted on various devices such as a robot device (see, for example, Patent Document 1 below).

特開平8−50034号公報JP-A-8-50034

本発明の第1の態様に従えば、回転体の角度位置を示す第1パターンと、第1パターンからの光を検出する第1検出部と、第1検出部の検出結果に基づいて回転体の角度位置情報を算出する第1処理部と、回転体の回転方向において光学特性値が漸次的に変化する第2パターンと、第2パターンからの光を検出する第2検出部と、第2検出部の検出結果をもとに回転体の多回転情報を算出する第2処理部と、を備えるエンコーダ装置が提供される。   According to the first aspect of the present invention, the first pattern indicating the angular position of the rotator, the first detector that detects light from the first pattern, and the rotator based on the detection result of the first detector. A first processing unit that calculates the angular position information of the second, a second pattern in which the optical characteristic value gradually changes in the rotation direction of the rotating body, a second detection unit that detects light from the second pattern, and a second There is provided an encoder device comprising: a second processing unit that calculates multi-rotation information of a rotating body based on a detection result of the detection unit.

本発明の第2の態様に従えば、移動部の位置情報を示す第1パターンと、第1パターンからの光を検出する第1検出部の検出結果に基づいて移動部の位置情報を算出する第1処理部と、移動部の移動方向において光学特性値が漸次的に変化する第2パターンと、第2パターンからの光を検出する第2検出部の検出結果をもとに移動部の位置情報を算出する第2処理部と、第1処理部が算出した移動部の位置情報と第2処理部が算出した移動部の位置情報とを比較する比較部と、を備えるエンコーダ装置が提供される。   According to the second aspect of the present invention, the position information of the moving unit is calculated based on the first pattern indicating the position information of the moving unit and the detection result of the first detection unit that detects light from the first pattern. The position of the moving unit based on the first processing unit, the second pattern in which the optical characteristic value gradually changes in the moving direction of the moving unit, and the detection result of the second detecting unit that detects light from the second pattern There is provided an encoder apparatus comprising: a second processing unit that calculates information; and a comparison unit that compares the position information of the moving unit calculated by the first processing unit and the position information of the moving unit calculated by the second processing unit. The

本発明の第3の態様に従えば、第1の態様または第2の態様のエンコーダ装置と、回転体に駆動力を供給する駆動部と、を備える駆動装置が提供される。   According to a third aspect of the present invention, there is provided a driving device including the encoder device according to the first or second aspect and a driving unit that supplies a driving force to the rotating body.

本発明の第4の態様に従えば、第3の態様の駆動装置と、駆動装置によって移動するステージと、を備えるステージ装置が提供される。   According to a fourth aspect of the present invention, there is provided a stage apparatus including the driving device according to the third aspect and a stage moved by the driving device.

本発明の第5の態様に従えば、第3の駆動装置と、駆動装置によって移動するアームと、を備えるロボット装置が提供される。   According to a fifth aspect of the present invention, there is provided a robot apparatus including a third driving device and an arm that is moved by the driving device.

第1実施形態に係るエンコーダ装置を示す図である。It is a figure which shows the encoder apparatus which concerns on 1st Embodiment. 第1実施形態に係るエンコーダ装置のスケールを示す図である。It is a figure which shows the scale of the encoder apparatus which concerns on 1st Embodiment. 第1実施形態に係る第2処理部を示す図である。It is a figure which shows the 2nd process part which concerns on 1st Embodiment. 第1実施形態に係る信号発生部を示す図である。It is a figure which shows the signal generation part which concerns on 1st Embodiment. 第1実施形態に係る電力供給部を示す図である。It is a figure which shows the electric power supply part which concerns on 1st Embodiment. 第1実施形態において第1電源から電力供給時の動作を示す図である。It is a figure which shows the operation | movement at the time of electric power supply from a 1st power supply in 1st Embodiment. 第1実施形態において第2電源から電力供給時の動作を示す図である。It is a figure which shows the operation | movement at the time of electric power supply from a 2nd power supply in 1st Embodiment. 第2実施形態に係る比較部を示す図である。It is a figure which shows the comparison part which concerns on 2nd Embodiment. 実施形態に係る駆動装置を示す図である。It is a figure which shows the drive device which concerns on embodiment. 実施形態に係るステージ装置を示す図である。It is a figure which shows the stage apparatus which concerns on embodiment. 実施形態に係るロボット装置を示す図である。It is a figure which shows the robot apparatus which concerns on embodiment.

[第1実施形態]
第1実施形態について説明する。図1は、本実施形態に係るエンコーダ装置ECを示す図である。このエンコーダ装置ECは、移動部(例、回転体、移動体)の位置情報(移動位置情報)を検出する。エンコーダ装置ECは、例えばロータリーエンコーダである。ロータリーエンコーダにおける移動部(回転体)は、例えばモータM(駆動装置、動力供給部)の回転軸SFであり、移動部の移動は、例えば所定の軸まわりの回転である。また、移動部の位置情報は、例えば、回転軸SFの回転位置情報である。回転位置情報は、多回転情報と角度位置情報との一方または双方を含む。多回転情報は、回転体(例、回転軸SF)の回転の数を示す情報である。角度位置情報は、回転体(例、回転軸SF)の1回転未満の角度位置(回転角)を示す情報である。
[First Embodiment]
A first embodiment will be described. FIG. 1 is a diagram showing an encoder device EC according to the present embodiment. The encoder device EC detects position information (moving position information) of a moving unit (eg, rotating body, moving body). The encoder device EC is, for example, a rotary encoder. The moving part (rotating body) in the rotary encoder is, for example, the rotation axis SF of the motor M (drive device, power supply part), and the movement of the moving part is, for example, rotation around a predetermined axis. Further, the position information of the moving unit is, for example, rotation position information of the rotation axis SF. The rotational position information includes one or both of multi-rotation information and angular position information. The multi-rotation information is information indicating the number of rotations of the rotating body (for example, the rotation axis SF). The angular position information is information indicating an angular position (rotation angle) of less than one rotation of the rotating body (for example, the rotation axis SF).

回転軸SFは、例えばモータMのシャフト(回転子)である。回転軸SFは、作用軸で(出力軸)もよい。作用軸は、モータMのシャフトに変速機などの動力伝達部を介して接続され、かつ負荷に接続される。エンコーダ装置ECが検出した回転位置情報は、モータ制御部MCに供給される。モータ制御部MCは、エンコーダ装置ECから供給された回転位置情報を使って、モータMの回転を制御する。モータ制御部MCは、回転軸SFの回転を制御する。   The rotating shaft SF is, for example, a shaft (rotor) of the motor M. The rotation axis SF may be an action axis (output axis). The action shaft is connected to the shaft of the motor M via a power transmission unit such as a transmission and is connected to a load. The rotational position information detected by the encoder device EC is supplied to the motor control unit MC. The motor control unit MC controls the rotation of the motor M using the rotational position information supplied from the encoder device EC. The motor control unit MC controls the rotation of the rotation shaft SF.

エンコーダ装置ECは、位置検出部1と、電力供給部2とを備える。位置検出部1は、回転軸SFの回転位置情報を検出する。エンコーダ装置ECは、例えば、多回転アブソリュートエンコーダである。エンコーダ装置ECは、多回転情報および角度位置情報を含む回転位置情報を検出可能である。位置検出部1は、多回転情報検出部3、及び角度検出部4を備える。角度検出部4は、回転軸SFの角度位置情報を検出する。多回転情報検出部3は、回転軸SFの多回転情報を検出する。   The encoder device EC includes a position detection unit 1 and a power supply unit 2. The position detection unit 1 detects rotation position information of the rotation axis SF. The encoder device EC is, for example, a multi-rotation absolute encoder. The encoder device EC can detect rotational position information including multi-rotation information and angular position information. The position detection unit 1 includes a multi-rotation information detection unit 3 and an angle detection unit 4. The angle detection unit 4 detects angular position information of the rotation axis SF. The multi-rotation information detection unit 3 detects multi-rotation information of the rotation axis SF.

エンコーダ装置ECは、例えば、エンコーダ装置ECで消費される電力の供給元が異なる通常状態とバックアップ状態とのそれぞれにおいて、回転軸SFの回転位置情報を検出する。例えば、位置検出部1の少なくとも一部(例、多回転情報検出部3、角度検出部4)は、通常状態において、第1電源PW1から供給される電力によって回転軸SFの回転位置情報を検出する。第1電源PW1は、例えば、エンコーダ装置ECが搭載される装置(例、駆動装置、ステージ装置、ロボット装置)の主電源である。上記の通常状態は、第1電源PW1の電力が投入されている状態、第1電源PW1がオンになっている状態、エンコーダ装置ECが搭載される装置に対して第1電源PW1から電力が供給されている状態、及びエンコーダ装置ECに対して第1電源PW1から電力が供給されている状態の少なくとも1つを含む。   For example, the encoder device EC detects rotational position information of the rotating shaft SF in each of a normal state and a backup state in which the power supply sources consumed by the encoder device EC are different. For example, at least a part of the position detection unit 1 (for example, the multi-rotation information detection unit 3 and the angle detection unit 4) detects the rotation position information of the rotation axis SF by the power supplied from the first power supply PW1 in the normal state. To do. The first power supply PW1 is, for example, a main power supply of a device (eg, drive device, stage device, robot device) on which the encoder device EC is mounted. In the normal state, the power of the first power supply PW1 is turned on, the first power supply PW1 is turned on, and power is supplied from the first power supply PW1 to the device on which the encoder device EC is mounted. And at least one of a state in which power is supplied from the first power supply PW1 to the encoder device EC.

例えば、第1電源PW1は、通常状態において、回転軸SFの駆動に消費される電力、及び位置検出部1の検出動作(例、角度位置情報や多回転情報を算出して検出する動作など)に消費される電力を供給する。位置検出部1の少なくとも一部は、第1電源PW1から電力供給を受けて回転軸SFの回転位置情報を検出する。モータ制御部MCは、位置検出部1の検出結果に基づいて、第1電源PW1からの電力を調整してモータMに供給することで、回転軸SFの回転を制御する。   For example, the first power supply PW1 is, in a normal state, power consumed for driving the rotation axis SF and a detection operation of the position detection unit 1 (for example, an operation for calculating and detecting angular position information and multi-rotation information). Supply the power consumed. At least a part of the position detection unit 1 receives power supply from the first power supply PW1 and detects rotational position information of the rotation shaft SF. The motor control unit MC controls the rotation of the rotating shaft SF by adjusting the electric power from the first power supply PW1 and supplying it to the motor M based on the detection result of the position detection unit 1.

位置検出部1の少なくとも一部(例、多回転情報検出部3)は、通常状態とは異なるバックアップ状態において、第1電源PW1とは異なる第2電源(例、バッテリー6)から供給される電力によって動作可能である。上記のバックアップ状態は、例えば、第1電源PW1からの電力供給が遮断された状態、第1電源PW1の電力が投入されていない状態、第1電源PW1がオフになっている状態、エンコーダ装置ECが搭載される装置に対して第1電源PW1から電力が供給されていない状態、エンコーダ装置ECに対して第1電源PW1から電力が供給されていない状態の少なくとも1状態を含む。   At least a part of the position detection unit 1 (eg, the multi-rotation information detection unit 3) is supplied with power from a second power source (eg, battery 6) different from the first power source PW1 in a backup state different from the normal state. Can be operated by. The backup state includes, for example, a state where the power supply from the first power supply PW1 is cut off, a state where the power of the first power supply PW1 is not turned on, a state where the first power supply PW1 is off, and an encoder device EC Includes at least one state in which power is not supplied from the first power source PW1 to the device on which the power is mounted, and a state in which power is not supplied from the first power source PW1 to the encoder device EC.

電力供給部2は、例えば、バックアップ状態において、位置検出部1の少なくとも一部(例、多回転情報検出部3)に対して断続的(選択的、間欠的)に電力を供給する。位置検出部1は、バックアップ状態において、電力供給部2から電力供給を受けて、回転軸SFの回転位置情報の少なくとも一部(例、多回転情報)を検出する。例えば、多回転情報検出部3は、第2電源(例、電力供給部2)から断続的に電力供給を受けて、多回転情報を断続的に検出する。バックアップ状態において多回転情報検出部3が検出した多回転情報は、例えば、第1電源PW1からの電力供給が開始されてバックアップ状態から通常状態に切り替わった際(例、駆動装置の起動時)に、モータ制御部MCによる回転軸SFの回転を制御に利用される。   For example, the power supply unit 2 intermittently (selectively, intermittently) supplies power to at least a part of the position detection unit 1 (for example, the multi-rotation information detection unit 3) in the backup state. In the backup state, the position detection unit 1 receives power supply from the power supply unit 2 and detects at least a part (for example, multi-rotation information) of the rotation position information of the rotation axis SF. For example, the multi-rotation information detection unit 3 intermittently receives the power supply from the second power source (for example, the power supply unit 2) and intermittently detects the multi-rotation information. The multi-rotation information detected by the multi-rotation information detection unit 3 in the backup state is, for example, when power supply from the first power supply PW1 is started and switched from the backup state to the normal state (for example, when the drive device is started). The rotation of the rotating shaft SF by the motor control unit MC is used for control.

多回転情報検出部3は、第1電源PW1から電力供給を受ける通常状態と、第2電源から電力供給を受けるバックアップ状態との各状態において、回転軸SFの多回転情報を検出する。例えば、エンコーダ装置ECは、第1電源PW1の電力の投入が停止された際に、通常状態からバックアップ状態に切り替わる。エンコーダ装置ECは、第1電源PW1の電力の投入が開始された際に、バックアップ状態から通常状態に切り替わる。エンコーダ装置ECが通常状態とバックアップ状態とで切り替わる際に、多回転情報検出部3は、多回転情報の検出を継続する(算出を継続する)。角度検出部4は、例えば、第1電源PW1からの電力供給が断たれたバックアップ状態において、角度情報を検出しない(算出しない)。例えば、第2電源は、バックアップ状態において角度検出部4に電力供給を行わない。角度検出部4は、例えば、バックアップ状態において電力供給が断たれた状態であり、角度位置情報を検出しない。   The multi-rotation information detection unit 3 detects multi-rotation information of the rotation shaft SF in each of a normal state in which power is supplied from the first power source PW1 and a backup state in which power is supplied from the second power source. For example, the encoder device EC switches from the normal state to the backup state when the power supply of the first power supply PW1 is stopped. The encoder device EC switches from the backup state to the normal state when the power supply of the first power supply PW1 is started. When the encoder device EC is switched between the normal state and the backup state, the multi-rotation information detection unit 3 continues to detect multi-rotation information (continues calculation). For example, the angle detection unit 4 does not detect (calculate) angle information in a backup state in which power supply from the first power supply PW1 is cut off. For example, the second power supply does not supply power to the angle detection unit 4 in the backup state. The angle detection unit 4 is, for example, a state in which power supply is cut off in the backup state, and does not detect angular position information.

また、本実施形態において、多回転情報検出部3は、回転軸SFの角度位置情報を検出可能である。例えば、多回転情報検出部3は、通常状態において多回転情報および角度位置情報を検出する。多回転情報検出部3が検出した角度位置情報は、例えば、角度検出部4が検出した角度位置情報との比較に利用される。例えば、多回転情報検出部3は、角度検出部4が検出する角度位置情報に対する比較情報(参照情報)として、角度位置情報を検出する。多回転情報検出部3は、例えば、角度検出部4が角度位置情報を検出しない状態(例、バックアップ状態)において、角度位置情報を検出しない。   In the present embodiment, the multi-rotation information detection unit 3 can detect the angular position information of the rotation axis SF. For example, the multi-rotation information detection unit 3 detects multi-rotation information and angular position information in a normal state. The angular position information detected by the multi-rotation information detection unit 3 is used, for example, for comparison with the angular position information detected by the angle detection unit 4. For example, the multi-rotation information detection unit 3 detects angular position information as comparison information (reference information) with respect to the angular position information detected by the angle detection unit 4. For example, the multi-rotation information detection unit 3 does not detect angular position information in a state where the angle detection unit 4 does not detect angular position information (for example, a backup state).

位置検出部1は、例えば、角度検出部4が検出した角度位置情報と、多回転情報検出部3が検出した角度位置情報との比較結果に基づいて、報知信号(報知情報)を生成して外部へ出力する。例えば、位置検出部1は、角度検出部4が検出した角度位置情報と、多回転情報検出部3が検出した角度位置情報との差が所定の範囲にない場合、報知情報を生成する。報知情報は、例えば、エンコーダ装置ECの外部の装置(例、モータ制御部MC)に対して、警告あるいはエラーを外部の装置に報知する情報(信号)である。   For example, the position detection unit 1 generates a notification signal (notification information) based on a comparison result between the angle position information detected by the angle detection unit 4 and the angle position information detected by the multi-rotation information detection unit 3. Output to the outside. For example, the position detection unit 1 generates notification information when the difference between the angle position information detected by the angle detection unit 4 and the angle position information detected by the multi-rotation information detection unit 3 is not within a predetermined range. The notification information is, for example, information (signal) for notifying an external device of a warning or an error with respect to an external device (eg, motor control unit MC) of the encoder device EC.

以下、エンコーダ装置ECの各部について説明する。角度検出部4は、スケールS(例、符号板)の一回転内の位置情報(角度位置情報、絶対又は相対位置情報)を検出する。スケールSは、例えば円板状の部材(例、ガラス製、金属製、樹脂製などの部材)である。スケールSは、回転軸SFに固定され、回転軸SFと連動して回転する。角度検出部4は、光学式のエンコーダである。例えば、角度検出部4は、スケールSのパターンニング情報を受光素子で読み取ることにより、回転軸SFの角度位置情報を検出する。角度検出部4が検出するスケールSのパターンニング情報は、例えばスケールS上の透過パターン(例、スリット)と反射パターンとの一方または双方による明暗のパターンである。   Hereinafter, each part of the encoder device EC will be described. The angle detector 4 detects position information (angular position information, absolute or relative position information) within one rotation of the scale S (eg, code plate). The scale S is, for example, a disk-shaped member (eg, a member made of glass, metal, resin, or the like). The scale S is fixed to the rotation axis SF and rotates in conjunction with the rotation axis SF. The angle detection unit 4 is an optical encoder. For example, the angle detection unit 4 detects the angular position information of the rotation axis SF by reading the patterning information of the scale S with a light receiving element. The patterning information of the scale S detected by the angle detection unit 4 is, for example, a light / dark pattern based on one or both of a transmission pattern (eg, a slit) and a reflection pattern on the scale S.

角度検出部4は、第1パターン10、照射部11、第1検出部12、及び第1処理部13を備える。第1パターン10は、回転体(例、回転軸SF)の角度位置を示すパターンである。第1パターン10は、例えば、アブソリュートパターンABSとインクリメンタルパターンINCとの一方または双方を含む。アブソリュートパターンABSは、回転体(スケールS、回転軸SF)の角度位置(例、絶対位置)を示す。インクリメンタルパターンINCは、回転軸SFの回転方向における角度の変化量(例、相対位置)を示す。インクリメンタルパターンINCは、回転軸SFの回転方向において周期的に並ぶ構造(周期構造)を含む。   The angle detection unit 4 includes a first pattern 10, an irradiation unit 11, a first detection unit 12, and a first processing unit 13. The 1st pattern 10 is a pattern which shows the angular position of a rotating body (for example, rotation axis SF). The first pattern 10 includes, for example, one or both of an absolute pattern ABS and an incremental pattern INC. The absolute pattern ABS indicates the angular position (eg, absolute position) of the rotating body (scale S, rotating shaft SF). The incremental pattern INC indicates the amount of change in angle (eg, relative position) in the rotation direction of the rotation axis SF. The incremental pattern INC includes a structure (periodic structure) that is periodically arranged in the rotation direction of the rotation axis SF.

照射部11(発光部)は、アブソリュートパターンABSおよびインクリメンタルパターンINCに光を照射する。照射部11は、例えば、LED(発光ダイオード)などの発光素子(例、固体光源)を含む。第1検出部12(光検出部)は、アブソリュートパターンABSからの光、及びインクリメンタルパターンINCからの光をそれぞれ検出する。第1検出部12は、例えばFD(フォトダイオード)などの受光素子(光電変換素子)を含む。   The irradiation unit 11 (light emitting unit) irradiates light to the absolute pattern ABS and the incremental pattern INC. The irradiation unit 11 includes, for example, a light emitting element (eg, a solid light source) such as an LED (light emitting diode). The first detector 12 (light detector) detects light from the absolute pattern ABS and light from the incremental pattern INC, respectively. The first detection unit 12 includes a light receiving element (photoelectric conversion element) such as an FD (photodiode).

角度検出部4は、例えば反射型である。第1検出部12は、照射部11から照射されてアブソリュートパターンABSで反射した光と、照射部11から照射されてインクリメンタルパターンINCで反射した光とを個別に検出する。第1処理部13は、第1検出部12の検出結果に基づいて、回転軸SFの角度位置情報を検出(例、算出)する。例えば、第1処理部13は、アブソリュートパターンABSからの光を検出した結果を使って第1分解能の角度位置情報を検出する。また、第1処理部13は、インクリメンタルパターンINCからの光を検出した結果を使って、第1分解能の角度位置情報に内挿演算を行うことにより、第1分解能よりも高い第2分解能の角度位置情報を検出する。   The angle detection unit 4 is, for example, a reflection type. The first detection unit 12 individually detects the light irradiated from the irradiation unit 11 and reflected by the absolute pattern ABS, and the light irradiated from the irradiation unit 11 and reflected by the incremental pattern INC. The first processing unit 13 detects (eg, calculates) angular position information of the rotation axis SF based on the detection result of the first detection unit 12. For example, the first processing unit 13 detects the angular position information of the first resolution using the result of detecting the light from the absolute pattern ABS. Further, the first processing unit 13 performs an interpolation operation on the angular position information of the first resolution using the result of detecting the light from the incremental pattern INC, so that the angle of the second resolution higher than the first resolution is obtained. Detect location information.

なお、角度検出部4は透過型でもよい。この場合、第1検出部12は、照射部11から照射されてアブソリュートパターンABSを透過した光と、照射部11から照射されてインクリメンタルパターンINCを透過した光とを個別に検出する。   The angle detector 4 may be a transmissive type. In this case, the 1st detection part 12 detects separately the light irradiated from the irradiation part 11, and permeate | transmitted the absolute pattern ABS, and the light irradiated from the irradiation part 11, and permeate | transmitted the incremental pattern INC.

多回転情報検出部3は、角度検出部4の検出対象と同じ回転軸SFの多回転情報を光学的に検出する。多回転情報検出部3は、例えば光学式のエンコーダである。多回転情報検出部3は、例えばスケールSのパターンニング情報を受光素子で読み取ることにより、回転軸SFの多回転情報を検出する。   The multi-rotation information detection unit 3 optically detects multi-rotation information of the same rotation axis SF as the detection target of the angle detection unit 4. The multi-rotation information detection unit 3 is, for example, an optical encoder. The multi-rotation information detection unit 3 detects the multi-rotation information of the rotation axis SF by reading patterning information of the scale S with a light receiving element, for example.

多回転情報検出部3は、第2パターン15、照射部16、第2検出部17、及び第2処理部18を備える。第2パターン15は、例えば濃淡パターンである。第2パターン15は、回転軸SFの移動方向(例、回転方向)において光学特性値が変化する(例、段階的、線形、又は非線形の変化など)。第2パターン15は、回転体(例、回転軸SF、スケールS)の移動方向(例、回転方向)において光学特性値が漸次的に変化するパターンを含む(例、グレースケールパターンなど)。上記の光学特性値は、例えば、反射率、透過率、及び光吸収率の少なくとも1つを含む。第2パターン15は、例えば、回転方向の少なくとも一部において、光学特性値が漸増または漸減するパターンを含む。第2パターン15は、例えば、照射部16からの光を受けて外部へ照射する光(例、反射光、透過光、散乱光)の光量と強度との一方または双方が回転方向において漸次的に変化する特性を有する。第2パターン15は、例えば、アブソリュートパターンABSおよびインクリメンタルパターンINCと同じ部材(例、スケールS、第1の回転体)に設けられる。   The multi-rotation information detection unit 3 includes a second pattern 15, an irradiation unit 16, a second detection unit 17, and a second processing unit 18. The second pattern 15 is, for example, a shading pattern. The second pattern 15 has an optical characteristic value that changes in the movement direction (eg, rotation direction) of the rotation axis SF (eg, stepwise, linear, or non-linear change). The second pattern 15 includes a pattern in which an optical characteristic value gradually changes in a moving direction (eg, rotation direction) of a rotating body (eg, rotation axis SF, scale S) (eg, a gray scale pattern). The optical characteristic value includes, for example, at least one of reflectance, transmittance, and light absorption. For example, the second pattern 15 includes a pattern in which the optical characteristic value gradually increases or decreases in at least a part of the rotation direction. In the second pattern 15, for example, one or both of the light amount and intensity of light (for example, reflected light, transmitted light, scattered light) irradiated to the outside upon receiving light from the irradiation unit 16 is gradually increased in the rotation direction. Has changing characteristics. For example, the second pattern 15 is provided on the same member (eg, scale S, first rotating body) as the absolute pattern ABS and the incremental pattern INC.

なお、第2パターン15は、第1パターン10(例、アブソリュートパターンABS、インクリメンタルパターンINC)と別の部材に設けられてもよい。例えば、第1パターン10の少なくとも一部(例、アブソリュートパターンABS)は、第1の回転体(例、第1のスケール)に設けられ、第2パターン15は、第1の回転体と異なる第2の回転体(例、第2のスケール)に設けられてもよい。なお、多回転情報検出部3が検出するスケールSのパターンニング情報は、例えばスケールS上の透過パターン(例、スリット)と反射パターンとの一方または双方による明暗のパターンであってもよい。   The second pattern 15 may be provided on a member different from the first pattern 10 (for example, the absolute pattern ABS, the incremental pattern INC). For example, at least a part of the first pattern 10 (eg, the absolute pattern ABS) is provided on the first rotating body (eg, the first scale), and the second pattern 15 is different from the first rotating body. It may be provided on two rotating bodies (for example, the second scale). Note that the patterning information of the scale S detected by the multi-rotation information detection unit 3 may be, for example, a light / dark pattern based on one or both of a transmission pattern (eg, a slit) and a reflection pattern on the scale S.

照射部16(発光部)は、第2パターン15に光を照射する。照射部16は、例えば、LED(発光ダイオード)などの発光素子(例、固体光源)を含む。第2検出部17(光検出部)は、第2パターン15からの光を検出する。第2検出部17は、例えばFD(フォトダイオード)などの受光素子(光電変換素子)を含む。多回転情報検出部3は、例えば反射型である。第2検出部17は、照射部11から照射されて第2パターン15で反射した光を検出する。第2処理部18は、第2検出部17の検出結果に基づいて、回転軸SFの多回転情報を検出(例、算出)する。多回転情報検出部3は、透過型でもよい。この場合、第2検出部17は、照射部16から照射されて第2パターン15を透過した光を検出する。なお、照明部16は、照明部11と独立させた構成ではなく、照明部11を共用(兼用)して構成してもよい。この場合、例えば、照明部11と照明部16は発光部(例、1個の発光部)を共用し、受光部12と受光部17とは同じチップ(例、1個の集積回路基板など)上に形成される。   The irradiation unit 16 (light emitting unit) irradiates the second pattern 15 with light. The irradiation unit 16 includes, for example, a light emitting element (eg, a solid light source) such as an LED (light emitting diode). The second detection unit 17 (light detection unit) detects light from the second pattern 15. The second detection unit 17 includes a light receiving element (photoelectric conversion element) such as an FD (photodiode). The multi-rotation information detection unit 3 is, for example, a reflection type. The second detection unit 17 detects the light emitted from the irradiation unit 11 and reflected by the second pattern 15. The second processing unit 18 detects (eg, calculates) the multi-rotation information of the rotation axis SF based on the detection result of the second detection unit 17. The multi-rotation information detection unit 3 may be a transmission type. In this case, the second detection unit 17 detects light emitted from the irradiation unit 16 and transmitted through the second pattern 15. Note that the illumination unit 16 is not configured to be independent of the illumination unit 11 but may be configured to share (combine) the illumination unit 11. In this case, for example, the illumination unit 11 and the illumination unit 16 share a light emitting unit (eg, one light emitting unit), and the light receiving unit 12 and the light receiving unit 17 are the same chip (eg, one integrated circuit board). Formed on top.

図2は、本実施形態に係るエンコーダ装置のスケールを示す図である。図2(A)は、回転軸SFに垂直な面におけるスケールSの平面図である。アブソリュートパターンABS、インクリメンタルパターンINC、及び第2パターン15は、それぞれ、環状である。アブソリュートパターンABS、インクリメンタルパターンINC、及び第2パターン15は、回転軸SFを中心とした同心円状に配置される。アブソリュートパターンABSは、例えば、回転軸SFに対してインクリメンタルパターンINCの外側に配置される。第1検出部12は、アブソリュートパターンABSからの光を検出する受光部12a(受光領域)と、インクリメンタルパターンINCからの光を検出する受光部12b(受光領域)とを含む。   FIG. 2 is a diagram illustrating a scale of the encoder device according to the present embodiment. FIG. 2A is a plan view of the scale S in a plane perpendicular to the rotation axis SF. The absolute pattern ABS, the incremental pattern INC, and the second pattern 15 are each annular. The absolute pattern ABS, the incremental pattern INC, and the second pattern 15 are arranged concentrically around the rotation axis SF. The absolute pattern ABS is, for example, arranged outside the incremental pattern INC with respect to the rotation axis SF. The first detection unit 12 includes a light receiving unit 12a (light receiving region) that detects light from the absolute pattern ABS, and a light receiving unit 12b (light receiving region) that detects light from the incremental pattern INC.

第2パターン15は、例えば、回転軸SFに対してインクリメンタルパターンINCの内側に配置される。図2(A)の第2パターン15において、反射率がグレースケールで表されている。図2(A)の第2パターン15において、白に近い部分は反射率が相対的に高い部分であり、黒に近い部分は反射率が相対的に低い部分である。   For example, the second pattern 15 is disposed inside the incremental pattern INC with respect to the rotation axis SF. In the second pattern 15 in FIG. 2A, the reflectance is expressed in gray scale. In the second pattern 15 in FIG. 2A, a portion close to white is a portion having a relatively high reflectance, and a portion close to black is a portion having a relatively low reflectance.

第2パターン15は、例えば、回転方向で位相が互いにずれた複数のパターン(例、第1位相のパターン15a、第2位相のパターン15b)を含む。パターン15aおよびパターン15bは、回転軸SFの回転方向において、光学特性値の分布の位相が互いに異なる。図2(B)は、回転軸SFの回転方向における第2パターン15の光学特性値の分布を示すグラフである。図2(B)において、縦軸の光学特性値は、例えば反射率である。   The second pattern 15 includes, for example, a plurality of patterns (for example, a first phase pattern 15a and a second phase pattern 15b) whose phases are shifted from each other in the rotation direction. The pattern 15a and the pattern 15b have different optical characteristic value distribution phases in the rotation direction of the rotation axis SF. FIG. 2B is a graph showing a distribution of optical characteristic values of the second pattern 15 in the rotation direction of the rotation axis SF. In FIG. 2B, the optical characteristic value on the vertical axis is, for example, reflectance.

図2(B)において、パターン15aの光学特性値Vaおよびパターン15bの光学特性値Vbは、それぞれ、角度位置に対して連続的に変化する。パターン15aの光学特性値Vaおよびパターン15bの光学特性値Vbは、それぞれ、角度位置に対して正弦波状に変化する。なお、第2パターン15は、光学特性値Vaおよび光学特性値Vbが線形状に変化するように、構成されてもよい。パターン15aの光学特性値Vaおよびパターン15bの光学特性値Vbは、例えば、それぞれが1回転(360°)の範囲で1周期の分布である。   In FIG. 2B, the optical characteristic value Va of the pattern 15a and the optical characteristic value Vb of the pattern 15b change continuously with respect to the angular position. The optical characteristic value Va of the pattern 15a and the optical characteristic value Vb of the pattern 15b each change in a sine wave shape with respect to the angular position. Note that the second pattern 15 may be configured such that the optical characteristic value Va and the optical characteristic value Vb change to a linear shape. The optical characteristic value Va of the pattern 15a and the optical characteristic value Vb of the pattern 15b are, for example, a one-cycle distribution in the range of one rotation (360 °).

パターン15aの光学特性値Vaは、位置Pb(例、90°)において極大となり、位置Pd(例、270°)で極小となる。パターン15bの位相は、例えば、パターン15aの位相と約90°異なる。パターン15bの光学特性値Vbは、位置Pc(例、180°)において極大となり、位置Pa(例、0°、360°)で極小となる。なお、図2(B)に示す光学特性値の分布は、一例であり、適宜変更可能である。例えば、第2パターン15の光学特性値の分布は、角度位置に対して線形な分布(例、直線、三角波状)でもよいし、角度位置に対して非線形な分布でもよい。また、第2パターン15の光学特性値は、3以上の段階で不連続(例、3以上のステップ状)に変化してもよい。   The optical characteristic value Va of the pattern 15a becomes maximum at a position Pb (eg, 90 °) and becomes minimum at a position Pd (eg, 270 °). The phase of the pattern 15b differs from the phase of the pattern 15a by about 90 °, for example. The optical characteristic value Vb of the pattern 15b becomes maximum at a position Pc (eg, 180 °) and becomes minimum at a position Pa (eg, 0 °, 360 °). Note that the distribution of optical characteristic values shown in FIG. 2B is an example and can be changed as appropriate. For example, the distribution of the optical characteristic values of the second pattern 15 may be a linear distribution (for example, a straight line or a triangular wave shape) with respect to the angular position, or may be a non-linear distribution with respect to the angular position. Further, the optical characteristic value of the second pattern 15 may change discontinuously (eg, three or more steps) in three or more stages.

第2検出部17(図2(A)参照)は、パターン15aからの光と、パターン15bからの光とを個別に検出する。第2検出部17は、受光部17a(受光領域)および受光部17b(受光領域)を含む。受光部17aは、照射部16から照射されてパターン15aを経由した光を検出する。受光部17aの検出結果は、例えば、A相信号として利用される。受光部17bは、照射部16から照射されてパターン15bを経由した光を検出する。受光部17bの検出結果は、例えば、B相信号として利用される。   The second detection unit 17 (see FIG. 2A) individually detects the light from the pattern 15a and the light from the pattern 15b. The second detection unit 17 includes a light receiving unit 17a (light receiving region) and a light receiving unit 17b (light receiving region). The light receiving unit 17a detects light emitted from the irradiation unit 16 and passing through the pattern 15a. The detection result of the light receiving unit 17a is used as an A phase signal, for example. The light receiving unit 17b detects light emitted from the irradiation unit 16 and passing through the pattern 15b. The detection result of the light receiving unit 17b is used as, for example, a B phase signal.

図3は、本実施形態に係る第2処理部を示す図である。第2検出部17は、検出結果を示す信号(検出信号)を第2処理部18に供給する。第2処理部18は、第2検出部17の検出結果をもとに回転体(例、回転軸SF、スケールS)の位置情報を算出する。例えば、第2処理部18は、第2検出部17の検出結果をもとに、回転体(例、回転軸SF、スケールS)の位置情報として多回転情報を算出する。第2処理部18は、第2検出部17の検出結果をもとに、回転体(例、回転軸SF、スケールS)の位置情報として、角度位置情報を算出してもよいし、多回転情報および角度位置情報を算出してもよい。   FIG. 3 is a diagram illustrating a second processing unit according to the present embodiment. The second detection unit 17 supplies a signal (detection signal) indicating the detection result to the second processing unit 18. The second processing unit 18 calculates position information of the rotating body (for example, the rotation axis SF, the scale S) based on the detection result of the second detection unit 17. For example, the second processing unit 18 calculates multi-rotation information as position information of the rotating body (eg, the rotation axis SF, the scale S) based on the detection result of the second detection unit 17. The second processing unit 18 may calculate the angular position information as the position information of the rotating body (eg, the rotation axis SF, the scale S) based on the detection result of the second detection unit 17, or may perform multiple rotations. Information and angular position information may be calculated.

第2検出部17の検出信号は、例えば、図2(A)に示した受光部12aの検出結果(以下、第1検出信号という)および受光部12bの検出結果(以下、第2検出信号という)を含む。第2処理部18は、算出部21、二値化部22、及び計数部23を備える。第2検出部17の検出結果(第1検出信号、第2検出信号)は、算出部21および二値化部22のそれぞれに供給される。   The detection signal of the second detection unit 17 includes, for example, the detection result of the light receiving unit 12a (hereinafter referred to as the first detection signal) and the detection result of the light receiving unit 12b (hereinafter referred to as the second detection signal) illustrated in FIG. )including. The second processing unit 18 includes a calculation unit 21, a binarization unit 22, and a counting unit 23. The detection results (first detection signal and second detection signal) of the second detection unit 17 are supplied to the calculation unit 21 and the binarization unit 22, respectively.

算出部21は、第2検出部17からの検出信号に基づいて、回転軸SFの角度位置情報を算出する。算出部21は、例えば、回転軸SFの角度位置情報を第1処理部13(図1参照)よりも低い分解能で検出(算出)する。また、第2処理部18(例、二値化部22、計数部23)は、例えば、第2検出部17の検出結果を階調値に変換して、回転軸SFの多回転情報を算出する。例えば、二値化部22は、第2検出部17の検出信号のレベルを閾値と比較し、この検出信号を二値化する。   The calculation unit 21 calculates angular position information of the rotation axis SF based on the detection signal from the second detection unit 17. For example, the calculation unit 21 detects (calculates) the angular position information of the rotation axis SF with a resolution lower than that of the first processing unit 13 (see FIG. 1). In addition, the second processing unit 18 (for example, the binarizing unit 22 and the counting unit 23), for example, converts the detection result of the second detection unit 17 into a gradation value, and calculates multi-rotation information of the rotation axis SF. To do. For example, the binarization unit 22 compares the level of the detection signal of the second detection unit 17 with a threshold value and binarizes the detection signal.

図3(B)は、検出信号および閾値の例を示す図である。角度位置に対する第1検出信号Saのレベルの分布は、パターン15aの光学特性値に応じた分布(例、正弦波状の分布)になる。また、角度位置に対する第2検出信号Sbのレベルの分布は、パターン15bの光学特性値に応じた分布(例、正弦波状の分布)になる。閾値Vthは、例えば、検出信号のレベルの平均値(振幅)に設定される。   FIG. 3B is a diagram illustrating examples of detection signals and threshold values. The distribution of the level of the first detection signal Sa with respect to the angular position is a distribution (eg, sinusoidal distribution) corresponding to the optical characteristic value of the pattern 15a. Further, the distribution of the level of the second detection signal Sb with respect to the angular position is a distribution (eg, sinusoidal distribution) corresponding to the optical characteristic value of the pattern 15b. The threshold value Vth is set to, for example, an average value (amplitude) of detection signal levels.

図3(C)は、二値化された第1検出信号Saのレベルを示す図である。二値化された第1検出信号Saのレベルは、位置Paから位置Pbを経由して位置Pcに至る範囲(例、0°から180°の範囲)でハイレベル(H)である。また、二値化された第1検出信号Saのレベルは、位置Pcから位置Pdを経由して位置Paに至る範囲(例、180°から360°の範囲)でローレベル(L)である。   FIG. 3C is a diagram illustrating the level of the binarized first detection signal Sa. The level of the binarized first detection signal Sa is a high level (H) in a range from the position Pa to the position Pc via the position Pb (for example, a range of 0 ° to 180 °). The binarized first detection signal Sa has a low level (L) in a range from the position Pc to the position Pa via the position Pd (for example, a range of 180 ° to 360 °).

図3(D)は、二値化された第2検出信号Sbのレベルを示す図である。二値化された第2検出信号Sbのレベルは、位置Paから位置Pbの範囲(例、0°から90°の範囲)、及び位置Pdから位置Paの範囲(例、270°から360°の範囲)においてローレベル(L)である。また、二値化された第2検出信号Sbのレベルは、位置Pbから位置Pcを経由して位置Pdに至る範囲(例、90°から270°の範囲)においてハイレベル(H)である。   FIG. 3D is a diagram illustrating the level of the binarized second detection signal Sb. The level of the binarized second detection signal Sb is a range from the position Pa to the position Pb (eg, a range from 0 ° to 90 °) and a range from the position Pd to the position Pa (eg, 270 ° to 360 °). (Range) is low level (L). The level of the binarized second detection signal Sb is a high level (H) in a range from the position Pb to the position Pd via the position Pc (for example, a range from 90 ° to 270 °).

計数部23は、二値化された第1検出信号Saおよび二値化された第2検出信号Sbを用いて、多回転情報を算出する(回転の数を計数する)。例えば、計数部23は、第2検出部17(受光部17a)がパターン15aを検出した検出結果(第1検出信号Sa)と、第2検出部17(受光部17b)が検出したパターン15bを検出した検出結果(第2検出信号Sb)とを用いて、回転軸SFの向き(移動方向、回転方向)を判別して多回転情報を検出する。以下、各角度位置における二値化された第1検出信号Saのレベルと二値化された第2検出信号Sbのレベルとの組を信号レベルの組と称し、信号レベルの組を(H,L)のように表す。   The counting unit 23 calculates multi-rotation information (counts the number of rotations) using the binarized first detection signal Sa and the binarized second detection signal Sb. For example, the counting unit 23 uses the detection result (first detection signal Sa) detected by the second detection unit 17 (light receiving unit 17a) and the pattern 15b detected by the second detection unit 17 (light receiving unit 17b). Using the detected result (second detection signal Sb), the direction (movement direction, rotation direction) of the rotation axis SF is determined, and multi-rotation information is detected. Hereinafter, the set of the binarized first detection signal Sa and the binarized second detection signal Sb at each angular position is referred to as a signal level set, and the signal level set (H, L).

例えば、信号レベルの組は、位置Paから位置Pbの範囲(例、0°から90°の範囲)において(H,L)である。また、信号レベルの組は、位置Pbから位置Pcの範囲(例、90°から180°の範囲)において(H,H)である。また、信号レベルの組は、位置Pcから位置Pdの範囲(例、180°から270°の範囲)において(L,H)である。また、信号レベルの組は、位置Pdから位置Paの範囲(例、270°から360°の範囲)において(L,L)である。   For example, the set of signal levels is (H, L) in a range from position Pa to position Pb (eg, a range from 0 ° to 90 °). The set of signal levels is (H, H) in the range from the position Pb to the position Pc (eg, the range from 90 ° to 180 °). The set of signal levels is (L, H) in the range from the position Pc to the position Pd (eg, the range from 180 ° to 270 °). The set of signal levels is (L, L) in a range from the position Pd to the position Pa (eg, a range from 270 ° to 360 °).

計数部23は、例えば、前回の検出結果による信号レベルの組が(H,H)であり、今回の検出結果による信号レベルの組が(L,H)である場合、前回の検出から今回の検出までの間に回転軸SFが第1の向き(例、図2(A)で時計回り)に回転したと判別する。また、計数部23は、例えば、前回の検出結果による信号レベルの組が(H,H)であり、今回の検出結果による信号レベルの組が(H,L)である場合、前回の検出から今回の検出までの間に回転軸SFが第1の向きと反対の第2の向き(例、図2(A)で反時計回り)に回転したと判別する。計数部23は、例えば、信号レベルの組が(H,H)である場合に、回転の向きに応じてカウンタ値をインクリメント(+1)あるいはデクリメント(−1)し、カウンタ値を多回転情報として出力する。   For example, when the set of signal levels based on the previous detection result is (H, H) and the set of signal levels based on the current detection result is (L, H), the counting unit 23 counts from the previous detection to the current level. It is determined that the rotation axis SF has rotated in the first direction (eg, clockwise in FIG. 2A) until detection. For example, when the set of signal levels based on the previous detection result is (H, H) and the set of signal levels based on the current detection result is (H, L), the counting unit 23 starts from the previous detection. It is determined that the rotation axis SF has rotated in a second direction opposite to the first direction (eg, counterclockwise in FIG. 2A) until the current detection. For example, when the set of signal levels is (H, H), the counting unit 23 increments (+1) or decrements (−1) the counter value according to the direction of rotation, and sets the counter value as multi-rotation information. Output.

なお、第2処理部18は、例えば、第2検出部17の検出結果を3段階以上の階調値に変換して、回転軸SFの回転位置情報の少なくとも一部(例、多回転情報)を算出してもよい。また、第2処理部18は、例えば、第2検出部17の検出結果を階調値に変換しないで、回転軸SFの回転位置情報の少なくとも一部(例、角度位置情報)を算出してもよい。また、第2処理部18は、上記したように、第2パターン15(例、移動方向において光学特性値が漸次的に変化するパターンなど)を検出して得られる検出結果(例、検出信号)を演算などによって処理する処理回路を含む。   The second processing unit 18 converts, for example, the detection result of the second detection unit 17 into gradation values of three or more levels, and at least a part of the rotation position information of the rotation axis SF (eg, multi-rotation information). May be calculated. In addition, the second processing unit 18 calculates, for example, at least a part (for example, angular position information) of the rotation position information of the rotation axis SF without converting the detection result of the second detection unit 17 into a gradation value. Also good. In addition, as described above, the second processing unit 18 detects a detection result (eg, a detection signal) obtained by detecting the second pattern 15 (eg, a pattern whose optical characteristic value gradually changes in the moving direction). Includes a processing circuit for processing the above by an arithmetic operation.

図1の説明に戻り、本実施形態に係るエンコーダ装置ECは、記憶部24、比較部25、合成部26、及び通信部27を備える。記憶部24は、例えば不揮発性メモリである。第2処理部18から出力される情報(例、多回転情報)を記憶する。合成部26は、第1処理部13が検出した第2分解能の角度位置情報を取得する。また、合成部26は、記憶部24から回転軸SFの多回転情報を取得する。合成部26は、第1処理部13からの角度位置情報、及び多回転情報検出部3からの多回転情報を合成し、回転軸SFの回転位置情報を算出する。例えば、第1処理部13の検出結果がθ[rad]であり、多回転情報検出部3の検出結果がn回転である場合に、合成部26は、回転位置情報として(2π×n+θ)[rad]を算出する。回転位置情報は、多回転情報と、1回転未満の角度位置情報とを組にした情報でもよい。   Returning to the description of FIG. 1, the encoder device EC according to the present embodiment includes a storage unit 24, a comparison unit 25, a synthesis unit 26, and a communication unit 27. The storage unit 24 is, for example, a nonvolatile memory. Information (eg, multi-rotation information) output from the second processing unit 18 is stored. The synthesizing unit 26 acquires the angular position information of the second resolution detected by the first processing unit 13. Further, the synthesizing unit 26 acquires multi-rotation information of the rotation axis SF from the storage unit 24. The synthesizing unit 26 synthesizes the angular position information from the first processing unit 13 and the multi-rotation information from the multi-rotation information detection unit 3, and calculates the rotational position information of the rotation axis SF. For example, when the detection result of the first processing unit 13 is θ [rad] and the detection result of the multi-rotation information detection unit 3 is n rotations, the combining unit 26 uses (2π × n + θ) [ rad] is calculated. The rotation position information may be information obtained by combining multi-rotation information and angular position information of less than one rotation.

合成部26は、算出した回転位置情報を通信部27に送信する。通信部27(外部通信部、外部接続インターフェース)は、有線または無線によって、モータ制御部MCの通信部MC1と通信可能に接続されている。通信部27は、デジタル形式の回転位置情報を、モータ制御部MCの通信部MC1に供給する。モータ制御部MCは、角度検出部4の通信部27からの回転位置情報を適宜復号する。モータ制御部MCは、回転位置情報を使ってモータMへ供給される電力(駆動電力)を制御することにより、モータMの回転を制御する。   The synthesizing unit 26 transmits the calculated rotational position information to the communication unit 27. The communication unit 27 (external communication unit, external connection interface) is communicably connected to the communication unit MC1 of the motor control unit MC by wire or wireless. The communication unit 27 supplies the digital rotational position information to the communication unit MC1 of the motor control unit MC. The motor control unit MC appropriately decodes the rotational position information from the communication unit 27 of the angle detection unit 4. The motor control unit MC controls the rotation of the motor M by controlling the power (drive power) supplied to the motor M using the rotational position information.

比較部25は、第1検出部12の検出結果に基づく情報と第2検出部17の検出結果に基づく情報とを比較する(比較処理を実行する)。例えば、比較部25は、第1検出部12の検出結果に基づいて第1処理部13が算出した角度位置情報と、第2検出部17の検出結果に基づいて第2処理部18が算出した角度位置情報とを比較し、比較結果を示す報知情報(報知信号)を生成する。   The comparison unit 25 compares information based on the detection result of the first detection unit 12 and information based on the detection result of the second detection unit 17 (performs a comparison process). For example, the comparison unit 25 is calculated by the second processing unit 18 based on the angular position information calculated by the first processing unit 13 based on the detection result of the first detection unit 12 and the detection result of the second detection unit 17. The angle position information is compared, and notification information (notification signal) indicating the comparison result is generated.

比較部25は、例えば、第1処理部13が算出した回転体(例、回転軸SF)の位置情報(例、角度位置情報)と第2処理部18が算出した回転体(例、回転軸SF)の位置情報(例、角度位置情報)とが所定の条件を満たすか否かを判定する。上記の所定の条件は、例えば、第1処理部13が算出した回転軸SFの角度位置情報と、第2処理部18が算出した回転軸SFの角度位置情報との比較値(例、差、比率)が所定の範囲(例、許容範囲、許容誤差範囲)に収まる条件である。   The comparison unit 25 includes, for example, the position information (eg, angular position information) of the rotating body (eg, rotation axis SF) calculated by the first processing unit 13 and the rotation body (eg, rotation axis) calculated by the second processing unit 18. SF) position information (eg, angular position information) is determined whether or not a predetermined condition is satisfied. The predetermined condition is, for example, a comparison value (e.g., difference, difference) between the angular position information of the rotation axis SF calculated by the first processing unit 13 and the angular position information of the rotation axis SF calculated by the second processing unit 18. The ratio is within a predetermined range (eg, allowable range, allowable error range).

比較部25は、例えば、第1処理部13の処理結果と第2処理部18の処理結果とを比較することによって、エンコーダ装置ECの動作が正常であるか否かを判定する。例えば、比較部25は、第1処理部13の処理結果と第2処理部18の処理結果とが上記の所定の条件を満たす場合に、エンコーダ装置ECの動作が正常であると判定し、判定結果(例、動作が正常又は異常である結果など)を出力する。   For example, the comparison unit 25 determines whether or not the operation of the encoder device EC is normal by comparing the processing result of the first processing unit 13 and the processing result of the second processing unit 18. For example, the comparison unit 25 determines that the operation of the encoder device EC is normal when the processing result of the first processing unit 13 and the processing result of the second processing unit 18 satisfy the predetermined condition, and the determination Output results (eg, results of normal or abnormal operation).

エンコーダ装置ECは、比較部25の判定結果に基づいて、第1処理部13が算出した回転体の位置情報(例、角度位置情報)を含む情報(例、回転位置情報)を出力する。例えば、合成部26は、エンコーダ装置ECの動作が正常であると比較部25が判定した場合に、第2処理部18が算出した角度位置情報を用いないで回転位置情報を生成する。例えば、第2処理部18は、第1処理部13の処理結果と比較する参照情報として角度位置情報を算出する。合成部26は、エンコーダ装置ECの動作が正常であると比較部25が判定した場合に、上記の参照情報を含まない回転位置情報を生成する。   The encoder device EC outputs information (eg, rotational position information) including position information (eg, angular position information) of the rotating body calculated by the first processing unit 13 based on the determination result of the comparison unit 25. For example, when the comparison unit 25 determines that the operation of the encoder device EC is normal, the synthesizing unit 26 generates rotational position information without using the angular position information calculated by the second processing unit 18. For example, the second processing unit 18 calculates angular position information as reference information to be compared with the processing result of the first processing unit 13. When the comparing unit 25 determines that the operation of the encoder device EC is normal, the combining unit 26 generates rotational position information that does not include the reference information.

例えば、比較部25は、第1処理部13が算出した角度位置情報と、第2処理部18が算出した角度位置情報との差が所定値を超える場合に、エンコーダ装置ECの検出状態のエラーの発生を示す報知情報(例、エラー情報、エラー信号)、あるいは警告を示す報知情報(警告情報、警告信号)を生成する。報知情報は、例えば、照射部11、第1検出部12、第1処理部13、照射部16、第2検出部17、及び第2処理部18の少なくとも1つの動作不良の発生を報知する情報でもよい。例えば、照射部11または照射部16において経年劣化などによる動作不良(例、光量の減少、不測の消灯)が発生した場合、第1処理部13による角度位置情報と、第2処理部18による角度位置情報との差あるいは比率が許容範囲外となり、比較部25は異常(例、動作不良)の発生を知らせる報知情報を生成する。第1検出部12もしくは第2検出部17に動作不良が発生した場合、第1処理部13もしくは第2処理部18に動作不良が発生した場合についても同様に、比較部25は異常(例、動作不良)の発生を知らせる報知情報を生成する。比較部25は、例えば、生成した報知情報を通信部27に出力する。比較部25は、例えば、通信部27を介して、報知情報をエンコーダ装置ECの外部(例、モータ制御部MC)に出力する。   For example, when the difference between the angular position information calculated by the first processing unit 13 and the angular position information calculated by the second processing unit 18 exceeds a predetermined value, the comparison unit 25 detects an error in the detection state of the encoder device EC. Notification information (eg, error information, error signal) indicating the occurrence of a warning or notification information (warning information, warning signal) indicating a warning is generated. The notification information is, for example, information that notifies the occurrence of at least one malfunction of the irradiation unit 11, the first detection unit 12, the first processing unit 13, the irradiation unit 16, the second detection unit 17, and the second processing unit 18. But you can. For example, when an operation failure (for example, a decrease in the amount of light or an unexpected turn-off) occurs in the irradiating unit 11 or the irradiating unit 16, the angle position information from the first processing unit 13 and the angle from the second processing unit 18 are detected. The difference or ratio with the position information falls outside the allowable range, and the comparison unit 25 generates notification information notifying the occurrence of an abnormality (eg, malfunction). Similarly, when an operation failure occurs in the first detection unit 12 or the second detection unit 17 and when an operation failure occurs in the first processing unit 13 or the second processing unit 18, the comparison unit 25 is also abnormal (for example, Notification information for generating the occurrence of malfunction) is generated. For example, the comparison unit 25 outputs the generated notification information to the communication unit 27. For example, the comparison unit 25 outputs the notification information to the outside of the encoder device EC (for example, the motor control unit MC) via the communication unit 27.

なお、多回転情報検出部3は、上記した第1の多回転検出部(例、第2パターン15、検出部17)と別に、第2の多回転検出部を備えてもよい。第2の多回転検出部は、光学式のエンコーダでもよいし、その他の検出方式(例、磁気式)のエンコーダでもよい。磁気式のエンコーダは、磁石31の磁界を検出し、その検出結果に基づいて多回転情報を検出してもよい。比較部25は、例えば、第1の多回転検出部の検出結果(例、多回転情報)と、第2の多回転検出部の検出結果(例、多回転情報)とを比較してもよい。また、比較部25は、異なるセンサの検出結果から得られる複数の角度位置情報を比較し、かつ異なるセンサの検出結果から得られる複数の多回転情報を比較してもよい。また、第2処理部18は、第2検出部17の検出結果をもとに、回転体(例、回転軸SF)の位置情報として角度位置情報を算出し、多回転情報を算出しなくてもよい。   The multi-rotation information detection unit 3 may include a second multi-rotation detection unit separately from the first multi-rotation detection unit (for example, the second pattern 15 and the detection unit 17). The second multi-rotation detection unit may be an optical encoder or an encoder of another detection method (eg, magnetic type). The magnetic encoder may detect the magnetic field of the magnet 31 and detect multi-rotation information based on the detection result. For example, the comparison unit 25 may compare the detection result (eg, multi-rotation information) of the first multi-rotation detection unit with the detection result (eg, multi-rotation information) of the second multi-rotation detection unit. . The comparison unit 25 may compare a plurality of pieces of angular position information obtained from the detection results of different sensors, and may compare a plurality of pieces of multi-rotation information obtained from the detection results of different sensors. Further, the second processing unit 18 calculates the angular position information as the position information of the rotating body (eg, the rotation axis SF) based on the detection result of the second detection unit 17, and does not calculate the multi-rotation information. Also good.

なお、エンコーダ装置ECは、比較部25が生成した報知情報をエンコーダ装置ECの外部に出力しなくてもよい。例えば、エンコーダ装置ECは、比較部25が生成した報知情報に基づいて、例えば警告ライトを点灯させてもよいし、警告音(例、アラーム音)を発してもよい。   The encoder device EC may not output the notification information generated by the comparison unit 25 to the outside of the encoder device EC. For example, the encoder device EC may turn on a warning light or emit a warning sound (eg, alarm sound) based on the notification information generated by the comparison unit 25, for example.

比較部25は、例えば、第1処理部13が角度位置情報を算出し、かつ第2処理部18が角度位置情報を算出する状態において、上記の比較処理を実行する。例えば、比較部25は、第1電源PW1から位置検出部1に電力が供給される通常状態において、上記の比較処理を実行する。   For example, the comparison unit 25 performs the comparison process in a state where the first processing unit 13 calculates angular position information and the second processing unit 18 calculates angular position information. For example, the comparison unit 25 performs the above-described comparison process in a normal state in which power is supplied from the first power supply PW1 to the position detection unit 1.

また、比較部25は、例えば、第1処理部13と第2処理部18との一方または双方が角度位置情報を算出しない状態において、上記の比較処理を実行しない。例えば、第1電源PW1からの電力供給が断たれたバックアップ状態において、第1検出部12が検出を行わず、第1処理部13は、角度位置情報を算出しない。バックアップ状態において、例えば、第1処理部13が角度位置情報を算出せず、比較部25は、上記の比較処理を実行しない。バックアップ状態において、第2検出部17は、例えば、第2電源(例、バッテリー6)からの電力供給を受けて検出を実行する。バックアップ状態において、第2検出部17は検出を実行する。バックアップ状態において、第2処理部18は、例えば、上記した第2検出部17の検出結果に基づいて多回転情報を算出し、角度位置情報を算出しない。なお、エンコーダ装置ECは、バックアップ状態において、例えば、第2処理部18が角度位置情報を算出せず、比較部25は、上記の比較処理を実行しないように構成されてもよい。   For example, the comparison unit 25 does not perform the comparison process in a state where one or both of the first processing unit 13 and the second processing unit 18 does not calculate the angular position information. For example, in the backup state in which the power supply from the first power supply PW1 is cut off, the first detection unit 12 does not perform detection, and the first processing unit 13 does not calculate angular position information. In the backup state, for example, the first processing unit 13 does not calculate the angular position information, and the comparison unit 25 does not execute the comparison process. In the backup state, for example, the second detection unit 17 receives power from a second power source (for example, the battery 6) and performs detection. In the backup state, the second detection unit 17 performs detection. In the backup state, for example, the second processing unit 18 calculates the multi-rotation information based on the detection result of the second detection unit 17 described above, and does not calculate the angular position information. In the backup state, the encoder device EC may be configured such that, for example, the second processing unit 18 does not calculate the angular position information, and the comparison unit 25 does not execute the above-described comparison processing.

比較部25は、例えば、通常状態において第1電源PW1から電力供給を受けて、上記の比較処理を実行する。比較部25は、例えば、通常状態において第1電源PW1から供給される電力を用いて、上記の比較処理を実行する。電力供給部2は、例えば、バックアップ状態において比較部25に電力を供給しない。比較部25は、例えば、バックアップ状態において電力供給が断たれることによって、上記の比較処理を実行しない。   For example, the comparison unit 25 receives the power supply from the first power supply PW1 in a normal state, and executes the above comparison process. For example, the comparison unit 25 performs the comparison process using the power supplied from the first power supply PW1 in the normal state. For example, the power supply unit 2 does not supply power to the comparison unit 25 in the backup state. For example, the comparison unit 25 does not perform the comparison process when the power supply is cut off in the backup state.

次に、電力供給部2について説明する。電力供給部2は、通常状態とバックアップ状態とのうち少なくともバックアップ状態において、位置検出部1の少なくとも一部(例、多回転情報検出部3)へ電力を供給する。電力供給部2は、磁石31、信号発生部32、切替部33、及びバッテリー6を備える。図4は、本実施形態に係る信号発生部32を示す図である。図4(A)には磁石31、及び信号発生部32の斜視図を示し、図4(B)には回転軸SFの方向から見た磁石31、及び信号発生部32の平面図を示した。   Next, the power supply unit 2 will be described. The power supply unit 2 supplies power to at least a part of the position detection unit 1 (for example, the multi-rotation information detection unit 3) in at least the backup state of the normal state and the backup state. The power supply unit 2 includes a magnet 31, a signal generation unit 32, a switching unit 33, and a battery 6. FIG. 4 is a diagram illustrating the signal generator 32 according to the present embodiment. 4A shows a perspective view of the magnet 31 and the signal generation unit 32, and FIG. 4B shows a plan view of the magnet 31 and the signal generation unit 32 viewed from the direction of the rotation axis SF. .

信号発生部32は、移動部(例、回転軸SF)の移動(例、回転)によって電気信号(検出信号)が発生する。この電気信号は、例えば、電力(電流、電圧)が時間変化する波形を含む。信号発生部32は、例えば、回転軸SFの回転に伴って変化する磁界によって、電気信号として検出信号が発生する。例えば、回転軸SFの回転によって磁石31と信号発生部32とが相対的に移動し、磁石31が信号発生部32の位置に形成する磁界が変化することによって、信号発生部32に電気信号が発生する。   The signal generation unit 32 generates an electrical signal (detection signal) by movement (eg, rotation) of a movement unit (eg, rotation axis SF). This electric signal includes, for example, a waveform in which power (current, voltage) changes with time. For example, the signal generator 32 generates a detection signal as an electrical signal by a magnetic field that changes in accordance with the rotation of the rotation axis SF. For example, the magnet 31 and the signal generator 32 are relatively moved by the rotation of the rotation axis SF, and the magnetic field formed by the magnet 31 at the position of the signal generator 32 is changed. Occur.

磁石31は、例えば、回転軸SFに対して固定される。磁石31は、例えば、スケールSに固定される。信号発生部32は、回転軸SFの回転によって、磁石31との相対的な角度位置が変化するように、配置される。信号発生部32には、例えば、信号発生部32と磁石31との相対位置が所定の位置になった際に、パルス状の電気信号が発生する。   The magnet 31 is fixed with respect to the rotation axis SF, for example. The magnet 31 is fixed to the scale S, for example. The signal generating unit 32 is arranged so that the angular position relative to the magnet 31 is changed by the rotation of the rotating shaft SF. For example, when the relative position between the signal generator 32 and the magnet 31 reaches a predetermined position, the signal generator 32 generates a pulsed electric signal.

なお、信号発生部32は、磁界の変化以外によって検出信号(例、パルス状の電気信号)が発生するものでもよい。また、磁石31は、スケールSと別の部材に設けられてもよい。例えば、磁石31は、第3の回転体に設けられ、第3の回転体が回転軸SFに固定されてもよい。上記の第3の回転体には、アブソリュートパターンABS、インクリメンタルパターンINC、及び第2パターン15の一部が設けられてもよい。   The signal generator 32 may generate a detection signal (for example, a pulsed electric signal) other than a change in the magnetic field. The magnet 31 may be provided on a member different from the scale S. For example, the magnet 31 may be provided on the third rotating body, and the third rotating body may be fixed to the rotation shaft SF. The third rotating body may be provided with a part of the absolute pattern ABS, the incremental pattern INC, and the second pattern 15.

磁石31は、回転によって回転軸SFに対する放射方向(スケールSの径方向)における磁界の向きおよび強さが変化するように構成される。磁石31は、例えば回転軸SFと同軸の円環状の部材である。磁石31の主面(表面および裏面)は、それぞれ、回転軸SFとほぼ垂直である。図4(B)に示すように、磁石31は、8極に着磁した永久磁石である。磁石31は、その内周側と外周側のそれぞれにおいて周方向にN極とS極が並んでおり、内周側と外周側とで位相が90°ずれている。磁石31において、内周側におけるN極とS極との境界は、外周側におけるN極とS極との境界と、周方向の位置(角度位置)がほぼ一致している。   The magnet 31 is configured to change the direction and strength of the magnetic field in the radial direction (the radial direction of the scale S) with respect to the rotation axis SF by rotation. The magnet 31 is, for example, an annular member that is coaxial with the rotation axis SF. The main surfaces (front surface and back surface) of the magnet 31 are each substantially perpendicular to the rotation axis SF. As shown in FIG. 4B, the magnet 31 is a permanent magnet magnetized to 8 poles. The magnet 31 has N poles and S poles arranged in the circumferential direction on the inner peripheral side and the outer peripheral side, and the phase is shifted by 90 ° between the inner peripheral side and the outer peripheral side. In the magnet 31, the boundary between the N pole and the S pole on the inner peripheral side substantially coincides with the boundary between the N pole and the S pole on the outer peripheral side in the circumferential direction (angular position).

図4(B)において、符号Qaは、磁石31に固定した座標系において、周方向におけるN極とS極との1つの境界の位置である。符号Qbは、位置Qaから時計回りに90°回転した位置である。符号Qcは、位置Qbから時計周りに90°回転した位置である。符号Qdは、位置Qcから時計回りに90°回転した位置である。例えば、上記の位置Qaから位置Qdは、それぞれ、図2などに示した位置Paから位置Pdに対応する。   In FIG. 4B, the symbol Qa is the position of one boundary between the N pole and the S pole in the circumferential direction in the coordinate system fixed to the magnet 31. Reference sign Qb is a position rotated 90 ° clockwise from the position Qa. Reference sign Qc is a position rotated 90 ° clockwise from the position Qb. The symbol Qd is a position rotated 90 ° clockwise from the position Qc. For example, the position Qa to the position Qd correspond to the position Pa to the position Pd shown in FIG.

磁石31が形成する磁界の、スケールSの径方向における向きは、位置Qa、位置Qb、位置Qc、及び位置Qdのそれぞれにおいて反転する。磁石31は、磁石31の外部に固定された座標系に対し、磁石31の回転に伴ってスケールSの径方向における磁界の向きが反転する交流磁界を形成する。信号発生部32は、磁石31の主面の法線方向から見て磁石31と重なる位置に配置されている。   The orientation of the magnetic field formed by the magnet 31 in the radial direction of the scale S is reversed at each of the position Qa, the position Qb, the position Qc, and the position Qd. The magnet 31 forms an AC magnetic field in which the direction of the magnetic field in the radial direction of the scale S is reversed with the rotation of the magnet 31 with respect to the coordinate system fixed outside the magnet 31. The signal generator 32 is disposed at a position overlapping the magnet 31 when viewed from the normal direction of the main surface of the magnet 31.

本実施形態において、信号発生部32は、磁石31と非接触に設けられる。信号発生部32は、感磁性部41および発電部42を備える。感磁性部41および発電部42は、磁石31の外部に固定されており、磁石31の回転に伴って磁石31上の各位置との相対位置が変化する。   In the present embodiment, the signal generator 32 is provided in non-contact with the magnet 31. The signal generation unit 32 includes a magnetic sensing unit 41 and a power generation unit 42. The magnetic sensing unit 41 and the power generation unit 42 are fixed to the outside of the magnet 31, and the relative positions with respect to the respective positions on the magnet 31 change as the magnet 31 rotates.

感磁性部41は、ウィーガントワイヤなどの感磁性ワイヤ(磁性体)である。感磁性部41には、磁石31の回転に伴う磁界の変化によって大バルクハウゼンジャンプ(ウィーガンド効果)が生じる。感磁性部41は、円柱状の部材であり、その軸方向が磁石31の径方向に設定されている。感磁性部41は、その軸方向に交流磁界が印加され磁界が反転する際に、軸方向の一端から他端に向かう磁壁が発生する。   The magnetic sensitive part 41 is a magnetic sensitive wire (magnetic material) such as a Wiegand wire. A large Barkhausen jump (Wiegand effect) is generated in the magnetic sensitive part 41 due to a change in the magnetic field accompanying the rotation of the magnet 31. The magnetic sensitive part 41 is a columnar member, and the axial direction thereof is set to the radial direction of the magnet 31. In the magnetic sensitive part 41, when an AC magnetic field is applied in the axial direction and the magnetic field is reversed, a domain wall is generated from one end to the other end in the axial direction.

発電部42は、感磁性部41に巻き付けられて配置される高密度コイルなどである。発電部42には、感磁性部41における磁壁の発生に伴って電磁誘導が生じ、誘導電流が流れる。図4(B)に示した磁石31の位置Qa、位置Qb、位置Qc、又は位置Qdが感磁性部41の近傍を通過する際に、発電部42にパルス状の電流(電気信号)が発生する。また、発電部42は、大バルクハウゼンジャンプを利用して正パルスや負パルス等の検出パルスを含む検出信号を出力可能であり、外部(例、図1の第1電源PW1)からの電力供給がなくても動作可能である。   The power generation unit 42 is a high density coil or the like that is wound around the magnetic sensing unit 41. In the power generation unit 42, electromagnetic induction occurs due to the occurrence of the domain wall in the magnetic sensing unit 41, and an induced current flows. When the position Qa, position Qb, position Qc, or position Qd of the magnet 31 shown in FIG. 4B passes in the vicinity of the magnetic sensitive section 41, a pulsed current (electric signal) is generated in the power generation section 42. To do. The power generation unit 42 can output a detection signal including a detection pulse such as a positive pulse or a negative pulse using a large Barkhausen jump, and can supply power from the outside (for example, the first power supply PW1 in FIG. 1). It is possible to operate even if there is no.

発電部42に発生する電流の向きは、磁界の反転前後の向きに応じて変化する。例えば、磁石31の外側を向く磁界から内側を向く磁界へ反転時に発生する電流の向きは、磁石31の内側を向く磁界から外側を向く磁界へ反転時に発生する電流の向きの反対になる。発電部42に発生する電力(誘導電流)は、例えば高密度コイルの巻き数により設定できる。   The direction of the current generated in the power generation unit 42 changes according to the direction before and after the reversal of the magnetic field. For example, the direction of the current generated when reversing from the magnetic field facing the outside of the magnet 31 to the magnetic field facing the inside is opposite to the direction of the current generated when reversing from the magnetic field facing the inside of the magnet 31 to the magnetic field facing the outside. The power (inductive current) generated in the power generation unit 42 can be set by, for example, the number of turns of the high-density coil.

図4(A)に示すように、感磁性部41および発電部42は、ケース43に収納されている。ケース43には端子43aおよび端子43bが設けられている。発電部42の高密度コイルは、その一端が端子43aと接続され、その他端が端子43bと接続されている。発電部42で発生した電力は、端子43aおよび端子43bを介して、信号発生部32の外部へ取り出し可能である。   As shown in FIG. 4A, the magnetic sensitive part 41 and the power generation part 42 are accommodated in a case 43. The case 43 is provided with a terminal 43a and a terminal 43b. The high-density coil of the power generation unit 42 has one end connected to the terminal 43a and the other end connected to the terminal 43b. The electric power generated in the power generation unit 42 can be taken out of the signal generation unit 32 via the terminals 43a and 43b.

なお、上述の信号発生部32の構成は一例であり、その構成は適宜変更可能である。例えば、信号発生部32は、大バルクハウゼンジャンプ(ウィーガンド効果)を利用しない電磁誘導によって電力を発生してもよい。また、エンコーダ装置ECが備える信号発生部32の数は、適宜変更可能であり、例えば、2つ以上でもよい。また、信号発生部32の配置についても適宜変更可能である。   The configuration of the signal generator 32 described above is an example, and the configuration can be changed as appropriate. For example, the signal generator 32 may generate electric power by electromagnetic induction that does not use a large Barkhausen jump (Wiegand effect). Moreover, the number of the signal generation parts 32 with which the encoder apparatus EC is equipped can be changed suitably, for example, may be two or more. The arrangement of the signal generator 32 can be changed as appropriate.

図1の説明に戻り、本実施形態におけるバッテリー6は、バックアップ状態において、信号発生部32で発生する検出信号に基づいて、位置検出部1で消費される電力の少なくとも一部を供給するように構成されてもよい。バッテリー6(電池)は、例えばボタン型電池、乾電池などの一次電池であるが、リチウムイオン二次電池などの二次電池でもよい。本実施形態のバッテリー6は、例えばボタン型電池である。   Returning to the description of FIG. 1, the battery 6 in the present embodiment supplies at least a part of the power consumed by the position detector 1 based on the detection signal generated by the signal generator 32 in the backup state. It may be configured. The battery 6 (battery) is a primary battery such as a button-type battery or a dry battery, but may be a secondary battery such as a lithium ion secondary battery. The battery 6 of this embodiment is a button type battery, for example.

上記構成の場合、切替部33は、信号発生部32で発生した検出信号を制御信号に用いてバッテリー6から位置検出部1への電力供給の有無を切り替える。例えば、切替部33は、信号発生部32で発生する電気信号のレベルが閾値以上になることでバッテリー6から位置検出部1への電力供給を開始させる。例えば、切替部33は、信号発生部32で閾値以上の検出信号が発生することでバッテリー6から位置検出部1への電力供給を開始させる。   In the case of the above configuration, the switching unit 33 switches the presence / absence of power supply from the battery 6 to the position detection unit 1 using the detection signal generated by the signal generation unit 32 as a control signal. For example, the switching unit 33 starts power supply from the battery 6 to the position detection unit 1 when the level of the electric signal generated by the signal generation unit 32 is equal to or higher than a threshold value. For example, the switching unit 33 starts the power supply from the battery 6 to the position detection unit 1 when the signal generation unit 32 generates a detection signal equal to or greater than the threshold value.

また、切替部33は、信号発生部32で発生する電気信号のレベルが閾値未満になることでバッテリー6から位置検出部1への電力供給を停止させる。例えば、切替部33は、信号発生部32で発生する検出信号が閾値未満になることでバッテリー6から位置検出部1への電力供給を停止させる。例えば、第1電源PW1からの電力供給が遮断された状態(バックアップ状態)において、信号発生部32にパルス状の電気信号が発生する場合、切替部33は、この電気信号のレベル(電位)がローレベルからハイレベルに立ち上がった際に、バッテリー6から位置検出部1への電力供給を開始させ、この電気信号のレベル(電位)がローレベルへ変化してから所定の時間経過後に、バッテリー6から位置検出部1への電力供給を停止させる。   Further, the switching unit 33 stops the power supply from the battery 6 to the position detection unit 1 when the level of the electric signal generated by the signal generation unit 32 becomes less than the threshold value. For example, the switching unit 33 stops the power supply from the battery 6 to the position detection unit 1 when the detection signal generated by the signal generation unit 32 becomes less than the threshold value. For example, in the state where the power supply from the first power supply PW1 is cut off (backup state), when a pulsed electric signal is generated in the signal generating unit 32, the switching unit 33 has a level (potential) of the electric signal. When rising from the low level to the high level, power supply from the battery 6 to the position detection unit 1 is started, and after a predetermined time has elapsed since the level (potential) of the electric signal has changed to the low level, the battery 6 Power supply to the position detection unit 1 is stopped.

なお、電力供給部2は、検出信号の電圧をレギュレータなどで調整した電力を位置検出部1に供給してもよい。例えば、電力供給部2は、検出信号の電圧をレギュレータなどで調整した電力と、バッテリー6からの電力とを併用してあるいは切り替えて、位置検出部1に供給してもよい。   The power supply unit 2 may supply the position detection unit 1 with power obtained by adjusting the voltage of the detection signal with a regulator or the like. For example, the power supply unit 2 may supply the position detection unit 1 with the power obtained by adjusting the voltage of the detection signal with a regulator or the like and the power from the battery 6 in combination or switching.

図5は、本実施形態に係る電力供給部および多回転情報検出部の回路構成を示す図である。電力供給部2は、整流スタック51、及び図1の切替部33としてレギュレータ52を備える。整流スタック51は、信号発生部32から流れる電流を整流する整流器である。整流スタック51の第1入力端子51aは、信号発生部32の端子43aと接続されている。整流スタック51の第2入力端子51bは、信号発生部32の端子43bと接続されている。整流スタック51の接地端子51gは、シグナルグランドSGと同電位が供給される接地線GLに接続されている。多回転情報検出部3の動作時に、接地線GLの電位は、回路の基準電位になる。整流スタック51の出力端子51cは、レギュレータ52の制御端子52cに接続されている。   FIG. 5 is a diagram illustrating a circuit configuration of the power supply unit and the multi-rotation information detection unit according to the present embodiment. The power supply unit 2 includes a rectifier stack 51 and a regulator 52 as the switching unit 33 in FIG. The rectification stack 51 is a rectifier that rectifies the current flowing from the signal generator 32. The first input terminal 51 a of the rectifying stack 51 is connected to the terminal 43 a of the signal generating unit 32. The second input terminal 51 b of the rectifying stack 51 is connected to the terminal 43 b of the signal generator 32. The ground terminal 51g of the rectifying stack 51 is connected to a ground line GL to which the same potential as the signal ground SG is supplied. During the operation of the multi-rotation information detection unit 3, the potential of the ground line GL becomes the reference potential of the circuit. The output terminal 51 c of the rectifying stack 51 is connected to the control terminal 52 c of the regulator 52.

レギュレータ52は、バックアップ状態において、該レギュレータのオン状態及びオフ状態に応じて、バッテリー6から位置検出部1へ供給される電力を調整する。レギュレータ52は、バッテリー6と位置検出部1との間の電力供給経路に設けられるスイッチング素子53(スイッチ)を含む。レギュレータ52は、信号発生部32で発生する電気信号(検出信号)を制御信号(例、イネーブル信号)に用いてスイッチング素子53の動作を制御する。   In the backup state, the regulator 52 adjusts the power supplied from the battery 6 to the position detection unit 1 according to the on state and the off state of the regulator. The regulator 52 includes a switching element 53 (switch) provided in a power supply path between the battery 6 and the position detection unit 1. The regulator 52 controls the operation of the switching element 53 by using an electric signal (detection signal) generated by the signal generator 32 as a control signal (eg, an enable signal).

バッテリー6の正極は、レギュレータ52の入力端子52aに接続されている。バッテリー6の負極は、接地線GLに接続されている。レギュレータ52の出力端子52bは、電源線PLに接続されている。レギュレータ52の接地端子52gは、接地線GLに接続されている。レギュレータ52の制御端子52cはイネーブル端子である。レギュレータ52は、制御端子52cに閾値以上の電圧が印加された状態で、出力端子52bの電位を所定電圧に維持する。レギュレータ52の出力電圧(上記の所定電圧)は、計数部23がCMOSなどで構成される場合に例えば3Vである。記憶部24の動作電圧は、例えば、所定電圧と同じ電圧に設定される。なお、所定電圧は、電力供給に必要な電圧であり、一定の電圧値でもよいし、段階的に変化する電圧でもよい。   The positive electrode of the battery 6 is connected to the input terminal 52 a of the regulator 52. The negative electrode of the battery 6 is connected to the ground line GL. The output terminal 52b of the regulator 52 is connected to the power supply line PL. The ground terminal 52g of the regulator 52 is connected to the ground line GL. The control terminal 52c of the regulator 52 is an enable terminal. The regulator 52 maintains the potential of the output terminal 52b at a predetermined voltage in a state where a voltage equal to or higher than the threshold is applied to the control terminal 52c. The output voltage of the regulator 52 (the above-mentioned predetermined voltage) is, for example, 3 V when the counting unit 23 is configured by CMOS or the like. The operating voltage of the storage unit 24 is set to the same voltage as a predetermined voltage, for example. The predetermined voltage is a voltage necessary for power supply, and may be a constant voltage value or a voltage that changes stepwise.

スイッチング素子53は、位置検出部1に電力を供給する回路54の導通と遮断とを切替える。回路54は、例えば、第2電源(例、バッテリー6)の第1電極(正極)と第2電極(負極)とを結ぶ電力供給経路を構成する。回路54は、電源線PLおよび接地線GLを含む。接地線GLは、例えば、バッテリー6の負極と接続され、その電位が回路54の基準電位となる。スイッチング素子53は、例えば、バッテリー6から回路54を介した位置検出部1への電力供給の有無を切替える。   The switching element 53 switches between conduction and interruption of the circuit 54 that supplies power to the position detection unit 1. The circuit 54 constitutes a power supply path that connects, for example, a first electrode (positive electrode) and a second electrode (negative electrode) of a second power source (for example, the battery 6). Circuit 54 includes a power supply line PL and a ground line GL. For example, the ground line GL is connected to the negative electrode of the battery 6, and the potential thereof becomes the reference potential of the circuit 54. For example, the switching element 53 switches whether or not power is supplied from the battery 6 to the position detection unit 1 via the circuit 54.

レギュレータ52は、信号発生部32から制御端子52cに供給される電気信号を制御信号(イネーブル信号)に用いて、スイッチング素子53の端子間(例、ソース電極、ドレイン電極)の導通状態(オン状態)と絶縁状態(オフ状態)とを切り替える。例えば、スイッチング素子53は、MOS、TFTなどを含む。制御端子52cは、例えば、スイッチング素子53のゲート電極と接続される。   The regulator 52 uses the electrical signal supplied from the signal generator 32 to the control terminal 52c as a control signal (enable signal), and conducts between the terminals of the switching element 53 (eg, source electrode, drain electrode) (ON state). ) And insulation state (off state). For example, the switching element 53 includes a MOS, a TFT, and the like. The control terminal 52c is connected to the gate electrode of the switching element 53, for example.

スイッチング素子53のゲート電極(制御端子)は、信号発生部32で発生する電気信号(検出信号)によって充電される。スイッチング素子53は、ゲート電極の電圧に応じて回路54を導通へ切替える。例えば、スイッチング素子53は、ゲート電極の電位が回路54の基準電位である状態で、回路54を遮断している。また、スイッチング素子53は、ゲート電極の電圧が所定値以上になることで、ソース電極とドレイン電極との間が導通状態(オン状態)になる。スイッチング素子53のソース電極とドレイン電極との間がオン状態になると、バッテリー6から、電源線PLおよび接地線GLを介して回路54に電力が供給される。なお、電力供給部2は、レギュレータ52のオン状態及びオフ状態を取得する取得部を備えてもよい。   The gate electrode (control terminal) of the switching element 53 is charged by an electrical signal (detection signal) generated by the signal generator 32. The switching element 53 switches the circuit 54 to conduction according to the voltage of the gate electrode. For example, the switching element 53 blocks the circuit 54 in a state where the potential of the gate electrode is the reference potential of the circuit 54. Further, in the switching element 53, when the voltage of the gate electrode becomes equal to or higher than a predetermined value, the source electrode and the drain electrode are in a conductive state (ON state). When the source electrode and the drain electrode of the switching element 53 are turned on, electric power is supplied from the battery 6 to the circuit 54 via the power supply line PL and the ground line GL. The power supply unit 2 may include an acquisition unit that acquires the on state and the off state of the regulator 52.

多回転情報検出部3は、図4(A)に示した第2処理部18として、アナログコンパレータ55、アナログコンパレータ56、及び計数部23を含む。照射部16の電源端子16pは、電源線PLに接続されている。照射部16の接地端子16gは、接地線GLに接続されている。第2検出部17(受光素子)の出力端子17cは、アナログコンパレータ55の入力端子55aに接続されている。出力端子17cは、図2(A)に示した受光部17aの検出結果に相当する電圧を出力する。第2検出部17の出力端子17dは、アナログコンパレータ56の入力端子56aに接続されている。出力端子17dは、図2(A)に示した受光部17bの検出結果に相当する電圧を出力する。   The multi-rotation information detection unit 3 includes an analog comparator 55, an analog comparator 56, and a counting unit 23 as the second processing unit 18 illustrated in FIG. The power supply terminal 16p of the irradiation unit 16 is connected to the power supply line PL. The ground terminal 16g of the irradiation unit 16 is connected to the ground line GL. The output terminal 17 c of the second detection unit 17 (light receiving element) is connected to the input terminal 55 a of the analog comparator 55. The output terminal 17c outputs a voltage corresponding to the detection result of the light receiving unit 17a shown in FIG. The output terminal 17 d of the second detection unit 17 is connected to the input terminal 56 a of the analog comparator 56. The output terminal 17d outputs a voltage corresponding to the detection result of the light receiving unit 17b shown in FIG.

アナログコンパレータ55およびアナログコンパレータ56は、図4(A)に示した二値化部22である。アナログコンパレータ55は、第2検出部17の出力端子17cから出力される電圧を二値化する。アナログコンパレータ55は、例えば比較器であり、出力端子17cから出力される電圧を所定電圧と比較する。アナログコンパレータ55の電源端子55pは、電源線PLに接続されている。アナログコンパレータ55の接地端子55gは、接地線GLに接続されている。アナログコンパレータ55の出力端子55bは、計数部23の第1入力端子23aに接続されている。アナログコンパレータ55は、第2検出部17の出力端子17cの出力電圧が閾値以上である場合に出力端子55bからHレベルの信号を出力する。アナログコンパレータ55は、第2検出部17の出力端子17cの出力電圧が閾値未満である場合に出力端子55bからLレベルの信号を出力する。   The analog comparator 55 and the analog comparator 56 are the binarization unit 22 shown in FIG. The analog comparator 55 binarizes the voltage output from the output terminal 17 c of the second detection unit 17. The analog comparator 55 is a comparator, for example, and compares the voltage output from the output terminal 17c with a predetermined voltage. A power supply terminal 55p of the analog comparator 55 is connected to the power supply line PL. The ground terminal 55g of the analog comparator 55 is connected to the ground line GL. The output terminal 55 b of the analog comparator 55 is connected to the first input terminal 23 a of the counting unit 23. The analog comparator 55 outputs an H level signal from the output terminal 55b when the output voltage of the output terminal 17c of the second detection unit 17 is equal to or higher than the threshold value. The analog comparator 55 outputs an L level signal from the output terminal 55b when the output voltage of the output terminal 17c of the second detection unit 17 is less than the threshold value.

アナログコンパレータ56は、第2検出部17の出力端子17dから出力される電圧を二値化する。アナログコンパレータ56は、例えば比較器であり、出力端子17dから出力される電圧を所定電圧と比較する。アナログコンパレータ56の電源端子56pは、電源線PLに接続されている。アナログコンパレータ56の接地端子56gは、接地線GLに接続されている。アナログコンパレータ56の出力端子56bは、計数部23の第2入力端子23bに接続されている。アナログコンパレータ56は、第2検出部17の出力端子17dの出力電圧が閾値以上である場合に出力端子56bからHレベルの信号を出力する。アナログコンパレータ56は、第2検出部17の出力端子17dの出力電圧が閾値未満である場合に出力端子56bからLレベルの信号を出力する。   The analog comparator 56 binarizes the voltage output from the output terminal 17d of the second detection unit 17. The analog comparator 56 is a comparator, for example, and compares the voltage output from the output terminal 17d with a predetermined voltage. The power supply terminal 56p of the analog comparator 56 is connected to the power supply line PL. The ground terminal 56g of the analog comparator 56 is connected to the ground line GL. The output terminal 56 b of the analog comparator 56 is connected to the second input terminal 23 b of the counting unit 23. The analog comparator 56 outputs an H level signal from the output terminal 56b when the output voltage of the output terminal 17d of the second detection unit 17 is equal to or higher than the threshold value. The analog comparator 56 outputs an L level signal from the output terminal 56b when the output voltage of the output terminal 17d of the second detection unit 17 is less than the threshold value.

計数部23は、回転軸SFの多回転情報を、バッテリー6から供給される電力を用いて計数する。計数部23は、例えばCMOS論理回路などを含む。計数部23は、電源端子23pおよび接地端子23gを介して供給される電力を用いて動作する。計数部23の電源端子23pは、電源線PLに接続されている。計数部23の接地端子23gは、接地線GLに接続されている。計数部23は、第1入力端子23aを介して供給される電圧、及び第2入力端子23bを介して供給される電圧を制御信号として、計数処理を行う。   The counting unit 23 counts the multi-rotation information of the rotation axis SF using the power supplied from the battery 6. The counting unit 23 includes, for example, a CMOS logic circuit. The counting unit 23 operates using electric power supplied via the power supply terminal 23p and the ground terminal 23g. The power supply terminal 23p of the counting unit 23 is connected to the power supply line PL. The ground terminal 23g of the counting unit 23 is connected to the ground line GL. The counting unit 23 performs a counting process using the voltage supplied via the first input terminal 23a and the voltage supplied via the second input terminal 23b as control signals.

記憶部24は、第2処理部18(例、計数部23)が検出した回転位置情報の少なくとも一部(例、多回転情報)を、バッテリー6から供給される電力を用いて記憶する(書き込み動作を行う)。記憶部24は、第2処理部18が検出した回転位置情報として、計数部23による計数の結果(多回転情報)を記憶する。記憶部24の電源端子24pは、電源線PLに接続されている。記憶部24の接地端子24gは、接地線GLに接続されている。記憶部24は、例えば不揮発性メモリを含み、電力が供給されている間に書き込まれた情報を、電力が供給されない状態においても保持可能である。   The storage unit 24 stores at least a part (for example, multi-rotation information) of the rotational position information detected by the second processing unit 18 (for example, the counting unit 23) using the power supplied from the battery 6 (writing). Action). The storage unit 24 stores the count result (multi-rotation information) by the counting unit 23 as the rotational position information detected by the second processing unit 18. The power supply terminal 24p of the storage unit 24 is connected to the power supply line PL. The ground terminal 24g of the storage unit 24 is connected to the ground line GL. The storage unit 24 includes, for example, a non-volatile memory, and can hold information written while power is supplied even in a state where power is not supplied.

本実施形態において、整流スタック51とレギュレータ52との間には、キャパシタ59が設けられている。キャパシタ59の第1電極59aは、整流スタック51とレギュレータ52の制御端子52aとを接続する信号線に接続されている。キャパシタ59の第2電極59bは、接地線GLに接続されている。このキャパシタ59は、例えば平滑キャパシタであり、脈動を低減してレギュレータの負荷を低減する。キャパシタ59の定数は、例えば、第2処理部18により回転位置情報を検出して記憶部24に回転位置情報を書き込むまでの期間に、バッテリー6から第2処理部18および記憶部24への電力供給が維持されるように設定される。   In the present embodiment, a capacitor 59 is provided between the rectifying stack 51 and the regulator 52. The first electrode 59 a of the capacitor 59 is connected to a signal line that connects the rectifying stack 51 and the control terminal 52 a of the regulator 52. The second electrode 59b of the capacitor 59 is connected to the ground line GL. The capacitor 59 is, for example, a smoothing capacitor, and reduces pulsation to reduce the load on the regulator. The constant of the capacitor 59 is, for example, the power from the battery 6 to the second processing unit 18 and the storage unit 24 during the period from when the rotational position information is detected by the second processing unit 18 until the rotational position information is written in the storage unit 24. Set to maintain supply.

次に、実施形態に係るエンコーダ装置ECの動作について説明する。図6は、本実施形態において第1電源から電力供給時のエンコーダ装置の動作を示す図である。図7は、本実施形態において第2電源から電力供給時のエンコーダ装置の動作を示す図である。   Next, the operation of the encoder device EC according to the embodiment will be described. FIG. 6 is a diagram illustrating the operation of the encoder device when power is supplied from the first power supply in the present embodiment. FIG. 7 is a diagram illustrating an operation of the encoder device when power is supplied from the second power source in the present embodiment.

図6に示すように、第1電源PW1は、通常状態において位置検出部1に電力を供給する。照射部11は、第1電源PW1から供給される電力を用いて、第1パターン10(例、アブソリュートパターンABS、インクリメンタルパターンINC)に光を照射する。第1検出部12は、第1電源PW1から供給される電力を用いて、第1パターン10からの光を検出する。第1検出部12は、検出結果を示す検出信号を第1処理部13に出力する。第1処理部13は、第1電源PW1から供給される電力を用いて、第1検出部12からの検出信号を処理し、角度位置情報を算出する。第1処理部13は、算出した角度位置情報を、比較部25および合成部26のそれぞれに出力する。   As shown in FIG. 6, the first power supply PW1 supplies power to the position detection unit 1 in a normal state. The irradiation unit 11 irradiates light to the first pattern 10 (eg, an absolute pattern ABS, an incremental pattern INC) using power supplied from the first power supply PW1. The first detection unit 12 detects light from the first pattern 10 using electric power supplied from the first power supply PW1. The first detection unit 12 outputs a detection signal indicating the detection result to the first processing unit 13. The 1st process part 13 processes the detection signal from the 1st detection part 12 using the electric power supplied from the 1st power supply PW1, and calculates angular position information. The first processing unit 13 outputs the calculated angular position information to each of the comparison unit 25 and the synthesis unit 26.

また、照射部16は、第1電源PW1から供給される電力を用いて、第2パターン15に光を照射する。第2検出部17は、第1電源PW1から供給される電力を用いて、第2パターン15からの光を検出する。第2検出部17は、検出結果を示す検出信号を第2処理部18に出力する。第2処理部18は、第1電源PW1から供給される電力を用いて、第2検出部17からの検出信号を処理し、角度位置情報および多回転情報を算出する。第2処理部18が算出した多回転情報は、例えば記憶部24に記憶され(出力され)、記憶部24から合成部26に出力される(読み出される)。また、第2処理部18が算出した角度位置情報は、例えば記憶部24に記憶され(出力され)、記憶部24から比較部25に出力される(読み出される)。   The irradiation unit 16 irradiates the second pattern 15 with light using the power supplied from the first power supply PW1. The second detection unit 17 detects light from the second pattern 15 using the power supplied from the first power supply PW1. The second detection unit 17 outputs a detection signal indicating the detection result to the second processing unit 18. The second processing unit 18 processes the detection signal from the second detection unit 17 using the power supplied from the first power supply PW1, and calculates angular position information and multi-rotation information. The multi-rotation information calculated by the second processing unit 18 is stored (output), for example, in the storage unit 24, and is output (read) from the storage unit 24 to the combining unit 26. The angular position information calculated by the second processing unit 18 is stored (output), for example, in the storage unit 24, and is output (read) from the storage unit 24 to the comparison unit 25.

合成部26は、第1処理部13から出力された角度位置情報と、第2処理部18から出力された多回転情報とを含む回転位置情報を出力する。また、比較部25は、第1処理部13から出力された角度位置情報と、第2処理部18から出力された角度位置情報とを比較する。実施形態に係るエンコーダ装置ECは、第1処理部13から出力された角度位置情報と、第2処理部18から出力された角度位置情報とを比較するので、例えばエラーなどの不具合を検出することができ、信頼性が高い。例えば、比較部25は、第1処理部13と第2処理部18とで角度位置情報の差が所定値(例、許容範囲)を超える場合に、報知情報を生成する。この報知情報は、例えば、エラーの発生をユーザ等に報知することに利用され、装置の信頼性の向上に寄与する。   The combining unit 26 outputs rotational position information including the angular position information output from the first processing unit 13 and the multi-rotation information output from the second processing unit 18. The comparison unit 25 compares the angular position information output from the first processing unit 13 with the angular position information output from the second processing unit 18. Since the encoder device EC according to the embodiment compares the angular position information output from the first processing unit 13 with the angular position information output from the second processing unit 18, for example, it detects a defect such as an error. Can be reliable. For example, the comparison unit 25 generates notification information when the difference in angular position information between the first processing unit 13 and the second processing unit 18 exceeds a predetermined value (eg, allowable range). This notification information is used, for example, to notify the user or the like of the occurrence of an error, and contributes to improving the reliability of the device.

なお、エンコーダ装置ECは、第1の角度検出部(例、照射部11、第1検出部2、第1処理部13)と、第2の角度検出部(例、照射部16、第2検出部17、第2処理部18)とのうち、一方の角度検出部に動作不良が発生した場合に、他方の角度検出部の検出結果を用いて回転位置情報を出力してもよい。このようなエンコーダ装置ECは、上記の第1の角度検出部または第2角度検出部に動作不良を発生した場合でも回転位置情報を出力するので、装置の信頼性の向上に寄与する。   The encoder device EC includes a first angle detection unit (eg, irradiation unit 11, first detection unit 2, first processing unit 13) and a second angle detection unit (eg, irradiation unit 16, second detection). The rotation position information may be output using the detection result of the other angle detection unit when malfunction occurs in one of the angle detection units among the unit 17 and the second processing unit 18). Such an encoder device EC outputs rotational position information even when a malfunction occurs in the first angle detection unit or the second angle detection unit described above, which contributes to improvement in the reliability of the device.

図7に示すように、第1電源PW1は、バックアップ状態において位置検出部1に電力を供給しない。また、第2電源PW2(例、バッテリー6、電力供給部2)は、例えば、第1電源PW1が位置検出部1に電力を供給しない期間の少なくとも一部において、位置検出部1に電力を供給する。第2電源PW2は、例えば、上記の期間において電力を断続的に供給する。例えば、第2電源PW2は、回転軸SFが所定の角度位置になった際に電力を供給する。例えば、第2電源PW2は、回転軸SFが上記の所定の角度位置以外の位置にある場合に、電力を供給しない。この場合、例えばエンコーダ装置ECの少なくとも一部(例、図1のバッテリー6)について、動作が制限されることで消耗が低減される。   As shown in FIG. 7, the first power supply PW1 does not supply power to the position detector 1 in the backup state. In addition, the second power source PW2 (eg, the battery 6 and the power supply unit 2) supplies power to the position detection unit 1 in at least a part of a period in which the first power source PW1 does not supply power to the position detection unit 1, for example. To do. For example, the second power source PW2 intermittently supplies power in the above period. For example, the second power supply PW2 supplies power when the rotation axis SF reaches a predetermined angular position. For example, the second power supply PW2 does not supply power when the rotation axis SF is at a position other than the predetermined angular position. In this case, for example, at least part of the encoder device EC (for example, the battery 6 in FIG. 1) is limited in operation, so that consumption is reduced.

また、第2電源PW2は、例えば、位置検出部1の一部(以下、供給対象という)に対して電力を供給する。例えば、第2電源PW2は、多回転情報検出部3に対して電力を供給する。また、第2電源PW2は、例えば、位置検出部1のうち上記供給対象を除く部分に対して電力を供給しない。例えば、第2電源PW2は、角度検出部4に対して電力を供給しない。この場合、例えばエンコーダ装置ECの少なくとも一部(例、図1のバッテリー6、角度検出部4)について、動作が制限されることで消耗が低減される。   In addition, the second power supply PW2 supplies power to, for example, a part of the position detection unit 1 (hereinafter referred to as a supply target). For example, the second power supply PW2 supplies power to the multi-rotation information detection unit 3. The second power supply PW2 does not supply power to, for example, the portion of the position detection unit 1 excluding the supply target. For example, the second power supply PW2 does not supply power to the angle detection unit 4. In this case, for example, at least a part of the encoder device EC (for example, the battery 6 and the angle detection unit 4 in FIG. 1) is limited in operation, so that consumption is reduced.

照射部16は、第2電源PW2から供給される電力を用いて、第2パターン15に光を照射する。第2検出部17は、第2電源PW2から供給される電力を用いて、第2パターン15からの光を検出する。第2検出部17は、検出結果を示す検出信号を第2処理部18に出力する。第2処理部18は、第2電源PW2から供給される電力を用いて、第2検出部17からの検出信号を処理し、回転位置情報のうち少なくとも多回転情報を算出する。例えば、第2処理部18は、多回転情報を算出し、角度位置情報を算出しない。この場合、多回転情報検出部の処理が低減され、消費電力が低減される。記憶部24は、第2処理部18から出力される多回転情報を、第2電源PW2から供給される電力を用いて記憶する。記憶部24は、第1電源PW1からの電力供給および第2電源PW2からの電力供給が断たれた状態においても、多回転情報を保持する。   The irradiation unit 16 irradiates the second pattern 15 with light using the power supplied from the second power source PW2. The second detection unit 17 detects light from the second pattern 15 using power supplied from the second power supply PW2. The second detection unit 17 outputs a detection signal indicating the detection result to the second processing unit 18. The second processing unit 18 processes the detection signal from the second detection unit 17 using the power supplied from the second power supply PW2, and calculates at least multi-rotation information among the rotational position information. For example, the second processing unit 18 calculates multi-rotation information and does not calculate angular position information. In this case, the processing of the multi-rotation information detection unit is reduced and power consumption is reduced. The storage unit 24 stores the multi-rotation information output from the second processing unit 18 using the power supplied from the second power supply PW2. The storage unit 24 holds the multi-rotation information even when the power supply from the first power supply PW1 and the power supply from the second power supply PW2 are cut off.

また、本実施形態において、例えば、上記の第2パターン15の光学特性値が1回転(360°)の範囲で1周期の分布(例、1周期で変化する分布パターン)である場合、多回転情報検出部3は、多回転情報の検出に用いる部分(例、第2パターン15)を、角度位置情報の生成にも用いることも可能である。この角度位置情報は、例えば、回転軸SFの角度位置を示す角度位置情報と、角度検出部4が算出する角度位置情報に対する比較情報(参照情報)との一方または双方として利用される。本実施形態に係るエンコーダ装置ECは、例えば、多回転情報の検出に用いる部分と、上記比較情報の生成に用いる部分とを個別に設ける場合と比較して、装置構成がシンプルにすることができる。   In the present embodiment, for example, when the optical characteristic value of the second pattern 15 is a one-cycle distribution (for example, a distribution pattern that changes in one cycle) in the range of one rotation (360 °), multiple rotations are performed. The information detection unit 3 can also use a portion (for example, the second pattern 15) used for detecting the multi-rotation information for generating the angular position information. This angular position information is used, for example, as one or both of angular position information indicating the angular position of the rotation axis SF and comparison information (reference information) with respect to the angular position information calculated by the angle detection unit 4. The encoder apparatus EC according to the present embodiment can simplify the apparatus configuration as compared with, for example, a case where a part used for detecting multi-rotation information and a part used for generating the comparison information are provided separately. .

本実施形態に係るエンコーダ装置ECは、信号発生部32に電気信号が発生してから短時間(例、検出信号が発生された時)又は上位コントローラにて予め設定された周期(又は不定期)で上位コントローラやエンコーダ装置ECから出力せるトリガー信号が発生してから短時間のうちに、バッテリー6から多回転情報検出部3に電力が供給され、多回転情報検出部3がダイナミック駆動(間欠駆動)する。多回転情報の検出および書き込みの終了後は、多回転情報検出部3への電力供給は絶たれるが、計数値は、記憶部24に格納されているので保持される。このようなシーケンスは、外部からの電力供給が絶たれた状態においても、磁石31上の所定位置が信号発生部32の近傍を通過するたびに繰り返される。   The encoder device EC according to the present embodiment has a short period (eg, when a detection signal is generated) after an electric signal is generated in the signal generation unit 32 or a period (or irregular) preset by a host controller. In a short time after the trigger signal that can be output from the host controller or the encoder device EC is generated, power is supplied from the battery 6 to the multi-rotation information detection unit 3, and the multi-rotation information detection unit 3 is dynamically driven (intermittent drive). ) After the detection and writing of the multi-rotation information is completed, the power supply to the multi-rotation information detection unit 3 is cut off, but the count value is retained because it is stored in the storage unit 24. Such a sequence is repeated every time a predetermined position on the magnet 31 passes in the vicinity of the signal generator 32 even in a state where the external power supply is cut off.

記憶部24に記憶されている多回転情報は、例えば、次にモータMが起動される際にモータ制御部MCなどに読み出され、回転軸SFの初期位置などの算出に利用される。このようなエンコーダ装置ECは、信号発生部32で発生する電気信号に応じて、位置検出部1(例、多回転情報検出部3)で消費される電力の少なくとも一部をバッテリー6が供給するので、バッテリー6を長寿命にすることができる。バッテリー6のメンテナンス(例、交換)をなくしたり、メンテナンスの頻度を減らしたりすることができる。例えば、バッテリー6の寿命がエンコーダ装置ECの他の部分の寿命よりも長い場合、バッテリー6の交換を不要にすることもできる。   The multi-rotation information stored in the storage unit 24 is read, for example, by the motor control unit MC when the motor M is started next time, and is used for calculating the initial position of the rotation axis SF and the like. In such an encoder device EC, the battery 6 supplies at least part of the power consumed by the position detection unit 1 (for example, the multi-rotation information detection unit 3) in accordance with the electrical signal generated by the signal generation unit 32. Therefore, the battery 6 can have a long life. Maintenance (eg, replacement) of the battery 6 can be eliminated, and the frequency of maintenance can be reduced. For example, when the life of the battery 6 is longer than the life of the other part of the encoder device EC, the replacement of the battery 6 can be made unnecessary.

また、ウィーガントワイヤ等の感磁性ワイヤを利用すると、磁石31の回転が極めて低速であっても、信号発生部32からパルス電流の出力が得られる。そのため、例えばモータMへ電力供給がなされていない状態などにおいて、回転軸SF(磁石31)の回転が極めて低速な場合にも、信号発生部32の出力を電気信号として利用できる。   Further, when a magnetosensitive wire such as a Wiegand wire is used, a pulse current output can be obtained from the signal generator 32 even if the rotation of the magnet 31 is extremely low. Therefore, for example, in a state where power is not supplied to the motor M, the output of the signal generation unit 32 can be used as an electrical signal even when the rotation of the rotating shaft SF (magnet 31) is extremely low.

なお、第2処理部18は、第2パターン15を第2検出部17が検出した検出結果を用いて多回転情報を検出し、角度位置情報を検出しなくてもよい。この場合、比較部25は、第2検出部17の検出結果に基づく多回転情報を、上記の第2の多回転検出部による多回転情報と比較してもよい。また、第2処理部18は、第2パターン15を第2検出部17が検出した検出結果を用いて角度位置情報を検出し、多回転情報を検出しなくてもよい。また、エンコーダ装置ECは、比較部25を備えなくてもよい。   In addition, the 2nd process part 18 does not need to detect multi-rotation information using the detection result which the 2nd detection part 17 detected the 2nd pattern 15, and to detect angle position information. In this case, the comparison unit 25 may compare the multi-rotation information based on the detection result of the second detection unit 17 with the multi-rotation information by the second multi-rotation detection unit. Moreover, the 2nd process part 18 does not need to detect angular position information using the detection result which the 2nd detection part 17 detected the 2nd pattern 15, and does not detect multi-rotation information. The encoder device EC may not include the comparison unit 25.

なお、多回転情報検出部3の一部は、角度検出部4と共用であってもよい。また、電力供給部2は、信号発生部32で発生する検出信号の電力を電源に用いてもよい。例えば、電力供給部2は、検出信号の電圧をレギュレータなどで所定電圧に調整し、検出信号の電力を位置検出部1に供給してもよい。また、上述の実施形態において、信号発生部32は、磁石31に対して所定の位置関係になった際に検出信号が発生する。エンコーダ装置EC(多回転情報検出部3)は、信号発生部32を、回転軸SF(磁石31)の位置情報を検出するセンサとして備えてもよい。   A part of the multi-rotation information detection unit 3 may be shared with the angle detection unit 4. The power supply unit 2 may use the power of the detection signal generated by the signal generation unit 32 as a power source. For example, the power supply unit 2 may adjust the voltage of the detection signal to a predetermined voltage with a regulator or the like, and supply the power of the detection signal to the position detection unit 1. In the above-described embodiment, the signal generation unit 32 generates a detection signal when a predetermined positional relationship with the magnet 31 is obtained. The encoder device EC (multi-rotation information detection unit 3) may include the signal generation unit 32 as a sensor that detects position information of the rotation axis SF (magnet 31).

なお、電力供給部2は、バックアップ状態において、連続的に電力を供給してもよい。また、電力供給部2は、バックアップ状態において、多回転情報検出部3と別の部分(例、角度検出部4の少なくとも一部)に電力を供給してもよい。多回転情報検出部3は、バックアップ状態において、通常状態と同様に角度位置情報を算出してもよい。例えば、バックアップ状態において、多回転情報検出部3および角度検出部4は、それぞれ角度位置情報を算出してもよい。この場合、比較部25は、バックアップ状態において多回転情報検出部3が算出した角度位置情報と、バックアップ状態において角度検出部4が算出した角度位置情報とを比較してもよい。   Note that the power supply unit 2 may continuously supply power in the backup state. Further, the power supply unit 2 may supply power to a part (eg, at least a part of the angle detection unit 4) different from the multi-rotation information detection unit 3 in the backup state. The multi-rotation information detection unit 3 may calculate the angular position information in the backup state as in the normal state. For example, in the backup state, the multi-rotation information detection unit 3 and the angle detection unit 4 may each calculate angular position information. In this case, the comparison unit 25 may compare the angular position information calculated by the multi-rotation information detection unit 3 in the backup state with the angular position information calculated by the angle detection unit 4 in the backup state.

なお、合成部26は、多回転情報検出部3が算出した角度位置情報を含む回転位置情報を生成してもよい。例えば、合成部26は、角度検出部4の動作不良が検出された場合に、角度検出部4により算出される角度位置情報の代わりに、多回転情報検出部3によって算出される角度位置情報を用いて、回転位置情報を生成してもよい。例えば、上記した第2パターン15を検出する多回転情報検出部3が回転体の角度位置情報の検出に用いられる場合、本実施形態におけるエンコーダ装置ECは、光学式の多回転情報検出部3と光学式の角度検出部4とによって角度位置情報を検出する検出部(例、角度検出部4)の多重化(この場合、二重化)を構成することができ、装置の信頼性を向上することが可能である。また、例えば、本実施形態における角度検出部4はホール素子やMR素子などを用いた磁気式の角度検出部であってもよい。このような磁気式の角度検出部が用いられ、かつ上記した第2パターン15を検出する多回転情報検出部3が回転体の角度位置情報の検出に用いられる場合であっても、本実施形態におけるエンコーダ装置ECは、光学式の多回転情報検出部3と磁気式の角度検出部とによって角度位置情報を検出する検出部(例、角度検出部4)の多重化(この場合、二重化)を構成することができ、装置の信頼性を向上することが可能となる。   The combining unit 26 may generate rotational position information including the angular position information calculated by the multi-rotation information detecting unit 3. For example, the synthesizing unit 26 uses the angular position information calculated by the multi-rotation information detecting unit 3 instead of the angular position information calculated by the angle detecting unit 4 when a malfunction of the angle detecting unit 4 is detected. It may be used to generate rotational position information. For example, when the multi-rotation information detection unit 3 that detects the second pattern 15 described above is used to detect the angular position information of the rotating body, the encoder device EC in the present embodiment includes an optical multi-rotation information detection unit 3 and Multiplexing (in this case, duplication) of a detection unit (for example, angle detection unit 4) that detects angular position information by the optical angle detection unit 4 can be configured, and the reliability of the apparatus can be improved. Is possible. Further, for example, the angle detector 4 in the present embodiment may be a magnetic angle detector using a Hall element, an MR element, or the like. Even if such a magnetic angle detector is used and the multi-rotation information detector 3 for detecting the second pattern 15 described above is used for detecting the angular position information of the rotating body, this embodiment The encoder device EC in FIG. 1 multiplexes (in this case, duplex) a detection unit (eg, angle detection unit 4) that detects angular position information by means of an optical multi-rotation information detection unit 3 and a magnetic angle detection unit. Thus, the reliability of the apparatus can be improved.

[第2実施形態]
次に、図8などを用いて、第2実施形態について説明する。本実施形態において、上述の実施形態と同様の構成については、同じ符号を付してその説明を省略あるいは簡略化する。図8(A)は、本実施形態に係る比較部を示す図である。比較部25は、第2検出部17(例、第1受光部17a)が第2パターン15のうち第1位相のパターン15a(例、濃淡を有するパターン)を検出した検出結果(以下、第1検出信号という)と、第2検出部17(例、第2受光部17b)が第2パターン15のうち第2位相のパターン15b(例、濃淡を有するパターン)を検出した検出結果(以下、第2検出信号という)との関係に基づいて、エンコーダ装置ECの動作に関する報知情報を生成して出力する。
[Second Embodiment]
Next, a second embodiment will be described with reference to FIG. In the present embodiment, the same components as those in the above-described embodiment are denoted by the same reference numerals, and the description thereof is omitted or simplified. FIG. 8A is a diagram illustrating a comparison unit according to the present embodiment. The comparison unit 25 detects a detection result (hereinafter, first pattern) in which the second detection unit 17 (for example, the first light receiving unit 17a) detects the first phase pattern 15a (for example, a pattern having shading) in the second pattern 15. A detection signal) and a detection result (hereinafter referred to as a first detection signal) when the second detection unit 17 (for example, the second light receiving unit 17b) detects a second phase pattern 15b (for example, a pattern having shading) in the second pattern 15. Notification information regarding the operation of the encoder device EC is generated and output based on the relationship with the two detection signals).

第1検出信号Sa(図3(B)参照)は、例えば正弦波状である。第2検出信号Sb(図3(B)参照)は、第1検出信号Saと位相がずれた正弦波状である。例えば、第1検出信号Saと第2検出信号Sbとで位相が90°ずれている場合、第2検出信号Sbは、余弦波に相当する。   The first detection signal Sa (see FIG. 3B) is, for example, sinusoidal. The second detection signal Sb (see FIG. 3B) has a sine wave shape that is out of phase with the first detection signal Sa. For example, when the first detection signal Sa and the second detection signal Sb are 90 ° out of phase, the second detection signal Sb corresponds to a cosine wave.

図8(B)は、第1検出信号のレベルと第2検出信号のレベルとの関係を示す図である。上記のように、第1検出信号と第2検出信号とで位相が90°ずれている場合、第1検出信号と第2検出信号とのリサージュLF(リサージュ図形)は、円周になる。例えば、第1検出信号のレベルをSL1とし、第2検出信号のレベルをSL2としたときに、これらレベルを組みにした座標(SL1,SL2)の点は、リサージュLFの線上に配置されることが想定される。   FIG. 8B is a diagram illustrating the relationship between the level of the first detection signal and the level of the second detection signal. As described above, when the first detection signal and the second detection signal are 90 ° out of phase, the Lissajous LF (Lissajous figure) between the first detection signal and the second detection signal is a circle. For example, when the level of the first detection signal is SL1 and the level of the second detection signal is SL2, the points of the coordinates (SL1, SL2) that combine these levels are arranged on the line of the Lissajous LF. Is assumed.

図8(B)の符号ARは、リサージュLFに対して誤差を加味した許容範囲である。比較部25は、例えば、上記の座標(SL1,SL2)の点が許容範囲AR内であるか否かを判定する。比較部25は、例えば、座標(SL1,SL2)の点が許容範囲AR内に無いと判定した場合に、報知情報(報知信号)としてエラーあるいは警報を示す情報(信号)を生成する。比較部25は、例えば、照射部16の不具合などを報知情報によって外部へ報知することができ、装置の信頼性を向上させることに寄与する。   A symbol AR in FIG. 8B is an allowable range in which an error is added to the Lissajous LF. For example, the comparison unit 25 determines whether or not the point of the coordinates (SL1, SL2) is within the allowable range AR. For example, when the comparison unit 25 determines that the point of the coordinates (SL1, SL2) is not within the allowable range AR, the comparison unit 25 generates information (signal) indicating an error or a warning as the notification information (notification signal). For example, the comparison unit 25 can notify the defect of the irradiation unit 16 to the outside by notification information, which contributes to improving the reliability of the apparatus.

[駆動装置]
次に、実施形態に係る駆動装置について説明する。図9は、駆動装置MTRの一例を示す図である。以下の説明において、上記した実施形態と同一または同等の構成部分については、適宜、同一符号を付けて説明を省略または簡略化する。この駆動装置MTRは、電動モータを含むモータ装置である。駆動装置MTRは、回転軸SFと、回転軸SFを回転駆動する本体部(駆動部)BDと、回転軸SFの回転位置情報を検出するエンコーダ装置ECとを有している。
[Driver]
Next, the drive device according to the embodiment will be described. FIG. 9 is a diagram illustrating an example of the driving device MTR. In the following description, components that are the same as or equivalent to those in the above-described embodiment will be given the same reference numerals, and description thereof will be omitted or simplified. The drive device MTR is a motor device including an electric motor. The drive device MTR includes a rotary shaft SF, a main body (drive unit) BD that rotationally drives the rotary shaft SF, and an encoder device EC that detects rotational position information of the rotary shaft SF.

回転軸SFは、負荷側端部SFaと、反負荷側端部SFbとを有している。負荷側端部SFaは、減速機など他の動力伝達機構に接続される。反負荷側端部SFbには、固定部を介してスケールSが固定される。このスケールSの固定とともに、エンコーダ装置ECが取り付けられている。エンコーダ装置ECは、上述した実施形態に係るエンコーダ装置である。   The rotation shaft SF has a load side end portion SFa and an anti-load side end portion SFb. The load side end portion SFa is connected to another power transmission mechanism such as a speed reducer. The scale S is fixed to the non-load side end portion SFb through a fixing portion. Along with fixing the scale S, an encoder device EC is attached. The encoder device EC is the encoder device according to the above-described embodiment.

エンコーダ装置ECは、例えば、回転軸SFの回転によって相対的に回転する磁石31および検出部MDを備える。検出部MDは、例えば、ホール素子あるいはMR素子などの磁気検出部である。検出部MDは、磁石31が形成する磁界を検出する。磁石31(図2参照)は、検出部MDに形成する磁界の向き、及び強さが回転軸SFの回転角によって変化する。エンコーダ装置ECは、検出部MDの検出結果に基づいて、回転軸SFの多回転情報を検出する。エンコーダ装置ECは、例えば、図1などに示した比較部25によって、第2処理部18による多回転情報と、検出部MDによる多回転情報とを上述のように比較してもよい。なお、検出部MDが検出する磁界を形成する磁石は、磁石31と別に設けられてもよい。   The encoder device EC includes, for example, a magnet 31 and a detection unit MD that rotate relatively with the rotation of the rotation shaft SF. The detection unit MD is, for example, a magnetic detection unit such as a Hall element or an MR element. The detection unit MD detects a magnetic field formed by the magnet 31. In the magnet 31 (see FIG. 2), the direction and strength of the magnetic field formed in the detection unit MD vary depending on the rotation angle of the rotation axis SF. The encoder device EC detects multi-rotation information of the rotation axis SF based on the detection result of the detection unit MD. For example, the encoder device EC may compare the multi-rotation information by the second processing unit 18 and the multi-rotation information by the detection unit MD as described above by the comparison unit 25 illustrated in FIG. 1 and the like. The magnet that forms the magnetic field detected by the detection unit MD may be provided separately from the magnet 31.

なお、エンコーダ装置ECは、第1の角度検出部(例、図1の照射部11、第1検出部12、第1処理部13)と、第2の角度検出部(例、図1の照射部16、第2検出部17、第2処理部18)との一方または双方を備えてもよい。エンコーダ装置ECは、第1の多回転検出部(例、図1の照射部16、第2検出部17、第2処理部18)と、第2の多回転検出部(例、図9の検出部MD)との一方または双方を備えてもよい。上記の第1の角度検出部、第2の角度検出部、第1の多回転検出部、及び第2の多回転検出部は、それぞれ、光学式のエンコーダでもよいし、磁気式のエンコーダでもよく、その他の検出方式(例、静電容量式)のエンコーダでもよい。上記の第1の角度検出部、第2の角度検出部、第1の多回転検出部、及び第2の多回転検出部の検出方式の組み合わせは任意である。   The encoder device EC includes a first angle detection unit (for example, the irradiation unit 11, the first detection unit 12, and the first processing unit 13 in FIG. 1) and a second angle detection unit (for example, the irradiation in FIG. 1). One or both of the unit 16, the second detection unit 17, and the second processing unit 18) may be provided. The encoder device EC includes a first multi-rotation detection unit (for example, the irradiation unit 16, the second detection unit 17, and the second processing unit 18 in FIG. 1) and a second multi-rotation detection unit (for example, the detection in FIG. 9). Part MD) or both. Each of the first angle detector, the second angle detector, the first multi-rotation detector, and the second multi-rotation detector may be an optical encoder or a magnetic encoder. Other detection methods (eg, capacitance type) encoders may also be used. A combination of detection methods of the first angle detection unit, the second angle detection unit, the first multi-rotation detection unit, and the second multi-rotation detection unit is arbitrary.

この駆動装置MTRは、エンコーダ装置ECの検出結果を使って、図1などに示したモータ制御部MCが本体部BDを制御する。駆動装置MTRは、例えば、エンコーダ装置ECの信頼性が高いので、安定に動作可能である。なお、実施形態に係る駆動装置MTRは、リニアモータあるいは平面モータでもよく、実施形態に係るエンコーダ装置ECは、リニアエンコーダでもよい。また、駆動装置MTRは、モータ装置に限定されず、油圧や空圧を利用して回転する軸部を有する他の駆動装置であってもよい。   In the driving device MTR, the motor control unit MC shown in FIG. 1 or the like controls the main body BD using the detection result of the encoder device EC. The drive device MTR, for example, can operate stably because the reliability of the encoder device EC is high. The drive device MTR according to the embodiment may be a linear motor or a planar motor, and the encoder device EC according to the embodiment may be a linear encoder. The drive device MTR is not limited to a motor device, and may be another drive device having a shaft portion that rotates using hydraulic pressure or pneumatic pressure.

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

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

ステージ装置STGは、例えば、エンコーダ装置ECの信頼性が高いので、安定的に動作可能である。ステージ装置STGは、例えば、旋盤等の工作機械に備える回転テーブル等に適用できる。なお、ステージ装置STGは、例えば、1次元のリニアモータによって、ステージを1方向に直線的に移動させる構成でもよい。また、ステージ装置STGは、複数の1次元のリニアモータあるいは2次元のリニアモータ(例、平面モータ)によって、ステージを2方向に移動させる構成でもよい。   The stage apparatus STG can operate stably because the reliability of the encoder apparatus EC is high, for example. The stage apparatus STG can be applied to, for example, a rotary table provided in a machine tool such as a lathe. Note that the stage apparatus STG may have a configuration in which the stage is linearly moved in one direction by a one-dimensional linear motor, for example. Further, the stage apparatus STG may be configured to move the stage in two directions by a plurality of one-dimensional linear motors or two-dimensional linear motors (eg, planar motors).

[ロボット装置]
次に、ロボット装置について説明する。図11は、ロボット装置RBTを示す斜視図である。なお、図11には、ロボット装置RBTの一部(関節部分)を模式的に示した。以下の説明において、上記した実施形態と同一または同等の構成部分については同一符号を付けて説明を省略または簡略化する。このロボット装置RBTは、第1アームAR1と、第2アームAR2と、関節部JTとを備える。第1アームAR1は、関節部JTを介して、第2アームAR2と接続されている。
[Robot equipment]
Next, the robot apparatus will be described. FIG. 11 is a perspective view showing the robot apparatus RBT. FIG. 11 schematically shows a part (joint part) of the robot apparatus RBT. In the following description, components that are the same as or equivalent to those in the above-described embodiment are denoted by the same reference numerals and description thereof is omitted or simplified. The robot apparatus RBT includes 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 portion JT.

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

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

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

ロボット装置RBTは、例えば、エンコーダ装置ECの信頼性が高いので、安定的に動作可能である。なお、ロボット装置RBTは、上記の構成に限定されず、駆動装置MTRは、複数の関節を備える各種ロボット装置(例、双腕多軸型ロボット)に適用できる。複数の関節を備えるロボット装置の場合、そのロボット装置は各関節(各軸)又は一部の関節に本実施形態のエンコーダ装置ECが配置される。   For example, the robot apparatus RBT can operate stably because the reliability of the encoder apparatus EC is high. Note that the robot apparatus RBT is not limited to the above configuration, and the driving apparatus MTR can be applied to various robot apparatuses (for example, a double-arm multi-axis robot) having a plurality of joints. In the case of a robot apparatus having a plurality of joints, the encoder apparatus EC of the present embodiment is arranged at each joint (each axis) or a part of the robot apparatus.

なお、本発明の技術範囲は、上述の実施形態などで説明した態様に限定されるものではない。上述の実施形態などで説明した要件の1つ以上は、省略されることがある。また、上述の実施形態などで説明した要件は、適宜組み合わせることができる。また、法令で許容される限りにおいて、上述の実施形態などで引用した全ての文献の開示を援用して本文の記載の一部とする。   The technical scope of the present invention is not limited to the aspects described in the above-described embodiments. One or more of the requirements described in the above embodiments and the like may be omitted. In addition, the requirements described in the above-described embodiments and the like can be combined as appropriate. In addition, as long as it is permitted by law, the disclosure of all documents cited in the above-described embodiments and the like is incorporated as a part of the description of the text.

1・・・位置検出部、2・・・電力供給部、3・・・多回転情報検出部、4・・・角度検出部、6・・・バッテリー、S・・・スケール、10・・・第1パターン、11・・・照射部、12・・・第1検出部、15・・・第2パターン、15a・・・第1位相のパターン、15b・・・第2位相のパターン、17・・・第2検出部、18・・・第2処理部、25・・・比較部、EC・・・エンコーダ装置、MTR・・・駆動装置、PW1・・・第1電源、PW2・・・第2電源、RBT・・・ロボット装置、STG・・・ステージ装置 DESCRIPTION OF SYMBOLS 1 ... Position detection part, 2 ... Electric power supply part, 3 ... Multi-rotation information detection part, 4 ... Angle detection part, 6 ... Battery, S ... Scale, 10 ... First pattern, 11... Irradiation unit, 12... First detection unit, 15... Second pattern, 15 a... First phase pattern, 15 b. ..Second detection unit, 18 ... second processing unit, 25 ... comparison unit, EC ... encoder device, MTR ... drive device, PW1 ... first power supply, PW2 ... first 2 power supplies, RBT ... Robot device, STG ... Stage device

Claims (16)

回転体の角度位置を示す第1パターンと、
前記第1パターンからの光を検出する第1検出部と、
前記第1検出部の検出結果に基づいて前記回転体の角度位置情報を算出する第1処理部と、
回転体の回転方向において光学特性値が漸次的に変化する第2パターンと、
前記第2パターンからの光を検出する第2検出部と、
前記第2検出部の検出結果をもとに前記回転体の多回転情報を算出する第2処理部と、を備えるエンコーダ装置。
A first pattern indicating the angular position of the rotating body;
A first detector for detecting light from the first pattern;
A first processing unit that calculates angular position information of the rotating body based on a detection result of the first detection unit;
A second pattern in which the optical characteristic value gradually changes in the rotation direction of the rotating body;
A second detector for detecting light from the second pattern;
An encoder device comprising: a second processing unit that calculates multi-rotation information of the rotating body based on a detection result of the second detection unit.
前記第2パターンは、前記光学特性値が漸増する又は漸減するパターンを含む、請求項1に記載のエンコーダ装置。   The encoder apparatus according to claim 1, wherein the second pattern includes a pattern in which the optical characteristic value gradually increases or decreases. 前記第1処理部は、第1電源から電力が供給される状態において、前記角度位置情報を算出し、
前記第2処理部は、前記第1電源から電力が供給される状態または前記第1電源とは異なる第2電源から電力が供給される状態において、前記多回転情報を算出する、
請求項1又は請求項2に記載のエンコーダ装置。
The first processing unit calculates the angular position information in a state where power is supplied from a first power source,
The second processing unit calculates the multi-rotation information in a state where power is supplied from the first power source or in a state where power is supplied from a second power source different from the first power source.
The encoder device according to claim 1 or 2.
前記第2処理部は、前記第1電源から電力供給を受ける状態において、前記第2検出部の検出結果に基づいて前記回転体の角度位置情報を算出し、
前記第1処理部が算出した前記回転体の角度位置情報と、前記第2処理部が算出した前記回転体の角度位置情報とを比較する比較部を備える、請求項3に記載のエンコーダ装置。
The second processing unit calculates angular position information of the rotating body based on a detection result of the second detection unit in a state where power is supplied from the first power source.
The encoder apparatus according to claim 3, further comprising a comparison unit that compares the angular position information of the rotating body calculated by the first processing unit and the angular position information of the rotating body calculated by the second processing unit.
前記第2処理部は、
前記第1電源から電力供給を受ける状態において、前記第2検出部の検出結果に基づいて前記回転体の角度位置情報を算出し、
前記第1電源から電力供給が断たれた状態において、前記第2検出部の検出結果に基づいて前記回転体の多回転情報を算出する、請求項3または請求項4に記載のエンコーダ装置。
The second processing unit includes:
In the state of receiving power supply from the first power source, the angular position information of the rotating body is calculated based on the detection result of the second detection unit,
5. The encoder device according to claim 3, wherein multi-rotation information of the rotating body is calculated based on a detection result of the second detection unit in a state where power supply from the first power source is cut off.
前記第2処理部は、前記第2検出部の検出結果に基づいて、前記回転体の角度位置情報を前記第1処理部よりも低い分解能で検出する、請求項1から請求項5のいずれか一項に記載のエンコーダ装置。   The said 2nd processing part detects the angular position information of the said rotary body with a resolution | decomposability lower than the said 1st processing part based on the detection result of the said 2nd detection part, The any one of Claims 1-5 The encoder device according to one item. 前記第2パターンは、前記回転体の回転方向で位相が互いにずれた複数のパターンを含む、請求項1から請求項6のいずれか一項に記載のエンコーダ装置。   The encoder device according to any one of claims 1 to 6, wherein the second pattern includes a plurality of patterns whose phases are shifted from each other in a rotation direction of the rotating body. 前記第2処理部は、前記複数のパターンのうち第1位相のパターンを前記第2検出部が検出した検出結果と、前記複数のパターンのうち第2位相のパターンを前記第2検出部が検出した検出結果とを用いて、前記回転体の回転方向の向きを判別する、請求項7に記載のエンコーダ装置。   The second processing unit detects a detection result of the second detection unit detecting a first phase pattern among the plurality of patterns, and a second detection unit detects the second phase pattern among the plurality of patterns. The encoder apparatus according to claim 7, wherein the direction of the rotating body is determined using the detected result. 移動部の位置情報を示す第1パターンと、
前記第1パターンからの光を検出する第1検出部の検出結果に基づいて前記移動部の位置情報を算出する第1処理部と、
移動部の移動方向において光学特性値が漸次的に変化する第2パターンと、
前記第2パターンからの光を検出する第2検出部の検出結果をもとに前記移動部の位置情報を算出する第2処理部と、
前記第1処理部が算出した前記移動部の位置情報と前記第2処理部が算出した前記移動部の位置情報とを比較する比較部と、を備えるエンコーダ装置。
A first pattern indicating position information of the moving unit;
A first processing unit that calculates position information of the moving unit based on a detection result of a first detection unit that detects light from the first pattern;
A second pattern in which the optical characteristic value gradually changes in the moving direction of the moving unit;
A second processing unit that calculates position information of the moving unit based on a detection result of a second detection unit that detects light from the second pattern;
An encoder device comprising: a comparison unit that compares the position information of the moving unit calculated by the first processing unit with the position information of the moving unit calculated by the second processing unit.
前記比較部は、前記第1処理部が算出した前記移動部の位置情報と前記第2処理部が算出した前記移動部の位置情報とが所定の条件を満たすか否かを判定し、
前記比較部の判定結果に基づいて、前記第1処理部が算出した前記移動部の位置情報を含む情報を出力する、請求項9に記載のエンコーダ装置。
The comparison unit determines whether the position information of the moving unit calculated by the first processing unit and the position information of the moving unit calculated by the second processing unit satisfy a predetermined condition,
The encoder apparatus according to claim 9, wherein information including position information of the moving unit calculated by the first processing unit is output based on a determination result of the comparison unit.
前記移動部は回転体であり、
前記比較部は、前記第1検出部の検出結果に基づく前記回転体の角度位置情報と、前記第2検出部の検出結果に基づく前記回転体の角度位置情報との演算結果に基づいて、報知情報を生成する、請求項9又は請求項10に記載のエンコーダ装置。
The moving unit is a rotating body,
The comparison unit is notified based on a calculation result of the angular position information of the rotating body based on the detection result of the first detection unit and the angular position information of the rotating body based on the detection result of the second detection unit. The encoder apparatus according to claim 9 or 10, which generates information.
前記移動部は回転体であり、
前記回転体の多回転情報を検出する多回転情報検出部を備え、
前記比較部は、前記第2検出部の検出結果に基づく前記回転体の多回転情報と、前記多回転情報検出部による前記回転体の多回転情報とを比較する、請求項9から請求項11のいずれか一項に記載のエンコーダ装置。
The moving unit is a rotating body,
A multi-rotation information detection unit for detecting multi-rotation information of the rotating body;
The comparison unit compares multi-rotation information of the rotating body based on a detection result of the second detection unit and multi-rotation information of the rotating body by the multi-rotation information detection unit. The encoder device according to any one of the above.
前記移動部は回転体であり、
前記第2パターンは、前記回転体の回転方向で位相が互いにずれた複数のパターンを含み、
前記比較部は、前記複数のパターンのうち第1位相のパターンを前記第2検出部が検出した検出結果と、前記複数のパターンのうち第2位相のパターンを前記第2検出部が検出した検出結果との関係に基づいて、報知情報を生成する、請求項9から請求項12のいずれか一項に記載のエンコーダ装置。
The moving unit is a rotating body,
The second pattern includes a plurality of patterns whose phases are shifted from each other in the rotation direction of the rotating body,
The comparison unit detects a detection result obtained by detecting the first phase pattern among the plurality of patterns by the second detection unit, and a detection obtained by detecting the second phase pattern among the plurality of patterns by the second detection unit. The encoder device according to any one of claims 9 to 12, wherein the notification information is generated based on a relationship with a result.
請求項1から請求項13のいずれか一項に記載のエンコーダ装置と、
前記回転体に駆動力を供給する駆動部と、を備える駆動装置。
The encoder device according to any one of claims 1 to 13,
And a driving unit that supplies a driving force to the rotating body.
請求項14に記載の駆動装置と、
前記駆動装置によって移動するステージと、を備えるステージ装置。
A drive device according to claim 14,
And a stage that is moved by the driving device.
請求項14に記載の駆動装置と、
前記駆動装置によって移動するアームと、を備えるロボット装置。
A drive device according to claim 14,
And an arm that is moved by the driving device.
JP2017005593A 2017-01-17 2017-01-17 Encoder device, drive device, stage device, and robot device Active JP6878899B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017005593A JP6878899B2 (en) 2017-01-17 2017-01-17 Encoder device, drive device, stage device, and robot device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017005593A JP6878899B2 (en) 2017-01-17 2017-01-17 Encoder device, drive device, stage device, and robot device

Publications (2)

Publication Number Publication Date
JP2018115895A true JP2018115895A (en) 2018-07-26
JP6878899B2 JP6878899B2 (en) 2021-06-02

Family

ID=62984002

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017005593A Active JP6878899B2 (en) 2017-01-17 2017-01-17 Encoder device, drive device, stage device, and robot device

Country Status (1)

Country Link
JP (1) JP6878899B2 (en)

Also Published As

Publication number Publication date
JP6878899B2 (en) 2021-06-02

Similar Documents

Publication Publication Date Title
JP6610697B2 (en) Encoder device, drive device, stage device, and robot device
US11243096B2 (en) Encoder apparatus, drive apparatus, stage apparatus, and robot apparatus
US11385081B2 (en) Encoder apparatus, drive apparatus, stage apparatus, and robot apparatus with light emission adjuster
US11858132B2 (en) Encoder device, drive device, stage device, and robot device
JP7024207B2 (en) Encoder device, drive device, stage device, and robot device
JP6848306B2 (en) How to install encoder device, drive device, stage device, robot device, and encoder device
JP6926434B2 (en) Encoder device, drive device, stage device, and robot device
JP6772698B2 (en) Encoder device, drive device, stage device, and robot device
JP6870372B2 (en) Encoder device, drive device, stage device, and robot device
JP2018059875A (en) Encoder device, driving device, stage device, and robot apparatus
JP2018132432A (en) Encoder device, driving device, stage device, and robot device
JP2018036138A (en) Encoder device, driving device, stage device, and robot device
JP6834288B2 (en) Encoder device, drive device, stage device, and robot device
JP6878899B2 (en) Encoder device, drive device, stage device, and robot device
JP2018054573A (en) Encoder device, driving device, stage device, and robot device
JP2021001908A (en) Encoder device, drive device, stage device, and robot device
JP7243712B2 (en) Encoder device, drive device, stage device, and robot device
JP2018054488A (en) Encoder device, driving device, stage device, and robot device
JP2011112381A (en) Encoder

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191206

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20201222

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20201225

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210218

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210330

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210412

R150 Certificate of patent or registration of utility model

Ref document number: 6878899

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250