JP2022048006A - Rotary encoder, rotary encoder rotation angle error information output program, and rotary encoder rotation angle error information output method - Google Patents
Rotary encoder, rotary encoder rotation angle error information output program, and rotary encoder rotation angle error information output method Download PDFInfo
- Publication number
- JP2022048006A JP2022048006A JP2020154104A JP2020154104A JP2022048006A JP 2022048006 A JP2022048006 A JP 2022048006A JP 2020154104 A JP2020154104 A JP 2020154104A JP 2020154104 A JP2020154104 A JP 2020154104A JP 2022048006 A JP2022048006 A JP 2022048006A
- Authority
- JP
- Japan
- Prior art keywords
- rotation angle
- rotation
- rotary encoder
- angle
- angle error
- 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
Links
Images
Landscapes
- Transmission And Conversion Of Sensor Element Output (AREA)
Abstract
Description
本発明は、ロータリエンコーダ、ロータリエンコーダの回転角度誤差情報出力プログラム、ロータリエンコーダの回転角度誤差情報出力方法に関する。 The present invention relates to a rotary encoder, a rotary angle error information output program for a rotary encoder, and a rotation angle error information output method for a rotary encoder.
従来から、各種の制御機械装置において、モータなどの回転軸の位置や角度を検出するために用いられるロータリエンコーダが知られている。このようなロータリエンコーダに関する技術としては、例えば、以下のような制御装置が知られている(例えば、特許文献1参照。)。この制御装置は、回転軸に取り付けられ回転位置に対応するパターン列が形成されたセンサマグネットと、上記パターン列を検出するホールIC(Integrated Circuit)とを備える。この制御装置は、センサマグネットの回転位置ごとに設定された補正情報を用いてホールICの出力を補正し、ステッピングモータの駆動制御を行う。 Conventionally, rotary encoders used for detecting the position and angle of a rotating shaft of a motor or the like in various control mechanical devices have been known. As a technique related to such a rotary encoder, for example, the following control device is known (see, for example, Patent Document 1). This control device includes a sensor magnet attached to a rotation shaft and forming a pattern sequence corresponding to a rotation position, and a Hall IC (Integrated Circuit) for detecting the pattern sequence. This control device corrects the output of the Hall IC using the correction information set for each rotation position of the sensor magnet, and controls the drive of the stepping motor.
ところで、ロータリエンコーダは、製造時のバラつきなどの要因によって、検出される回転角度に誤差(以下、角度誤差ともいう。)が含まれる。ロータリエンコーダは、出荷時に記録された角度誤差を用いて、稼働中に計測された回転角度の誤差を補正する。角度誤差は、ロータリエンコーダの長期間の稼働、使用環境(埃や温度)に応じて変化する。角度誤差が変化すると、出荷時に記録された角度誤差では、稼働中に計測された回転角度の誤差を正しく補正できないという問題がある。 By the way, in the rotary encoder, an error (hereinafter, also referred to as an angle error) is included in the detected rotation angle due to factors such as variation during manufacturing. The rotary encoder uses the angle error recorded at the time of shipment to correct the error of the rotation angle measured during operation. The angle error changes depending on the long-term operation of the rotary encoder and the usage environment (dust and temperature). When the angle error changes, there is a problem that the angle error recorded at the time of shipment cannot correctly correct the error of the rotation angle measured during operation.
本発明は、上述の課題に鑑みてなされたものであり、その目的は、稼働中に計測される回転角度の誤差に変化が生じても適切に誤差を補正することができるロータリエンコーダを提供することにある。 The present invention has been made in view of the above-mentioned problems, and an object of the present invention is to provide a rotary encoder capable of appropriately correcting an error of a rotation angle measured during operation even if the error occurs. There is something in it.
上記目的を達成するために、本発明に係るロータリエンコーダは、回転軸の回転に応じて変動する所定の情報を検知する検出部と、前記検出部によって検知された情報に基づいて、前記回転軸の角度センサ検出角度を取得する回転角度取得部と、所定の周期で算出される前記回転軸の回転角度の基準値を示す基準回転角度と前記角度センサ検出角度とに基づいて、前記回転軸の回転に伴う誤差の補正に使用される情報を示す回転角度誤差情報を算出する回転角度誤差算出部と、を備え、前記回転角度誤差算出部は、所定の記憶装置に前記回転角度誤差情報を記録する。 In order to achieve the above object, the rotary encoder according to the present invention has a detection unit that detects predetermined information that fluctuates according to the rotation of the rotation shaft, and the rotation shaft based on the information detected by the detection unit. Based on the rotation angle acquisition unit that acquires the angle sensor detection angle of the angle sensor, the reference rotation angle indicating the reference value of the rotation angle of the rotation axis calculated in a predetermined cycle, and the angle sensor detection angle of the rotation axis. The rotation angle error calculation unit includes a rotation angle error calculation unit that calculates rotation angle error information indicating information used for correction of errors associated with rotation, and the rotation angle error calculation unit records the rotation angle error information in a predetermined storage device. do.
また、上記ロータリエンコーダにおいて、前記回転角度誤差算出部は、所定の速度で回転する前記回転軸が、基準角度の回転に要する時間を示す単位時間に基づいて基準回転角度を算出する。 Further, in the rotary encoder, the rotation angle error calculation unit calculates a reference rotation angle based on a unit time indicating the time required for the rotation axis rotating at a predetermined speed to rotate at a reference angle.
また、上記ロータリエンコーダにおいて、単位時間を経過したことを前記回転角度誤差算出部に通知するタイマー部を備え、前記回転角度誤差算出部は、前記タイマー部からの通知に応じて前記単位時間ごとに前記角度センサ検出角度を取得する。 Further, the rotary encoder includes a timer unit for notifying the rotation angle error calculation unit that a unit time has elapsed, and the rotation angle error calculation unit responds to a notification from the timer unit for each unit time. The angle sensor detection angle is acquired.
また、上記ロータリエンコーダにおいて、前記記憶装置は、前記基準回転角度ごとの前記回転角度誤差情報を格納し、前記回転角度誤差算出部は、所定の周期で前記回転角度誤差情報を算出して前記記憶装置に格納されている前記回転角度誤差情報を更新する。 Further, in the rotary encoder, the storage device stores the rotation angle error information for each reference rotation angle, and the rotation angle error calculation unit calculates the rotation angle error information at a predetermined cycle and stores the storage. The rotation angle error information stored in the device is updated.
また、上記ロータリエンコーダにおいて、前記所定の速度は、等速度である。 Further, in the rotary encoder, the predetermined speed is a constant speed.
上記目的を達成するために、本発明に係るロータリエンコーダの回転角度誤差出力プログラムは、ロータリエンコーダのコンピュータに、回転軸の回転に応じて変動する所定の情報を検知するステップと、検知された前記所定の情報に基づいて、前記回転軸の角度センサ検出角度を取得するステップと、所定の周期で算出される前記回転軸の回転角度の基準値を示す基準回転角度と前記角度センサ検出角度とに基づいて、前記回転軸の回転に伴う誤差の補正に使用される情報を示す回転角度誤差情報を算出するステップと、を実行させ、前記回転角度誤差情報を算出するステップでは、所定の記憶装置に前記回転角度誤差情報を記録する。 In order to achieve the above object, the rotation angle error output program of the rotary encoder according to the present invention has a step of detecting predetermined information that fluctuates according to the rotation of the rotation axis in the computer of the rotary encoder, and the detected step. Based on the predetermined information, the step of acquiring the angle sensor detection angle of the rotation axis, the reference rotation angle indicating the reference value of the rotation angle of the rotation axis calculated in a predetermined cycle, and the angle sensor detection angle Based on this, in the step of calculating the rotation angle error information indicating the information used for correcting the error due to the rotation of the rotation axis, and in the step of executing the step of calculating the rotation angle error information, a predetermined storage device is used. The rotation angle error information is recorded.
上記目的を達成するために、本発明に係るロータリエンコーダの回転角度誤差出力方法では、ロータリエンコーダのコンピュータが、回転軸の回転に応じて変動する所定の情報を検知するステップと、検知された前記所定の情報に基づいて、前記回転軸の角度センサ検出角度を取得するステップと、所定の周期で算出される前記回転軸の回転角度の基準値を示す基準回転角度と前記角度センサ検出角度とに基づいて、前記回転軸の回転に伴う誤差の補正に使用される情報を示す回転角度誤差情報を算出するステップと、を実行し、前記回転角度誤差情報を算出するステップでは、所定の記憶装置に前記回転角度誤差情報を記録する。 In order to achieve the above object, in the rotation angle error output method of the rotary encoder according to the present invention, the rotary encoder computer detects a predetermined information that fluctuates according to the rotation of the rotating shaft, and the detected step. Based on the predetermined information, the step of acquiring the angle sensor detection angle of the rotation axis, the reference rotation angle indicating the reference value of the rotation angle of the rotation axis calculated in a predetermined cycle, and the angle sensor detection angle Based on the step of calculating the rotation angle error information indicating the information used for correcting the error due to the rotation of the rotation axis, and the step of calculating the rotation angle error information, in a predetermined storage device. The rotation angle error information is recorded.
本発明に係るロータリエンコーダによれば、稼働中に計測される回転角度に含まれる誤差に変化が生じても適切に誤差を補正することができる。 According to the rotary encoder according to the present invention, even if the error included in the rotation angle measured during operation changes, the error can be appropriately corrected.
本発明者は、ロータリエンコーダにおいて、主軸の複数回の回転(以下、複数回転ともいう。)にわたる回転角度(以下、主軸の回転角度ともいう。)を、主軸の回転に伴い減速回転する回転体の回転角度を取得することによって、特定し得ることを見出した。すなわち、ロータリエンコーダは回転体の回転角度を減速比で乗ずることにより、主軸の回転角度を特定することができる。ここで、特定可能な主軸の回転角度の範囲は、減速比に比例して増加する。例えば、減速比が50であれば、ロータリエンコーダは主軸50回転分の回転角度を特定することができる。 In the rotary encoder, the present inventor reduces the rotation angle (hereinafter, also referred to as the rotation angle of the spindle) over a plurality of rotations of the spindle (hereinafter, also referred to as a plurality of rotations) with the rotation of the spindle. It was found that it can be specified by acquiring the rotation angle of. That is, the rotary encoder can specify the rotation angle of the spindle by multiplying the rotation angle of the rotating body by the reduction ratio. Here, the range of the rotation angle of the identifiable spindle increases in proportion to the reduction ratio. For example, if the reduction ratio is 50, the rotary encoder can specify the rotation angle for 50 rotations of the main shaft.
一方、必要な回転体の分解能は、減速比に比例して小さくなる。例えば、減速比が100であれば、主軸1回転あたり回転体に必要な分解能は360°/100=3.6°となり、±1.8°の検出精度が求められる。一方、減速比が50の場合、主軸1回転あたり回転体に必要な分解能は360°/50=7.2°となり、±3.6°の検出精度が求められる。 On the other hand, the required resolution of the rotating body decreases in proportion to the reduction ratio. For example, if the reduction ratio is 100, the resolution required for the rotating body per rotation of the spindle is 360 ° / 100 = 3.6 °, and the detection accuracy of ± 1.8 ° is required. On the other hand, when the reduction ratio is 50, the resolution required for the rotating body per rotation of the spindle is 360 ° / 50 = 7.2 °, and the detection accuracy of ± 3.6 ° is required.
以下、本発明の実施の形態について図面を参照しながら説明する。以下に説明する各実施の形態、変形例では、同一又は同等の構成要素、部材には、同一の符号を付するものとし、適宜重複した説明は省略する。また、各図面における部材の寸法は、理解を容易にするために適宜拡大、縮小して示される。また、各図面において実施の形態を説明する上で重要ではない部材の一部は省略して表示する。また、図面において歯車は歯部形状を省略して示す。また、第1、第2などの序数を含む用語は多様な構成要素を説明するために用いられるが、この用語は一つの構成要素を他の構成要素から区別する目的でのみ用いられ、この用語によって構成要素が限定されるものではない。なお、本実施の形態により本発明が限定されるものではない。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. In each of the embodiments and modifications described below, the same or equivalent components and members are designated by the same reference numerals, and duplicate description will be omitted as appropriate. Further, the dimensions of the members in each drawing are shown in an appropriately enlarged or reduced size for easy understanding. In addition, some of the members that are not important for explaining the embodiment in each drawing are omitted and displayed. Further, in the drawings, the gears are shown by omitting the tooth shape. Also, terms including ordinal numbers such as 1st and 2nd are used to describe various components, but this term is used only for the purpose of distinguishing one component from other components, and this term is used. The components are not limited by. The present invention is not limited to the present embodiment.
図1は、本発明の実施の形態に係るロータリエンコーダ2の構成を概略的に示す斜視図である。図2は、ロータリエンコーダ2の構成を、シールドプレート7を除いた状態で概略的に示す斜視図である。図2では、ロータリエンコーダ2のケース4及び角度センサ支持基板5が透過されて示される。図3は、ロータリエンコーダ2の構成を、ケース4を除いた状態で概略的に示す斜視図である。図3では、ロータリエンコーダ2の角度センサ支持基板5が透過されて示される。図4は、ロータリエンコーダ2の構成を、角度センサ支持基板5を除いた状態で概略的に示す平面図である。
FIG. 1 is a perspective view schematically showing a configuration of a
図5は、角度センサ支持基板5を下側から見た平面図である。図6は、ロータリエンコーダ2のA-A断面図である。図7は、ロータリエンコーダ2のB-B断面図である。図8は、ロータリエンコーダ2のC-C断面図である。図9は、ロータリエンコーダ2が備えるマイコン121の機能的構成を概略的に示すブロック図である。以下、ロータリエンコーダ2の構造を具体的に説明する。
FIG. 5 is a plan view of the angle
本実施の形態においては、説明の便宜上、ロータリエンコーダ2についてXYZ直交座標系をもとに説明する。X軸方向は水平な左右方向に対応し、Y軸方向は水平な前後方向に対応し、Z軸方向は鉛直な上下方向に対応する。Y軸方向及びZ軸方向は夫々X軸方向に直交する。本実施の形態において、X軸方向を左側或いは右側と、Y軸方向を前側或いは後側と、Z軸方向を上側或いは下側ともいう。図1,2に示すロータリエンコーダ2の姿勢において、X軸方向における左側が左側であり、X軸方向における右側が右側である。また、図1,2に示すロータリエンコーダ2の姿勢において、Y軸方向における手前側が前側であり、Y軸方向における奥側が後側である。また、図1,2に示すロータリエンコーダ2の姿勢において、Z軸方向における上側が上側であり、Z軸方向における下側が下側である。Z軸方向で上側から視た状態を平面視と、Y軸方向で前側から視た状態を正面視と、X軸方向で左側から視た状態を側面視という。このような方向の表記はロータリエンコーダ2の使用姿勢を制限するものではなく、ロータリエンコーダ2は任意の姿勢で使用され得る。
In the present embodiment, for convenience of explanation, the
ロータリエンコーダ2は、例えば、モータ1の主軸1aの複数回転にわたる回転角度を特定して出力するアブソリュート型のロータリエンコーダである。本発明の実施の形態では、ロータリエンコーダ2はモータ1のZ軸方向の上側の端部に設けられている。本発明の実施の形態では、ロータリエンコーダ2は、平面視で略矩形状を有しており、正面視及び側面視で主軸1aの延在方向である上下方向に薄い横長の矩形状を有している。つまり、ロータリエンコーダ2は上下方向よりも水平方向に長い偏平な直方体形状を有している。
The
ロータリエンコーダ2は内部構造を収容する中空角筒状のケース4を備えている。ケース4は、少なくともモータ1の主軸1aの一部、主軸ギア10、第1中間ギア20、第2中間ギア30、第1副軸ギア40、及び第2副軸ギア50などを包囲する複数(例えば4つ)の外壁部4aを含み、上側の端部が開蓋されている。
The
シールドプレート7は、矩形の板状部材である。シールドプレート7は、基板取付ネジ8aによって、外壁部4aの上側の端部に固定されることでケース4を閉蓋する。シールドプレート7は、軸線方向(Z軸方向)において角度センサSp,Sq,Srとロータリエンコーダ2の外部との間に設けられている板状部材である。シールドプレート7は、ケース4の内部に設けられている角度センサSp,Sq,Srがロータリエンコーダ2の外部で発生している磁束によって磁気干渉を受けることを防ぐための磁束遮へい部材である。シールドプレート7は、例えば磁性体で形成されている。角度センサSp,Sq,Srは、検出部の一具体例である。検出部は、回転軸の回転に応じて変動する所定の情報を検知する。所定の情報は、例えば、磁束である。所定の情報は、検出部によって検出可能な情報であればどのような情報であってもよい。
The
モータ1は、一例として、ステッピングモータやDCブラシレスモータであってもよい。一例として、モータ1は波動歯車装置等の減速機構を介して産業用等のロボットを駆動する駆動源として適用されるモータであってもよい。モータ1の主軸1aは上下方向の両側がモータのケースから突出している。ロータリエンコーダ2はモータ1の主軸1aの回転角度をデジタル信号として出力する。
As an example, the
モータ1の形状は、平面視で略矩形状を有し、上下方向においても略矩形状を有している。つまり、モータ1は略立方体形状を有している。平面視においてモータ1の外形を構成する4つの外壁部の夫々の長さは例えば25mmであり、すなわち、モータ1の外形は、平面視で25mm角である。なお、モータ1の外形は、平面視で25mm角であることに限定されない。モータ1の外形は、モータ1の用途に応じて異なる大きさで構成されてもよい。また、モータ1に設けられるロータリエンコーダ2は、例えばモータ1の外形形状に合わせて25mm角である。なお、ロータリエンコーダ2は、モータ1の外形形状に合わせた大きさであればよく、25mm角であることに限定されない。
The shape of the
図1,2においては、角度センサ支持基板5がケース4及びシールドプレート7とともにロータリエンコーダ2の内部を覆うように設けられている。
図5に示すように、角度センサ支持基板5は、平面視で略矩形状を有し、上下方向に薄い板状のプリント配線基板である。また、コネクタ6は、角度センサ支持基板5に接続されており、ロータリエンコーダ2と外部装置(不図示)を接続するためのものである。
In FIGS. 1 and 2, the angle
As shown in FIG. 5, the angle
図2,3に示すように、ロータリエンコーダ2は、第1ウォームギア部11(第1駆動歯車)を有する主軸ギア10と、第1ウォームホイール部21(第1従動歯車)、第2ウォームギア部22(第2駆動歯車)及び第3ウォームギア部28(第3駆動歯車)を有する第1中間ギア20とを含んでいる。また、ロータリエンコーダ2は、第3ウォームホイール部31(第3従動歯車)及び第1平歯車部32(第4駆動歯車)を有する第2中間ギア30と、第2ウォームホイール部41(第2従動歯車)を有する第1副軸ギア40と、第2平歯車部51(第3従動歯車)を有する第2副軸ギア50とを含んでいる。また、ロータリエンコーダ2は、マグネットMpと、マグネットMpに対応する角度センサSpと、マグネットMqと、マグネットMqに対応する角度センサSqと、マグネットMrと、マグネットMrに対応する角度センサSrと、マイコン121とを含んでいる。
As shown in FIGS. 2 and 3, the
図4、及び図6に示すように、モータ1の主軸1aは、モータ1の出力軸であり、ロータリエンコーダ2に回転力を伝達する入力軸である。主軸ギア10は、モータ1の主軸1aに固定されており、主軸1aと一体にモータ1の軸受部材によって回転可能に支持されている。第1ウォームギア部11は、モータ1の主軸1aの回転に従って回転するように、主軸ギア10の外周に設けられている。主軸ギア10において、第1ウォームギア部11は、その中心軸が主軸1aの中心軸と一致又は略一致するように設けられている。主軸ギア10は、樹脂材料や金属材料など種々の材料から形成することができる。主軸ギア10は、例えばポリアセタール樹脂から形成されている。
As shown in FIGS. 4 and 6, the
図3、及び図4に示すように、第1中間ギア20は、主軸ギア10の回転を、第1副軸ギア40及び第2中間ギア30に伝えるギア部である。第1中間ギア20は、軸23によってギアベース部3に略平行に伸びる回転軸線の周りに軸支されている。第1中間ギア20は、その回転軸線の方向に延伸する略円筒形状の部材である。第1中間ギア20は、第1ウォームホイール部21と、第2ウォームギア部22と、第3ウォームギア部28とを含み、内部に貫通孔が形成され、この貫通孔に軸23が挿通されている。この軸23をギアベース部3に設けられた第1中間ギア軸支部27に挿通することで、第1中間ギア20が軸支されている。第1ウォームホイール部21、第2ウォームギア部22、及び第3ウォームギア部28は、この順で互いに離れた位置に配置される。第1中間ギア20は、樹脂材料や金属材料など種々の材料から形成することができる。第1中間ギア20は、ポリアセタール樹脂から形成されている。
As shown in FIGS. 3 and 4, the first
図4、及び図7に示すように、第1ウォームホイール部21は第1中間ギア20の外周に設けられており、第1ウォームホイール部21は、第1ウォームギア部11と噛み合い、第1ウォームギア部11の回転に従って回転するように設けられている。第1ウォームホイール部21と第1ウォームギア部11との軸角は90°又は略90°に設定されている。
As shown in FIGS. 4 and 7, the first
第1ウォームホイール部21の外径に特別な制限はないが、図示の例では、第1ウォームホイール部21の外径は第1ウォームギア部11の外径より小さく構成されている。これにより、ロータリエンコーダ2では、上下方向の寸法の小型化が図られている。
The outer diameter of the first
第2ウォームギア部22は第1中間ギア20の外周に設けられており、第1ウォームホイール部21の回転に伴って回転するようになっている。第1中間ギア20において、第2ウォームギア部22は、その中心軸が第1ウォームホイール部21の中心軸と一致又は略一致するように設けられている。
The second
図4、及び図8に示すように、第3ウォームギア部28は第1中間ギア20の外周に設けられており、第1ウォームホイール部21の回転に伴って回転するようになっている。第1中間ギア20において、第3ウォームギア部28は、その中心軸が第1ウォームホイール部21の中心軸と一致又は略一致するように設けられている。
As shown in FIGS. 4 and 8, the third
図4に示すように、第1副軸ギア40は、主軸1aの回転に従い、減速されてマグネットMqと一体となって回転する。第1副軸ギア40は、ギアベース部3から略垂直に突出する軸により軸支され、第2ウォームホイール部41と、マグネットMqを保持する保持部と、を含む平面視で略円形状の部材である。第1副軸ギア40は、樹脂材料や金属材料など種々の材料から形成することができる。第1副軸ギア40は、ポリアセタール樹脂から形成されている。
As shown in FIG. 4, the first
第2ウォームホイール部41は、第1副軸ギア40の外周に設けられており、第2ウォームギア部22と噛み合い、第2ウォームギア部22の回転に従って回転するように設けられている。第2ウォームホイール部41と第2ウォームギア部22との軸角は90°又は略90°に設定されている。第2ウォームホイール部41の回転軸線は、第1ウォームギア部11の回転軸線と平行又は略平行に設けられている。
The second
図4、及び図8において、第2中間ギア30は、主軸1aの回転に従って回転し、主軸1aの回転を減速して第2副軸ギア50に伝える円盤状のギア部である。第2中間ギア30は、第2ウォームギア部22と、第2副軸ギア50に設けられる第2平歯車部51との間に設けられる。第2平歯車部51は、第1平歯車部32と噛み合う。第2中間ギア30は、第1中間ギア20の第3ウォームギア部28と噛み合う第3ウォームホイール部31と、第2平歯車部51を駆動する第1平歯車部32とを有する。第2中間ギア30は、例えば、ポリアセタール樹脂で形成されている。第2中間ギア30は、平面視で略円形状の部材である。第2中間ギア30は、ギアベース部3に軸支されている。
In FIGS. 4 and 8, the second
第2中間ギア30を備えることにより、その分、後述する第2副軸ギア50を第3ウォームギア部28から遠ざけた位置に配置することができる。このため、マグネットMr、Mqとの間の距離を長くして互いの漏れ磁束の影響を減らすことができる。また、第2中間ギア30を備えることにより、その分減速比を設定できる範囲が拡がり設計の自由度が向上する。
By providing the second
第3ウォームホイール部31は、第2中間ギア30の外周に設けられており、第3ウォームギア部28と噛み合い、第3ウォームギア部28の回転に従って回転するように設けられている。第1平歯車部32は、第2中間ギア30の外周にその中心軸が第3ウォームホイール部31の中心軸と一致又は略一致するように設けられている。第1平歯車部32は、第2平歯車部51と噛み合い、第3ウォームホイール部31の回転に従って回転するように設けられている。第3ウォームホイール部31及び第1平歯車部32の回転軸線は、第1ウォームギア部11の回転軸線と平行又は略平行に設けられている。
The third
図8において、第2副軸ギア50は、主軸1aの回転に従って回転し、主軸1aの回転を減速してマグネットMrに伝える、平面視で円形状のギア部である。第2副軸ギア50は、ギアベース部3から略垂直に伸びる回転軸線周りに軸支されている。第2副軸ギア50は、第2平歯車部51と、マグネットMrを保持する磁石保持部とを含む。
In FIG. 8, the
第2平歯車部51は、第2副軸ギア50の外周にその中心軸が第1平歯車部32の中心軸と一致又は略一致するように設けられている。第2平歯車部51は、第1平歯車部32と噛み合い、第3ウォームホイール部31の回転に従って回転するように設けられている。第2平歯車部51の回転軸線は、第1平歯車部32の回転軸線と平行又は略平行に設けられている。第2副軸ギア50は、樹脂材料や金属材料など種々の材料から形成することができる。第2副軸ギア50は、ポリアセタール樹脂から形成されている。
The second
ここで、第1ウォームホイール部21が第1ウォームギア部11に噛み合うために、第1ウォームホイール部21が第1ウォームギア部11に向かう方向を第1噛み合い方向P1(図4の矢印P1方向)とする。同様に、第2ウォームギア部22が第2ウォームホイール部41に噛み合うために、第2ウォームギア部22が第2ウォームホイール部41に向かう方向を第2噛み合い方向P2(図4の矢印P2方向)とする。さらに、第3ウォームギア部28が第3ウォームホイール部31に噛み合うために、第3ウォームギア部28が第3ウォームホイール部31に向かう方向を第3噛み合い方向P3(図4の矢印P3方向)とする。本実施の形態においては、第1噛み合い方向P1、第2噛み合い方向P2、及び第3噛み合い方向P3は共に水平面(XY平面)に沿う方向となっている。
Here, in order for the first
マグネットMpは、主軸ギア10の上面に双方の中心軸が一致又は略一致するように固定される。マグネットMpは、ホルダ部16を介して主軸ギア10の中心軸に設けられているマグネット支持部17に支持されている。ホルダ部16は、アルミニウム合金などの非磁性体により形成されている。ホルダ部16の内周面は、マグネットMpの径方向における外周面に接してこの外周面を保持するように、マグネットMpの外径や外周面の形状に対応して、例えば、環状に形成されている。また、マグネット支持部17の内周面は、ホルダ部16の外周面に接するように、ホルダ部16の外径や外周面の形状に対応して、例えば、環状に形成されている。マグネットMpは、主軸ギア10の回転軸線に対して垂直な方向に並んだ2極の磁極を有している。角度センサSpは、主軸ギア10の回転角度を検知するために、その下面が隙間を介してマグネットMpの上面に上下方向に対向するように、角度センサ支持基板5の下面5aに設けられる。
The magnet Mp is fixed to the upper surface of the
一例として、角度センサSpは、ロータリエンコーダ2の後述するギアベース部3に配設された基板支柱110によって支持されている角度センサ支持基板5に固定されている。角度センサSpは、マグネットMpの磁極を検知し、検知情報をマイコン121に出力する。マイコン121は、入力された磁極に関する検知情報に基づいてマグネットMpの回転角度を特定することにより、主軸ギア10の回転角度、つまり主軸1aの回転角度を特定する。主軸1aの回転角度の分解能は角度センサSpの分解能に対応する。マイコン121は、後述するように、特定された第1副軸ギア40の回転角度及び特定された主軸1aの回転角度に基づいて主軸1aの回転角度を特定し、これを出力する。マイコン121は、一例としてモータ1の主軸1aの回転角度をデジタル信号として出力するようにしてもよい。
As an example, the angle sensor Sp is fixed to the angle
角度センサSqは、第2ウォームホイール部41の回転角度、すなわち第1副軸ギア40の回転角度を検知する。マグネットMqは、第1副軸ギア40の上面に双方の中心軸が一致又は略一致するように固定されている。マグネットMqは、第1副軸ギア40の回転軸線に対して垂直な方向に並んだ2極の磁極を有している。図3に示すように、角度センサSqは、第1副軸ギア40の回転角度を検知するために、その下面が隙間を介してマグネットMqの上面に上下方向に対向するように設けられる。
The angle sensor Sq detects the rotation angle of the second
一例として、角度センサSqは、角度センサSpが固定された角度センサ支持基板5に、角度センサSpが固定される面と同一の面において固定されている。角度センサSqは、マグネットMqの磁極を検知し、検知情報をマイコン121に出力する。マイコン121は、入力された磁極に関する検知情報に基づいてマグネットMqの回転角度、つまり第1副軸ギア40の回転角度を特定する。
As an example, the angle sensor Sq is fixed to the angle
角度センサSrは、第2平歯車部51の回転角度、すなわち第2副軸ギア50の回転角度を検知する。マグネットMrは、第2副軸ギア50の上面に双方の中心軸が一致又は略一致するように固定されている。マグネットMrは、第2副軸ギア50の回転軸線に対して垂直な方向に並んだ2極の磁極を有している。図3に示すように、角度センサSrは、第2副軸ギア50の回転角度を検知するために、その下面が隙間を介してマグネットMrの上面に上下方向に対向するように設けられる。
The angle sensor Sr detects the rotation angle of the second
一例として、角度センサSrは、ロータリエンコーダ2の後述するギアベース部3に配設された基板支柱110によって支持されている角度センサ支持基板5に固定されている。角度センサSrは、マグネットMrの磁極を検知し、検知情報をマイコン121に出力する。マイコン121は、入力された磁極に関する検知情報に基づいてマグネットMrの回転角度、つまり第2副軸ギア50の回転角度を特定する。
As an example, the angle sensor Sr is fixed to the angle
各角度センサには比較的分解能が高い磁気式角度センサを使用してもよい。磁気式角度センサは、それぞれの回転体の軸方向において、各マグネットの磁極を含む端面と、一定の隙間を介して対向配置され、これら磁極の回転に基づいて対向する回転体の回転角を特定してデジタル信号を出力する。磁気式角度センサは、一例として、磁極を検知する検知素子と、この検知素子の出力に基づいてデジタル信号を出力する演算回路と、を含む。検知素子は、例えばホールエレメントやGMR(Giant Magneto Resistive)エレメントなどの磁界検知要素を複数(例えば4つ)含んでもよい。 A magnetic angle sensor having a relatively high resolution may be used for each angle sensor. The magnetic angle sensor is arranged to face the end face including the magnetic poles of each magnet in the axial direction of each rotating body through a certain gap, and the rotation angle of the opposing rotating bodies is specified based on the rotation of these magnetic poles. And output a digital signal. As an example, the magnetic angle sensor includes a detection element that detects a magnetic pole and an arithmetic circuit that outputs a digital signal based on the output of the detection element. The detection element may include a plurality of (for example, four) magnetic field detection elements such as a Hall element and a GMR (Giant Magneto Resistive) element.
演算回路は、例えば複数の検知素子の出力の差や比をキーとしてルックアップテーブルを用いてテーブル処理によって回転角を特定するようにしてもよい。この検知素子と演算回路とは一つのICチップ上に集積されてもよい。このICチップは薄型の直方体形状の外形を有する樹脂中に埋め込まれてもよい。各角度センサは、不図示の配線部材を介して検知した各回転体の回転角に対応するデジタル信号である角度信号をマイコン121に出力する。例えば、各角度センサは各回転体の回転角を複数ビット(例えば7ビット)のデジタル信号として出力する。
In the arithmetic circuit, for example, the rotation angle may be specified by table processing using a look-up table using the difference or ratio of the outputs of a plurality of detection elements as a key. The detection element and the arithmetic circuit may be integrated on one IC chip. This IC chip may be embedded in a resin having a thin rectangular parallelepiped outer shape. Each angle sensor outputs an angle signal, which is a digital signal corresponding to the rotation angle of each rotating body, detected via a wiring member (not shown) to the
図5に示すように、マイコン121は、角度センサ支持基板5にはんだ付けや接着などの方法により固定されている。マイコン121は、CPU(Central Processing Unit)で構成され、角度センサSp,Sq,Srのそれぞれから出力される回転角度を表すデジタル信号を取得し、主軸ギア10の回転角度を演算する。
As shown in FIG. 5, the
図9に示すマイコン121の各ブロックは、マイコン121としてのCPUがプログラムを実行することによって実現されるファンクション(機能)を表したものである。図9に示すように、マイコン121は、角度センサSp、角度センサSq、角度センサSr、回転角度取得部121p、回転角度取得部121q、回転角度取得部121r、単位時間算出部121f、タイマー部121i、回転角度誤差算出部121h、記憶部121b、回転情報生成部121c、及び出力部121eを備える。マイコン121の各ブロックは、ハードウエア的には、コンピュータのCPUやRAM(Random Access Memory)をはじめとする素子や機械装置で実現でき、ソフトウエア的にはコンピュータプログラム等によって実現される。ここでは、それらの連携によって実現される機能ブロックを描いている。従って、これらの機能ブロックはハードウエア、ソフトウエアの組み合わせによっていろいろなかたちで実現できることは、本明細書に触れた当業者には理解されるところである。
Each block of the
ロータリエンコーダ2は、モータ1の制御を行う外部制御装置(以下「コントローラC」という。)に対して、モータ1の主軸1aの回転角度を出力する。コントローラCは、ロータリエンコーダ2から出力された回転角度に基づいてモータ1の動作制御を行う。
The
しかしながら、ロータリエンコーダ2によって特定される回転角度には、歯車などの製造ばらつき、あるいは、回転軸の位置検出に用いられるマグネットMp、Mq,Mrや角度センサSp、Sq,Srの位置関係等の製造ばらつきによって、主軸1aの位置(角度)に応じた固有の回転角度誤差が含まれる。回転角度誤差とは、基準回転角度と、実際に計測された回転角度と、の差である。基準回転角度は、所定の周期で算出される主軸1aの回転角度の実際の値を示す。所定の周期とは、例えば単位時間の経過毎である。ロータリエンコーダ2は、出荷時に測定された回転角度誤差の情報を記憶部121bに記憶している。回転角度誤差は、記憶部121bに記憶されている回転角度誤差テーブルに記録される。ロータリエンコーダ2は、回転角度誤差テーブルに記録されている回転角度誤差の情報を用いて、モータ1の稼働中に計測された回転角度に含まれる誤差を補正する。回転角度誤差は、ロータリエンコーダ2の稼働状況、使用環境によって変化する。ロータリエンコーダ2において、回転角度誤差が変化すると、記憶部121bに記録されている回転角度誤差の情報では、稼働中に計測された回転角度に含まれる誤差を正しく補正できない。
However, the rotation angle specified by the
そこで、ロータリエンコーダ2は、所定のタイミングでロータリエンコーダ2の回転角度誤差出力プログラムをマイコン121に実行させる。マイコン121に回転角度誤差出力プログラムを実行させることにより、以下に説明する回転角度誤差情報を出力する処理(回転角度誤差出力処理)が実行される。所定のタイミングとは、例えば、モータ1が駆動していないときであってもよいし、ロータリエンコーダ2のメンテナンスのタイミングであってもよい。
Therefore, the
マイコン121は、主軸1aの角度センサ検出角度を単位時間の経過に応じて取得する。マイコン121は、基準回転角度と、取得された角度センサ検出角度と、に基づいて、回転角度誤差情報を算出する。回転角度誤差情報は、主軸1aの回転角度に含まれる誤差の補正に使用される情報である。マイコン121は、算出した回転角度誤差情報に基づいて、回転角度誤差テーブルを更新する。具体的には、マイコン121は、記憶部121bに記憶された回転角度誤差テーブルに回転角度誤差情報を格納する。
The
回転角度誤差出力処理では、ロータリエンコーダ2において、マイコン121が所定の単位時間を計測できるタイマー機能を有する。また、ロータリエンコーダ2において、角度センサSp,Sq,Srからの出力をマイコン121へ入力できる機能が必要である。マイコン121は、上述したようにタイマー機能を有するマイコンに、例えば、回転角度を検出できるとともにA相,B相のパルス波形として出力できるセンサICと組み合わせた構成である。
In the rotation angle error output process, the
回転角度取得部121pは、角度センサSpから出力される検知情報に基づいて、主軸ギア10、つまり、主軸1aの回転角度Apを特定する。回転角度Apは、角度センサ検出角度ともいう。回転角度取得部121qは、角度センサSqから出力される検知情報に基づいて、第1副軸ギア40の回転角度Aqを特定する。回転角度取得部121rは、角度センサSrで検知される検知情報に基づいて、第2副軸ギア50の回転角度を示す角度情報である回転角度Arを取得する。
The rotation
単位時間算出部121fは、単位時間を算出する。単位時間とは、所定の速度、例えば、所定の等速度で回転する主軸1aが基準角度の回転に要する時間である。基準角度とは、主軸1aが所定の等速度で単位時間だけ回転した場合の回転角度の理論値を示す。具体的には、単位時間算出部121fは、コントローラCから回転速度情報を受信する。回転速度情報は、主軸1aの回転速度を示す情報である。回転速度情報は、例えば、主軸1aの回転速度をrpm(Revolutions Per Minute)で表した情報である。単位時間算出部121fは、受信した回転速度情報に基づいて、回転角度誤差算出部121hが基準角度に対応した角度センサ検出角度を取得するために必要な単位時間を算出する。
The unit
まず、単位時間算出部121fは、下記数式(1)に基づいて、主軸1aが、1°回転するのに必要な時間を算出する。
First, the unit
1÷(1秒当たりの回転回数)÷360・・・(1) 1 ÷ (number of rotations per second) ÷ 360 ... (1)
例えば、所定の速度が300rpmである場合、モータ1の主軸1aが1°回転するのに必要な時間は、555.6[μsec]である。
For example, when the predetermined speed is 300 rpm, the time required for the
1/(300/60)/360≒555.6[μsec]…(1) 1 / (300/60) / 360≈555.6 [μsec] ... (1)
次に、単位時間算出部121fは、以下の数式(2)のように、基準角度と、1°回転するのに要する時間と、を乗ずることで単位時間を算出する。例えば、基準角度が1.8°である場合、単位時間は1[msec]である。単位時間算出部121fは、算出された単位時間をタイマー部121iに出力する。
Next, the unit
555.6*1.8=1[msec]・・・(2) 555.6 * 1.8 = 1 [msec] ... (2)
タイマー部121iは、時間を計測する。タイマー部121iは、例えば、単位時間算出部121fから単位時間を取得すると、時間の計測を開始する。タイマー部121iは、単位時間が経過するごとに、単位時間の経過を回転角度誤差算出部121hに通知する。タイマー部121iは、時間の計測を終了するまで、単位時間の経過を回転角度誤差算出部121hに通知する。タイマー部121iは、通知とともに、計測した時間を回転角度誤差算出部121hに通知してもよい。
The
回転角度誤差算出部121hは、タイマー部121iからの通知に応じて、基準回転角度毎に回転角度誤差を算出する。具体的には、回転角度誤差算出部121hは、タイマー部121iから通知を受信したタイミングにおける主軸1aの角度センサ検出角度を、回転角度取得部121pから取得する。次に、回転角度誤差算出部121hは、基準角度を単位時間算出部121fから取得する。回転角度誤差算出部121hは、基準角度とタイマー部121iからの通知回数とを乗ずることで基準回転角度を算出する。回転角度誤差算出部121hは、基準回転角度と、角度センサ検出角度との差を求めることで、回転角度誤差を算出する。
The rotation angle error calculation unit 121h calculates the rotation angle error for each reference rotation angle in response to the notification from the
回転角度誤差算出部121hは、算出された回転角度誤差を、基準回転角度に対応付けて、記憶部121bに記録する。具体的には、回転角度誤差算出部121hは、記憶部121bに記憶される回転角度誤差テーブルを取得する。回転角度誤差算出部121hは、回転角度誤差テーブルに格納されている回転角度誤差のうち、算出された基準回転角度に対応付けされた回転角度誤差を、算出された回転角度誤差に書き換える。回転角度誤差算出部121hは、書き換えされた回転角度誤差テーブルを記憶部121bに記録する。
The rotation angle error calculation unit 121h records the calculated rotation angle error in the
記憶部121bは、磁気ハードディスク装置や半導体記憶装置等の記憶装置を用いて構成される。記憶部121bは、対応関係テーブル及び回転角度誤差テーブルなどの回転角度誤差出力処理に必要となる情報を記憶する。対応関係テーブルは、回転角度Ap,Aq,Arと、回転角度Ap,Aq,Arに対応する主軸1aの回転数と、を対応付けて格納する。回転角度誤差テーブルは、基準回転角度と、回転角度誤差情報とを対応付けて格納する。
The
図10は、ロータリエンコーダ2において回転角度誤差出力処理に用いられる回転角度誤差テーブルの一例を示す模式図である。図10に示す回転角度誤差テーブルは、基準角度が1.8°である場合を示す。基準角度が1.8°である場合、回転角度誤差テーブルは、主軸1aの1回転(360°)で測定することができる200点の基準回転角度と回転角度誤差情報とを対応付けて格納する。回転角度誤差出力処理は、このようにマイコン121が備える各ブロックによって実行される。なお、回転角度誤差テーブルに格納される基準回転角度と、回転角度誤差情報との数は200点に限定されない。回転誤差テーブルは、任意の数の基準回転角度と、回転角度誤差情報とを格納してもよい。
FIG. 10 is a schematic diagram showing an example of a rotation angle error table used for rotation angle error output processing in the
回転情報生成部121cは、回転情報を生成する。回転情報は、モータ1の回転に関する情報である。回転情報は、例えば、主軸1aの回転角度Ap、主軸1aの回転数、第1副軸ギア40の回転角度Aq又は第2副軸ギア50の回転角度Arのうち少なくとも1つを含む情報である。回転情報生成部121cは、記憶部121bに記憶されている回転角度誤差テーブルと、角度センサSpから出力された回転角度Apと、に基づいて、回転角度Apに含まれる誤差を補正する。回転情報生成部121cは、記憶部121bに記憶されている対応関係テーブルに基づいて、主軸1aの回転数を特定する。回転情報生成部121cは、主軸1aの回転数と、補正された回転角度Ap,Aq,Arと、に基づいて回転情報を生成する。回転情報生成部121cは、生成された回転情報を出力部121eに出力する。回転情報生成部121cは、格納されている主軸1aの回転数と、取得した回転角度Ap,Aq,Arとの対応関係テーブルに応じて、主軸1aの複数回転にわたる回転角度を特定する。回転情報生成部121cは、回転角度誤差テーブルに格納されている回転角度誤差情報に基づいて補正後の主軸1aの回転角度を特定する。
The rotation
回転情報生成部121cによる回転角度の特定処理の一例について説明する。主軸1aに設けられた主軸ギア10の第1ウォームギア部11の条数は例えば1であり、第1ウォームホイール部21の歯数は例えば20である。つまり、第1ウォームギア部11と第1ウォームホイール部21とは、減速比が20/1=20の第1変速機構を構成する(図4参照)。第1ウォームギア部11が20回転するとき第1ウォームホイール部21は1回転する。第1ウォームホイール部21と第2ウォームギア部22は同軸上に設けられて第1中間ギア20を構成しており、一体となって回転する。つまり、第1ウォームギア部11が20回転するとき、主軸1a及び主軸ギア10は20回転する。第1ウォームギア部11が20回転するとき、第1中間ギア20及び第2ウォームギア部22は1回転する。
An example of the rotation angle specifying process by the rotation
第2ウォームギア部22の条数は例えば5であり、第2ウォームホイール部41の歯数は例えば25である。つまり、第2ウォームギア部22と第2ウォームホイール部41とは、減速比が25/5=5の第2変速機構を構成する(図4参照)。第2ウォームギア部22が5回転するとき第2ウォームホイール部41は1回転する。第2ウォームホイール部41が形成された第1副軸ギア40は、マグネットMqと一体となって回転するようになっている。このため、第1中間ギア20を構成する第2ウォームギア部22が5回転するとき、マグネットMqは1回転する。以上より、主軸1aが100回転すると、第1中間ギア20が5回転し、第1副軸ギア40及びマグネットMqが1回転する。つまり、回転情報生成部121cは、角度センサSqの第1副軸ギア40の回転角度に関する検知情報により、主軸1aの50回転分の回転数を特定することができる。
The number of rows of the second
第3ウォームギア部28の条数は例えば1であり、第3ウォームホイール部31の歯数は例えば30である。つまり、第3ウォームギア部28と第3ウォームホイール部31とは、減速比が30/1=30の第3変速機構を構成する(図4参照)。第3ウォームギア部28が30回転するとき第3ウォームホイール部31は1回転する。第3ウォームホイール部31が形成された第2中間ギア30は、第3ウォームホイール部31の中心軸と一致又は略一致する中心軸を有する第1平歯車部32が設けられている。このため、第3ウォームホイール部31が回転するとき、第1平歯車部32も回転する。第1平歯車部32は、第2副軸ギア50に設けられている第2平歯車部51とかみ合っており、このため、第2中間ギア30が回転するとき、第2副軸ギア50も回転する。
The number of rows of the third
第2平歯車部51の歯数は例えば40であり、第1平歯車部32の歯数は例えば24である。つまり、第1平歯車部32と第2平歯車部51とは、減速比が40/24=5/3の第4変速機構を構成する(図4参照)。第1平歯車部32が5回転するとき第2平歯車部51は3回転する。第2平歯車部51が形成された第2副軸ギア50は、後述するようにマグネットMrと一体となって回転するようになっており、このため、第1中間ギア20を構成する第3ウォームギア部28が5回転するとき、マグネットMrは1回転する。以上より、主軸1aが1000回転すると、第1中間ギア20が50回転し、第2中間ギア30が5/3回転し、第2副軸ギア50及びマグネットMrが1回転する。つまり、角度センサSrの第2副軸ギア50の回転角度に関する検知情報により、主軸1aの1000回転分の回転数を特定することができる。
The number of teeth of the second
出力部121eは、回転情報生成部121cによって生成された回転情報を出力する。例えば、出力部121eは、回転情報をコントローラCに出力する。
The
次に、ロータリエンコーダ2における回転角度誤差出力処理の一例を、図11に示すシーケンス図に沿って説明する。図11に示すように、ロータリエンコーダ2は、マイコン121に実行させる回転角度誤差出力プログラムに実現できる上述の機能ブロックにより、回転角度誤差出力処理を行う。
Next, an example of the rotation angle error output processing in the
コントローラCは、モータ1にモータ駆動指令を送信する。モータ駆動指令は、モータ1に所定の等速度で回転(等速回転)を行うように指示する信号である。モータ駆動指令をコントローラCから受信すると、モータ1は、モータ駆動指令で指定された速度で等速回転を開始する(ステップS1)。コントローラCからモータ1へのモータ駆動指令は、ロータリエンコーダ2の出力を使用しないオープン制御で行われる。
The controller C transmits a motor drive command to the
コントローラCは、ロータリエンコーダ2に回転速度情報と、回転角度誤差情報の記録指令とを送信する。回転速度情報は、モータ1に指示された回転速度に関する情報である。回転速度情報は、例えばrpmの単位で表される。ロータリエンコーダ2の単位時間算出部121fは、回転速度情報を受信すると、モータ1の主軸1aが1°回転するのに必要な時間を算出する(ステップS2)。具体的には、単位時間算出部121fは、数式(1)に基づいて、モータ1の主軸1aが1°回転するのに必要な時間を算出する。回転速度情報が300rpmである場合、主軸1aが1°回転するのに必要な時間は、555.6[μsec]である。
The controller C transmits the rotation speed information and the recording command of the rotation angle error information to the
単位時間算出部121fは、基準角度を回転するのに必要な時間(単位時間)を算出する(ステップS3)。具体的には、単位時間算出部121fは、基準角度と、1°回転するのに要する時間と、を乗ずることで単位時間を算出する。まず、単位時間算出部121fは、回転速度情報に基づいて分割数を決定する。分割数は、モータ1の1回転角度(360°)を等間隔に分割する数である。単位時間算出部121fは、回転速度情報と分割数とを対応付けされている情報を記憶部121bから取得することで分割数を決定してもよい。また、単位時間算出部121fは、回転速度情報を受信したことに基づいて、あらかじめ定められていた分割数を、分割数として決定してもよい。次に、単位時間算出部121fは、360を分割数で除算した値を基準角度として決定する。基準角度が1.8°である場合について説明する。単位時間算出部121fは、基準角度1.8°と、単位時間555.6[μsec]と、を乗ずることで単位時間1[msec]を算出する。
The unit
単位時間が算出されると、タイマー部121iは、時間の計測を開始する(ステップS4)。タイマー部121iは、単位時間が経過したか否かを判断する(ステップS5)。単位時間が経過していない場合に(S5:NO)、タイマー部121iはS5の処理を繰り返す。単位時間が経過した場合に(S5:YES)、タイマー部121iは、単位時間を経過したことを回転角度誤差算出部121hに通知する。
When the unit time is calculated, the
回転角度誤差算出部121hは、タイマー部121iからの通知に応じて回転角度取得部121pから出力される主軸1aの角度センサ検出角度を取得する(ステップS6)。
回転角度誤差算出部121hは、回転角度誤差を算出する(ステップS7)。具体的には、回転角度誤差算出部121hは、基準角度を単位時間算出部121fから取得する。回転角度誤差算出部121hは、基準角度とタイマー部121iからの通知回数とを乗ずることで基準回転角度を算出する。回転角度誤差算出部121hは、基準回転角度と、角度センサ検出角度との差を求めることで、回転角度誤差を算出する。
The rotation angle error calculation unit 121h acquires the angle sensor detection angle of the
The rotation angle error calculation unit 121h calculates the rotation angle error (step S7). Specifically, the rotation angle error calculation unit 121h acquires the reference angle from the unit
回転角度誤差算出部121hは、算出された回転角度誤差を、回転角度誤差テーブルに格納することで、回転角度誤差を更新する(ステップS8)。具体的には、回転角度誤差算出部121hは、記憶部121bに記憶される回転角度誤差テーブルを取得する。回転角度誤差算出部121hは、回転角度誤差テーブルに格納されている回転角度誤差のうち、算出された基準回転角度に対応付けされた回転角度誤差を、算出された回転角度誤差に書き換える。回転角度誤差算出部121hは、書き換えされた回転角度誤差テーブルを記憶部121bに記録する。
The rotation angle error calculation unit 121h updates the rotation angle error by storing the calculated rotation angle error in the rotation angle error table (step S8). Specifically, the rotation angle error calculation unit 121h acquires a rotation angle error table stored in the
回転角度誤差算出部121hは、回転角度誤差の更新を、1回転分の360°行ったか否かを判断する(ステップS9)。具体的には、回転角度誤差算出部121hは、算出された基準回転角度が360°以上である場合に、回転角度誤差の更新を360°行ったと判断する。一方で、回転角度誤差算出部121hは、算出された基準回転角度が360°未満である場合に、回転角度誤差の更新を360°行っていないと判断する。回転角度誤差算出部121hは、360°分の回転角度誤差を更新していない場合に(S9:NO)、S5からS8までの処理を繰り返す。 The rotation angle error calculation unit 121h determines whether or not the rotation angle error has been updated by 360 ° for one rotation (step S9). Specifically, the rotation angle error calculation unit 121h determines that the rotation angle error has been updated by 360 ° when the calculated reference rotation angle is 360 ° or more. On the other hand, the rotation angle error calculation unit 121h determines that the rotation angle error has not been updated by 360 ° when the calculated reference rotation angle is less than 360 °. The rotation angle error calculation unit 121h repeats the processes from S5 to S8 when the rotation angle error for 360 ° is not updated (S9: NO).
360°分の回転角度誤差を更新した場合に(S9:YES)、タイマー部121iは、時間の計測を終了する(ステップS10)。回転角度誤差算出部121hは、回転角度誤差の更新の終了を示す記録終了通知をコントローラCに通知する。コントローラCは、記録終了通知を受信すると、モータ1の停止を指示するモータ停止命令をモータ1に送信する。
When the rotation angle error of 360 ° is updated (S9: YES), the
以上のように、マイコン121は回転角度誤差出力処理を実行することで、回転角度誤差テーブルに記憶された回転角度誤差を更新することができる。このようなマイコン121を備えるロータリエンコーダ2によれば、長期間の稼働、使用環境(埃や温度)に応じて、モータ1の稼働中に計測される回転角度に含まれる誤差が変化した場合であっても、更新後の回転角度誤差に基づいて回転角度を補正することで、より正確な回転角度を得ることができる。
As described above, the
また、ロータリエンコーダ2は、回転角度誤差出力処理の機能を有することで、予防保全機能を有するように構成されてもよい。予防保全機能は、ロータリエンコーダ2の稼働中に計測される回転角度に含まれる誤差の状態を診断する機能である。ロータリエンコーダ2は、予防保全機能の診断結果(例えば、ロータリエンコーダ2は回転角度誤差を更新する必要があるという診断結果)に応じて、回転角度誤差出力処理を実行するように構成されてもよい。
マイコン121が予防保全機能を有する場合、記憶部121bは予め予防保全機能の実行に必要な情報を記憶する。予防保全機能の実行に必要な情報は、例えば、予防保全プログラム、所定の閾値である。所定の閾値とは、回転角度誤差の更新が必要であるか否かを診断に用いられる閾値である。所定の閾値とは、角度誤差の最大値又はバラつき等の統計情報の閾値である。予防保全機能では、マイコン121は、計測された回転角度に含まれる角度誤差に関する統計情報と、統計情報に関する閾値とを比較することで角度誤差の状態を診断する。例えば、マイコン121は、統計情報が、閾値よりも大きい場合に、回転角度誤差を更新する必要があると判断してもよい。例えば、マイコン121は、統計情報が、閾値よりも小さい場合に、回転角度誤差を更新する必要があると判断してもよい。
Further, the
When the
また、ロータリエンコーダ2の製造者は、所定の閾値を顧客等のユーザに要求されている精度に設定することで、性能検査をすることが可能になる。具体的には、ロータリエンコーダ2の製造者は、ロータリエンコーダ2の出荷前に予防保全機能を実施する。予防保全の実施結果がロータリエンコーダ2は回転角度誤差を更新する必要があるという診断結果であった場合、ロータリエンコーダ2はユーザに要求されている精度を満たしていないと判断される。予防保全の実施結果がロータリエンコーダ2は回転角度誤差を更新する必要がないという診断結果であった場合、ロータリエンコーダ2はユーザに要求されている精度を満たしていると判断される。このようにロータリエンコーダ2は、予防保全機能を有することで、ロータリエンコーダ2の故障の予防、性能の保全、あるいは性能の検査を行うことができる。
Further, the manufacturer of the
以上、本発明の実施の形態について説明したが、本発明は上記本発明の実施の形態に係るロータリエンコーダ2に限定されるものではなく、本発明の概念及び特許請求の範囲に含まれるあらゆる態様を含む。また、上述した課題及び効果の少なくとも一部を奏するように、各構成を適宜選択的に組み合わせてもよく、公知の技術と組み合わせてもよい。例えば、上記実施の形態における、各構成要素の形状、材料、配置、サイズ等は、本発明の具体的使用態様によって適宜変更され得る。
Although the embodiment of the present invention has been described above, the present invention is not limited to the
以上説明した実施の形態では、本発明に係る回転角度誤差補正処理を、モータ1の主軸1aに関する第1ウォームギア部11の回転角度誤差に対して適用するものであるが、本発明はこれに限定されず、例えば、第1副軸ギア40及び/または第2副軸ギア50に対しても適用可能である。この場合、記憶部121bは、第1副軸ギア40及び/または第2副軸ギア50のそれぞれに対応する回転角度誤差テーブルを記憶する。
In the embodiment described above, the rotation angle error correction process according to the present invention is applied to the rotation angle error of the first
以上説明した実施の形態では、単位時間を算出するように構成されたが、これに限定されない。例えば、単位時間は、記憶部121bに予め記憶されていてもよい。この場合、回転角度誤差算出部121hは、記憶部121bから単位時間を取得して、回転角度誤差を算出する。なお、単位時間は、回転速度に応じて異なる。したがって、単位時間は回転速度と対応付けされて記憶部121bに記憶されていてもよい。この場合、回転角度誤差算出部121hは、コントローラCから受信された回転速度情報によって示される回転速度に対応付けされた単位時間を記憶部121bから取得する。
In the embodiment described above, the unit time is configured to be calculated, but the present invention is not limited to this. For example, the unit time may be stored in advance in the
以上説明した実施の形態では、記憶部121bはマイコン121に備えられるように構成されたが、これに限定されない。例えば、記憶部121bは、マイコン121の外部の記憶装置が備えるように構成されてもよい。外部の記憶装置とは、例えばコントローラCであってもよい。
In the embodiment described above, the
なお、本発明に係るロータリエンコーダは、ロータリエンコーダ2のようなアブソリュート型のロータリエンコーダに限定されず、例えばインクリメンタル型のロータリエンコーダであってもよい。また、本発明に係るロータリエンコーダは、ロータリエンコーダ2のように磁気式の角度センサSp,Sq,Srにより回転角度を検出するものに限定されない。すなわち、本発明に係るロータリエンコーダによる回転角度誤差出力処理は、光学式、静電容量式などの角度センサを用いて回転角度を検出するものにおいても適用可能である。
The rotary encoder according to the present invention is not limited to the absolute type rotary encoder such as the
1…モータ、1a…主軸、2…ロータリエンコーダ、3…ギアベース部、4…ケース、4a…外壁部、5…角度センサ支持基板、5a…下面、6…コネクタ、7…シールドプレート、8a…基板取付ネジ、10…主軸ギア、11…第1ウォームギア部、16…ホルダ部、17…マグネット支持部、20…第1中間ギア、21…第1ウォームホイール部、22…第2ウォームギア部、23…軸、27…第1中間ギア軸支部、28…第3ウォームギア部、30…第2中間ギア、31…第3ウォームホイール部、32…第1平歯車部、40…第1副軸ギア、41…第2ウォームホイール部、50…第2副軸ギア、51…第2平歯車部、121…マイコン、121b…記憶部、121c…回転情報生成部、121e…出力部、121f…単位時間算出部、121h…回転角度誤差算出部、121i…タイマー部、121p…回転角度取得部、121q…回転角度取得部、121r…回転角度取得部、Mp,Mq.Mr…マグネット、Sp,Sq,Sr…角度センサ 1 ... motor, 1a ... spindle, 2 ... rotary encoder, 3 ... gear base, 4 ... case, 4a ... outer wall, 5 ... angle sensor support board, 5a ... bottom surface, 6 ... connector, 7 ... shield plate, 8a ... Board mounting screw, 10 ... Main shaft gear, 11 ... 1st worm gear part, 16 ... Holder part, 17 ... Magnet support part, 20 ... 1st intermediate gear, 21 ... 1st worm wheel part, 22 ... 2nd worm gear part, 23 ... Shaft, 27 ... 1st intermediate gear shaft branch, 28 ... 3rd worm gear section, 30 ... 2nd intermediate gear, 31 ... 3rd worm wheel section, 32 ... 1st spur gear section, 40 ... 1st auxiliary shaft gear, 41 ... 2nd worm wheel unit, 50 ... 2nd auxiliary shaft gear, 51 ... 2nd spur gear unit, 121 ... microcomputer, 121b ... storage unit, 121c ... rotation information generation unit, 121e ... output unit, 121f ... unit time calculation Unit, 121h ... Rotation angle error calculation unit, 121i ... Timer unit, 121p ... Rotation angle acquisition unit, 121q ... Rotation angle acquisition unit, 121r ... Rotation angle acquisition unit, Mp, Mq. Mr ... Magnet, Sp, Sq, Sr ... Angle sensor
Claims (7)
前記検出部によって検知された情報に基づいて、前記回転軸の角度センサ検出角度を取得する回転角度取得部と、
所定の周期で算出される前記回転軸の回転角度の基準値を示す基準回転角度と前記角度センサ検出角度とに基づいて、前記回転軸の回転に伴う誤差の補正に使用される情報を示す回転角度誤差情報を算出する回転角度誤差算出部と、
を備え、
前記回転角度誤差算出部は、所定の記憶装置に前記回転角度誤差情報を記録する、
ロータリエンコーダ。 A detector that detects predetermined information that fluctuates according to the rotation of the rotating shaft,
Based on the information detected by the detection unit, the rotation angle acquisition unit that acquires the angle sensor detection angle of the rotation axis, and the rotation angle acquisition unit.
A rotation indicating information used for correcting an error associated with the rotation of the rotation axis based on a reference rotation angle indicating a reference value of the rotation angle of the rotation axis calculated in a predetermined cycle and the angle sensor detection angle. Rotation angle error calculation unit that calculates angle error information,
Equipped with
The rotation angle error calculation unit records the rotation angle error information in a predetermined storage device.
Rotary encoder.
請求項1に記載のロータリエンコーダ。 The rotation angle error calculation unit calculates a reference rotation angle based on a unit time indicating the time required for the rotation axis rotating at a predetermined speed to rotate at a reference angle.
The rotary encoder according to claim 1.
前記回転角度誤差算出部は、前記タイマー部からの通知に応じて前記単位時間ごとに前記角度センサ検出角度を取得する、
請求項2に記載のロータリエンコーダ。 A timer unit for notifying the rotation angle error calculation unit that the unit time has elapsed is provided.
The rotation angle error calculation unit acquires the angle sensor detection angle every unit time in response to a notification from the timer unit.
The rotary encoder according to claim 2.
前記回転角度誤差算出部は、所定の周期で前記回転角度誤差情報を算出して前記記憶装置に格納されている前記回転角度誤差情報を更新する、
請求項1から請求項3のいずれか1項に記載のロータリエンコーダ。 The storage device stores the rotation angle error information for each reference rotation angle, and stores the rotation angle error information.
The rotation angle error calculation unit calculates the rotation angle error information at a predetermined cycle and updates the rotation angle error information stored in the storage device.
The rotary encoder according to any one of claims 1 to 3.
請求項1から請求項4のいずれか1項に記載のロータリエンコーダ。 The predetermined speed is a constant speed.
The rotary encoder according to any one of claims 1 to 4.
回転軸の回転に応じて変動する所定の情報を検知するステップと、
検知された前記所定の情報に基づいて、前記回転軸の角度センサ検出角度を取得するステップと、
所定の周期で算出される前記回転軸の回転角度の基準値を示す基準回転角度と前記角度センサ検出角度とに基づいて、前記回転軸の回転に伴う誤差の補正に使用される情報を示す回転角度誤差情報を算出するステップと、
を実行させ、
前記回転角度誤差情報を算出するステップでは、所定の記憶装置に前記回転角度誤差情報を記録する、
ロータリエンコーダの回転角度誤差出力プログラム。 For rotary encoder computers
A step to detect predetermined information that fluctuates according to the rotation of the rotating shaft,
A step of acquiring the angle sensor detection angle of the rotation axis based on the detected predetermined information, and
A rotation indicating information used for correcting an error associated with the rotation of the rotation axis based on a reference rotation angle indicating a reference value of the rotation angle of the rotation axis calculated in a predetermined cycle and the angle sensor detection angle. Steps to calculate angle error information and
To execute,
In the step of calculating the rotation angle error information, the rotation angle error information is recorded in a predetermined storage device.
Rotary encoder rotation angle error output program.
回転軸の回転に応じて変動する所定の情報を検知するステップと、
検知された前記所定の情報に基づいて、前記回転軸の角度センサ検出角度を取得するステップと、
所定の周期で算出される前記回転軸の回転角度の基準値を示す基準回転角度と前記角度センサ検出角度とに基づいて、前記回転軸の回転に伴う誤差の補正に使用される情報を示す回転角度誤差情報を算出するステップと、
を実行し、
前記回転角度誤差情報を算出するステップでは、所定の記憶装置に前記回転角度誤差情報を記録する、
ロータリエンコーダの回転角度誤差出力方法。 The rotary encoder computer
A step to detect predetermined information that fluctuates according to the rotation of the rotating shaft,
A step of acquiring the angle sensor detection angle of the rotation axis based on the detected predetermined information, and
A rotation indicating information used for correcting an error associated with the rotation of the rotation axis based on a reference rotation angle indicating a reference value of the rotation angle of the rotation axis calculated in a predetermined cycle and the angle sensor detection angle. Steps to calculate angle error information and
And run
In the step of calculating the rotation angle error information, the rotation angle error information is recorded in a predetermined storage device.
Rotary encoder rotation angle error output method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020154104A JP2022048006A (en) | 2020-09-14 | 2020-09-14 | Rotary encoder, rotary encoder rotation angle error information output program, and rotary encoder rotation angle error information output method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020154104A JP2022048006A (en) | 2020-09-14 | 2020-09-14 | Rotary encoder, rotary encoder rotation angle error information output program, and rotary encoder rotation angle error information output method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2022048006A true JP2022048006A (en) | 2022-03-25 |
Family
ID=80781312
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2020154104A Pending JP2022048006A (en) | 2020-09-14 | 2020-09-14 | Rotary encoder, rotary encoder rotation angle error information output program, and rotary encoder rotation angle error information output method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2022048006A (en) |
-
2020
- 2020-09-14 JP JP2020154104A patent/JP2022048006A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6934788B2 (en) | Angle detection device, rotation amount identification unit and rotation drive unit | |
US11365984B2 (en) | Absolute encoder | |
JP4559982B2 (en) | Rotation angle detection device and initial setting method thereof | |
JP6535645B2 (en) | Absolute encoder | |
WO2021153613A1 (en) | Absolute encoder, program for outputting angle error information about absolute encoder, and method for outputting angle error information about absolute encoder | |
JP2022048006A (en) | Rotary encoder, rotary encoder rotation angle error information output program, and rotary encoder rotation angle error information output method | |
WO2022209747A1 (en) | Absolute encoder | |
JP2005055256A (en) | Steering sensor | |
US20230095065A1 (en) | Absolute encoder | |
WO2022244472A1 (en) | Absolute encoder, device for correcting angle error in absolute encoder, and method for correcting angle error in absolute encoder | |
EP4317919A1 (en) | Absolute encoder | |
WO2021153614A1 (en) | Absolute encoder | |
US20240175724A1 (en) | Absolute encoder | |
US20240175670A1 (en) | Absolute encoder | |
JP2024065033A (en) | Absolute encoder, absolute encoder angle deviation correction device, and absolute encoder angle deviation correction method | |
JP2006275558A (en) | Torque detector with function detecting absolute rotation angle | |
TWI838604B (en) | Absolute encoder | |
JP2024027726A (en) | Absolute encoder, absolute encoder angular deviation correction device, and absolute encoder angular deviation correction method | |
JP2013120090A (en) | Rotation angle detector | |
JP7051978B2 (en) | Absolute encoder | |
JP5706355B2 (en) | Rotation angle detector |