JP2012198067A - Motion detection device for detecting rotational motion or revolving motion - Google Patents

Motion detection device for detecting rotational motion or revolving motion Download PDF

Info

Publication number
JP2012198067A
JP2012198067A JP2011061335A JP2011061335A JP2012198067A JP 2012198067 A JP2012198067 A JP 2012198067A JP 2011061335 A JP2011061335 A JP 2011061335A JP 2011061335 A JP2011061335 A JP 2011061335A JP 2012198067 A JP2012198067 A JP 2012198067A
Authority
JP
Japan
Prior art keywords
rotation
magnetic field
detection
output
detection signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2011061335A
Other languages
Japanese (ja)
Inventor
Shoji Koyama
昌二 小山
Atsushi Kasuga
敦史 春日
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.)
Hirose Electric Co Ltd
Original Assignee
Hirose Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hirose Electric Co Ltd filed Critical Hirose Electric Co Ltd
Priority to JP2011061335A priority Critical patent/JP2012198067A/en
Publication of JP2012198067A publication Critical patent/JP2012198067A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Transmission And Conversion Of Sensor Element Output (AREA)

Abstract

PROBLEM TO BE SOLVED: To achieve reductions in size, weight and cost of a motion detection device, which counts rotational frequency or the like of a detection body with no power source, without decreasing accuracy of detecting rotational frequency or the like of the detection object.SOLUTION: A motion detection device has: stand-by magnets 15 and 17 as well as an output magnet 16 arranged in a circumferential direction at intervals Da on outer peripheral portion of a movable section 13 which rotates; and magnetic sensors 1, 2 and 3 around the movable section 13 at wider intervals Db than the interval Da. When the stand-by magnets 15 and 17 pass near either of the magnet sensors 1, 2 and 3 while the movable section 13 is rotated in tandem with rotation of a rotational axis 150, the magnet sensor comes into a stand-by state. When the output magnet 16 passes near the magnet sensor which is in the stand-by state, a large Barkhausen effect is produced at a magnetic element 21 of the magnetic sensor and a coil 22 outputs a detection signal. Rotational frequency of the rotational axis 150 is counted based on the detection signal.

Description

本発明は、磁気を利用して物体の回転運動または周回運動を検出する運動検出装置に関する。   The present invention relates to a motion detection device that detects the rotational motion or circular motion of an object using magnetism.

物体の動きに応じて磁界を変化させ、これにより生じる起電力を利用して物体の動きに応じた電気信号を生成する装置は知られている。   2. Description of the Related Art There are known devices that change a magnetic field according to the movement of an object and generate an electric signal according to the movement of the object by using an electromotive force generated thereby.

例えば、下記の特許文献1には、大バルクハウゼン効果を生じる磁性素子にコイルを巻回した磁界検出部と、磁極の配置が互いに反対である2種類の磁石を交互に数個配列した配列体とを設け、上記磁界検出部を固定すると共に、上記配列体が上記磁界検出部の近傍を往復運動する構成とすることにより、上記磁性素子の磁化の方向を変化させ、これにより生じる起電力を利用してパルス信号を発生させる装置が記載されている。   For example, in Patent Document 1 below, an array body in which a magnetic field detection unit in which a coil is wound around a magnetic element that generates a large Barkhausen effect and two types of magnets in which the arrangement of magnetic poles is opposite to each other are alternately arranged The magnetic field detector is fixed, and the array is configured to reciprocate in the vicinity of the magnetic field detector, thereby changing the magnetization direction of the magnetic element, and the electromotive force generated thereby An apparatus for generating a pulse signal using it is described.

また、下記の特許文献2には、大バルクハウゼン効果を生じる磁性素子にコイルを巻回した磁界検出部を回転軸の近傍に動かないように配置し、上記回転軸には、磁極の配置が互いに反対である2種類の磁石を取り付け、上記回転軸の回転に伴って上記各磁石を回転させることにより、上記磁性素子の磁化の方向を変化させ、これにより生じる起電力を利用してパルス信号を発生させる装置が記載されている。   Further, in Patent Document 2 below, a magnetic field detection unit in which a coil is wound around a magnetic element that generates a large Barkhausen effect is arranged so as not to move in the vicinity of the rotation axis. Two types of magnets opposite to each other are attached, and each magnet is rotated in accordance with the rotation of the rotation shaft, thereby changing the magnetization direction of the magnetic element, and using the electromotive force generated thereby, a pulse signal An apparatus for generating is described.

また、下記の特許文献3には、大バルクハウゼン効果を生じる磁性素子にコイルを巻回した磁界検出部を備え、当該磁界検出部から出力されるパルス電圧により生成される電力を利用して処理回路を動作させる装置が記載されている。   Patent Document 3 below includes a magnetic field detection unit in which a coil is wound around a magnetic element that generates a large Barkhausen effect, and processing is performed using electric power generated by a pulse voltage output from the magnetic field detection unit. An apparatus for operating a circuit is described.

また、下記の特許文献4には、回転自在に支持された回転体に円周方向に設けられ、N極およびS極を有する1組の硬磁性体と、これら硬磁性体に対向し、当該硬磁性体によって互いに磁気的に90度の位相差を有するパルス電圧を発生する4個の発電型磁界検出部と、所定数の他の磁界検出部と、上記発電型磁界検出部から発生されるパルス電圧によって駆動され、パルス電圧数を回転方向に基づいて加減算計数して回転領域に応じた計数値を生成して記憶する計数手段と、上記計数値に基づく回転領域と上記他の磁界検出部から出力される磁気的周期とに基づいて絶対回転角を検出する回転角検出部とを備えた装置が記載されている。   Further, in Patent Document 4 below, a pair of hard magnetic bodies that are provided in a circumferential direction on a rotating body that is rotatably supported and that has an N-pole and an S-pole, It is generated from four power generation type magnetic field detection units that generate a pulse voltage having a phase difference of 90 degrees magnetically by a hard magnetic material, a predetermined number of other magnetic field detection units, and the power generation type magnetic field detection unit. Counting means that is driven by a pulse voltage, counts and adds / subtracts the number of pulse voltages based on the rotation direction to generate and store a count value according to the rotation area, the rotation area based on the count value, and the other magnetic field detection unit Describes a device including a rotation angle detector that detects an absolute rotation angle based on the magnetic period output from.

特開平11−195964号公報JP 11-195964 A 特開2001−194182号公報JP 2001-194182 A 特開2009−15683号公報JP 2009-15683 A 特開2009−162730号公報JP 2009-162730 A

上述した特許文献1ないし4に記載された装置はいずれも、物体の動きに応じた磁界の変化により生じる起電力を利用して電気信号を生成することができるので、当該電気信号の生成や当該電気信号を用いた処理を行うために電源からの電力の供給を必要としない。そこで、上述した装置は、器機の電源がオフになっている間に、器機の可動部分の動きを検出する無電源の検出装置として利用することができる。   Any of the devices described in Patent Documents 1 to 4 described above can generate an electrical signal using an electromotive force generated by a change in a magnetic field according to the movement of an object. It is not necessary to supply power from a power source in order to perform processing using an electrical signal. Therefore, the above-described device can be used as a non-powered detection device that detects the movement of the movable part of the device while the device is powered off.

例えば、ファクトリー・オートメーションが導入された工場に設けられた産業用ロボットの電源が切られた後に当該ロボットの可動部分が何らかの外力により動かされたとき、その可動部分の動きを無電源の検出装置により検出し、当該動きを示す検出データをメモリに記憶しておき、その後、当該ロボットの電源が投入されたときに、メモリに記憶された上記検出データを用いて、何らかの外力により動いてしまった当該ロボットの可動部分の位置を当該ロボットに自動的に認識させるといった処理を実現することができる。   For example, when an industrial robot installed in a factory where factory automation is installed is turned off, when the movable part of the robot is moved by some external force, the movement of the movable part is detected by a non-powered detection device. The detection data indicating the movement is stored in the memory, and then the robot has been moved by some external force using the detection data stored in the memory when the robot is powered on. A process of automatically recognizing the position of the movable part of the robot can be realized.

ここで、上述したようなロボット等の器機における可動部分の回転運動を検出する無電源の運動検出装置について検討するに、当該運動検出装置には、電源から電力を供給することなく、上記可動部分の回転方向を考慮した回転数の計数(例えば右方向に1回転した場合に+1回転とし、左方向に1回転した場合に−1回転とするなど)を行う機能を基本的機能として設ける必要がある。   Here, in order to examine a non-power supply motion detection device that detects the rotational motion of a movable part in a device such as a robot as described above, the motion detection device is not supplied with power from the power source. It is necessary to provide as a basic function a function of counting the number of rotations in consideration of the rotation direction (for example, +1 rotation when rotating once in the right direction and -1 rotation when rotating once in the left direction). is there.

さらに、上記運動検出装置には、上記可動部分の回転方向を考慮した回転数の検出の正確性を損なうことなく、運動検出装置の小型化、軽量化、低コスト化を図ることが望まれる。   Furthermore, it is desirable for the motion detection device to reduce the size, weight, and cost of the motion detection device without impairing the accuracy of detection of the rotational speed in consideration of the rotation direction of the movable part.

具体的に述べると、上記可動部分の回転方向を考慮した回転数の検出の正確性については、上記可動部分が回転運動を行う間に、上記可動部分が1回転せずに回転方向の反転を繰り返す運動をしばしば行う場合でも、上記可動部分の回転状態を見失わずに、上記可動部分の回転方向を考慮した回転数を正確に検出することが望まれる。   Specifically, regarding the accuracy of detection of the rotational speed in consideration of the rotational direction of the movable part, the rotational direction is reversed without the movable part rotating once while the movable part performs rotational motion. Even when repeated motions are often performed, it is desirable to accurately detect the number of rotations in consideration of the direction of rotation of the movable part without losing sight of the rotational state of the movable part.

一方、運動検出装置の小型化、軽量化、低コスト化については、磁界検出部の個数を、上記可動部分の回転方向を確実に検出することができる最少の個数、すなわち、3個に減らすことができるような構成を実現することが望まれる。なお、磁界検出部の個数を最少3個に減らすことができる構成とは、3個の磁界検出部を備えた運動検出装置に適用可能であるほか、4個以上の磁界検出部を備えた運動検出装置にも適用可能である構成という意味を含んでいる。   On the other hand, to reduce the size, weight, and cost of the motion detector, the number of magnetic field detectors is reduced to the minimum number that can reliably detect the rotational direction of the movable part, that is, three. It is desirable to realize a configuration that can Note that the configuration that can reduce the number of magnetic field detection units to a minimum of three is applicable to a motion detection device including three magnetic field detection units and a motion including four or more magnetic field detection units. It includes the meaning of a configuration that can also be applied to a detection device.

上記可動部分が1回転せずに回転方向の反転を繰り返す運動を行う場合でも、上記可動部分の回転方向を考慮した正確な回転数を最少3個の磁界検出部により検出することができる運動検出装置は、上記特許文献1ないし4のいずれにも記載されていない。また、このような運動検出装置を上記特許文献1ないし4またはその他の周知技術に基づいて実現することは容易でない。   Even when the movable part performs a repetitive reversal of the rotation direction without making one rotation, a motion detection capable of detecting an accurate number of rotations considering the rotation direction of the movable part with a minimum of three magnetic field detectors. The device is not described in any of Patent Documents 1 to 4. In addition, it is not easy to realize such a motion detection device based on the above-mentioned Patent Documents 1 to 4 or other known techniques.

さらに、上記可動部分の回転運動を検出する無電源の運動検出装置には、上記可動部分の回転方向を考慮した回転数の計数に必要な電力(磁界検出部から出力される信号から生成される電力)の消費を削減する構成を実現することが望まれる。この点についても、上記特許文献1ないし4には記載も示唆もなく、その実現は容易でない。   Furthermore, in the motionless device of the non-power source that detects the rotational motion of the movable part, the power required for counting the number of rotations considering the rotational direction of the movable part (generated from the signal output from the magnetic field detection unit) It is desirable to realize a configuration that reduces power consumption. In this respect as well, there is no description or suggestion in Patent Documents 1 to 4, and the realization thereof is not easy.

なお、産業用ロボットやベルトコンベア等の器機における可動部分の周回運動を検出する無電源の運動検出装置についても、上述した回転運動を検出する無電源の運動検出装置と同様のことが望まれる。   It should be noted that the non-power source motion detection device that detects the circular motion of the movable part in equipment such as an industrial robot and a belt conveyor is also desired to be the same as the above-described non-power source motion detection device that detects the rotational motion.

本発明は例えば上述した問題に鑑みなされたものであり、本発明の第1の課題は、電源から電力を供給することなく、例えば器機の可動部分等の被検出体の回転方向を考慮した回転数または周回移動方向を考慮した周回数の計数を行うことができる運動検出装置であって、被検出体の回転方向を考慮した回転数または周回移動方向を考慮した周回数の検出の正確性を損なうことなく、小型化、軽量化、低コスト化を図ることできる運動検出装置を提供することにある。   The present invention has been made in view of the above-described problems, for example, and a first object of the present invention is to perform rotation in consideration of the rotation direction of a detected object such as a movable part of a device without supplying power from a power source. A motion detection device that can count the number of laps in consideration of the number or circulatory movement direction, and the accuracy of detection of the number of laps in consideration of the rotation number or the circulatory movement direction in consideration of the rotation direction of the detected object. An object of the present invention is to provide a motion detection device that can be reduced in size, weight, and cost without loss.

また、本発明の第2の課題は、電源から電力を供給することなく、被検出体の回転方向を考慮した回転数または周回移動方向を考慮した周回数の計数を行うことができる運動検出装置であって、被検出体の回転方向を考慮した回転数または周回移動方向を考慮した周回数の計数に必要な電力の消費を削減することができる運動検出装置を提供することにある。   A second object of the present invention is to provide a motion detection apparatus capable of counting the number of rotations considering the rotation direction or the rotation direction of the object to be detected without supplying power from the power source. An object of the present invention is to provide a motion detection device capable of reducing power consumption necessary for counting the number of rotations considering the rotation direction of the detected object or the number of rotations considering the direction of circular movement.

上記課題を解決するために、本発明の第1の運動検出装置は、被検出体の回転運動または周回運動を検出する運動検出装置であって、被検出体の回転運動または周回運動に応じて回転運動または周回運動する可動部と、磁界の方向が第1の方向である第1の磁界を発生させる第1の磁界発生部と、磁界の方向が前記第1の方向とは逆の第2の方向である第2の磁界を発生させる第2の磁界発生部と、前記第1の磁界発生部が接近したときに前記第1の磁界により前記第1の方向に磁化され、前記第2の磁界発生部が接近したときに前記第2の磁界により前記第2の方向に磁化され、磁化の方向が前記第1の方向と前記第2の方向との間で変化するときに生じる起電力により生成される検出信号を出力する少なくとも3つの磁界検出部と、前記各磁界検出部から出力される検出信号に基づいて前記被検出体の回転運動または周回運動の状態を検出する運動検出回路とを備え、前記第1の磁界発生部および前記第2の磁界発生部は前記可動部の外周部に周方向に所定の間隔をもって配置され、前記少なくとも3つの磁界検出部は、前記可動部の外周部の近傍であって、前記可動部が回転運動または周回運動したときの前記可動部の外周部の軌跡に沿うように前記所定の間隔よりも大きい間隔をもって配置されていることを特徴とする。   In order to solve the above-described problem, a first motion detection device of the present invention is a motion detection device that detects a rotational motion or a circular motion of a detected object, and according to the rotational motion or the circular motion of the detected object. A movable part that rotates or revolves, a first magnetic field generating part that generates a first magnetic field in which the direction of the magnetic field is the first direction, and a second that is opposite to the first direction. When the first magnetic field generator approaches the second magnetic field generator that generates the second magnetic field that is the direction of the first magnetic field, the second magnetic field generator is magnetized in the first direction by the first magnetic field, Due to the electromotive force that is magnetized in the second direction by the second magnetic field when the magnetic field generator approaches, and the magnetization direction changes between the first direction and the second direction. At least three magnetic field detectors for outputting generated detection signals; and A motion detection circuit that detects a state of rotational motion or circular motion of the detected object based on a detection signal output from the magnetic field detection unit, and the first magnetic field generation unit and the second magnetic field generation unit include: The outer peripheral part of the movable part is arranged at a predetermined interval in the circumferential direction, and the at least three magnetic field detecting parts are in the vicinity of the outer peripheral part of the movable part, and the movable part is rotated or circularly moved. It is arranged with an interval larger than the predetermined interval so as to follow the trajectory of the outer peripheral portion of the movable portion.

本発明の第1の運動検出装置によれば、第1の磁界発生部と第2の磁界発生部との配置間隔が磁界検出部の配置間隔よりも小さいので、被検出体が1回転せずに回転方向の反転を繰り返す運動を行う場合でも、被検出体の回転方向を考慮した正確な回転数を最少3個の磁界検出部により検出することができる。したがって、被検出体の回転方向を考慮した回転数の検出の正確性を損なうことなく、運動検出装置の小型化、軽量化、低コスト化を図ることできる。   According to the first motion detection device of the present invention, since the arrangement interval between the first magnetic field generation unit and the second magnetic field generation unit is smaller than the arrangement interval of the magnetic field detection unit, the detection target does not rotate once. Even when performing a motion that repeatedly reverses the rotation direction, the accurate number of rotations considering the rotation direction of the detected object can be detected by a minimum of three magnetic field detectors. Therefore, it is possible to reduce the size, weight, and cost of the motion detection device without impairing the accuracy of detection of the rotational speed in consideration of the rotation direction of the detection target.

これについて具体的に説明する。説明の便宜上、(a)可動部の外周部に第1の磁界発生部と第2の磁界発生部とが右回り(時計回り)にこの順序で所定の間隔をもって配置され、(b)可動部の外周部の近傍であって、可動部が回転運動したときの可動部の外周部の軌跡に沿うように3つの磁界検出部A、B、Cが右回りにこの順序で上記所定の間隔よりも大きい間隔をもって配置され、(c)可動部が右方向に回転し、(d)初期状態では、各磁界検出部A、B、Cの磁化の方向が第1の方向であり、(e)各磁界検出部A、B、Cは、磁化の方向が第1の方向から第2の方向に変化するときに検出信号を出力する運動検出装置を想定する。   This will be specifically described. For convenience of explanation, (a) the first magnetic field generating unit and the second magnetic field generating unit are arranged clockwise (clockwise) at a predetermined interval on the outer periphery of the movable unit in this order, and (b) the movable unit The three magnetic field detectors A, B, and C are rotated clockwise in this order from the predetermined interval so as to follow the locus of the outer peripheral portion of the movable portion when the movable portion rotates. (C) The movable part rotates in the right direction. (D) In the initial state, the magnetization direction of each of the magnetic field detectors A, B, and C is the first direction. (E) Each magnetic field detection unit A, B, C is assumed to be a motion detection device that outputs a detection signal when the direction of magnetization changes from a first direction to a second direction.

このような運動検出装置において、被検出体の回転運動に伴って可動部が初期状態から右方向に1回転する間の動作を観察すると、例えばまず、第2の磁界発生部が磁界検出部Aの近傍を通過し、磁界検出部Aの磁化の方向が第1の方向から第2の方向に変化し、磁界検出部Aから検出信号が出力される。続いて、第1の磁界発生部が磁界検出部Aの近傍を通過し、磁界検出部Aの磁化の方向が第2の方向から第1の方向に戻る。その後、第2の磁界発生部が磁界検出部Bの近傍を通過し、磁界検出部Bの磁化の方向が第1の方向から第2の方向に変化し、磁界検出部Bから検出信号が出力される。続いて、第1の磁界発生部が磁界検出部Bの近傍を通過し、磁界検出部Bの磁化の方向が第2の方向から第1の方向に戻る。その後、第2の磁界発生部が磁界検出部Cの近傍を通過し、磁界検出部Cの磁化の方向が第1の方向から第2の方向に変化し、磁界検出部Cから検出信号が出力される。続いて、第1の磁界発生部が磁界検出部Cの近傍を通過し、磁界検出部Cの磁化の方向が第2の方向から第1の方向に戻る。   In such a motion detection device, when the operation of the movable part rotating once in the right direction from the initial state is observed with the rotational motion of the detected object, for example, first, the second magnetic field generation unit becomes the magnetic field detection unit A. , The direction of magnetization of the magnetic field detector A changes from the first direction to the second direction, and a detection signal is output from the magnetic field detector A. Subsequently, the first magnetic field generation unit passes in the vicinity of the magnetic field detection unit A, and the magnetization direction of the magnetic field detection unit A returns from the second direction to the first direction. Thereafter, the second magnetic field generator passes near the magnetic field detector B, the magnetization direction of the magnetic field detector B changes from the first direction to the second direction, and a detection signal is output from the magnetic field detector B. Is done. Subsequently, the first magnetic field generation unit passes in the vicinity of the magnetic field detection unit B, and the magnetization direction of the magnetic field detection unit B returns from the second direction to the first direction. Thereafter, the second magnetic field generation unit passes near the magnetic field detection unit C, the direction of magnetization of the magnetic field detection unit C changes from the first direction to the second direction, and a detection signal is output from the magnetic field detection unit C. Is done. Subsequently, the first magnetic field generation unit passes in the vicinity of the magnetic field detection unit C, and the magnetization direction of the magnetic field detection unit C returns from the second direction to the first direction.

この動作において着目すべき点は、可動部の回転により第2の磁界発生部が、3つの磁界検出部A、B、Cのうちの1の磁界検出部の近傍位置から移動を開始し、当該1の磁界検出部の隣に配置された他の磁界検出部の近傍位置に到達したとき、当該1の磁界検出部の磁化の方向が常に第1の方向に戻っている点である。これにより、3つの磁界検出部A、B、Cのうちの2つの磁界検出部(一般化するとk個の磁界検出部のうち(k―1)個の磁界検出部)の磁化の方向は常に第1の方向になっており、将来、第2の磁界発生部が接近したときに検出信号を出力することができる状態に設定されている。この結果、被検出体が1回転せずに回転方向の反転を繰り返す運動を行う場合でも、第2の磁界発生部が、互いの隣り合う2つの磁界検出部間を移動しさえすれば、少なくともこれら2つの磁界検出部のうちのいずれか一方の磁界検出部から検出信号が出力される。したがって、被検出体の回転状態を常時正確に把握することができる。   The point to be noted in this operation is that the second magnetic field generation unit starts moving from a position near one of the three magnetic field detection units A, B, and C by the rotation of the movable unit. This is a point in which the magnetization direction of the one magnetic field detection unit always returns to the first direction when reaching a position near another magnetic field detection unit arranged next to the one magnetic field detection unit. As a result, the magnetization directions of two magnetic field detection units (generally, (k-1) magnetic field detection units out of k magnetic field detection units) out of the three magnetic field detection units A, B, and C are always set. The direction is the first direction, and the detection signal can be output when the second magnetic field generator approaches in the future. As a result, even when the object to be detected performs a repetitive reversal of the rotation direction without making one rotation, as long as the second magnetic field generation unit moves between two adjacent magnetic field detection units, at least A detection signal is output from one of the two magnetic field detection units. Therefore, it is possible to always accurately grasp the rotation state of the detected object.

また、同様の理由により、上記本発明の第1の運動検出装置によれば、第1の磁界発生部と第2の磁界発生部との配置間隔が磁界検出部の配置間隔よりも小さいので、可動部が1周せずに周回移動方向の反転を繰り返す運動を行う場合でも、可動部の周回移動方向を考慮した正確な周回数を最少3個の磁界検出部により検出することができる。したがって、被検出体の周回移動方向を考慮した周回数の検出の正確性を損なうことなく、運動検出装置の小型化、軽量化、低コスト化を図ることできる。   For the same reason, according to the first motion detection device of the present invention, the arrangement interval between the first magnetic field generation unit and the second magnetic field generation unit is smaller than the arrangement interval of the magnetic field detection unit. Even when the movable part performs a motion that repeats the reversal of the circumferential movement direction without making one round, the accurate number of rounds considering the circumferential movement direction of the movable part can be detected by a minimum of three magnetic field detection units. Therefore, the motion detection device can be reduced in size, weight, and cost without impairing the accuracy of detection of the number of rotations in consideration of the direction of rotation of the detection target.

上記課題を解決するために、本発明の第2の運動検出装置は、被検出体の回転運動または周回運動を検出する運動検出装置であって、被検出体の回転運動または周回運動に応じて回転運動または周回運動する可動部と、磁界の方向が第1の方向である第1の磁界を発生させる第1の磁界発生部と、磁界の方向が前記第1の方向とは逆の第2の方向である第2の磁界を発生させる第2の磁界発生部と、前記第1の磁界発生部が接近したときに前記第1の磁界により前記第1の方向に磁化され、前記第2の磁界発生部が接近したときに前記第2の磁界により前記第2の方向に磁化され、磁化の方向が前記第1の方向と前記第2の方向との間で変化するときに生じる起電力により生成される検出信号を出力する少なくとも3つの磁界検出部と、前記各磁界検出部から出力される検出信号に基づいて前記被検出体の回転運動または周回運動の状態を検出する運動検出回路とを備え、前記第1の磁界発生部および前記第2の磁界発生部は、前記可動部の外周部の近傍であって、前記可動部が回転運動または周回運動したときの前記可動部の外周部の軌跡に沿うように所定の間隔をもって配置され、前記少なくとも3つの磁界検出部は、前記可動部の外周部に周方向に前記所定の間隔よりも大きい間隔をもって配置されていることを特徴とする。   In order to solve the above-mentioned problem, a second motion detection device of the present invention is a motion detection device that detects a rotational motion or a circular motion of a detected object, and according to the rotational motion or the circular motion of the detected object. A movable part that rotates or revolves, a first magnetic field generating part that generates a first magnetic field in which the direction of the magnetic field is the first direction, and a second that is opposite to the first direction. When the first magnetic field generator approaches the second magnetic field generator that generates the second magnetic field that is the direction of the first magnetic field, the second magnetic field generator is magnetized in the first direction by the first magnetic field, Due to the electromotive force that is magnetized in the second direction by the second magnetic field when the magnetic field generator approaches, and the magnetization direction changes between the first direction and the second direction. At least three magnetic field detectors for outputting generated detection signals; and A motion detection circuit that detects a state of rotational motion or circular motion of the detected object based on a detection signal output from the magnetic field detection unit, and the first magnetic field generation unit and the second magnetic field generation unit include: The at least three magnetic field detections are arranged in the vicinity of the outer peripheral part of the movable part and at a predetermined interval so as to follow the trajectory of the outer peripheral part of the movable part when the movable part rotates or rotates. The portions are arranged on the outer peripheral portion of the movable portion with a larger interval in the circumferential direction than the predetermined interval.

本発明の第2の運動検出装置によっても、本発明の第1の運動検出装置と同様の作用効果を得ることができる。   Also with the second motion detection device of the present invention, the same effect as the first motion detection device of the present invention can be obtained.

上記課題を解決するために、本発明の第3の運動検出装置は、上述した本発明の第1または第2の運動検出装置において、前記各磁界検出部は、大バルクハウゼン効果を生じる磁性素子と、前記磁性素子に巻回されたコイルとを備えていることを特徴とする。   In order to solve the above problems, a third motion detection device of the present invention is the above-described first or second motion detection device of the present invention, in which each magnetic field detection unit is a magnetic element that produces a large Barkhausen effect. And a coil wound around the magnetic element.

本発明の第3の運動検出装置によれば、各磁界検出部から出力される検出信号をパルス信号とすることができる。したがって、運動検出回路による検出処理の容易化または高精度化を図ることができる。   According to the third motion detection device of the present invention, the detection signal output from each magnetic field detection unit can be a pulse signal. Therefore, the detection processing by the motion detection circuit can be facilitated or highly accurate.

上記課題を解決するために、本発明の第4の運動検出装置は、上述した本発明の第1ないし第3のいずれかの運動検出装置において、前記各磁界検出部から出力される検出信号から電源電圧を生成する電源電圧生成回路を備え、前記運動検出回路は前記電源電圧生成回路により生成された電源電圧により動作することを特徴とする。   In order to solve the above problems, a fourth motion detection device of the present invention is the above-described motion detection device of any one of the first to third of the present invention, based on detection signals output from the magnetic field detection units. A power supply voltage generation circuit for generating a power supply voltage is provided, and the motion detection circuit is operated by the power supply voltage generated by the power supply voltage generation circuit.

本発明の第4の運動検出装置によれば、無電源の運動検出装置を実現することができる。   According to the fourth motion detection device of the present invention, it is possible to realize a motion detection device with no power supply.

上記課題を解決するために、本発明の第5の運動検出装置は、上述した本発明の第1ないし第4のいずれかの運動検出装置において、前記運動検出回路は、前記各磁界検出部から出力される検出信号に基づいて前記被検出体の回転運動の状態を検出する回路であり、前記運動検出回路は、前記各磁界検出部から出力される検出信号に基づいて前記被検出体が1回転したか否かを判定し、前記被検出体が1回転するごとに、前記被検出体が1回転したことを示す回転判定信号を出力する回転判定回路と、前記回転判定回路から出力される回転判定信号に基づいて前記被検出体の回転数を計数する計数回路とを備えていることを特徴とする。   In order to solve the above problems, a fifth motion detection device of the present invention is the motion detection device according to any one of the first to fourth of the present invention described above, wherein the motion detection circuit is connected to each magnetic field detection unit. A circuit that detects a state of rotational motion of the detected object based on a detection signal that is output; the motion detection circuit is configured so that the detected object is 1 based on a detection signal output from each of the magnetic field detectors; It is determined whether or not the object has been rotated, and a rotation determination circuit that outputs a rotation determination signal indicating that the object to be detected has rotated once each time the object to be detected has rotated, and is output from the rotation determination circuit. And a counting circuit for counting the number of rotations of the detected object based on a rotation determination signal.

本発明の第5の運動検出装置において、運動検出回路を、回転判定回路と計数回路とに分け、計数回路を、回転判定回路から出力される回転判定信号に基づいて被検出体の回転数を計数する構成とすることにより、計数回路が動作する時期を、回転判定回路から回転判定信号が出力されたとき、すなわち被検出体が1回転したときに限定することができる。これにより、計数回路が動作する期間を減らすことができ、電力の消費を削減することができる。   In the fifth motion detection apparatus of the present invention, the motion detection circuit is divided into a rotation determination circuit and a count circuit, and the count circuit determines the number of rotations of the detected object based on the rotation determination signal output from the rotation determination circuit. With the configuration of counting, the timing when the counting circuit operates can be limited to when the rotation determination signal is output from the rotation determination circuit, that is, when the detected object has made one rotation. Thereby, the period during which the counting circuit operates can be reduced, and power consumption can be reduced.

上記課題を解決するために、本発明の第6の運動検出装置は、上述した本発明の第5の運動検出装置において、前記少なくとも3つの磁界検出部のうちの1つの磁界検出部が基準磁界検出部であり、残りの各磁界検出部が非基準磁界検出部であり、前記回転判定回路は、前記基準磁界検出部から検出信号が出力されるたびに、前回前記基準磁界検出部から検出信号が出力された直後にいずれかの前記非基準磁界検出部から出力された検出信号と、今回前記基準磁界検出部から検出信号が出力される直前にいずれかの前記非基準磁界検出部から出力された検出信号とがそれぞれ所定の検出信号であるか否かを判断し、当該判断結果に基づいて前記被検出体が1回転したか否かを判定することを特徴とする。   In order to solve the above problem, a sixth motion detection device of the present invention is the above-described fifth motion detection device of the present invention, wherein one of the at least three magnetic field detection units is a reference magnetic field. Each of the remaining magnetic field detection units is a non-reference magnetic field detection unit, and the rotation determination circuit detects a detection signal from the previous reference magnetic field detection unit each time a detection signal is output from the reference magnetic field detection unit. Is output from one of the non-reference magnetic field detection units immediately before the detection signal is output from the non-reference magnetic field detection unit and the detection signal is output from the reference magnetic field detection unit this time. It is determined whether each detected signal is a predetermined detection signal, and based on the determination result, it is determined whether the detected object has made one revolution.

本発明の第6の運動検出装置における回転判定回路によれば、2通りの検出信号の記憶と、当該2通りの検出信号がそれぞれ所定の検出信号であるか否かの判断処理を行うことで、被検出体が1回転したか否かを判定することができる。したがって、回転判定回路における処理数および情報の記憶量を少なくすることができ、電力の消費を削減することができる。   According to the rotation determination circuit of the sixth motion detection device of the present invention, by storing two types of detection signals and determining whether or not each of the two types of detection signals is a predetermined detection signal. It can be determined whether or not the detected object has made one rotation. Accordingly, the number of processes and the amount of information stored in the rotation determination circuit can be reduced, and power consumption can be reduced.

上記課題を解決するために、本発明の第7の運動検出装置は、上述した本発明の第5の運動検出装置において、前記回転判定回路は、前記各磁界検出部から検出信号が出力されるたびに、今回出力された検出信号と前回出力された検出信号とを比較し、当該比較結果に基づいて前記被検出体の回転量を検出し、前記被検出体の回転量に基づいて前記被検出体が1回転したか否かを判定することを特徴とする。   In order to solve the above-described problem, the seventh motion detection device of the present invention is the above-described fifth motion detection device of the present invention, wherein the rotation determination circuit outputs a detection signal from each of the magnetic field detection units. Each time, the detection signal output this time is compared with the detection signal output last time, the amount of rotation of the detection target is detected based on the comparison result, and the detection target is detected based on the rotation amount of the detection target. It is characterized by determining whether or not the detection body has made one rotation.

本発明の第7の運動検出装置における回転判定回路によれば、被検出体が1回転したか否かの判定に用いる情報として、1つの検出信号と回転量とを記憶すればよい。したがって、各磁界検出部から出力される検出信号のそれぞれを記憶して保持しておき、これら検出信号に基づいて被検出体が1回転したか否かを判定する他の回転判定回路と比較し、情報の記憶量を少なくすることができ、電力の消費を削減することができる。なお、可動部が1回転せずに回転方向の反転を繰り返す場合を考慮に入れると、上記他の回転判定回路においては、被検出体が1回転したか否かの判定に用いる情報として、磁界検出部の個数を超える個数の情報を記憶して同時に保持しておく必要がある。   According to the rotation determination circuit of the seventh motion detection device of the present invention, one detection signal and the rotation amount may be stored as information used for determining whether or not the detected object has made one rotation. Therefore, each detection signal output from each magnetic field detection unit is stored and held, and compared with other rotation determination circuits that determine whether or not the detected object has made one rotation based on these detection signals. The amount of information stored can be reduced, and the power consumption can be reduced. In consideration of the case where the movable part repeats reversal of the rotation direction without making one rotation, the other rotation determination circuit uses a magnetic field as information used for determining whether or not the detected object has made one rotation. It is necessary to store and simultaneously store information exceeding the number of detection units.

上記課題を解決するために、本発明の第8の運動検出装置は、上述した本発明の第5ないし第7のいずれかの運動検出装置において、前記計数回路は、前記回転判定回路から出力された回転判定信号に基づいて前記被検出体の回転数を計数し、前記被検出体の回転数を示す計数値をグレイコードにて出力する計数処理部と、前記計数処理部からグレイコードにて出力された計数値を記憶する計数値記憶部とを備えていることを特徴とする。   In order to solve the above-described problem, an eighth motion detection device according to the present invention is the motion detection device according to any one of the fifth to seventh inventions described above, wherein the counting circuit is output from the rotation determination circuit. A count processing unit that counts the number of rotations of the detected object based on the rotation determination signal and outputs a count value indicating the number of rotations of the detected object in gray code; and from the count processing unit in gray code And a count value storage unit for storing the output count value.

本発明の第8の運動検出装置によれば、計数値をグレイコードで記憶することにより、記憶処理数を減らすことができ、電力の消費を削減することができる。   According to the eighth motion detection device of the present invention, the count value is stored in the Gray code, so that the number of storage processes can be reduced and the power consumption can be reduced.

本発明によれば、電源から電力を供給することなく、被検出体の回転方向を考慮した回転数または周回移動方向を考慮した周回数の計数を行うことができる運動検出装置において、被検出体の回転方向を考慮した回転数または周回移動方向を考慮した周回数の検出の正確性を損なうことなく、運動検出装置の小型化、軽量化、低コスト化を図ることできる。   According to the present invention, in the motion detection device capable of counting the number of rotations considering the rotation direction of the detection object or the number of rotations considering the rotation movement direction without supplying power from the power source, The motion detection device can be reduced in size, weight, and cost without impairing the accuracy of detection of the number of rotations taking into account the rotation direction or the number of rotations taking into account the direction of rotation.

また、本発明によれば、被検出体の回転方向を考慮した回転数または周回移動方向を考慮した周回数の計数を行うことができる運動検出装置において、被検出体の回転方向を考慮した回転数または周回移動方向を考慮した周回数の計数に必要な電力の消費を削減することができる。   Further, according to the present invention, in the motion detection apparatus capable of counting the number of rotations considering the rotation direction of the detection object or the number of rotations considering the rotation direction, the rotation considering the rotation direction of the detection object It is possible to reduce power consumption necessary for counting the number of laps considering the number or the lap movement direction.

本発明の第1の実施形態による回転検出装置を示す正面図である。It is a front view which shows the rotation detection apparatus by the 1st Embodiment of this invention. 図1中の矢示II−II方向から見た本発明の第1の実施形態による回転検出装置を示す断面図である。It is sectional drawing which shows the rotation detection apparatus by the 1st Embodiment of this invention seen from the arrow II-II direction in FIG. 本発明の第1の実施形態による回転検出装置の内部に設けられた各スタンバイ磁石、アウトプット磁石および各磁気センサの配置関係を示す説明図である。It is explanatory drawing which shows the arrangement | positioning relationship of each standby magnet, output magnet, and each magnetic sensor provided in the inside of the rotation detection apparatus by the 1st Embodiment of this invention. 本発明の第1の実施形態による回転検出装置における回路ユニットの構成を示すブロック図である。It is a block diagram which shows the structure of the circuit unit in the rotation detection apparatus by the 1st Embodiment of this invention. 本発明の第1の実施形態による回転検出装置において第1のアルゴリズムに従った回路ユニットの動作を示す説明図である。It is explanatory drawing which shows operation | movement of the circuit unit according to a 1st algorithm in the rotation detection apparatus by the 1st Embodiment of this invention. 本発明の第1の実施形態による回転検出装置において第1のアルゴリズムに従った回路ユニットの処理内容、処理前後の値等を示す説明図である。It is explanatory drawing which shows the processing content of the circuit unit according to a 1st algorithm, the value before and behind a process, etc. in the rotation detection apparatus by the 1st Embodiment of this invention. 本発明の第2の実施形態による回転検出装置における回路ユニットの構成を示すブロック図である。It is a block diagram which shows the structure of the circuit unit in the rotation detection apparatus by the 2nd Embodiment of this invention. 本発明の第2の実施形態による回転検出装置において第2のアルゴリズムに従った回路ユニットの動作を示す説明図である。It is explanatory drawing which shows operation | movement of the circuit unit according to a 2nd algorithm in the rotation detection apparatus by the 2nd Embodiment of this invention. 本発明の第2の実施形態による回転検出装置において第2のアルゴリズムに従った回路ユニットの処理内容、処理前後の値等を示す説明図である。It is explanatory drawing which shows the processing content of the circuit unit according to a 2nd algorithm, the value before and behind a process, etc. in the rotation detection apparatus by the 2nd Embodiment of this invention. 本発明の第3の実施形態による回転検出装置における回路ユニットの構成を示すブロック図である。It is a block diagram which shows the structure of the circuit unit in the rotation detection apparatus by the 3rd Embodiment of this invention. 本発明の第3の実施形態による回転検出装置において第3のアルゴリズムに従った回路ユニットの動作を示す説明図である。It is explanatory drawing which shows operation | movement of the circuit unit according to a 3rd algorithm in the rotation detection apparatus by the 3rd Embodiment of this invention. 本発明の第3の実施形態による回転検出装置において第3のアルゴリズムに従った回路ユニットの処理内容、処理前後の値等を示す説明図である。It is explanatory drawing which shows the processing content of the circuit unit according to a 3rd algorithm, the value before and behind a process, etc. in the rotation detection apparatus by the 3rd Embodiment of this invention. 本発明の第4の実施形態による回転検出装置における回路ユニットの構成を示すブロック図である。It is a block diagram which shows the structure of the circuit unit in the rotation detection apparatus by the 4th Embodiment of this invention. 本発明の第4の実施形態による回転検出装置において第4のアルゴリズムに従った回路ユニットの動作を示す説明図である。It is explanatory drawing which shows operation | movement of the circuit unit according to the 4th algorithm in the rotation detection apparatus by the 4th Embodiment of this invention. 本発明の第4の実施形態による回転検出装置において第4のアルゴリズムに従った回路ユニットの処理内容、処理前後の値等を示す説明図である。It is explanatory drawing which shows the processing content of the circuit unit according to the 4th algorithm, the value before and behind a process, etc. in the rotation detection apparatus by the 4th Embodiment of this invention. 本発明の他の実施形態を示す説明図である。It is explanatory drawing which shows other embodiment of this invention. 本発明の他の実施形態を示す説明図である。It is explanatory drawing which shows other embodiment of this invention. 本発明の他の実施形態を示す断面図である。It is sectional drawing which shows other embodiment of this invention. 本発明の他の実施形態を示す断面図である。It is sectional drawing which shows other embodiment of this invention. 本発明の他の実施形態を示す説明図である。It is explanatory drawing which shows other embodiment of this invention.

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

(第1の実施形態:回転検出装置の構成)
まず、本発明の第1の実施形態について図1ないし図6を参照しながら説明する。図1は、本発明の第1の実施形態である回転検出装置を示し、図2は図1中の矢示II−II方向から見た当該回転検出装置の断面を示している。図1において、本発明の運動検出装置の第1の実施形態である回転検出装置100は、被検出体の回転運動、具体的には、回転方向を考慮した回転数を検出する装置である。回転検出装置100は、様々な被検出体の回転運動を検出することができる。本実施形態では、産業用ロボットの可動部分に設けられたサーボモータの回転軸150を被検出体の一例としてあげる。
(First Embodiment: Configuration of Rotation Detection Device)
First, a first embodiment of the present invention will be described with reference to FIGS. FIG. 1 shows a rotation detection device according to a first embodiment of the present invention, and FIG. 2 shows a cross section of the rotation detection device viewed from the direction of arrows II-II in FIG. In FIG. 1, a rotation detection device 100, which is a first embodiment of the motion detection device of the present invention, is a device that detects the rotational motion of a detected object, specifically, the number of rotations in consideration of the direction of rotation. The rotation detection device 100 can detect the rotational motions of various detected objects. In the present embodiment, a rotation shaft 150 of a servo motor provided in a movable part of an industrial robot is taken as an example of a detected object.

回転検出装置100は、例えば樹脂等により有蓋円筒状に形成されたケーシング11を備えている。ケーシング11には、回転軸150を回転可能に挿通させる挿通孔12が形成されている。ケーシング11は、例えば、図示しない取付部材を介して産業用ロボットに取り付けられ、固定されている。   The rotation detection device 100 includes a casing 11 that is formed in a covered cylindrical shape using, for example, resin. The casing 11 is formed with an insertion hole 12 through which the rotary shaft 150 is rotatably inserted. The casing 11 is attached and fixed to an industrial robot via an attachment member (not shown), for example.

ケーシング11内には可動部13が設けられている。可動部13は例えば樹脂等により円柱状に形成されている。可動部13の中心軸に当たる部分には装着孔14が形成され、可動部13は装着孔14に回転軸150を貫通させることにより、回転軸150に装着されている。また、可動部13は回転軸150に固定されており、回転軸150と共に回転する。   A movable portion 13 is provided in the casing 11. The movable part 13 is formed in a cylindrical shape with, for example, resin. A mounting hole 14 is formed in a portion corresponding to the central axis of the movable portion 13, and the movable portion 13 is mounted on the rotating shaft 150 by passing the rotating shaft 150 through the mounting hole 14. The movable portion 13 is fixed to the rotation shaft 150 and rotates together with the rotation shaft 150.

可動部13の外周部には3つの磁石15、16、17が設けられている。磁石15、16、17のうち、右側および左側に配置されている磁石15、17はそれぞれ、磁界の方向が第1の方向である第1の磁界を発生させる第1の磁界発生部である。磁石15、17は、後述するように磁気センサ1、2、3をスタンバイ状態にする磁石である。以下、上記第1の磁界を「スタンバイ磁界」といい、磁石15、17をそれぞれ「スタンバイ磁石」という。スタンバイ磁石15、17はそれぞれ、図1において手前側がS極となり、奥側がN極となるように可動部13の内部に固定されている。   Three magnets 15, 16, and 17 are provided on the outer peripheral portion of the movable portion 13. Of the magnets 15, 16, and 17, the magnets 15 and 17 disposed on the right side and the left side are first magnetic field generation units that generate a first magnetic field whose magnetic field direction is the first direction. As will be described later, the magnets 15 and 17 are magnets that place the magnetic sensors 1, 2, and 3 in a standby state. Hereinafter, the first magnetic field is referred to as a “standby magnetic field”, and the magnets 15 and 17 are referred to as “standby magnets”, respectively. Each of the standby magnets 15 and 17 is fixed inside the movable portion 13 so that the near side in FIG. 1 is the south pole and the far side is the north pole.

スタンバイ磁石15とスタンバイ磁石17との間に配置されている磁石16は、磁界の方向が第1の方向とは逆である第2の方向である第2の磁界を発生させる第2の磁界発生部である。磁石16は、後述するように磁気センサ1、2、3をアウトプット状態にする磁石である。以下、上記第2の磁界を「アウトプット磁界」といい、磁石16を「アウトプット磁石」という。アウトプット磁石16は、図1において手前側がN極となり、奥側がS極となるように可動部13の内部に固定されている。   The magnet 16 disposed between the standby magnet 15 and the standby magnet 17 generates a second magnetic field that generates a second magnetic field having a second direction opposite to the first direction. Part. As will be described later, the magnet 16 is a magnet that puts the magnetic sensors 1, 2, and 3 into an output state. Hereinafter, the second magnetic field is referred to as an “output magnetic field”, and the magnet 16 is referred to as an “output magnet”. The output magnet 16 is fixed inside the movable portion 13 so that the front side in FIG. 1 is an N pole and the back side is an S pole.

また、ケーシング11内において可動部13の周囲であって、可動部13の外周部近傍の領域には、3つの磁気センサ1、2、3が設けられている。各磁気センサ1、2、3は、大バルクハウゼン効果を生じる磁性素子21と、磁性素子21に巻回されたコイル22とを備えている。   In the casing 11, three magnetic sensors 1, 2, and 3 are provided in a region around the movable portion 13 and in the vicinity of the outer peripheral portion of the movable portion 13. Each of the magnetic sensors 1, 2, and 3 includes a magnetic element 21 that generates a large Barkhausen effect and a coil 22 wound around the magnetic element 21.

各磁気センサ1、2、3の磁性素子21には複合磁気ワイヤが用いられている。一般に、複合磁気ワイヤは、細いワイヤ状の強磁性体である。複合磁気ワイヤは、その外周部は比較的小さな外部磁界の付与によって磁化の方向が変化するのに対し、中心部は比較的大きな外部磁界を付与しなければ磁化の方向が変化しないといった独特な磁気特性を有する一軸異方性の複合磁性体である。複合磁気ワイヤの長手方向と平行な一の方向に、複合磁気ワイヤの中心部の磁化の方向を反転させるのに十分な比較的大きな外部磁界を付与すると、複合磁気ワイヤの中心部の磁化の方向と外周部の磁化の方向とが同じ方向に揃う。その後、複合磁気ワイヤの長手方向と平行であり、上記一の方向とは逆である他の方向に、複合磁気ワイヤの外周部の磁化の方向だけを反転させることができる程度の比較的小さな外部磁界を付与すると、複合磁気ワイヤの中心部の磁化の方向は変化せず、外周部の磁化の方向だけが反転する。この結果、複合磁気ワイヤは、その中心部と外周部とで磁化の方向が異なる状態となり、この状態は外部磁界を取り除いても維持される。   A composite magnetic wire is used for the magnetic element 21 of each of the magnetic sensors 1, 2, and 3. In general, a composite magnetic wire is a thin wire-like ferromagnetic material. The composite magnetic wire has a unique magnetism in which the direction of magnetization changes when a relatively small external magnetic field is applied to the outer periphery, but the direction of magnetization does not change unless a relatively large external magnetic field is applied to the center. It is a uniaxial anisotropic composite magnetic material having characteristics. When a relatively large external magnetic field sufficient to reverse the magnetization direction of the center portion of the composite magnetic wire is applied in one direction parallel to the longitudinal direction of the composite magnetic wire, the magnetization direction of the center portion of the composite magnetic wire And the direction of magnetization of the outer peripheral portion are aligned in the same direction. After that, the outside is relatively small enough to reverse only the magnetization direction of the outer periphery of the composite magnetic wire in another direction that is parallel to the longitudinal direction of the composite magnetic wire and opposite to the one direction. When a magnetic field is applied, the direction of magnetization at the center of the composite magnetic wire does not change, and only the direction of magnetization at the outer periphery is reversed. As a result, the composite magnetic wire is in a state in which the direction of magnetization differs between the central portion and the outer peripheral portion, and this state is maintained even when the external magnetic field is removed.

このように中心部と外周部とで磁化の方向が異なる状態となった複合磁気ワイヤに、上記一の方向に外部磁界をかける。このとき、外部磁界の強さを始めは小さくし、その後、外部磁界の強さを徐々に増加させると、外部磁界の強さがある強度を超えたときに、大バルクハウゼン効果が生じ、複合磁気ワイヤの外周部の磁化の方向が急激に反転する。   Thus, an external magnetic field is applied to the composite magnetic wire in which the magnetization direction is different between the central portion and the outer peripheral portion in the one direction. At this time, if the strength of the external magnetic field is initially reduced and then the strength of the external magnetic field is gradually increased, a large Barkhausen effect occurs when the strength of the external magnetic field exceeds a certain strength, resulting in a composite The direction of magnetization of the outer periphery of the magnetic wire is rapidly reversed.

なお、各磁気センサ1、2、3の磁性素子21は複合磁気ワイヤに限らず、同様の挙動を示す他の種々な磁性素子を用いることができる。例えば、特開平4−218905号公報に開示されているような薄膜状の磁性体を磁性素子として用いることもできる。   In addition, the magnetic element 21 of each magnetic sensor 1, 2, 3 is not limited to a composite magnetic wire, and various other magnetic elements exhibiting the same behavior can be used. For example, a thin film-like magnetic material as disclosed in JP-A-4-218905 can be used as the magnetic element.

各磁気センサ1、2、3の磁性素子21(複合磁気ワイヤ)の外周部は、可動部13が回転することによりスタンバイ磁石15またはスタンバイ磁石17が接近したときにスタンバイ磁界により第1の方向(磁性素子21の中心部の磁化の方向と反対の方向)に磁化される。これにより、磁性素子21は、中心部の磁化の方向と外周部の磁化の方向とが異なる状態となる。ここで、各磁気センサ1、2、3において、磁性素子21の中心部の磁化の方向と外周部の磁化の方向とが異なっている状態を「スタンバイ状態」という。   The outer peripheral portion of the magnetic element 21 (composite magnetic wire) of each of the magnetic sensors 1, 2, and 3 is moved in the first direction by the standby magnetic field when the standby magnet 15 or the standby magnet 17 approaches as the movable portion 13 rotates. The magnetic element 21 is magnetized in the direction opposite to the magnetization direction of the central portion. Thereby, the magnetic element 21 will be in the state from which the direction of magnetization of a center part differs from the direction of magnetization of an outer peripheral part. Here, in each of the magnetic sensors 1, 2, and 3, a state in which the magnetization direction of the central portion of the magnetic element 21 is different from the magnetization direction of the outer peripheral portion is referred to as a “standby state”.

一方、各磁気センサ1、2、3の磁性素子21の外周部は、アウトプット磁石16が接近したときにアウトプット磁界により第2の方向(磁性素子21の中心部の磁化の方向と同じ方向)に磁化される。これにより、磁性素子21は、中心部の磁化の方向と外周部の磁化の方向とが同一の状態となる。ここで、各磁気センサ1、2、3において、磁性素子21の中心部の磁化の方向と外周部の磁化の方向とが同一の状態を「アウトプット状態」という。   On the other hand, the outer periphery of the magnetic element 21 of each of the magnetic sensors 1, 2, 3 is moved in the second direction (the same direction as the magnetization direction of the central portion of the magnetic element 21) by the output magnetic field when the output magnet 16 approaches. ) Is magnetized. Thereby, in the magnetic element 21, the magnetization direction in the central part and the magnetization direction in the outer peripheral part are in the same state. Here, in each of the magnetic sensors 1, 2, and 3, the state in which the magnetization direction of the central portion of the magnetic element 21 is the same as the magnetization direction of the outer peripheral portion is referred to as an “output state”.

そして、各磁気センサ1、2、3がスタンバイ状態からアウトプット状態に変化するときに各磁気センサ1、2、3から検出信号が出力される。すなわち、磁性素子21の外周部の磁化の方向が上記第1の方向から上記第2の方向に変化するときに大バルクハウゼン効果が起こり、このときに生じる起電力により、コイル22からパルス状の検出信号が出力される。   When each of the magnetic sensors 1, 2, and 3 changes from the standby state to the output state, a detection signal is output from each of the magnetic sensors 1, 2, and 3. That is, a large Barkhausen effect occurs when the direction of magnetization of the outer peripheral portion of the magnetic element 21 changes from the first direction to the second direction. A detection signal is output.

また、各磁気センサ1、2、3は、図2に示すように、磁性素子21の一端部が基板23に支持され、他端部がケーシング11の壁部に支持されることによりケーシング11内に固定されている。また、各磁気センサ1、2、3は、磁性素子21の長手方向が、スタンバイ磁石15、17が生成するスタンバイ磁界の方向およびアウトプット磁石16が生成するアウトプット磁界の方向に対して平行となるように配置されている。   In addition, as shown in FIG. 2, each magnetic sensor 1, 2, 3 has one end of the magnetic element 21 supported by the substrate 23 and the other end supported by the wall of the casing 11. It is fixed to. In each of the magnetic sensors 1, 2 and 3, the longitudinal direction of the magnetic element 21 is parallel to the direction of the standby magnetic field generated by the standby magnets 15 and 17 and the direction of the output magnetic field generated by the output magnet 16. It is arranged to be.

さらに、ケーシング11内には、基板23が設けられている。基板23は例えばケーシング11の壁部に固定されている。また、基板23は円板状に形成され、その中心部には回転軸150を回転可能に貫通させる孔部24が形成されている。基板23上には、後述する回路ユニット25およびコネクタ26が設けられている。また、各磁気センサ1、2、3のコイル22は、基板23上の回路ユニット25に電気的に接続されている。また、コネクタ26にケーブル27を接続することにより、後述の回路ユニット25中の計数値記憶部38に記憶された計数値を外部に出力することができる。   Further, a substrate 23 is provided in the casing 11. The board | substrate 23 is being fixed to the wall part of the casing 11, for example. Further, the substrate 23 is formed in a disc shape, and a hole portion 24 through which the rotary shaft 150 is rotatably penetrated is formed at the center thereof. On the substrate 23, a circuit unit 25 and a connector 26, which will be described later, are provided. The coils 22 of the magnetic sensors 1, 2 and 3 are electrically connected to the circuit unit 25 on the substrate 23. Further, by connecting the cable 27 to the connector 26, the count value stored in the count value storage unit 38 in the circuit unit 25 described later can be output to the outside.

(磁石・磁気センサの配置関係)
図3は回転検出装置100の内部に設けられたスタンバイ磁石15、アウトプット磁石16、スタンバイ磁石17と磁気センサ1、2、3との配置関係を示している。図3に示すように、スタンバイ磁石15、アウトプット磁石16およびスタンバイ磁石17は、可動部13の外周部に周方向において所定の間隔Daをもって配置されている。すなわち、スタンバイ磁石15とアウトプット磁石16との間およびアウトプット磁石16とスタンバイ磁石17との間はそれぞれ間隔Daである。一方、各磁気センサ1、2、3は、可動部13の外周部の近傍であって、可動部13が点Pを中心として回転したときの可動部13の外周部の軌跡に沿うように所定の間隔Dbをもって配置されている。すなわち、磁気センサ1と磁気センサ2との間、磁気センサ2と磁気センサ3との間、および磁気センサ3と磁気センサ1との間はそれぞれ間隔Dbである。そして、間隔Daは間隔Dbよりも小さい。例えば、間隔Dbが120度である場合には、間隔Daは、10度ないし110度程度である。なお、図3に示す例では、間隔Daは30度である。
(Relationship between magnet and magnetic sensor)
FIG. 3 shows an arrangement relationship between the standby magnet 15, the output magnet 16, the standby magnet 17 and the magnetic sensors 1, 2, and 3 provided inside the rotation detection device 100. As shown in FIG. 3, the standby magnet 15, the output magnet 16, and the standby magnet 17 are arranged on the outer peripheral portion of the movable portion 13 with a predetermined interval Da in the circumferential direction. That is, the distance Da is between the standby magnet 15 and the output magnet 16 and between the output magnet 16 and the standby magnet 17. On the other hand, each of the magnetic sensors 1, 2, and 3 is in the vicinity of the outer peripheral portion of the movable portion 13 and is predetermined along the locus of the outer peripheral portion of the movable portion 13 when the movable portion 13 rotates around the point P. Are arranged with a distance Db. That is, the distance Db is between the magnetic sensor 1 and the magnetic sensor 2, between the magnetic sensor 2 and the magnetic sensor 3, and between the magnetic sensor 3 and the magnetic sensor 1. The interval Da is smaller than the interval Db. For example, when the distance Db is 120 degrees, the distance Da is about 10 degrees to 110 degrees. In the example shown in FIG. 3, the interval Da is 30 degrees.

また、磁気センサ1、2、3は、可動部13の外側を取り囲むように可動部13の全周に亘って周方向に等間隔に配置することが望ましい。磁気センサ1、2、3をこのように配置することにより、後述の回転判定回路31による回転判定処理を容易にまたは高精度に行うことが可能になる。しかしながら、磁気センサ1、2、3を周方向に等間隔に配置しなくてもよい。磁気センサ1、2、3を周方向に等間隔に配置しなくても、回転判定回路31による回転判定処理を行うことは可能である。もっとも、磁気センサ1、2、3を周方向に等間隔に配置しない場合には、間隔Daを、磁気センサ1、2、3のそれぞれの間隔のうちの最小の間隔よりも小さくなるように設定する。また、磁気センサ1、2、3を可動部13の全周に亘って配置しなくてもよく、例えば可動部13を全周に亘って取り囲む領域のうちの半分の領域内に配置してもよい。   The magnetic sensors 1, 2, and 3 are desirably arranged at equal intervals in the circumferential direction over the entire circumference of the movable part 13 so as to surround the outside of the movable part 13. By arranging the magnetic sensors 1, 2, and 3 in this way, rotation determination processing by the rotation determination circuit 31 described later can be performed easily or with high accuracy. However, the magnetic sensors 1, 2, and 3 need not be arranged at equal intervals in the circumferential direction. Even if the magnetic sensors 1, 2, and 3 are not arranged at equal intervals in the circumferential direction, the rotation determination process by the rotation determination circuit 31 can be performed. However, when the magnetic sensors 1, 2, and 3 are not arranged at equal intervals in the circumferential direction, the interval Da is set to be smaller than the minimum interval among the respective intervals of the magnetic sensors 1, 2, and 3. To do. Further, the magnetic sensors 1, 2, and 3 do not have to be arranged over the entire circumference of the movable part 13, for example, may be arranged in a half of the area surrounding the movable part 13 over the whole circumference. Good.

また、スタンバイ磁石15、アウトプット磁石16、スタンバイ磁石17は等間隔に配置することが望ましく、等間隔に配置することにより、回転判定回路31による回転判定処理を容易にまたは高精度に行うことが可能になる。しかしながら、スタンバイ磁石15、アウトプット磁石16、スタンバイ磁石17は等間隔に配置しなくてもよい。また、スタンバイ磁石15、アウトプット磁石16、スタンバイ磁石17の間隔Daは、各磁気センサ1、2、3の磁性素子21における磁気特性のヒステリシスを考慮に入れて決定することが望ましい。   Further, the standby magnet 15, the output magnet 16, and the standby magnet 17 are desirably arranged at equal intervals, so that the rotation determination process by the rotation determination circuit 31 can be performed easily or with high accuracy. It becomes possible. However, the standby magnet 15, the output magnet 16, and the standby magnet 17 do not have to be arranged at equal intervals. The interval Da between the standby magnet 15, the output magnet 16 and the standby magnet 17 is preferably determined in consideration of the hysteresis of the magnetic characteristics of the magnetic elements 21 of the magnetic sensors 1, 2 and 3.

(可動部、磁石、磁気センサの動作)
以上のような構成を有する回転検出装置100において、可動部13、スタンバイ磁石15、アウトプット磁石16、スタンバイ磁石17および磁気センサ1、2、3は次のように動作する。
(Operation of moving parts, magnets, magnetic sensors)
In the rotation detection device 100 having the above-described configuration, the movable portion 13, the standby magnet 15, the output magnet 16, the standby magnet 17, and the magnetic sensors 1, 2, and 3 operate as follows.

例えば、図3に示す状態が初期状態であるとすると、この初期状態においては、アウトプット磁石16が磁気センサ1と対向し、磁気センサ1に接近した位置にあるため、磁気センサ1は、アウトプット磁石16によりアウトプット磁界が付与され、アウトプット状態となっている。   For example, if the state shown in FIG. 3 is the initial state, in this initial state, the output magnet 16 faces the magnetic sensor 1 and is in a position close to the magnetic sensor 1, so that the magnetic sensor 1 is output. An output magnetic field is applied by the magnet 16, and an output state is obtained.

この状態において、例えば電源が入っていない産業用ロボットの可動部分に外力が加わり、当該産業用ロボットに設けられたサーボモータの回転軸150が上記外力により右方向に回転し始めたとすると、これに伴って回転検出装置100の可動部13も右方向に回転し始める。そして、可動部13が初期状態から右方向に30度程度回転すると、スタンバイ磁石15が磁気センサ1に接近する。この結果、磁気センサ1は、スタンバイ磁石15によりスタンバイ磁界が付与され、スタンバイ状態となる。   In this state, for example, if an external force is applied to a movable part of an industrial robot that is not turned on, and the rotation shaft 150 of the servo motor provided in the industrial robot starts to rotate rightward due to the external force, Along with this, the movable portion 13 of the rotation detection device 100 also starts to rotate in the right direction. Then, when the movable portion 13 rotates about 30 degrees rightward from the initial state, the standby magnet 15 approaches the magnetic sensor 1. As a result, the magnetic sensor 1 is applied with a standby magnetic field by the standby magnet 15 and enters a standby state.

可動部13の右方向の回転が継続し、可動部13が初期状態から右方向に90度程度回転すると、スタンバイ磁石17が磁気センサ2に接近する。この結果、磁気センサ2は、スタンバイ磁石17によりスタンバイ磁界が付与され、スタンバイ状態となる。   When the movable part 13 continues to rotate in the right direction and the movable part 13 rotates about 90 degrees rightward from the initial state, the standby magnet 17 approaches the magnetic sensor 2. As a result, the magnetic sensor 2 is applied with a standby magnetic field by the standby magnet 17 and enters a standby state.

可動部13の右方向の回転が継続し、可動部13が初期状態から右方向に120度程度回転すると、アウトプット磁石16が磁気センサ2に接近する。この結果、磁気センサ2は、アウトプット磁石16によりアウトプット磁界が付与され、アウトプット状態となる。このとき、磁気センサ2から検出信号が出力される。   When the movable part 13 continues to rotate in the right direction and the movable part 13 rotates about 120 degrees rightward from the initial state, the output magnet 16 approaches the magnetic sensor 2. As a result, the magnetic sensor 2 is provided with an output magnetic field by the output magnet 16 and enters an output state. At this time, a detection signal is output from the magnetic sensor 2.

可動部13の右方向の回転が継続し、可動部13が初期状態から右方向に150度程度回転すると、スタンバイ磁石15が磁気センサ2に接近する。この結果、磁気センサ2は、スタンバイ磁石15によりスタンバイ磁界が付与され、スタンバイ状態に戻る。   When the movable unit 13 continues to rotate in the right direction and the movable unit 13 rotates about 150 degrees rightward from the initial state, the standby magnet 15 approaches the magnetic sensor 2. As a result, the magnetic sensor 2 is given a standby magnetic field by the standby magnet 15 and returns to the standby state.

可動部13の右方向の回転が継続し、可動部13が初期状態から右方向に210度程度回転すると、スタンバイ磁石17が磁気センサ3に接近する。この結果、磁気センサ3は、スタンバイ磁石17によりスタンバイ磁界が付与され、スタンバイ状態となる。   When the movable portion 13 continues to rotate in the right direction and the movable portion 13 rotates to the right by about 210 degrees from the initial state, the standby magnet 17 approaches the magnetic sensor 3. As a result, the magnetic sensor 3 is applied with a standby magnetic field by the standby magnet 17 and enters a standby state.

可動部13の右方向の回転が継続し、可動部13が初期状態から右方向に240度程度回転すると、アウトプット磁石16が磁気センサ3に接近する。この結果、磁気センサ3は、アウトプット磁石16によりアウトプット磁界が付与され、アウトプット状態となる。このとき、磁気センサ3から検出信号が出力される。   When the movable part 13 continues to rotate in the right direction and the movable part 13 rotates about 240 degrees rightward from the initial state, the output magnet 16 approaches the magnetic sensor 3. As a result, the magnetic sensor 3 is provided with an output magnetic field by the output magnet 16 and enters an output state. At this time, a detection signal is output from the magnetic sensor 3.

可動部13の右方向の回転が継続し、可動部13が初期状態から右方向に270度程度回転すると、スタンバイ磁石15が磁気センサ3に接近する。この結果、磁気センサ3は、スタンバイ磁石15によりスタンバイ磁界が付与され、スタンバイ状態に戻る。   When the movable unit 13 continues to rotate in the right direction and the movable unit 13 rotates to the right by about 270 degrees from the initial state, the standby magnet 15 approaches the magnetic sensor 3. As a result, the magnetic sensor 3 is applied with a standby magnetic field by the standby magnet 15 and returns to the standby state.

可動部13の右方向の回転が継続し、可動部13が初期状態から右方向に330度程度回転すると、スタンバイ磁石17が磁気センサ1に接近する。この結果、磁気センサ1は、スタンバイ磁石17によりスタンバイ磁界が付与される。このとき、磁気センサ1は既にスタンバイ状態であるので、スタンバイ状態が維持される。   When the movable part 13 continues to rotate in the right direction and the movable part 13 rotates about 330 degrees rightward from the initial state, the standby magnet 17 approaches the magnetic sensor 1. As a result, the magnetic sensor 1 is given a standby magnetic field by the standby magnet 17. At this time, since the magnetic sensor 1 is already in the standby state, the standby state is maintained.

可動部13の右方向の回転が継続し、可動部13が初期状態から右方向に360度程度回転すると、アウトプット磁石16が磁気センサ1に接近する。この結果、磁気センサ1は、アウトプット磁石16によりアウトプット磁界が付与され、アウトプット状態となる。このとき、磁気センサ1から検出信号が出力される。   When the movable part 13 continues to rotate in the right direction and the movable part 13 rotates about 360 degrees rightward from the initial state, the output magnet 16 approaches the magnetic sensor 1. As a result, the magnetic sensor 1 is provided with an output magnetic field by the output magnet 16 and enters an output state. At this time, a detection signal is output from the magnetic sensor 1.

可動部13の右方向の回転が継続し、可動部13が初期状態から右方向に390度程度回転すると、スタンバイ磁石15が磁気センサ1に接近する。この結果、磁気センサ1は、スタンバイ磁石15によりスタンバイ磁界が付与され、スタンバイ状態に戻る。   When the movable unit 13 continues to rotate in the right direction and the movable unit 13 rotates to the right from the initial state by about 390 degrees, the standby magnet 15 approaches the magnetic sensor 1. As a result, the magnetic sensor 1 is applied with a standby magnetic field by the standby magnet 15 and returns to the standby state.

回転軸150が左方向に回転し、これに伴って可動部13が左方向に回転した場合も、可動部13、スタンバイ磁石15、アウトプット磁石16、スタンバイ磁石17および磁気センサ1、2、3は、回転軸150が右方向に回転した場合とほぼ同様に動作する。   Even when the rotary shaft 150 rotates to the left and the movable portion 13 rotates to the left along with this, the movable portion 13, the standby magnet 15, the output magnet 16, the standby magnet 17, and the magnetic sensors 1, 2, 3 Operates in substantially the same manner as when the rotating shaft 150 rotates in the right direction.

ここで、回転検出装置100のこのような動作において着目すべき点は、例えば可動部13の右方向の回転に伴ってアウトプット磁石16が磁気センサ1から離れ、その隣に配置された磁気センサ2に接近する前に、スタンバイ磁石15が磁気センサ1に接近することである。これにより、磁気センサ2がアウトプット状態になる前に、磁気センサ1が必ずスタンバイ状態になる。同様に、可動部13が右方向の回転を継続し、アウトプット磁石16が磁気センサ2から離れ、その隣に配置された磁気センサ3に接近する前に、スタンバイ磁石15が磁気センサ2に接近する。これにより、磁気センサ3がアウトプット状態になる前に、磁気センサ2が必ずスタンバイ状態になる。この結果、3つの磁気センサ1、2、3のうちの2つの磁気センサは常にスタンバイ状態となっている。可動部13が左方向に回転した場合も、同様に、3つの磁気センサ1、2、3のうちの2つの磁気センサは常にスタンバイ状態となっている。   Here, a point to be noted in such an operation of the rotation detection device 100 is that, for example, the output magnet 16 moves away from the magnetic sensor 1 as the movable portion 13 rotates in the right direction, and the magnetic sensor disposed next to the output magnet 16. The standby magnet 15 approaches the magnetic sensor 1 before approaching 2. Thereby, before the magnetic sensor 2 will be in an output state, the magnetic sensor 1 will necessarily be in a standby state. Similarly, the standby magnet 15 approaches the magnetic sensor 2 before the movable portion 13 continues to rotate in the right direction, and the output magnet 16 moves away from the magnetic sensor 2 and approaches the magnetic sensor 3 disposed adjacent thereto. To do. Thereby, before the magnetic sensor 3 is in the output state, the magnetic sensor 2 is always in the standby state. As a result, two of the three magnetic sensors 1, 2, and 3 are always in a standby state. Similarly, when the movable portion 13 rotates to the left, two of the three magnetic sensors 1, 2, and 3 are always in a standby state.

したがって、可動部13が右方向にいかに回転しようが、左方向にいかに回転しようが、3つの磁気センサ1、2、3のうち2つの磁気センサは、常に、将来、アウトプット磁石16が接近したときに検出信号を出力することができる状態にあるので、可動部13が1回転せずに回転方向の反転を繰り返す運動を行ったとしても、アウトプット磁石16が、3つの磁気センサ1、2、3のうち互いの隣り合う2つの磁気センサ間を移動しさえすれば、少なくともこれらのうちのいずれか一方の磁気センサから検出信号が出力される。したがって、回転軸150の回転状態を常時正確に把握することができる。   Therefore, no matter how the movable part 13 rotates in the right direction or how it rotates in the left direction, two of the three magnetic sensors 1, 2, and 3 always have the output magnet 16 approaching in the future. Since the detection signal can be output from time to time, even if the movable portion 13 performs a repetitive reversal of the rotation direction without making one rotation, the output magnet 16 has three magnetic sensors 1 and 2. As long as it moves between two magnetic sensors adjacent to each other among the three, a detection signal is output from at least one of the magnetic sensors. Therefore, the rotational state of the rotating shaft 150 can be always accurately grasped.

よって、回転検出装置100によれば、3つの磁気センサ1、2、3により、回転軸150の回転方向を考慮した回転数の検出を正確に行うことができる。すなわち、回転軸150の回転方向を考慮した回転数の検出の正確性を損なうことなく、磁気センサの個数を3つまで減らし、回転検出装置100の小型化、軽量化、低コスト化を図ることできる。   Therefore, according to the rotation detection device 100, the three magnetic sensors 1, 2, and 3 can accurately detect the rotation number in consideration of the rotation direction of the rotation shaft 150. That is, the number of magnetic sensors can be reduced to three without impairing the accuracy of detection of the rotational speed in consideration of the rotational direction of the rotary shaft 150, and the rotational detector 100 can be reduced in size, weight, and cost. it can.

(回路ユニットの構成と動作)
図4は、回転検出装置100における回路ユニット25の構成を示している。図4に示す回路ユニット25は、磁気センサ1、2、3から出力される検出信号に基づいて回転軸150の回転状態、具体的には回転軸150の回転方向を考慮した回転数を検出する回路ユニットであり、上述したように、基板23上に設けられている(図1参照)。
(Configuration and operation of circuit unit)
FIG. 4 shows the configuration of the circuit unit 25 in the rotation detection device 100. The circuit unit 25 shown in FIG. 4 detects the number of rotations in consideration of the rotation state of the rotating shaft 150, specifically the rotating direction of the rotating shaft 150, based on detection signals output from the magnetic sensors 1, 2, and 3. As described above, the circuit unit is provided on the substrate 23 (see FIG. 1).

回路ユニット25は、次に説明する第1のアルゴリズムに従って回転軸150の回転数を計数する。すなわち、第1のアルゴリズムにおいては、磁気センサ1、2、3のうちのいずれかから出力された検出信号に対応する信号値を、原則として、現在から過去に遡って連続4回分記憶する。ただし、磁気センサ1、2、3のうちのいずれかから検出信号が出力されたときに、この今回出力された検出信号に対応する信号値と前回記憶した信号値とが同一である場合には、今回出力された検出信号に対応する信号値は記憶しない(第1の例外)。また、磁気センサ1、2、3のうちのいずれかから検出信号が出力されたときに、この今回出力された検出信号に対応する信号値と前回記憶した信号値とから構成される配列と同一の配列が既に記憶されている場合には、今回出力された検出信号に対応する信号値は記憶しない(第2の例外)。このようにして記憶された4回分の信号値は、回転軸150の回転の軌跡を表す。そこで、磁気センサ1、2、3のうち基準となる磁気センサ、例えば磁気センサ1から検出信号が出力されるたびに、当該4回分の信号値の内容を認識し、当該認識結果から、回転軸150が1回転したか否か、および回転軸150が1回転した方向が右方向か左方向かを判定する。そして、判定の結果、回転軸150が右方向に1回転した場合には、回転軸150の回転数を示す計数値を1増加させ、回転軸150が左方向に1回転した場合には、当該計数値を1減少させる。   The circuit unit 25 counts the number of rotations of the rotating shaft 150 according to a first algorithm described below. That is, in the first algorithm, in principle, the signal value corresponding to the detection signal output from any one of the magnetic sensors 1, 2, 3 is stored four times continuously from the present to the past. However, when a detection signal is output from any one of the magnetic sensors 1, 2, 3 and the signal value corresponding to the detection signal output this time is the same as the previously stored signal value, The signal value corresponding to the detection signal output this time is not stored (first exception). In addition, when a detection signal is output from any one of the magnetic sensors 1, 2, and 3, the same arrangement as the signal value corresponding to the detection signal output this time and the previously stored signal value is used. Is already stored, the signal value corresponding to the detection signal output this time is not stored (second exception). The signal values for four times stored in this way represent the locus of rotation of the rotating shaft 150. Therefore, every time a detection signal is output from a magnetic sensor serving as a reference among the magnetic sensors 1, 2, and 3, for example, the magnetic sensor 1, the contents of the signal values for the four times are recognized, and from the recognition result, the rotation axis It is determined whether or not 150 has made one rotation and whether the direction in which the rotation shaft 150 has made one rotation is the right direction or the left direction. As a result of the determination, when the rotation shaft 150 makes one rotation in the right direction, the count value indicating the number of rotations of the rotation shaft 150 is increased by 1. When the rotation shaft 150 makes one rotation in the left direction, Decrease the count by one.

このような第1のアルゴリズムを実施する回路ユニット25は、図4に示すように、回転判定回路31および計数回路32を備えている。   As shown in FIG. 4, the circuit unit 25 that implements such a first algorithm includes a rotation determination circuit 31 and a counting circuit 32.

回転判定回路31は、回転軸150が1回転したか否かを判定する処理、すなわち回転判定処理を行う回路であり、判定処理部33および検出信号記憶部34を備えている。   The rotation determination circuit 31 is a circuit that performs a process for determining whether or not the rotation shaft 150 has made one rotation, that is, a rotation determination process, and includes a determination processing unit 33 and a detection signal storage unit 34.

判定処理部33は、磁気センサ1、2、3から出力される検出信号に基づいて回転軸150が1回転したか否かを判定し、回転軸150が1回転するごとに、回転軸150が1回転したことを示す回転判定信号を出力する演算処理回路である。判定処理部33には、各磁気センサ1、2、3のコイル22が例えば別々の入力端子を介してそれぞれ接続されている。これにより、判定処理部33は、各磁気センサ1、2、3から出力された検出信号を受け取ったとき、当該検出信号が磁気センサ1、2、3のうちのいずれの磁気センサから出力されたものであるかを認識することができる。また、判定処理部33は、検出信号記憶部43を制御し、磁気センサ1、2、3から出力された検出信号にそれぞれ対応する信号値の記憶、読み取り、消去を行うことができる。また、判定処理部33は、磁気センサ1、2、3から出力された検出信号に対応する信号値、および検出信号記憶部34から読み取った信号値をそれぞれ認識し、当該認識結果により回転軸150が右方向に1回転したか否か、左方向に1回転したか否かを判定し、回転軸150が右方向に1回転したときと、回転軸150が左方向に1回転したときで互いに異なる回転判定信号を出力する。   The determination processing unit 33 determines whether or not the rotation shaft 150 has made one rotation based on the detection signals output from the magnetic sensors 1, 2, and 3. It is an arithmetic processing circuit that outputs a rotation determination signal indicating that one rotation has occurred. For example, the coils 22 of the magnetic sensors 1, 2, and 3 are connected to the determination processing unit 33 via, for example, separate input terminals. Thereby, when the determination processing unit 33 receives the detection signal output from each of the magnetic sensors 1, 2, and 3, the detection signal is output from any of the magnetic sensors 1, 2, and 3. You can recognize whether it is a thing. Further, the determination processing unit 33 can control the detection signal storage unit 43 to store, read, and erase signal values corresponding to the detection signals output from the magnetic sensors 1, 2, and 3, respectively. Further, the determination processing unit 33 recognizes the signal value corresponding to the detection signal output from the magnetic sensors 1, 2, and 3 and the signal value read from the detection signal storage unit 34, and the rotating shaft 150 is recognized based on the recognition result. It is determined whether or not the rotation shaft has made one rotation in the right direction and one rotation in the left direction. When the rotation shaft 150 makes one rotation in the right direction and when the rotation shaft 150 makes one rotation in the left direction, A different rotation judgment signal is output.

検出信号記憶部34は、磁気センサ1、2、3から出力された検出信号に対応する信号値を記憶する記憶回路である。検出信号記憶部34は少なくとも4つの信号値を同時に記憶することができる記憶容量を有している。   The detection signal storage unit 34 is a storage circuit that stores signal values corresponding to the detection signals output from the magnetic sensors 1, 2, and 3. The detection signal storage unit 34 has a storage capacity capable of storing at least four signal values simultaneously.

計数回路32は、回転軸150の回転数を計数する回路であり、計数処理部36および計数値記憶部38を備えている。   The counting circuit 32 is a circuit that counts the number of rotations of the rotary shaft 150, and includes a count processing unit 36 and a count value storage unit 38.

計数処理部36は、回転判定回路31の判定処理部33から出力された回転判定信号に基づいて回転軸150の回転数を計数し、回転軸150の回転数を示す計数値を出力する回路である。すなわち、計数処理部36は、回転判定回路31の判定処理部33から回転判定信号を受け取り、当該回転判定信号から、回転軸150が右方向に1回転したか、左方向に1回転したかを認識する。また、計数処理部36は、計数値記憶部38から計数値を読み取る。そして、計数処理部36は、回転軸150が右方向に1回転した場合には当該読み取った計数値を1増加させ、回転軸150が左方向に1回転した場合には当該読み取った計数値を1減少させ、1増加または1減少させた計数値を計数値記憶部38に記憶させる。また、計数処理部36は、計数値記憶部38から計数値を読み出し、当該計数値を外部に出力することができる。   The count processing unit 36 is a circuit that counts the number of rotations of the rotating shaft 150 based on the rotation determination signal output from the determination processing unit 33 of the rotation determining circuit 31 and outputs a count value indicating the number of rotations of the rotating shaft 150. is there. That is, the count processing unit 36 receives the rotation determination signal from the determination processing unit 33 of the rotation determination circuit 31 and determines from the rotation determination signal whether the rotation shaft 150 has made one rotation in the right direction or one rotation in the left direction. recognize. The count processing unit 36 reads the count value from the count value storage unit 38. Then, the count processing unit 36 increments the read count value by 1 when the rotating shaft 150 rotates once in the right direction, and counts the read count value when the rotating shaft 150 rotates once in the left direction. The count value decreased by one and incremented by one or decreased by one is stored in the count value storage unit. Further, the count processing unit 36 can read the count value from the count value storage unit 38 and output the count value to the outside.

計数値記憶部38は、計数処理部36から出力された計数値を記憶する記憶回路である。   The count value storage unit 38 is a storage circuit that stores the count value output from the count processing unit 36.

ここで、計数処理部36は、回転軸150の回転数を示す計数値をグレイコードにて出力する。そして、計数値記憶部38は、計数処理部36からグレイコードにて出力された計数値、すなわち計数値のグレイコードを記憶する。このように、計数値をグレイコードで記憶させることによって、計数値を記憶させる際に変化させるビット数を減らすことができ、これにより記憶に係る処理数を減らすことができる。したがって、電力の消費を削減することができる。   Here, the count processing unit 36 outputs a count value indicating the number of rotations of the rotary shaft 150 in gray code. The count value storage unit 38 stores the count value output by the gray code from the count processing unit 36, that is, the gray code of the count value. In this way, by storing the count value as a Gray code, the number of bits to be changed when the count value is stored can be reduced, thereby reducing the number of processes related to storage. Therefore, power consumption can be reduced.

さらに、回路ユニット25は電源電圧生成回路39を備えている。電源電圧生成回路39は、磁気センサ1、2、3から出力される検出信号から電源電圧を生成する回路であり、例えば整流回路および平滑回路を備えている。回転判定回路31および計数回路32は、電源電圧生成回路39により生成された電源電圧により動作する。   Further, the circuit unit 25 includes a power supply voltage generation circuit 39. The power supply voltage generation circuit 39 is a circuit that generates a power supply voltage from detection signals output from the magnetic sensors 1, 2, and 3, and includes, for example, a rectifier circuit and a smoothing circuit. The rotation determination circuit 31 and the counting circuit 32 operate with the power supply voltage generated by the power supply voltage generation circuit 39.

図5および図6は、第1のアルゴリズムに従った回路ユニット25の具体的な動作を示している。説明の便宜上、磁気センサ1から出力される検出信号に対応する信号値を「1」とし、磁気センサ2から出力される検出信号に対応する信号値を「2」とし、磁気センサ3から出力される検出信号に対応する信号値を「3」とする。また、上記4回分の信号値は、2進数で表現した場合に8ビットからなる1つのビット列として取り扱われるものとする。すなわち、磁気センサ1、2、3のうちのいずれかから今回出力された検出信号に対応する今回の信号値には、8ビットのビット列のうちの第0ビット(LSB)および第1ビットが割り当てられ、1回前の信号値には第2ビットおよび第3ビットが割り当てられ、2回前の信号値には第4ビットおよび第5ビットが割り当てられ、3回前の信号値には第6ビットおよび第7ビット(MSB)が割り当てられるものとする。以下、上記4回分の信号値として取り扱われる8ビットのビット列を「信号値配列」という。   5 and 6 show specific operations of the circuit unit 25 according to the first algorithm. For convenience of explanation, the signal value corresponding to the detection signal output from the magnetic sensor 1 is “1”, the signal value corresponding to the detection signal output from the magnetic sensor 2 is “2”, and is output from the magnetic sensor 3. The signal value corresponding to the detected signal is “3”. The signal values for the four times are treated as one bit string of 8 bits when expressed in binary. That is, the 0th bit (LSB) and the 1st bit of the 8-bit bit string are assigned to the current signal value corresponding to the detection signal output this time from any one of the magnetic sensors 1, 2, and 3. The second and third bits are assigned to the previous signal value, the fourth and fifth bits are assigned to the previous signal value, and the sixth and sixth bits are assigned to the previous signal value. Bit and 7th bit (MSB) shall be assigned. Hereinafter, the 8-bit bit string treated as the signal values for the four times is referred to as a “signal value array”.

また、図6に示す表において、最も左側の第1列はステップ番号を示している。回路ユニット25は、磁気センサ1、2、3のいずれかから検出信号が出力されるたびに回転判定処理等を実行する。磁気センサ1、2、3のうちのいずれかから1つの検出信号が出力されたとき、これに応じて回路ユニット25が実行する一連の処理を1ステップとする。また、図6中の第2列は検出信号に対応する信号値を示し、第3列は判定処理部33による処理前の信号値配列を示し、第4列は判定処理部33による処理内容を示し、第5列は判定処理部33による処理後の信号値配列を示し、第6列は判定処理部33による判定結果を示し、最も右側の第7列は計数処理部36による処理後の計数値を示している。   In the table shown in FIG. 6, the leftmost first column indicates a step number. The circuit unit 25 executes rotation determination processing and the like each time a detection signal is output from any one of the magnetic sensors 1, 2, and 3. When one detection signal is output from any one of the magnetic sensors 1, 2, and 3, a series of processes executed by the circuit unit 25 according to the detection signal is defined as one step. The second column in FIG. 6 shows signal values corresponding to the detection signal, the third column shows a signal value array before processing by the determination processing unit 33, and the fourth column shows processing contents by the determination processing unit 33. The fifth column shows the signal value array after processing by the determination processing unit 33, the sixth column shows the determination result by the determination processing unit 33, and the rightmost seventh column is the total after processing by the counting processing unit 36. Numerical values are shown.

図6中のステップS1は初期状態である。初期状態においては、アウトプット磁石16が磁気センサ1と対向した位置にある(図5参照)。そして、検出信号記憶部34には信号値配列の初期値として「1000」が記憶されている。   Step S1 in FIG. 6 is an initial state. In the initial state, the output magnet 16 is at a position facing the magnetic sensor 1 (see FIG. 5). The detection signal storage unit 34 stores “1000” as an initial value of the signal value array.

ステップS2において、回転軸150の右方向の回転に伴って可動部13が初期状態から右方向に120度回転し、これにより磁気センサ2から検出信号が出力されたとき、判定処理部33は、検出信号記憶部34に記憶された信号値配列「1000」を読み取り、当該読み取った信号値配列を2ビット右シフトし、磁気センサ2から今回出力された検出信号に対応する信号値「2」(2進数では「10」)を信号値配列の第1ビットおよび第2ビットに入れる。これにより信号値配列は「2100」(2進数では「10010000」)となる。続いて、判定処理部33は当該信号値配列を検出信号記憶部34に記憶(上書き)する。   In step S <b> 2, when the movable unit 13 rotates 120 degrees to the right from the initial state as the rotation shaft 150 rotates in the right direction, and the detection signal is output from the magnetic sensor 2, the determination processing unit 33 The signal value array “1000” stored in the detection signal storage unit 34 is read, the read signal value array is shifted to the right by 2 bits, and the signal value “2” ( "10" in binary number) is placed in the first and second bits of the signal value array. As a result, the signal value array becomes “2100” (“10010000” in binary). Subsequently, the determination processing unit 33 stores (overwrites) the signal value array in the detection signal storage unit 34.

ステップS3において、回転軸150の右方向の回転が継続し、これに伴って可動部13がステップS2の状態から右方向に120度回転し、磁気センサ3から検出信号が出力されたとき、判定処理部33は、検出信号記憶部34に記憶された信号値配列「2100」を読み取り、当該読み取った信号値配列を2ビット右シフトし、磁気センサ3から今回出力された検出信号に対応する信号値「3」(2進数では「11」)を信号値配列の第1ビットおよび第2ビットに入れる。これにより信号値配列は「3210」(2進数では「11100100」)となる。続いて、判定処理部33は当該信号値配列を検出信号記憶部34に記憶する。   In step S3, when the rotation of the rotation shaft 150 in the right direction is continued and the movable unit 13 is rotated 120 degrees in the right direction from the state in step S2, and the detection signal is output from the magnetic sensor 3, the determination is made. The processing unit 33 reads the signal value array “2100” stored in the detection signal storage unit 34, right-shifts the read signal value array by 2 bits, and outputs a signal corresponding to the detection signal output from the magnetic sensor 3 this time. The value “3” (“11” in binary) is placed in the first and second bits of the signal value array. As a result, the signal value array becomes “3210” (“11100100” in binary). Subsequently, the determination processing unit 33 stores the signal value array in the detection signal storage unit 34.

ステップS4において、回転軸150の右方向の回転が継続し、これに伴って可動部13がステップS3の状態から右方向に120度回転し、磁気センサ1から検出信号が出力されたとき、判定処理部33は、検出信号記憶部34に記憶された信号値配列「3210」を読み取り、当該読み取った信号値配列に基づいて、回転軸150が右方向または左方向に1回転したか否かを判定する。すなわち、判定処理部33は、磁気センサ1、2、3のうち基準となる磁気センサ1から検出信号が出力されたときには、回転軸150が右方向または左方向に1回転したか否かを判定する処理を行う。この判定処理において、判定処理部33は、信号値配列が「3210」または「0321」の場合に、回転軸150が右方向に1回転したと判定し、信号値配列が「2310」または「0231」の場合に、回転軸150が左方向に1回転したと判定し、信号値配列がこれら以外の場合には、回転軸150は1回転していないと判定する。図6中のステップS4において信号値配列は「3210」であるので、判定処理部33は、回転軸150が右方向に1回転したと判定し、その旨を示す回転判定信号を出力する。そして、判定処理部33は、読み取った信号値配列「3210」を消去して、信号値配列「1000」を検出信号記憶部34に記憶する。また、判定処理部33から当該回転判定信号が出力されると、これに応じて計数処理部36が計数値記憶部38から計数値を読み取り、当該読み取った計数値を1増加させ、当該1増加させた計数値を計数値記憶部38に記憶(上書き)する。   In step S4, when the rotation of the rotary shaft 150 continues in the right direction, the movable unit 13 rotates 120 degrees in the right direction from the state of step S3, and the detection signal is output from the magnetic sensor 1. The processing unit 33 reads the signal value array “3210” stored in the detection signal storage unit 34 and, based on the read signal value array, determines whether or not the rotation shaft 150 has made one rotation rightward or leftward. judge. That is, when the detection signal is output from the magnetic sensor 1 serving as a reference among the magnetic sensors 1, 2, and 3, the determination processing unit 33 determines whether or not the rotating shaft 150 has made one rotation in the right or left direction. Perform the process. In this determination processing, when the signal value array is “3210” or “0321”, the determination processing unit 33 determines that the rotation shaft 150 has made one right turn, and the signal value array is “2310” or “0231”. ”, It is determined that the rotation shaft 150 has made one rotation in the left direction. If the signal value array is other than these, it is determined that the rotation shaft 150 has not made one rotation. Since the signal value array is “3210” in step S4 in FIG. 6, the determination processing unit 33 determines that the rotation shaft 150 has made one rotation in the right direction, and outputs a rotation determination signal indicating that. Then, the determination processing unit 33 deletes the read signal value array “3210” and stores the signal value array “1000” in the detection signal storage unit 34. Further, when the rotation determination signal is output from the determination processing unit 33, the count processing unit 36 reads the count value from the count value storage unit 38 in response to this, increases the read count value by 1, and increases the 1 increase. The count value thus stored is stored (overwritten) in the count value storage unit 38.

ステップS5において、回転軸150の右方向の回転が継続し、これに伴って可動部13がステップS4の状態から右方向に120度回転し、これにより磁気センサ2から検出信号が出力されたとき、判定処理部33は、ステップS2と同様の処理を行う。この結果、検出信号記憶部34に記憶された信号値配列は「2100」となる。   In Step S5, when the rotation of the rotating shaft 150 continues in the right direction, the movable portion 13 rotates 120 degrees in the right direction from the state of Step S4, and thereby the detection signal is output from the magnetic sensor 2. The determination processing unit 33 performs the same process as in step S2. As a result, the signal value array stored in the detection signal storage unit 34 is “2100”.

ステップS6において、回転軸150の右方向の回転が継続し、これに伴って可動部13がステップS5の状態から右方向に120度回転し、これにより磁気センサ3から検出信号が出力されたとき、判定処理部33は、ステップS3と同様の処理を行う。この結果、検出信号記憶部34に記憶された信号値配列は「3210」となる。   In Step S6, when the rotation of the rotating shaft 150 continues in the right direction, the movable portion 13 rotates 120 degrees in the right direction from the state of Step S5, and thereby the detection signal is output from the magnetic sensor 3. The determination processing unit 33 performs the same process as in step S3. As a result, the signal value array stored in the detection signal storage unit 34 is “3210”.

ステップS7において、回転軸150の回転方向が右方向から左方向に反転し、これに伴って可動部13がステップS6の状態から左方向に120度回転し、これにより磁気センサ2から検出信号が出力されたとき、判定処理部33は、検出信号記憶部34に記憶された信号値配列「3210」を読み取り、当該読み取った信号値配列を2ビット右シフトし、磁気センサ2から今回出力された検出信号に対応する信号値「2」を信号値配列の第1ビットおよび第2ビットに入れる。これにより信号値配列は「2321」となる。続いて、判定処理部33は当該信号値配列を検出信号記憶部34に記憶する。   In step S7, the rotation direction of the rotating shaft 150 is reversed from the right direction to the left direction, and accordingly, the movable portion 13 is rotated 120 degrees in the left direction from the state of step S6. When output, the determination processing unit 33 reads the signal value array “3210” stored in the detection signal storage unit 34, right-shifts the read signal value array by 2 bits, and is output from the magnetic sensor 2 this time. The signal value “2” corresponding to the detection signal is input to the first bit and the second bit of the signal value array. As a result, the signal value array becomes “2321”. Subsequently, the determination processing unit 33 stores the signal value array in the detection signal storage unit 34.

ステップS8において、回転軸150の回転方向が左方向から右方向に戻り、これに伴って可動部13がステップS7の状態から右方向に120度回転し、これにより磁気センサ3から検出信号が出力されたとき、判定処理部33は、検出信号記憶部34に記憶された信号値配列「2321」を読み取る。続いて、判定処理部33は、信号値配列の第1ビットおよび第2ビットに「0」を入れる。これにより信号値配列は「0231」となる。続いて、判定処理部33は当該信号値配列を検出信号記憶部34に記憶する。この処理は、上記第1のアルゴリズムの第2の例外を実現するための処理である。すなわち、上記第1のアルゴリズムによれば、磁気センサ1、2、3のうちのいずれかから検出信号が出力されたときに、この今回出力された検出信号に対応する信号値と前回記憶した信号値とから構成される配列と同一の配列が既に記憶されている場合には、今回出力された検出信号に対応する信号値は記憶しない(第2の例外)。ステップS8において、磁気センサ3から出力された検出信号に対応する信号値は「3」であり、前回記憶した信号値は「2」であり、両者により構成される配列は「32」である。そして、ステップS8において判定処理部33が検出信号記憶部34から読み取った信号値配列は「2321」であり、これには「32」が含まれている。したがって、ステップS8において判定処理部33は、磁気センサ3から出力された検出信号に対応する信号値「3」を記憶しない。   In step S8, the rotation direction of the rotary shaft 150 returns from the left direction to the right direction, and accordingly, the movable portion 13 rotates 120 degrees in the right direction from the state of step S7, thereby outputting a detection signal from the magnetic sensor 3. Then, the determination processing unit 33 reads the signal value array “2321” stored in the detection signal storage unit 34. Subsequently, the determination processing unit 33 puts “0” in the first bit and the second bit of the signal value array. As a result, the signal value array becomes “0231”. Subsequently, the determination processing unit 33 stores the signal value array in the detection signal storage unit 34. This process is a process for realizing the second exception of the first algorithm. That is, according to the first algorithm, when a detection signal is output from any one of the magnetic sensors 1, 2, and 3, the signal value corresponding to the detection signal output this time and the previously stored signal If the same array as the array composed of the values is already stored, the signal value corresponding to the detection signal output this time is not stored (second exception). In step S8, the signal value corresponding to the detection signal output from the magnetic sensor 3 is “3”, the previously stored signal value is “2”, and the array constituted by both is “32”. The signal value array read from the detection signal storage unit 34 by the determination processing unit 33 in step S8 is “2321”, which includes “32”. Therefore, in step S <b> 8, the determination processing unit 33 does not store the signal value “3” corresponding to the detection signal output from the magnetic sensor 3.

ステップS9において、回転軸150の回転方向が右方向から左方向に再び反転し、これに伴って可動部13がステップS8の状態から左方向に120度回転し、これにより磁気センサ2から検出信号が出力されたとき、判定処理部33は、検出信号記憶部34に記憶された信号値配列「0321」を読み取り、磁気センサ2から今回出力された検出信号に対応する信号値「2」を信号値配列の第1ビットおよび第2ビットに入れる。これにより信号値配列は「2321」となる。続いて、判定処理部33は当該信号値配列を検出信号記憶部34に記憶する。このように、検出信号記憶部34から読み取った信号値配列の第1ビットおよび第2ビットがそれぞれ「0」である場合、判定処理部33は、信号値配列を右シフトする処理は行わない。   In step S9, the rotation direction of the rotating shaft 150 is reversed again from the right direction to the left direction, and accordingly, the movable portion 13 rotates 120 degrees in the left direction from the state in step S8, thereby detecting the detection signal from the magnetic sensor 2. Is output, the determination processing unit 33 reads the signal value array “0321” stored in the detection signal storage unit 34 and outputs a signal value “2” corresponding to the detection signal output from the magnetic sensor 2 this time. Place in the first and second bits of the value array. As a result, the signal value array becomes “2321”. Subsequently, the determination processing unit 33 stores the signal value array in the detection signal storage unit 34. In this way, when the first bit and the second bit of the signal value array read from the detection signal storage unit 34 are “0”, the determination processing unit 33 does not perform the process of shifting the signal value array to the right.

ステップS10において、回転軸150の左方向の回転が継続し、これに伴って可動部13がステップS9の状態から左方向に120度回転し、これにより磁気センサ1から検出信号が出力されたとき、判定処理部33は、検出信号記憶部34に記憶された信号値配列「2321」を読み取り、当該読み取った信号値配列に基づいて、回転軸150が右方向または左方向に1回転したか否かを判定する。ステップS10において信号値配列は「2321」であるので、判定処理部33は、回転軸150は1回転していないと判定する。この場合、判定処理部33は回転判定信号を出力しない。したがって、計数処理部36は動作しない。そして、判定処理部33は、読み取った信号値配列「2321」を消去して、信号値配列「1000」を検出信号記憶部34に記憶する。   In step S10, the rotation of the rotation shaft 150 in the left direction continues, and accordingly, the movable portion 13 rotates 120 degrees in the left direction from the state in step S9, whereby the detection signal is output from the magnetic sensor 1. The determination processing unit 33 reads the signal value array “2321” stored in the detection signal storage unit 34 and, based on the read signal value array, whether or not the rotation shaft 150 has made one rotation rightward or leftward. Determine whether. Since the signal value array is “2321” in step S <b> 10, the determination processing unit 33 determines that the rotating shaft 150 does not make one rotation. In this case, the determination processing unit 33 does not output a rotation determination signal. Therefore, the count processing unit 36 does not operate. Then, the determination processing unit 33 deletes the read signal value array “2321” and stores the signal value array “1000” in the detection signal storage unit 34.

また、回転軸150が、ステップS10の状態(アウトプット磁石16が磁気センサ1と対向した位置にある状態)から、右方向に30度ないし110度程度の回転と左方向に30度ないし110度程度の回転とを繰り返した場合には、アウトプット磁石16が磁気センサ1への接近、離間を連続的に繰り返すので、ステップS11、S12に示すように、磁気センサ1から検出信号が連続的に出力される。この場合、判定処理部33は、この状態を認識するために、磁気センサ1から検出信号が出力されるたびに、検出信号記憶部34に記憶された信号値配列「1000」を読み取るが、信号値配列を右シフトする処理も、信号値配列に新たな値を入れる処理も、信号値配列を検出信号記憶部34に記憶する処理も行わない。   Further, the rotation shaft 150 rotates about 30 to 110 degrees in the right direction and 30 to 110 degrees in the left direction from the state of Step S10 (a state where the output magnet 16 is in a position facing the magnetic sensor 1). When the rotation of the degree is repeated, the output magnet 16 continuously approaches and separates from the magnetic sensor 1, so that the detection signal is continuously received from the magnetic sensor 1 as shown in steps S11 and S12. Is output. In this case, the determination processing unit 33 reads the signal value array “1000” stored in the detection signal storage unit 34 every time a detection signal is output from the magnetic sensor 1 in order to recognize this state. Neither the process of shifting the value array to the right nor the process of entering a new value into the signal value array nor the process of storing the signal value array in the detection signal storage unit 34 is performed.

さらに、回転軸150の右方向または左方向の回転に伴う可動部13の右方向または左方向の回転に応じ、判定処理部33はステップS13以降の処理を行う。   Further, the determination processing unit 33 performs the processing from step S13 onward in accordance with the rightward or leftward rotation of the movable unit 13 accompanying the rightward or leftward rotation of the rotation shaft 150.

以上説明した通り、本発明の第1の実施形態における回路ユニット25によれば、回転判定回路31と計数回路32とを分離し、計数回路32を、回転判定回路31から出力される回転判定信号に基づいて回転軸150の回転数を計数する構成とすることにより、計数回路32が動作する時期を、回転判定回路32から回転判定信号が出力されたとき、すなわち回転軸150が1回転したときに限定することができる。これにより、計数回路32が動作する期間を減らすことができ、電力の消費を削減することができる。   As described above, according to the circuit unit 25 in the first embodiment of the present invention, the rotation determination circuit 31 and the counting circuit 32 are separated, and the rotation determination signal output from the rotation determination circuit 31 is used as the counting circuit 32. By counting the number of rotations of the rotating shaft 150 based on the above, when the rotation determining signal is output from the rotation determining circuit 32, that is, when the rotating shaft 150 makes one rotation, It can be limited to. Thereby, the period during which the counting circuit 32 operates can be reduced, and power consumption can be reduced.

(第2の実施形態)
次に、本発明の第2の実施形態について図7ないし図9を参照しながら説明する。なお、図7ないし図9において、図1ないし図6に示す本発明の第1の実施形態と同一の構成要素には同一の符号を付し、その説明を省略する。
(Second Embodiment)
Next, a second embodiment of the present invention will be described with reference to FIGS. 7 to 9, the same components as those of the first embodiment of the present invention shown in FIGS. 1 to 6 are denoted by the same reference numerals, and the description thereof is omitted.

図7は、本発明の第2の実施形態による回転検出装置に設けられた回路ユニットを示している。図7において、回路ユニット41は、回路ユニット25と同様に、磁気センサ1、2、3から出力される検出信号に基づいて回転軸150の回転方向を考慮した回転数を検出する回路ユニットであり、回路ユニット25に代えて基板23上に設けることができる。   FIG. 7 shows a circuit unit provided in the rotation detection device according to the second embodiment of the present invention. In FIG. 7, the circuit unit 41 is a circuit unit that detects the number of rotations in consideration of the direction of rotation of the rotating shaft 150 based on detection signals output from the magnetic sensors 1, 2, and 3, similarly to the circuit unit 25. Instead of the circuit unit 25, it can be provided on the substrate 23.

回路ユニット41は、次に説明する第2のアルゴリズムに従って回転軸150の回転数を計数する。すなわち、磁気センサ1、2、3のうちのいずれかから前回出力された検出信号に対応する信号値を「前回信号値」といい、磁気センサ1、2、3のうちのいずれかから今回出力された検出信号に対応する信号値を「今回信号値」というとすると、第2のアルゴリズムにおいては、前回信号値と今回信号値と比較することにより、回転軸150の回転方向を考慮した回転量(1回転に満たない回転軸150の右回転方向または左回転方向の移動量)を認識する。そして、この回転量の累計値から、回転軸150が1回転したか否か、および回転軸150が1回転した方向が右方向か左方向かを判定する。そして、判定の結果、回転軸150が右方向に1回転した場合には、回転軸150の回転数を示す計数値を1増加させ、回転軸150が左方向に1回転した場合には、当該計数値を1減少させる。第2のアルゴリズムを実現するために記憶する必要のある情報は、1回分の信号値(前回信号値)と回転軸150の回転量である。   The circuit unit 41 counts the number of rotations of the rotating shaft 150 according to a second algorithm described below. That is, the signal value corresponding to the detection signal output last time from any one of the magnetic sensors 1, 2, 3 is referred to as “previous signal value”, and is output from any one of the magnetic sensors 1, 2, 3 this time. Assuming that the signal value corresponding to the detected signal is “current signal value”, the second algorithm compares the previous signal value with the current signal value, and thereby the rotation amount considering the rotation direction of the rotating shaft 150. (The amount of movement of the rotating shaft 150 in the right rotation direction or the left rotation direction that is less than one rotation) is recognized. Then, from the cumulative value of the rotation amount, it is determined whether or not the rotation shaft 150 has made one rotation and whether the direction in which the rotation shaft 150 has made one rotation is the right direction or the left direction. As a result of the determination, when the rotation shaft 150 makes one rotation in the right direction, the count value indicating the number of rotations of the rotation shaft 150 is increased by 1. When the rotation shaft 150 makes one rotation in the left direction, Decrease the count by one. Information that needs to be stored in order to realize the second algorithm is a signal value for one time (previous signal value) and the amount of rotation of the rotary shaft 150.

このような第2のアルゴリズムを実施する回路ユニット41の回転判定回路42は、図7に示すように、判定処理部43、検出信号記憶部44および回転量記憶部45を備えている。   As shown in FIG. 7, the rotation determination circuit 42 of the circuit unit 41 that implements such a second algorithm includes a determination processing unit 43, a detection signal storage unit 44, and a rotation amount storage unit 45.

判定処理部43は、上述した第2のアルゴリズムに従って回転判定処理を行う演算処理回路であり、第1の実施形態における判定処理部33とほぼ同様に、磁気センサ1、2、3から出力される検出信号を受け取り、受け取った検出信号が磁気センサ1、2、3のうちのいずれから出力されたかを認識する。また、判定処理部43は、前回信号値と今回信号値とを比較することにより回転軸150の回転方向および回転量を認識する。また、判定処理部43は、検出信号記憶部44を制御して信号値の記憶、読み取り、消去を行い、回転量記憶部45を制御して回転量の記憶、読み取り、消去を行う。また、判定処理部43は、今回信号値、前回信号値、および回転量記憶部45から読み取った回転量をそれぞれ認識し、当該認識結果により回転軸150が右方向に1回転したか否か、左方向に1回転したか否かを判定し、回転軸150が右方向に1回転したときと、回転軸150が左方向に1回転したときで互いに異なる回転判定信号を出力する。   The determination processing unit 43 is an arithmetic processing circuit that performs rotation determination processing according to the second algorithm described above, and is output from the magnetic sensors 1, 2, and 3 in substantially the same manner as the determination processing unit 33 in the first embodiment. A detection signal is received, and it is recognized which of the magnetic sensors 1, 2, and 3 the received detection signal is output from. Further, the determination processing unit 43 recognizes the rotation direction and the rotation amount of the rotation shaft 150 by comparing the previous signal value and the current signal value. Further, the determination processing unit 43 controls the detection signal storage unit 44 to store, read, and erase the signal value, and controls the rotation amount storage unit 45 to store, read, and delete the rotation amount. Further, the determination processing unit 43 recognizes each of the current signal value, the previous signal value, and the rotation amount read from the rotation amount storage unit 45, and whether or not the rotation shaft 150 has made one right rotation based on the recognition result, It is determined whether or not it has made one rotation in the left direction, and different rotation determination signals are output when the rotation shaft 150 makes one rotation in the right direction and when the rotation shaft 150 makes one rotation in the left direction.

検出信号記憶部44は、磁気センサ1、2、3から出力された検出信号に対応する信号値を記憶する記憶回路である。検出信号記憶部44は少なくとも1つの信号値を記憶することができる記憶容量を有している。   The detection signal storage unit 44 is a storage circuit that stores signal values corresponding to the detection signals output from the magnetic sensors 1, 2, and 3. The detection signal storage unit 44 has a storage capacity capable of storing at least one signal value.

回転量記憶部45は、判定処理部43により認識された回転軸150の回転量を記憶する記憶回路である。回転量記憶部45は少なくとも1つの回転量を記憶することができる記憶容量を有している。   The rotation amount storage unit 45 is a storage circuit that stores the rotation amount of the rotation shaft 150 recognized by the determination processing unit 43. The rotation amount storage unit 45 has a storage capacity capable of storing at least one rotation amount.

図8および図9は、第2のアルゴリズムに従った回路ユニット41の具体的な動作を示している。説明の便宜上、上述した第1の実施形態と同様に、磁気センサ1、2、3から出力される検出信号に対応する信号値をそれぞれ「1」、「2」、「3」とする。   8 and 9 show a specific operation of the circuit unit 41 according to the second algorithm. For convenience of explanation, similarly to the first embodiment described above, the signal values corresponding to the detection signals output from the magnetic sensors 1, 2, and 3 are “1”, “2”, and “3”, respectively.

また、図9に示す表において、最も左側の第1列は、図6と同様にステップ番号を示している。また、図9中の第2列は検出信号に対応する信号値を示し、第3列は判定処理部43による処理前の信号値を示し、第4列は判定処理部43による信号値についての処理内容を示し、第5列は判定処理部43による処理後の信号値を示している。また、図9中の第6列は判定処理部43による処理前の回転量を示し、第7列は判定処理部43による回転量についての処理内容を示し、第8列は判定処理部43による処理後の回転量を示している。また、図9中の第9列は判定処理部43による判定結果を示し、最も右側の第10列は計数処理部36による処理後の計数値を示している。   In the table shown in FIG. 9, the leftmost first column indicates step numbers as in FIG. Further, the second column in FIG. 9 indicates the signal value corresponding to the detection signal, the third column indicates the signal value before processing by the determination processing unit 43, and the fourth column indicates the signal value by the determination processing unit 43. The processing content is shown, and the fifth column shows the signal value after processing by the determination processing unit 43. Further, the sixth column in FIG. 9 indicates the rotation amount before the processing by the determination processing unit 43, the seventh column indicates the processing content regarding the rotation amount by the determination processing unit 43, and the eighth column by the determination processing unit 43. The rotation amount after processing is shown. Further, the ninth column in FIG. 9 indicates the determination result by the determination processing unit 43, and the rightmost tenth column indicates the count value after processing by the count processing unit 36.

図9中のステップS21は初期状態である。初期状態においては、アウトプット磁石16が磁気センサ1と対向した位置にある(図8参照)。そして、検出信号記憶部44には前回信号値の初期値として「1」が記憶され、回転量記憶部45には回転量の初期値として「0」が記憶されている。   Step S21 in FIG. 9 is an initial state. In the initial state, the output magnet 16 is at a position facing the magnetic sensor 1 (see FIG. 8). The detection signal storage unit 44 stores “1” as the initial value of the previous signal value, and the rotation amount storage unit 45 stores “0” as the initial value of the rotation amount.

ステップS22において、回転軸150の右方向の回転に伴って可動部13が初期状態から右方向に120度回転し、これにより磁気センサ2から検出信号が出力されたとき、判定処理部43は、検出信号記憶部44に記憶された前回信号値「1」を読み取り、当該前回信号値「1」と、磁気センサ2から今回出力された検出信号に対応する今回信号値「2」とを比較し、回転軸150の回転量を認識する。ここで、判定処理部43は、前回信号値と今回信号値とを比較し、前回信号値と今回信号値とがそれぞれ「1」、「2」である場合、「2」、「3」である場合、または「3」、「1」である場合には、回転軸150が右方向に120度回転したと認識し、一方、前回信号値と今回信号値とが「1」、「3」である場合、「3」、「2」である場合、または「2」、「1」である場合には、回転軸150が左方向に120度回転したと認識する。ステップS22においては、前回信号値と今回信号値がそれぞれ「1」、「2」であるので、判定処理部43は、回転軸150が右方向に120度回転したと認識する。続いて、ステップS22において、判定処理部43は今回信号値「2」を検出信号記憶部44に記憶(上書き)する。さらに、判定処理部43は、回転量記憶部45に記憶された回転量「0」を読み取り、当該読み取った回転量「0」を1増加させ、当該増加させた回転量「1」を回転量記憶部45に記憶(上書き)する。   In step S22, when the movable unit 13 rotates 120 degrees from the initial state to the right as the rotation shaft 150 rotates in the right direction, and the detection signal is output from the magnetic sensor 2, the determination processing unit 43 The previous signal value “1” stored in the detection signal storage unit 44 is read, and the previous signal value “1” is compared with the current signal value “2” corresponding to the detection signal output from the magnetic sensor 2 this time. The amount of rotation of the rotating shaft 150 is recognized. Here, the determination processing unit 43 compares the previous signal value and the current signal value, and when the previous signal value and the current signal value are “1” and “2”, respectively, “2” and “3”. If it is “3” or “1”, it is recognized that the rotary shaft 150 has rotated 120 degrees rightward, while the previous signal value and the current signal value are “1”, “3”. If it is “3”, “2”, or “2”, “1”, it is recognized that the rotary shaft 150 has rotated 120 degrees to the left. In step S22, since the previous signal value and the current signal value are “1” and “2”, respectively, the determination processing unit 43 recognizes that the rotation shaft 150 has rotated 120 degrees in the right direction. Subsequently, in step S <b> 22, the determination processing unit 43 stores (overwrites) the current signal value “2” in the detection signal storage unit 44. Further, the determination processing unit 43 reads the rotation amount “0” stored in the rotation amount storage unit 45, increases the read rotation amount “0” by 1, and increases the increased rotation amount “1” to the rotation amount. Store (overwrite) in the storage unit 45.

ステップS23において、回転軸150の右方向の回転が継続し、これに伴って可動部13がステップS22の状態から右方向に120度回転し、これにより磁気センサ3から検出信号が出力されたとき、判定処理部43は、検出信号記憶部44に記憶された前回信号値「2」を読み取り、当該前回信号値「2」と、磁気センサ3から今回出力された検出信号に対応する今回信号値「3」とを比較し、回転軸150が右方向に120度回転したと認識する。続いて、ステップS23において、判定処理部43は今回信号値「3」を検出信号記憶部44に記憶する。さらに、判定処理部43は、回転量記憶部45に記憶された回転量「1」を読み取り、当該読み取った回転量「1」を1増加させ、当該増加させた回転量「2」を回転量記憶部45に記憶する。   In step S23, when the rotation of the rotating shaft 150 continues in the right direction, the movable unit 13 rotates 120 degrees in the right direction from the state of step S22, and thus the detection signal is output from the magnetic sensor 3. The determination processing unit 43 reads the previous signal value “2” stored in the detection signal storage unit 44, and the current signal value corresponding to the previous signal value “2” and the detection signal output from the magnetic sensor 3 this time. Compared with “3”, it is recognized that the rotary shaft 150 has rotated 120 degrees to the right. Subsequently, in step S <b> 23, the determination processing unit 43 stores the current signal value “3” in the detection signal storage unit 44. Further, the determination processing unit 43 reads the rotation amount “1” stored in the rotation amount storage unit 45, increases the read rotation amount “1” by 1, and sets the increased rotation amount “2” as the rotation amount. Store in the storage unit 45.

ステップS24において、回転軸150の右方向の回転が継続し、これに伴って可動部13がステップS23の状態から右方向に120度回転し、これにより磁気センサ1から検出信号が出力されたとき、判定処理部43は、検出信号記憶部44に記憶された前回信号値「3」を読み取り、当該前回信号値「3」と、磁気センサ1から今回出力された検出信号に対応する今回信号値「1」とを比較し、回転軸150が右方向に120度回転したと認識する。続いて、ステップS24において、判定処理部43は今回信号値「1」を検出信号記憶部44に記憶する。さらに、判定処理部43は、回転量記憶部45に記憶された回転量「2」を読み取り、当該読み取った回転量「2」を1増加させる。この結果、当該回転量は「3」となる。   In step S24, the rotation of the rotary shaft 150 in the right direction continues, and accordingly, the movable part 13 rotates 120 degrees in the right direction from the state in step S23, and thereby the detection signal is output from the magnetic sensor 1. The determination processing unit 43 reads the previous signal value “3” stored in the detection signal storage unit 44, and the current signal value corresponding to the previous signal value “3” and the detection signal output from the magnetic sensor 1 this time. Compared with “1”, it is recognized that the rotary shaft 150 has rotated 120 degrees to the right. Subsequently, in step S <b> 24, the determination processing unit 43 stores the current signal value “1” in the detection signal storage unit 44. Further, the determination processing unit 43 reads the rotation amount “2” stored in the rotation amount storage unit 45 and increments the read rotation amount “2” by one. As a result, the rotation amount is “3”.

ここで、判定処理部43は、磁気センサ1から検出信号が出力されたステップでは、回転軸150が1回転したか否かの判定を行う。すなわち、判定処理部43は、磁気センサ1から検出信号が出力されたステップにおいて1増加した後の回転量が「3」となったとき、回転軸150が右方向に1回転したと判定し、回転軸150が右方向に1回転したことを示す回転判定信号を出力する。また、判定処理部43は、磁気センサ1から検出信号が出力されたステップにおいて1減少した後の回転量が「−3」となったとき、回転軸150が左方向に1回転したと判定し、回転軸150が左方向に1回転したことを示す回転判定信号を出力する。また、判定処理部43は、磁気センサ1から検出信号が出力されたステップにおいて、1増加した後の回転量が「3」とはならない場合、または1減少した後の回転量が「−3」とはならない場合には、回転軸150が1回転していないと判定し、回転判定信号を出力しない。磁気センサ1から検出信号が出力されたステップS24において1増加した後の回転量は「3」なので、判定処理部43は、回転軸150が右方向に1回転したと判定し、回転軸150が右方向に1回転したことを示す回転判定信号を出力する。そして、判定処理部43は回転量を消去する。すなわち、判定処理部43は、回転量「0」を回転量記憶部45に記憶する。また、判定処理部43から当該回転判定信号が出力されると、これに応じて計数処理部36が計数値記憶部38から計数値を読み取り、当該読み取った計数値を1増加させ、当該1増加させた計数値を計数値記憶部38に記憶(上書き)する。   Here, in the step in which the detection signal is output from the magnetic sensor 1, the determination processing unit 43 determines whether or not the rotating shaft 150 has made one rotation. That is, the determination processing unit 43 determines that the rotation shaft 150 has made one rotation in the right direction when the rotation amount after incrementing by 1 in the step in which the detection signal is output from the magnetic sensor 1 becomes “3”. A rotation determination signal indicating that the rotation shaft 150 has made one rotation in the right direction is output. Further, the determination processing unit 43 determines that the rotation shaft 150 has made one rotation in the left direction when the rotation amount after being decreased by 1 in the step in which the detection signal is output from the magnetic sensor 1 becomes “−3”. The rotation determination signal indicating that the rotation shaft 150 has made one rotation in the left direction is output. In addition, in the step in which the detection signal is output from the magnetic sensor 1, the determination processing unit 43 determines that the rotation amount after being increased by 1 does not become “3”, or the rotation amount after being reduced by 1 is “−3”. If not, it is determined that the rotating shaft 150 has not made one rotation, and no rotation determination signal is output. Since the rotation amount after incrementing by 1 in step S24 in which the detection signal is output from the magnetic sensor 1 is “3”, the determination processing unit 43 determines that the rotation shaft 150 has made one rotation in the right direction, and the rotation shaft 150 has A rotation determination signal indicating that one rotation has been made in the right direction is output. Then, the determination processing unit 43 deletes the rotation amount. That is, the determination processing unit 43 stores the rotation amount “0” in the rotation amount storage unit 45. When the rotation determination signal is output from the determination processing unit 43, the count processing unit 36 reads the count value from the count value storage unit 38 in response to this, increases the read count value by 1, and increases the increment by 1. The count value thus stored is stored (overwritten) in the count value storage unit 38.

ステップS25において、回転軸150の右方向の回転が継続し、これに伴って可動部13がステップS24の状態から右方向に120度回転し、これにより磁気センサ2から検出信号が出力されたとき、判定処理部43は、ステップS22と同様の処理を行う。この結果、検出信号記憶部44に記憶された信号値は「2」となり、回転量記憶部45に記憶された回転量は「1」となる。   In step S25, when the rotation of the rotation shaft 150 continues in the right direction, the movable portion 13 rotates 120 degrees in the right direction from the state in step S24, and thereby the detection signal is output from the magnetic sensor 2. The determination processing unit 43 performs the same process as in step S22. As a result, the signal value stored in the detection signal storage unit 44 is “2”, and the rotation amount stored in the rotation amount storage unit 45 is “1”.

ステップS26において、回転軸150の右方向の回転が継続し、これに伴って可動部13がステップS25の状態から右方向に120度回転し、これにより磁気センサ3から検出信号が出力されたとき、判定処理部43は、ステップS23と同様の処理を行う。この結果、検出信号記憶部44に記憶された信号値は「3」となり、回転量記憶部45に記憶された回転量は「2」となる。   In step S26, when the rotation of the rotating shaft 150 continues in the right direction, the movable portion 13 rotates 120 degrees in the right direction from the state of step S25, and thereby the detection signal is output from the magnetic sensor 3. The determination processing unit 43 performs the same process as in step S23. As a result, the signal value stored in the detection signal storage unit 44 is “3”, and the rotation amount stored in the rotation amount storage unit 45 is “2”.

ステップS27において、回転軸150の回転方向が右方向から左方向に変化し、これに伴って可動部13がステップS26の状態から左方向に120度回転し、これにより磁気センサ2から検出信号が出力されたとき、判定処理部43は、検出信号記憶部44に記憶された前回信号値「3」を読み取り、当該前回信号値「3」と、磁気センサ2から今回出力された検出信号に対応する今回信号値「2」とを比較し、回転軸150が左方向に120度回転したと認識する。続いて、ステップS27において、判定処理部43は今回信号値「2」を検出信号記憶部44に記憶する。さらに、判定処理部43は、回転量記憶部45に記憶された回転量「2」を読み取り、当該読み取った回転量「2」を1減少させ、当該減少させた回転量「1」を回転量記憶部45に記憶する。   In step S27, the rotation direction of the rotating shaft 150 changes from the right direction to the left direction, and accordingly, the movable part 13 rotates 120 degrees in the left direction from the state of step S26, whereby the detection signal is output from the magnetic sensor 2. When output, the determination processing unit 43 reads the previous signal value “3” stored in the detection signal storage unit 44 and corresponds to the previous signal value “3” and the detection signal output from the magnetic sensor 2 this time. The current signal value “2” is compared, and it is recognized that the rotating shaft 150 has rotated 120 degrees to the left. Subsequently, in step S <b> 27, the determination processing unit 43 stores the current signal value “2” in the detection signal storage unit 44. Further, the determination processing unit 43 reads the rotation amount “2” stored in the rotation amount storage unit 45, decreases the read rotation amount “2” by 1, and sets the reduced rotation amount “1” as the rotation amount. Store in the storage unit 45.

ステップS28において、回転軸150の回転方向が左方向から右方向に戻り、これに伴って可動部13がステップS27の状態から右方向に120度回転し、これにより磁気センサ3から検出信号が出力されたとき、判定処理部43は、ステップS23と同様の処理を行う。この結果、検出信号記憶部44に記憶された信号値は「3」となり、回転量記憶部45に記憶された回転量は「2」となる。   In step S28, the rotation direction of the rotating shaft 150 returns from the left direction to the right direction, and accordingly, the movable portion 13 rotates 120 degrees in the right direction from the state of step S27, thereby outputting a detection signal from the magnetic sensor 3. When the determination is made, the determination processing unit 43 performs the same process as in step S23. As a result, the signal value stored in the detection signal storage unit 44 is “3”, and the rotation amount stored in the rotation amount storage unit 45 is “2”.

ステップS29において、回転軸150の回転方向が右方向から左方向に再び変化し、これに伴って可動部13がステップS28の状態から左方向に120度回転し、これにより磁気センサ2から検出信号が出力されたとき、判定処理部43は、ステップS27と同様の処理を行う。この結果、検出信号記憶部44に記憶された信号値は「2」となり、回転量記憶部45に記憶された回転量は「1」となる。   In step S29, the rotation direction of the rotary shaft 150 changes again from the right direction to the left direction, and accordingly, the movable portion 13 rotates 120 degrees in the left direction from the state of step S28, thereby detecting the detection signal from the magnetic sensor 2. Is output, the determination processing unit 43 performs the same process as in step S27. As a result, the signal value stored in the detection signal storage unit 44 is “2”, and the rotation amount stored in the rotation amount storage unit 45 is “1”.

ステップS30において、回転軸150の左方向の回転が継続し、これに伴って可動部13がステップS29の状態から左方向に120度回転し、これにより磁気センサ1から検出信号が出力されたとき、判定処理部43は、検出信号記憶部44に記憶された前回信号値「2」を読み取り、当該前回信号値「2」と、磁気センサ2から今回出力された検出信号に対応する今回信号値「1」とを比較し、回転軸150が左方向に120度回転したと認識する。続いて、ステップS30において、判定処理部43は今回信号値「1」を検出信号記憶部44に記憶する。さらに、判定処理部43は、回転量記憶部45に記憶された回転量「1」を読み取り、当該読み取った回転量「1」を1減少させる。この結果、回転量は「0」となる。そして、判定処理部43は、回転量記憶部45に記憶された回転量を消去する。この結果、回転量記憶部45に記憶された回転量は「0」となる。また、上述したように、判定処理部43は、磁気センサ1から検出信号が出力されたステップでは、回転軸150が1回転したか否かの判定を行う。磁気センサ1から検出信号が出力されたステップS30において1減少した後の回転量は「0」なので、判定処理部43は、回転軸150が1回転していないと判定し、回転判定信号を出力しない。   In Step S30, when the rotation of the rotation shaft 150 continues in the left direction, the movable portion 13 rotates 120 degrees in the left direction from the state in Step S29, and thereby the detection signal is output from the magnetic sensor 1. The determination processing unit 43 reads the previous signal value “2” stored in the detection signal storage unit 44, and the current signal value corresponding to the previous signal value “2” and the detection signal output from the magnetic sensor 2 this time. Compared with “1”, it is recognized that the rotating shaft 150 has rotated 120 degrees to the left. Subsequently, in step S <b> 30, the determination processing unit 43 stores the current signal value “1” in the detection signal storage unit 44. Further, the determination processing unit 43 reads the rotation amount “1” stored in the rotation amount storage unit 45 and decreases the read rotation amount “1” by one. As a result, the rotation amount becomes “0”. Then, the determination processing unit 43 deletes the rotation amount stored in the rotation amount storage unit 45. As a result, the rotation amount stored in the rotation amount storage unit 45 is “0”. Further, as described above, the determination processing unit 43 determines whether or not the rotation shaft 150 has made one rotation at the step in which the detection signal is output from the magnetic sensor 1. Since the rotation amount after decreasing by 1 in step S30 when the detection signal is output from the magnetic sensor 1 is “0”, the determination processing unit 43 determines that the rotating shaft 150 does not make one rotation and outputs a rotation determination signal. do not do.

また、回転軸150が、例えばステップS30の状態(アウトプット磁石16が磁気センサ1と対向した位置にある状態)から、右方向に30度ないし110度程度の回転と左方向に30度ないし110度程度の回転とを繰り返した場合には、アウトプット磁石16が磁気センサ1への接近、離間を連続的に繰り返すので、ステップS31、S32に示すように、磁気センサ1から検出信号が連続的に出力される。この場合、判定処理部43は、磁気センサ1から検出信号が出力されるたびに、検出信号記憶部44に記憶された前回信号値「1」を読み取り、当該前回信号値「1」を、磁気センサ1から今回出力された検出信号に対応する今回信号値「1」と比較する。そして、判定処理部43は、当該比較結果から、回転軸150の回転量が120度に達していないことを認識する。この場合、判定処理部43は、今回信号値を検出信号記憶部44に記憶する処理も、回転量記憶部45からの回転量の読み取る処理も、回転量を増加または減少させる処理も、回転量を回転量記憶部45に記憶する処理も行わない。   Further, the rotation shaft 150 rotates about 30 degrees to 110 degrees in the right direction and 30 degrees to 110 degrees in the left direction from the state of step S30 (the state where the output magnet 16 is located opposite to the magnetic sensor 1), for example. When the rotation of about 20 degrees is repeated, the output magnet 16 continuously approaches and separates from the magnetic sensor 1, so that the detection signal from the magnetic sensor 1 is continuous as shown in steps S31 and S32. Is output. In this case, every time a detection signal is output from the magnetic sensor 1, the determination processing unit 43 reads the previous signal value “1” stored in the detection signal storage unit 44, and uses the previous signal value “1” as the magnetic signal. The current signal value “1” corresponding to the detection signal output from the sensor 1 this time is compared. And the determination process part 43 recognizes from the said comparison result that the rotation amount of the rotating shaft 150 has not reached 120 degree | times. In this case, the determination processing unit 43 performs processing for storing the current signal value in the detection signal storage unit 44, processing for reading the rotation amount from the rotation amount storage unit 45, processing for increasing or decreasing the rotation amount, Is also not stored in the rotation amount storage unit 45.

さらに、回転軸150の右方向または左方向の回転に伴う可動部13の右方向または左方向の回転に応じ、判定処理部43はステップS33以降の処理を行う。   Furthermore, according to the rightward or leftward rotation of the movable unit 13 accompanying the rotation of the rotation shaft 150 in the rightward or leftward direction, the determination processing unit 43 performs processing subsequent to step S33.

以上説明した通り、第2の実施形態による回路ユニット41によれば、第1の実施形態による回路ユニット25と同様に、回転判定回路42と計数回路32とを分離し、回転判定回路42から回転判定信号が出力されたときに限り計数回路32を動作させることにより、電力の消費を削減することができる。さらに、第2の実施形態による回路ユニット41によれば、検出信号記憶部44の記憶容量と回転量記憶部45の記憶容量とを合わせた記憶容量を、第1の実施形態による回路ユニット25における検出信号記憶部34の記憶容量よりも小さくすることができる。すなわち、第1の実施形態による回路ユニット25における検出信号記憶部34は、少なくとも4回分の信号値を記憶することができる記憶容量、例えば8ビットの記憶容量が必要である。これに対し、第2の実施形態による回路ユニット41においては、検出信号記憶部44は、少なくとも1つの信号値を記憶することができる記憶容量、例えば2ビットの記憶容量で足り、回転量記憶部45は、少なくとも1つの回転量を記憶することができる記憶容量、例えば3ビットの記憶容量で足り、両者合わせて5ビットの記憶容量で足りる。この点でも、電力の消費を削減することができる。   As described above, according to the circuit unit 41 according to the second embodiment, the rotation determination circuit 42 and the counting circuit 32 are separated and rotated from the rotation determination circuit 42 as in the circuit unit 25 according to the first embodiment. The power consumption can be reduced by operating the counting circuit 32 only when the determination signal is output. Furthermore, according to the circuit unit 41 according to the second embodiment, the storage capacity that is the sum of the storage capacity of the detection signal storage unit 44 and the storage capacity of the rotation amount storage unit 45 in the circuit unit 25 according to the first embodiment. The storage capacity of the detection signal storage unit 34 can be made smaller. That is, the detection signal storage unit 34 in the circuit unit 25 according to the first embodiment needs a storage capacity capable of storing signal values for at least four times, for example, a storage capacity of 8 bits. On the other hand, in the circuit unit 41 according to the second embodiment, the detection signal storage unit 44 suffices with a storage capacity capable of storing at least one signal value, for example, a 2-bit storage capacity, and a rotation amount storage unit. 45 is a storage capacity capable of storing at least one rotation amount, for example, a 3-bit storage capacity, and a combined storage capacity of 5 bits is sufficient. In this respect as well, power consumption can be reduced.

(第3の実施形態)
次に、本発明の第3の実施形態について図10ないし図12を参照しながら説明する。なお、図10ないし図12において、図1ないし図6に示す本発明の第1の実施形態と同一の構成要素には同一の符号を付し、その説明を省略する。
(Third embodiment)
Next, a third embodiment of the present invention will be described with reference to FIGS. 10 to 12, the same components as those of the first embodiment of the present invention shown in FIGS. 1 to 6 are denoted by the same reference numerals, and the description thereof is omitted.

図10は、本発明の第3の実施形態による回転検出装置に設けられた回路ユニットを示している。図10において、回路ユニット51は、回路ユニット25と同様に、磁気センサ1、2、3から出力される検出信号に基づいて回転軸150の回転方向を考慮した回転数を検出する回路ユニットであり、回路ユニット25に代えて基板23上に設けることができる。   FIG. 10 shows a circuit unit provided in the rotation detection device according to the third embodiment of the present invention. In FIG. 10, a circuit unit 51 is a circuit unit that detects the number of rotations in consideration of the direction of rotation of the rotating shaft 150 based on detection signals output from the magnetic sensors 1, 2, and 3, similarly to the circuit unit 25. Instead of the circuit unit 25, it can be provided on the substrate 23.

回路ユニット51は、次に説明する第3のアルゴリズムに従って回転軸150の回転数を計数する。第3のアルゴリズムにおいては、上述した第2の実施形態における第2のアルゴリズムと同様に、前回信号値と今回信号値と比較することにより、回転軸150の回転方向を考慮した回転量を認識する。そして、この回転量に基づいて、回転軸150が1回転したか否か、および回転軸150が1回転した方向が右方向か左方向かを判定する。そして、判定の結果、回転軸150が右方向に1回転した場合には、回転軸150の回転数を示す計数値を1増加させ、回転軸150が左方向に1回転した場合には、当該計数値を1減少させる。   The circuit unit 51 counts the number of rotations of the rotating shaft 150 according to a third algorithm described below. In the third algorithm, similarly to the second algorithm in the second embodiment described above, the rotation amount in consideration of the rotation direction of the rotating shaft 150 is recognized by comparing the previous signal value and the current signal value. . Then, based on this rotation amount, it is determined whether or not the rotation shaft 150 has made one rotation and whether the direction in which the rotation shaft 150 has made one rotation is the right direction or the left direction. As a result of the determination, when the rotation shaft 150 makes one rotation in the right direction, the count value indicating the number of rotations of the rotation shaft 150 is increased by 1. When the rotation shaft 150 makes one rotation in the left direction, Decrease the count by one.

第3のアルゴリズムが第2のアルゴリズムと異なる点は、回転軸150の回転量の記憶方法である。すなわち、アウトプット磁石16が磁気センサ1と対向する位置にある状態から回転軸150が右方向に1回転する場合、まず磁気センサ2から検出信号が出力され、次に磁気センサ3から検出信号が出力され、次に磁気センサ1から検出信号が出力されるが、上述した第2のアルゴリズムにおいては、このように磁気センサ2、3、1から検出信号が出力されるたびに、回転軸150の回転量を回転量記憶部45から読み取る処理、当該回転量を1増加させる処理、および1増加させた当該回転量を回転量記憶部45に記憶する処理を行う。さらに、磁気センサ1から検出信号が出力されたときには、1増加させた後の回転量から回転軸150が1回転したか否かを判定する処理を行う。また、アウトプット磁石16が磁気センサ1と対向する位置にある状態から回転軸150が左方向に1回転する場合、まず磁気センサ3から検出信号が出力され、次に磁気センサ2から検出信号が出力され、次に磁気センサ1から検出信号が出力されるが、上述した第2のアルゴリズムにおいては、このように磁気センサ3、2、1から検出信号が出力されるたびに、回転軸150の回転量を回転量記憶部45から読み取る処理、当該回転量を1減少させる処理、および1減少させた当該回転量を回転量記憶部45に記憶する処理を行う。さらに、磁気センサ1から検出信号が出力されたときには、1減少させた後の回転量から回転軸150が1回転したか否かを判定する処理を行う。   The third algorithm is different from the second algorithm in the method of storing the rotation amount of the rotating shaft 150. That is, when the rotary shaft 150 rotates once in the right direction from the state where the output magnet 16 is at the position facing the magnetic sensor 1, the detection signal is first output from the magnetic sensor 2, and then the detection signal is output from the magnetic sensor 3. Then, a detection signal is output from the magnetic sensor 1. In the second algorithm described above, each time a detection signal is output from the magnetic sensors 2, 3, 1, A process of reading the rotation amount from the rotation amount storage unit 45, a process of increasing the rotation amount by 1, and a process of storing the rotation amount increased by 1 in the rotation amount storage unit 45 are performed. Further, when a detection signal is output from the magnetic sensor 1, a process for determining whether or not the rotating shaft 150 has made one rotation from the amount of rotation after incrementing by one is performed. Further, when the rotary shaft 150 makes one rotation leftward from the state in which the output magnet 16 is opposed to the magnetic sensor 1, the detection signal is first output from the magnetic sensor 3, and then the detection signal is output from the magnetic sensor 2. Then, a detection signal is output from the magnetic sensor 1. In the second algorithm described above, each time a detection signal is output from the magnetic sensors 3, 2, 1, A process of reading the rotation amount from the rotation amount storage unit 45, a process of reducing the rotation amount by 1, and a process of storing the rotation amount reduced by 1 in the rotation amount storage unit 45 are performed. Further, when a detection signal is output from the magnetic sensor 1, processing for determining whether or not the rotating shaft 150 has made one rotation is performed based on the amount of rotation after being decreased by one.

これに対し、第3のアルゴリズムにおいては、アウトプット磁石16が磁気センサ1と対向する位置にある状態から回転軸150が右方向に1回転する場合、まず磁気センサ2から検出信号が出力されたときには、回転量代替値「m」を後述の回転量代替値記憶部55に記憶する処理のみを行う。次に磁気センサ3から検出信号が出力されたときには、回転量代替値「m」を回転量代替値記憶部55から読み取る処理、当該回転量代替値「m」を1増加させる処理、および1増加させた当該回転量代替値「m+1」を回転量代替値記憶部55に記憶する処理を行う。次に磁気センサ1から検出信号が出力されたときには、回転量代替値「m+1」を回転量代替値記憶部55から読み取る処理、および回転量代替値「m+1」から回転軸150が1回転したか否かを判定する処理を行う。また、アウトプット磁石16が磁気センサ1と対向する位置にある状態から回転軸150が左方向に1回転する場合、まず磁気センサ3から検出信号が出力されたときには、回転量代替値「n」を回転量代替値記憶部55に記憶する処理のみを行う。次に磁気センサ2から検出信号が出力されたときには、回転量代替値「n」を回転量代替値記憶部55から読み取る処理、当該回転量代替値「n」を1減少させる処理、および1減少させた当該回転量代替値「n−1」を回転量代替値記憶部55に記憶する処理を行う。次に磁気センサ1から検出信号が出力されたときには、回転量代替値「n−1」を回転量代替値記憶部55から読み取る処理、および回転量代替値「n−1」から回転軸150が1回転したか否かを判定する処理を行う。   On the other hand, in the third algorithm, when the rotary shaft 150 makes one right turn from the state where the output magnet 16 is opposed to the magnetic sensor 1, a detection signal is first output from the magnetic sensor 2. In some cases, only the process of storing the rotation amount substitution value “m” in the rotation amount substitution value storage unit 55 described later is performed. Next, when a detection signal is output from the magnetic sensor 3, processing for reading the rotation amount substitution value “m” from the rotation amount substitution value storage unit 55, processing for increasing the rotation amount substitution value “m” by 1, and incrementing by 1 The stored rotation amount substitution value “m + 1” is stored in the rotation amount substitution value storage unit 55. Next, when a detection signal is output from the magnetic sensor 1, a process for reading the rotation amount substitute value “m + 1” from the rotation amount substitute value storage unit 55, and whether the rotation shaft 150 has made one rotation from the rotation amount substitute value “m + 1”. Processing to determine whether or not. Further, when the rotation shaft 150 makes one rotation in the left direction from the state where the output magnet 16 is at the position facing the magnetic sensor 1, when the detection signal is first output from the magnetic sensor 3, the rotation amount substitution value “n”. Is stored in the rotation amount substitute value storage unit 55 only. Next, when a detection signal is output from the magnetic sensor 2, a process of reading the rotation amount substitute value “n” from the rotation amount substitute value storage unit 55, a process of decreasing the rotation amount substitute value “n” by 1, and a decrease of 1 The stored rotation amount substitution value “n−1” is stored in the rotation amount substitution value storage unit 55. Next, when a detection signal is output from the magnetic sensor 1, the rotation amount substitution value “n−1” is read from the rotation amount substitution value storage unit 55, and the rotation shaft 150 starts from the rotation amount substitution value “n−1”. A process for determining whether or not one rotation has been performed is performed.

また、第3のアルゴリズムにおいて、回転軸150が右方向に1回転をする間の回転量代替値「m」、「m+1」のいずれもが、回転軸150が左方向に1回転をする間の回転量代替値「n」、「n−1」のいずれとも異なる値となるようにする。この条件を充足すれば、回転量代替値はいかなる数値でもよい。もっとも、回転量代替値記憶部55の記憶容量を小さくするために、回転量代替値は小さい数値であることが望ましい。なお、第3のアルゴリズムを実現するために記憶する必要のある情報は、1回分の信号値(前回信号値)と回転量代替値である。   Further, in the third algorithm, both of the rotation amount substitution values “m” and “m + 1” during which the rotation shaft 150 makes one rotation in the right direction, while the rotation shaft 150 makes one rotation in the left direction. The rotation amount substitution values “n” and “n−1” are different from each other. As long as this condition is satisfied, the rotation amount substitute value may be any numerical value. However, in order to reduce the storage capacity of the rotation amount substitution value storage unit 55, it is desirable that the rotation amount substitution value is a small numerical value. The information that needs to be stored in order to realize the third algorithm is a signal value (previous signal value) for one time and a rotation amount substitute value.

第3のアルゴリズムによれば、第2のアルゴリズムよりも回転判定に係る処理数を減らすことができる。すなわち、第3のアルゴリズムにおいて行われる回転量代替値を回転量代替値記憶部55から読み取る処理、回転量代替値を1増加または1減少させる処理、並びに1増加または1減少させた回転量代替値を回転量代替値記憶部55に記憶する処理の総数は、第2のアルゴリズムにおいて行われる回転量を回転量記憶部45から読み取る処理、回転量を1増加または1減少させる処理、並びに1増加または1減少させた回転量を回転量記憶部45に記憶する処理の総数よりも少ない。したがって、電力の消費の削減をより一層図ることができる。   According to the third algorithm, the number of processes related to rotation determination can be reduced as compared with the second algorithm. That is, processing for reading the rotation amount substitute value performed in the third algorithm from the rotation amount substitution value storage unit 55, processing for increasing the rotation amount substitution value by 1 or 1 and rotation amount substitution value increased by 1 or 1 Is stored in the rotation amount substitution value storage unit 55. The total number of processes stored in the rotation amount substitution value storage unit 55 is a process of reading the rotation amount performed in the second algorithm from the rotation amount storage unit 45, a process of increasing or decreasing the rotation amount by 1, and The rotation amount reduced by 1 is smaller than the total number of processes stored in the rotation amount storage unit 45. Therefore, power consumption can be further reduced.

このような第3のアルゴリズムを実施する回路ユニット51の回転判定回路52は、図10に示すように、判定処理部53、検出信号記憶部54および回転量代替値記憶部55を備えている。   The rotation determination circuit 52 of the circuit unit 51 that implements such a third algorithm includes a determination processing unit 53, a detection signal storage unit 54, and a rotation amount alternative value storage unit 55, as shown in FIG.

判定処理部53は、上述した第3のアルゴリズムに従って回転判定処理を行う演算処理回路であり、回転量代替値を取り扱う点などいくつか異なる点があるものの、第2の実施形態における判定処理部43とほぼ同様な構成を有している。   The determination processing unit 53 is an arithmetic processing circuit that performs rotation determination processing according to the above-described third algorithm. Although there are some differences such as handling the rotation amount substitute value, the determination processing unit 43 in the second embodiment is used. And substantially the same configuration.

検出信号記憶部54は、磁気センサ1、2、3から出力された検出信号に対応する信号値を記憶する記憶回路である。検出信号記憶部54は少なくとも1つの信号値を記憶することができる記憶容量を有している。   The detection signal storage unit 54 is a storage circuit that stores signal values corresponding to the detection signals output from the magnetic sensors 1, 2, and 3. The detection signal storage unit 54 has a storage capacity capable of storing at least one signal value.

回転量代替値記憶部55は回転量代替値を記憶する記憶回路である。回転量代替値記憶部55は少なくとも1つの回転量代替値を記憶することができる記憶容量を有している。   The rotation amount substitution value storage unit 55 is a storage circuit that stores a rotation amount substitution value. The rotation amount substitute value storage unit 55 has a storage capacity capable of storing at least one rotation amount substitute value.

図11および図12は、第3のアルゴリズムに従った回路ユニット51の具体的な動作を示している。説明の便宜上、上述した第1の実施形態と同様に、磁気センサ1、2、3から出力される検出信号に対応する信号値をそれぞれ「1」、「2」、「3」とする。   11 and 12 show a specific operation of the circuit unit 51 according to the third algorithm. For convenience of explanation, similarly to the first embodiment described above, the signal values corresponding to the detection signals output from the magnetic sensors 1, 2, and 3 are “1”, “2”, and “3”, respectively.

また、図12に示す表において、最も左側の第1列は、図6と同様にステップ番号を示している。また、図12中の第2列は検出信号に対応する信号値を示し、第3列は判定処理部53による処理前の信号値を示し、第4列は判定処理部53による信号値についての処理内容を示し、第5列は判定処理部53による処理後の信号値を示している。また、図12中の第6列は判定処理部53による処理前の回転量代替値を示し、第7列は判定処理部53による回転量代替値についての処理内容を示し、第8列は判定処理部53による処理後の回転量代替値を示している。また、図12中の第9列は判定処理部53による判定結果を示し、最も右側の第10列は計数処理部36による処理後の計数値を示している。   In the table shown in FIG. 12, the leftmost first column indicates step numbers as in FIG. The second column in FIG. 12 indicates the signal value corresponding to the detection signal, the third column indicates the signal value before processing by the determination processing unit 53, and the fourth column indicates the signal value by the determination processing unit 53. The processing content is shown, and the fifth column shows a signal value after processing by the determination processing unit 53. Further, the sixth column in FIG. 12 shows the rotation amount substitute value before the processing by the determination processing unit 53, the seventh column shows the processing content of the rotation amount substitute value by the determination processing unit 53, and the eighth column is the determination. The rotation amount alternative value after processing by the processing unit 53 is shown. Further, the ninth column in FIG. 12 indicates the determination result by the determination processing unit 53, and the rightmost tenth column indicates the count value after processing by the count processing unit 36.

図12中のステップS41は初期状態である。初期状態においては、アウトプット磁石16が磁気センサ1と対向した位置にある(図11参照)。そして、検出信号記憶部54には前回信号値の初期値として「1」が記憶され、回転量代替値記憶部55には初期値として「0」が記憶されている。   Step S41 in FIG. 12 is an initial state. In the initial state, the output magnet 16 is at a position facing the magnetic sensor 1 (see FIG. 11). The detection signal storage unit 54 stores “1” as the initial value of the previous signal value, and the rotation amount substitute value storage unit 55 stores “0” as the initial value.

ステップS42において、回転軸150の右方向の回転に伴って可動部13が初期状態から右方向に120度回転し、これにより磁気センサ2から検出信号が出力されたとき、判定処理部53は、検出信号記憶部54に記憶された前回信号値「1」を読み取り、当該前回信号値「1」と、磁気センサ2から今回出力された検出信号に対応する今回信号値「2」とを比較し、回転軸150の回転量を認識する。ここで、判定処理部53は、前回信号値と今回信号値とを比較し、前回信号値と今回信号値とがそれぞれ「1」、「2」である場合、「2」、「3」である場合、または「3」、「1」である場合には、回転軸150が右方向に120度回転したと認識し、一方、前回信号値と今回信号値とが「1」、「3」である場合、「3」、「2」である場合、または「2」、「1」である場合には、回転軸150が左方向に120度回転したと認識する。ステップS42においては、前回信号値と今回信号値がそれぞれ「1」、「2」であるので、判定処理部53は、回転軸150が右方向に120度回転したと認識する。続いて、ステップS42において、判定処理部53は今回信号値「2」を検出信号記憶部54に記憶(上書き)する。さらに、判定処理部53は、回転量代替値として「2」を回転量代替値記憶部55に記憶(上書き)する。   In step S42, when the movable unit 13 rotates 120 degrees rightward from the initial state as the rotation shaft 150 rotates in the right direction, and the detection signal is output from the magnetic sensor 2, the determination processing unit 53 The previous signal value “1” stored in the detection signal storage unit 54 is read, and the previous signal value “1” is compared with the current signal value “2” corresponding to the detection signal output from the magnetic sensor 2 this time. The amount of rotation of the rotating shaft 150 is recognized. Here, the determination processing unit 53 compares the previous signal value with the current signal value, and when the previous signal value and the current signal value are “1” and “2”, respectively, “2” and “3”. If it is “3” or “1”, it is recognized that the rotary shaft 150 has rotated 120 degrees rightward, while the previous signal value and the current signal value are “1”, “3”. If it is “3”, “2”, or “2”, “1”, it is recognized that the rotary shaft 150 has rotated 120 degrees to the left. In step S42, since the previous signal value and the current signal value are “1” and “2”, respectively, the determination processing unit 53 recognizes that the rotation shaft 150 has rotated 120 degrees in the right direction. Subsequently, in step S <b> 42, the determination processing unit 53 stores (overwrites) the current signal value “2” in the detection signal storage unit 54. Further, the determination processing unit 53 stores (overwrites) “2” in the rotation amount substitute value storage unit 55 as the rotation amount substitute value.

ステップS43において、回転軸150の右方向の回転が継続し、これに伴って可動部13がステップS42の状態から右方向に120度回転し、これにより磁気センサ3から検出信号が出力されたとき、判定処理部53は、検出信号記憶部54に記憶された前回信号値「2」を読み取り、当該前回信号値「2」と、磁気センサ2から今回出力された検出信号に対応する今回信号値「3」とを比較し、回転軸150が右方向に120度回転したと認識する。続いて、ステップS43において、判定処理部53は今回信号値「3」を検出信号記憶部54に記憶する。さらに、判定処理部53は、回転量代替値記憶部55に記憶された回転量代替値「2」を読み取り、当該読み取った回転量代替値「2」を1増加させ、当該増加させた回転量代替値「3」を回転量代替値記憶部55に記憶する。   In Step S43, when the rotation of the rotation shaft 150 continues in the right direction, the movable portion 13 rotates 120 degrees in the right direction from the state of Step S42, and thereby the detection signal is output from the magnetic sensor 3. The determination processing unit 53 reads the previous signal value “2” stored in the detection signal storage unit 54, the previous signal value “2”, and the current signal value corresponding to the detection signal output from the magnetic sensor 2 this time. Compared with “3”, it is recognized that the rotary shaft 150 has rotated 120 degrees to the right. Subsequently, in step S <b> 43, the determination processing unit 53 stores the current signal value “3” in the detection signal storage unit 54. Further, the determination processing unit 53 reads the rotation amount substitution value “2” stored in the rotation amount substitution value storage unit 55, increases the read rotation amount substitution value “2” by 1, and increases the rotation amount. The substitution value “3” is stored in the rotation amount substitution value storage unit 55.

ステップS44において、回転軸150の右方向の回転が継続し、これに伴って可動部13がステップS43の状態から右方向に120度回転し、これにより磁気センサ1から検出信号が出力されたとき、判定処理部53は、検出信号記憶部54に記憶された前回信号値「3」を読み取り、当該前回信号値「3」と、磁気センサ1から今回出力された検出信号に対応する今回信号値「1」とを比較し、回転軸150が右方向に120度回転したと認識する。続いて、ステップS44において、判定処理部53は今回信号値「1」を検出信号記憶部54に記憶する。さらに、判定処理部53は、回転量代替値記憶部55に記憶された回転量代替値「3」を読み取る。しかし、判定処理部53は、ステップS44においては、回転量代替値を変更する処理も、回転量代替値を回転量代替値記憶部55に記憶する処理も行わない。   In step S44, when the rotation of the rotation shaft 150 continues in the right direction, the movable portion 13 rotates 120 degrees in the right direction from the state in step S43, and thereby the detection signal is output from the magnetic sensor 1. The determination processing unit 53 reads the previous signal value “3” stored in the detection signal storage unit 54, and the previous signal value “3” and the current signal value corresponding to the detection signal output from the magnetic sensor 1 this time. Compared with “1”, it is recognized that the rotary shaft 150 has rotated 120 degrees to the right. Subsequently, in step S <b> 44, the determination processing unit 53 stores the current signal value “1” in the detection signal storage unit 54. Further, the determination processing unit 53 reads the rotation amount substitution value “3” stored in the rotation amount substitution value storage unit 55. However, the determination processing unit 53 does not perform a process of changing the rotation amount substitute value nor a process of storing the rotation amount substitute value in the rotation amount substitute value storage unit 55 in step S44.

ここで、判定処理部53は、磁気センサ1から検出信号が出力されたステップでは、回転軸150が1回転したか否かの判定を行う。すなわち、判定処理部53は、磁気センサ1から検出信号が出力されたステップにおいて、回転軸150の回転方向が右方向であり、かつ回転量代替値記憶部55から読み取った回転量代替値が「3」であるとき、回転軸150が右方向に1回転したと判定し、回転軸150が右方向に1回転したことを示す回転判定信号を出力する。また、判定処理部53は、磁気センサ1から検出信号が出力されたステップにおいて、回転軸150の回転方向が左方向であり、回転量代替値記憶部55から読み取った回転量代替値が「0」であるとき、回転軸150が左方向に1回転したと判定し、回転軸150が左方向に1回転したことを示す回転判定信号を出力する。磁気センサ1から検出信号が出力されたステップS44においては、回転軸150の回転方向が右方向であり、かつ回転量代替値記憶部55から読み取った回転量代替値は「3」なので、判定処理部53は、回転軸150が右方向に1回転したと判定し、回転軸150が右方向に1回転したことを示す回転判定信号を出力する。判定処理部53から当該回転判定信号が出力されると、これに応じて計数処理部36が計数値記憶部38から計数値を読み取り、当該読み取った計数値を1増加させ、当該1増加させた計数値を計数値記憶部38に記憶(上書き)する。   Here, in the step in which the detection signal is output from the magnetic sensor 1, the determination processing unit 53 determines whether or not the rotating shaft 150 has made one rotation. That is, in the step in which the detection signal is output from the magnetic sensor 1, the determination processing unit 53 determines that the rotation amount alternative value read from the rotation amount alternative value storage unit 55 is “ When “3”, it is determined that the rotation shaft 150 has made one rotation in the right direction, and a rotation determination signal indicating that the rotation shaft 150 has made one rotation in the right direction is output. In addition, in the step in which the detection signal is output from the magnetic sensor 1, the determination processing unit 53 indicates that the rotation direction of the rotation shaft 150 is the left direction, and the rotation amount substitution value read from the rotation amount substitution value storage unit 55 is “0”. ”, It is determined that the rotation shaft 150 has made one rotation in the left direction, and a rotation determination signal indicating that the rotation shaft 150 has made one rotation in the left direction is output. In step S44 in which the detection signal is output from the magnetic sensor 1, the rotation direction of the rotary shaft 150 is the right direction, and the rotation amount alternative value read from the rotation amount replacement value storage unit 55 is “3”. The unit 53 determines that the rotation shaft 150 has made one rotation in the right direction, and outputs a rotation determination signal indicating that the rotation shaft 150 has made one rotation in the right direction. When the rotation determination signal is output from the determination processing unit 53, the count processing unit 36 reads the count value from the count value storage unit 38 in response to this, increases the read count value by 1, and increases the count by 1. The count value is stored (overwritten) in the count value storage unit 38.

ステップS45において、回転軸150の右方向の回転が継続し、これに伴って可動部13がステップS44の状態から右方向に120度回転し、これにより磁気センサ2から検出信号が出力されたとき、判定処理部53は、ステップS42と同様の処理を行う。この結果、検出信号記憶部54に記憶された信号値は「2」となり、回転量代替値記憶部55に記憶された回転量代替値は「2」となる。   In step S45, when the rotation of the rotary shaft 150 continues in the right direction, the movable portion 13 rotates 120 degrees in the right direction from the state in step S44, and thereby the detection signal is output from the magnetic sensor 2. The determination processing unit 53 performs the same process as in step S42. As a result, the signal value stored in the detection signal storage unit 54 is “2”, and the rotation amount substitution value stored in the rotation amount substitution value storage unit 55 is “2”.

ステップS46において、回転軸150の右方向の回転が継続し、これに伴って可動部13がステップS45の状態から右方向に120度回転し、これにより磁気センサ3から検出信号が出力されたとき、判定処理部53は、ステップS43と同様の処理を行う。この結果、検出信号記憶部54に記憶された信号値は「3」となり、回転量代替値記憶部55に記憶された回転量は「3」となる。   In step S46, when the rotation of the rotary shaft 150 continues in the right direction, the movable unit 13 rotates 120 degrees in the right direction from the state of step S45, and thereby the detection signal is output from the magnetic sensor 3. The determination processing unit 53 performs the same process as in step S43. As a result, the signal value stored in the detection signal storage unit 54 is “3”, and the rotation amount stored in the rotation amount substitute value storage unit 55 is “3”.

ステップS47において、回転軸150の回転方向が右方向から左方向に変化し、これに伴って可動部13がステップS46の状態から左方向に120度回転し、これにより磁気センサ2から検出信号が出力されたとき、判定処理部53は、検出信号記憶部54に記憶された前回信号値「3」を読み取り、当該前回信号値「3」と、磁気センサ2から今回出力された検出信号に対応する今回信号値「2」とを比較し、回転軸150が左方向に120度回転したと認識する。続いて、ステップS47において、判定処理部53は今回信号値「2」を検出信号記憶部54に記憶する。さらに、判定処理部53は、回転量代替値記憶部55に記憶された回転量代替値「3」を読み取り、当該読み取った回転量代替値「3」を1減少させ、当該減少させた回転量代替値「2」を回転量代替値記憶部55に記憶する。   In step S47, the rotation direction of the rotating shaft 150 changes from the right direction to the left direction, and accordingly, the movable portion 13 rotates 120 degrees to the left from the state in step S46, whereby a detection signal is output from the magnetic sensor 2. When output, the determination processing unit 53 reads the previous signal value “3” stored in the detection signal storage unit 54 and corresponds to the previous signal value “3” and the detection signal output from the magnetic sensor 2 this time. The current signal value “2” is compared, and it is recognized that the rotating shaft 150 has rotated 120 degrees to the left. Subsequently, in step S <b> 47, the determination processing unit 53 stores the current signal value “2” in the detection signal storage unit 54. Further, the determination processing unit 53 reads the rotation amount substitution value “3” stored in the rotation amount substitution value storage unit 55, decreases the read rotation amount substitution value “3” by 1, and reduces the reduced rotation amount. The substitute value “2” is stored in the rotation amount substitute value storage unit 55.

ステップS48において、回転軸150の回転方向が左方向から右方向に戻り、これに伴って可動部13がステップS47の状態から右方向に120度回転し、これにより磁気センサ3から検出信号が出力されたとき、判定処理部53は、ステップS43と同様の処理を行う。この結果、検出信号記憶部54に記憶された信号値は「3」となり、回転量代替値記憶部55に記憶された回転量代替値は「3」となる。   In step S48, the rotation direction of the rotary shaft 150 returns from the left direction to the right direction, and accordingly, the movable part 13 rotates 120 degrees to the right from the state in step S47, thereby outputting a detection signal from the magnetic sensor 3. When the determination is made, the determination processing unit 53 performs the same processing as in step S43. As a result, the signal value stored in the detection signal storage unit 54 is “3”, and the rotation amount substitution value stored in the rotation amount substitution value storage unit 55 is “3”.

ステップS49において、回転軸150の回転方向が右方向から左方向に再び変化し、これに伴って可動部13がステップS48の状態から左方向に120度回転し、これにより磁気センサ2から検出信号が出力されたとき、判定処理部53は、ステップS47と同様の処理を行う。この結果、検出信号記憶部54に記憶された信号値は「2」となり、回転量代替値記憶部55に記憶された回転量は「2」となる。   In step S49, the rotation direction of the rotating shaft 150 changes again from the right direction to the left direction, and accordingly, the movable portion 13 rotates 120 degrees in the left direction from the state in step S48, thereby detecting the detection signal from the magnetic sensor 2. Is output, the determination processing unit 53 performs the same processing as in step S47. As a result, the signal value stored in the detection signal storage unit 54 is “2”, and the rotation amount stored in the rotation amount substitute value storage unit 55 is “2”.

ステップS50において、回転軸150の左方向の回転が継続し、これに伴って可動部13がステップS49の状態から左方向に120度回転し、これにより磁気センサ1から検出信号が出力されたとき、判定処理部53は、検出信号記憶部54に記憶された前回信号値「2」を読み取り、当該前回信号値「2」と、磁気センサ1から今回出力された検出信号に対応する今回信号値「1」とを比較し、回転軸150が左方向に120度回転したと認識する。続いて、ステップS50において、判定処理部53は今回信号値「1」を検出信号記憶部54に記憶する。さらに、判定処理部53は、回転量代替値記憶部55に記憶された回転量代替値「2」を読み取る。しかし、判定処理部53は、ステップS50においては、回転量代替値を変更する処理も、回転量代替値を回転量代替値記憶部55に記憶する処理も行わない。また、上述したように、判定処理部53は、磁気センサ1から検出信号が出力されたステップでは、回転軸150が1回転したか否かの判定を行う。磁気センサ1から検出信号が出力されたステップS50において、回転軸150の回転方向が左方向であるが、回転量代替値記憶部55から読み取った回転量代替値は「2」なので、判定処理部53は回転判定信号を出力しない。   In step S50, the rotation of the rotation shaft 150 in the left direction is continued, and accordingly, the movable portion 13 is rotated 120 degrees in the left direction from the state in step S49, whereby the detection signal is output from the magnetic sensor 1. The determination processing unit 53 reads the previous signal value “2” stored in the detection signal storage unit 54, and the current signal value corresponding to the previous signal value “2” and the detection signal output from the magnetic sensor 1 this time. Compared with “1”, it is recognized that the rotating shaft 150 has rotated 120 degrees to the left. Subsequently, in step S <b> 50, the determination processing unit 53 stores the current signal value “1” in the detection signal storage unit 54. Further, the determination processing unit 53 reads the rotation amount substitution value “2” stored in the rotation amount substitution value storage unit 55. However, the determination processing unit 53 does not perform a process of changing the rotation amount substitute value or a process of storing the rotation amount substitute value in the rotation amount substitute value storage unit 55 in step S50. Further, as described above, the determination processing unit 53 determines whether or not the rotation shaft 150 has made one rotation at the step in which the detection signal is output from the magnetic sensor 1. In step S50 in which the detection signal is output from the magnetic sensor 1, the rotation direction of the rotary shaft 150 is the left direction, but the rotation amount alternative value read from the rotation amount alternative value storage unit 55 is “2”. 53 does not output a rotation determination signal.

また、回転軸150が、例えばステップS50の状態(アウトプット磁石16が磁気センサ1と対向した位置にある状態)から、右方向に30度ないし110度程度の回転と左方向に30度ないし110度程度の回転とを繰り返した場合には、アウトプット磁石16が磁気センサ1への接近、離間を連続的に繰り返すので、ステップS51、S52に示すように、磁気センサ1から検出信号が連続的に出力される。この場合、判定処理部53は、磁気センサ1から検出信号が出力されるたびに、検出信号記憶部54に記憶された前回信号値「1」を読み取り、磁気センサ1から今回出力された検出信号に対応する今回信号値「1」と比較する。そして、判定処理部53は、当該比較結果から、回転軸150の回転量が120度に達していないことを認識する。この場合、判定処理部53は、今回信号値を検出信号記憶部54に記憶する処理も、回転量代替値記憶部55からの回転量代替値の読み取る処理も、回転量代替値を増加または減少させる処理も、回転量代替値を回転量代替値記憶部55に記憶する処理も行わない。   Further, for example, the rotation shaft 150 rotates about 30 to 110 degrees in the right direction and 30 degrees to 110 in the left direction from the state of step S50 (the state where the output magnet 16 is in a position facing the magnetic sensor 1). When the rotation of about 20 degrees is repeated, the output magnet 16 continuously approaches and separates from the magnetic sensor 1, so that the detection signal from the magnetic sensor 1 is continuous as shown in steps S51 and S52. Is output. In this case, every time a detection signal is output from the magnetic sensor 1, the determination processing unit 53 reads the previous signal value “1” stored in the detection signal storage unit 54, and the detection signal output this time from the magnetic sensor 1. Is compared with the current signal value “1” corresponding to. And the determination process part 53 recognizes from the said comparison result that the rotation amount of the rotating shaft 150 has not reached 120 degree | times. In this case, the determination processing unit 53 increases or decreases the rotation amount substitution value both in the process of storing the current signal value in the detection signal storage unit 54 and in the process of reading the rotation amount substitution value from the rotation amount substitution value storage unit 55. Neither the processing to store the rotation amount substitution value nor the processing to store the rotation amount substitution value in the rotation amount substitution value storage 55 is performed.

さらに、回転軸150の右方向または左方向の回転に伴う可動部13の右方向または左方向の回転に応じ、判定処理部53はステップS53以降の処理を行う。   Furthermore, the determination processing unit 53 performs the processing from step S53 onward in accordance with the rightward or leftward rotation of the movable unit 13 accompanying the rightward or leftward rotation of the rotation shaft 150.

以上説明した通り、第3の実施形態によれば、第2の実施形態により得られる作用効果に加え、上述したように、第3のアルゴリズムを採用することにより、回転判定に係る処理数を第2のアルゴリズムを採用する場合よりも少なくすることができ、電力の消費の削減をより一層図ることができる。また、第2の実施形態による回路ユニット41では、検出信号記憶部44の記憶容量(2ビット)と回転量記憶部45の記憶容量(3ビット)とを合わせて記憶容量を5ビットまで小さくすることができるが、第3の実施形態による回路ユニット51では、検出信号記憶部54の記憶容量(2ビット)と回転量代替値記憶部55の記憶容量(2ビット)とを合わせて記憶容量を4ビットまで小さくすることができる。この点でも、電力消費を削減を推し進めることができる。   As described above, according to the third embodiment, in addition to the operational effects obtained by the second embodiment, as described above, by adopting the third algorithm, the number of processes related to rotation determination can be reduced. Therefore, the power consumption can be further reduced as compared with the case where the algorithm 2 is adopted. In the circuit unit 41 according to the second embodiment, the storage capacity (2 bits) of the detection signal storage unit 44 and the storage capacity (3 bits) of the rotation amount storage unit 45 are combined to reduce the storage capacity to 5 bits. However, in the circuit unit 51 according to the third embodiment, the storage capacity (2 bits) of the detection signal storage unit 54 and the storage capacity (2 bits) of the rotation amount alternative value storage unit 55 are combined to increase the storage capacity. It can be reduced to 4 bits. In this respect as well, the reduction of power consumption can be promoted.

(第4の実施形態)
次に、本発明の第4の実施形態について図13ないし図15を参照しながら説明する。なお、図13ないし図15において、図1ないし図6に示す本発明の第1の実施形態と同一の構成要素には同一の符号を付し、その説明を省略する。
(Fourth embodiment)
Next, a fourth embodiment of the present invention will be described with reference to FIGS. 13 to 15, the same components as those of the first embodiment of the present invention shown in FIGS. 1 to 6 are denoted by the same reference numerals, and the description thereof is omitted.

図13は、本発明の第4の実施形態による回転検出装置に設けられた回路ユニットを示している。図13において、回路ユニット61は、回路ユニット25と同様に、磁気センサ1、2、3から出力される検出信号に基づいて回転軸150の回転方向を考慮した回転数を検出する回路ユニットであり、回路ユニット25に代えて基板23上に設けることができる。   FIG. 13 shows a circuit unit provided in the rotation detection device according to the fourth embodiment of the present invention. In FIG. 13, a circuit unit 61 is a circuit unit that detects the number of rotations in consideration of the direction of rotation of the rotating shaft 150 based on detection signals output from the magnetic sensors 1, 2, and 3, similarly to the circuit unit 25. Instead of the circuit unit 25, it can be provided on the substrate 23.

回路ユニット51は、次に説明する第4のアルゴリズムに従って回転軸150の回転数を計数する。第4のアルゴリズムは次のような考え方を基礎にしている。すなわち、アウトプット磁石16が磁気センサ1と対向する位置にある状態から、回転軸150が右方向に1回転し、これに伴って可動部13が右方向に1回転する場合、アウトプット磁石16は、可動部13の回転が始まった直後に、磁気センサ1の周方向右隣に配置された磁気センサ2の近傍を通過し、可動部13が1回転する直前に、磁気センサ1の周方向左隣に配置された磁気センサ3の近傍を通過する。したがって、回転軸150の回転に伴う可動部13の回転により、アウトプット磁石16が、磁気センサ1と対向する位置から移動を開始した直後に磁気センサ2の近傍を通過した事実と、磁気センサ1と対向する位置に戻る直前に磁気センサ3の近傍を通過した事実とを認識することにより、回転軸150が右方向に1回転したと判定することができる。また、アウトプット磁石16が磁気センサ1と対向する位置にある状態から、回転軸150が左方向に1回転し、これに伴って可動部13が左方向に1回転する場合、アウトプット磁石16は、可動部13の回転が始まった直後に、磁気センサ1の周方向左隣に配置された磁気センサ3の近傍を通過し、可動部13が1回転する直前に、磁気センサ1の周方向右隣に配置された磁気センサ2の近傍を通過する。したがって、回転軸150の回転に伴う可動部13の回転により、アウトプット磁石16が、磁気センサ1と対向する位置から移動を開始した直後に磁気センサ3の近傍を通過した事実と、磁気センサ1と対向する位置に戻る直前に磁気センサ2の近傍を通過した事実とを認識することにより、回転軸150が左方向に1回転したと判定することができる。   The circuit unit 51 counts the number of rotations of the rotating shaft 150 according to a fourth algorithm described below. The fourth algorithm is based on the following concept. That is, when the rotating shaft 150 rotates once in the right direction from the state where the output magnet 16 is opposed to the magnetic sensor 1, the output magnet 16 is rotated when the movable portion 13 rotates once in the right direction. Immediately after the rotation of the movable part 13 starts, passes through the vicinity of the magnetic sensor 2 arranged on the right in the circumferential direction of the magnetic sensor 1 and immediately before the movable part 13 makes one rotation, the circumferential direction of the magnetic sensor 1 Passes in the vicinity of the magnetic sensor 3 arranged on the left side. Therefore, due to the rotation of the movable portion 13 accompanying the rotation of the rotating shaft 150, the fact that the output magnet 16 has passed near the magnetic sensor 2 immediately after starting to move from the position facing the magnetic sensor 1, and the magnetic sensor 1. By recognizing the fact that the magnetic sensor 3 has passed in the vicinity immediately before returning to the position facing the rotation axis 150, it can be determined that the rotation shaft 150 has made one rotation in the right direction. Further, when the output magnet 16 is in a position facing the magnetic sensor 1 and the rotating shaft 150 makes one rotation leftward, and accordingly the movable portion 13 makes one rotation leftward, the output magnet 16 Passes through the vicinity of the magnetic sensor 3 arranged on the left side in the circumferential direction of the magnetic sensor 1 immediately after the rotation of the movable part 13 and immediately before the movable part 13 makes one rotation, the circumferential direction of the magnetic sensor 1 It passes in the vicinity of the magnetic sensor 2 arranged on the right side. Accordingly, the fact that the output magnet 16 has passed through the vicinity of the magnetic sensor 3 immediately after starting to move from the position facing the magnetic sensor 1 due to the rotation of the movable portion 13 accompanying the rotation of the rotating shaft 150, and the magnetic sensor 1. It is possible to determine that the rotating shaft 150 has made one rotation in the left direction by recognizing the fact that it has passed through the vicinity of the magnetic sensor 2 immediately before returning to the position opposite to.

このような考え方を基礎とした第4のアルゴリズムにおいては、磁気センサ1、2、3のうち、例えば磁気センサ1を基準となる磁気センサとし、磁気センサ1から検出信号が出力されるたびに、前回、磁気センサ1から検出信号が出力された直後に磁気センサ2および磁気センサ3のいずれかから出力された検出信号に対応する信号値と、今回、磁気センサ1から検出信号が出力される直前に磁気センサ2および磁気センサ3のいずれかから出力された検出信号に対応する信号値とがそれぞれ所定の信号値であるか否かを判断し、当該判断結果に基づいて回転軸150が1回転したか否かを判定する。なお、第4のアルゴリズムを実現するために記憶する必要のある情報は、2つの信号値である。   In the fourth algorithm based on this concept, among the magnetic sensors 1, 2, and 3, for example, the magnetic sensor 1 is used as a reference magnetic sensor, and each time a detection signal is output from the magnetic sensor 1, The signal value corresponding to the detection signal output from one of the magnetic sensor 2 and the magnetic sensor 3 immediately after the detection signal is output from the magnetic sensor 1 last time, and immediately before the detection signal is output from the magnetic sensor 1 this time. It is determined whether the signal value corresponding to the detection signal output from either the magnetic sensor 2 or the magnetic sensor 3 is a predetermined signal value, and the rotating shaft 150 makes one rotation based on the determination result. Determine whether or not. The information that needs to be stored in order to realize the fourth algorithm is two signal values.

このような第4のアルゴリズムを実施する回路ユニット61の回転判定回路62は、図13に示すように、判定処理部63および検出信号記憶部64を備えている。   The rotation determination circuit 62 of the circuit unit 61 that implements such a fourth algorithm includes a determination processing unit 63 and a detection signal storage unit 64, as shown in FIG.

判定処理部63は、上述した第4のアルゴリズムに従って回転判定処理を行う演算処理回路であり、第1の実施形態における判定処理部33とほぼ同様に、磁気センサ1、2、3から出力される検出信号を受け取り、受け取った検出信号が磁気センサ1、2、3のうちのいずれから出力されたかを認識する。また、判定処理部63は、検出信号記憶部64を制御し、磁気センサ1、2、3から出力された検出信号に対応する信号値の記憶、読み取り、消去を行うことができる。また、判定処理部63は、磁気センサ1、2、3から出力された検出信号に対応する信号値、および検出信号記憶部64から読み取った信号値をそれぞれ認識し、当該認識結果により回転軸150が右方向に1回転したか否か、左方向に1回転したか否かを判定し、回転軸150が右方向に1回転したときと、回転軸150が左方向に1回転したときで互いに異なる回転判定信号を出力する。   The determination processing unit 63 is an arithmetic processing circuit that performs rotation determination processing according to the above-described fourth algorithm, and is output from the magnetic sensors 1, 2, and 3 in substantially the same manner as the determination processing unit 33 in the first embodiment. A detection signal is received, and it is recognized which of the magnetic sensors 1, 2, and 3 the received detection signal is output from. The determination processing unit 63 can control the detection signal storage unit 64 to store, read, and erase signal values corresponding to the detection signals output from the magnetic sensors 1, 2, and 3. Further, the determination processing unit 63 recognizes the signal value corresponding to the detection signal output from the magnetic sensors 1, 2, and 3 and the signal value read from the detection signal storage unit 64, and the rotating shaft 150 is recognized based on the recognition result. It is determined whether or not the rotation shaft has made one rotation in the right direction and one rotation in the left direction. When the rotation shaft 150 makes one rotation in the right direction and when the rotation shaft 150 makes one rotation in the left direction, A different rotation judgment signal is output.

検出信号記憶部64は、磁気センサ1、2、3から出力された検出信号に対応する信号値を記憶する記憶回路である。検出信号記憶部64は少なくとも2つの信号値を同時に記憶することができる記憶容量を有している。   The detection signal storage unit 64 is a storage circuit that stores signal values corresponding to the detection signals output from the magnetic sensors 1, 2, and 3. The detection signal storage unit 64 has a storage capacity capable of storing at least two signal values simultaneously.

図14および図15は、第4のアルゴリズムに従った回路ユニット61の具体的な動作を示している。説明の便宜上、上述した第1の実施形態と同様に、磁気センサ1、2、3から出力される検出信号に対応する信号値をそれぞれ「1」、「2」、「3」とする。また、判定処理部63は検出信号記憶部64に2つの信号値を同時に記憶する。これら2つの信号値は、2進数で表現した場合に4ビットからなる1つのビット列(以下、これを「信号値配列」という。)として取り扱われるものとする。すなわち、上記2つの信号値のうち一方の信号値が信号値配列中の第1の領域(例えば4ビットのビット列のうちの上位2ビット)に割り当てられ、上記2つの信号値のうちの他方の信号値が信号値配列中の第2の領域(例えば4ビットのビット列のうちの下位2ビット)に割り当てられるものとする。   14 and 15 show specific operations of the circuit unit 61 according to the fourth algorithm. For convenience of explanation, similarly to the first embodiment described above, the signal values corresponding to the detection signals output from the magnetic sensors 1, 2, and 3 are “1”, “2”, and “3”, respectively. In addition, the determination processing unit 63 stores two signal values in the detection signal storage unit 64 at the same time. These two signal values are handled as one bit string (hereinafter referred to as “signal value array”) consisting of 4 bits when expressed in binary. That is, one of the two signal values is assigned to a first region in the signal value array (for example, the upper 2 bits of a 4-bit bit string), and the other of the two signal values is assigned. It is assumed that the signal value is assigned to a second region (for example, lower 2 bits of a 4-bit bit string) in the signal value array.

また、図15に示す表において、最も左側の第1列は、図6と同様にステップ番号を示し、第2列は検出信号に対応する信号値を示している。第3列は判定処理部63による処理前の信号値配列を示し、第4列は判定処理部63による信号値配列についての処理内容を示し、第5列は判定処理部63による処理後の信号値配列を示している。また、図15中の第6列は判定処理部63による判定結果を示し、最も右側の第7列は計数処理部36による処理後の計数値を示している。   In the table shown in FIG. 15, the leftmost first column indicates the step number as in FIG. 6, and the second column indicates the signal value corresponding to the detection signal. The third column shows the signal value array before processing by the determination processing unit 63, the fourth column shows the processing contents of the signal value array by the determination processing unit 63, and the fifth column shows the signal after processing by the determination processing unit 63 A value array is shown. In addition, the sixth column in FIG. 15 indicates the determination result by the determination processing unit 63, and the rightmost seventh column indicates the count value after the processing by the count processing unit 36.

図15中のステップS61は初期状態である。初期状態においては、アウトプット磁石16が磁気センサ1と対向した位置にある(図14参照)。そして、検出信号記憶部64には信号値配列の初期値として「00」が記憶されている。   Step S61 in FIG. 15 is an initial state. In the initial state, the output magnet 16 is at a position facing the magnetic sensor 1 (see FIG. 14). The detection signal storage unit 64 stores “00” as the initial value of the signal value array.

ステップS62において、回転軸150の右方向の回転に伴って可動部13が初期状態から右方向に120度回転し、これにより磁気センサ2から検出信号が出力されたとき、判定処理部63は、検出信号記憶部64に記憶された信号値配列「00」を読み取り、磁気センサ2から今回出力された検出信号に対応する信号値「2」(2進数では「10」)を信号値配列中の第1の領域に入れる。これにより信号値配列は「02」(2進数では「0010」)となる。続いて、判定処理部63は当該信号値配列を検出信号記憶部64に記憶(上書き)する。   In step S62, when the movable unit 13 rotates 120 degrees to the right from the initial state as the rotation shaft 150 rotates in the right direction, and when a detection signal is output from the magnetic sensor 2, the determination processing unit 63 The signal value array “00” stored in the detection signal storage unit 64 is read, and the signal value “2” (“10” in binary) corresponding to the detection signal output this time from the magnetic sensor 2 is stored in the signal value array. Enter the first area. As a result, the signal value array becomes “02” (“0010” in binary). Subsequently, the determination processing unit 63 stores (overwrites) the signal value array in the detection signal storage unit 64.

このように、判定処理部63は、可動部13が初期状態から回転を開始した直後においては、磁気センサ2および磁気センサ3のいずれかから出力された検出信号に対応する信号値を信号値配列中の第1の領域に入れ、当該信号値配列を検出信号記憶部64に記憶する。また、判定処理部63は、後述するように、アウトプット磁石16が磁気センサ1の近傍を通過した直後、すなわち、磁気センサ1から検出信号が出力された直後においても、磁気センサ2および磁気センサ3のいずれかから出力された検出信号に対応する信号値を信号値配列中の第1の領域に入れ、当該信号値配列を検出信号記憶部64に記憶する。一方、判定処理部63は、後述するように、これら以外の時期においては、磁気センサ2および磁気センサ3のいずれかから出力された検出信号に対応する信号値を信号値配列中の第2の領域に入れ、当該信号値配列を検出信号記憶部64に記憶する。   Thus, immediately after the movable unit 13 starts rotating from the initial state, the determination processing unit 63 sets the signal value corresponding to the detection signal output from either the magnetic sensor 2 or the magnetic sensor 3 to the signal value array. The signal value array is stored in the detection signal storage unit 64 in the first region. Further, as will be described later, the determination processing unit 63 also includes the magnetic sensor 2 and the magnetic sensor immediately after the output magnet 16 passes the vicinity of the magnetic sensor 1, that is, immediately after the detection signal is output from the magnetic sensor 1. 3, the signal value corresponding to the detection signal output from any one of 3 is input to the first region in the signal value array, and the signal value array is stored in the detection signal storage unit 64. On the other hand, as will be described later, the determination processing unit 63 outputs the signal value corresponding to the detection signal output from either the magnetic sensor 2 or the magnetic sensor 3 at the second time in the signal value array at other times. The signal value array is stored in the detection signal storage unit 64.

ステップS63において、回転軸150の右方向の回転が継続し、これに伴って可動部13がステップS62の状態から右方向に120度回転し、磁気センサ3から検出信号が出力されたとき、判定処理部63は、検出信号記憶部64に記憶された信号値配列「02」を読み取り、磁気センサ3から今回出力された検出信号に対応する信号値「3」(2進数では「11」)を信号値配列中の第2の領域に入れる。これにより信号値配列は「32」(2進数では「1110」)となる。続いて、判定処理部63は当該信号値配列を検出信号記憶部64に記憶する。   In step S63, when the rotation of the rotation shaft 150 in the right direction is continued and the movable unit 13 is rotated 120 degrees in the right direction from the state in step S62, and the detection signal is output from the magnetic sensor 3, the determination is made. The processing unit 63 reads the signal value array “02” stored in the detection signal storage unit 64 and outputs a signal value “3” (“11” in binary) corresponding to the detection signal output from the magnetic sensor 3 this time. Put in the second region in the signal value array. As a result, the signal value array is “32” (“1110” in binary). Subsequently, the determination processing unit 63 stores the signal value array in the detection signal storage unit 64.

ステップS64において、回転軸150の右方向の回転が継続し、これに伴って可動部13がステップS63の状態から右方向に120度回転し、磁気センサ1から検出信号が出力されたとき、判定処理部63は、検出信号記憶部64に記憶された信号値配列「32」を読み取り、当該信号値配列「32」に基づいて、回転軸150が右方向または左方向に1回転したか否かを判定する。すなわち、判定処理部63は、磁気センサ1、2、3のうち基準となる磁気センサ1から検出信号が出力されたときには、回転軸150が右方向または左方向に1回転したか否かを判定する処理を行う。この判定処理において、判定処理部63は、信号値配列が「32」の場合に、回転軸150が右方向に1回転したと判定し、信号値配列が「23」の場合に、回転軸150が左方向に1回転したと判定する。信号値配列がこれら以外の場合には、判定処理部63は、回転軸150が1回転していないと判定する。ステップS64において信号値配列は「32」であるので、判定処理部63は、回転軸150が右方向に1回転したと判定し、その旨を示す回転判定信号を出力する。そして、判定処理部63は、読み取った信号値配列「32」を消去して、信号値配列「00」を検出信号記憶部64に記憶する。また、判定処理部63から当該回転判定信号が出力されると、これに応じて計数処理部36が計数値記憶部38から計数値を読み取り、当該読み取った計数値を1増加させ、当該1増加させた計数値を計数値記憶部38に記憶(上書き)する。   In step S64, when the rotation of the rotation shaft 150 continues in the right direction, the movable unit 13 rotates 120 degrees in the right direction from the state of step S63, and the detection signal is output from the magnetic sensor 1. The processing unit 63 reads the signal value array “32” stored in the detection signal storage unit 64, and whether or not the rotation shaft 150 has made one rotation rightward or leftward based on the signal value array “32”. Determine. That is, when the detection signal is output from the magnetic sensor 1 serving as a reference among the magnetic sensors 1, 2, and 3, the determination processing unit 63 determines whether or not the rotating shaft 150 has made one rotation in the right or left direction. Perform the process. In this determination processing, the determination processing unit 63 determines that the rotation shaft 150 has made one right turn when the signal value array is “32”, and when the signal value array is “23”, the rotation shaft 150. Is determined to have made one rotation in the left direction. If the signal value array is other than these, the determination processing unit 63 determines that the rotating shaft 150 does not make one rotation. Since the signal value array is “32” in step S64, the determination processing unit 63 determines that the rotation shaft 150 has made one rotation in the right direction, and outputs a rotation determination signal indicating that. Then, the determination processing unit 63 deletes the read signal value array “32” and stores the signal value array “00” in the detection signal storage unit 64. Further, when the rotation determination signal is output from the determination processing unit 63, the count processing unit 36 reads the count value from the count value storage unit 38 in response to this, increases the read count value by 1, and increases the 1 The count value thus stored is stored (overwritten) in the count value storage unit 38.

ステップS65において、回転軸150の右方向の回転が継続し、これに伴って可動部13がステップS64の状態から右方向に120度回転し、これにより磁気センサ2から検出信号が出力されたとき、判定処理部63は、ステップS62と同様の処理を行う。この結果、検出信号記憶部64に記憶された信号値配列は「02」となる。   In step S65, when the rotation of the rotating shaft 150 continues in the right direction, the movable portion 13 rotates 120 degrees in the right direction from the state in step S64, and thereby the detection signal is output from the magnetic sensor 2. The determination processing unit 63 performs the same process as in step S62. As a result, the signal value array stored in the detection signal storage unit 64 is “02”.

ステップS66において、回転軸150の右方向の回転が継続し、これに伴って可動部13がステップS65の状態から右方向に120度回転し、これにより磁気センサ3から検出信号が出力されたとき、判定処理部63は、ステップS63と同様の処理を行う。この結果、検出信号記憶部64に記憶された信号値配列は「32」となる。   In step S66, the rotation of the rotating shaft 150 in the right direction continues, and accordingly, the movable portion 13 rotates 120 degrees in the right direction from the state in step S65, whereby the detection signal is output from the magnetic sensor 3. The determination processing unit 63 performs the same process as in step S63. As a result, the signal value array stored in the detection signal storage unit 64 is “32”.

ステップS67において、回転軸150の回転方向が右方向から左方向に反転し、これに伴って可動部13がステップS66の状態から左方向に120度回転し、これにより磁気センサ2から検出信号が出力されたとき、判定処理部63は、検出信号記憶部64に記憶された信号値配列「32」を読み取り、磁気センサ2から今回出力された検出信号に対応する信号値「2」を信号値配列中の第2の領域に入れる。これにより信号値配列は「22」となる。続いて、判定処理部63は当該信号値配列を検出信号記憶部64に記憶する。   In step S67, the rotation direction of the rotary shaft 150 is reversed from the right direction to the left direction, and accordingly, the movable portion 13 is rotated 120 degrees in the left direction from the state of step S66, whereby the detection signal is output from the magnetic sensor 2. When output, the determination processing unit 63 reads the signal value array “32” stored in the detection signal storage unit 64 and outputs the signal value “2” corresponding to the detection signal output this time from the magnetic sensor 2 as the signal value. Put in the second region in the sequence. As a result, the signal value array becomes “22”. Subsequently, the determination processing unit 63 stores the signal value array in the detection signal storage unit 64.

ステップS68において、回転軸150の回転方向が左方向から右方向に戻り、これに伴って可動部13がステップS67の状態から右方向に120度回転し、これにより磁気センサ3から検出信号が出力されたとき、判定処理部63は、検出信号記憶部64に記憶された信号値配列「22」を読み取り、磁気センサ3から今回出力された検出信号に対応する信号値「3」を信号値配列中の第2領域に入れる。これにより、信号値配列は「32」となる。続いて、判定処理部63は当該信号値配列を検出信号記憶部64に記憶する。   In step S68, the rotation direction of the rotating shaft 150 returns from the left direction to the right direction, and accordingly, the movable portion 13 rotates 120 degrees to the right from the state in step S67, thereby outputting a detection signal from the magnetic sensor 3. When the determination is made, the determination processing unit 63 reads the signal value array “22” stored in the detection signal storage unit 64 and sets the signal value “3” corresponding to the detection signal output this time from the magnetic sensor 3 to the signal value array. Put in the second area inside. As a result, the signal value array becomes “32”. Subsequently, the determination processing unit 63 stores the signal value array in the detection signal storage unit 64.

ステップS69において、回転軸150の回転方向が右方向から左方向に再び反転し、これに伴って可動部13がステップS68の状態から左方向に120度回転し、これにより磁気センサ2から検出信号が出力されたとき、判定処理部63はステップS67と同様の処理を行う。この結果、検出信号記憶部64に記憶された信号値配列は「22」となる。   In step S69, the rotation direction of the rotating shaft 150 is reversed again from the right direction to the left direction, and accordingly, the movable portion 13 rotates 120 degrees in the left direction from the state of step S68, thereby detecting the detection signal from the magnetic sensor 2. Is output, the determination processing unit 63 performs the same processing as in step S67. As a result, the signal value array stored in the detection signal storage unit 64 is “22”.

ステップS70において、回転軸150の左方向の回転が継続し、これに伴って可動部13がステップS69の状態から左方向に120度回転し、これにより磁気センサ1から検出信号が出力されたとき、判定処理部63は、検出信号記憶部64に記憶された信号値配列「22」を読み取り、当該読み取った信号値配列に基づいて、回転軸150が右方向または左方向に1回転したか否かを判定する。ステップS70において信号値配列は「22」であるので、判定処理部63は、回転軸150が1回転してないと判定する。この場合、判定処理部63は回転判定信号を出力しない。したがって、計数処理部36は動作しない。そして、判定処理部63は、読み取った信号値配列「22」を消去して、信号値配列「00」を検出信号記憶部64に記憶する。   In Step S70, the rotation of the rotation shaft 150 in the left direction is continued, and accordingly, the movable portion 13 is rotated 120 degrees in the left direction from the state in Step S69, and thereby the detection signal is output from the magnetic sensor 1. The determination processing unit 63 reads the signal value array “22” stored in the detection signal storage unit 64 and, based on the read signal value array, whether or not the rotation shaft 150 has made one rotation rightward or leftward. Determine whether. Since the signal value array is “22” in step S <b> 70, the determination processing unit 63 determines that the rotating shaft 150 has not made one rotation. In this case, the determination processing unit 63 does not output a rotation determination signal. Therefore, the count processing unit 36 does not operate. Then, the determination processing unit 63 erases the read signal value array “22” and stores the signal value array “00” in the detection signal storage unit 64.

また、回転軸150が、ステップS70の状態(アウトプット磁石16が磁気センサ1と対向した位置にある状態)から、右方向に30度ないし110度程度の回転と左方向に30度ないし110度程度の回転とを繰り返した場合には、アウトプット磁石16が磁気センサ1への接近、離間を連続的に繰り返すので、ステップS71、S72に示すように、磁気センサ1から検出信号が連続的に出力される。この場合、判定処理部63は、この状態を認識するために、磁気センサ1から検出信号が出力されるたびに、検出信号記憶部64に記憶された信号値配列「00」を読み取るが、信号値配列に新たな値を入れる処理も、信号値配列を検出信号記憶部64に記憶する処理も行わない。   Further, the rotation shaft 150 rotates about 30 degrees to 110 degrees in the right direction and 30 degrees to 110 degrees in the left direction from the state of step S70 (a state where the output magnet 16 is in a position facing the magnetic sensor 1). When the rotation of the degree is repeated, the output magnet 16 continuously approaches and separates from the magnetic sensor 1, so that the detection signal is continuously received from the magnetic sensor 1 as shown in steps S71 and S72. Is output. In this case, the determination processing unit 63 reads the signal value array “00” stored in the detection signal storage unit 64 every time a detection signal is output from the magnetic sensor 1 in order to recognize this state. Neither the process of entering a new value into the value array nor the process of storing the signal value array in the detection signal storage unit 64 is performed.

さらに、回転軸150の右方向または左方向の回転に伴う可動部13の右方向または左方向の回転に応じ、判定処理部63はステップS73以降の処理を行う。   Furthermore, according to the rightward or leftward rotation of the movable unit 13 accompanying the rotation of the rotation shaft 150 in the rightward or leftward direction, the determination processing unit 63 performs processing subsequent to step S73.

以上説明した通り、本発明の第4の実施形態における回路ユニット61によれば、第1ないし第3の実施形態による回路ユニット25、41、51と同様に、回転判定回路62と計数回路32とを分離し、回転判定回路62から回転判定信号が出力されたときに限り計数回路32を動作させることにより、電力の消費を削減することができる。さらに、第4の実施形態による回路ユニット61によれば、検出信号記憶部64の記憶容量を4ビットにまで小さくすることができ、かつ、判定処理部62の回転判定に係る処理数を少なくすることができる。したがって、電力消費の削減をより一層図ることができる。   As described above, according to the circuit unit 61 of the fourth embodiment of the present invention, as with the circuit units 25, 41, 51 according to the first to third embodiments, the rotation determination circuit 62, the counting circuit 32, The power consumption can be reduced by operating the counting circuit 32 only when the rotation determination signal is output from the rotation determination circuit 62. Furthermore, according to the circuit unit 61 according to the fourth embodiment, the storage capacity of the detection signal storage unit 64 can be reduced to 4 bits, and the number of processes related to the rotation determination of the determination processing unit 62 is reduced. be able to. Therefore, power consumption can be further reduced.

(他の実施形態)
上述した各実施形態による回転検出装置では、図3に示すように、可動部13の外周部に周方向に3つの磁石、すなわち、スタンバイ磁石15、アウトプット磁石16、スタンバイ磁石17を設ける場合を例にあげたが、本発明はこれに限らない。図16に示すように、円柱状の磁性体を2分し、一方の磁性体によりスタンバイ磁石71を形成し、他方の磁性体によりアウトプット磁石72を形成してもよい。
(Other embodiments)
In the rotation detection device according to each of the embodiments described above, as shown in FIG. 3, a case where three magnets, that is, a standby magnet 15, an output magnet 16, and a standby magnet 17 are provided in the outer peripheral portion of the movable portion 13 in the circumferential direction. As an example, the present invention is not limited to this. As shown in FIG. 16, the columnar magnetic body may be divided into two, the standby magnet 71 may be formed by one magnetic body, and the output magnet 72 may be formed by the other magnetic body.

また、上述した各実施形態による回転検出装置では、図3に示すように、可動部13にスタンバイ磁石15、アウトプット磁石16、スタンバイ磁石17を設け、可動部13の周囲に磁気センサ1、2、3を設け、スタンバイ磁石15、アウトプット磁石16、スタンバイ磁石17が回転軸150の回転に伴って移動し、磁気センサ1、2、3が移動しない場合を例にあげたが、本発明はこれに限らない。図17に示すように、可動部73に磁気センサ1、2、3を設け、可動部73の周囲にスタンバイ磁石15、アウトプット磁石16、スタンバイ磁石17を設け、磁気センサ1、2、3が回転軸150の回転に伴って移動し、スタンバイ磁石15、アウトプット磁石16、スタンバイ磁石17が移動しない構成としてもよい。   In the rotation detection device according to each of the above-described embodiments, as shown in FIG. 3, the movable magnet 13 is provided with the standby magnet 15, the output magnet 16, and the standby magnet 17, and the magnetic sensors 1 and 2 are disposed around the movable portion 13. 3, the standby magnet 15, the output magnet 16, and the standby magnet 17 move with the rotation of the rotary shaft 150, and the magnetic sensors 1, 2, and 3 do not move. Not limited to this. As shown in FIG. 17, the magnetic sensors 1, 2, and 3 are provided on the movable portion 73, and the standby magnet 15, the output magnet 16, and the standby magnet 17 are provided around the movable portion 73. It is good also as a structure which moves with the rotation of the rotating shaft 150, and the standby magnet 15, the output magnet 16, and the standby magnet 17 do not move.

また、上述した各実施形態による回転検出装置では、図2および図3に示すように、スタンバイ磁石15、アウトプット磁石16、スタンバイ磁石17のそれぞれを棒状の磁石とし、これら磁石の長手方向と、磁気センサ1、2、3の磁性素子21の長手方向とが互いに平行となるようにスタンバイ磁石15、アウトプット磁石16、スタンバイ磁石17および磁気センサ1、2、3を配置する構成としたが、本発明はこれに限らない。図18に示す回転検出装置110のように、スタンバイ磁石、アウトプット磁石、スタンバイ磁石のそれぞれを1組の磁石111、112により構成し、当該1組の磁石111、112のうちの一方の磁石111を磁性素子21の一端側に配置し、他方の磁石112を磁性素子21の他端側に配置し、一方の磁石111と他方の磁石112とで互いに異なる磁極が互いに向かい合うように磁石111、112のそれぞれの向きを設定する構成としてもよい。   In the rotation detection device according to each of the embodiments described above, as shown in FIGS. 2 and 3, each of the standby magnet 15, the output magnet 16, and the standby magnet 17 is a rod-shaped magnet, and the longitudinal direction of these magnets, The standby magnet 15, the output magnet 16, the standby magnet 17, and the magnetic sensors 1, 2, and 3 are arranged so that the longitudinal directions of the magnetic elements 21 of the magnetic sensors 1, 2, and 3 are parallel to each other. The present invention is not limited to this. As in the rotation detection device 110 shown in FIG. 18, each of the standby magnet, the output magnet, and the standby magnet is constituted by a pair of magnets 111 and 112, and one of the pair of magnets 111 and 112 is a magnet 111. Is arranged on one end side of the magnetic element 21, the other magnet 112 is arranged on the other end side of the magnetic element 21, and the magnets 111, 112 are arranged so that the different magnetic poles of the one magnet 111 and the other magnet 112 face each other. It is good also as a structure which sets each direction of these.

また、上述した各実施形態による回転検出装置では、図2および図3に示すように、棒状のスタンバイ磁石15、アウトプット磁石16、スタンバイ磁石17の長手方向、および磁気センサ1、2、3の磁性素子21の長手方向が回転軸150の軸方向と平行になるように、スタンバイ磁石15、アウトプット磁石16、スタンバイ磁石17、磁気センサ1、2、3を配置したが、本発明はこれに限らない。図19に示す回転検出装置120のように、スタンバイ磁石15、アウトプット磁石16、スタンバイ磁石17の長手方向、および磁気センサ1、2、3の磁性素子21の長手方向が回転軸150の軸方向に対して垂直となるように、スタンバイ磁石15、アウトプット磁石16、スタンバイ磁石17、磁気センサ1、2、3を配置してもよい。   Further, in the rotation detecting device according to each of the above-described embodiments, as shown in FIGS. 2 and 3, the longitudinal direction of the bar-shaped standby magnet 15, the output magnet 16, the standby magnet 17, and the magnetic sensors 1, 2, and 3. The standby magnet 15, the output magnet 16, the standby magnet 17, and the magnetic sensors 1, 2, and 3 are arranged so that the longitudinal direction of the magnetic element 21 is parallel to the axial direction of the rotary shaft 150. Not exclusively. As in the rotation detection device 120 shown in FIG. 19, the longitudinal direction of the standby magnet 15, the output magnet 16, the standby magnet 17, and the longitudinal direction of the magnetic element 21 of the magnetic sensors 1, 2, 3 are the axial direction of the rotating shaft 150. The standby magnet 15, the output magnet 16, the standby magnet 17, and the magnetic sensors 1, 2, and 3 may be arranged so as to be perpendicular to each other.

また、上述した各実施形態では、3つの磁気センサ1、2、3を設ける場合を例にあげたが、磁気センサの個数は3つに限らず、4つ以上でもよい。磁気センサの個数を増やせば記憶部の記憶容量や回転判定に係る処理数が増加するが、検出精度、確度および信頼性を向上させることができる。   Moreover, in each embodiment mentioned above, although the case where the three magnetic sensors 1, 2, and 3 were provided was mentioned as an example, the number of magnetic sensors is not restricted to three, Four or more may be sufficient. Increasing the number of magnetic sensors increases the storage capacity of the storage unit and the number of processes related to rotation determination, but can improve detection accuracy, accuracy, and reliability.

また、上述した各実施形態では、本発明の運動検出装置として回転検出装置を例にあげたが、本発明はこれに限らない。本発明は、図20に示すような、被検出体の周回運動の状態、例えば被検出体の周回移動方向を考慮した周回数を検出する周回運動検出装置200にも適用することができる。周回運動検出装置200は、回転検出装置100の磁気センサ1、2、3と同様の磁気センサ201、202、203、204と、回転検出装置100のスタンバイ磁石15、アウトプット磁石16、スタンバイ磁石17と同様のスタンバイ磁石205、アウトプット磁石206、スタンバイ磁石207とを備えている。また、周回運動検出装置200の被検出物は、例えば閉ループを形成するベルトコンベアのベルト211である。スタンバイ磁石205、アウトプット磁石206、スタンバイ磁石207は、このベルト211に取り付けられ、ベルト211が周回運動をすると、これに伴って移動する。一方、磁気センサ201、202、203、204はベルト211の周囲に動かないように配置されている。また、スタンバイ磁石205、アウトプット磁石206、スタンバイ磁石207はそれぞれ間隔Dcをもって配置されており、間隔Dcは、磁気センサ201、202、203、204のそれぞれの間隔Dd、De、Df、Dgのうちの最小の間隔Dfよりも小さい。このような周回運動検出装置200によれば、ベルト211の周回移動方向を考慮した周回数の検出の正確性を損なうことなく、周回運動検出装置200の小型化、軽量化、低コスト化を図ることできる。なお、ベルト211は四角形の軌道上を周回運動するが、周回運動の軌道の形状は四角形に限らず、三角形、楕円、トラック型等でもよい。   Moreover, in each embodiment mentioned above, although the rotation detection apparatus was mentioned as an example as a motion detection apparatus of this invention, this invention is not limited to this. The present invention can also be applied to a circular motion detection apparatus 200 that detects the number of rounds in consideration of the state of the circular motion of the detected object, for example, the rotational movement direction of the detected object, as shown in FIG. The circular motion detection device 200 includes magnetic sensors 201, 202, 203, and 204 similar to the magnetic sensors 1, 2, and 3 of the rotation detection device 100, the standby magnet 15, the output magnet 16, and the standby magnet 17 of the rotation detection device 100. And a standby magnet 205, an output magnet 206, and a standby magnet 207. The detected object of the circular motion detection device 200 is, for example, a belt 211 of a belt conveyor that forms a closed loop. The standby magnet 205, the output magnet 206, and the standby magnet 207 are attached to the belt 211. When the belt 211 makes a revolving motion, the standby magnet 205 moves accordingly. On the other hand, the magnetic sensors 201, 202, 203, 204 are arranged so as not to move around the belt 211. Further, the standby magnet 205, the output magnet 206, and the standby magnet 207 are arranged with a distance Dc, and the distance Dc is the distance Dd, De, Df, Dg of each of the magnetic sensors 201, 202, 203, 204. Smaller than the minimum distance Df. According to such a circular motion detection device 200, the circular motion detection device 200 can be reduced in size, weight, and cost without impairing the accuracy of detection of the number of rotations in consideration of the rotational movement direction of the belt 211. I can. The belt 211 orbits on a quadrangular track, but the shape of the orbit of the circular motion is not limited to a quadrangle, and may be a triangle, an ellipse, a track type, or the like.

また、本発明は、請求の範囲および明細書全体から読み取ることのできる発明の要旨または思想に反しない範囲で適宜変更可能であり、そのような変更を伴う運動検出装置もまた本発明の技術思想に含まれる。   Further, the present invention can be appropriately changed without departing from the spirit or idea of the invention which can be read from the claims and the entire specification, and a motion detection apparatus accompanying such a change is also a technical idea of the present invention. include.

1、2、3、201、202、203、204 磁気センサ(磁界検出部)
13、73 可動部
15、17、71、205、207 スタンバイ磁石(磁界発生部)
16、72、111、112、206 アウトプット磁石(磁界発生部)
21 磁性素子
22 コイル
25、41、51、61 回路ユニット(運動検出回路)
31、42、52、62 回転判定回路
32 計数回路
33、43、53、63 判定処理部
34、44、54、64 検出信号記憶部
36 計数処理部
38 計数値記憶部
39 電源電圧生成回路
45 回転量記憶部
55 回転量代替値記憶部
100、110、120 回転検出装置(運動検出装置)
150 回転軸(被検出体)
200 周回運動検出装置(運動検出装置)
211 ベルト(被検出体)
1, 2, 3, 201, 202, 203, 204 Magnetic sensor (magnetic field detector)
13, 73 Movable part 15, 17, 71, 205, 207 Standby magnet (magnetic field generating part)
16, 72, 111, 112, 206 Output magnet (magnetic field generator)
21 Magnetic element 22 Coil 25, 41, 51, 61 Circuit unit (motion detection circuit)
31, 42, 52, 62 Rotation determination circuit 32 Count circuit 33, 43, 53, 63 Determination processing unit 34, 44, 54, 64 Detection signal storage unit 36 Count processing unit 38 Count value storage unit 39 Power supply voltage generation circuit 45 Rotation Quantity storage unit 55 Rotation amount substitution value storage unit 100, 110, 120 Rotation detection device (motion detection device)
150 Rotating shaft (Detected object)
200 Orbital motion detector (motion detector)
211 belt (object to be detected)

Claims (8)

被検出体の回転運動または周回運動を検出する運動検出装置であって、
被検出体の回転運動または周回運動に応じて回転運動または周回運動する可動部と、
磁界の方向が第1の方向である第1の磁界を発生させる第1の磁界発生部と、
磁界の方向が前記第1の方向とは逆の第2の方向である第2の磁界を発生させる第2の磁界発生部と、
前記第1の磁界発生部が接近したときに前記第1の磁界により前記第1の方向に磁化され、前記第2の磁界発生部が接近したときに前記第2の磁界により前記第2の方向に磁化され、磁化の方向が前記第1の方向と前記第2の方向との間で変化するときに生じる起電力により生成される検出信号を出力する少なくとも3つの磁界検出部と、
前記各磁界検出部から出力される検出信号に基づいて前記被検出体の回転運動または周回運動の状態を検出する運動検出回路とを備え、
前記第1の磁界発生部および前記第2の磁界発生部は前記可動部の外周部に周方向に所定の間隔をもって配置され、
前記少なくとも3つの磁界検出部は、前記可動部の外周部の近傍であって、前記可動部が回転運動または周回運動したときの前記可動部の外周部の軌跡に沿うように前記所定の間隔よりも大きい間隔をもって配置されていることを特徴とする運動検出装置。
A motion detection device for detecting a rotational motion or a circular motion of a detected object,
A movable part that rotates or circulates in response to the rotational motion or circular motion of the detected object;
A first magnetic field generator for generating a first magnetic field in which the direction of the magnetic field is the first direction;
A second magnetic field generating unit for generating a second magnetic field in which the direction of the magnetic field is a second direction opposite to the first direction;
Magnetized in the first direction by the first magnetic field when the first magnetic field generator approaches, and in the second direction by the second magnetic field when the second magnetic field generator approaches At least three magnetic field detectors that output a detection signal generated by an electromotive force generated when the magnetization direction changes between the first direction and the second direction;
A motion detection circuit that detects a state of rotational motion or circular motion of the detected object based on a detection signal output from each magnetic field detector;
The first magnetic field generation unit and the second magnetic field generation unit are disposed at a predetermined interval in the circumferential direction on the outer peripheral portion of the movable unit,
The at least three magnetic field detectors are in the vicinity of the outer peripheral part of the movable part, and the predetermined distance is along the locus of the outer peripheral part of the movable part when the movable part rotates or rotates. The motion detection device is characterized by being arranged with a large interval.
被検出体の回転運動または周回運動を検出する運動検出装置であって、
被検出体の回転運動または周回運動に応じて回転運動または周回運動する可動部と、
磁界の方向が第1の方向である第1の磁界を発生させる第1の磁界発生部と、
磁界の方向が前記第1の方向とは逆の第2の方向である第2の磁界を発生させる第2の磁界発生部と、
前記第1の磁界発生部が接近したときに前記第1の磁界により前記第1の方向に磁化され、前記第2の磁界発生部が接近したときに前記第2の磁界により前記第2の方向に磁化され、磁化の方向が前記第1の方向と前記第2の方向との間で変化するときに生じる起電力により生成される検出信号を出力する少なくとも3つの磁界検出部と、
前記各磁界検出部から出力される検出信号に基づいて前記被検出体の回転運動または周回運動の状態を検出する運動検出回路とを備え、
前記第1の磁界発生部および前記第2の磁界発生部は、前記可動部の外周部の近傍であって、前記可動部が回転運動または周回運動したときの前記可動部の外周部の軌跡に沿うように所定の間隔をもって配置され、
前記少なくとも3つの磁界検出部は、前記可動部の外周部に周方向に前記所定の間隔よりも大きい間隔をもって配置されていることを特徴とする運動検出装置。
A motion detection device for detecting a rotational motion or a circular motion of a detected object,
A movable part that rotates or circulates in response to the rotational motion or circular motion of the detected object;
A first magnetic field generator for generating a first magnetic field in which the direction of the magnetic field is the first direction;
A second magnetic field generating unit for generating a second magnetic field in which the direction of the magnetic field is a second direction opposite to the first direction;
Magnetized in the first direction by the first magnetic field when the first magnetic field generator approaches, and in the second direction by the second magnetic field when the second magnetic field generator approaches At least three magnetic field detectors that output a detection signal generated by an electromotive force generated when the magnetization direction changes between the first direction and the second direction;
A motion detection circuit that detects a state of rotational motion or circular motion of the detected object based on a detection signal output from each magnetic field detector;
The first magnetic field generation unit and the second magnetic field generation unit are in the vicinity of the outer peripheral part of the movable part, and the locus of the outer peripheral part of the movable part when the movable part rotates or rotates. Are arranged at predetermined intervals along
The motion detection device according to claim 1, wherein the at least three magnetic field detection units are arranged on the outer peripheral portion of the movable portion with a larger interval in the circumferential direction than the predetermined interval.
前記各磁界検出部は、大バルクハウゼン効果を生じる磁性素子と、前記磁性素子に巻回されたコイルとを備えていることを特徴とする請求項1または2に記載の運動検出装置。   The motion detection apparatus according to claim 1, wherein each of the magnetic field detection units includes a magnetic element that generates a large Barkhausen effect and a coil wound around the magnetic element. 前記各磁界検出部から出力される検出信号から電源電圧を生成する電源電圧生成回路を備え、
前記運動検出回路は前記電源電圧生成回路により生成された電源電圧により動作することを特徴とする請求項1ないし3のいずれかに記載の運動検出装置。
A power supply voltage generation circuit that generates a power supply voltage from a detection signal output from each of the magnetic field detection units;
The motion detection device according to claim 1, wherein the motion detection circuit is operated by a power supply voltage generated by the power supply voltage generation circuit.
前記運動検出回路は、前記各磁界検出部から出力される検出信号に基づいて前記被検出体の回転運動の状態を検出する回路であり、
前記運動検出回路は、
前記各磁界検出部から出力される検出信号に基づいて前記被検出体が1回転したか否かを判定し、前記被検出体が1回転するごとに、前記被検出体が1回転したことを示す回転判定信号を出力する回転判定回路と、
前記回転判定回路から出力される回転判定信号に基づいて前記被検出体の回転数を計数する計数回路とを備えていることを特徴とする請求項1ないし4のいずれかに記載の運動検出装置。
The motion detection circuit is a circuit that detects a state of rotational motion of the detected object based on a detection signal output from each magnetic field detection unit,
The motion detection circuit includes:
It is determined whether or not the detected object has made one rotation based on the detection signal output from each of the magnetic field detection units, and every time the detected object makes one rotation, the detected object has made one rotation. A rotation determination circuit that outputs a rotation determination signal indicating;
5. The motion detection device according to claim 1, further comprising a counting circuit that counts the number of rotations of the detected object based on a rotation determination signal output from the rotation determination circuit. .
前記少なくとも3つの磁界検出部のうちの1つの磁界検出部が基準磁界検出部であり、残りの各磁界検出部が非基準磁界検出部であり、
前記回転判定回路は、前記基準磁界検出部から検出信号が出力されるたびに、前回前記基準磁界検出部から検出信号が出力された直後にいずれかの前記非基準磁界検出部から出力された検出信号と、今回前記基準磁界検出部から検出信号が出力される直前にいずれかの前記非基準磁界検出部から出力された検出信号とがそれぞれ所定の検出信号であるか否かを判断し、当該判断結果に基づいて前記被検出体が1回転したか否かを判定することを特徴とする請求項5に記載の運動検出装置。
One of the at least three magnetic field detection units is a reference magnetic field detection unit, and each remaining magnetic field detection unit is a non-reference magnetic field detection unit,
The rotation determination circuit detects the detection signal output from any one of the non-reference magnetic field detection units immediately after the detection signal is output from the reference magnetic field detection unit last time each time a detection signal is output from the reference magnetic field detection unit. A signal and a detection signal output from any one of the non-reference magnetic field detection units immediately before the detection signal is output from the reference magnetic field detection unit this time are determined to be predetermined detection signals, respectively, 6. The motion detection apparatus according to claim 5, wherein it is determined whether or not the detected object has made one rotation based on a determination result.
前記回転判定回路は、前記各磁界検出部から検出信号が出力されるたびに、今回出力された検出信号と前回出力された検出信号とを比較し、当該比較結果に基づいて前記被検出体の回転量を検出し、前記被検出体の回転量に基づいて前記被検出体が1回転したか否かを判定することを特徴とする請求項5に記載の運動検出装置。   The rotation determination circuit compares the detection signal output this time with the detection signal output last time each time a detection signal is output from each of the magnetic field detection units, and based on the comparison result, 6. The motion detection device according to claim 5, wherein a rotation amount is detected, and it is determined whether or not the detection object has made one rotation based on a rotation amount of the detection object. 前記計数回路は、
前記回転判定回路から出力された回転判定信号に基づいて前記被検出体の回転数を計数し、前記被検出体の回転数を示す計数値をグレイコードにて出力する計数処理部と、
前記計数処理部からグレイコードにて出力された計数値を記憶する計数値記憶部とを備えていることを特徴とする請求項5ないし7のいずれかに記載の運動検出装置。
The counting circuit includes:
A counting processing unit that counts the number of rotations of the detected object based on the rotation determination signal output from the rotation determination circuit, and outputs a count value indicating the number of rotations of the detected object in Gray code;
The motion detection device according to claim 5, further comprising: a count value storage unit that stores a count value output by the Gray code from the count processing unit.
JP2011061335A 2011-03-18 2011-03-18 Motion detection device for detecting rotational motion or revolving motion Pending JP2012198067A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011061335A JP2012198067A (en) 2011-03-18 2011-03-18 Motion detection device for detecting rotational motion or revolving motion

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011061335A JP2012198067A (en) 2011-03-18 2011-03-18 Motion detection device for detecting rotational motion or revolving motion

Publications (1)

Publication Number Publication Date
JP2012198067A true JP2012198067A (en) 2012-10-18

Family

ID=47180450

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011061335A Pending JP2012198067A (en) 2011-03-18 2011-03-18 Motion detection device for detecting rotational motion or revolving motion

Country Status (1)

Country Link
JP (1) JP2012198067A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014128937A1 (en) * 2013-02-22 2014-08-28 三菱電機株式会社 Rotation speed detector
JP2016144335A (en) * 2015-02-03 2016-08-08 浜松光電株式会社 Electromotive force generation device
CN106489065A (en) * 2014-06-30 2017-03-08 广濑电机株式会社 Motion detection apparatus
WO2022230651A1 (en) 2021-04-26 2022-11-03 パナソニックIpマネジメント株式会社 Power-generating element, encoder, and method for producing magnetic member

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6084400A (en) * 1994-03-07 2000-07-04 Amb Gmbh Angle of rotation sensor having a counting arrangement with at least two pulser-wire motion sensors providing electrical energy used as a voltage supply
JP2001194182A (en) * 2000-01-07 2001-07-19 Hirose Cherry Precision:Kk Magnetic sensor
JP2004304381A (en) * 2003-03-31 2004-10-28 Matsushita Electric Ind Co Ltd Counting device and counting method
JP2007225536A (en) * 2006-02-27 2007-09-06 Nikkoshi Co Ltd Device for detecting rotary motion
JP2008014799A (en) * 2006-07-06 2008-01-24 Yaskawa Electric Corp Absolute value encoder device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6084400A (en) * 1994-03-07 2000-07-04 Amb Gmbh Angle of rotation sensor having a counting arrangement with at least two pulser-wire motion sensors providing electrical energy used as a voltage supply
JP2001194182A (en) * 2000-01-07 2001-07-19 Hirose Cherry Precision:Kk Magnetic sensor
JP2004304381A (en) * 2003-03-31 2004-10-28 Matsushita Electric Ind Co Ltd Counting device and counting method
JP2007225536A (en) * 2006-02-27 2007-09-06 Nikkoshi Co Ltd Device for detecting rotary motion
JP2008014799A (en) * 2006-07-06 2008-01-24 Yaskawa Electric Corp Absolute value encoder device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014128937A1 (en) * 2013-02-22 2014-08-28 三菱電機株式会社 Rotation speed detector
KR20150100924A (en) * 2013-02-22 2015-09-02 미쓰비시덴키 가부시키가이샤 Rotation speed detector
CN105074474A (en) * 2013-02-22 2015-11-18 三菱电机株式会社 Rotation speed detector
JP5976194B2 (en) * 2013-02-22 2016-08-23 三菱電機株式会社 Rotational speed detector
KR101664760B1 (en) 2013-02-22 2016-10-12 미쓰비시덴키 가부시키가이샤 Rotation speed detector
JPWO2014128937A1 (en) * 2013-02-22 2017-02-02 三菱電機株式会社 Rotational speed detector
US9664535B2 (en) 2013-02-22 2017-05-30 Mitsubishi Electric Corporation Rotation number detector
CN106489065A (en) * 2014-06-30 2017-03-08 广濑电机株式会社 Motion detection apparatus
JP2016144335A (en) * 2015-02-03 2016-08-08 浜松光電株式会社 Electromotive force generation device
WO2022230651A1 (en) 2021-04-26 2022-11-03 パナソニックIpマネジメント株式会社 Power-generating element, encoder, and method for producing magnetic member

Similar Documents

Publication Publication Date Title
US9350216B2 (en) Integrated multi-turn absolute position sensor for high pole count motors
US9200925B2 (en) Absolute high resolution segment or revolution counter
JP4712390B2 (en) Position detector
JP6773050B2 (en) Encoder device, drive device, stage device, and robot device
JP5216462B2 (en) Rotary encoder and operation method thereof
KR20140143404A (en) Multi-rotation encoder
JP7401858B2 (en) Encoder device, drive device, stage device, and robot device
JP2012198067A (en) Motion detection device for detecting rotational motion or revolving motion
JP6293275B2 (en) Motion detection device
JP7489583B2 (en) Rotation detector and motor equipped with the same
JP5802297B2 (en) Motion detection device
JP5511748B2 (en) Motion detection device
JP2021021706A (en) Rotation detection device
JP2023123781A (en) Rotation detection device
JP2018059875A (en) Encoder device, driving device, stage device, and robot apparatus
JP2018054574A (en) Encoder device, driving device, stage device, and robot device
CN111130274B (en) Rotation detection device and encoder and motor suitable for same
TWI724341B (en) Rotation detection device and encoder and motor using same
JP2021021682A (en) Encoder device
JP7372604B2 (en) Encoder device, drive device, stage device, and robot device
WO2024090210A1 (en) Multi-rotation angle detection device and segment counter for same
JP7430994B2 (en) encoder device
WO2024090209A1 (en) Multi-rotation angle detection device
JP2022187942A (en) motion detector
JP2011095198A (en) Magnetic encoder

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140205

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140908

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140916

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20150127