Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7243712B2 - Encoder device, drive device, stage device, and robot device - Google Patents
[go: Go Back, main page]

JP7243712B2 - 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
JP7243712B2
JP7243712B2 JP2020509781A JP2020509781A JP7243712B2 JP 7243712 B2 JP7243712 B2 JP 7243712B2 JP 2020509781 A JP2020509781 A JP 2020509781A JP 2020509781 A JP2020509781 A JP 2020509781A JP 7243712 B2 JP7243712 B2 JP 7243712B2
Authority
JP
Japan
Prior art keywords
unit
state
power supply
power
detection
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.)
Active
Application number
JP2020509781A
Other languages
Japanese (ja)
Other versions
JPWO2019188084A1 (en
Inventor
雅彦 後藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nikon Corp
Original Assignee
Nikon Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nikon Corp filed Critical Nikon Corp
Publication of JPWO2019188084A1 publication Critical patent/JPWO2019188084A1/en
Application granted granted Critical
Publication of JP7243712B2 publication Critical patent/JP7243712B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D5/00Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
    • G01D5/12Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
    • G01D5/244Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing characteristics of pulses or pulse trains; generating pulses or pulse trains
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D5/00Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
    • G01D5/12Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
    • G01D5/244Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing characteristics of pulses or pulse trains; generating pulses or pulse trains
    • G01D5/245Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing characteristics of pulses or pulse trains; generating pulses or pulse trains using a variable number of pulses in a train
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D5/00Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
    • G01D5/12Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
    • G01D5/244Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing characteristics of pulses or pulse trains; generating pulses or pulse trains
    • G01D5/249Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing characteristics of pulses or pulse trains; generating pulses or pulse trains using pulse code

Landscapes

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

Description

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

エンコーダ装置は、ロボット装置などの各種装置に搭載されている(例えば、下記の特許文献1参照)。ロボット装置が所定の処理を終了すると、その主電源がオフにされ、エンコーダ装置は、主電源からの電力の供給が停止される。エンコーダ装置は、例えば、主電源がオフになった場合、主電源と異なる電力供給部(例、バッテリー)から供給される電力によって検出を実行する。このような場合、エンコーダ装置は、例えば、消費電力を低減しつつ、上記電力供給部の状態を検出可能であることが望まれる。 Encoder devices are installed in various devices such as robot devices (see, for example, Patent Document 1 below). When the robot device completes the predetermined processing, its main power supply is turned off, and the power supply from the main power supply to the encoder device is stopped. The encoder device performs detection with power supplied from a power supply (eg, battery) different from the mains supply, for example when the mains supply is turned off. In such a case, it is desired that the encoder device can detect the state of the power supply unit while reducing power consumption, for example.

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

本発明の第1態様においては、エンコーダ装置を提供する。エンコーダ装置は、移動部の位置情報を検出する位置検出部を備える。エンコーダ装置と、移動部の移動に基づき検出信号が発生する信号発生部を備える。エンコーダ装置は、検出信号に基づいて電力供給部から供給される電力によって、電力供給部の状態を検出する状態検出部を備える。エンコーダ装置は、検出信号に基づいて、電力供給部から状態検出部への電力の供給の有無を切り替える第1切替部を備える。エンコーダ装置は、位置検出部が位置情報を検出するタイミングと状態検出部が電力供給部の状態を検出するタイミングとを相対的に調整するタイミング調整部を備える。 In a first aspect of the invention , an encoder device is provided. The encoder device includes a position detection section that detects position information of the moving section. An encoder device and a signal generator that generates a detection signal based on the movement of the moving part are provided. The encoder device includes a state detection section that detects the state of the power supply section based on the power supplied from the power supply section based on the detection signal. The encoder device includes a first switching unit that switches whether power is supplied from the power supply unit to the state detection unit based on the detection signal . The encoder device includes a timing adjustment section that relatively adjusts the timing at which the position detection section detects the position information and the timing at which the state detection section detects the state of the power supply section.

本発明の第態様においては、駆動装置を提供する。駆動装置は、第1態様のエンコーダ装置を備える。駆動装置は、移動部を駆動する駆動部を備える。 In a second aspect of the invention , a driving device is provided. The driving device comprises the encoder device of the first aspect . The driving device includes a driving section that drives the moving section .

本発明の第態様においては、ステージ装置を提供する。ステージ装置は、第態様の駆動装置を備える。ステージ装置は、駆動装置によって移動するステージを備える。 A third aspect of the present invention provides a stage apparatus. The stage device includes the drive device of the second aspect. The stage device has a stage that is moved by a drive device .

本発明の第態様においては、ロボット装置を提供する。ロボット装置は、第態様の駆動装置を備える。ロボット装置は、駆動装置によって移動するアームを備える。 In a fourth aspect of the invention , a robotic device is provided. The robot device comprises the drive device of the second aspect. The robotic device comprises an arm that is moved by a drive .

第1実施形態に係るエンコーダ装置を示す図である。It is a figure which shows the encoder apparatus which concerns on 1st Embodiment. 第1実施形態に係る磁気センサおよび信号発生部を示す図である。It is a figure which shows the magnetic sensor and signal generation part which concern on 1st Embodiment. 第1実施形態に係るエンコーダ装置の回路構成を示す図である。It is a figure which shows the circuit structure of the encoder apparatus which concerns on 1st Embodiment. 第1実施形態に係るエンコーダ装置の動作を示すタイミングチャートである。4 is a timing chart showing the operation of the encoder device according to the first embodiment; 第2実施形態に係るエンコーダ装置を示す図である。It is a figure which shows the encoder apparatus which concerns on 2nd Embodiment. 第2実施形態に係るエンコーダ装置の回路構成を示す図である。It is a figure which shows the circuit structure of the encoder apparatus which concerns on 2nd Embodiment. 第2実施形態に係るエンコーダ装置の通常状態における動作を示すタイミングチャートである。9 is a timing chart showing the operation in the normal state of the encoder device according to the second embodiment; 第2実施形態に係るエンコーダ装置のバックアップ状態における動作を示すタイミングチャートである。9 is a timing chart showing the operation in the backup state of the encoder device according to the second embodiment; 第3実施形態に係るエンコーダ装置を示す図である。It is a figure which shows the encoder apparatus which concerns on 3rd Embodiment. 第3実施形態に係るエンコーダ装置の動作を示すタイミングチャートである。It is a timing chart showing the operation of the encoder device according to the third embodiment. 第4実施形態に係るエンコーダ装置を示す図である。It is a figure which shows the encoder apparatus which concerns on 4th Embodiment. 第4実施形態に係るエンコーダ装置の回路構成を示す図である。It is a figure which shows the circuit structure of the encoder apparatus which concerns on 4th Embodiment. 第5実施形態に係るエンコーダ装置の回路構成を示す図である。It is a figure which shows the circuit structure of the encoder apparatus which concerns on 5th 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は、第1実施形態に係るエンコーダ装置を示す図である。エンコーダ装置ECは、移動部(例、回転体SF)の位置情報(移動情報、回転位置情報)を検出する。本実施形態におけるエンコーダ装置ECは、ロータリーエンコーダである。移動部は、例えば、回転モータ(動力供給部)の回転体SFであり、移動部の移動は、所定の軸まわりの回転である。また、移動部の位置情報は、回転体SFの回転位置情報である。
[First embodiment]
A first embodiment will be described. FIG. 1 is a diagram showing an encoder device according to the first embodiment. The encoder device EC detects position information (movement information, rotational position information) of a moving part (for example, rotating body SF). The encoder device EC in this embodiment is a rotary encoder. The moving part is, for example, a rotating body SF of a rotary motor (power supply part), and the movement of the moving part is rotation around a predetermined axis. Further, the positional information of the moving part is rotational positional information of the body of rotation SF.

回転体SFは、電動モータなどの駆動装置MTRにおける出力軸(例、電気子と連動する物体、シャフト、回転子)を含む。なお、回転体SFは、駆動装置MTRの出力軸と接続される作用軸でもよい。上記の作用軸は、例えば、駆動装置MTRの出力軸と変速機を介して接続される軸を含む。 The rotating body SF includes an output shaft (eg, an object, a shaft, a rotor that works with an armature) in a driving device MTR such as an electric motor. Note that the rotating body SF may be a working shaft connected to the output shaft of the driving device MTR. The working shaft includes, for example, a shaft connected to the output shaft of the drive device MTR via a transmission.

駆動装置MTRは、本体部MBおよび制御部MCを備える。本体部MB(モータ本体部)は、例えば、回転子、固定子、及びボディを含む。回転子は、電動モータの電気子を含む。固定子は、電動モータの磁石(例、永久磁石)を含む。ボディは、回転子および固定子を収容する。固定子は、ボディと固定され、回転子は、ボディに対して回転可能に支持される。 The driving device MTR has a main body MB and a control part MC. A main body MB (motor main body) includes, for example, a rotor, a stator, and a body. The rotor contains the armature of the electric motor. The stator contains the magnets (eg, permanent magnets) of the electric motor. A body houses a rotor and a stator. The stator is fixed to the body, and the rotor is rotatably supported with respect to the body.

回転子は、電源部PWから供給される電力によって、固定子に対して回転する。電源部PW(第1電源部)は、例えば、エンコーダ装置ECが搭載される装置(例、駆動装置、ステージ装置、ロボット装置)の主電源である。回転体SFは、回転子と固定され、回転子とともに固定子に対して回転する。 The rotor rotates with respect to the stator by power supplied from the power supply section PW. The power supply unit PW (first power supply unit) is, for example, the main power supply of a device (eg, drive device, stage device, robot device) on which the encoder device EC is mounted. The rotating body SF is fixed to the rotor and rotates with the rotor relative to the stator.

制御部MC(モータ制御部)は、エンコーダ装置ECが検出した回転位置情報に基づいて、回転体SFの駆動を制御する。例えば、制御部MCは、回転位置情報に基づいて、回転子の回転に消費される電力として電源部PWから供給される電力を制御する。制御部MCは、例えば、回転子の角度位置、角速度、及び角加速度の少なくとも一つが目標値に近づくように、本体部MBに供給される電力を制御する。 A control unit MC (motor control unit) controls driving of the rotating body SF based on the rotational position information detected by the encoder device EC. For example, based on the rotational position information, the control unit MC controls the power supplied from the power supply unit PW as the power consumed for rotating the rotor. The control unit MC controls the electric power supplied to the main unit MB, for example, so that at least one of the angular position, angular velocity, and angular acceleration of the rotor approaches a target value.

上記の回転位置情報は、多回転情報と角度位置情報との一方または双方を含む。多回転情報は、回転の数(例、1回転、2回転、多回転)を示す情報を含む。角度位置情報は、1回転未満の角度位置(回転角)を示す情報を含む。本実施形態におけるエンコーダ装置ECは、多回転アブソリュートエンコーダである。この場合に、上記の回転位置情報は、多回転情報および角度位置情報を含む。 The rotational position information includes one or both of multi-rotation information and angular position information. The multiple rotation information includes information indicating the number of rotations (eg, one rotation, two rotations, multiple rotations). The angular position information includes information indicating an angular position (rotation angle) of less than one rotation. The encoder device EC in this embodiment is a multi-rotation absolute encoder. In this case, the rotational position information includes multi-rotation information and angular position information.

以下、エンコーダ装置ECの各部について説明する。まず、回転位置情報を検出する構成について説明する。エンコーダ装置ECは、位置検出部1と、合成部2と、通信部3とを備える。位置検出部1は、回転体SFの回転位置情報を検出する。位置検出部1は、角度検出部1Aと、多回転検出部1Bとを備える。角度検出部1Aは、回転体SFの角度位置を検出する。多回転検出部1Bは、回転体SFの多回転情報を検出する。 Each part of the encoder device EC will be described below. First, a configuration for detecting rotational position information will be described. The encoder device EC includes a position detection section 1 , a synthesis section 2 and a communication section 3 . The position detection unit 1 detects rotational position information of the body of rotation SF. The position detection section 1 includes an angle detection section 1A and a multi-rotation detection section 1B. The angle detector 1A detects the angular position of the rotating body SF. The multi-rotation detector 1B detects multi-rotation information of the body of rotation SF.

角度検出部1Aは、スケールSの一回転内の位置情報(角度位置情報、絶対又は相対位置情報)を検出する。角度検出部1Aは、光学式エンコーダと磁気式エンコーダとの一方または双方を含む。本実施形態の角度検出部1Aは、光学式エンコーダを含む。角度検出部1Aは、磁気式エンコーダを含んでもよい。 The angle detection unit 1A detects positional information (angular positional information, absolute or relative positional information) within one rotation of the scale S. FIG. The angle detection unit 1A includes one or both of an optical encoder and a magnetic encoder. The angle detector 1A of this embodiment includes an optical encoder. The angle detector 1A may include a magnetic encoder.

角度検出部1Aは、スケールS、照射部11、検出部12、及び処理部13を備える。スケールSは、回転体SFの移動(例、回転)に基づき検出部12に対して相対的に移動し、検出部12によってスケールSの相対的な位置を検出される。本実施形態におけるスケールSは、回転体SFに固定されている。スケールSは、例えば円板状の部材である。この場合、回転体SF(移動体)の回転方向(移動方向)は、円板状のスケールSの周方向である。スケールSは、例えば、ガラス製、金属製、あるいは樹脂製の部材である。スケールSは、インクリメンタルパターンINC及びアブソリュートパターンABSを含む。インクリメンタルパターンINC及びアブソリュートパターンABSは、それぞれ、光学パターン(光学スケール)を含む。 The angle detection unit 1A includes a scale S, an irradiation unit 11, a detection unit 12, and a processing unit 13. The scale S moves relative to the detector 12 based on the movement (eg, rotation) of the rotating body SF, and the relative position of the scale S is detected by the detector 12 . The scale S in this embodiment is fixed to the rotating body SF. The scale S is, for example, a disk-shaped member. In this case, the rotating direction (moving direction) of the rotating body SF (moving body) is the circumferential direction of the disk-shaped scale S. As shown in FIG. The scale S is, for example, a member made of glass, metal, or resin. The scale S includes an incremental pattern INC and an absolute pattern ABS. The incremental pattern INC and absolute pattern ABS each include an optical pattern (optical scale).

照射部11(発光部)は、スケールSのインクリメンタルパターンINC及びアブソリュートパターンABSに光を照射する。照射部11は、例えば、発光ダイオード(LED)などの発光素子(例、固体光源)を含む。検出部12(センサ部、受光部)は、照射部11から照射されインクリメンタルパターンINCを経由した光、及び照射部11から照射されアブソリュートパターンABSを経由した光をそれぞれ検出する。照射部11は、例えば、フォトダイオードなどの受光素子(例、光電変換素子)を含む。 The irradiation unit 11 (light-emitting unit) irradiates the incremental pattern INC and the absolute pattern ABS of the scale S with light. The irradiation unit 11 includes, for example, a light-emitting element (eg, solid-state light source) such as a light-emitting diode (LED). The detection unit 12 (sensor unit, light receiving unit) detects light emitted from the irradiation unit 11 and passing through the incremental pattern INC and light emitted from the irradiation unit 11 and passing through the absolute pattern ABS. The irradiation unit 11 includes, for example, a light receiving element (eg, photoelectric conversion element) such as a photodiode.

角度検出部1Aは、スケールSのパターンニング情報を検出部12で読み取ることにより、回転体SFの1回転以内の角度位置情報を検出する。角度検出部1Aが検出するスケールSのパターンニング情報は、例えば、スケールS上の透過パターン(例、スリット)又は反射パターン(例、反射膜)等による明暗のパターンである。図1において、角度検出部1Aは反射型である。この場合、検出部12は、スケールSで反射した光を検出する。なお、角度検出部1Aは透過型であってもよい。この場合、検出部12は、スケールSを透過した光を検出する。 The angle detection unit 1A detects the angular position information within one rotation of the rotating body SF by reading the patterning information of the scale S with the detection unit 12 . The patterning information of the scale S detected by the angle detection unit 1A is, for example, a pattern of light and dark due to a transmissive pattern (eg, slit) or a reflective pattern (eg, reflective film) on the scale S. In FIG. 1, the angle detector 1A is of a reflective type. In this case, the detector 12 detects the light reflected by the scale S. FIG. Note that the angle detection unit 1A may be of a transmissive type. In this case, the detector 12 detects the light transmitted through the scale S.

検出部12は、検出結果(受光結果)を示す信号を処理部13へ供給する。処理部13は、検出部12の検出結果を使って、回転体SFの角度位置を検出する。処理部13は、例えば、確度位置情報を処理する角度処理部である。例えば、処理部13は、アブソリュートパターンABSからの光を検出した結果を使って第1分解能の角度位置情報を検出する。また、処理部13は、インクリメンタルパターンINCからの光を検出した結果を使って、第1分解能の角度位置情報に内挿演算を行う。処理部13は、上記内挿演算によって、第1分解能よりも高い第2分解能の角度位置情報を検出する。 The detection unit 12 supplies a signal indicating the detection result (light reception result) to the processing unit 13 . The processing unit 13 uses the detection result of the detection unit 12 to detect the angular position of the rotating body SF. The processing unit 13 is, for example, an angle processing unit that processes the accuracy position information. For example, the processing unit 13 detects angular position information of the first resolution using the result of detecting light from the absolute pattern ABS. Also, the processing unit 13 uses the result of detecting the light from the incremental pattern INC to perform an interpolation operation on the angular position information of the first resolution. The processing unit 13 detects angular position information with a second resolution higher than the first resolution by the above interpolation calculation.

多回転検出部1Bは、角度検出部1Aの検出対象と同じ回転体SFの多回転情報を検出する。多回転検出部1Bは、磁気式エンコーダと光学式エンコーダとの一方または双方を含む。本実施形態の多回転検出部1Bは、磁気式エンコーダを含む。多回転検出部1Bは、光学式エンコーダを含んでもよい。多回転検出部1Bは、磁石21、磁気検出部22、処理部23、及び記憶部24を備える。 The multi-rotation detection unit 1B detects multi-rotation information of the rotating body SF that is the same as the detection target of the angle detection unit 1A. The multi-rotation detector 1B includes one or both of a magnetic encoder and an optical encoder. The multi-rotation detector 1B of this embodiment includes a magnetic encoder. The multi-rotation detector 1B may include an optical encoder. The multi-rotation detection unit 1B includes a magnet 21, a magnetic detection unit 22, a processing unit 23, and a storage unit 24.

磁石21(磁気スケール)は、回転体SFの回転によって、磁気検出部22に対して相対的に回転する。磁石21は、回転体SFに固定されたスケールS(第1の回転体)に設けられる。例えば、スケールSが回転体SFとともに回転し、磁石21は回転体SFと連動して回転する。磁石21は、回転体SFの回転軸AXの回転軸方向と交差する方向に配置される。本実施形態では、磁石21は、回転体SFの回転方向に沿って配置される。磁石21は、例えばリング形状の部材である。 The magnet 21 (magnetic scale) rotates relative to the magnetic detector 22 as the rotating body SF rotates. The magnet 21 is provided on a scale S (first rotating body) fixed to the rotating body SF. For example, the scale S rotates together with the rotating body SF, and the magnet 21 rotates together with the rotating body SF. The magnet 21 is arranged in a direction intersecting with the rotation axis direction of the rotation axis AX of the rotating body SF. In this embodiment, the magnets 21 are arranged along the rotation direction of the rotating body SF. The magnet 21 is, for example, a ring-shaped member.

磁気検出部22は、回転体SFの外部の部材に対して固定(支持)される。磁石21および磁気検出部22は、回転体SFの回転によって互いの相対位置(相対的な角度位置)が変化する。磁石21が形成する磁気検出部22上の磁界の強さおよび向きは、回転体SFの回転によって変化する。磁気検出部22は、磁石21が形成する磁界を検出する。例えば、磁気検出部22は、磁気センサ25および磁気センサ26を備える。 The magnetic detector 22 is fixed (supported) to a member outside the rotating body SF. The relative positions (relative angular positions) of the magnet 21 and the magnetic detection unit 22 change with the rotation of the rotating body SF. The strength and direction of the magnetic field formed by the magnet 21 on the magnetic detection section 22 change with the rotation of the rotating body SF. The magnetic detector 22 detects the magnetic field formed by the magnet 21 . For example, the magnetic detector 22 includes magnetic sensors 25 and 26 .

処理部23は、磁石21が形成する磁界を磁気検出部22が検出した結果に基づいて、回転体SFの多回転情報を検出(算出)する。例えば、処理部23は、磁気検出部22の検出結果をA相信号に利用し、かつ磁気センサ26の検出結果をB相信号に利用して、多回転情報を検出する。処理部23は、例えば、多回転情報を処理する多回転処理部である。記憶部24は、処理部23から出力された位置情報(例、多回転情報)を記憶する。例えば、記憶部24は、処理部23が検出した位置情報(多回転情報)を、処理部23からの記憶指令(データの書き込み指令)に基づいて記憶する。 The processing unit 23 detects (calculates) the multi-rotation information of the rotating body SF based on the result of the detection of the magnetic field formed by the magnet 21 by the magnetic detection unit 22 . For example, the processing unit 23 uses the detection result of the magnetic detection unit 22 for the A-phase signal and the detection result of the magnetic sensor 26 for the B-phase signal to detect the multi-rotation information. The processing unit 23 is, for example, a multi-rotation processing unit that processes multi-rotation information. The storage unit 24 stores position information (eg, multi-rotation information) output from the processing unit 23 . For example, the storage unit 24 stores position information (multi-rotation information) detected by the processing unit 23 based on a storage command (data write command) from the processing unit 23 .

なお、磁気検出部22がスケールSに設けられる場合、磁石21は、磁気検出部22と異なる位置で、スケールSの外部に設けられてもよい。例えば、磁石21は、スケールSの回転によって、スケールSに設けられた磁気検出部22と相対的に回転する位置に設けられてもよい。 Note that when the magnetic detection unit 22 is provided on the scale S, the magnet 21 may be provided outside the scale S at a position different from that of the magnetic detection unit 22 . For example, the magnet 21 may be provided at a position where it rotates relative to the magnetic detector 22 provided on the scale S as the scale S rotates.

合成部2は、処理部13が検出した上記の第2分解能の角度位置情報を取得する。また、合成部2は、多回転検出部1Bの記憶部24から回転体SFの多回転情報を取得する。合成部2は、処理部13からの角度位置情報、及び多回転検出部1Bからの多回転情報を合成し、回転体SFの回転位置情報を算出する。例えば、処理部13の検出結果がθ[rad]であり、多回転検出部1Bの検出結果がn回転である場合に、合成部2は、回転位置情報として(2π×n+θ)[rad]を算出する。回転位置情報は、多回転情報と角度位置情報とを一組にした情報でもよい。 The synthesizing unit 2 acquires the angular position information of the second resolution detected by the processing unit 13 . The synthesizing unit 2 also acquires the multi-rotation information of the body of rotation SF from the storage unit 24 of the multi-rotation detecting unit 1B. The synthesizing unit 2 synthesizes the angular position information from the processing unit 13 and the multi-rotation information from the multi-rotation detecting unit 1B, and calculates the rotational position information of the rotating body SF. For example, when the detection result of the processing unit 13 is θ [rad] and the detection result of the multi-rotation detection unit 1B is n rotations, the synthesizing unit 2 calculates (2π×n+θ) [rad] as the rotation position information. calculate. The rotational position information may be a set of multiple rotation information and angular position information.

エンコーダ装置ECは、通信部3(例、外部通信部、外部接続インターフェース)を備え、通信部3は、有線または無線によって、制御部MCと通信可能に接続される。通信部3は、例えば、デジタル形式の回転位置情報を、制御部MCに供給(送信)する。制御部MCは、エンコーダ装置ECから供給された回転位置情報を適宜復号する。制御部MCは、回転位置情報を使って本体部MBへ供給される電力(駆動電力)を制御することにより、回転体SFの回転を制御する。 The encoder device EC includes a communication unit 3 (eg, an external communication unit, an external connection interface), and the communication unit 3 is communicably connected to the control unit MC by wire or wirelessly. The communication unit 3 supplies (transmits) digital format rotational position information to the control unit MC, for example. The controller MC appropriately decodes the rotational position information supplied from the encoder device EC. The controller MC controls the rotation of the rotating body SF by controlling the power (driving power) supplied to the main body MB using the rotational position information.

なお、エンコーダ装置ECは、角度検出部1Aが検出した角度位置情報に基づいて、多回転情報を検出してもよい。例えば、エンコーダ装置ECは、角度検出部1Aが検出した角度位置が359°であって、次に角度検出部1Aが検出した角度位置が1°である場合に、多回転情報を+1してもよい。エンコーダ装置ECは、角度位置情報に基づいて多回転情報を検出する場合、多回転検出部1Bを備えなくてもよい。また、エンコーダ装置ECは、多回転情報を検出し、角度位置情報を検出しなくてもよい。この場合、駆動装置MTRは、エンコーダ装置ECと別に、角度位置情報を検出するエンコーダ装置を備えてもよい。 Note that the encoder device EC may detect the multi-rotation information based on the angular position information detected by the angle detection section 1A. For example, when the angular position detected by the angle detection unit 1A is 359° and the next angular position detected by the angle detection unit 1A is 1°, the encoder device EC adds 1 to the multi-rotation information. good. The encoder device EC need not include the multi-rotation detector 1B when detecting multi-rotation information based on the angular position information. Further, the encoder device EC may detect multi-rotation information and not detect angular position information. In this case, the driving device MTR may include an encoder device for detecting angular position information separately from the encoder device EC.

次に、エンコーダ装置ECで消費される電力を供給する構成について説明する。エンコーダ装置ECは、電力供給部31を備える。位置検出部1は、電源部PWと電力供給部31とのそれぞれから電力の供給を受けることができる。例えば、位置検出部1は、電源部PWが駆動装置MTRの本体部MBに電力を供給する状態において、電源部PWから電力の供給を受ける。また、位置検出部1は、電源部PWが駆動装置MTRの本体部MBに電力の供給を停止した状態において、電力供給部31から電力の供給を受ける。以下の説明において、適宜、電源部PWから位置検出部1に電力が供給される状態を通常状態と称し、電力供給部31から位置検出部1に電力が供給される状態をバックアップ状態と称する。通常状態とバックアップ状態とは、例えば、重複しないように切り替えられる(択一的に切り替えられる)。 Next, a configuration for supplying power consumed by the encoder device EC will be described. The encoder device EC includes a power supply section 31 . The position detection unit 1 can receive power supply from each of the power supply unit PW and the power supply unit 31 . For example, the position detection unit 1 receives power supply from the power supply unit PW in a state where the power supply unit PW supplies power to the main body MB of the drive device MTR. Further, the position detection unit 1 receives power supply from the power supply unit 31 in a state where the power supply unit PW stops supplying power to the main body MB of the drive device MTR. In the following description, a state in which power is supplied from the power supply unit PW to the position detection unit 1 will be referred to as a normal state, and a state in which power is supplied to the position detection unit 1 from the power supply unit 31 will be referred to as a backup state. For example, the normal state and the backup state are switched (alternatively switched) so as not to overlap.

まず、上記の通常状態について説明する。通常状態において、駆動装置MTRは、電源部PWから供給される電力を用いて回転体SFを駆動する。通常状態において、多回転検出部1Bは、電源部PWから供給される電力を用いて多回転情報を検出する。また、通常状態において、角度検出部1Aは、電源部PWから供給される電力を用いて角度位置情報を検出する。また、通常状態において、合成部2は、多回転検出部1Bが検出した多回転情報と、角度検出部1Aが検出した角度位置情報とに基づいて、回転位置情報を生成する。そして、通常状態において、合成部2は、電源部PWから供給される電力を用いて、回転位置情報を生成する。通常状態において、通信部3は、電源部PWから供給される電力を用いて、合成部2が生成した回転位置情報を外部(例、制御部MC)に出力(例、送信)する。 First, the above normal state will be described. In a normal state, drive device MTR drives rotating body SF using power supplied from power supply unit PW. In the normal state, the multi-rotation detection section 1B detects multi-rotation information using power supplied from the power supply section PW. Further, in a normal state, the angle detection section 1A detects angular position information using power supplied from the power supply section PW. In the normal state, the synthesizing section 2 generates rotational position information based on the multi-rotation information detected by the multi-rotation detecting section 1B and the angular position information detected by the angle detecting section 1A. Then, in a normal state, the synthesizing unit 2 generates rotational position information using power supplied from the power supply unit PW. In a normal state, the communication unit 3 uses power supplied from the power supply unit PW to output (eg, transmit) the rotational position information generated by the synthesizing unit 2 to the outside (eg, the control unit MC).

また、位置検出部1は、電源部PWからの電力の供給が停止された状態において、電源部PWとは異なる電力供給部31(例、バッテリー)から供給される電力を用いて回転体SFの回転位置情報を検出する。以下の説明において、適宜、電力供給部31からエンコーダ装置ECに電力が供給される状態をバックアップ状態と称する。バックアップ状態は、例えば、電源部PWから駆動装置MTRの本体部MBへの電力の供給が停止された状態である。 Further, in a state where the power supply from the power supply unit PW is stopped, the position detection unit 1 uses power supplied from a power supply unit 31 (eg, a battery) different from the power supply unit PW to rotate the rotating body SF. Detects rotational position information. In the following description, a state in which power is supplied from the power supply unit 31 to the encoder device EC is referred to as a backup state as appropriate. The backup state is, for example, a state in which power supply from the power supply unit PW to the main unit MB of the drive device MTR is stopped.

次に、上記のバックアップ状態について説明する。バックアップ状態において、位置検出部1は、多回転情報と角度位置情報との一方または双方を検出する。例えば、位置検出部1は、バックアップ状態において、回転位置情報のうち少なくとも多回転情報を検出する。バックアップ状態において、多回転検出部1Bは、電力供給部31から供給される電力を用いて多回転情報を検出する。 Next, the above backup state will be explained. In the backup state, the position detection section 1 detects one or both of the multi-rotation information and the angular position information. For example, the position detection unit 1 detects at least multi-rotation information among the rotation position information in the backup state. In the backup state, the multi-rotation detection section 1B uses the power supplied from the power supply section 31 to detect multi-rotation information.

例えば、磁気検出部22は、バックアップ状態において、電力供給部31から供給される電力を用いて磁気を検出する。また、処理部23は、バックアップ状態において、電力供給部31から供給される電力を用いて、磁気検出部22の検出結果を処理することで多回転情報を検出(導出)する。記憶部24は、バックアップ状態において、電力供給部31から供給される電力を用いて、処理部23が検出した多回転情報を記憶する。 For example, the magnetism detection section 22 detects magnetism using power supplied from the power supply section 31 in the backup state. Also, in the backup state, the processing unit 23 detects (derives) the multi-rotation information by processing the detection result of the magnetic detection unit 22 using the power supplied from the power supply unit 31 . The storage unit 24 stores the multi-rotation information detected by the processing unit 23 using the power supplied from the power supply unit 31 in the backup state.

角度検出部1Aは、バックアップ状態において角度位置情報を検出しない。したがって、電力供給部31は、バックアップ状態において角度検出部1Aに電力を供給しない。角度検出部1Aは、電力供給部31から電力が供給されないことによって、角度位置情報を検出しない。角度検出部1Aは、バックアップ状態から通常状態に切り替えられた際に短時間のうちに角度位置情報を検出する。合成部2は、バックアップ状態から通常状態に切り替えられた際に、角度検出部1Aが検出した角度位置情報と、記憶部24に記憶されている多回転情報とに基づいて、回転位置情報を生成する。通信部3は、合成部2が生成した多回転情報を制御部MCに送信する。 The angle detector 1A does not detect angular position information in the backup state. Therefore, the power supply section 31 does not supply power to the angle detection section 1A in the backup state. Since the power supply unit 31 does not supply power, the angle detection unit 1A does not detect the angular position information. The angle detection unit 1A detects the angular position information within a short period of time when the backup state is switched to the normal state. When the backup state is switched to the normal state, the synthesizing unit 2 generates rotational position information based on the angular position information detected by the angle detecting unit 1A and the multi-rotation information stored in the storage unit 24. do. The communication unit 3 transmits the multi-rotation information generated by the synthesizing unit 2 to the control unit MC.

なお、バックアップ状態において、電力供給部31は、角度検出部1Aに電力を供給してもよい。角度検出部1Aは、バックアップ状態において、電力供給部31から供給される電力を用いて角度位置情報を検出してもよい。この場合、エンコーダ装置ECは、角度検出部1Aが検出した角度位置情報に基づいて、多回転情報を検出してもよい。エンコーダ装置ECが角度位置情報に基づいて多回転情報を検出する場合、電力供給部31は、バックアップ状態において角度検出部1Aに電力を供給し、多回転検出部1Bに電力を供給しなくてもよい。 In the backup state, the power supply section 31 may supply power to the angle detection section 1A. The angle detection unit 1A may detect the angular position information using power supplied from the power supply unit 31 in the backup state. In this case, the encoder device EC may detect the multi-rotation information based on the angular position information detected by the angle detection section 1A. When the encoder device EC detects the multi-rotation information based on the angular position information, the power supply unit 31 supplies power to the angle detection unit 1A in the backup state and does not supply power to the multi-rotation detection unit 1B. good.

次に、電力供給部31の各部について説明する。電力供給部31は、信号発生部33と、整流部34と、切替部35と、バッテリー36とを備える。信号発生部33は、回転体SFの移動に基づき検出信号が発生する。信号発生部33は、移動部(例、回転体SF)の移動(例、回転)に伴う磁界の変化によって電気信号(検出信号)が発生する。この電気信号は、電力(電流、電圧)が時間変化する波形を含む。信号発生部33には、例えば、回転体SFの回転に伴って変化する磁界によって、電気信号として検出信号が発生する。例えば、信号発生部33には、多回転検出部1Bが回転体SFの多回転情報の検出に用いる磁石21が形成する磁界の変化によって、検出信号が発生する。信号発生部33は、上記の位置検出部1とは異なる部材であって、回転体SFの回転によって、磁石21との相対的な角度位置が変化するように、配置される。信号発生部33には、例えば、信号発生部33と磁石21との相対位置が所定の位置になった際に、パルス状の電気信号が発生する。 Next, each part of the power supply unit 31 will be described. The power supply unit 31 includes a signal generation unit 33 , a rectification unit 34 , a switching unit 35 and a battery 36 . The signal generator 33 generates a detection signal based on the movement of the rotating body SF. The signal generator 33 generates an electric signal (detection signal) by a change in magnetic field accompanying movement (eg, rotation) of the moving part (eg, rotating body SF). This electrical signal includes a waveform in which power (current, voltage) changes over time. In the signal generator 33, for example, a detection signal is generated as an electric signal by a magnetic field that changes with the rotation of the rotating body SF. For example, the signal generator 33 generates a detection signal due to a change in the magnetic field formed by the magnet 21 used by the multiple rotation detector 1B to detect the multiple rotation information of the rotating body SF. The signal generating section 33 is a member different from the position detecting section 1 described above, and is arranged so that the relative angular position with respect to the magnet 21 changes according to the rotation of the rotating body SF. The signal generator 33 generates a pulsed electric signal, for example, when the relative position between the signal generator 33 and the magnet 21 reaches a predetermined position.

図2は、第1実施形態に係る磁気センサおよび信号発生部を示す図である。図2(A)には磁石21、磁気検出部22、及び信号発生部33の斜視図を示した。図2(B)には、回転体SFの方向から見た磁石21、磁気検出部22、磁気センサ26、及び信号発生部33の平面図を示した。 FIG. 2 is a diagram showing a magnetic sensor and a signal generator according to the first embodiment. FIG. 2A shows a perspective view of the magnet 21, the magnetic detector 22, and the signal generator 33. As shown in FIG. FIG. 2B shows a plan view of the magnet 21, the magnetic detector 22, the magnetic sensor 26, and the signal generator 33 viewed from the direction of the rotating body SF.

磁石21は、回転によって回転体SFに対する放射方向(径方向)における磁界の向きおよび強さが変化するように構成される。磁石21は、例えば回転体SFと同軸の円環状の部材である。磁石21の主面(表面および裏面)は、それぞれ、回転体SFとほぼ垂直である。図2(B)に示すように、磁石21は、4極に着磁した永久磁石である。磁石21は、その内周側と外周側のそれぞれにおいて周方向にN極とS極が並んでおり、内周側と外周側とで位相が180°ずれている。磁石21において、内周側におけるN極とS極との境界は、外周側におけるN極とS極との境界と、周方向の位置(角度位置)がほぼ一致している。 The magnet 21 is configured such that the direction and strength of the magnetic field in the radial direction (radial direction) with respect to the body of rotation SF are changed by rotation. The magnet 21 is, for example, an annular member coaxial with the rotating body SF. The main surfaces (front surface and rear surface) of the magnet 21 are each substantially perpendicular to the rotating body SF. As shown in FIG. 2B, the magnet 21 is a permanent magnet magnetized into four poles. The magnet 21 has N poles and S poles arranged in the circumferential direction on its inner circumference side and outer circumference side, respectively, and the phases of the inner circumference side and the outer circumference side are shifted by 180°. In the magnet 21, 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).

以下の説明において、図1に示した駆動装置MTRの本体部MBに対してスケールSと同じ側から見た場合の反時計回りの回転を、適宜、順回転という。また、順回転と反対周りの回転を逆回転という。また、順回転の角度を正の値で表し、逆回転の角度を負の値で表す。 In the following description, the counterclockwise rotation when viewed from the same side as the scale S with respect to the main body MB of the driving device MTR shown in FIG. 1 is referred to as forward rotation as appropriate. Forward rotation and reverse rotation are called reverse rotation. The angle of forward rotation is represented by a positive value, and the angle of reverse rotation is represented by a negative value.

ここで、磁石21に固定した座標系において、周方向におけるN極とS極との1つの境界の角度位置を位置21aで表し、位置21aから90°回転した角度位置を位置21bで表す。また、位置21bから90°回転した角度位置を位置21cで表し、位置21cから90°回転した位置を位置21dで表す。位置21cは、周方向におけるN極とS極とのもう一つの境界の角度位置である。 Here, in the coordinate system fixed to the magnet 21, the angular position of one boundary between the N pole and the S pole in the circumferential direction is represented by position 21a, and the angular position rotated by 90° from position 21a is represented by position 21b. An angular position rotated by 90° from the position 21b is represented by a position 21c, and a position rotated by 90° from the position 21c is represented by a position 21d. Position 21c is the angular position of another boundary between the north and south poles in the circumferential direction.

位置21aから反時計回りに180°の第1区間において、磁石21の外周側にN極が配置されており、磁石21の内周側にS極が配置されている。この第1区間において、磁界の径方向の向きは、概ね磁石21の外周側から内周側へ向かう向きである。第1区間において、磁界の強さは、位置21bにおいて最大となり、位置21aの近傍および位置21cの近傍で最小となる。 In the first section 180° counterclockwise from the position 21 a , the N pole is arranged on the outer peripheral side of the magnet 21 and the S pole is arranged on the inner peripheral side of the magnet 21 . In this first section, the radial direction of the magnetic field is generally directed from the outer peripheral side to the inner peripheral side of the magnet 21 . In the first section, the strength of the magnetic field is maximum at position 21b and minimum near position 21a and near position 21c.

位置21cから反時計回りに180°の第2区間において、磁石21の内周側にN極が配置されており、磁石21の外周側にS極が配置されている。この第2区間において、磁界の径方向の向きは、磁石21の内周側から外周側へ向かう向きである。第2区間において、磁界の強さは、位置21dにおいて最大となり、位置21aの近傍および位置21cの近傍で最小となる。 In the second section 180° counterclockwise from the position 21 c , the N pole is arranged on the inner peripheral side of the magnet 21 and the S pole is arranged on the outer peripheral side of the magnet 21 . In this second section, the radial direction of the magnetic field is the direction from the inner peripheral side to the outer peripheral side of the magnet 21 . In the second section, the strength of the magnetic field is maximum at position 21d and minimum near position 21a and near position 21c.

このように、磁石21が形成する磁界の径方向の向きは、位置21aにおいて反転し、位置21cにおいて反転する。磁石21は、磁石21の外部に固定された座標系に対し、磁石21の回転に伴って径方向の磁界の向きが反転する交流磁界を形成する。所定の角度位置において、信号発生部33は、磁石21の主面(例、スケールSのパターニング面と平行な面)の法線方向(例、回転体SFの軸方向と平行な方向)から見て磁石21と重なる位置に配置されている。 Thus, the radial direction of the magnetic field generated by magnet 21 is reversed at position 21a and reversed at position 21c. The magnet 21 forms an alternating magnetic field in which the direction of the magnetic field in the radial direction is reversed as the magnet 21 rotates with respect to a coordinate system fixed outside the magnet 21 . At a predetermined angular position, the signal generator 33 is viewed from the normal direction (eg, the direction parallel to the axial direction of the rotating body SF) of the main surface of the magnet 21 (eg, the surface parallel to the patterning surface of the scale S). and the magnet 21.

本実施形態において、信号発生部33は、第1信号発生部33aおよび第2信号発生部33bを備える。第1信号発生部33aおよび第2信号発生部33bは、それぞれ、電気信号を発生するユニットである。第1信号発生部33aおよび第2信号発生部33bは、それぞれ、磁石21と非接触に設けられる。信号発生部33が備えるユニットの数は、図2において2つ(第1信号発生部33a、第2信号発生部33b)であるが、1つでもよいし、3つ以上でもよい。 In this embodiment, the signal generator 33 includes a first signal generator 33a and a second signal generator 33b. The first signal generator 33a and the second signal generator 33b are units that generate electrical signals. The first signal generating section 33a and the second signal generating section 33b are provided without contact with the magnet 21, respectively. Although the number of units provided in the signal generating section 33 is two (the first signal generating section 33a and the second signal generating section 33b) in FIG. 2, the number may be one or three or more.

第1信号発生部33aは、第1感磁性部41および第1発電部42を備える。第1感磁性部41および第1発電部42は、それぞれ、磁石21の外部に固定されている。第1感磁性部41および第1発電部42は、それぞれ、磁石21の回転に伴って磁石21上の各位置との相対位置が変化する。例えば、図2(B)では、第1信号発生部33aから反時計回りに45°の位置に、磁石21の位置21bが配置されており、この状態から磁石21が順方向(反時計回り)に1回転すると、信号発生部33の近傍を位置21b、位置21c、位置21d、位置21aが、この順に通過する。 The first signal generating section 33 a includes a first magneto-sensitive section 41 and a first power generating section 42 . The first magneto-sensitive portion 41 and the first power generating portion 42 are fixed outside the magnet 21 respectively. The first magnetically sensitive section 41 and the first power generating section 42 change their relative positions with respect to each position on the magnet 21 as the magnet 21 rotates. For example, in FIG. 2B, the position 21b of the magnet 21 is arranged at a position 45° counterclockwise from the first signal generating section 33a, and from this state the magnet 21 moves forward (counterclockwise). When it rotates once, positions 21b, 21c, 21d, and 21a pass through the vicinity of the signal generator 33 in this order.

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

第1発電部42は、第1感磁性部41に巻き付けられて配置される高密度コイルなどである。第1発電部42には、第1感磁性部41における磁壁の発生に伴って電磁誘導が生じ、誘導電流が流れる。信号発生部33は、磁石21が所定の位置に配置された際に、検出信号が発生する。例えば、図2(B)に示した磁石21の位置21aまたは位置21cが信号発生部33の近傍を通過する際に、第1発電部42にパルス状の電流(電気信号)が発生する。また、第1発電部42は、大バルクハウゼンジャンプを利用して正パルスや負パルス等の検出パルスを含む検出信号(電気信号)を出力可能であり、外部(例、図1の電源部PW)からの電力供給がなくても動作可能である。 The first power generation section 42 is a high-density coil or the like wound around the first magnetically sensitive section 41 . Electromagnetic induction occurs in the first power generation section 42 as a magnetic domain wall is generated in the first magnetically sensitive section 41 , and an induced current flows. The signal generator 33 generates a detection signal when the magnet 21 is placed at a predetermined position. For example, when position 21a or position 21c of magnet 21 shown in FIG. In addition, the first power generation unit 42 can output a detection signal (electrical signal) including detection pulses such as positive pulses and negative pulses using a large Barkhausen jump, and can ) can operate without power supply.

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

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

第2信号発生部33bは、第1信号発生部33aが配置される角度位置から0°より大きく180°よりも小さい角度をなす角度位置に、配置される。第1信号発生部33aの角度位置と第2信号発生部33bの角度位置との角度は、45°以上135°以下の範囲から選択され、図2(B)では約90°である。 The second signal generator 33b is arranged at an angular position forming an angle larger than 0° and smaller than 180° from the angular position where the first signal generator 33a is arranged. The angle between the angular position of the first signal generating portion 33a and the angular position of the second signal generating portion 33b is selected from the range of 45° or more and 135° or less, and is about 90° in FIG. 2(B).

第2信号発生部33bは、第1信号発生部33aと同様の構成である。第2信号発生部33bは、第2感磁性部45および第2発電部46を備える。第2感磁性部45および第2発電部46は、それぞれ、第1感磁性部41および第1発電部42と同様である。第2感磁性部45および第2発電部46は、ケース47に収納されている。ケース47には端子47aおよび端子47bが設けられている。第2発電部46で発生した電力は、端子47aおよび端子47bを介して、第2信号発生部33bの外部へ取り出し可能である。 The second signal generator 33b has the same configuration as the first signal generator 33a. The second signal generation section 33b includes a second magneto-sensitive section 45 and a second power generation section 46 . The second magnetism sensing section 45 and the second power generation section 46 are the same as the first magnetism sensing section 41 and the first power generation section 42, respectively. The second magnetically sensitive section 45 and the second power generating section 46 are housed in the case 47 . The case 47 is provided with terminals 47a and 47b. The electric power generated by the second power generating section 46 can be taken out of the second signal generating section 33b via terminals 47a and 47b.

なお、上述の信号発生部33の構成は一例であり、その構成は適宜変更可能である。例えば、信号発生部33は、大バルクハウゼンジャンプ(ウィーガンド効果)を利用しない電磁誘導によって電力(例、電気信号)を発生してもよい。また、信号発生部33が備える発電ユニットの数は、適宜変更可能であり、例えば、1つでもよいし、3つ以上でもよい。また、信号発生部33の配置についても適宜変更可能である。 The configuration of the signal generator 33 described above is an example, and the configuration can be changed as appropriate. For example, the signal generator 33 may generate power (eg, electrical signal) by electromagnetic induction without using a large Barkhausen jump (Wiegand effect). Also, the number of power generation units included in the signal generation unit 33 can be changed as appropriate, and may be, for example, one or three or more. Also, the arrangement of the signal generator 33 can be changed as appropriate.

磁気検出部22は、磁気センサ25および磁気センサ26を含む。磁気センサ25は、回転体SFの回転方向において、第1感磁性部41(第1信号発生部33a)に対して0°より大きく90°未満の角度位置で配置される。磁気センサ26は、回転体SFの回転方向において、第1感磁性部41(第1信号発生部33a)に対して90°より大きく180°未満の角度位置で配置される。 Magnetic detector 22 includes magnetic sensor 25 and magnetic sensor 26 . The magnetic sensor 25 is arranged at an angular position of more than 0° and less than 90° with respect to the first magneto-sensitive portion 41 (first signal generating portion 33a) in the rotation direction of the rotating body SF. The magnetic sensor 26 is arranged at an angular position of more than 90° and less than 180° with respect to the first magneto-sensitive portion 41 (first signal generating portion 33a) in the rotation direction of the rotating body SF.

ここで、回転体SFが一方向に回転しているとする。第1信号発生部33aは、例えば、その近傍を磁石21の位置21aが通過する際に、端子43aから端子43bへ流れる電流パルス(例、正の電流パルス)が発生する。また、第1信号発生部33aは、例えば、その近傍を磁石21の位置21cが通過する際に、端子43bから端子43aへ流れる電流パルス(例、負の電流パルス)が発生する。このように、第1信号発生部33aは、回転の向き、及びその近傍を通過する磁石21の位置に基づいて、電流パルスの向き(正負)が変化する。第2信号発生部33bは、第1信号発生部33aと同様に電流パルス(例、正の電流パルス、負の電流パルス)が発生する。 Here, it is assumed that the rotating body SF is rotating in one direction. The first signal generator 33a generates a current pulse (eg, a positive current pulse) flowing from the terminal 43a to the terminal 43b when the position 21a of the magnet 21 passes by the first signal generator 33a. Further, the first signal generator 33a generates a current pulse (for example, a negative current pulse) flowing from the terminal 43b to the terminal 43a when the position 21c of the magnet 21 passes near the first signal generator 33a. In this way, the first signal generator 33a changes the direction (positive or negative) of the current pulse based on the direction of rotation and the position of the magnet 21 passing near it. The second signal generator 33b generates current pulses (eg, positive current pulses, negative current pulses) like the first signal generator 33a.

図1の説明に戻り、整流部34は、信号発生部33と電気的に接続されている。整流部34は、信号発生部33から入力される電流(例、電流パルス)を整流する。整流部34は、例えば、全波整流を行う整流器を含む。例えば、整流部34は、第1信号発生部33aから入力される負の電流パルスを正の電流パルスに変換して、正の電流パルスを出力する。例えば、整流部34は、第1信号発生部33aの近傍を磁石21の位置21aが通過する際と、第1信号発生部33aの近傍を磁石21の位置21cが通過する際とのそれぞれにおいて、正の電流パルスを出力する。なお、整流部34は、半波整流を行うものでもよい。また、電力供給部31は、整流部34を備えなくてもよい。 Returning to the description of FIG. 1 , the rectifying section 34 is electrically connected to the signal generating section 33 . The rectifier 34 rectifies the current (eg, current pulse) input from the signal generator 33 . The rectifier 34 includes, for example, a rectifier that performs full-wave rectification. For example, the rectifying section 34 converts a negative current pulse input from the first signal generating section 33a into a positive current pulse and outputs the positive current pulse. For example, when the position 21a of the magnet 21 passes near the first signal generating part 33a and when the position 21c of the magnet 21 passes near the first signal generating part 33a, the rectifying unit 34 Output a positive current pulse. Note that the rectifying section 34 may perform half-wave rectification. Also, the power supply unit 31 does not have to include the rectifying unit 34 .

バッテリー36は、バックアップ状態において、信号発生部33で発生する検出信号(例、電流パルス)に基づいて、位置検出部1で消費される電力の少なくとも一部を供給する。バッテリー36は、例えばボタン型電池、乾電池などの一次電池を含む。バッテリー36は、リチウムイオン二次電池などの二次電池を含んでもよい。また、バッテリー36は、一次電池および二次電池を含んでもよい。 In the backup state, the battery 36 supplies at least part of the power consumed by the position detection section 1 based on the detection signal (eg, current pulse) generated by the signal generation section 33 . The battery 36 includes, for example, a primary battery such as a button battery or a dry battery. Battery 36 may include a secondary battery such as a lithium ion secondary battery. Also, the battery 36 may include a primary battery and a secondary battery.

なお、エンコーダ装置ECは、バッテリー36を備えなくてもよい。この場合、エンコーダ装置ECは、バッテリー36を接続可能な端子を備え、バッテリー36を備えない状態で提供されてもよい。バッテリー36は、例えば、上記の端子が取り付けられたケースにバッテリー36が収容されることで、エンコーダ装置ECに接続されてもよい。エンコーダ装置ECは、例えば、バッテリー36の交換が可能であり、バッテリー36が装着されていない状態で提供されてもよい。 Note that the encoder device EC does not have to include the battery 36 . In this case, the encoder device EC may be provided with terminals to which the battery 36 can be connected, but without the battery 36 . The battery 36 may be connected to the encoder device EC by housing the battery 36 in a case to which the terminals are attached, for example. The encoder device EC can replace the battery 36, for example, and may be provided without the battery 36 attached.

切替部35は、信号発生部33で発生した検出信号を制御信号に用いてバッテリー36から位置検出部1への電力の供給の有無を切り替える。切替部35は、位置検出部1とバッテリー36との間であってバッテリー36から位置検出部1に電力が供給される経路(例、回路、配線)に設けられる。また、切替部35は、信号発生部33で発生した検出信号が伝わる経路(例、回路、配線)に配置される。切替部35は、例えば、整流部34の出力端子と接続される。切替部35には、例えば、信号発生部33で発生して整流部34で整流された検出信号が入力される。 The switching unit 35 switches whether power is supplied from the battery 36 to the position detecting unit 1 using the detection signal generated by the signal generating unit 33 as a control signal. The switching unit 35 is provided between the position detection unit 1 and the battery 36 and in a path (eg, circuit, wiring) through which power is supplied from the battery 36 to the position detection unit 1 . Also, the switching unit 35 is arranged in a path (eg, circuit, wiring) through which the detection signal generated by the signal generating unit 33 is transmitted. The switching unit 35 is connected to the output terminal of the rectifying unit 34, for example. For example, the detection signal generated by the signal generation unit 33 and rectified by the rectification unit 34 is input to the switching unit 35 .

切替部35は、信号発生部33で発生する電気信号のレベルが閾値以上になることでバッテリー36から位置検出部1への電力の供給を開始させる。例えば、切替部35は、信号発生部33で閾値以上の検出信号が発生することでバッテリー36から位置検出部1への電力の供給を開始させる。また、切替部35は、信号発生部33で発生する電気信号のレベルが閾値未満になることでバッテリー36から位置検出部1への電力の供給を停止させる。例えば、切替部35は、信号発生部33で発生する検出信号が閾値未満になることでバッテリー36から位置検出部1への電力の供給を停止させる。 The switching unit 35 starts supplying power from the battery 36 to the position detecting unit 1 when the level of the electric signal generated by the signal generating unit 33 becomes equal to or higher than the threshold. For example, the switching unit 35 starts supplying power from the battery 36 to the position detecting unit 1 when the signal generating unit 33 generates a detection signal equal to or greater than the threshold value. Moreover, the switching unit 35 stops the power supply from the battery 36 to the position detection unit 1 when the level of the electric signal generated by the signal generation unit 33 becomes less than the threshold value. For example, the switching unit 35 stops power supply from the battery 36 to the position detection unit 1 when the detection signal generated by the signal generation unit 33 becomes less than the threshold value.

例えば、信号発生部33にパルス状の電気信号が発生する場合、切替部35は、この電気信号のレベル(電位)がローレベルからハイレベルに立ち上がった際に、バッテリー36から位置検出部1への電力の供給を開始させる。切替部35は、上記電気信号のレベル(電位)がハイレベルへ立ち上がってから所定の時間経過後に、バッテリー36から位置検出部1への電力の供給を停止させる。例えば、切替部35は、上記電気信号のレベル(電位)がハイレベルから所定のレベルに立ち下がった際に、バッテリー36から位置検出部1への電力の供給を停止させる。 For example, when the signal generator 33 generates a pulsed electric signal, the switching unit 35 switches from the battery 36 to the position detector 1 when the level (potential) of the electric signal rises from low level to high level. power supply. The switching unit 35 stops the supply of electric power from the battery 36 to the position detecting unit 1 after a predetermined time has passed since the level (potential) of the electric signal rises to a high level. For example, the switching section 35 stops the supply of power from the battery 36 to the position detecting section 1 when the level (potential) of the electric signal falls from a high level to a predetermined level.

切替部35は、位置検出部1の少なくとも一部(例、多回転検出部1B)に接続される。例えば、バッテリー36は、バックアップ状態において、切替部35を介して多回転検出部1Bに電力を供給する。磁気検出部22は、バックアップ状態において、バッテリー36から供給される電力を用いて磁気を検出する。処理部23は、バックアップ状態において、バッテリー36から供給される電力を用いて磁気検出部22の検出結果を処理する。処理部23は、バックアップ状態において、バッテリー36から供給される電力を用いて、多回転情報を導出する。記憶部24は、バックアップ状態において、バッテリー36から供給される電力を用いて、処理部23の処理結果(多回転情報)を記憶する。 The switching unit 35 is connected to at least part of the position detection unit 1 (eg, the multi-rotation detection unit 1B). For example, the battery 36 supplies power to the multi-rotation detector 1B via the switching section 35 in the backup state. The magnetic detector 22 detects magnetism using power supplied from the battery 36 in the backup state. The processing unit 23 processes the detection result of the magnetic detection unit 22 using power supplied from the battery 36 in the backup state. In the backup state, the processing unit 23 uses power supplied from the battery 36 to derive multi-rotation information. In the backup state, the storage unit 24 uses power supplied from the battery 36 to store the processing result (multi-rotation information) of the processing unit 23 .

なお、切替部35は、角度検出部1Aに接続されてもよい。バッテリー36は、バックアップ状態において、切替部35を介して角度検出部1Aに電力を供給してもよい。角度検出部1Aは、バックアップ状態において、バッテリー36から供給される電力を用いて角度位置情報を検出してもよい。エンコーダ装置ECは、バックアップ状態においてバッテリー36から供給される電力を用いて、角度検出部1Aが検出した角度位置情報に基づいて多回転情報を検出してもよい。記憶部24は、バックアップ状態において、バッテリー36から供給される電力を用いて、角度位置情報を記憶してもよい。また、記憶部24は、バックアップ状態において、バッテリー36から供給される電力を用いて、角度位置情報に基づいて検出された多回転情報を記憶してもよい。 Note that the switching unit 35 may be connected to the angle detection unit 1A. The battery 36 may supply power to the angle detection section 1A via the switching section 35 in the backup state. The angle detection unit 1A may detect the angular position information using power supplied from the battery 36 in the backup state. The encoder device EC may detect the multi-rotation information based on the angular position information detected by the angle detector 1A using power supplied from the battery 36 in the backup state. The storage unit 24 may store angular position information using power supplied from the battery 36 in the backup state. Further, the storage unit 24 may store the multi-rotation information detected based on the angular position information using power supplied from the battery 36 in the backup state.

本実施形態において、切替部35は、通常状態とバックアップ状態とを切り替える第2の切替部である。切替部35(第2の切替部)は、例えば、電源部PWから切替部35へ電力が供給されるか否かに基づいて、通常状態とバックアップ状態とを切替る。例えば、切替部35は、バッテリー36からの電流が流れる経路(例、回路、配線)に配置される電磁スイッチを含む。この電磁スイッチは、電源部PWと電気的に接続され、電源部PWから電力が供給されるか否かに基づいて、開閉(オンオフ)が切り替わる。 In this embodiment, the switching unit 35 is a second switching unit that switches between the normal state and the backup state. The switching unit 35 (second switching unit) switches between the normal state and the backup state, for example, based on whether power is supplied to the switching unit 35 from the power supply unit PW. For example, the switching unit 35 includes an electromagnetic switch arranged in a path (eg, circuit, wiring) through which current from the battery 36 flows. The electromagnetic switch is electrically connected to the power supply unit PW, and switches between opening and closing (on/off) based on whether power is supplied from the power supply unit PW.

上記電磁スイッチは、例えば、電磁石および一対の端子(入力端子、出力端子)を含む。例えば、入力端子はバッテリー36と接続され、出力端子は切替部35の出力端子と接続される。入力端子と出力端子とは、例えば、互いに接触するように弾性体によって支持される。上記電磁石は、電源部PWから電力が供給される通常状態において、磁力が発生する。この磁力は、入力端子と出力端子とが互いに離れるように、作用する。これにより、一対の端子が互いに非接触になり、回路が導通しない状態(遮断状態、開状態、オフ状態)になる。また、上記電磁スイッチは、電源部PWから電力が供給されないバックアップ状態で電磁石に磁界が発生せず、一対の端子が弾性体によって互いに接触する。切替部35は、電磁スイッチの一対の端子が互いに接触した状態において、信号発生部33から検出信号が伝わることで、バッテリー36からの電流が流れる経路(例、回路、配線)を導通する状態(閉状態、オン状態)にする。 The electromagnetic switch includes, for example, an electromagnet and a pair of terminals (input terminal, output terminal). For example, the input terminal is connected to the battery 36 and the output terminal is connected to the output terminal of the switching section 35 . For example, the input terminal and the output terminal are supported by an elastic body so as to contact each other. The electromagnet generates magnetic force in a normal state in which power is supplied from the power supply unit PW. This magnetic force acts to separate the input and output terminals from each other. As a result, the pair of terminals are out of contact with each other, and the circuit is in a non-conducting state (interrupted state, open state, off state). Further, in the electromagnetic switch, a magnetic field is not generated in the electromagnet in a backup state in which power is not supplied from the power supply unit PW, and the pair of terminals are brought into contact with each other by the elastic body. When the pair of terminals of the electromagnetic switch are in contact with each other, the switching unit 35 receives a detection signal from the signal generating unit 33, thereby turning on the path (e.g., circuit, wiring) through which the current from the battery 36 flows. closed state, on state).

なお、切替部35(第2の切替部)は、上記の態様に限定されない。例えば、上記電磁スイッチは、信号発生部33から出力される検出信号が伝わる経路(例、回路)に配置されてもよい。また、第2の切替部は、外部(例、駆動装置MTRの制御部MC)から制御信号が供給されることで、通常状態とバックアップ状態とを切り替えてもよい。 Note that the switching unit 35 (second switching unit) is not limited to the above aspect. For example, the electromagnetic switch may be arranged in a path (eg, circuit) through which the detection signal output from the signal generator 33 is transmitted. Further, the second switching unit may switch between the normal state and the backup state by receiving a control signal from the outside (for example, the control unit MC of the driving device MTR).

なお、切替部35は、通常状態とバックアップ状態とを切り替えなくてもよい。また、通常状態とバックアップ状態とを切り替える第2の切替部は、切替部35と別に設けられてもよい。例えば、第2の切替部は機械式スイッチを含み、オペレータは、機械式スイッチを操作することで通常状態とバックアップ状態とを切り替えてもよい。また、エンコーダ装置ECは、第2の切替部を備えなくてもよい。 Note that the switching unit 35 does not have to switch between the normal state and the backup state. A second switching unit that switches between the normal state and the backup state may be provided separately from the switching unit 35 . For example, the second switching section may include a mechanical switch, and the operator may switch between the normal state and the backup state by operating the mechanical switch. Also, the encoder device EC does not have to include the second switching unit.

エンコーダ装置ECは、電力供給部31がバックアップ状態において安定して動作することで、バックアップ状態から通常状態に切り替わった際に回転体SFの回転位置情報(例、回転体SFの初期位置)を高精度に検出可能である。実施形態に係るエンコーダ装置ECは、電力供給部31の電力を用いて電力供給部31の状態を検出可能である。電力供給部31の状態を検出することは、例えば電力供給部31をバックアップ状態において安定して動作させることに寄与する。エンコーダ装置ECは、電力供給部31の消費電力を低減しつつ電力供給部31の状態(例、温度や湿度などの環境状態、電圧や電気などの電気的パラメータ、又は温度や電圧のようなバッテリーの自己放電に関する状態に基づく、消耗状態又は劣化状態を示す指標)を検出することで、例えば電力供給部31の消耗を抑制することができる。 Since the power supply unit 31 operates stably in the backup state, the encoder device EC increases the rotational position information of the rotating body SF (for example, the initial position of the rotating body SF) when the backup state is switched to the normal state. Accurately detectable. The encoder device EC according to the embodiment can detect the state of the power supply unit 31 using the power of the power supply unit 31 . Detecting the state of the power supply unit 31 contributes to stably operating the power supply unit 31 in a backup state, for example. The encoder device EC reduces the power consumption of the power supply unit 31 while adjusting the state of the power supply unit 31 (for example, environmental conditions such as temperature and humidity, electrical parameters such as voltage and electricity, or battery By detecting the consumption state or deterioration state based on the state related to the self-discharge of the power supply unit 31, for example, the consumption of the power supply unit 31 can be suppressed.

次に、上記した電力供給部31の状態を検出する構成について説明する。エンコーダ装置ECは、切替部51と、状態検出部52(監視部)と、寿命算出部53とを備える。状態検出部52は、検出信号に基づいて電力供給部31から供給される電力によって、電力供給部31の状態を検出する。このように、状態検出部52は、バッテリー36から供給される電力を用いて、バッテリー36の状態を検出する。状態検出部52は、例えば、バッテリー36の状態を表す指標値を検出する。 Next, a configuration for detecting the state of the power supply unit 31 will be described. The encoder device EC includes a switching unit 51 , a state detection unit 52 (monitoring unit), and a lifespan calculation unit 53 . State detection unit 52 detects the state of power supply unit 31 based on the power supplied from power supply unit 31 based on the detection signal. Thus, the state detector 52 detects the state of the battery 36 using the power supplied from the battery 36 . The state detection unit 52 detects, for example, an index value representing the state of the battery 36 .

状態検出部52は、電力供給部31の状態を検出した検出結果(例、温度、湿度、気圧、正常又は異常、電圧、内部抵抗(出力インピーダンス)など)を、記憶部24に記憶させる。状態検出部52は、電力供給部31の状態を検出することで、電力供給部31の状態を監視する(観察する)。また、状態検出部52は、通常状態又はバックアップ状態において、電力供給部31の状態(状況)確認のために、エンコーダ装置ECが起動時(例、電源部PWがオンになった時)に記憶部24から最新(前回)の検出結果を取得するように構成される。 The state detection unit 52 causes the storage unit 24 to store detection results (eg, temperature, humidity, air pressure, normal or abnormal, voltage, internal resistance (output impedance), etc.) of detecting the state of the power supply unit 31 . The state detection unit 52 monitors (observes) the state of the power supply unit 31 by detecting the state of the power supply unit 31 . In addition, in the normal state or the backup state, the state detection unit 52 stores when the encoder device EC is activated (for example, when the power supply unit PW is turned on) in order to confirm the state (situation) of the power supply unit 31. It is configured to acquire the latest (previous) detection result from the unit 24 .

バッテリー36の状態は、例えば、バッテリー36が使用される環境の状態(環境状態)、バッテリー36の動作の状態(動作状態)、バッテリー36の電気的なパラメータの状態、及びバッテリー36の自己放電の状態(自己放電状態)の少なくとも一つを含む。バッテリー36の動作時又は停止時の環境状態は、例えば、エンコーダ装置ECの状態検出部52が不図示の温度センサ又は湿度センサ等を備える場合、バッテリー36が配置される環境(例、エンコーダ装置ECの内部)の温度と湿度との一方または双方を含む。 The state of the battery 36 includes, for example, the state of the environment in which the battery 36 is used (environmental state), the state of operation of the battery 36 (operating state), the state of electrical parameters of the battery 36, and the self-discharge rate of the battery 36. state (self-discharge state). For example, when the state detection unit 52 of the encoder device EC includes a temperature sensor or a humidity sensor (not shown), the environmental state when the battery 36 is in operation or stopped is the environment in which the battery 36 is arranged (eg, the encoder device EC temperature and/or humidity in the interior of the

バッテリー36の動作状態は、例えば、状態検出部52が電力検出部を備える場合、バッテリー36から出力される電流と電圧との一方または双方を含む。バッテリー36の自己放電状態は、例えば、状態検出部52が温度センサと電力検出部とを備える場合、バッテリー36の温度と、端子間電圧との一方または双方を含む。また、本実施形態におけるバッテリー36の状態は、バッテリー寿命の指標となり、後述の寿命情報の算出に用いられる。 The operating state of the battery 36 includes, for example, one or both of current and voltage output from the battery 36 when the state detector 52 includes a power detector. The self-discharge state of the battery 36 includes, for example, one or both of the temperature of the battery 36 and the voltage between terminals when the state detection unit 52 includes a temperature sensor and a power detection unit. In addition, the state of the battery 36 in this embodiment serves as an indicator of battery life, and is used to calculate life information, which will be described later.

図3は、第1実施形態に係るエンコーダ装置の回路構成を示す図である。信号発生部33の第1端子(例、図2(A)の端子43a)は、整流部34の端子34aと接続されている。信号発生部33の第2端子(例、図2(A)の端子43b)は、整流部34の端子34bと接続されている。整流部34の端子34cは、回路の基準電位になる接地端子と接続される。整流部34の端子34d(出力端子)は、配線PLに接続される。配線PLのノードN1は、抵抗55を介して、回路の基準電位になる接地端子と接続される。 FIG. 3 is a diagram showing the circuit configuration of the encoder device according to the first embodiment. A first terminal (eg, terminal 43 a in FIG. 2A) of the signal generator 33 is connected to a terminal 34 a of the rectifier 34 . A second terminal (eg, terminal 43b in FIG. 2A) of the signal generating section 33 is connected to a terminal 34b of the rectifying section . A terminal 34c of the rectifying section 34 is connected to a ground terminal serving as a reference potential of the circuit. A terminal 34d (output terminal) of the rectifying section 34 is connected to the wiring PL. A node N1 of the wiring PL is connected via a resistor 55 to a ground terminal serving as a reference potential of the circuit.

配線PLのノードN2は、切替部51と接続されている。切替部51は、例えば、スイッチング素子56を含む。スイッチング素子56は、電力供給部31から状態検出部52へ電力を供給する経路に設けられる。スイッチング素子56の端子56a(例、ソース電極)は、バッテリー36の電極(例、正極または負極)と接続される。スイッチング素子56の端子56b(例、ドレイン電極)は、状態検出部52の入力端子57aと接続される。図3に示すように、状態検出部52は、例えば、電力検出部57(例、電圧計、電流計)を含む。スイッチング素子56の端子56c(例、ゲート電極、制御端子)は、配線PLのノードN2と接続されている。スイッチング素子56の端子56cには、検出信号によって電圧が印加される。スイッチング素子56は、端子56cに閾値以上の電圧が印加されると、端子56aと端子56bとの間(例、チャネル領域)が導通する状態になる。 A node N2 of the wiring PL is connected to the switching unit 51 . The switching unit 51 includes a switching element 56, for example. The switching element 56 is provided on a path for supplying power from the power supply unit 31 to the state detection unit 52 . A terminal 56a (eg, source electrode) of the switching element 56 is connected to an electrode (eg, positive electrode or negative electrode) of the battery 36 . A terminal 56 b (eg, drain electrode) of the switching element 56 is connected to an input terminal 57 a of the state detection section 52 . As shown in FIG. 3, the state detector 52 includes, for example, a power detector 57 (eg, voltmeter, ammeter). A terminal 56c (eg, gate electrode, control terminal) of the switching element 56 is connected to the node N2 of the wiring PL. A voltage is applied to the terminal 56c of the switching element 56 by the detection signal. When a voltage equal to or higher than the threshold is applied to the terminal 56c of the switching element 56, the terminals 56a and 56b (for example, the channel region) become conductive.

また、整流部34の端子34dは、切替部35と接続されている。切替部35は、スイッチング素子58を含む。スイッチング素子58の端子58a(例、ソース電極)は、バッテリー36の電極(例、正極または負極)と接続されている。スイッチング素子58の端子58b(例、ドレイン電極)は、電力調整部59(後述する)の入力端子59aと接続されている。スイッチング素子58の端子58c(例、ゲート電極、制御端子)は、整流部34の端子34dと接続されている。スイッチング素子58の端子58cには、検出信号によって電圧が印加される。スイッチング素子58は、端子58cに閾値以上の電圧が印加されると、端子58aと端子58bとの間(例、チャネル領域)が導通する状態になる。 A terminal 34 d of the rectifying section 34 is connected to the switching section 35 . The switching section 35 includes a switching element 58 . A terminal 58 a (eg, source electrode) of the switching element 58 is connected to an electrode (eg, positive or negative electrode) of the battery 36 . A terminal 58b (eg, drain electrode) of the switching element 58 is connected to an input terminal 59a of a power adjusting section 59 (described later). A terminal 58 c (eg, gate electrode, control terminal) of the switching element 58 is connected to the terminal 34 d of the rectifying section 34 . A voltage is applied to the terminal 58c of the switching element 58 by the detection signal. When a voltage equal to or higher than the threshold is applied to the terminal 58c of the switching element 58, the terminal 58a and the terminal 58b (for example, the channel region) become conductive.

本実施形態に係る電力供給部31は、電力調整部59を備える。電力調整部59(例、電圧調整部)は、バッテリー36から供給される電力(例、電圧)を調整する。例えば、電力調整部59は、バッテリー36から供給される電力の電圧を所定電圧へ調整(例、変換、昇圧、降圧)する。電力調整部59の出力端子59bは、位置検出部1に接続されている。電力供給部31は、電力調整部59によって所定電圧に調整された電力を位置検出部1に供給する。 The power supply unit 31 according to this embodiment includes a power adjustment unit 59 . The power adjuster 59 (eg, voltage adjuster) adjusts the power (eg, voltage) supplied from the battery 36 . For example, the power adjustment unit 59 adjusts (eg, converts, boosts, or steps down) the voltage of the power supplied from the battery 36 to a predetermined voltage. An output terminal 59 b of the power adjustment section 59 is connected to the position detection section 1 . The power supply unit 31 supplies power adjusted to a predetermined voltage by the power adjustment unit 59 to the position detection unit 1 .

スイッチング素子58および電力調整部59は、レギュレータを含む。例えば、スイッチング素子58の端子58aは、レギュレータの入力端子に相当する。また、電力調整部59の出力端子59bは、レギュレータの出力端子に相当する。スイッチング素子58の端子58cは、レギュレータの制御端子に相当する。このレギュレータは、信号発生部33で発生する電気信号(検出信号)を制御信号(例、イネーブル信号)に用いて、スイッチング素子58の動作を制御する。レギュレータは、制御端子(スイッチング素子58の端子58c)に閾値以上の電圧が印加された状態で、出力端子59bの電位を所定電位に維持する。レギュレータの出力電圧(上記の所定電圧)は、例えば、位置検出部1の動作電圧(例、3V)である。 Switching element 58 and power regulator 59 include regulators. For example, the terminal 58a of the switching element 58 corresponds to the input terminal of the regulator. Also, the output terminal 59b of the power adjusting section 59 corresponds to the output terminal of the regulator. A terminal 58c of the switching element 58 corresponds to a control terminal of the regulator. This regulator uses an electric signal (detection signal) generated by the signal generator 33 as a control signal (eg, an enable signal) to control the operation of the switching element 58 . The regulator maintains the potential of the output terminal 59b at a predetermined potential while a voltage equal to or higher than the threshold is applied to the control terminal (the terminal 58c of the switching element 58). The output voltage of the regulator (the predetermined voltage mentioned above) is, for example, the operating voltage (eg, 3 V) of the position detection section 1 .

次に、図2から図4を参照して、エンコーダ装置ECの動作のタイミングについて説明する。図4は、第1実施形態に係るエンコーダ装置の動作を示すタイミングチャートである。図4において、「信号発生部出力」は、信号発生部33(図3参照)で発生する検出信号のレベルに相当する。ここでは、「信号発生部出力」として、整流部34によって整流された検出信号のレベルを示した。また、「電力調整部出力」は、電力調整部59(図3参照)から出力される電圧のレベル(例、電力調整部59の出力端子59bの電位)に相当する。図4において、「H」はハイレベルを表し、「L」はローレベルを表す。 Next, operation timings of the encoder device EC will be described with reference to FIGS. FIG. 4 is a timing chart showing the operation of the encoder device according to the first embodiment. In FIG. 4, "signal generator output" corresponds to the level of the detection signal generated by the signal generator 33 (see FIG. 3). Here, the level of the detection signal rectified by the rectifying section 34 is indicated as "signal generating section output". Further, the "power adjusting section output" corresponds to the level of the voltage output from the power adjusting section 59 (see FIG. 3) (for example, the potential of the output terminal 59b of the power adjusting section 59). In FIG. 4, "H" represents high level and "L" represents low level.

また、図4の「位置検出部検出動作」は、位置検出部1が回転体SFの回転位置情報を検出するタイミングを表す。以下の説明において、位置検出部1が回転体SFの回転位置情報を検出する動作を、適宜、回転位置情報の検出動作という。図4の各検出動作について、「ON」は検出動作の実行中を表し、「OFF」は検出動作の停止中を表す。「電力検出部入力」は、電力検出部57(状態検出部52)に入力される電力のレベル(例、電力検出部57の入力端子57aの電圧)を表す。「電力検出部検出動作(状態検出部検出動作)」は、電力検出部57がバッテリー36の状態を検出するタイミングを表す。 "Position detection unit detection operation" in FIG. 4 represents the timing at which the position detection unit 1 detects the rotational position information of the rotating body SF. In the following description, the operation of detecting the rotational position information of the rotating body SF by the position detection unit 1 is appropriately referred to as the rotational position information detection operation. For each detection operation in FIG. 4, "ON" indicates that the detection operation is being performed, and "OFF" indicates that the detection operation is stopped. “Power detection unit input” represents the level of power input to the power detection unit 57 (state detection unit 52) (for example, the voltage of the input terminal 57a of the power detection unit 57). “Power detection unit detection operation (state detection unit detection operation)” represents the timing at which the power detection unit 57 detects the state of the battery 36 .

図2(B)で説明したように、第1信号発生部33aは、その近傍を磁石21の位置21aが通過する際と、その近傍を磁石21の位置21cが通過する際とのそれぞれにおいて、電流パルスが発生する。また、第2信号発生部33bは、その近傍を磁石21の位置21aが通過する際と、その近傍を磁石21の位置21cが通過する際とのそれぞれにおいて、電流パルスが発生する。例えば、信号発生部33(第1信号発生部33a、第2信号発生部33b)は、回転体SFが1回転する間に、電流パルスが4回発生する。図4において、符号Tは、回転体SFが1回転する期間に相当する。「信号発生部出力」は、回転体SFが1回転する期間に、信号発生部33で流パルスが4回発生することに対応して、「L」から「H」へ4回立ち上がる。 As described with reference to FIG. 2B, the first signal generating section 33a generates a A current pulse is generated. Further, the second signal generator 33b generates a current pulse when the position 21a of the magnet 21 passes through its vicinity and when the position 21c of the magnet 21 passes through its vicinity. For example, the signal generator 33 (the first signal generator 33a, the second signal generator 33b) generates four current pulses during one rotation of the rotating body SF. In FIG. 4, the symbol T corresponds to the period during which the rotating body SF rotates once. The "signal generator output" rises from "L" to "H" four times in response to four current pulses generated by the signal generator 33 during one rotation of the rotating body SF.

「信号発生部出力」が立ち上がると、切替部35(図3参照)のスイッチング素子58は、端子58cの電位が閾値以上になり、端子58aと端子58bとの間が導通する状態になる。スイッチング素子58の端子58aと端子58bとの間が導通する状態になると、バッテリー36から電力調整部59に電力が供給され、「電力調整部出力」が「L」から「H」に立ち上がる。「電力調整部出力」が「H」になると、電力調整部59から位置検出部1に所定電圧の電力が供給され、位置検出部1は、回転体SFの回転位置情報を検出する(「位置検出部検出動作」が「ON」)。 When the "signal generator output" rises, the potential of the terminal 58c of the switching element 58 of the switching section 35 (see FIG. 3) becomes equal to or higher than the threshold, and the terminals 58a and 58b are electrically connected. When the terminals 58a and 58b of the switching element 58 become conductive, power is supplied from the battery 36 to the power adjusting section 59, and the "power adjusting section output" rises from "L" to "H". When the "output of the power adjustment unit" becomes "H", power of a predetermined voltage is supplied from the power adjustment unit 59 to the position detection unit 1, and the position detection unit 1 detects the rotational position information of the rotating body SF ("position "detection unit detection operation" is "ON").

また、「信号発生部出力」が立ち上がると、切替部51(図3参照)のスイッチング素子56は、端子56cの電位が閾値以上になり、端子56aと端子56bとの間が導通する状態になる。スイッチング素子56の端子56aと端子56bとの間が導通する状態になると、バッテリー36から電力検出部57に電力が供給され、「電力検出部入力」が「L」から「H」に立ち上がる。電力検出部57は、バッテリー36から電力が供給されると、バッテリー36の状態(例、バッテリー36から出力される出力電圧)を検出する(「電力検出部検出動作」が「ON」)。 Further, when the "signal generating unit output" rises, the potential of the terminal 56c of the switching element 56 of the switching unit 51 (see FIG. 3) becomes equal to or higher than the threshold, and the terminal 56a and the terminal 56b become conductive. . When the terminals 56a and 56b of the switching element 56 become conductive, power is supplied from the battery 36 to the power detector 57, and the "power detector input" rises from "L" to "H". When power is supplied from the battery 36, the power detection unit 57 detects the state of the battery 36 (for example, the output voltage output from the battery 36) (“Power detection unit detection operation” is “ON”).

図1の説明に戻り、切替部51は、信号発生部33で発生する検出信号に基づいて、電力供給部31から状態検出部52への電力の供給の有無を切り替える。例えば、切替部51は、バックアップ状態における電力供給部31から状態検出部52への電力の供給の有無を、信号発生部33で発生する検出信号に基づいて切り替える。 Returning to the description of FIG. 1 , the switching unit 51 switches whether power is supplied from the power supply unit 31 to the state detection unit 52 based on the detection signal generated by the signal generation unit 33 . For example, the switching unit 51 switches whether power is supplied from the power supply unit 31 to the state detection unit 52 in the backup state based on the detection signal generated by the signal generation unit 33 .

なお、切替部51は、通常状態において、検出信号に基づいて電力供給部31から状態検出部52への電力の供給の有無を切り替えてもよい。切替部51は、通常状態において、検出信号と異なる信号に基づいて電力供給部31から状態検出部52への電力の供給の有無を切り替えてもよい。切替部51は、通常状態において、電力供給部31から状態検出部52への電力の供給の有無を切り替えなくてもよい。 Note that the switching unit 51 may switch whether power is supplied from the power supply unit 31 to the state detection unit 52 based on the detection signal in the normal state. In the normal state, the switching unit 51 may switch whether power is supplied from the power supply unit 31 to the state detection unit 52 based on a signal different from the detection signal. In the normal state, the switching unit 51 does not have to switch whether power is supplied from the power supply unit 31 to the state detection unit 52 .

切替部51は、例えば、信号発生部33で発生した検出信号を制御信号に用いて、バッテリー36から状態検出部52への電力の供給の有無を切り替える。以下の説明において、適宜、切替部(例、切替部35、切替部51)が回路の導通状態(閉状態)と遮断状態(開状態)とを切り替える動作を切替動作という。切替部51は、バックアップ状態において、切替部35による切替動作と同期して、切替動作を実行する。切替部51は、バックアップ状態において、切替部35による切替動作と所定のタイミングで、切替動作を実行する。切替部51は、バックアップ状態において、電力供給部31から位置検出部1に電力が供給される期間の少なくとも一部の期間に、電力供給部31から状態検出部52に電力を供給させる。 The switching unit 51 switches whether or not power is supplied from the battery 36 to the state detecting unit 52 using, for example, the detection signal generated by the signal generating unit 33 as a control signal. In the following description, a switching operation is referred to as a switching operation in which a switching unit (eg, the switching unit 35, the switching unit 51) switches between a circuit conduction state (closed state) and a circuit interruption state (open state). The switching unit 51 performs the switching operation in synchronization with the switching operation by the switching unit 35 in the backup state. In the backup state, the switching unit 51 performs the switching operation at a predetermined timing with the switching operation by the switching unit 35 . In the backup state, the switching unit 51 causes the power supply unit 31 to supply power to the state detection unit 52 during at least part of the period during which power is supplied from the power supply unit 31 to the position detection unit 1 .

切替部51は、バッテリー36から状態検出部52に電力が供給される経路(例、回路、配線)に設けられる。また、切替部51は、信号発生部33と電気的に接続される。例えば、切替部51は、信号発生部33と切替部35との間のノードN2に接続される。切替部51は、例えば、整流部34の出力端子と接続される。切替部51には、例えば、信号発生部33で発生して整流部34で整流された検出信号がノードN2を介して入力される。 The switching unit 51 is provided in a path (eg, circuit, wiring) through which power is supplied from the battery 36 to the state detection unit 52 . Also, the switching unit 51 is electrically connected to the signal generating unit 33 . For example, the switching unit 51 is connected to a node N2 between the signal generating unit 33 and the switching unit 35. FIG. The switching unit 51 is connected to the output terminal of the rectifying unit 34, for example. For example, the detection signal generated by the signal generating unit 33 and rectified by the rectifying unit 34 is input to the switching unit 51 via the node N2.

そして、切替部51は、信号発生部33で発生する電気信号のレベルが閾値以上になることでバッテリー36から状態検出部52への電力の供給を開始させる。例えば、切替部51は、信号発生部33で閾値以上の検出信号が発生することでバッテリー36から状態検出部52への電力の供給を開始させる。また、切替部51は、信号発生部33で発生する電気信号のレベルが閾値未満になることでバッテリー36から状態検出部52への電力の供給を停止させる。例えば、切替部51は、信号発生部33で発生する検出信号が閾値未満になることでバッテリー36から状態検出部52への電力の供給を停止させる。 When the level of the electrical signal generated by the signal generating section 33 becomes equal to or higher than the threshold, the switching section 51 starts supplying power from the battery 36 to the state detecting section 52 . For example, the switching unit 51 starts supplying power from the battery 36 to the state detecting unit 52 when the signal generating unit 33 generates a detection signal equal to or greater than the threshold. Also, the switching unit 51 stops power supply from the battery 36 to the state detection unit 52 when the level of the electrical signal generated by the signal generation unit 33 becomes less than the threshold. For example, the switching unit 51 stops power supply from the battery 36 to the state detection unit 52 when the detection signal generated by the signal generation unit 33 becomes less than the threshold.

例えば、信号発生部33にパルス状の電気信号が発生する場合、切替部51は、この電気信号のレベル(電位)がローレベルからハイレベルに立ち上がった際に、バッテリー36から状態検出部52への電力の供給を開始させる。また、切替部51は、上記電気信号のレベル(電位)がハイレベルに立ち上がってから所定の時間経過後に、バッテリー36から状態検出部への電力の供給を停止させる。 For example, when the signal generator 33 generates a pulsed electric signal, the switching unit 51 switches from the battery 36 to the state detector 52 when the level (potential) of the electric signal rises from low level to high level. power supply. Further, the switching unit 51 stops the supply of power from the battery 36 to the state detection unit after a predetermined time has passed since the level (potential) of the electric signal rises to the high level.

状態検出部52は、切替部51を介して電力供給部31から供給される電力を用いて、電力供給部31の状態を検出する。例えば、状態検出部52は、バックアップ状態において、信号発生部33における検出信号の発生に基づいてバッテリー36から状態検出部52へ供給される電力を用いて、バッテリー36の状態を検出する。状態検出部52は、バッテリー36から状態検出部52へ電力が供給されている期間に、バッテリー36の状態を検出した検出結果を記憶部24に出力する。記憶部24は、バックアップ状態において、信号発生部33における検出信号の発生に基づいてバッテリー36から位置検出部1に供給される電力を用いて、状態検出部52から出力された検出結果を記憶する。 The state detection unit 52 detects the state of the power supply unit 31 using the power supplied from the power supply unit 31 via the switching unit 51 . For example, in the backup state, the state detector 52 detects the state of the battery 36 using power supplied from the battery 36 to the state detector 52 based on the generation of the detection signal by the signal generator 33 . The state detection unit 52 outputs a detection result of detecting the state of the battery 36 to the storage unit 24 while power is being supplied from the battery 36 to the state detection unit 52 . In the backup state, the storage unit 24 stores the detection result output from the state detection unit 52 using power supplied from the battery 36 to the position detection unit 1 based on the generation of the detection signal in the signal generation unit 33. .

寿命算出部53は、状態検出部52の検出結果に基づいて、バッテリー36の寿命情報を算出する。寿命情報は、例えば、放電終止電圧に達する時間、バッテリー36の残量、バッテリー36から供給される電力によって位置検出部1が動作可能な時間、及びバッテリー36から供給される電力が位置検出部の消費電力に対して不足する時期の少なくとも1つを含む。 The life calculation unit 53 calculates life information of the battery 36 based on the detection result of the state detection unit 52 . The life information includes, for example, the time to reach the discharge end voltage, the remaining amount of the battery 36, the time the position detection unit 1 can operate with the power supplied from the battery 36, and the power supplied from the battery 36 for the position detection unit. It includes at least one period when power consumption is insufficient.

寿命算出部53は、記憶部24に記憶されている状態検出部52の検出結果を読み出して、寿命情報を算出する。寿命算出部53は、例えば、通常状態において電源部PWから供給される電力を用いて、寿命情報を算出する。寿命算出部53は、例えば、バックアップ状態において記憶された状態検出部52の検出結果を通常状態において読み出し、通常状態において寿命情報を算出する。寿命算出部53は、算出した寿命情報を外部へ出力(報知)する。寿命算出部53は、寿命情報を通信部3に出力し、通信部3は、寿命情報を外部(例、制御部MC)に出力(送信)する。 The life calculation unit 53 reads the detection result of the state detection unit 52 stored in the storage unit 24 and calculates life information. The lifespan calculation unit 53 calculates lifespan information using, for example, power supplied from the power supply unit PW in a normal state. For example, the life calculation unit 53 reads the detection result of the state detection unit 52 stored in the backup state in the normal state, and calculates the life information in the normal state. The life calculation unit 53 outputs (notifies) the calculated life information to the outside. The life calculation unit 53 outputs the life information to the communication unit 3, and the communication unit 3 outputs (transmits) the life information to the outside (for example, the control unit MC).

上記したように、状態検出部52は、バッテリー36から出力される電力(出力電圧)を検出する。状態検出部52は、バッテリー36の負極と正極との間の電圧を出力電圧として検出する。ここで、バッテリー36の出力電圧は、バッテリー36の残量に基づき変化する。例えば、バッテリー36の残量が減少した場合、バッテリー36の出力電圧も減少する。寿命算出部53は、状態検出部52が検出した電力供給部31(この場合、バッテリー36)の状態(例、出力電圧)を用いて、バッテリー36の寿命情報(例、バッテリー36の残量の推定値)を算出する。例えば、バッテリー36の出力電圧と残量との関係を示す出力特性情報(例、数式、テーブルデータ)が記憶部(例、記憶部24)に予め記憶されており、寿命算出部53は、この記憶部24から出力特性情報を取得して、バッテリー36の寿命情報を算出する。また、寿命算出部53は、温度センサの検出結果及び電力検出部57の検出結果の双方を用いて、バッテリー36の寿命情報を算出してもよい。なお、バッテリー36の自己放電率は温度などの環境状態に依存するため、寿命算出部53は、温度と自己放電率との関係を示す温度特性情報が予め記憶された記憶部(例、記憶部24)から該温度特性情報を取得し、温度センサの検出結果と温度特性情報とを用いて所定期間におけるバッテリー36の自己放電率を算出できる。そして、寿命算出部53は、この自己放電率に基づいて寿命情報を算出する。 As described above, the state detector 52 detects the power (output voltage) output from the battery 36 . The state detection unit 52 detects the voltage between the negative electrode and the positive electrode of the battery 36 as an output voltage. Here, the output voltage of the battery 36 changes based on the remaining amount of the battery 36 . For example, when the remaining capacity of the battery 36 decreases, the output voltage of the battery 36 also decreases. The life calculation unit 53 uses the state (eg, output voltage) of the power supply unit 31 (in this case, the battery 36) detected by the state detection unit 52 to calculate the life information of the battery 36 (eg, the remaining amount of the battery 36). estimated value). For example, output characteristic information (e.g., formula, table data) indicating the relationship between the output voltage and the remaining capacity of the battery 36 is pre-stored in the storage unit (e.g., storage unit 24), and the life calculation unit 53 The output characteristic information is obtained from the storage unit 24 and the life information of the battery 36 is calculated. Also, the life calculation unit 53 may calculate the life information of the battery 36 using both the detection result of the temperature sensor and the detection result of the power detection unit 57 . Since the self-discharge rate of the battery 36 depends on environmental conditions such as temperature, the life calculation unit 53 includes a storage unit (eg, a storage unit) in which temperature characteristic information indicating the relationship between temperature and self-discharge rate is stored in advance. 24), and the self-discharge rate of the battery 36 in a predetermined period can be calculated using the detection result of the temperature sensor and the temperature characteristic information. Then, the life calculation unit 53 calculates life information based on this self-discharge rate.

例えば、寿命算出部53は、算出したバッテリー36の残量の推定値が所定値未満である場合、バッテリー36の残量の推定値が所定値未満であることを示す寿命情報(報知情報、報知信号)を出力する。寿命算出部53は、算出された寿命情報をもとにバッテリー36の交換又はその交換時期を知らせる寿命情報を外部へ出力してもよい。 For example, when the calculated estimated remaining amount of the battery 36 is less than a predetermined value, the lifespan calculating unit 53 determines that the estimated remaining amount of the battery 36 is less than a predetermined value. signal). Based on the calculated life information, the life calculation unit 53 may output life information indicating replacement of the battery 36 or time for replacement to the outside.

上記寿命情報は、位置検出部1で消費される電力に対してバッテリー36から供給される電力が不足する可能性があることを示すワーニング信号を含んでもよい。また、上記寿命情報は、例えば、位置検出部1で消費される電力に対してバッテリー36から供給される電力が不足していることを示すアラーム信号を含んでもよい。また、上記寿命情報は、バッテリー36の交換が推奨されることを音(例、アラーム音)あるいは光(例、LEDの点灯、点滅)などで報知する際の制御信号(例、報知信号)を含んでもよい。 The life information may include a warning signal indicating that the power supplied from the battery 36 may be insufficient for the power consumed by the position detection unit 1 . Further, the life information may include, for example, an alarm signal indicating that the power supplied from the battery 36 is insufficient for the power consumed by the position detection section 1 . Further, the life information is a control signal (e.g., notification signal) used when notifying that replacement of the battery 36 is recommended by sound (e.g., alarm sound) or light (e.g., lighting or blinking of LED). may contain.

上記寿命情報は、エンコーダ装置ECの誤動作あるいは動作不良の発生を抑制することに寄与する。例えば、ユーザは、エンコーダ装置ECから出力される寿命情報に基づいて、電力供給部31をメンテナンスすること(例、バッテリー36を交換すること)ができる。この場合、電力供給部31は、例えば、バックアップ状態において位置検出部1が正常に動作可能なように、電力を供給可能である。エンコーダ装置ECは、例えば、バックアップ状態において、電力供給部31および位置検出部1が正常に動作することにより、回転体SFの回転位置情報を高精度に検出できる。 The life information contributes to suppressing the occurrence of malfunctions or malfunctions of the encoder device EC. For example, the user can perform maintenance on the power supply unit 31 (for example, replace the battery 36) based on life information output from the encoder device EC. In this case, the power supply unit 31 can supply power so that the position detection unit 1 can operate normally in the backup state, for example. For example, in the backup state, the encoder device EC can detect the rotational position information of the rotating body SF with high precision by the power supply unit 31 and the position detection unit 1 operating normally.

本実施形態において、検出信号のレベル(図4の「信号発生部出力」)は、間欠的(断続的、選択的、一時的)にハイレベルになる。また、状態検出部52は、通常状態又はバックアップ状態において、検出信号に基づいて、常時ではなく間欠的(断続的、選択的、一時的)に電力供給部31の状態を検出する。状態検出部52が電力供給部31(例、バッテリー36)の状態を間欠的に検出する場合、例えば、電力供給部31(例、バッテリー36)の消耗が抑制される。実施形態に係るエンコーダ装置ECは、例えば、電力供給部31の消耗を抑制しつつ、バックアップ状態において回転体SFの回転位置情報を高精度に検出できる。また、実施形態に係るエンコーダ装置ECは、電力供給部31の長寿命化を実現し、安定して動作可能である。 In this embodiment, the level of the detection signal (“signal generator output” in FIG. 4) intermittently (intermittently, selectively, temporarily) becomes high level. In addition, the state detection unit 52 detects the state of the power supply unit 31 intermittently (intermittently, selectively, temporarily) instead of constantly based on the detection signal in the normal state or the backup state. When the state detection unit 52 intermittently detects the state of the power supply unit 31 (eg, battery 36), consumption of the power supply unit 31 (eg, battery 36) is suppressed, for example. The encoder device EC according to the embodiment can, for example, suppress consumption of the power supply unit 31 and detect the rotational position information of the rotating body SF with high accuracy in the backup state. Further, the encoder device EC according to the embodiment achieves a longer life of the power supply unit 31 and can operate stably.

なお、電力供給部31は、寿命算出部53に電力を供給してもよい。寿命算出部53は、電力供給部31から供給される電力を用いて寿命情報を算出してもよい。例えば、バックアップ状態において、電力供給部31が寿命算出部53に電力を供給し、寿命算出部53は、電力供給部31から供給される電力を用いて寿命情報を算出してもよい。この場合、状態検出部52は、バッテリー36の状態を検出した検出結果を記憶部24に記憶させなくてもよい。 Note that the power supply unit 31 may supply power to the life calculation unit 53 . The lifespan calculation unit 53 may calculate the lifespan information using the power supplied from the power supply unit 31 . For example, in the backup state, the power supply unit 31 may supply power to the life calculation unit 53 , and the life calculation unit 53 may calculate life information using the power supplied from the power supply unit 31 . In this case, the state detection unit 52 does not have to store the detection result of detecting the state of the battery 36 in the storage unit 24 .

また、状態検出部52は、その検出結果を、位置検出部1の記憶部24と異なる記憶部(第2の記憶部)に記憶させてもよい。この場合、電力供給部31は、位置検出部1に対して第1の期間に電力を供給し、上記第2の記憶部に対して第2の期間に電力を供給してもよい。第2の記憶部は、第2の期間において電力供給部31から供給される電力を用いて、状態検出部52の検出結果を記憶してもよい。第2の期間は、第1の期間の少なくとも一部と重複してもよい。また、第2の期間は、第1の期間と重複しなくてもよい。 Moreover, the state detection unit 52 may store the detection result in a storage unit (second storage unit) different from the storage unit 24 of the position detection unit 1 . In this case, the power supply section 31 may supply power to the position detection section 1 during the first period and power to the second storage section during the second period. The second storage unit may store the detection result of the state detection unit 52 using the power supplied from the power supply unit 31 in the second period. The second period may overlap at least part of the first period. Also, the second period does not have to overlap with the first period.

なお、エンコーダ装置ECは、寿命算出部53を備えなくてもよい。例えば、エンコーダ装置ECは、状態検出部52がバッテリー36の状態(例、温度)を検出した検出結果を、エンコーダ装置ECの外部(例、制御部MC)に出力してもよい。エンコーダ装置ECから寿命情報が出力される装置(寿命情報の出力先の装置)は、状態検出部52の検出結果を処理してもよい。この場合、例えば、寿命算出部53は、寿命情報の出力先の装置(例、制御部MC)に設けられてもよい。例えば、寿命算出部53は、制御部MCに設けられ、エンコーダ装置ECから出力されるバッテリー36の状態の情報を用いて、バッテリー36の寿命情報を算出してもよい。 Note that the encoder device EC does not have to include the life calculator 53 . For example, the encoder device EC may output the detection result of the state detection unit 52 detecting the state (eg, temperature) of the battery 36 to the outside of the encoder device EC (eg, control unit MC). A device to which the life information is output from the encoder device EC (a device to which the life information is output) may process the detection result of the state detection unit 52 . In this case, for example, the lifespan calculator 53 may be provided in a device (eg, controller MC) to which the lifespan information is output. For example, the life calculation unit 53 may be provided in the control unit MC and may calculate the life information of the battery 36 using information on the state of the battery 36 output from the encoder device EC.

なお、寿命算出部53は、上記のバッテリーの残量の推定値、放電終止電圧に達する時間、動作可能時間の推定値、及び電力不足時期の推定値の少なくとも1つを算出しなくてもよい。また、寿命算出部53は、バッテリー36の寿命情報として、上記のバッテリーの残量の推定値、動作可能時間の推定値、及び電力不足時期の推定値以外の値を算出してもよい。例えば、寿命算出部53は、バッテリーの残量、放電終止電圧に達する時間、動作可能時間、あるいは電力不足時期のレベル(程度)を2または3以上の段階で表す情報を算出してもよい。 Note that the life calculation unit 53 does not need to calculate at least one of the estimated remaining battery capacity, the time to reach the discharge end voltage, the estimated operable time, and the estimated power shortage period. . Further, the life calculation unit 53 may calculate, as the life information of the battery 36, values other than the above-described estimated value of remaining battery capacity, estimated value of operable time, and estimated value of power shortage period. For example, the life calculation unit 53 may calculate information indicating the level (degree) of the remaining battery capacity, the time to reach the discharge end voltage, the operable time, or the power shortage period in two or more stages.

また、制御部MCは、寿命算出部53が算出したバッテリー36の寿命情報を用いて、エンコーダ装置ECを備える装置(例、駆動装置、ステージ装置、ロボット装置)の異常を検出してもよい。例えば、制御部MCは、バッテリー36の寿命情報の値が所定値未満である場合、エンコーダ装置ECを備える装置においてエンコーダ装置ECが取り付けられた部分に異常があると判定してもよい。また、制御部MCは、寿命算出部53が算出したバッテリー36の寿命情報を用いた異常の検出結果を外部へ報知してもよい。また、制御部MCは、寿命算出部53が算出したバッテリー36の寿命情報を制御などに利用してもよい。 Further, the controller MC may use the life information of the battery 36 calculated by the life calculator 53 to detect an abnormality in a device (eg, drive device, stage device, robot device) including the encoder device EC. For example, when the value of the life information of the battery 36 is less than a predetermined value, the control unit MC may determine that there is an abnormality in the part of the device provided with the encoder device EC, to which the encoder device EC is attached. Further, the control unit MC may notify the outside of the abnormality detection result using the life information of the battery 36 calculated by the life calculation unit 53 . Further, the control unit MC may use the life information of the battery 36 calculated by the life calculation unit 53 for control or the like.

[第2実施形態]
次に、第2実施形態について説明する。本実施形態において、上述の実施形態と同様の構成については、同じ符号を付してその説明を省略あるいは簡略化する。図5は、第2実施形態に係るエンコーダ装置を示す図である。本実施形態に係るエンコーダ装置ECは、制御部61(エンコーダ制御部)を備える。制御部61は、切替部51に制御信号を供給する。位置検出部1は、通常状態において、電力供給部31とは異なる電源部PWから供給される電力によって位置情報を検出する。切替部51は、電源部PWから位置検出部1へ電力が供給される状態(通常状態)において、所定のタイミング(例、定期的又は不定期的なタイミング、制御部MCからの指示タイミング、又は検出信号に基づく位置検出部1の動作後のタイミング)で制御部61から供給される制御信号に基づいて、電力供給部31から状態検出部52への電力の供給の有無を切り替える。
[Second embodiment]
Next, a second embodiment will be described. In this embodiment, the same reference numerals are given to the same configurations as those of the above-described embodiment, and the description thereof will be omitted or simplified. FIG. 5 is a diagram showing an encoder device according to the second embodiment. The encoder device EC according to this embodiment includes a control section 61 (encoder control section). The control section 61 supplies a control signal to the switching section 51 . In a normal state, the position detection unit 1 detects position information using power supplied from a power supply unit PW different from the power supply unit 31 . In a state (normal state) in which power is supplied from the power supply unit PW to the position detection unit 1, the switching unit 51 operates at a predetermined timing (eg, regular or irregular timing, instruction timing from the control unit MC, or The power supply unit 31 switches whether or not to supply power to the state detection unit 52 based on the control signal supplied from the control unit 61 at the timing after the position detection unit 1 operates based on the detection signal.

切替部51は、通常状態において制御部61の制御信号に基づいて切替を実行し、バックアップ状態において信号発生部33の検出信号に基づいて切替を実行する。状態検出部52は、通常状態において、制御部61の制御信号に基づいてバッテリー36から供給される電力を用いて、バッテリー36の状態を検出する。寿命算出部53は、状態検出部52の検出結果に基づいて寿命情報を算出する。寿命算出部53は、例えば、算出した寿命情報を制御部61に出力する。制御部61は、例えば、寿命算出部53が算出した寿命情報を、通信部3を介して外部(例、制御部MC)に出力する。 The switching unit 51 performs switching based on the control signal from the control unit 61 in the normal state, and performs switching based on the detection signal from the signal generating unit 33 in the backup state. State detection unit 52 detects the state of battery 36 in a normal state using power supplied from battery 36 based on a control signal from control unit 61 . The lifespan calculator 53 calculates lifespan information based on the detection result of the state detector 52 . The life calculation unit 53 outputs the calculated life information to the control unit 61, for example. For example, the control unit 61 outputs the life information calculated by the life calculation unit 53 to the outside (for example, the control unit MC) via the communication unit 3 .

図6は、第2実施形態に係るエンコーダ装置の回路構成を示す図である。本実施形態において、エンコーダ装置ECは、切替部62(第2の切替部)を備える。切替部62は、切替部35と別に設けられる。切替部62の端子62aは、電力供給部31の出力端子(例、電力調整部59の出力端子59b)と接続されている。切替部62の端子62bは、電源部PWと接続される。端子62bと電源部PWとの間には、適宜、電力調整部(例、変圧器)が設けられる。通常状態において、切替部62の端子62bには電源部PWから所定電圧が印加される。切替部62の端子62cは、位置検出部1へ電力を供給する経路と接続されている。切替部62は、端子62aと端子62cとが導通する状態と、端子62bと端子62cとが導通する状態とを切り替えることができる。 FIG. 6 is a diagram showing the circuit configuration of the encoder device according to the second embodiment. In this embodiment, the encoder device EC includes a switching section 62 (second switching section). The switching section 62 is provided separately from the switching section 35 . A terminal 62a of the switching section 62 is connected to an output terminal of the power supply section 31 (for example, an output terminal 59b of the power adjusting section 59). A terminal 62b of the switching section 62 is connected to the power supply section PW. Between the terminal 62b and the power supply unit PW, a power adjustment unit (eg, transformer) is appropriately provided. In a normal state, a predetermined voltage is applied to the terminal 62b of the switching section 62 from the power supply section PW. A terminal 62 c of the switching section 62 is connected to a path for supplying power to the position detecting section 1 . The switching unit 62 can switch between a state in which the terminals 62a and 62c are electrically connected and a state in which the terminals 62b and 62c are electrically connected.

制御部61は、切替部62に制御信号を供給する。切替部62は、制御部61から供給される制御信号に基づいて、端子62aと端子62cとが導通する状態と、端子62bと端子62cとが導通する状態とを切り替える。例えば、通常状態において、制御部61は、切替部62を制御して端子62bと端子62cとを導通させる。この状態において、電源部PWは、切替部62を介して位置検出部1に電力を供給する。位置検出部1は、電源部PWから供給される電力を用いて、回転体SF(図5参照)の回転位置情報を検出する。 The control section 61 supplies a control signal to the switching section 62 . Based on a control signal supplied from the control unit 61, the switching unit 62 switches between a state in which the terminals 62a and 62c are electrically connected and a state in which the terminals 62b and 62c are electrically connected. For example, in a normal state, the control section 61 controls the switching section 62 to conduct the terminals 62b and 62c. In this state, the power supply unit PW supplies power to the position detection unit 1 via the switching unit 62 . The position detection unit 1 detects rotational position information of the rotating body SF (see FIG. 5) using power supplied from the power supply unit PW.

制御部61は、通常状態からバックアップ状態に切り替える際に、端子62aと端子62cとを導通させる制御信号を切替部62に供給する。切替部62は、制御部61から供給される制御信号に基づいて、端子62aと端子62cとを導通させる。端子62aと端子62cとが導通すると、電力供給部31は、切替部62を介して位置検出部1に電力を供給可能になる。この状態において、電力供給部31は、検出信号に基づいて位置検出部1に電力を供給し、位置検出部1は、電力供給部31から供給される電力を用いて、回転体SF(図5参照)の回転位置情報を検出する。 When switching from the normal state to the backup state, the control section 61 supplies the switching section 62 with a control signal for conducting the terminals 62a and 62c. The switching unit 62 electrically connects the terminals 62a and 62c based on the control signal supplied from the control unit 61 . When the terminals 62 a and 62 c are electrically connected, the power supply section 31 can supply power to the position detection section 1 via the switching section 62 . In this state, the power supply unit 31 supplies power to the position detection unit 1 based on the detection signal, and the position detection unit 1 uses the power supplied from the power supply unit 31 to operate the rotating body SF (FIG. 5). reference) is detected.

制御部61は、バックアップ状態から通常状態に切り替える際に、端子62bと端子62cとを導通させる制御信号を切替部62に供給する。例えば、制御部61は、図5に示した駆動装置MTRが起動された際に電源部PWから電力の供給を受けて、切替部62に制御信号を供給する。制御部61は、例えば、電源部PWから電力の供給が開始されてから短時間のうちに、切替部62に制御信号を供給する。切替部62は、制御部61から供給される制御信号に基づいて、端子62bと端子62cとを導通させる。端子62bと端子62cとが導通すると、電源部PWは、位置検出部1に電力を供給する。なお、切替部62は、第1実施形態で説明したように、電源部PWから供給さえる電力によって動作する磁気スイッチを含んでもよい。この場合、制御部61は、切替部62を制御しなくてもよい。 When switching from the backup state to the normal state, the control section 61 supplies the switching section 62 with a control signal for conducting the terminals 62b and 62c. For example, the control unit 61 receives power supply from the power supply unit PW when the driving device MTR shown in FIG. 5 is activated, and supplies a control signal to the switching unit 62 . For example, the control unit 61 supplies a control signal to the switching unit 62 within a short period of time after power supply from the power supply unit PW is started. The switching unit 62 electrically connects the terminals 62b and 62c based on the control signal supplied from the control unit 61 . When the terminal 62b and the terminal 62c are electrically connected, the power supply unit PW supplies power to the position detection unit 1. FIG. Note that the switching unit 62 may include a magnetic switch operated by power supplied from the power supply unit PW, as described in the first embodiment. In this case, the control section 61 does not have to control the switching section 62 .

本実施形態に係るエンコーダ装置ECは、切替部63を備える。切替部63は、例えば、信号発生部33で発生する検出信号を有効とするか否かを切替可能である。切替部63は、例えば、検出信号が立ち上がった際に切替部51のスイッチング素子56の端子56aと端子56bとを導通させるか否かを、切替可能である。切替部63は、例えば、検出信号が立ち上がった際に切替部35のスイッチング素子58の端子58aと端子58bとを導通させるか否かを、切替可能である。 The encoder device EC according to this embodiment includes a switching unit 63 . The switching unit 63 can, for example, switch whether to validate the detection signal generated by the signal generating unit 33 . The switching section 63 can switch, for example, whether or not to conduct the terminals 56a and 56b of the switching element 56 of the switching section 51 when the detection signal rises. The switching section 63 can switch, for example, whether or not the terminals 58a and 58b of the switching element 58 of the switching section 35 are brought into conduction when the detection signal rises.

切替部63は、スイッチング素子64を含む。スイッチング素子64の端子64a(例、ソース電極)は、配線PLのノードN1と抵抗55との間のノードN3に接続されている。スイッチング素子64の端子64b(例、ドレイン電極)は、回路の基準電位になる接地端子と接続されている。スイッチング素子64の端子64c(例、ゲート電極)は、制御部61と接続されている。 The switching section 63 includes a switching element 64 . A terminal 64 a (eg, source electrode) of the switching element 64 is connected to a node N 3 between the node N 1 of the line PL and the resistor 55 . A terminal 64b (for example, a drain electrode) of the switching element 64 is connected to a ground terminal serving as a reference potential of the circuit. A terminal 64 c (eg, gate electrode) of the switching element 64 is connected to the control section 61 .

切替部63は、制御部61から制御信号が供給されると、スイッチング素子64の端子64cに所定電圧が印加され、端子64aと端子64bとの間(例、チャネル領域)が導通する。端子64aと端子64bとの間が導通する状態において、信号発生部33の検出信号が立ち上がった場合、検出信号の電流は、スイッチング素子64を介して回路の接地端子へ流れる。この場合、スイッチング素子56の端子56cは、電位が閾値未満である状態に保持され、スイッチング素子56の端子56aと端子56bとの間が導通しない状態に保持される。この場合、例えば、切替部51に対する検出信号の入力が無効になる。同様に、スイッチング素子58の端子58cは、電位が閾値未満である状態に保持され、スイッチング素子58の端子58aと端子58bとの間が導通しない状態に保持される。この場合、例えば、切替部35に対する検出信号の入力が無効になる。 When a control signal is supplied from the control unit 61, the switching unit 63 applies a predetermined voltage to the terminal 64c of the switching element 64, and conducts between the terminals 64a and 64b (eg, channel region). When the detection signal from the signal generator 33 rises while the terminals 64a and 64b are electrically connected, the current of the detection signal flows through the switching element 64 to the ground terminal of the circuit. In this case, the potential of the terminal 56c of the switching element 56 is kept below the threshold, and the terminals 56a and 56b of the switching element 56 are kept in a non-conducting state. In this case, for example, the input of the detection signal to the switching unit 51 is disabled. Similarly, the terminal 58c of the switching element 58 is kept at a potential less than the threshold, and the terminals 58a and 58b of the switching element 58 are kept in a non-conducting state. In this case, for example, the input of the detection signal to the switching unit 35 is disabled.

本実施形態において、切替部51は、スイッチング素子65を備える。スイッチング素子65は、電力供給部31から状態検出部52へ電力を供給する経路に設けられる。スイッチング素子65の端子65a(例、ソース電極)は、バッテリー36の電極(例、正極または負極)と接続されている。スイッチング素子65の端子65b(例、ドレイン電極)は、状態検出部52(例、電力検出部57の入力端子57a)に接続されている。スイッチング素子65の端子65c(例、ゲート電極)は、制御部61と接続されている。スイッチング素子65の端子65cには、制御部61から供給される制御信号によって電圧が印加される。 In this embodiment, the switching section 51 includes a switching element 65 . The switching element 65 is provided on a path for supplying power from the power supply unit 31 to the state detection unit 52 . A terminal 65a (eg, source electrode) of the switching element 65 is connected to an electrode (eg, positive electrode or negative electrode) of the battery 36 . A terminal 65b (eg, drain electrode) of the switching element 65 is connected to the state detection section 52 (eg, an input terminal 57a of the power detection section 57). A terminal 65 c (eg, gate electrode) of the switching element 65 is connected to the control section 61 . A voltage is applied to a terminal 65 c of the switching element 65 by a control signal supplied from the control section 61 .

スイッチング素子65は、端子65cに所定電圧が印加されると、端子65aと端子65bとの間(例、チャネル領域)が導通する状態になる。端子65aと端子65bとの間が導通する状態になると、バッテリー36は、スイッチング素子65を介して電力検出部57に電力を供給する。電力検出部57は、バッテリー36から供給される電力を用いて、バッテリー36の状態を検出する。制御部61は、端子65aと端子65bとの間を導通する状態にさせる制御信号をスイッチング素子65に供給することによって、電力検出部57に検出動作を実行させる。制御部61は、スイッチング素子65に制御信号を供給するタイミングによって、電力検出部57がバッテリー36の状態を検出するタイミングを制御可能である。 When a predetermined voltage is applied to the terminal 65c of the switching element 65, the terminal 65a and the terminal 65b (for example, the channel region) become conductive. When the terminals 65 a and 65 b are electrically connected, the battery 36 supplies power to the power detection section 57 via the switching element 65 . The power detection unit 57 detects the state of the battery 36 using power supplied from the battery 36 . The control unit 61 supplies the switching element 65 with a control signal that causes the terminals 65a and 65b to be electrically connected, thereby causing the power detection unit 57 to perform the detection operation. The control unit 61 can control the timing at which the power detection unit 57 detects the state of the battery 36 by the timing at which the control signal is supplied to the switching element 65 .

図7は、第2実施形態に係るエンコーダ装置の通常状態における動作を示すタイミングチャートである。図8は、第2実施形態に係るエンコーダ装置のバックアップ状態における動作を示すタイミングチャートである。図7および図8において、「電源切替スイッチ」は、図6の切替部62に相当する。「P1」は、切替部62の端子62aが端子62cと導通する状態を表す。例えば、「電源切替スイッチ」が「P1」である場合、バッテリー36は、位置検出部1へ電力を供給可能である。また、「P2」は、切替部62の端子62bが端子62cと導通する状態を表す。例えば、「電源切替スイッチ」が「P2」である場合、電源部PWは、位置検出部1へ電力を供給する。 FIG. 7 is a timing chart showing operations in a normal state of the encoder device according to the second embodiment. FIG. 8 is a timing chart showing the operation in the backup state of the encoder device according to the second embodiment. 7 and 8, the "power switch" corresponds to the switching section 62 in FIG. "P1" represents a state in which the terminal 62a of the switching section 62 is electrically connected to the terminal 62c. For example, when the “power switch” is “P1”, the battery 36 can supply power to the position detection section 1 . "P2" represents a state in which the terminal 62b of the switching section 62 is electrically connected to the terminal 62c. For example, when the “power switch” is “P2”, the power supply unit PW supplies electric power to the position detection unit 1 .

「第1スイッチ」は、図6の切替部35に相当する。「第1スイッチ」の「ON」は、スイッチング素子58の端子58aと端子58bとの間が導通する状態であることを表す。「第1スイッチ」の「OFF」は、スイッチング素子58の端子58aと端子58bとの間が導通しない状態であることを表す。「第1スイッチ」が「ON」であり、かつ「「電源切替スイッチ」が「P1」である場合、バッテリー36は、切替部35を介して位置検出部1に電力を供給する。 A "first switch" corresponds to the switching unit 35 in FIG. "ON" of the "first switch" indicates that the terminal 58a and the terminal 58b of the switching element 58 are in a conductive state. "OFF" of the "first switch" indicates that the terminals 58a and 58b of the switching element 58 are not electrically connected. When the “first switch” is “ON” and the “power switch” is “P1”, the battery 36 supplies power to the position detection unit 1 via the switching unit 35 .

「第2スイッチ」および「第3スイッチ」は、図6の切替部51に相当する。「第2スイッチ」の「ON」は、スイッチング素子56の端子56aと端子56bとの間が導通する状態であることを表す。第2スイッチ」の「OFF」は、スイッチング素子56の端子56aと端子56bとの間が導通しない状態であることを表す。「第2スイッチ」が「ON」である場合、バッテリー36は、スイッチング素子56を介して電力を電力検出部57に供給する。 "Second switch" and "third switch" correspond to the switching unit 51 in FIG. "ON" of the "second switch" indicates that the terminal 56a and the terminal 56b of the switching element 56 are in a conductive state. "OFF" of "second switch" indicates that the terminal 56a and the terminal 56b of the switching element 56 are not electrically connected. When the “second switch” is “ON”, the battery 36 supplies power to the power detector 57 via the switching element 56 .

「第3スイッチ」の「ON」は、スイッチング素子65の端子65aと端子65bとの間が導通する状態であることを表す。「第3スイッチ」の「OFF」は、スイッチング素子65の端子65aと端子65bとの間が導通しない状態であることを表す。「第3スイッチ」が「ON」である場合、バッテリー36は、スイッチング素子65を介して電力を電力検出部57に供給する。 "ON" of the "third switch" indicates that the terminals 65a and 65b of the switching element 65 are electrically connected. "OFF" of the "third switch" indicates that the terminals 65a and 65b of the switching element 65 are not electrically connected. When the “third switch” is “ON”, the battery 36 supplies power to the power detector 57 via the switching element 65 .

まず、図6および図7を参照して、通常状態におけるエンコーダ装置ECの動作について説明する。制御部61は切替部62に制御信号を供給し、切替部62は、時刻T1において、バックアップ状態(「電源切替スイッチ」が「P1」)から通常状態(「電源切替スイッチ」が「P2」)へ切り替える。また、制御部61は、切替部63に制御信号を供給し、切替部63は、切替部51および切替部35のそれぞれに対する検出信号の入力が有効である状態(「信号発生部スイッチ)が「ON」)から無効である状態(「信号発生部スイッチ)が「OFF」)へ切り替える。 First, the operation of the encoder device EC in the normal state will be described with reference to FIGS. 6 and 7. FIG. The control unit 61 supplies a control signal to the switching unit 62, and the switching unit 62 switches from the backup state (the "power switch" is "P1") to the normal state (the "power switch" is "P2") at time T1. switch to Further, the control unit 61 supplies a control signal to the switching unit 63, and the switching unit 63 sets the state in which the input of the detection signal to each of the switching unit 51 and the switching unit 35 is valid ("signal generating unit switch)" ON") to an invalid state ("signal generator switch" is "OFF").

「信号発生部スイッチ」が「OFF」の状態において、検出信号が立ち上がった場合(「信号発生部出力」が「H」)、検出信号の電流は、切替部63を介して回路の接地端子へ流れる。この場合、スイッチング素子58の端子58cは、電位が閾値未満である状態を維持し、「第1スイッチ」が「OFF」の状態が維持される。「第1スイッチ」が「OFF」である場合、スイッチング素子58を介してバッテリー36から位置検出部1へ電力を供給する経路(例、供給線)は遮断されており、バッテリー36は、位置検出部1へ電力を供給しない。 When the "signal generator switch" is "OFF" and the detection signal rises ("signal generator output" is "H"), the current of the detection signal is sent to the ground terminal of the circuit via the switching unit 63. flow. In this case, the terminal 58c of the switching element 58 maintains the state in which the potential is less than the threshold, and the "first switch" is maintained in the "OFF" state. When the "first switch" is "OFF", the path (e.g., supply line) for supplying power from the battery 36 to the position detection unit 1 via the switching element 58 is cut off, and the battery 36 is used for position detection. Power is not supplied to part 1.

スイッチング素子56についても同様に、スイッチング素子56の端子56cは、電位が閾値未満である状態を維持し、「第2スイッチ」が「OFF」の状態が維持される。「第2スイッチ」が「OFF」である場合、スイッチング素子58を介してバッテリー36から位置検出部1へ電力を供給する経路は遮断されている。 Similarly for the switching element 56, the terminal 56c of the switching element 56 maintains the state where the potential is less than the threshold, and the "second switch" maintains the "OFF" state. When the “second switch” is “OFF”, the path for supplying power from the battery 36 to the position detection section 1 via the switching element 58 is cut off.

制御部61は、切替部51のスイッチング素子65に制御信号を供給し、スイッチング素子65の端子65cには所定電圧が印加される。これにより、スイッチング素子65は端子65aと端子65bとの間が導通する状態となる(「第3スイッチ」が「ON」)。「第3スイッチ」が「ON」である状態において、バッテリー36は、スイッチング素子65を介して電力検出部57に電力を供給する(「電力検出部入力」が「H」)。電力検出部57は、バッテリー36から供給された電力を用いて、バッテリー36の状態を検出する(「電力検出部検出動作」が「ON」)。 The control section 61 supplies a control signal to the switching element 65 of the switching section 51 , and a predetermined voltage is applied to the terminal 65 c of the switching element 65 . As a result, the switching element 65 becomes conductive between the terminals 65a and 65b (the "third switch" is "ON"). When the "third switch" is "ON", the battery 36 supplies power to the power detector 57 via the switching element 65 ("power detector input" is "H"). The power detection unit 57 uses the power supplied from the battery 36 to detect the state of the battery 36 (“Power detection unit detection operation” is “ON”).

次に、図6および図8を参照して、バックアップ状態におけるエンコーダ装置ECの動作について説明する。制御部61は切替部62を制御し、切替部62は、時刻T2において、通常状態(「電源切替スイッチ」が「P2」)からバックアップ状態(「電源切替スイッチ」が「P1」)へ切り替える。また、制御部61は、切替部63を制御し、切替部63は、切替部51および切替部35のそれぞれに対する検出信号の入力が無効である状態(「信号発生部スイッチ)が「OFF」)から有効である状態(「信号発生部スイッチ)が「ON」)へ切り替える。 Next, the operation of the encoder device EC in the backup state will be described with reference to FIGS. 6 and 8. FIG. The control unit 61 controls the switching unit 62, and the switching unit 62 switches from the normal state (the "power switch" is "P2") to the backup state (the "power switch" is "P1") at time T2. Further, the control unit 61 controls the switching unit 63, and the switching unit 63 is in a state where the input of the detection signal to each of the switching unit 51 and the switching unit 35 is disabled (“signal generating unit switch” is “OFF”). to a valid state (the "signal generator switch" is "ON").

「信号発生部スイッチ」が「ON」である場合、図4と同様に、検出信号が立ち上がるたびに(「信号発生部出力」が「H」)、バッテリー36は、位置検出部1に電力を供給する(「電力調整部出力」が「H」)。位置検出部1は、バッテリー36から供給される電力を用いて、回転位置情報を検出する(「位置検出部検出動作」が「ON」)。また、「信号発生部スイッチ」が「ON」である場合、検出信号が立ち上がるたびに、バッテリー36は、スイッチング素子56を介して電力検出部57に電力を供給する(「電力検出部入力」が「H」)。電力検出部57は、バッテリー36から供給される電力を用いて、バッテリー36の状態を検出する(「電力検出部検出動作」が「ON」)。 When the "signal generator switch" is "ON", the battery 36 supplies electric power to the position detector 1 each time the detection signal rises ("signal generator output" is "H") as in FIG. supply ("power adjustment unit output" is "H"). The position detection unit 1 detects rotational position information using power supplied from the battery 36 (“position detection unit detection operation” is “ON”). Further, when the "signal generator switch" is "ON", the battery 36 supplies power to the power detector 57 via the switching element 56 each time the detection signal rises (when the "power detector input" is "H"). The power detection unit 57 uses the power supplied from the battery 36 to detect the state of the battery 36 (“Power detection unit detection operation” is “ON”).

制御部61は、例えば、電源部PWから供給される電力を用いて、エンコーダ装置ECの各部を制御する。制御部61は、例えば、バックアップ状態において切替部51のスイッチング素子65を制御しない。スイッチング素子65は、バックアップ状態において、端子65aと端子65bとの間が遮断された状態を維持する(「第3スイッチ」が「OFF」)。なお、電力供給部31は、制御部61に電力を供給してもよい。例えば、制御部61は、電力供給部31から供給される電力を用いて、エンコーダ装置ECの少なくとも一部を制御してもよい。 The control unit 61 controls each unit of the encoder device EC using, for example, power supplied from the power supply unit PW. For example, the control unit 61 does not control the switching element 65 of the switching unit 51 in the backup state. In the backup state, the switching element 65 maintains a state in which the connection between the terminal 65a and the terminal 65b is disconnected (the "third switch" is "OFF"). Note that the power supply unit 31 may supply power to the control unit 61 . For example, the control unit 61 may use power supplied from the power supply unit 31 to control at least part of the encoder device EC.

制御部61が状態検出部52(例、電力検出部57)に検出動作を実行させるタイミングは、任意に設定される。制御部61は、スイッチング素子65の端子65cに所定電圧を印加するタイミング(例、切替動作を実行させるタイミング)によって、バッテリー36からスイッチング素子65を介して電力検出部57へ電力を供給するタイミングを制御可能である。バッテリー36からスイッチング素子65を介して電力検出部57へ電力を供給するタイミングは任意に設定される。 The timing at which the control unit 61 causes the state detection unit 52 (for example, the power detection unit 57) to perform the detection operation is arbitrarily set. The control unit 61 determines the timing of supplying power from the battery 36 to the power detection unit 57 via the switching element 65 by the timing of applying a predetermined voltage to the terminal 65c of the switching element 65 (for example, the timing of executing the switching operation). Controllable. The timing of supplying power from the battery 36 to the power detection unit 57 via the switching element 65 is arbitrarily set.

制御部61は、位置検出部1の検出結果に基づいて、状態検出部52に検出動作を実行させてもよい。例えば、制御部61は、回転体SFが予め設定された角度(例、360°、10回転)だけ回転したことを位置検出部1が検出した場合に、スイッチング素子65を制御して、電力検出部57にバッテリー36の状態を検出させてもよい。また、制御部61は、位置検出部1が予め定められた回数(例、100回、1000回)だけ検出動作を実行するたびに、状態検出部52に検出動作を実行させてもよい。また、制御部61は、所定の周期(例、1分、1時間、1日)で、状態検出部52に検出動作を実行させてもよい。 The control unit 61 may cause the state detection unit 52 to perform the detection operation based on the detection result of the position detection unit 1 . For example, when the position detection unit 1 detects that the rotating body SF has rotated by a preset angle (eg, 360°, 10 rotations), the control unit 61 controls the switching element 65 to detect power. The unit 57 may detect the state of the battery 36 . Further, the control unit 61 may cause the state detection unit 52 to perform the detection operation each time the position detection unit 1 performs the detection operation a predetermined number of times (eg, 100 times, 1000 times). Further, the control unit 61 may cause the state detection unit 52 to perform the detection operation at predetermined intervals (eg, 1 minute, 1 hour, 1 day).

通常状態における状態検出部52の検出動作の頻度は、バックアップ状態における状態検出部52の検出動作の頻度よりも低く設定されてもよい。例えば、図8(バックアップ状態)において、電力検出部57は、回転体SFが1回転する間に、検出動作を4回実行する。制御部61は、例えば図7に示すように、回転体SFが1回転する間に電力検出部57による検出動作を、バックアップ状態よりも低頻度で(例、1回)実行させてもよい。通常状態における状態検出部52の検出動作の頻度は、予め設定される固定値でもよい。例えば、通常状態における状態検出部52の検出動作の回数は、固定値の1回に設定されてもよいし、固定値の2回以上に設定されてもよい。 The frequency of the detection operation of the state detection unit 52 in the normal state may be set lower than the frequency of the detection operation of the state detection unit 52 in the backup state. For example, in FIG. 8 (backup state), the power detection unit 57 performs the detection operation four times while the rotating body SF rotates once. For example, as shown in FIG. 7, the control unit 61 may cause the power detection unit 57 to perform the detection operation less frequently than in the backup state (for example, once) during one rotation of the rotating body SF. The frequency of the detection operation of the state detection unit 52 in the normal state may be a preset fixed value. For example, the number of detection operations of the state detection unit 52 in the normal state may be set to a fixed value of one, or may be set to a fixed value of two or more.

通常状態における状態検出部52の検出動作の頻度は、ユーザの使用環境などによって変えられるように、可変値でもよい。例えば、制御部61は、状態検出部52の検出結果と寿命算出部53の算出結果(寿命情報)との一方または双方に基づいて、通常状態における状態検出部52の検出動作の頻度を設定してもよい。例えば、制御部61は、状態検出部52の検出結果から推定されるバッテリー36の残量が第1残量である場合に、通常状態における状態検出部52の検出動作の頻度を第1頻度に設定する。制御部61は、状態検出部52の検出結果から推定されるバッテリー36の残量が第1残量よりも少ない第2残量である場合に、通常状態における状態検出部52の検出動作の頻度を第1頻度よりも高頻度の第2頻度又は低頻度の第3頻度に設定してもよい。 The frequency of the detection operation of the state detection unit 52 in the normal state may be a variable value so that it can be changed depending on the usage environment of the user. For example, the control unit 61 sets the frequency of the detection operation of the state detection unit 52 in the normal state based on one or both of the detection result of the state detection unit 52 and the calculation result (life information) of the life calculation unit 53. may For example, when the remaining amount of the battery 36 estimated from the detection result of the state detection unit 52 is the first remaining amount, the control unit 61 sets the frequency of the detection operation of the state detection unit 52 in the normal state to the first frequency. set. When the remaining amount of the battery 36 estimated from the detection result of the state detecting unit 52 is a second remaining amount that is smaller than the first remaining amount, the control unit 61 controls the frequency of the detection operation of the state detecting unit 52 in the normal state. may be set to a second frequency that is higher than the first frequency or a third frequency that is lower than the first frequency.

制御部61は、通常状態において、電源部PWからエンコーダ装置ECへの電力供給が停止されることを予告する予告情報に基づいて、状態検出部52による検出動作を実行させてもよい。例えば、制御部MCは、上記予告情報として、駆動装置MTRを休止(例、シャットダウン)することを表す情報をエンコーダ装置ECの制御部61に供給してもよい。制御部61は、駆動装置MTRから上記予告情報を受けたことをトリガーとして、状態検出部52に検出動作を実行させ、状態検出部52の検出結果と寿命算出部53が算出した寿命情報との一方または双方を、外部(例、制御部MC)に出力してもよい。制御部61は、通常状態からバックアップ状態へ切り替えられる際に、状態検出部52に検出動作を実行させ、状態検出部52の検出結果と寿命算出部53が算出した寿命情報との一方または双方を、外部(例、制御部MC)に出力してもよい。 In the normal state, the control unit 61 may cause the state detection unit 52 to perform the detection operation based on advance notice information that the power supply from the power supply unit PW to the encoder device EC will be stopped. For example, the control unit MC may supply, as the notice information, information indicating that the driving device MTR is to be suspended (for example, shut down) to the control unit 61 of the encoder device EC. Control unit 61 causes state detection unit 52 to perform a detection operation using the reception of the advance notice information from drive device MTR as a trigger, and compares the detection result of state detection unit 52 with the life information calculated by life calculation unit 53 . One or both of them may be output to the outside (for example, control unit MC). When the normal state is switched to the backup state, the control unit 61 causes the state detection unit 52 to perform a detection operation, and calculates one or both of the detection result of the state detection unit 52 and the life information calculated by the life calculation unit 53. , may be output to the outside (eg, control unit MC).

また、制御部61は、外部(例、制御部MC、エンコーダ装置ECを検査する検査装置、メンテナンス装置)から指令(例、状態検出指令)を受けて、状態検出部52に検出動作を実行させてもよい。また、制御部61は、外部(例、制御部MC、検査装置、メンテナンス装置)から指令(例、状態出力指令)を受けて、状態検出部52の検出結果と寿命算出部53の算出結果との一方または双方を、外部へ出力してもよい。 Further, the control unit 61 receives a command (eg, state detection command) from the outside (eg, the control unit MC, an inspection device for inspecting the encoder device EC, a maintenance device), and causes the state detection unit 52 to perform the detection operation. may Further, the control unit 61 receives a command (eg, state output command) from the outside (eg, control unit MC, inspection device, maintenance device), and compares the detection result of the state detection unit 52 and the calculation result of the life calculation unit 53. One or both of may be output to the outside.

制御部61は、切替部63を制御することによって、状態検出部52に検出動作を実行させてもよい。例えば、制御部61は、切替部63を制御することによって、通常状態において間欠的(断続的、一時的)に、信号発生部33の検出信号を有効に設定してもよい。例えば、通常状態において検出信号が有効に設定された状態において、バッテリー36は、検出信号に基づいて切替部51を介して電力を状態検出部52(例、電力検出部57)に供給してもよい。例えば、通常状態において検出信号が有効に設定された状態において、状態検出部52は、バッテリー36から供給される電力を用いてバッテリー36の状態を検出してもよい。エンコーダ装置ECは、切替部63の制御によって状態検出部52に検出動作を実行させる場合、スイッチング素子56を備えなくてもよい。また、切替部63は、信号発生部33と整流部34との間に設けられてもよい。例えば、切替部63は、検出信号が伝わる回路を遮断する(開く)ことで、検出信号の発生の有無を切り替えてもよい。 The control unit 61 may cause the state detection unit 52 to perform the detection operation by controlling the switching unit 63 . For example, the control unit 61 may intermittently (intermittently, temporarily) set the detection signal of the signal generating unit 33 to valid in the normal state by controlling the switching unit 63 . For example, even if the battery 36 supplies power to the state detection unit 52 (eg, the power detection unit 57) through the switching unit 51 based on the detection signal when the detection signal is set to be valid in the normal state. good. For example, the state detector 52 may detect the state of the battery 36 using power supplied from the battery 36 when the detection signal is set to be valid in the normal state. The encoder device EC does not need to include the switching element 56 when the switching unit 63 controls the state detection unit 52 to perform the detection operation. Also, the switching section 63 may be provided between the signal generating section 33 and the rectifying section 34 . For example, the switching unit 63 may switch whether or not the detection signal is generated by interrupting (opening) a circuit through which the detection signal is transmitted.

[第3実施形態]
次に、第3実施形態について説明する。本実施形態において、上述の実施形態と同様の構成については、同じ符号を付してその説明を省略あるいは簡略化する。図9は、第3実施形態に係るエンコーダ装置を示す図である。本実施形態に係るエンコーダ装置ECは、タイミング調整部68を備える。
[Third embodiment]
Next, a third embodiment will be described. In this embodiment, the same reference numerals are given to the same configurations as those of the above-described embodiment, and the description thereof will be omitted or simplified. FIG. 9 is a diagram showing an encoder device according to the third embodiment. The encoder device EC according to this embodiment includes a timing adjustment section 68 .

タイミング調整部68は、位置検出部1が移動部(例、回転体SF)の位置情報を検出するタイミングと、状態検出部52が電力供給部31の状態を検出するタイミングとを相対的に調整する。タイミング調整部68は、例えば、信号発生部33と切替部51との間に配置される。例えば、タイミング調整部68は、整流部34と切替部51との間に配置される。タイミング調整部68は、例えば、遅延回路を含む。例えば、切替部51には、切替部35よりも遅れて検出信号が入力される。例えば、切替部51は、切替部35が検出信号に基づいて回路を遮断から導通へ切り替えた後に、回路を遮断から導通へ切り替える。 The timing adjustment unit 68 relatively adjusts the timing at which the position detection unit 1 detects the position information of the moving unit (for example, the rotating body SF) and the timing at which the state detection unit 52 detects the state of the power supply unit 31. do. The timing adjusting section 68 is arranged, for example, between the signal generating section 33 and the switching section 51 . For example, the timing adjusting section 68 is arranged between the rectifying section 34 and the switching section 51 . The timing adjustment section 68 includes, for example, a delay circuit. For example, the detection signal is input to the switching section 51 later than the switching section 35 . For example, the switching unit 51 switches the circuit from interruption to conduction after the switching unit 35 switches the circuit from interruption to conduction based on the detection signal.

図10は、第3実施形態に係るエンコーダ装置の動作を示すタイミングチャートである。検出信号が立ち上がると(「信号発生部出力」が「H」)、バッテリー36は、切替部35を介して位置検出部1に電力を供給する(「電力調整部出力」が「H」。位置検出部1は、バッテリー36から供給される電力が安定すると、回転位置情報を検出する(「位置検出部検出動作」が「ON」)。 FIG. 10 is a timing chart showing the operation of the encoder device according to the third embodiment. When the detection signal rises ("signal generator output" is "H"), the battery 36 supplies power to the position detector 1 via the switching unit 35 ("power adjuster output" is "H". When the electric power supplied from the battery 36 stabilizes, the detection unit 1 detects the rotational position information (“position detection unit detection operation” is “ON”).

状態検出部52(例、電力検出部57)には、位置検出部1よりも遅れてバッテリー36から電力が供給される。状態検出部52は、位置検出部1が回転位置情報の検出動作を開始した後に、バッテリー36の状態を検出する検出動作を開始する(「電力検出部検出動作」が「ON」)。例えば、電力検出部57は、位置検出部1が回転位置情報の検出動作を終了した後に、バッテリー36の状態の検出動作を開始する。電力検出部57は、例えば、位置検出部1に所定電圧の電力が供給されている間に、バッテリー36の状態の検出動作を完了する。電力検出部57は、その検出結果を、位置検出部1に所定電圧の電力が供給されている間に、記憶部24に記憶させる。タイミング調整部68は、例えば、位置検出部1の検出動作が完了してから位置検出部1に対する電力の供給が終了するまでの間に状態検出部52の検出動作および検出結果の記憶が完了するように、切替部51の切替動作と切替部35の切替動作との相対的なタイミングを調整する。 Power is supplied from the battery 36 to the state detection unit 52 (for example, the power detection unit 57 ) with a delay from the position detection unit 1 . The state detection unit 52 starts the detection operation for detecting the state of the battery 36 after the position detection unit 1 starts detection operation of the rotational position information (“Power detection unit detection operation” is “ON”). For example, the power detection unit 57 starts detecting the state of the battery 36 after the position detection unit 1 finishes detecting the rotational position information. The power detection unit 57 completes the operation of detecting the state of the battery 36 while power of a predetermined voltage is being supplied to the position detection unit 1, for example. The power detection unit 57 stores the detection result in the storage unit 24 while power of a predetermined voltage is being supplied to the position detection unit 1 . For example, the timing adjustment unit 68 completes the detection operation of the state detection unit 52 and the storage of the detection result during the period from the completion of the detection operation of the position detection unit 1 to the end of power supply to the position detection unit 1. , the relative timing between the switching operation of the switching unit 51 and the switching operation of the switching unit 35 is adjusted.

バッテリー36の出力電圧は、例えば、位置検出部1が検出動作中であることによって低下することがある。電力検出部57は、位置検出部1の検出動作と重複しない期間にバッテリー36の状態を検出する場合、例えば、位置検出部1の検出動作によってバッテリー36の状態が変化している期間を避けて、バッテリー36の状態を検出することができる。位置検出部1は、状態検出部52の検出動作よりも前に回転位置情報を検出する場合、例えば、電力の供給が終了するまでに検出動作の完了が間に合わないことを避けることができる。 The output voltage of the battery 36 may drop due to, for example, the detection operation of the position detector 1 . When detecting the state of the battery 36 during a period that does not overlap with the detection operation of the position detection unit 1, the power detection unit 57 avoids a period in which the state of the battery 36 changes due to the detection operation of the position detection unit 1, for example. , the state of the battery 36 can be detected. When the position detection unit 1 detects the rotational position information before the detection operation of the state detection unit 52, it is possible, for example, to avoid the completion of the detection operation in time for the end of the power supply.

なお、状態検出部52は、位置検出部1が回転位置情報を検出する期間の少なくとも一部と重複する期間に、電力供給部31の状態を検出してもよい。また、状態検出部52は、位置検出部1が回転位置情報の検出を開始する前に、電力供給部31の状態の検出を開始してもよい。例えば、タイミング調整部68は、切替部35に対する検出信号の入力を、切替部51に対する検出信号の入力よりも遅延させてもよい。 The state detection unit 52 may detect the state of the power supply unit 31 during a period that overlaps at least part of the period during which the position detection unit 1 detects the rotational position information. Moreover, the state detection unit 52 may start detecting the state of the power supply unit 31 before the position detection unit 1 starts detecting the rotational position information. For example, the timing adjustment section 68 may delay the input of the detection signal to the switching section 35 after the input of the detection signal to the switching section 51 .

また、状態検出部52は、その検出結果を記憶部24と異なる記憶部(第2の記憶部)に記憶させる場合、バッテリー36が位置検出部1へ電力の供給を停止した後に、電力供給部31の状態の検出を終了してもよい。例えば、バッテリー36は、切替部35を介して第2の記憶部に電力を供給し、状態検出部52は、バッテリー36から第2の記憶部に電力が供給されている間に、バッテリー36の状態を検出した検出結果を第2の記憶部に記憶させてもよい。 Further, when the state detection unit 52 stores the detection result in a storage unit (second storage unit) different from the storage unit 24, after the battery 36 stops supplying power to the position detection unit 1, the power supply unit 31 state detection may be terminated. For example, the battery 36 supplies power to the second storage unit via the switching unit 35, and the state detection unit 52 detects the power of the battery 36 while power is being supplied from the battery 36 to the second storage unit. A detection result obtained by detecting the state may be stored in the second storage unit.

[第4実施形態]
次に、第4実施形態について説明する。本実施形態において、上述の実施形態と同様の構成については、同じ符号を付してその説明を省略あるいは簡略化する。図11は、第4実施形態に係るエンコーダ装置を示す図である。本実施形態において、切替部51は、図1等に示した切替部35を兼ねている。
[Fourth embodiment]
Next, a fourth embodiment will be described. In this embodiment, the same reference numerals are given to the same configurations as those of the above-described embodiment, and the description thereof will be omitted or simplified. FIG. 11 is a diagram showing an encoder device according to the fourth embodiment. In the present embodiment, the switching section 51 also serves as the switching section 35 shown in FIG. 1 and the like.

図12は、第4実施形態に係るエンコーダ装置の回路構成を示す図である。状態検出部52(例、電力検出部57の入力端子57a)は、切替部51と電力調整部59との間のノードN4に接続されている。切替部51が回路を導通する状態へ切り替えると、バッテリー36は、切替部51および電力調整部59を介して、電力を位置検出部1に供給する。また、切替部51が回路を導通する状態へ切り替えると、バッテリー36は、切替部51を介して電力検出部57に電力を供給する。 FIG. 12 is a diagram showing the circuit configuration of an encoder device according to the fourth embodiment. The state detector 52 (for example, the input terminal 57 a of the power detector 57 ) is connected to the node N<b>4 between the switcher 51 and the power adjuster 59 . When the switching unit 51 switches the circuit to a conductive state, the battery 36 supplies power to the position detection unit 1 via the switching unit 51 and the power adjustment unit 59 . Further, when the switching unit 51 switches the circuit to a conductive state, the battery 36 supplies power to the power detection unit 57 via the switching unit 51 .

[第5実施形態]
次に、第5実施形態について説明する。本実施形態において、上述の実施形態と同様の構成については、同じ符号を付してその説明を省略あるいは簡略化する。図13は、第5実施形態に係るエンコーダ装置を示す図である。本実施形態に係るエンコーダ装置ECの制御部61は、信号発生部33における検出信号の発生に基づいて、切替部51を制御する(後述する)。
[Fifth embodiment]
Next, a fifth embodiment will be described. In this embodiment, the same reference numerals are given to the same configurations as those of the above-described embodiment, and the description thereof will be omitted or simplified. FIG. 13 is a diagram showing an encoder device according to the fifth embodiment. The control unit 61 of the encoder device EC according to this embodiment controls the switching unit 51 based on the generation of the detection signal in the signal generation unit 33 (described later).

エンコーダ装置ECは、電源部PWから電力を供給可能であるか否かを検出する検出部71(例、電力検出部、電源検出部)を備える。検出部71は、電源部PWから切替部62へ電力が供給される経路のノードN5に接続される。検出部71は、例えばノードN5の電位を検出する。検出部71は、検出した電位が所定のレベル以上である場合に、電源部PWから切替部62へ電力を供給可能であると判定する。検出部71は、電源部PWから切替部62へ電力を供給可能であると判定した場合、切替部62を制御して、端子62bと端子62cとを導通させる。検出部71は、端子間の導通または遮断を制御する制御信号を切替部62へ供給することによって、切替部62を制御する。端子62bと端子62cとが遮断された状態から導通した状態に切り替えられると、電源部PWは、切替部62を介して位置検出部1へ電力を供給する。このようにして、切替部62は、バックアップ状態から通常状態へ切り替える。 The encoder device EC includes a detection unit 71 (eg, power detection unit, power supply detection unit) that detects whether power can be supplied from the power supply unit PW. Detecting unit 71 is connected to node N<b>5 on the path through which power is supplied from power supply unit PW to switching unit 62 . The detection unit 71 detects, for example, the potential of the node N5. The detection unit 71 determines that power can be supplied from the power supply unit PW to the switching unit 62 when the detected potential is equal to or higher than a predetermined level. When determining that power can be supplied from the power supply unit PW to the switching unit 62, the detecting unit 71 controls the switching unit 62 to conduct the terminals 62b and 62c. The detection unit 71 controls the switching unit 62 by supplying the switching unit 62 with a control signal for controlling conduction or interruption between terminals. When the terminal 62 b and the terminal 62 c are switched from the disconnected state to the conductive state, the power supply unit PW supplies power to the position detection unit 1 via the switching unit 62 . Thus, the switching unit 62 switches from the backup state to the normal state.

検出部71は、検出した電位が所定のレベル以下である場合に、電源部PWから切替部62へ電力を供給不能であると判定する。検出部71は、電源部PWから切替部62へ電力を供給不能であると判定した場合、切替部62を制御して、端子62aと端子62cとを導通させる。検出部71は、端子間の導通または遮断を制御する制御信号を切替部62へ供給することによって、切替部62を制御する。端子62aと端子62cとが遮断された状態から導通した状態に切り替えられると、電力供給部31(例、バッテリー)は、検出信号に基づいて、切替部62を介して位置検出部1へ電力を供給する。このようにして、切替部62は、通常状態からバックアップ状態へ切り替える。なお、切替部62および検出部71は、第1実施形態で説明した電磁スイッチでもよい。 The detection unit 71 determines that power cannot be supplied from the power supply unit PW to the switching unit 62 when the detected potential is equal to or lower than a predetermined level. When determining that power cannot be supplied from the power supply unit PW to the switching unit 62, the detecting unit 71 controls the switching unit 62 to conduct the terminals 62a and 62c. The detection unit 71 controls the switching unit 62 by supplying the switching unit 62 with a control signal for controlling conduction or interruption between terminals. When the terminal 62a and the terminal 62c are switched from the disconnected state to the conductive state, the power supply unit 31 (eg, battery) supplies power to the position detection unit 1 via the switching unit 62 based on the detection signal. supply. Thus, the switching unit 62 switches from the normal state to the backup state. Note that the switching unit 62 and the detecting unit 71 may be the electromagnetic switches described in the first embodiment.

制御部61は、通常状態において、電源部PWから供給される電力を用いて切替部51を制御する。また、制御部61は、バックアップ状態において、電力供給部31(例、バッテリー36)から供給される電力を用いて切替部51を制御する。本実施形態に係るエンコーダ装置ECは、電力供給部31から制御部61へ電力を供給するか否かを切り替える切替部72を備える。切替部72は、電源部PWから制御部61へ電力を供給する状態と、電力供給部31から電力を供給する状態とを切り替える。 The control unit 61 controls the switching unit 51 using power supplied from the power supply unit PW in the normal state. Also, in the backup state, the control unit 61 controls the switching unit 51 using power supplied from the power supply unit 31 (eg, the battery 36). The encoder device EC according to this embodiment includes a switching unit 72 that switches whether to supply power from the power supply unit 31 to the control unit 61 . The switching unit 72 switches between a state in which power is supplied from the power supply unit PW to the control unit 61 and a state in which power is supplied from the power supply unit 31 .

切替部72は、端子72a、端子72b、及び端子72cを備える。端子72aは、バッテリー36の電極と接続される。端子72bは、電源部PWと接続される。端子72cは、制御部61の電源端子61aと接続される。切替部72は、端子72aと端子72cとが導通する状態と、端子72bと端子72cとが導通する状態とを切替可能である。端子72aと端子72cとが導通すると、バッテリー36から制御部61へ電力が供給される。端子72bと端子72cとが導通すると、電源部PWから制御部61へ電力が供給される。 The switching unit 72 includes terminals 72a, 72b, and 72c. Terminal 72 a is connected to an electrode of battery 36 . Terminal 72b is connected to power supply unit PW. The terminal 72 c is connected to the power terminal 61 a of the control section 61 . The switching unit 72 can switch between a state in which the terminals 72a and 72c are electrically connected and a state in which the terminals 72b and 72c are electrically connected. Electric power is supplied from the battery 36 to the control unit 61 when the terminals 72 a and 72 c are electrically connected. Electric power is supplied from the power supply unit PW to the control unit 61 when the terminals 72b and 72c are electrically connected.

エンコーダ装置ECは、電源部PWから電力を供給可能であるか否かを検出する検出部73(例、電力検出部、電源検出部)を備える。検出部73は、電源部PWから切替部72へ電力が供給される経路のノードN6に接続される。検出部73は、例えばノードN6の電位を検出する。検出部73は、検出した電位が所定のレベル以上である場合に、電源部PWから切替部72へ電力を供給可能であると判定する。検出部73は、電源部PWから切替部72へ電力を供給可能であると判定した場合、切替部72を制御して、端子72bと端子72cとを導通させる。検出部73は、端子間の導通または遮断を制御する制御信号を切替部72へ供給することによって、切替部72を制御する。 The encoder device EC includes a detection unit 73 (eg, power detection unit, power supply detection unit) that detects whether power can be supplied from the power supply unit PW. The detection unit 73 is connected to a node N6 on the path through which power is supplied from the power supply unit PW to the switching unit 72 . The detection unit 73 detects, for example, the potential of the node N6. The detection unit 73 determines that power can be supplied from the power supply unit PW to the switching unit 72 when the detected potential is equal to or higher than a predetermined level. When determining that power can be supplied from the power supply unit PW to the switching unit 72, the detecting unit 73 controls the switching unit 72 to conduct the terminals 72b and 72c. The detection unit 73 controls the switching unit 72 by supplying the switching unit 72 with a control signal for controlling conduction or interruption between terminals.

検出部73は、検出した電位が所定のレベル以下である場合に、電源部PWから切替部72へ電力を供給不能であると判定する。検出部73は、電源部PWから切替部72へ電力を供給不能であると判定した場合、切替部72を制御して、端子72aと端子72cとを導通させる。検出部73は、端子間の導通または遮断を制御する制御信号を切替部72へ供給することによって、切替部72を制御する。端子72aと端子72cとが導通する状態に切り替えられると、電力供給部31(例、バッテリー)は、切替部72を介して制御部61へ電力を供給する。なお、切替部72および検出部73は、第1実施形態で説明した電磁スイッチなどでもよい。 The detection unit 73 determines that power cannot be supplied from the power supply unit PW to the switching unit 72 when the detected potential is equal to or lower than a predetermined level. When determining that power cannot be supplied from the power supply unit PW to the switching unit 72, the detecting unit 73 controls the switching unit 72 to conduct the terminals 72a and 72c. The detection unit 73 controls the switching unit 72 by supplying the switching unit 72 with a control signal for controlling conduction or interruption between terminals. When the terminal 72 a and the terminal 72 c are switched to the conductive state, the power supply section 31 (eg, battery) supplies power to the control section 61 via the switching section 72 . Note that the switching unit 72 and the detecting unit 73 may be the electromagnetic switches described in the first embodiment.

制御部61の入力端子61bは、信号発生部33から検出信号が伝わる経路に接続される。入力端子61bは、例えば、配線PLのノードN7に接続される。制御部61の出力端子61cは、切替部51におけるスイッチング素子56の端子56c(例、ゲート電極)に接続される。制御部61は、信号発生部33の検出信号が立ち上がった際に、入力端子61bの電位が所定のレベル以上になることをトリガーとして、出力端子61cから制御信号を切替部51へ供給(出力)する。 An input terminal 61b of the control section 61 is connected to a path through which a detection signal from the signal generating section 33 is transmitted. The input terminal 61b is connected to the node N7 of the wiring PL, for example. An output terminal 61 c of the control section 61 is connected to a terminal 56 c (eg, gate electrode) of the switching element 56 in the switching section 51 . The control unit 61 supplies (outputs) a control signal from the output terminal 61c to the switching unit 51, triggered by the potential of the input terminal 61b exceeding a predetermined level when the detection signal of the signal generation unit 33 rises. do.

制御部61が切替部51へ制御信号を供給すると、電力供給部31(例、バッテリー36)は、切替部51を介して状態検出部52(例、電力検出部57)へ電力を供給する。例えば、切替部51は制御信号に基づいてスイッチング素子56の端子56aと端子56bとの間が導通した状態になり、電力供給部31は状態検出部52へ電力を供給する。状態検出部52は、電力供給部31から供給される電力を用いて、電力供給部31の状態を検出する。なお、制御部61は、状態検出部52を含んでもよい。上記した構成において、通常状態又はバックアップ状態において、制御部61は、電力供給部31から供給される電力を用いて、電力供給部31の状態として、信号発生部33の状態(信号発生部33から検出信号が正常に出力されているかどうかの正常状態又は異常状態)を検出してもよい。例えば、制御部61は、電力供給部31(バッテリー36)から電力が供給されている期間の所定の時間内に入力端子61bに検出信号が入力されない場合、信号発生部33または検出信号が伝わる経路が異常状態であると検出(判定)してもよい。 When the control unit 61 supplies a control signal to the switching unit 51 , the power supply unit 31 (eg, battery 36 ) supplies power to the state detection unit 52 (eg, power detection unit 57 ) via the switching unit 51 . For example, the switching unit 51 brings the switching element 56 into a conductive state between the terminals 56 a and 56 b based on the control signal, and the power supply unit 31 supplies power to the state detection unit 52 . State detection unit 52 detects the state of power supply unit 31 using the power supplied from power supply unit 31 . Note that the control unit 61 may include the state detection unit 52 . In the above-described configuration, in the normal state or the backup state, the control unit 61 uses the power supplied from the power supply unit 31 to set the state of the power supply unit 31 to the state of the signal generation unit 33 (from the signal generation unit 33 A normal state or an abnormal state (whether or not the detection signal is normally output) may be detected. For example, if the detection signal is not input to the input terminal 61b within a predetermined period of time during which power is supplied from the power supply unit 31 (battery 36), the control unit 61 controls the signal generation unit 33 or the path through which the detection signal is transmitted. may be detected (determined) as being in an abnormal state.

なお、制御部61は、入力端子61bの電位が所定のレベル以上となる回数に基づいて、切替部51へ制御信号を供給してもよい。この場合、制御部61は、入力端子61bの電位がハイレベルに立ち上がった回数をカウントし、この回数が所定の値になった際に制御信号を切替部51へ出力してもよい。また、制御部61は、検出信号が所定の回数だけ立ち上がるごとに、切替部51を制御することによって電力供給部31(例、バッテリー36)の状態を状態検出部52(例、電力検出部57)に検出させてもよい。 Note that the control section 61 may supply the control signal to the switching section 51 based on the number of times the potential of the input terminal 61b becomes equal to or higher than a predetermined level. In this case, the control section 61 may count the number of times the potential of the input terminal 61b has risen to a high level, and output the control signal to the switching section 51 when the count reaches a predetermined value. Further, the control unit 61 controls the switching unit 51 every time the detection signal rises a predetermined number of times to detect the state of the power supply unit 31 (eg, battery 36) by the state detection unit 52 (eg, power detection unit 57). ) may be detected.

また、制御部61は、検出信号に基づいて状態検出部52に検出動作を実行させる第1モードと、任意に設定されるタイミングで状態検出部52に検出動作を実行させる第2モードとを切替可能でもよい。例えば、制御部61は、通常状態において、外部(例、駆動装置MTRの制御部MC)から指令を受けた場合に、上記の第1モードと第2モードとを切り替えてもよい。制御部61は、通常状態において、第2モードがデフォルトに設定され、任意に設定されるタイミングで状態検出部52に検出動作を実行させてもよい。そして、制御部61は、外部から指令を受けた場合に、第2モードを第1モードに一時的に変更して、検出信号に基づいて状態検出部52に検出動作を実行させてもよい。 Further, the control unit 61 switches between a first mode in which the state detection unit 52 performs the detection operation based on the detection signal and a second mode in which the state detection unit 52 performs the detection operation at an arbitrarily set timing. It may be possible. For example, the control unit 61 may switch between the first mode and the second mode when receiving a command from the outside (for example, the control unit MC of the driving device MTR) in the normal state. The control unit 61 may set the second mode as the default in the normal state, and cause the state detection unit 52 to perform the detection operation at an arbitrarily set timing. Then, when receiving a command from the outside, the control unit 61 may temporarily change the second mode to the first mode and cause the state detection unit 52 to perform the detection operation based on the detection signal.

なお、電力供給部31は、検出信号に基づいて制御部61へ電力を供給してもよい。例えば、制御部61の電源端子61aは、切替部35の出力端子(例、スイッチング素子58の端子58b)と接続されてもよい。また、制御部61の電源端子61aは、電力調整部59の出力端子59bと接続されてもよい。エンコーダ装置ECは、電力供給部31が検出信号に基づいて制御部61へ電力を供給する場合、切替部72および検出部73を備えなくてもよい。 Note that the power supply unit 31 may supply power to the control unit 61 based on the detection signal. For example, the power terminal 61a of the control section 61 may be connected to the output terminal of the switching section 35 (for example, the terminal 58b of the switching element 58). Also, the power terminal 61 a of the control section 61 may be connected to the output terminal 59 b of the power adjustment section 59 . The encoder device EC does not need to include the switching unit 72 and the detecting unit 73 when the power supply unit 31 supplies power to the control unit 61 based on the detection signal.

なお、エンコーダ装置ECは、電力供給部31から制御部61への電力の供給の有無を切り替えなくてもよい。例えば、制御部61の電源端子61aは、電力供給部31(例、バッテリー36の電極)と常時接続されてもよい。この場合、エンコーダ装置ECは、切替部72および検出部73を備えなくてもよい。また、切替部62および検出部71は、切替部72および検出部73を兼ねていてもよい。例えば、切替部62の端子62cは、制御部61の電源端子61aと接続され、かつ位置検出部1と接続されてもよい。 Note that the encoder device EC does not have to switch whether power is supplied from the power supply unit 31 to the control unit 61 . For example, the power terminal 61a of the control unit 61 may be constantly connected to the power supply unit 31 (eg, electrodes of the battery 36). In this case, the encoder device EC does not need to include the switching section 72 and the detecting section 73 . The switching section 62 and the detecting section 71 may also serve as the switching section 72 and the detecting section 73 . For example, the terminal 62c of the switching section 62 may be connected to the power terminal 61a of the control section 61 and also connected to the position detection section 1 .

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

回転体SFは、負荷側端部SFaと、反負荷側端部SFbとを有している。負荷側端部SFaは、減速機など他の動力伝達機構に接続される。反負荷側端部SFbには、固定部を介してスケールSが固定される。エンコーダ装置ECは、スケールSが回転体SFに固定され、駆動装置MTRの本体部MBに取り付けられる。駆動装置MTRは、エンコーダ装置ECの検出結果を使って、図1などに示した制御部MCが本体部MBを制御する。実施形態に係るエンコーダ装置ECは、安定して動作可能であり、駆動装置MTRも安定して動作可能である。 The rotating body SF has a load-side end SFa and a non-load-side end SFb. The load side end SFa is connected to another power transmission mechanism such as a speed reducer. A scale S is fixed to the anti-load side end portion SFb via a fixing portion. The encoder device EC has a scale S fixed to the rotating body SF and is attached to the main body MB of the driving device MTR. In the driving device MTR, the controller MC shown in FIG. 1 and the like controls the main body MB using the detection result of the encoder device EC. The encoder device EC according to the embodiment can stably operate, and the driving device MTR can also stably operate.

なお、駆動装置MTRは、モータ装置に限定されず、油圧や空圧を利用して回転する軸部を有する他の駆動装置であってもよい。また、駆動装置MTRは、移動部を回転させる装置でなくてもよく、例えば、移動部を直線移動させるリニアモータなどでもよい。 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 or pneumatic pressure. Further, the driving device MTR may not be a device that rotates the moving portion, and may be, for example, a linear motor that linearly moves the moving portion.

[ステージ装置]
次に、実施形態に係るステージ装置について説明する。図15は、実施形態に係るステージ装置を示す図である。以下の説明において、上記した実施形態と同一または同等の構成部分については同一符号を付けて説明を省略または簡略化する。ステージ装置STGは、駆動装置MTRによって移動するステージST(移動物体)を備える。
[Stage device]
Next, a stage device according to an embodiment will be described. FIG. 15 is a diagram showing a stage device according to the embodiment; In the following description, the same reference numerals are given to components that are the same as or equivalent to those of the above-described embodiment, and descriptions thereof are omitted or simplified. The stage device STG includes a stage ST (moving object) that is moved by a driving device MTR.

ステージSTは、駆動装置MTRの回転体SFのうち負荷側端部SFaに取り付けられている。ステージ装置STGは、例えば、1次元のリニアモータによって、ステージを1方向に直線的に移動させる構成でもよい。また、ステージ装置STGは、複数の1次元のリニアモータあるいは2次元のリニアモータ(例、平面モータ)によって、ステージを2方向に移動させる構成でもよい。 The stage ST is attached to the load-side end SFa of the rotating body SF of the driving device MTR. The stage device STG may be configured to linearly move the stage in one direction by, for example, a one-dimensional linear motor. Further, the stage device 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).

ステージ装置STGは、駆動装置MTRを駆動して回転体SFを回転させる。ステージSTは、回転体SFを介して伝達される動力によって回転する。駆動装置MTRの負荷側端部SFaとステージSTとの間には、例えば、減速機等が配置される。エンコーダ装置ECは回転体SFの回転位置情報を検出し、ステージ装置STGは、例えば、エンコーダ装置ECの検出結果に基づいて、ステージSTの角度位置を検出することができる。実施形態に係るエンコーダ装置ECは、安定して動作可能であり、ステージ装置STGも安定して動作可能である。 The stage device STG drives the driving device MTR to rotate the rotating body SF. The stage ST is rotated by power transmitted via the rotating body SF. For example, a reducer or the like is arranged between the load-side end SFa of the drive device MTR and the stage ST. The encoder device EC can detect the rotational position information of the rotating body SF, and the stage device STG can detect the angular position of the stage ST, for example, based on the detection result of the encoder device EC. The encoder device EC according to the embodiment can stably operate, and the stage device STG can also stably operate.

[ロボット装置]
次に、実施形態に係るロボット装置について説明する。図16は、実施形態に係るロボット装置を示す図である。図16には、ロボット装置RBTの一部(関節部分)を示した。以下の説明において、上記した実施形態と同一または同等の構成部分については同一符号を付けて説明を省略装置または簡略化する。
[Robot device]
Next, a robot device according to an embodiment will be described. FIG. 16 is a diagram showing a robot apparatus according to an embodiment; FIG. 16 shows a portion (joint portion) of the robot device RBT. In the following description, the same reference numerals are given to components that are the same as or equivalent to those of the above-described embodiment, and the description is omitted or simplified.

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

駆動装置MTR(図14参照)の回転体SFのうち負荷側端部は、減速機RGに接続されている。減速機RGは、駆動装置MTR(図14参照)の回転体SFの回転を、所定の減速比で減速して回転体SF2に伝達する。また、駆動装置MTR(図14参照)の回転体SFのうち反負荷側端部には、エンコーダ装置ECが取り付けられている。 A load-side end of the rotating body SF of the driving device MTR (see FIG. 14) is connected to the speed reducer RG. The speed reducer RG reduces the rotation of the rotating body SF of the driving device MTR (see FIG. 14) at a predetermined reduction ratio and transmits it to the rotating body SF2. An encoder device EC is attached to the opposite end of the rotating body SF of the driving device MTR (see FIG. 14).

ロボット装置RBTは、駆動装置MTRを駆動して回転体を回転させる。この回転体の回転は、減速機RGを介して回転体SF2に伝達される。回転体SF2の回転により接続部102aが一体的に回転し、第2アームAR2は、第1アームAR1に対して回転する。その際、エンコーダ装置ECは、回転体の回転位置情報を検出する。ロボット装置RBTは、例えば、エンコーダ装置ECの検出結果を用いることによって、第2アームAR2の角度位置を検出することができる。実施形態に係るエンコーダ装置ECは、安定して動作可能であり、ロボット装置RBTも安定して動作可能である。 The robot device RBT drives the driving device MTR to rotate the rotating body. The rotation of this rotating body is transmitted to the rotating body SF2 via the reduction gear RG. The rotation of the rotating body SF2 rotates the connecting portion 102a integrally, and the second arm AR2 rotates with respect to the first arm AR1. At that time, the encoder device EC detects rotational position information of the rotating body. The robot device RBT can detect the angular position of the second arm AR2, for example, by using the detection result of the encoder device EC. The encoder device EC according to the embodiment can stably operate, and the robot device RBT can also stably operate.

なお、実施形態に係るロボット装置RBTは、上記の構成に限定されず、複数の関節を備える各種ロボット装置(例、双腕多軸型ロボット)でもよい。複数の関節を備えるロボット装置の場合、そのロボット装置は各関節(各軸)又は一部の関節に本実施形態のエンコーダ装置ECが配置される。 Note that the robot device RBT according to the embodiment is not limited to the configuration described above, and may be various robot devices having a plurality of joints (for example, a dual-arm multi-axis robot). In the case of a robot device having a plurality of joints, the encoder device EC of this embodiment is arranged at each joint (each axis) or part of the joints of the robot device.

なお、本発明の技術範囲は、上述の実施形態などで説明した態様に限定されるものではない。上述の実施形態などで説明した要件の1つ以上は、省略されることがある。また、上述の実施形態などで説明した要件は、適宜組み合わせることができる。また、法令で許容される限りにおいて、日本特許出願である特願2018-061276、及び、上述の実施形態などで引用した全ての文献の開示を援用して本文の記載の一部とする。 It should be noted that the technical scope of the present invention is not limited to the aspects described in the above embodiments and the like. One or more of the requirements described in the above embodiments and the like may be omitted. Also, 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 Japanese Patent Application 2018-061276 and all the documents cited in the above-described embodiments and the like are incorporated into the description of the text.

1・・・位置検出部、1A・・・角度検出部、1B・・・多回転検出部、S・・・スケール、31・・・電力供給部、33・・・信号発生部、36・・・バッテリー、51・・・切替部、52・・・状態検出部、53・・・寿命算出部、56・・・スイッチング素子、58・・・スイッチング素子、61・・・制御部、62・・・切替部(第2の切替部)、64・・・スイッチング素子、65・・・スイッチング素子、68・・・タイミング調整部、EC・・・エンコーダ装置、PW・・・電源部、SF・・・回転体、ST・・・ステージ、MTR・・・駆動装置、RBT・・・ロボット装置、STG・・・ステージ装置
Reference Signs List 1 Position detector 1A Angle detector 1B Multi-rotation detector S Scale 31 Power supply 33 Signal generator 36 Battery 51 Switching unit 52 State detection unit 53 Lifespan calculation unit 56 Switching element 58 Switching element 61 Control unit 62 Switching unit (second switching unit) 64 Switching element 65 Switching element 68 Timing adjustment unit EC Encoder device PW Power supply unit SF Rotating body, ST... Stage, MTR... Driving device, RBT... Robot device, STG... Stage device

Claims (22)

移動部の位置情報を検出する位置検出部と、
前記移動部の移動に基づき検出信号が発生する信号発生部と、
前記検出信号に基づいて電力供給部から供給される電力によって、前記電力供給部の状態を検出する状態検出部と、
前記検出信号に基づいて、前記電力供給部から前記状態検出部への電力の供給の有無を切り替える第1切替部と、
前記位置検出部が前記位置情報を検出するタイミングと前記状態検出部が前記電力供給部の状態を検出するタイミングとを相対的に調整するタイミング調整部と、を備えるエンコーダ装置。
a position detection unit that detects position information of the moving unit;
a signal generating unit that generates a detection signal based on the movement of the moving unit;
a state detection unit that detects the state of the power supply unit based on the power supplied from the power supply unit based on the detection signal;
a first switching unit that switches whether power is supplied from the power supply unit to the state detection unit based on the detection signal;
An encoder device comprising: a timing adjustment section that relatively adjusts timing at which the position detection section detects the position information and timing at which the state detection section detects the state of the power supply section.
前記検出信号に基づいて、前記電力供給部から前記位置検出部への電力の供給の有無を切り替える第2切替部を更に備える、請求項1に記載のエンコーダ装置。2. The encoder device according to claim 1, further comprising a second switching section that switches whether power is supplied from said power supply section to said position detection section based on said detection signal. 前記タイミング調整部は、前記信号発生部と前記第1切替部との間に配置される、請求項2に記載のエンコーダ装置。3. The encoder device according to claim 2, wherein said timing adjusting section is arranged between said signal generating section and said first switching section. 前記タイミング調整部は、前記第2切替部よりも遅れて前記第1切替部に前記検出信号を入力する、請求項2又は請求項3に記載のエンコーダ装置。4. The encoder device according to claim 2, wherein the timing adjusting section inputs the detection signal to the first switching section after the second switching section. 前記タイミング調整部は、前記位置検出部の検出の動作が完了してから前記位置検出部に対する電力の供給が終了するまでの間に前記状態検出部の検出の動作、及び検出結果の記憶が完了するように、前記第1切替部の切替の動作と前記第2切替部の切替の動作との相対的なタイミングを調整する、請求項2から請求項4のいずれか一項に記載のエンコーダ装置。The timing adjustment unit completes the detection operation of the state detection unit and the storage of the detection result during a period from the completion of the detection operation of the position detection unit to the end of power supply to the position detection unit. The encoder device according to any one of claims 2 to 4, wherein the relative timing between the switching operation of the first switching unit and the switching operation of the second switching unit is adjusted so that . 前記タイミング調整部は、前記第1切替部よりも遅れて前記第2切替部に前記検出信号を入力する、請求項2又は請求項3に記載のエンコーダ装置。4. The encoder device according to claim 2, wherein said timing adjusting section inputs said detection signal to said second switching section with a delay from said first switching section. 前記状態検出部は、前記位置検出部が前記位置情報の検出を開始する前に、前記電力供給部の状態の検出を開始する、請求項6に記載のエンコーダ装置。7. The encoder device according to claim 6, wherein said state detection section starts detecting the state of said power supply section before said position detection section starts detecting said position information. 前記状態検出部は、前記位置検出部が前記位置情報を検出する期間の少なくとも一部と重複する期間に、前記電力供給部の状態を検出する、請求項2から請求項7のいずれか一項に記載のエンコーダ装置。8. The state detector according to any one of claims 2 to 7, wherein the state detector detects the state of the power supply unit during a period that overlaps at least part of a period during which the position detector detects the position information. Encoder device according to. 前記タイミング調整部は、遅延回路を含む、請求項2から請求項8のいずれか一項に記載のエンコーダ装置。The encoder device according to any one of claims 2 to 8, wherein said timing adjustment section includes a delay circuit. 前記位置検出部は、前記電力供給部とは異なる電源部からの電力の供給が遮断された状態において、前記電力供給部から供給される電力によって前記位置情報を検出し、
前記第1切替部は、電源部から前記位置検出部への電力の供給が遮断された状態において、前記検出信号に基づいて前記電力供給部から前記状態検出部への電力の供給の有無を切り替える、請求項2から請求項9のいずれか一項に記載のエンコーダ装置。
The position detection unit detects the position information from the power supplied from the power supply unit in a state where power supply from a power supply unit different from the power supply unit is cut off,
The first switching unit determines whether power is supplied from the power supply unit to the state detection unit based on the detection signal in a state in which power supply from the power supply unit to the position detection unit is cut off. 10. Encoder device according to any one of claims 2 to 9, for switching.
前記第1切替部は、前記電力供給部から前記状態検出部へ電力を供給する経路に設けられるスイッチング素子を備え、
前記スイッチング素子のゲート電極には、前記検出信号によって電圧が印加される、請求項10に記載のエンコーダ装置。
The first switching unit includes a switching element provided in a path for supplying power from the power supply unit to the state detection unit,
11. The encoder device according to claim 10 , wherein a voltage is applied to the gate electrode of said switching element by said detection signal.
前記位置検出部は、前記電力供給部とは異なる電源部から供給される電力によって前記位置情報を検出し、
前記第1切替部は、電源部から前記位置検出部へ電力が供給される状態において、制御部から供給される制御信号に基づいて、前記電力供給部から前記状態検出部への電力の供給の有無を切り替える、請求項1から請求項11のいずれか一項に記載のエンコーダ装置。
The position detection unit detects the position information by power supplied from a power supply unit different from the power supply unit,
The first switching unit supplies power from the power supply unit to the state detection unit based on a control signal supplied from the control unit in a state where power is supplied from the power supply unit to the position detection unit. 12. The encoder device according to any one of claims 1 to 11 , wherein the presence or absence of is switched.
前記第1切替部は、前記電力供給部から前記状態検出部へ電力を供給する経路に設けられるスイッチング素子を備え、
前記スイッチング素子のゲート電極には、前記制御信号によって電圧が印加される、請求項12に記載のエンコーダ装置。
The first switching unit includes a switching element provided in a path for supplying power from the power supply unit to the state detection unit,
13. The encoder device according to claim 12 , wherein a voltage is applied to the gate electrode of said switching element by said control signal.
前記電力供給部はバッテリーを備える、請求項1から請求項13のいずれか一項に記載のエンコーダ装置。 14. Encoder apparatus according to any one of the preceding claims, wherein the power supply comprises a battery. 前記状態検出部の検出結果に基づいて、前記バッテリーの寿命情報を算出する寿命算出部を備える請求項14に記載のエンコーダ装置。 15. The encoder device according to claim 14 , further comprising a life calculation unit that calculates life information of said battery based on the detection result of said state detection unit. 前記状態検出部の検出結果を、前記バッテリーから供給される電力によって記憶する記憶部を備え、
前記寿命算出部は、前記記憶部に記憶された前記状態検出部の検出結果に基づいて、前記バッテリーの寿命情報を算出する、請求項15に記載のエンコーダ装置。
A storage unit that stores the detection result of the state detection unit using power supplied from the battery,
16. The encoder device according to claim 15 , wherein said life calculation section calculates life information of said battery based on the detection result of said state detection section stored in said storage section.
前記寿命算出部は、前記バッテリーと異なる電源部から供給される電力によって前記バッテリーの寿命情報を算出する、請求項15又は請求項16に記載のエンコーダ装置。 17. The encoder device according to claim 15 , wherein said lifespan calculator calculates lifespan information of said battery using power supplied from a power source different from said battery. 前記位置検出部は、
電源部から電力が供給される通常状態において、電源部から供給される電力によって前記位置情報を検出し、
前記電力供給部からの電力の供給が遮断されるバックアップ状態において、前記電力供給部から供給される電力によって前記位置情報を検出し、
前記通常状態と前記バックアップ状態とを切り替える第切替部を備える、請求項1から1のいずれか一項に記載のエンコーダ装置。
The position detection unit is
In a normal state in which power is supplied from the power supply unit , the position information is detected by the power supplied from the power supply unit;
detecting the position information by the power supplied from the power supply unit in a backup state in which the power supply from the power supply unit is interrupted;
The encoder device according to any one of claims 1 to 17 , comprising a third switching unit that switches between the normal state and the backup state.
前記電力供給部の状態は、前記電力供給部が使用される環境の状態、前記電力供給部の動作の状態、前記電力供給部の電気的なパラメータの状態、又は前記電力供給部の自己放電の状態を含む、請求項1から請求項18のいずれか一項に記載のエンコーダ装置。 The state of the power supply may be the state of the environment in which the power supply is used, the state of operation of the power supply , the state of electrical parameters of the power supply , or the state of self-discharge of the power supply. 19. An encoder device according to any one of claims 1 to 18, comprising a state. 請求項1から請求項1のいずれか一項に記載のエンコーダ装置と、
前記移動部を駆動する駆動部と、を備える駆動装置。
an encoder device according to any one of claims 1 to 19 ;
and a driving unit that drives the moving unit.
請求項20に記載の駆動装置と、
前記駆動装置によって移動するステージと、を備えるステージ装置。
a driving device according to claim 20 ;
and a stage that is moved by the driving device.
請求項20に記載の駆動装置と、
前記駆動装置によって移動するアームと、を備えるロボット装置。
a driving device according to claim 20 ;
and an arm that is moved by the driving device.
JP2020509781A 2018-03-28 2019-03-07 Encoder device, drive device, stage device, and robot device Active JP7243712B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2018061276 2018-03-28
JP2018061276 2018-03-28
PCT/JP2019/009039 WO2019188084A1 (en) 2018-03-28 2019-03-07 Encoder device, drive device, stage device, and robot device

Publications (2)

Publication Number Publication Date
JPWO2019188084A1 JPWO2019188084A1 (en) 2021-03-18
JP7243712B2 true JP7243712B2 (en) 2023-03-22

Family

ID=68059720

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020509781A Active JP7243712B2 (en) 2018-03-28 2019-03-07 Encoder device, drive device, stage device, and robot device

Country Status (2)

Country Link
JP (1) JP7243712B2 (en)
WO (1) WO2019188084A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004132977A (en) 2002-09-20 2004-04-30 Matsushita Electric Ind Co Ltd Phase detection device, dial type detection device, and phase detection method
JP2006234697A (en) 2005-02-25 2006-09-07 Kyocera Corp Position detection device
US20100301844A1 (en) 2007-10-11 2010-12-02 Jorgen Schmidt Rotary Encoder

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06147918A (en) * 1992-11-04 1994-05-27 Omron Corp Multi-turn absolute type rotary encoder
JP3023644B2 (en) * 1993-12-24 2000-03-21 松下電器産業株式会社 Absolute position encoder for industrial robots
JP2006029792A (en) * 2004-07-12 2006-02-02 Matsushita Electric Ind Co Ltd Anisotropic magnetoresistive element and rotation angle detector using the same
JP5176714B2 (en) * 2008-06-19 2013-04-03 株式会社ニコン Encoder with backup power supply
JP5454520B2 (en) * 2011-06-27 2014-03-26 三菱電機株式会社 Encoder and encoder system
JP6772698B2 (en) * 2016-09-14 2020-10-21 株式会社ニコン Encoder device, drive device, stage device, and robot device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004132977A (en) 2002-09-20 2004-04-30 Matsushita Electric Ind Co Ltd Phase detection device, dial type detection device, and phase detection method
JP2006234697A (en) 2005-02-25 2006-09-07 Kyocera Corp Position detection device
US20100301844A1 (en) 2007-10-11 2010-12-02 Jorgen Schmidt Rotary Encoder

Also Published As

Publication number Publication date
WO2019188084A1 (en) 2019-10-03
JPWO2019188084A1 (en) 2021-03-18

Similar Documents

Publication Publication Date Title
US11385081B2 (en) Encoder apparatus, drive apparatus, stage apparatus, and robot apparatus with light emission adjuster
US11243096B2 (en) Encoder apparatus, drive apparatus, stage apparatus, and robot apparatus
JP6610697B2 (en) Encoder device, drive device, stage device, and robot device
US11858132B2 (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
JP6870372B2 (en) Encoder device, drive device, stage device, and robot device
JP6772698B2 (en) Encoder device, drive device, stage device, and robot device
JP6926434B2 (en) Encoder device, drive device, stage device, and robot device
JP2018132432A (en) Encoder device, drive device, stage device, and robot device
JP2018059875A (en) Encoder device, driving device, stage device, and robot apparatus
JP2018054573A (en) Encoder device, driving device, stage device, and robot device
JP7243712B2 (en) Encoder device, drive device, stage device, and robot device
JP2018054488A (en) Encoder device, drive device, stage device, and robot device
JP6834288B2 (en) Encoder device, drive device, stage device, and robot device
JP2018036138A (en) Encoder device, driving device, stage device, and robot device
EP4350298B1 (en) Rotation detector and rotation detection method
JP2021001908A (en) Encoder device, drive device, stage device, and robot device
JPWO2022249795A5 (en)
JP6878899B2 (en) Encoder device, drive device, stage device, and robot device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20211129

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220913

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20221111

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221209

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230220

R150 Certificate of patent or registration of utility model

Ref document number: 7243712

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250