JP7085852B2 - Position detection device and position detection method - Google Patents

Position detection device and position detection method Download PDF

Info

Publication number
JP7085852B2
JP7085852B2 JP2018020136A JP2018020136A JP7085852B2 JP 7085852 B2 JP7085852 B2 JP 7085852B2 JP 2018020136 A JP2018020136 A JP 2018020136A JP 2018020136 A JP2018020136 A JP 2018020136A JP 7085852 B2 JP7085852 B2 JP 7085852B2
Authority
JP
Japan
Prior art keywords
absolute
absolute value
incremental signal
track
incremental
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2018020136A
Other languages
Japanese (ja)
Other versions
JP2019138694A (en
Inventor
正吾 百瀬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nidec Sankyo Corp
Original Assignee
Nidec Sankyo Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nidec Sankyo Corp filed Critical Nidec Sankyo Corp
Priority to JP2018020136A priority Critical patent/JP7085852B2/en
Priority to CN201910083033.XA priority patent/CN110118552B/en
Publication of JP2019138694A publication Critical patent/JP2019138694A/en
Application granted granted Critical
Publication of JP7085852B2 publication Critical patent/JP7085852B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/04Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by terrestrial means
    • G01C21/08Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by terrestrial means involving use of the magnetic field of the earth
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D5/00Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
    • G01D5/12Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
    • G01D5/14Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing the magnitude of a current or voltage
    • G01D5/16Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing the magnitude of a current or voltage by varying resistance

Landscapes

  • Engineering & Computer Science (AREA)
  • Remote Sensing (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • General Life Sciences & Earth Sciences (AREA)
  • Geology (AREA)
  • Automation & Control Theory (AREA)
  • Transmission And Conversion Of Sensor Element Output (AREA)

Description

本発明は、相対移動する磁気スケールの位置を磁気センサ装置により検出する位置検出装置、および、位置検出装置の位置検出方法に関する。 The present invention relates to a position detection device that detects the position of a magnetic scale that moves relative to each other by a magnetic sensor device, and a position detection method of the position detection device.

アブソリュート値を出力する位置検出装置は特許文献1に記載されている。同文献の位置検出器は、磁気センサ装置と、磁気センサ装置に対して相対移動する磁気スケールと、を備える磁気スケールは、相対移動方向に所定のピッチでアブソリュートパターンが形成されたアブソリュートトラックと、アブソリュートトラックと並列で、アブソリュートパターンに対応するピッチでインクリメンタルパターンが形成されたインクリメンタルトラックと、を備える。磁気センサ装置は、アブソリュートトラックを読み取ってアブソリュート値を出力するアブソリュート値出力部と、インクリメンタルトラックを読み取って周期的なインクリメンタル信号を出力するインクリメンタル信号出力部と、アブソリュート値とインクリメンタル信号に基づいて磁気スケールの絶対位置を算出する算出部と、を備える。アブソリュート値出力部は、アブソリュートパターンを読み取るためのアブソリュート信号取得用の感磁素子を備え、インクリメンタル信号出力部は、インクリメンタルパターンを読み取るためのインクリメンタル信号取得用の感磁素子を備える。 A position detection device that outputs an absolute value is described in Patent Document 1. The position detector of the same document includes a magnetic sensor device, a magnetic scale that moves relative to the magnetic sensor device, and the magnetic scale includes an absolute track in which an absolute pattern is formed at a predetermined pitch in the relative movement direction. In parallel with the absolute track, an incremental track in which an incremental pattern is formed at a pitch corresponding to the absolute pattern is provided. The magnetic sensor device has an absolute value output unit that reads the absolute track and outputs the absolute value, an incremental signal output unit that reads the incremental track and outputs a periodic incremental signal, and a magnetic scale based on the absolute value and the incremental signal. It is provided with a calculation unit for calculating the absolute position of. The absolute value output unit includes a magnetic sensory element for acquiring an absolute signal for reading the absolute pattern, and the incremental signal output unit includes a magnetic sensory element for acquiring an incremental signal for reading the incremental pattern.

アブソリュートパターンは着磁領域と無着磁領域を一定ピッチの非繰り返しパターンで配列したものである。アブソリュート信号取得用の感磁素子は感磁方向を相対移動方向に向けた複数の磁気抵抗素子を備える。複数の磁気抵抗素子は、非繰り返しパターンと同一のピッチで相対移動方向に配列されており、磁気スケールと磁気センサが相対移動する際に複数の領域の磁界を検出する。アブソリュート値出力部は、各磁気抵抗素子から出力される信号が所定の閾値以上の領域の論理値を1、所定の閾値を超えない領域を論理値の0とする複数ビットのM系列の不規則循環乱数コードを出力する。算出部は、インクリメンタル信号の位相およびアブソリュート値に基づいて磁気スケールまたは磁気センサ装置の絶対位置を算出する。 The absolute pattern is an arrangement of a magnetized region and a non-magnetized region in a non-repeating pattern with a constant pitch. The magnetic sensing element for acquiring the absolute signal includes a plurality of magnetoresistive elements whose magnetic sensing direction is directed to the relative moving direction. The plurality of magnetoresistive elements are arranged in the relative movement direction at the same pitch as the non-repetitive pattern, and detect a magnetic field in a plurality of regions when the magnetic scale and the magnetic sensor move relative to each other. The absolute value output unit is a multi-bit M-series irregularity in which the logical value in the region where the signal output from each magnetoresistive element is equal to or higher than a predetermined threshold value is 1 and the logical value is 0 in a region where the signal does not exceed a predetermined threshold value. Output a circular random code. The calculation unit calculates the absolute position of the magnetic scale or the magnetic sensor device based on the phase and absolute value of the incremental signal.

特開2017-102089号公報Japanese Unexamined Patent Publication No. 2017-102089

磁気スケールに、並列に設けられたアブソリュートトラックとインクリメンタルトラックとを備え、磁気センサ装置に、相対移動方向と直交する方向に配列されたアブソリュート信号取得用の感磁素子とインクリメンタル信号取得用の感磁素子とを備える位置検出装置では、磁気スケールに対する磁気センサ装置の姿勢が相対移動方向に傾斜すると、絶対位置を正確に算出できないという問題がある。すなわち、磁気スケールに対する磁気センサ装置の姿勢が相対移動方向に傾斜すると、アブソリュート信号取得用の感磁素子の位置と、インクリメンタル信号取得用の感磁素子の位置とが、相対移動方向にずれる。これにより、新たなアブソリュート値が取得されるアブソリュート値取得時点に対して、インクリメンタル信号の位相がずれる。従って、アブソリュート値とインクリメンタル信号とに基づいて算出される絶対位置が誤った値となる。 The magnetic scale is equipped with an absolute track and an incremental track provided in parallel, and the magnetic sensor device is arranged in a direction orthogonal to the relative movement direction, and is an magnetic sensitive element for acquiring an absolute signal and a magnetic sensor for acquiring an incremental signal. The position detecting device provided with the element has a problem that the absolute position cannot be calculated accurately when the posture of the magnetic sensor device with respect to the magnetic scale is tilted in the relative moving direction. That is, when the attitude of the magnetic sensor device with respect to the magnetic scale is tilted in the relative movement direction, the position of the magnetic sensing element for acquiring the absolute signal and the position of the magnetic sensing element for acquiring the incremental signal are displaced in the relative moving direction. As a result, the phase of the incremental signal shifts from the time when the absolute value is acquired when a new absolute value is acquired. Therefore, the absolute position calculated based on the absolute value and the incremental signal is an erroneous value.

以上の点に鑑みて、本発明の課題は、磁気センサ装置の設置姿勢が磁気スケールの相対移動方向に対して傾斜した場合でも、絶対位置を正確に算出できる位置検出装置を提供す
ることにある。また、このような位置検出装置の位置検出方法を提案することにある。
In view of the above points, an object of the present invention is to provide a position detection device capable of accurately calculating an absolute position even when the installation posture of the magnetic sensor device is tilted with respect to the relative movement direction of the magnetic scale. .. Another object of the present invention is to propose a method for detecting the position of such a position detecting device.

上記課題を解決するために、本発明は、着磁領域と無着磁領域とが第1ピッチで配列されたアブソリュートパターンを有するアブソリュートトラック、および、着磁領域と無着磁領域とが交互に配列されたインクリメンタルパターンを有し前記アブソリュートトラックと並列に設けられたインクリメンタルトラックを備える磁気スケールと、相対移動する前記磁気スケールの前記アブソリュートトラックを読み取ってアブソリュート値を出力するアブソリュート値出力部、相対移動する前記磁気スケールの前記インクリメンタルトラックを読み取ってゼロから所定の最大値まで変化する周期的なインクリメンタル信号を出力するインクリメンタル信号出力部、および、前記アブソリュート値および前記インクリメンタル信号に基づいて絶対位置を算出する算出部を備える磁気センサ装置と、を有する位置検出装置において、前記インクリメンタル信号を補正するインクリメンタル信号補正部を有し、前記インクリメンタル信号補正部は、前記インクリメンタル信号がインクリメントを開始するインクリメント開始時点として予め設定した基準インクリメント開始時点に対して実際の前記インクリメンタル信号のインクリメント開始時点がずれているずれ量を取得し、前記ずれ量に基づいて前記インクリメンタル信号の位相のずれを補正した補正インクリメンタル信号を生成し、前記算出部は、前記絶対位置の算出に前記補正インクリメンタル信号を用い、前記アブソリュートトラックは、前記アブソリュートパターンを有する第1トラックと、前記第1トラックに対して相対移動方向で前記第1ピッチの半分の
第2ピッチずれた前記アブソリュートパターンを有し、前記第1トラックと並列に設けられた第2トラックと、を備え、前記アブソリュート値出力部は、前記第1トラックを読み取って第1アブソリュート値を出力する第1アブソリュート値出力部と、前記第2トラックを読み取って第2アブソリュート値を出力する第2アブソリュート値出力部と、を備え、前記基準インクリメント開始時点は、前記第1アブソリュート値出力部が新たな前記アブソリュート値を出力する第1アブソリュート値出力時点から前記第1ピッチの1/4ピッチだけ前記磁気スケールと前記磁気センサ装置とが相対移動した時点であり、前記算出部は、前記補正インクリメンタル信号が0となる時点から当該補正インクリメンタル信号がゼロと前記最大値の中央の中央値に達するまでは前記絶対位置の算出に前記第1アブソリュート値を用い、前記補正インクリメンタル信号が前記中央値となった時点から前記補正インクリメンタル信号が前記最大値に達するまでは前記絶対位置の算出に前記第2アブソリュート値を用い、前記インクリメンタル信号補正部は、前記第1アブソリュート値と前記第2アブソリュート値とが同一の値から異なる値に変化した第1時点の前記インクリメンタル信号の第1値、および、前記第1時点の次に前記第1アブソリュート値と前記第2アブソリュート値とが同一の値に戻る第2時点の前記インクリメンタル信号の第2値に基づいて、前記ずれ量を取得することを特徴とする。
In order to solve the above problems, in the present invention, the absolute track having an absolute pattern in which the magnetized region and the non-magnetized region are arranged at the first pitch, and the magnetized region and the non-magnetized region alternate with each other. A magnetic scale having an arranged incremental pattern and having an incremental track provided in parallel with the absolute track, an absolute value output unit that reads the absolute track of the magnetic scale that moves relative to each other and outputs an absolute value, and a relative movement. An incremental signal output unit that reads the incremental track of the magnetic scale and outputs a periodic incremental signal that changes from zero to a predetermined maximum value, and calculates an absolute position based on the absolute value and the incremental signal. A position detecting device including a magnetic sensor device including a calculation unit has an incremental signal correction unit that corrects the incremental signal, and the incremental signal correction unit previously serves as an increment start time point at which the incremental signal starts incrementing. An amount of deviation in which the actual increment start time of the incremental signal is deviated from the set reference increment start time is acquired, and a corrected incremental signal is generated in which the phase shift of the incremental signal is corrected based on the deviation amount. The calculation unit uses the correction incremental signal to calculate the absolute position, and the absolute track has the first track having the absolute pattern and the first pitch in a movement direction relative to the first track. Half
It has the absolute pattern shifted by the second pitch, includes a second track provided in parallel with the first track, and the absolute value output unit reads the first track and outputs the first absolute value. A first absolute value output unit is provided, and a second absolute value output unit that reads the second track and outputs a second absolute value is provided. At the start time of the reference increment, the first absolute value output unit is new. This is the time when the magnetic scale and the magnetic sensor device move relative to each other by 1/4 pitch of the first pitch from the time when the first absolute value is output, and the calculation unit is the correction incremental signal. The first absolute value was used to calculate the absolute position from the time when the value became 0 until the corrected incremental signal reached the center value between zero and the maximum value, and the corrected incremental signal became the center value. The second absolute value is used for calculating the absolute position from a time point until the corrected incremental signal reaches the maximum value, and the incremental signal correction unit has the same first absolute value and the second absolute value. The first value of the incremental signal at the first time point that changed from the value to a different value, and the second time point when the first absolute value and the second absolute value return to the same value after the first time point. It is characterized in that the deviation amount is acquired based on the second value of the incremental signal .

本発明によれば、磁気センサ装置の設置姿勢が磁気スケールの相対移動方向に対して傾斜することなどに起因して、インクリメンタル信号出力部から実際に出力されるインクリメント信号がインクリメントを開始するインクリメント開始時点が、予め定めた基準インクリメント開始時点に対してずれた場合には、インクリメンタル信号補正部が、そのずれ量に基づいてインクリメンタル信号の位相のずれを補正した補正インクリメンタル信号を生成する。また、算出部は、絶対位置の算出に、補正インクリメンタル信号を用いる。これにより、算出部により算出される絶対位置が正しい値となる。 According to the present invention, the increment signal actually output from the incremental signal output unit starts incrementing due to the fact that the installation posture of the magnetic sensor device is tilted with respect to the relative movement direction of the magnetic scale. When the time point shifts from the predetermined reference increment start time point, the incremental signal correction unit generates a corrected incremental signal that corrects the phase shift of the incremental signal based on the shift amount. Further, the calculation unit uses the correction incremental signal to calculate the absolute position. As a result, the absolute position calculated by the calculation unit becomes a correct value.

このようにすれば、アブソリュートトラックにおいて、第1アブソリュート値を取得するための第1トラックのアブソリュートパターンと、第2アブソリュート値を取得するための第2トラックのアブソリュートパターンとは、磁気スケールと磁気センサ装置との相対移動方向で半ピッチ(第2ピッチ)ずれる。また、インクリメンタル信号出力部が出力するインクリメンタル信号は、第1アブソリュート値出力部が新たな前記アブソリュート値を出力する第1アブソリュート値出力時点から第1ピッチの1/4ピッチだけ磁気スケールと磁気センサ装置とが相対移動した時点からインクリメントを開始する。そして、アブソリュート値と補正インクリメンタル信号に基づいて絶対位置を算出する算出部は、補正インクリメンタル信号のインクリメント開始時点から補正インクリメンタル信号が中央値に達するまでの第1期間では絶対位置の算出に第1アブソリュート値を用い、補正インクリメンタル信号が中央値となった時点から補正インクリメンタル信号が最大値に達するまでの第2期間では絶対位置の算出に第2アブソリュート値を用いる。これにより、算出部は、絶対位置を算出する際に、第1トラックのアブソリュートパターンにおいて第1ピッチ毎に存在する各パターン領域の境界を検出することにより取得された第1アブソリュート値を用いることがない。また、算出部は、第2トラックのアブソリュートパターンにおいて第1ピッチ毎に存在する各パターン領域の境界を検出することにより取得された第2アブソリュート値を用いることもない。ここで、第1トラックのアブソリュートパターンおよび第2トラックのアブソリュートパターンにおいて第1ピッチ毎に存在する各パターン領域の境界では磁界が不安定なので、各パターン領域の境界を検出することにより取得される第1アブソリュート値および第2アブソリュート値は、その値が正確ではない場合がある。これに対して、算出部が、絶対位置の算出に、各パターン領域の境界を検出することにより取得された第1アブソリュート値および第2アブソリュート値を用いなけれ
ば、正確なアブソリュート値(第1アブソリュート値または第2アブソリュート値)を使用して、絶対位置を算出できる。このようにすれば、ずれ量を容易に取得できるので、インクリメンタル信号補正部による補正インクリメンタル信号の生成が容易となる。
In this way, in the absolute track, the absolute pattern of the first track for acquiring the first absolute value and the absolute pattern of the second track for acquiring the second absolute value are the magnetic scale and the magnetic sensor. It shifts by half a pitch (second pitch) in the direction of relative movement with the device. Further, the incremental signal output by the incremental signal output unit is a magnetic scale and a magnetic sensor device for only 1/4 pitch of the first pitch from the time of the first absolute value output in which the first absolute value output unit outputs a new absolute value. The increment starts from the point when and moves relative to each other. Then, the calculation unit that calculates the absolute position based on the absolute value and the correction incremental signal calculates the absolute position in the first period from the start of incrementing the correction incremental signal to the time when the correction incremental signal reaches the median. The value is used, and the second absolute value is used for calculating the absolute position in the second period from the time when the corrected incremental signal reaches the median to the time when the corrected incremental signal reaches the maximum value. As a result, when calculating the absolute position, the calculation unit can use the first absolute value obtained by detecting the boundary of each pattern region existing for each first pitch in the absolute pattern of the first track. do not have. Further, the calculation unit does not use the second absolute value acquired by detecting the boundary of each pattern region existing for each first pitch in the absolute pattern of the second track. Here, since the magnetic field is unstable at the boundary of each pattern region existing for each first pitch in the absolute pattern of the first track and the absolute pattern of the second track, the first obtained by detecting the boundary of each pattern region. The 1 absolute value and the 2nd absolute value may not be accurate. On the other hand, if the calculation unit does not use the first absolute value and the second absolute value acquired by detecting the boundary of each pattern region in the calculation of the absolute position, the accurate absolute value (first absolute value) is not used. The absolute position can be calculated using the value or the second absolute value). By doing so, the amount of deviation can be easily obtained, so that the incremental signal correction unit can easily generate the corrected incremental signal.

本発明において、前記インクリメンタルトラックは、前記相対移動方向でN極とS極とを前記第2ピッチで交互に着磁したインクリメンタルパターンを備えるものとすることができる。このようにすれば、アブソリュート値が取得される周期とインクリメンタル信号の周期を一致させることが容易である。 In the present invention, the incremental track may include an incremental pattern in which N poles and S poles are alternately magnetized at the second pitch in the relative moving direction. By doing so, it is easy to match the period in which the absolute value is acquired with the period in which the incremental signal is acquired.

また、本発明は、着磁領域と無着磁領域とが第1ピッチで配列されたアブソリュートパターンを有するアブソリュートトラック、および、着磁領域と無着磁領域とが交互に配列されたインクリメンタルパターンを有し前記アブソリュートトラックと並列に設けられたインクリメンタルトラックを備える磁気スケールと、相対移動する前記磁気スケールの前記アブソリュートトラックを読み取ってアブソリュート値を出力するアブソリュート値出力部、相対移動する前記磁気スケールの前記インクリメンタルトラックを読み取ってゼロから所定の最大値まで変化する周期的なインクリメンタル信号を出力するインクリメンタル信号出力部、および、前記アブソリュート値および前記インクリメンタル信号に基づいて絶対位置を算出する算出部を備える磁気センサ装置と、を有する位置検出装置において、前記インクリメンタル信号を補正するインクリメンタル信号補正部を有し、前記インクリメンタル信号補正部は、前記インクリメンタル信号がインクリメントを開始するインクリメント開始時点として予め設定した基準インクリメント開始時点に対して実際の前記インクリメンタル信号のインクリメント開始時点がずれているずれ量を取得し、前記ずれ量に基づいて前記インクリメンタル信号の位相のずれを補正した補正インクリメンタル信号を生成し、前記算出部は、前記絶対位置の算出に前記補正インクリメンタル信号を用い、前記アブソリュートトラックは、前記アブソリュートパターンを有する第1トラックと、前記第1トラックに対して相対移動方向で前記第1ピッチの半分の第2ピッチずれた前記アブソリュートパターンを有し、前記第1トラックと並列に設けられた第2トラックと、を備え、前記アブソリュート値出力部は、前記第1トラックを読み取って第1アブソリュート値を出力する第1アブソリュート値出力部と、前記第2トラックを読み取って第2アブソリュート値を出力する第2アブソリュート値出力部と、を備え、前記基準インクリメント開始時点は、前記第1アブソリュート値出力部が新たな前記アブソリュート値を出力する第1アブソリュート値出力時点から前記第1ピッチの1/4ピッチだけ前記磁気スケールと前記磁気センサ装置とが相対移動した時点であり、前記算出部は、前記補正インクリメンタル信号が0となる時点から当該補正インクリメンタル信号がゼロと前記最大値の中央の中央値に達するまでは前記絶対位置の算出に前記第1アブソリュート値を用い、前記補正インクリメンタル信号が前記中央値となった時点から前記補正インクリメンタル信号が前記最大値に達するまでは前記絶対位置の算出に前記第2アブソリュート値を用い、前記インクリメンタル信号補正部は、前記第1アブソリュート値と前記第2アブソリュート値とが異なる値から同一の値に変化した第3時点の前記インクリメンタル信号の第3値、および、前記第3時点の次に前記第1アブソリュート値と前記第2アブソリュート値とが異なる値に戻る第4時点の前記インクリメンタル信号の第4値に基づいて、前記ずれ
量を取得することを特徴とする。このようにすれば、ずれ量を容易に取得できるので、インクリメンタル信号補正部による補正インクリメンタル信号の生成が容易となる。
Further, the present invention provides an absolute track having an absolute pattern in which magnetized regions and non-magnetized regions are arranged at the first pitch, and an incremental pattern in which magnetized regions and non-magnetized regions are alternately arranged. A magnetic scale having an incremental track provided in parallel with the absolute track, an absolute value output unit that reads the absolute track of the magnetic scale that moves relative to the absolute track and outputs an absolute value, and the magnetic scale that moves relative to the magnetic scale. A magnetic sensor including an incremental signal output unit that reads an incremental track and outputs a periodic incremental signal that changes from zero to a predetermined maximum value, and a calculation unit that calculates an absolute position based on the absolute value and the incremental signal. In the position detecting device having the device, the incremental signal correction unit for correcting the incremental signal is provided, and the incremental signal correction unit is a reference increment start time point set in advance as an increment start time point at which the incremental signal starts incrementing. The actual increment start time of the incremental signal is deviated from the actual offset amount, and a corrected incremental signal is generated by correcting the phase deviation of the incremental signal based on the deviating amount. The corrected incremental signal is used to calculate the absolute position, and the absolute track has a second pitch deviation of half of the first pitch in a movement direction relative to the first track having the absolute pattern. A first absolute that has the absolute pattern and includes a second track provided in parallel with the first track, and the absolute value output unit reads the first track and outputs the first absolute value. A value output unit and a second absolute value output unit that reads the second track and outputs a second absolute value are provided. At the start time of the reference increment, the first absolute value output unit is a new absolute value. This is the time when the magnetic scale and the magnetic sensor device move relative to each other by 1/4 pitch of the first pitch from the time when the first absolute value is output, and the calculation unit sets the correction incremental signal to 0. From the time point, the correction incremental signal is zero and within the maximum value. The first absolute value is used to calculate the absolute position until the median of the center is reached, and the absolute position is obtained from the time when the corrected incremental signal reaches the median until the corrected incremental signal reaches the maximum value. The second absolute value is used for the calculation, and the incremental signal correction unit uses the third of the incremental signal at the third time point in which the first absolute value and the second absolute value change from different values to the same value. The deviation based on the value and the fourth value of the incremental signal at the fourth time point in which the first absolute value and the second absolute value return to different values after the third time point.
It is characterized by obtaining the quantity. By doing so, the amount of deviation can be easily obtained, so that the incremental signal correction unit can easily generate the corrected incremental signal.

次に、本発明は、着磁領域と無着磁領域とが第1ピッチで配列されたアブソリュートパターンを有するアブソリュートトラック、および、着磁領域と無着磁領域とが交互に配列されたインクリメンタルパターンを有し前記アブソリュートトラックと並列に設けられたインクリメンタルトラックを備える磁気スケールと、相対移動する前記磁気スケールの前記アブソリュートトラックを読み取ってアブソリュート値を出力するアブソリュート値出力部、および、相対移動する前記磁気スケールの前記インクリメンタルトラックを読み取ってゼロから所定の最大値まで変化する周期的なインクリメンタル信号を出力するインクリメンタル信号出力部備える磁気センサ装置と、を有し、前記アブソリュート値および前記インクリメンタル信号に基づいて絶対位置を算出する位置検出装置の位置検出方法において、前記インクリメンタル信号がインクリメントを開始するインクリメント開始時点を、基準インクリメント開始時点として、設定しておき、前記基準インクリメント開始時点に対して実際の前記インクリメンタル信号のインクリメント開始時点がずれているずれ量を取得し、前記ずれ量に基づいて前記インクリメンタル信号の位相のずれを補正した補正インクリメンタル信号を生成し、前記絶対位置の算出に前記補正インクリメンタル信号を用い、予め、前記アブソリュートトラックとして、前記アブソリュートパターンを有する第1トラックと、前記第1トラックに対して相対移動方向で前記第1ピッチの半分の第2ピッチずれた前記アブソリュートパターンを有し、前記第1トラックと並列に設けられた第2トラックと、を備えるとともに、前記アブソリュート値出力部として、前記第1トラックを読み取って第1アブソリュート値を出力する第1アブソリュート値出力部と、前記第2トラックを読み取って第2アブソリュート値を出力する第2アブソリュート値出力部と、を備えておき、前記基準インクリメント開始時点を、前記第1アブソリュート値出力部が新たな前記アブソリュート値を出力する第1アブソリュート値出力時点から前記第1ピッチの1/4ピッチだけ前記磁気スケールと前記磁気センサ装置とが相対移動した時点に設定し、前記絶対位置の算出に、前記補正インクリメンタル信号が0となる時点から当該補正インクリメンタル信号がゼロと前記最大値の中央の中央値に達するまでは前記絶対位置の算出に前記第1アブソリュート値を用い、前記補正インクリメンタル信号が前記中央値となった時点から前記補正インクリメンタル信号が前記最大値に達するまでは前記絶対位置の算出に前記第2アブソリュート値を用い、前記第1アブソリュート値と前記第2アブソリュート値とが同一の値から異なる値に変化した第1時点の前記インクリメンタル信号の第1値、および、前記第1時点の次に前記第1アブソリュート値と前記第2アブソリュート値とが同一の値に戻る第2時点の前記インクリメンタル信号の第2値に基づいて、前記ずれ量を取得することを特徴とする。
Next, the present invention has an absolute track having an absolute pattern in which the magnetized region and the non-magnetized region are arranged at the first pitch, and an incremental pattern in which the magnetized region and the non-magnetized region are alternately arranged. A magnetic scale having an incremental track provided in parallel with the absolute track, an absolute value output unit that reads the absolute track of the magnetic scale that moves relative to each other and outputs an absolute value, and the magnetometer that moves relative to each other. It has a magnetic sensor device including an incremental signal output unit that reads the incremental track of the scale and outputs a periodic incremental signal that changes from zero to a predetermined maximum value, and is absolute based on the absolute value and the incremental signal. In the position detection method of the position detecting device for calculating the position, the increment start time point at which the incremental signal starts incrementing is set as the reference increment start time point, and the actual incremental signal with respect to the reference increment start time point. The amount of deviation of the increment start time is acquired, a corrected incremental signal is generated by correcting the phase deviation of the incremental signal based on the amount of deviation, and the corrected incremental signal is used to calculate the absolute position . As the absolute track, the first track having the absolute pattern and the absolute pattern having the second pitch deviated by half of the first pitch in the relative movement direction with respect to the first track are provided in advance. A second track provided in parallel with the track is provided, and as the absolute value output unit, a first absolute value output unit that reads the first track and outputs the first absolute value and the second track are provided. A first absolute value output unit is provided with a second absolute value output unit that reads and outputs a second absolute value, and the first absolute value output unit outputs a new absolute value at the reference increment start time point. It is set at the time when the magnetic scale and the magnetic sensor device move relative to each other by 1/4 pitch of the first pitch from the time point, and the correction incremental signal is calculated from the time when the correction incremental signal becomes 0 in the calculation of the absolute position. The absolute position until the signal reaches the median center of zero and the maximum. The first absolute value is used to calculate the position, and the second absolute value is used to calculate the absolute position from the time when the corrected incremental signal reaches the median until the corrected incremental signal reaches the maximum value. The first value of the incremental signal at the first time point in which the first absolute value and the second absolute value change from the same value to different values, and the first absolute value next to the first time point. It is characterized in that the deviation amount is acquired based on the second value of the incremental signal at the second time point when the second absolute value returns to the same value .

本発明によれば、磁気センサ装置の設置姿勢が磁気スケールの相対移動方向に対して傾斜することなどに起因して、インクリメンタル信号出力部から実際に出力されるインクリメント信号がインクリメントを開始するインクリメント開始時点が、予め設定した基準インクリメント開始時点に対してずれた場合には、そのずれ量に基づいてインクリメンタル信号の位相のずれを補正した補正インクリメンタル信号が生成される。また、絶対位置の算出には、補正インクリメンタル信号が用いられる。従って、算出部により算出される絶対位置が正しい値となる。 According to the present invention, the increment signal actually output from the incremental signal output unit starts incrementing due to the fact that the installation posture of the magnetic sensor device is tilted with respect to the relative movement direction of the magnetic scale. When the time point deviates from the preset reference increment start time point, a corrected incremental signal is generated in which the phase shift of the incremental signal is corrected based on the deviating amount. Further, the correction incremental signal is used to calculate the absolute position. Therefore, the absolute position calculated by the calculation unit is a correct value.

このようにすれば、アブソリュートトラックにおいて、第1アブソリュート値を取得するための第1トラックのアブソリュートパターンと、第2アブソリュート値を取得するための第2トラックのアブソリュートパターンとは、磁気スケールと磁気センサ装置との相対移動方向で半ピッチ(第2ピッチ)ずれる。また、インクリメンタル信号が、第1アブソリュート値出力時点から第1ピッチの1/4ピッチだけ磁気スケールと磁気センサ装置とが相対移動した時点からインクリメントを開始するものとなる。そして、絶対位置を算出する際には、補正インクリメンタル信号のインクリメント開始時点から補正インクリメンタル信号が中央値に達するまでの第1期間では絶対位置の算出に第1アブソリュート値を用い、補正インクリメンタル信号が中央値となった時点から補正インクリメンタル信号が最大値に達するまでの第2期間では絶対位置の算出に第2アブソリュート値を用いる。従って、絶対位置を算出する際には、第1トラックのアブソリュートパターンにおいて第1ピッチ毎に存在する各パターン領域の境界を検出することにより取得された第1アブソリュート値を用いることがなく、第2トラックのアブソリュートパターンにおいて第1ピッチ毎に存在する各パターン領域の境界を検出することにより取得された第2アブソリュート値を用いることもない。ここで、第1トラックのアブソリュートパターンおよび第2トラックのアブソリュートパターンにおいて第1ピッチ毎に存在する各パターン領域の境界では磁界が不安定なので、各パターン領域の境界を検出することにより取得される第1アブソリュート値および第2アブソリュート値は、その値が正確ではない場合がある。これに対して、絶対位置の算出に、各パターン領域の境界を検出することにより取得された第1アブソリュート値および第2アブソリュート値を用いなければ、正確なアブソリュート値(第1アブソリュート値または第2アブソリュート値)を使用して、絶対位置を算出できる。このようにすれば、ずれ量を容易に取得できるので、補正インクリメンタル信号の生成が容易となる。
In this way, in the absolute track, the absolute pattern of the first track for acquiring the first absolute value and the absolute pattern of the second track for acquiring the second absolute value are the magnetic scale and the magnetic sensor. It shifts by half a pitch (second pitch) in the direction of relative movement with the device. Further, the incremental signal starts incrementing from the time when the magnetic scale and the magnetic sensor device move relative to each other by 1/4 pitch of the first pitch from the time when the first absolute value is output. When calculating the absolute position, the first absolute value is used to calculate the absolute position in the first period from the start of incrementing the correction incremental signal to the time when the correction incremental signal reaches the median, and the correction incremental signal is in the center. In the second period from the time when the value is reached until the correction incremental signal reaches the maximum value, the second absolute value is used for calculating the absolute position. Therefore, when calculating the absolute position, the first absolute value obtained by detecting the boundary of each pattern region existing for each first pitch in the absolute pattern of the first track is not used, and the second is not used. The second absolute value obtained by detecting the boundary of each pattern region existing for each first pitch in the absolute pattern of the track is not used either. Here, since the magnetic field is unstable at the boundary of each pattern region existing for each first pitch in the absolute pattern of the first track and the absolute pattern of the second track, the first obtained by detecting the boundary of each pattern region. The 1 absolute value and the 2nd absolute value may not be accurate. On the other hand, if the first absolute value and the second absolute value obtained by detecting the boundary of each pattern region are not used for the calculation of the absolute position, the accurate absolute value (first absolute value or second absolute value) is not used. Absolute value) can be used to calculate the absolute position. By doing so, the amount of deviation can be easily obtained, so that the correction incremental signal can be easily generated.

本発明において、前記インクリメンタルトラックに、前記相対移動方向でN極とS極とを前記第2ピッチで交互に着磁したインクリメンタルパターンを備えるものとすることができる。このようにすれば、アブソリュート値が取得される周期とインクリメンタル信号の周期を一致させることが容易である。 In the present invention, the incremental track may be provided with an incremental pattern in which N poles and S poles are alternately magnetized at the second pitch in the relative moving direction. By doing so, it is easy to match the period in which the absolute value is acquired with the period in which the incremental signal is acquired.

また、本発明は、着磁領域と無着磁領域とが第1ピッチで配列されたアブソリュートパターンを有するアブソリュートトラック、および、着磁領域と無着磁領域とが交互に配列されたインクリメンタルパターンを有し前記アブソリュートトラックと並列に設けられたインクリメンタルトラックを備える磁気スケールと、相対移動する前記磁気スケールの前記アブソリュートトラックを読み取ってアブソリュート値を出力するアブソリュート値出力部、および、相対移動する前記磁気スケールの前記インクリメンタルトラックを読み取ってゼロから所定の最大値まで変化する周期的なインクリメンタル信号を出力するインクリメンタル信号出力部備える磁気センサ装置と、を有し、前記アブソリュート値および前記インクリメンタル信号に基づいて絶対位置を算出する位置検出装置の位置検出方法において、前記インクリメンタル信号がインクリメントを開始するインクリメント開始時点を、基準インクリメント開始時点として、設定しておき、前記基準インクリメント開始時点に対して実際の前記インクリメンタル信号のインクリメント開始時点がずれているずれ量を取得し、前記ずれ量に基づいて前記インクリメンタル信号の位相のずれを補正した補正インクリメンタル信号を生成し、前記絶対位置の算出に前記補正インクリメンタル信号を用い、予め、前記アブソリュートトラックとして、前記アブソリュートパターンを有する
第1トラックと、前記第1トラックに対して相対移動方向で前記第1ピッチの半分の第2ピッチずれた前記アブソリュートパターンを有し、前記第1トラックと並列に設けられた第2トラックと、を備えるとともに、前記アブソリュート値出力部として、前記第1トラックを読み取って第1アブソリュート値を出力する第1アブソリュート値出力部と、前記第2トラックを読み取って第2アブソリュート値を出力する第2アブソリュート値出力部と、を備えておき、前記基準インクリメント開始時点を、前記第1アブソリュート値出力部が新たな前記アブソリュート値を出力する第1アブソリュート値出力時点から前記第1ピッチの1/4ピッチだけ前記磁気スケールと前記磁気センサ装置とが相対移動した時点に設定し、前記絶対位置の算出に、前記補正インクリメンタル信号が0となる時点から当該補正インクリメンタル信号がゼロと前記最大値の中央の中央値に達するまでは前記絶対位置の算出に前記第1アブソリュート値を用い、前記補正インクリメンタル信号が前記中央値となった時点から前記補正インクリメンタル信号が前記最大値に達するまでは前記絶対位置の算出に前記第2アブソリュート値を用い前記第1アブソリュート値と前記第2アブソリュート値とが異なる値から同一の値に変化した第3時点の前記インクリメンタル信号の第3値、および、前記第3時点の次に前記第1アブソリュート値と前記第2アブソリュート値とが異なる値に戻る第4時点の前記インクリメンタル信号の第4値に基づいて、前記ずれ量を取得することを特徴とする。このようにすれば、ずれ量を容易に取得できるので、補正インクリメンタル信号の生成が容易となる。
Further, the present invention provides an absolute track having an absolute pattern in which the magnetized region and the non-magnetized region are arranged at the first pitch, and an incremental pattern in which the magnetized region and the non-magnetized region are alternately arranged. A magnetic scale having an incremental track provided in parallel with the absolute track, an absolute value output unit that reads the absolute track of the magnetic scale that moves relative to the absolute track and outputs an absolute value, and the magnetic scale that moves relative to the magnetic scale. It has a magnetic sensor device including an incremental signal output unit that reads the incremental track and outputs a periodic incremental signal that changes from zero to a predetermined maximum value, and has an absolute position based on the absolute value and the incremental signal. In the position detection method of the position detection device for calculating the above, the increment start time point at which the incremental signal starts incrementing is set as the reference increment start time point, and the actual incremental signal of the incremental signal is set with respect to the reference increment start time point. The deviation amount whose increment start time is deviated is acquired, a correction incremental signal is generated in which the phase deviation of the incremental signal is corrected based on the deviation amount, and the correction incremental signal is used to calculate the absolute position in advance. , The absolute track has the absolute pattern.
A first track, a second track having the absolute pattern shifted by a second pitch of half of the first pitch in a relative movement direction with respect to the first track, and a second track provided in parallel with the first track. As the absolute value output unit, a first absolute value output unit that reads the first track and outputs the first absolute value, and a second absolute value unit that reads the second track and outputs the second absolute value. A value output unit is provided, and the reference increment start time point is only 1/4 pitch of the first pitch from the first absolute value output time point in which the first absolute value output unit outputs a new absolute value. It is set at the time when the magnetic scale and the magnetic sensor device move relative to each other, and in the calculation of the absolute position, the center value of the center of the corrected incremental signal is zero and the maximum value is zero from the time when the corrected incremental signal becomes 0. The first absolute value is used for calculating the absolute position until the absolute position is reached, and the absolute position is calculated from the time when the corrected incremental signal reaches the median value until the corrected incremental signal reaches the maximum value. Using the second absolute value, the third value of the incremental signal at the third time point in which the first absolute value and the second absolute value change from different values to the same value, and next to the third time point. It is characterized in that the deviation amount is acquired based on the fourth value of the incremental signal at the fourth time point in which the first absolute value and the second absolute value return to different values. By doing so, the amount of deviation can be easily obtained, so that the correction incremental signal can be easily generated.

本発明によれば、磁気センサ装置の設置姿勢が磁気スケールの相対移動方向に対して傾斜することなどに起因して、インクリメント信号がインクリメントを開始するインクリメント開始時点が、予め定めた基準インクリメント開始時点に対してずれた場合には、そのずれ量に基づいてインクリメンタル信号の位相のずれを補正した補正インクリメンタル信号が生成される。また、絶対位置の算出には、補正インクリメンタル信号が用いられる。従って、算出部により算出される絶対位置が正しい値となる。 According to the present invention, the increment start time point at which the increment signal starts incrementing is the predetermined reference increment start time point due to the fact that the installation posture of the magnetic sensor device is tilted with respect to the relative movement direction of the magnetic scale. In the case of deviation from the above, a corrected incremental signal is generated in which the phase shift of the incremental signal is corrected based on the deviation amount. Further, the correction incremental signal is used to calculate the absolute position. Therefore, the absolute position calculated by the calculation unit is a correct value.

本発明を適用した磁気式エンコーダ装置の説明図である。It is explanatory drawing of the magnetic encoder device to which this invention is applied. 磁気スケールの磁気トラックと磁気センサ装置のセンサ基板の説明図である。It is explanatory drawing of the magnetic track of a magnetic scale and the sensor board of a magnetic sensor device. 磁気式エンコーダ装置の制御系のブロック図である。It is a block diagram of the control system of a magnetic encoder device. 磁気センサ装置が取得する各信号および値の説明図である。It is explanatory drawing of each signal and value acquired by a magnetic sensor device. 絶対位置の算出動作のフローチャートである。It is a flowchart of the calculation operation of an absolute position.

以下に、図面を参照して、本発明を適用した位置検出装置の実施の形態である磁気式エンコーダ装置を説明する。 Hereinafter, a magnetic encoder device according to an embodiment of the position detection device to which the present invention is applied will be described with reference to the drawings.

図1は、本発明を適用した磁気式エンコーダ装置の説明図である。図2(a)は磁気スケールに設けられた磁気トラックの説明図であり、図2(b)は磁気トラックを読み取る磁気センサ装置のセンサ基板の説明図である。 FIG. 1 is an explanatory diagram of a magnetic encoder device to which the present invention is applied. FIG. 2A is an explanatory diagram of a magnetic track provided on the magnetic scale, and FIG. 2B is an explanatory diagram of a sensor substrate of a magnetic sensor device that reads the magnetic track.

図1に示すように、本例の磁気式エンコーダ装置1(位置検出装置)は磁気スケール2と、磁気スケール2を読み取る磁気センサ装置3と、を備える。磁気スケール2は、当該磁気スケール2と磁気センサ装置3の相対移動方法に延びる磁気トラック5を備える。磁気センサ装置3は、磁気スケール2が相対移動する際に、磁気スケール2の表面に形成された磁界の変化を検出して、磁気スケール2または磁気センサ装置3の絶対移動位置を出力する。以下の説明では、磁気スケール2と磁気センサ装置3との相対移動方向をX方向、X方向と直交する直交方向をY方向とする。 As shown in FIG. 1, the magnetic encoder device 1 (position detection device) of this example includes a magnetic scale 2 and a magnetic sensor device 3 for reading the magnetic scale 2. The magnetic scale 2 includes a magnetic track 5 that extends to the relative movement method of the magnetic scale 2 and the magnetic sensor device 3. The magnetic sensor device 3 detects a change in the magnetic field formed on the surface of the magnetic scale 2 when the magnetic scale 2 moves relative to the magnetic scale 2, and outputs the absolute moving position of the magnetic scale 2 or the magnetic sensor device 3. In the following description, the relative movement direction between the magnetic scale 2 and the magnetic sensor device 3 is the X direction, and the orthogonal direction orthogonal to the X direction is the Y direction.

磁気センサ装置3は、非磁性材料からなるホルダ7と、ホルダ7から延びたケーブル8を備える。ホルダ7は磁気スケール2と対向する対向面9を備える。対向面9には開口部9aが設けられている。開口部9aには磁気センサ10が配置されている。図2(b)に示すように、磁気センサ10は、シリコン基板やセラミックグレース基板などのセンサ基板11と、センサ基板11において磁気スケール2と対向する基板面に形成された複数の感磁素子12、13と、を備える。感磁素子12、13は、例えば、パーマロイ膜を感磁膜として備える磁気抵抗素子を有するものである。感磁素子12、13は、磁気スケール2と所定の隙間を介して対向する。 The magnetic sensor device 3 includes a holder 7 made of a non-magnetic material and a cable 8 extending from the holder 7. The holder 7 includes a facing surface 9 facing the magnetic scale 2. An opening 9a is provided on the facing surface 9. A magnetic sensor 10 is arranged in the opening 9a. As shown in FIG. 2B, the magnetic sensor 10 includes a sensor substrate 11 such as a silicon substrate or a ceramic grace substrate, and a plurality of magnetic sensing elements 12 formed on the substrate surface of the sensor substrate 11 facing the magnetic scale 2. , 13, and. The magnetic sensing elements 12 and 13 have, for example, a magnetoresistive element provided with a permalloy film as a magnetic sensing film. The magnetic sensing elements 12 and 13 face each other with the magnetic scale 2 via a predetermined gap.

磁気式エンコーダ装置1は、磁気スケール2および磁気センサ装置3の一方が固定体の側に配置され、他方が移動体の側に配置される。本例では、磁気スケール2が移動体の側に配置され、磁気センサ装置3が固定体の側に配置される。 In the magnetic encoder device 1, one of the magnetic scale 2 and the magnetic sensor device 3 is arranged on the side of the fixed body, and the other is arranged on the side of the moving body. In this example, the magnetic scale 2 is arranged on the side of the moving body, and the magnetic sensor device 3 is arranged on the side of the fixed body.

(磁気スケール)
図2(a)に示すように、磁気トラック5は、磁気スケール2と磁気センサ装置3の相対移動方向であるX方向に延びるアブソリュートトラック15と、インクリメンタルトラック16と有する。アブソリュートトラック15と、インクリメンタルトラック16とは並列に設けられており、X方向に平行に延びる。アブソリュートトラック15は、並列に設けられた第1アブソリュートトラック21(第1トラック)と第2アブソリュートトラック22(第2トラック)と、を備える。インクリメンタルトラック16は、並列に設けられた第1インクリメンタルトラック17と、第2インクリメンタルトラック18と、を備える。
(Magnetic scale)
As shown in FIG. 2A, the magnetic track 5 includes an absolute track 15 extending in the X direction, which is a relative movement direction between the magnetic scale 2 and the magnetic sensor device 3, and an incremental track 16. The absolute track 15 and the incremental track 16 are provided in parallel and extend in parallel in the X direction. The absolute track 15 includes a first absolute track 21 (first track) and a second absolute track 22 (second track) provided in parallel. The incremental track 16 includes a first incremental track 17 and a second incremental track 18 provided in parallel.

第1アブソリュートトラック21は、第1ピッチP1で形成された第1アブソリュートパターン21aを有する。第1アブソリュートパターン21aは、着磁した着磁領域と無着磁の無着磁領域を第1ピッチP1の非繰り返しパターン(擬似ランダムパターン)で配列したものである。1つのパターン領域を構成する各着磁領域はX方向にN極とS極を備える。アブソリュートトラック15の第2アブソリュートトラック22は、第1アブソリュートトラック21の第1アブソリュートパターン21aに対して相対移動方向で第1ピッチP1の半分の第2ピッチP2ずれた第2アブソリュートパターン22aを有する。本例では、第1ピッチP1は0.8mmであり、第2ピッチP2は0.4mmである。 The first absolute track 21 has a first absolute pattern 21a formed by the first pitch P1. The first absolute pattern 21a is an arrangement of a magnetized magnetized region and a non-magnetized non-magnetized region in a non-repeating pattern (pseudo-random pattern) of the first pitch P1. Each magnetized region constituting one pattern region has an N pole and an S pole in the X direction. The second absolute track 22 of the absolute track 15 has a second absolute pattern 22a displaced by a second pitch P2, which is half of the first pitch P1 in the relative movement direction with respect to the first absolute pattern 21a of the first absolute track 21. In this example, the first pitch P1 is 0.8 mm and the second pitch P2 is 0.4 mm.

ここで、第1アブソリュートパターン21aおよび第2アブソリュートパターン22aは、連続するnピッチ分のパターン領域における着磁領域と無着磁領域の配列により磁気スケール2上の絶対位置を示すM系列の不規則循環乱数コードを表現する。より具体的には、着磁領域を論理値の1とし、無着磁領域を論理値の0としたときに、連続するnの領域における1と0との配列によってM系列の不規則循環乱数コードを値で示す。本例では、nは6である。 Here, the first absolute pattern 21a and the second absolute pattern 22a are irregular M-sequences indicating absolute positions on the magnetic scale 2 by the arrangement of the magnetized region and the non-magnetized region in the pattern region for continuous n pitches. Represents a circular random number code. More specifically, when the magnetized region is set to the logical value of 1 and the non-magnetized region is set to the logical value of 0, an irregularly circulating random number of M series is obtained by an array of 1 and 0 in continuous n regions. The code is shown as a value. In this example, n is 6.

第1インクリメンタルトラック17は、第1ピッチP1の半分の第2ピッチP2で形成された第1インクリメンタルパターン17aを有する。第1インクリメンタルパターン17aは、X方向にN極とS極を第2ピッチP2で交互に着磁したものである。第2インクリメンタルトラック18は、第2ピッチP2で形成された第2インクリメンタルパターン18aを有する。第2インクリメンタルパターン18aは、X方向にN極とS極を第2ピッチP2で交互に着磁したものであり、第1インクリメンタルパターン17aとはN極とS極との着磁の順番が逆である。従って、Y方向では、第1インクリメンタルパターン17aのN極と第2インクリメンタルパターン18aのS極とが隣り合う。また、Y方向では、第1インクリメンタルパターン17aのS極と第2インクリメンタルパターン18aのN極とが隣り合う。 The first incremental track 17 has a first incremental pattern 17a formed by a second pitch P2 which is half of the first pitch P1. The first incremental pattern 17a is obtained by alternately magnetizing the N pole and the S pole in the X direction at the second pitch P2. The second incremental track 18 has a second incremental pattern 18a formed by the second pitch P2. The second incremental pattern 18a is obtained by alternately magnetizing the N pole and the S pole in the X direction at the second pitch P2, and the order of magnetism of the N pole and the S pole is opposite to that of the first incremental pattern 17a. Is. Therefore, in the Y direction, the north pole of the first incremental pattern 17a and the south pole of the second incremental pattern 18a are adjacent to each other. Further, in the Y direction, the S pole of the first incremental pattern 17a and the N pole of the second incremental pattern 18a are adjacent to each other.

(磁気センサ装置)
磁気センサ10のセンサ基板11は、図2(b)に示すように、磁気スケール2と対向する基板面にアブソリュート信号取得用の感磁素子12と、インクリメンタル信号取得用の感磁素子13と、を備える。アブソリュート信号取得用の感磁素子12と、インクリメンタル信号取得用の感磁素子13とは、Y方向に配列されている。
(Magnetic sensor device)
As shown in FIG. 2B, the sensor substrate 11 of the magnetic sensor 10 has a magnetic sensing element 12 for acquiring an absolute signal, a magnetic sensing element 13 for acquiring an incremental signal, and a magnetic sensing element 13 for acquiring an absolute signal on a substrate surface facing the magnetic scale 2. To prepare for. The magnetic sensing element 12 for acquiring the absolute signal and the magnetic sensing element 13 for acquiring the incremental signal are arranged in the Y direction.

アブソリュート信号取得用の感磁素子12は、第1アブソリュートトラック21の第1アブソリュートパターン21aから第1アブソリュート信号を取得するための第1磁気抵抗パターン31と、第2アブソリュートトラック22の第2アブソリュートパターン22aから第2アブソリュート信号を取得するための第2磁気抵抗パターン32とを備える。第1磁気抵抗パターン31と第2磁気抵抗パターン32とはY方向に配列されてX方向に平行に延びる。磁気センサ装置3を磁気スケール2に対向させたときに、第1磁気抵抗パターン31は第1アブソリュートトラック21と対向し、第2磁気抵抗パターン32は第2アブソリュートトラック22と対向する。 The magnetic sensing element 12 for acquiring the absolute signal includes a first magnetic resistance pattern 31 for acquiring the first absolute signal from the first absolute pattern 21a of the first absolute track 21 and a second absolute pattern of the second absolute track 22. A second magnetic resistance pattern 32 for acquiring a second absolute signal from 22a is provided. The first magnetoresistance pattern 31 and the second magnetoresistance pattern 32 are arranged in the Y direction and extend in parallel in the X direction. When the magnetic sensor device 3 faces the magnetic scale 2, the first magnetoresistive pattern 31 faces the first absolute track 21, and the second magnetoresistive pattern 32 faces the second absolute track 22.

第1磁気抵抗パターン31および第2磁気抵抗パターン32は、それぞれX方向に感磁方向を向けた姿勢でX方向に配列された複数の磁気抵抗素子を備える。複数の磁気抵抗素子は第1ピッチP1で配列されている。第1磁気抵抗パターン31は、X方向で連続する第1アブソリュートパターン21aの6つの領域のそれぞれの磁界を順次に検出して6系統の第1アブソリュート信号を出力する。同様に、第2磁気抵抗パターン32は、X方向で連続する第2アブソリュートパターン22aの複数の領域のそれぞれの磁界を順次に検出して6系統の第2アブソリュート信号を出力する。 The first magnetic resistance pattern 31 and the second magnetic resistance pattern 32 each include a plurality of magnetic resistance elements arranged in the X direction in a posture in which the magnetic sensing direction is directed in the X direction. The plurality of magnetoresistive elements are arranged at the first pitch P1. The first magnetoresistive pattern 31 sequentially detects the magnetic fields of each of the six regions of the first absolute pattern 21a continuous in the X direction, and outputs the first absolute signals of the six systems. Similarly, the second magnetoresistance pattern 32 sequentially detects the magnetic fields of the respective regions of the second absolute pattern 22a continuous in the X direction, and outputs the second absolute signal of six systems.

インクリメンタル信号取得用の感磁素子13は、SIN+信号検出用の磁気抵抗パターン34(+a)、COS+信号検出用の磁気抵抗パターン34(+b)、SIN-信号検出用の磁気抵抗パターン34(-a)、COS-信号検出用の磁気抵抗パターン34(-b)と、を備える。本形態では、SIN+信号検出用の磁気抵抗パターン34(+a)とCOS-信号検出用の磁気抵抗パターン34(-b)とがX方向に配列されている。また、COS+信号検出用の磁気抵抗パターン34(+b)とSIN-信号検出用の磁気抵抗パターン34(-a)とがX方向に配列されている。SIN+信号検出用の磁気抵抗パターン34(+a)とCOS+信号検出用の磁気抵抗パターン34(+b)とはY方向で隣り合う。COS-信号検出用の磁気抵抗パターン34(-b)とSIN-信号検出用の磁気抵抗パターン34(-a)とはY方向で隣り合う。磁気センサ装置3を磁気スケール2に対向させたときに、SIN+信号検出用の磁気抵抗パターン34(+a)とCOS-信号検出用の磁気抵抗パターン34(-b)とは、第1インクリメンタルトラック17と対向し、SIN+信号検出用の磁気抵抗パターン34(+a)とCOS-信号検出用の磁気抵抗パターン34(-b)とは第2インクリメンタルトラック18と対向する。 The magnetic resistance element 13 for acquiring the incremental signal includes a magnetoresistance pattern 34 (+ a) for SIN + signal detection, a magnetoresistance pattern 34 (+ b) for COS + signal detection, and a magnetoresistance pattern 34 (−a) for SIN− signal detection. ), COS-Magnetic resistance pattern 34 (-b) for signal detection. In this embodiment, the magnetoresistance pattern 34 (+ a) for SIN + signal detection and the magnetoresistance pattern 34 (−b) for COS − signal detection are arranged in the X direction. Further, the reluctance pattern 34 (+ b) for COS + signal detection and the reluctance pattern 34 (-a) for SIN- signal detection are arranged in the X direction. The reluctance pattern 34 (+ a) for SIN + signal detection and the reluctance pattern 34 (+ b) for COS + signal detection are adjacent to each other in the Y direction. The reluctance pattern 34 (-b) for COS-signal detection and the magnetoresistance pattern 34 (-a) for SIN- signal detection are adjacent to each other in the Y direction. When the magnetic sensor device 3 is opposed to the magnetic scale 2, the reluctance pattern 34 (+ a) for SIN + signal detection and the reluctance pattern 34 (-b) for COS-signal detection are the first incremental track 17. The reluctance pattern 34 (+ a) for SIN + signal detection and the reluctance pattern 34 (−b) for COS − signal detection face the second incremental track 18.

ここで、磁気センサ装置3に対して磁気スケール2が移動する際に磁気抵抗パターン34(+a)から出力される信号と、磁気抵抗パターン34(+b)から出力される信号とは互いに90°の位相差を有する。磁気抵抗パターン34(-a)から出力される信号と磁気抵抗パターン34(-b)から出力される信号とは互いに90°の位相差を有する。磁気抵抗パターン34(+a)から出力される信号と磁気抵抗パターン34(-a)から出力される信号とは180°の位相差を有する。磁気抵抗パターン34(+b)から出力される信号と磁気抵抗パターン34(-b)から出力される信号とは180°の位相差を有する。 Here, the signal output from the magnetoresistance pattern 34 (+ a) and the signal output from the magnetoresistance pattern 34 (+ b) when the magnetic scale 2 moves with respect to the magnetic sensor device 3 are 90 ° to each other. Has a phase difference. The signal output from the magnetoresistance pattern 34 (−a) and the signal output from the magnetoresistance pattern 34 (−b) have a phase difference of 90 ° from each other. The signal output from the magnetoresistance pattern 34 (+ a) and the signal output from the magnetoresistance pattern 34 (−a) have a phase difference of 180 °. The signal output from the magnetoresistance pattern 34 (+ b) and the signal output from the magnetoresistance pattern 34 (−b) have a phase difference of 180 °.

図3は磁気式エンコーダ装置1の制御系を示す概略ブロック図である。図4は磁気スケール2の読み取りにより磁気センサ装置3が取得する各信号および値の説明図である。図
4(a)は、第1アブソリュート値取得部および第2アブソリュート値取得部が取得するM系列の不規則循環乱数コードの説明図である。図4(b)は、M系列の不規則循環乱数コードに基づいて第1アブソリュート値出力部および第2アブソリュート値出力部が出力するアブソリュート値の説明図である。図4(c)は実際にインクリメンタル信出力部が出力するインクリメンタル信号の説明図である。図4(d)はインクリメンタル信号補正部が生成する補正インクリメンタル信号の説明図である。図5は絶対位置の算出動作のフローチャートである。
FIG. 3 is a schematic block diagram showing a control system of the magnetic encoder device 1. FIG. 4 is an explanatory diagram of each signal and value acquired by the magnetic sensor device 3 by reading the magnetic scale 2. FIG. 4A is an explanatory diagram of an M-sequence irregularly circular random number code acquired by the first absolute value acquisition unit and the second absolute value acquisition unit. FIG. 4B is an explanatory diagram of the absolute value output by the first absolute value output unit and the second absolute value output unit based on the irregularly circulating random number code of the M sequence. FIG. 4C is an explanatory diagram of an incremental signal actually output by the incremental signal output unit. FIG. 4D is an explanatory diagram of the correction incremental signal generated by the incremental signal correction unit. FIG. 5 is a flowchart of the absolute position calculation operation.

図3に示すように、磁気センサ装置3の制御系は、CPU、ROM、RAMなどを備える演算処理部40を備える。本例では、演算処理部40はセンサ基板11に実装されている。演算処理部40の入力側には、アブソリュート信号取得用の感磁素子12およびインクリメンタル信号取得用の感磁素子13が接続されている。演算処理部40は、アブソリュート値取得部41、インクリメンタル信号取得部42、インクリメンタル信号補正部43、および、絶対位置を算出する算出部44を備える。アブソリュート値取得部41は、第1アブソリュート値取得部45と、第2アブソリュート値取得部46と、を備える。 As shown in FIG. 3, the control system of the magnetic sensor device 3 includes an arithmetic processing unit 40 including a CPU, ROM, RAM, and the like. In this example, the arithmetic processing unit 40 is mounted on the sensor board 11. A magnetic sensing element 12 for acquiring an absolute signal and a magnetic sensing element 13 for acquiring an incremental signal are connected to the input side of the arithmetic processing unit 40. The arithmetic processing unit 40 includes an absolute value acquisition unit 41, an incremental signal acquisition unit 42, an incremental signal correction unit 43, and a calculation unit 44 for calculating an absolute position. The absolute value acquisition unit 41 includes a first absolute value acquisition unit 45 and a second absolute value acquisition unit 46.

ここで、アブソリュート信号取得用の感磁素子12の第1磁気抵抗パターン31と第1アブソリュート値取得部45とは、第1アブソリュートトラック21を読み取って第1アブソリュート値ABS1を出力する第1アブソリュート値出力部37を構成する。アブソリュート信号取得用の感磁素子12の第2磁気抵抗パターン32と第2アブソリュート値取得部46とは、第2アブソリュートトラック22を読み取って第2アブソリュート値ABS2を出力する第2アブソリュート値出力部38を構成する。インクリメンタル信号取得用の感磁素子13とインクリメンタル信号取得部42とは、インクリメンタルトラック16を読み取ってインクリメンタル信号INCを出力するインクリメンタル信号出力部39を構成する。 Here, the first magnetic resistance pattern 31 of the magnetic sensing element 12 for acquiring the absolute signal and the first absolute value acquisition unit 45 read the first absolute track 21 and output the first absolute value ABS1. The output unit 37 is configured. The second magnetic resistance pattern 32 and the second absolute value acquisition unit 46 of the magnetic sensing element 12 for acquiring the absolute signal are the second absolute value output unit 38 that reads the second absolute track 22 and outputs the second absolute value ABS2. To configure. The magnetic sensory element 13 for acquiring the incremental signal and the incremental signal acquisition unit 42 constitute an incremental signal output unit 39 that reads the incremental track 16 and outputs the incremental signal INC.

第1アブソリュート値取得部45は、まず、図4(a)に示すように、第1磁気抵抗パターン31から出力される6系統の第1アブソリュート信号に基づいて6ビットの第1不規則循環乱数コードCORD1を取得する。次に、第1アブソリュート値取得部45は、図4(b)に示すように、取得した第1不規則循環乱数コードCORD1を整数の数列に置き換えて第1アブソリュート値ABS1を取得する。第1アブソリュート値取得部45が第1アブソリュート値ABS1を取得すると、第1アブソリュート値出力部37は第1アブソリュート値ABS1を出力する。 As shown in FIG. 4A, the first absolute value acquisition unit 45 first has a 6-bit first irregularly circulating random number based on the first absolute signals of the six systems output from the first magnetoresistive pattern 31. Get the code CORD1. Next, as shown in FIG. 4B, the first absolute value acquisition unit 45 replaces the acquired first irregularly circulating random number code CORD1 with a sequence of integers to acquire the first absolute value ABS1. When the first absolute value acquisition unit 45 acquires the first absolute value ABS1, the first absolute value output unit 37 outputs the first absolute value ABS1.

第2アブソリュート値取得部46は、図4(a)に示すように、第2磁気抵抗パターン32から出力される6系統の第2アブソリュート信号に基づいて6ビットの第2不規則循環乱数コードCORD2を取得する。そして、第2アブソリュート値取得部46は、図4(b)に示すように、取得した第2不規則循環乱数コードCORD2を整数の数列に置き換えて第2アブソリュート値ABS2を取得する。第2アブソリュート値取得部46が第2アブソリュート値ABS2を取得すると、第2アブソリュート値出力部38は第2アブソリュート値ABS2を出力する。図4(b)に示すように、第1アブソリュート値出力部37からの第1アブソリュート値ABS1と、第2アブソリュート値出力部38からの第2アブソリュート値ABS2とは、磁気スケール2と磁気センサ装置3とが相対移動する際に、第2ピッチP2分の移動距離だけずれた時点で出力される。 As shown in FIG. 4A, the second absolute value acquisition unit 46 has a 6-bit second irregularly circulating random number code CORD2 based on the second absolute signals of the six systems output from the second magnetoresistance pattern 32. To get. Then, as shown in FIG. 4B, the second absolute value acquisition unit 46 replaces the acquired second irregularly circulating random number code CORD2 with a sequence of integers to acquire the second absolute value ABS2. When the second absolute value acquisition unit 46 acquires the second absolute value ABS2, the second absolute value output unit 38 outputs the second absolute value ABS2. As shown in FIG. 4B, the first absolute value ABS1 from the first absolute value output unit 37 and the second absolute value ABS2 from the second absolute value output unit 38 are a magnetic scale 2 and a magnetic sensor device. When the 3 and the 3 move relative to each other, the output is made when the movement distance of the second pitch P2 is deviated.

インクリメンタル信号取得部42は、SIN+信号検出用の磁気抵抗パターン34(+a)からの信号およびSIN-信号検出用の磁気抵抗パターン34(-a)からの信号に基づいて正弦波信号を取得する。また、インクリメンタル信号取得部42は、COS+信号検出用の磁気抵抗パターン34(+b)からの信号およびCOS-信号検出用の磁気抵抗パターン34(-b)から信号に基づいて余弦波信号を取得する。さらに、インクリメ
ンタル信号取得部42は、正弦波信号および余弦波信号に基づいて内挿分割処理を行い、図4(c)に示すように、ゼロから所定の最大値まで変化する周期的なインクリメンタル信号INCを生成する。インクリメンタル信号取得部42によりインクリメンタル信号INCが生成されると、インクリメンタル信号出力部39は、インクリメンタル信号INCを出力する。
The incremental signal acquisition unit 42 acquires a sinusoidal signal based on the signal from the magnetoresistance pattern 34 (+ a) for SIN + signal detection and the signal from the magnetoresistance pattern 34 (−a) for SIN− signal detection. Further, the incremental signal acquisition unit 42 acquires a chord wave signal based on the signal from the magnetoresistance pattern 34 (+ b) for COS + signal detection and the signal from the magnetoresistance pattern 34 (−b) for COS − signal detection. .. Further, the incremental signal acquisition unit 42 performs interpolation division processing based on the sine wave signal and the cosine wave signal, and as shown in FIG. 4C, a periodic incremental signal that changes from zero to a predetermined maximum value. Generate an INC. When the incremental signal INC is generated by the incremental signal acquisition unit 42, the incremental signal output unit 39 outputs the incremental signal INC.

ここで、インクリメンタル信号INCは、第1アブソリュート値出力部37が新たな第1アブソリュート値ABS1を出力する第1アブソリュート値出力時点At0から第1ピッチP1の1/4ピッチだけ磁気スケール2と磁気センサ装置3とが相対移動した時点からインクリメントを開始するように予め設定されている。本例では、磁気スケール2において、インクリメンタルトラック16のインクリメンタルパターン17a、18aを、第1アブソリュートトラック21の第1アブソリュートパターン21aに対して1/4ピッチだけずらして設けている。これにより、インクリメンタル信号INCのインクリメント開始時点を、第1アブソリュート値出力時点At0から第1ピッチP1の1/4ピッチだけ磁気スケール2と磁気センサ装置3とが相対移動した時点としている。また、本例では、最大値は8000であり、インクリメンタル信号INCは、ゼロから8000までをカウントする。 Here, the incremental signal INC is a magnetic scale 2 and a magnetic sensor for only 1/4 pitch of the first pitch P1 from the first absolute value output time point At0 where the first absolute value output unit 37 outputs a new first absolute value ABS1. It is preset to start the increment from the time when the device 3 and the device 3 move relative to each other. In this example, in the magnetic scale 2, the incremental patterns 17a and 18a of the incremental track 16 are provided so as to be offset by 1/4 pitch from the first absolute pattern 21a of the first absolute track 21. As a result, the increment start time of the incremental signal INC is set to the time when the magnetic scale 2 and the magnetic sensor device 3 move relative to each other by 1/4 pitch of the first pitch P1 from the first absolute value output time point At0. Further, in this example, the maximum value is 8000, and the incremental signal INC counts from zero to 8000.

次に、インクリメンタル信号補正部43は、第1アブソリュート値出力時点At0から第1ピッチP1の1/4ピッチだけ磁気スケール2と磁気センサ装置3とが相対移動した時点を基準インクリメント開始時点I0として、基準インクリメント開始時点I0に対して実際のインクリメンタル信号INCのインクリメント開始時点It0がずれているときに、インクリメンタル信号INCを補正する。 Next, the incremental signal correction unit 43 sets the time when the magnetic scale 2 and the magnetic sensor device 3 move relative to each other by 1/4 pitch from the first absolute value output time point At0 to the first pitch P1 as the reference increment start time point I0. When the increment start time It0 of the actual incremental signal INC is deviated from the reference increment start time I0, the incremental signal INC is corrected.

ここで、予め設定した基準インクリメント開始時点I0に対して、実際にインクリメンタル信号出力部39から出力されるインクリメンタル信号INCがずれる現象は、磁気センサ装置3の設置姿勢が磁気スケール2の相対移動方向であるX方向に対して傾斜しているときに発生する。すなわち、磁気式エンコーダ装置1は、磁気スケール2に、Y方向に配列されてX方向に延びるアブソリュートトラック15とインクリメンタルトラック16とを備える。一方、磁気センサ装置3に、Y方向に配列されたアブソリュート信号取得用の感磁素子12と、インクリメンタル信号取得用の感磁素子13と、を備える。従って、磁気センサ装置3の設置姿勢が、基準とする姿勢から磁気スケール2の相対移動方向に傾斜すると、アブソリュート信号取得用の感磁素子12の磁気抵抗パターン(第1磁気抵抗パターン31および第2磁気抵抗パターン32)と、インクリメンタル信号取得用の感磁素子13の磁気抵抗パターン(SIN+信号検出用の磁気抵抗パターン34(+a)、COS+信号検出用の磁気抵抗パターン34(+b)、SIN-信号検出用の磁気抵抗パターン34(-a)、COS-信号検出用の磁気抵抗パターン34(-b))との配置がX方向にずれる。この結果、実際のインクリメンタル信号INCのインクリメント開始時点It0が、基準インクリメント開始時点I0からずれる。実際のインクリメンタル信号INCのインクリメント開始時点It0が基準インクリメント開始時点I0からずれると、算出部44により算出される絶対位置が誤った値となるという問題がある。このような問題に対応するために、インクリメンタル信号補正部43は、インクリメンタル信号INCの位相のずれを補正した補正インクリメンタル信号C_INCを生成する。 Here, the phenomenon that the incremental signal INC actually output from the incremental signal output unit 39 deviates from the preset reference increment start time point I0 is that the installation posture of the magnetic sensor device 3 is in the relative moving direction of the magnetic scale 2. It occurs when it is tilted with respect to a certain X direction. That is, the magnetic encoder device 1 includes an absolute track 15 arranged in the Y direction and extending in the X direction and an incremental track 16 on the magnetic scale 2. On the other hand, the magnetic sensor device 3 includes a magnetic sensing element 12 for acquiring an absolute signal and a magnetic sensing element 13 for acquiring an incremental signal arranged in the Y direction. Therefore, when the installation posture of the magnetic sensor device 3 is tilted in the relative movement direction of the magnetic scale 2 from the reference posture, the magnetic resistance pattern (first magnetic resistance pattern 31 and second magnetic resistance pattern 31) of the magnetic sensing element 12 for acquiring the absolute signal is obtained. Magnetic resistance pattern 32) and magnetic resistance pattern of magnetically sensitive element 13 for incremental signal acquisition (SIN + magnetic resistance pattern 34 (+ a) for signal detection, COS + magnetic resistance pattern 34 (+ b) for signal detection, SIN- signal The arrangement of the magnetic resistance pattern 34 (-a) for detection and the magnetic resistance pattern 34 (-b) for COS-signal detection is displaced in the X direction. As a result, the increment start time It0 of the actual incremental signal INC deviates from the reference increment start time I0. If the increment start time It0 of the actual incremental signal INC deviates from the reference increment start time I0, there is a problem that the absolute position calculated by the calculation unit 44 becomes an erroneous value. In order to deal with such a problem, the incremental signal correction unit 43 generates a correction incremental signal C_INC that corrects the phase shift of the incremental signal INC.

図3に示すように、インクリメンタル信号補正部43は、インクリメンタル信号出力部39と算出部44の間に設けられる。インクリメンタル信号補正部43の入力側には、第1アブソリュート値出力部37、第2アブソリュート値出力部38およびインクリメンタル信号出力部39が接続されている。インクリメンタル信号補正部43の出力側には、算出部44が接続されている。 As shown in FIG. 3, the incremental signal correction unit 43 is provided between the incremental signal output unit 39 and the calculation unit 44. A first absolute value output unit 37, a second absolute value output unit 38, and an incremental signal output unit 39 are connected to the input side of the incremental signal correction unit 43. A calculation unit 44 is connected to the output side of the incremental signal correction unit 43.

図5に示すように、インクリメンタル信号補正部43は、まず、基準インクリメント開始時点I0に対して実際のインクリメンタル信号INCのインクリメント開始時点It0がずれているずれ量Eを取得する(ステップST1)。換言すれば、インクリメンタル信号補正部43は、実際のインクリメンタル信号INCのインクリメント開始時点It0が、第1アブソリュート値出力時点At0から第1ピッチP1の1/4ピッチだけ磁気スケール2と磁気センサ装置3とが相対移動した時点(基準インクリメント開始時点I0)からずれている位相のずれ量Eを取得する。 As shown in FIG. 5, the incremental signal correction unit 43 first acquires a deviation amount E in which the increment start time It0 of the actual incremental signal INC is deviated from the reference increment start time I0 (step ST1). In other words, in the incremental signal correction unit 43, the increment start time It0 of the actual incremental signal INC is the magnetic scale 2 and the magnetic sensor device 3 by 1/4 pitch from the first absolute value output time point At0 to the first pitch P1. Acquires the phase shift amount E deviated from the time point at which the relative movement is performed (reference increment start time point I0).

次に、インクリメンタル信号補正部43は、取得したずれ量Eに基づいてインクリメンタル信号INCの位相のずれを補正した補正した補正インクリメンタル信号C_INCを生成する(ステップST12)。補正インクリメンタル信号C_INCにおけるインクリメンタル開始時点は、基準インクリメント開始時点I0に一致するものとなる。 Next, the incremental signal correction unit 43 generates a corrected incremental signal C_INC that corrects the phase shift of the incremental signal INC based on the acquired deviation amount E (step ST12). The incremental start time point in the correction incremental signal C_INC coincides with the reference increment start time point I0.

ここで、補正インクリメンタル信号C_INCが生成されると、算出部44は、補正インクリメンタル信号C_INCを用いて、絶対位置を算出する(ステップST3)。 Here, when the correction incremental signal C_INC is generated, the calculation unit 44 calculates the absolute position using the correction incremental signal C_INC (step ST3).

より具体的には、図4(c)に示すように、インクリメンタル信号補正部43は、第1アブソリュート値ABS1と第2アブソリュート値ABS2とが同一の値から異なる値に変化した第1時点t0のインクリメンタル信号INCの第1値INC1、および、第1時点t0の次に第1アブソリュート値ABS1と第2アブソリュート値ABS2とが同一の値に戻る第2時点t2のインクリメンタル信号INCの第2値INC2に基づいてずれ量Eを取得する。 More specifically, as shown in FIG. 4C, the incremental signal correction unit 43 has a first time point t0 in which the first absolute value ABS1 and the second absolute value ABS2 change from the same value to different values. The first value INC1 of the incremental signal INC and the second value INC2 of the incremental signal INC of the second time point t2 where the first absolute value ABS1 and the second absolute value ABS2 return to the same value after the first time point t0. Based on this, the deviation amount E is acquired.

すなわち、インクリメント開始時点It0が、基準インクリメント開始時点I0(第1アブソリュート値出力時点At0から第1ピッチP1の1/4ピッチだけ磁気スケール2と磁気センサ装置3とが相対移動した時点)と一致している場合には、第1アブソリュート値ABS1が新たに取得される時点は、第1アブソリュート値ABS1と第2アブソリュート値ABS2とが同一の値から異なる値に変化した第1時点t0と、第1時点t0の次に第1アブソリュート値ABS1と第2アブソリュート値ABS2とが同一の値に戻る第2時点t2との中央の時点となる。従って、第1アブソリュート値ABS1と第2アブソリュート値ABS2とが同一の値から異なる値に変化した第1時点t0のインクリメンタル信号INCの第1値INC1と最大値との差分(距離D1)と、第1時点t0の次に第1アブソリュート値ABS1と第2アブソリュート値ABS2とが同一の値に戻る第2時点t2のインクリメンタル信号INCの第2値INC2(ゼロからの第2値INC2までの距離D2)とは一致する。 That is, the increment start time It0 coincides with the reference increment start time I0 (when the magnetic scale 2 and the magnetic sensor device 3 move relative to each other by 1/4 pitch of the first pitch P1 from the first absolute value output time At0). If so, the time points when the first absolute value ABS1 is newly acquired are the first time point t0 in which the first absolute value ABS1 and the second absolute value ABS2 change from the same value to different values, and the first time point t0. After the time point t0, the first absolute value ABS1 and the second absolute value ABS2 return to the same value, which is the central time point with the second time point t2. Therefore, the difference (distance D1) between the first value INC1 and the maximum value of the incremental signal INC of the first time point t0 in which the first absolute value ABS1 and the second absolute value ABS2 change from the same value to different values, and the first value. The first absolute value ABS1 and the second absolute value ABS2 return to the same value after the first time point t0. The second value INC2 of the incremental signal INC of the second time point t2 (distance D2 from zero to the second value INC2). Is consistent with.

一方、図4(b)、図4(c)に示すように、インクリメント開始時点It0が、基準インクリメント開始時点I0(第1アブソリュート値出力時点At0から第1ピッチP1の1/4ピッチだけ磁気スケール2と磁気センサ装置3とが相対移動した時点)からずれている場合には、第1アブソリュート値ABS1と第2アブソリュート値ABS2とが同一の値から異なる値に変化した第1時点t0のインクリメンタル信号INCの第1値INC1と最大値との差分(距離D1)と、第1時点t0の次に第1アブソリュート値ABS1と第2アブソリュート値ABS2とが同一の値に戻る第2時点t2のインクリメンタル信号INCの第2値INC2(距離D2)とは、異なる値となる。また、インクリメンタル信号INCの第1値INC1と最大値との差分(距離D1)と、第2値INC2(ゼロからの第2値INC2までの距離D2)との差が、第1アブソリュート値出力時点At0とインクリメンタル信号INCの位相とのずれ量Eに相当する。 On the other hand, as shown in FIGS. 4 (b) and 4 (c), the increment start time It0 is a magnetic scale of the reference increment start time I0 (1/4 pitch from the first absolute value output time At0 to the first pitch P1). When the distance between 2 and the magnetic sensor device 3 is deviated from the relative movement), the incremental signal at the first time point t0 in which the first absolute value ABS1 and the second absolute value ABS2 change from the same value to different values. The difference (distance D1) between the first value INC1 and the maximum value of INC, and the incremental signal at the second time point t2 where the first absolute value ABS1 and the second absolute value ABS2 return to the same value after the first time point t0. The value is different from the second value INC2 (distance D2) of INC. Further, the difference between the difference (distance D1) between the first value INC1 and the maximum value of the incremental signal INC and the second value INC2 (distance D2 from zero to the second value INC2) is the time when the first absolute value is output. It corresponds to the amount of deviation E between At0 and the phase of the incremental signal INC.

従って、インクリメンタル信号補正部43は、図4(d)の矢印で示すように、ずれ量Eに相当する分だけ、インクリメンタル信号INCの位相をずらした補正インクリメンタ
ル信号C_INCを生成する。これにより、補正インクリメンタル信号C_INCにおけるインクリメンタル開始時点は、基準インクリメント開始時点I0に一致するものとなる。インクリメンタル信号INCと補正インクリメンタル信号C_INCとは、位相がずれているだけで、いずれもゼロから最大値(8000)までをカウントするものである。
Therefore, as shown by the arrow in FIG. 4D, the incremental signal correction unit 43 generates the correction incremental signal C_INC in which the phase of the incremental signal INC is shifted by the amount corresponding to the deviation amount E. As a result, the incremental start time point in the correction incremental signal C_INC coincides with the reference increment start time point I0. The incremental signal INC and the correction incremental signal C_INC both count from zero to the maximum value (8000) only in phase shift.

なお、インクリメント開始時点It0が、基準インクリメント開始時点I0に対してずれていない場合には、ずれ量Eはゼロである。従って、インクリメンタル信号補正部43は、インクリメンタル信号INCの位相をずらすことなく、インクリメンタル信号INCをそのまま補正インクリメンタル信号C_INCとする。 If the increment start time It0 does not deviate from the reference increment start time I0, the deviation amount E is zero. Therefore, the incremental signal correction unit 43 sets the incremental signal INC as the correction incremental signal C_INC as it is without shifting the phase of the incremental signal INC.

ここで、インクリメンタル信号補正部43によるずれ量Eの取得は、磁気センサ装置3を固定体の側に配置して磁気スケール2を移動体の側に配置する磁気式エンコーダ装置1の設置時に行われる。すなわち、設置時に、固定体に対して移動体を移動させて磁気スケール2と磁気センサ装置3とを相対移動させると、インクリメンタル信号補正部43は、第1時点t0のインクリメンタル信号INCの第1値INC1と最大値との差分(距離D1)と、第2時点t2のインクリメンタル信号INCの第2値INC2(ゼロからの第2値INC2までの距離D2)とを取得して、ずれ量Eを算出する。その後、インクリメンタル信号補正部43は、設置時に取得したずれ量Eに基づいて、補正インクリメンタル信号C_INCを生成する。 Here, the acquisition of the deviation amount E by the incremental signal correction unit 43 is performed at the time of installing the magnetic encoder device 1 in which the magnetic sensor device 3 is arranged on the side of the fixed body and the magnetic scale 2 is arranged on the side of the moving body. .. That is, when the moving body is moved with respect to the fixed body to move the magnetic scale 2 and the magnetic sensor device 3 relative to each other at the time of installation, the incremental signal correction unit 43 has the first value of the incremental signal INC at the first time point t0. The difference (distance D1) between INC1 and the maximum value and the second value INC2 (distance D2 from zero to the second value INC2) of the incremental signal INC at the second time point t2 are acquired to calculate the deviation amount E. do. After that, the incremental signal correction unit 43 generates the correction incremental signal C_INC based on the deviation amount E acquired at the time of installation.

次に、算出部44は、第1アブソリュート値ABS1および第2アブソリュート値ABS2、並びに、補正インクリメンタル信号C_INCに基づいて絶対位置を算出する。具体的には、算出部44は、補正インクリメンタル信号C_INCが0となる時点から補正インクリメンタル信号C_INCがゼロと最大値の中央の中央値に達するまでの第1期間T1で絶対位置の算出に第1アブソリュート値ABS1を用い、補正インクリメンタル信号C_INCが中央値となったから補正インクリメンタル信号C_INCが最大値に達するまでの第2期間T2では絶対位置の算出に第2アブソリュート値ABS2を用いる。 Next, the calculation unit 44 calculates the absolute position based on the first absolute value ABS1 and the second absolute value ABS2, and the correction incremental signal C_INC. Specifically, the calculation unit 44 first calculates the absolute position in the first period T1 from the time when the correction incremental signal C_INC becomes 0 until the correction incremental signal C_INC reaches the median center of zero and the maximum value. The absolute value ABS1 is used, and the second absolute value ABS2 is used for calculating the absolute position in the second period T2 from the median value of the corrected incremental signal C_INC to the maximum value of the corrected incremental signal C_INC.

本例では、補正インクリメンタル信号C_INCの最大値が8000である。従って、中央値は4000である。よって、算出部44が絶対位置を算出する図5のステップST3では、算出部44は、絶対位置の算出に際して補正インクリメンタル信号C_INCの値を監視し(ステップST11)、補正インクリメンタル信号C_INCの値が0から4000に達するまでの第1期間T1では(ステップST11:Yes)、第1アブソリュートトラック21の第1アブソリュートパターン21aから取得された第1アブソリュート値ABS1を用い、当該第1アブソリュート値ABS1と補正インクリメンタル信号C_INCの値(位相)に基づいて絶対位置を算出する(ステップS12)。一方、補正インクリメンタル信号C_INCの値が4000となってから補正インクリメンタル信号C_INCの値が8000に達するまでの第2期間T2では(ステップST11:No)、算出部44は、第2アブソリュートトラック22の第2アブソリュートパターン22aから取得された第2アブソリュート値ABS2を用い、当該第2アブソリュート値ABS2と補正インクリメンタル信号C_INCの値(位相)に基づいて絶対位置を算出する(ステップST13)。すなわち、算出部44は、図4(b)において矢印で示すように、絶対位置の算出に際して、第1アブソリュート値ABS1と第2アブソリュート値ABS2とを、第2ピッチP2移動する毎に、交互に切り替えて用いる。 In this example, the maximum value of the correction incremental signal C_INC is 8000. Therefore, the median is 4000. Therefore, in step ST3 of FIG. 5 in which the calculation unit 44 calculates the absolute position, the calculation unit 44 monitors the value of the correction incremental signal C_INC when calculating the absolute position (step ST11), and the value of the correction incremental signal C_INC is 0. In the first period T1 from to 4000 to 4000 (step ST11: Yes), the first absolute value ABS1 acquired from the first absolute pattern 21a of the first absolute track 21 is used, and the first absolute value ABS1 and the correction incremental value ABS1 are used. The absolute position is calculated based on the value (phase) of the signal C_INC (step S12). On the other hand, in the second period T2 (step ST11: No) from when the value of the correction incremental signal C_INC becomes 4000 to when the value of the correction incremental signal C_INC reaches 8000 (step ST11: No), the calculation unit 44 is the second absolute track 22. 2 Using the second absolute value ABS2 acquired from the absolute pattern 22a, the absolute position is calculated based on the second absolute value ABS2 and the value (phase) of the correction incremental signal C_INC (step ST13). That is, as shown by an arrow in FIG. 4B, the calculation unit 44 alternately moves the first absolute value ABS1 and the second absolute value ABS2 every time the second pitch P2 is moved in calculating the absolute position. Switch and use.

(作用効果)
本例の磁気式エンコーダ装置1は、磁気センサ装置3の設置姿勢が磁気スケール2の相対移動方向(X方向)に対して傾斜することなどに起因して、インクリメンタル信号INCのインクリメント開始時点It0が、予め設定した基準インクリメント開始時点I0に対してずれた場合には、そのずれ量Eに基づいてインクリメンタル信号INCの位相のず
れを補正した補正インクリメンタル信号C_INCが生成される。また、絶対位置の算出には、補正インクリメンタル信号C_INCが用いられる。従って、算出部44により算出される絶対位置が正しい値となる。
(Action effect)
In the magnetic encoder device 1 of this example, the increment start time It0 of the incremental signal INC is set due to the fact that the installation posture of the magnetic sensor device 3 is tilted with respect to the relative movement direction (X direction) of the magnetic scale 2. When the deviation is made with respect to the preset reference increment start time point I0, the correction incremental signal C_INC corrected for the phase shift of the incremental signal INC is generated based on the deviation amount E. Further, the correction incremental signal C_INC is used to calculate the absolute position. Therefore, the absolute position calculated by the calculation unit 44 is a correct value.

また、本例の磁気式エンコーダ装置1では、絶対位置の算出に際して、正確なアブソリュート値を用いることができる。 Further, in the magnetic encoder device 1 of this example, an accurate absolute value can be used when calculating the absolute position.

すなわち、第1アブソリュートトラック21および第2アブソリュートトラック22のアブソリュートパターン21a、22aにおいて、第1ピッチP1毎に存在する各パターン領域の境界B(図4(a)、図4(b)参照)では、磁界が不安定となっている。従って、算出部44が絶対位置を算出する際に、アブソリュート値として、各パターン領域の境界Bを磁気抵抗素子によって検出することによって得られたアブソリュート値を用いると、アブソリュート値が正確ではない場合が発生する。アブソリュート値が正確でなければ、絶対位置を正確に算出できなくなる。 That is, in the absolute patterns 21a and 22a of the first absolute track 21 and the second absolute track 22, at the boundary B of each pattern region existing for each first pitch P1 (see FIGS. 4 (a) and 4 (b)). , The magnetic field is unstable. Therefore, when the calculation unit 44 calculates the absolute position, if the absolute value obtained by detecting the boundary B of each pattern region by the magnetoresistive element is used as the absolute value, the absolute value may not be accurate. Occur. If the absolute value is not accurate, the absolute position cannot be calculated accurately.

このような問題に対して、本例では、アブソリュートトラック15において、第1アブソリュート値ABS1を取得するための第1アブソリュートトラック21の第1アブソリュートパターン21aと、第2アブソリュート値ABS2を取得するための第2アブソリュートトラック22の第2アブソリュートパターン22aとは、磁気スケール2と磁気センサ装置3とのX方向で半ピッチ(第2ピッチP2)ずれている。また、インクリメンタル信号INCは、第1アブソリュート値出力時点At0から第1ピッチP1の1/4ピッチだけ磁気スケール2と磁気センサ装置3とが相対移動した時点からインクリメントを開始する。そして、算出部44は、絶対位置の算出に際して、補正インクリメンタル信号C_INCの値が0から4000に達するまでの第1期間T1では、第1アブソリュートトラック21の第1アブソリュートパターン21aから取得された第1アブソリュート値ABS1を用い、当該第1アブソリュート値ABS1と補正インクリメンタル信号C_INCの値(位相)に基づいて絶対位置を算出する。一方、補正インクリメンタル信号C_INCの値が4000となってから補正インクリメンタル信号C_INCの値が8000に達するまでの第2期間T2では、算出部44は、第2アブソリュートトラック22の第2アブソリュートパターン22aから取得された第2アブソリュート値ABS2を用いる。 In response to such a problem, in this example, in the absolute track 15, the first absolute pattern 21a of the first absolute track 21 for acquiring the first absolute value ABS1 and the second absolute value ABS2 for acquiring the first absolute value ABS2 are obtained. The second absolute pattern 22a of the second absolute track 22 is deviated by a half pitch (second pitch P2) in the X direction between the magnetic scale 2 and the magnetic sensor device 3. Further, the incremental signal INC starts incrementing from the time when the magnetic scale 2 and the magnetic sensor device 3 move relative to each other by 1/4 pitch of the first pitch P1 from the first absolute value output time point At0. Then, when calculating the absolute position, the calculation unit 44 first obtains from the first absolute pattern 21a of the first absolute track 21 in the first period T1 from 0 to 4000 when the value of the correction incremental signal C_INC reaches. Using the absolute value ABS1, the absolute position is calculated based on the first absolute value ABS1 and the value (phase) of the correction incremental signal C_INC. On the other hand, in the second period T2 from when the value of the correction incremental signal C_INC becomes 4000 to when the value of the correction incremental signal C_INC reaches 8000, the calculation unit 44 acquires from the second absolute pattern 22a of the second absolute track 22. The second absolute value ABS2 is used.

従って、図4(b)および図4(d)に示すとおり、算出部44は、絶対位置を算出する際に、第1アブソリュートトラック21の第1アブソリュートパターン21aにおいて第1ピッチP1毎に存在する各パターン領域の境界Bを検出することにより取得された第1アブソリュート値ABS1を用いることがない。同様に、算出部44は、絶対位置を算出する際に、第2アブソリュートトラック22の第2アブソリュートパターン22aにおいて第1ピッチP1毎に存在する各パターン領域の境界Bを検出することにより取得された第2アブソリュート値ABS2を用いることもない。よって、算出部44は、絶対位置の算出に、正確なアブソリュート値(第1アブソリュート値ABS1または第2アブソリュート値ABS2)を用いることができる。 Therefore, as shown in FIGS. 4 (b) and 4 (d), the calculation unit 44 exists for each first pitch P1 in the first absolute pattern 21a of the first absolute track 21 when calculating the absolute position. The first absolute value ABS1 obtained by detecting the boundary B of each pattern region is not used. Similarly, when calculating the absolute position, the calculation unit 44 is acquired by detecting the boundary B of each pattern region existing for each first pitch P1 in the second absolute pattern 22a of the second absolute track 22. The second absolute value ABS2 is not used either. Therefore, the calculation unit 44 can use an accurate absolute value (first absolute value ABS1 or second absolute value ABS2) for calculating the absolute position.

また、本例では、第1、第2インクリメンタルトラック17、18は、それぞれX方向でN極とS極とを第2ピッチP2で交互に着磁したインクリメンタルパターン17a、18aを備える。従って、新たにアブソリュート値が取得される周期と、インクリメンタル信号INCの周期を一致させることが容易である。 Further, in this example, the first and second incremental tracks 17 and 18 include incremental patterns 17a and 18a in which the N pole and the S pole are alternately magnetized at the second pitch P2 in the X direction, respectively. Therefore, it is easy to match the cycle of newly acquiring the absolute value with the cycle of the incremental signal INC.

さらに、本例の磁気式エンコーダ装置1は、磁気センサ装置3の設置姿勢が磁気スケール2の相対移動方向(X方向)に対して傾斜することなどに起因して、インクリメンタル信号INCのインクリメント開始時点It0が、予め設定した基準インクリメント開始時点I0に対してずれた場合には、そのずれ量Eに基づいてインクリメンタル信号INCの
位相のずれを補正した補正インクリメンタル信号C_INCが生成され、補正インクリメンタル信号C_INCを用いて絶対位置が算出される。従って、磁気式エンコーダ装置1を設置する際に、磁気スケール2と磁気センサ装置3との位置関係を厳密に規定する必要がない。よって、磁気式エンコーダ装置1の設置作業が容易である。
Further, in the magnetic encoder device 1 of this example, the incremental signal INC increment start time point due to the fact that the installation posture of the magnetic sensor device 3 is tilted with respect to the relative movement direction (X direction) of the magnetic scale 2. When It0 deviates from the preset reference increment start time point I0, a correction incremental signal C_INC that corrects the phase shift of the incremental signal INC is generated based on the deviation amount E, and the correction incremental signal C_INC is generated. The absolute position is calculated using. Therefore, when installing the magnetic encoder device 1, it is not necessary to strictly define the positional relationship between the magnetic scale 2 and the magnetic sensor device 3. Therefore, the installation work of the magnetic encoder device 1 is easy.

(変形例)
インクリメンタル信号補正部43は、図4(c)に示すように第1アブソリュート値ABS1と第2アブソリュート値ABS2とが異なる値から同一の値に変化した第3時点t3のインクリメンタル信号INCの第3値INC3、および、第3時点t3の次に第1アブソリュート値ABS1と第2アブソリュート値ABS2とが異なる値に戻る第4時点t4のインクリメンタル信号INCの第4値INC4に基づいて、ずれ量Eを取得することもできる。
(Modification example)
As shown in FIG. 4C, the incremental signal correction unit 43 uses the third value of the incremental signal INC of the third time point t3 in which the first absolute value ABS1 and the second absolute value ABS2 change from different values to the same value. The deviation amount E is acquired based on INC3 and the fourth value INC4 of the incremental signal INC of the fourth time point t4 in which the first absolute value ABS1 and the second absolute value ABS2 return to different values after the third time point t3. You can also do it.

この場合には、第1アブソリュート値ABS1と第2アブソリュート値ABS2とが異なる値から同一の値に変化した第1時点t0のインクリメンタル信号INCの第1値INC1と中央値との差分(距離D3)と、第1時点t0の次に第1アブソリュート値ABS1と第2アブソリュート値ABS2とが異なる値に戻る第2時点t2のインクリメンタル信号INCの第2値INC2と中央値との差分(距離D4)との差が、第1アブソリュート値出力時点At0とインクリメンタル信号INCの位相とのずれ量Eに相当する。 In this case, the difference between the first value INC1 and the median of the incremental signal INC of the first time point t0 in which the first absolute value ABS1 and the second absolute value ABS2 change from different values to the same value (distance D3). And the difference (distance D4) between the second value INC2 and the median of the incremental signal INC of the second time point t2 in which the first absolute value ABS1 and the second absolute value ABS2 return to different values after the first time point t0. The difference between the two corresponds to the deviation amount E between the first absolute value output time point At0 and the phase of the incremental signal INC.

(その他の実施の形態)
なお、磁気式エンコーダ装置1では、インクリメンタル信号出力部39は、2本のインクリメンタルトラック17、18を検出してインクリメンタル信号を出力しているが、1本のインクリメンタルトラックからインクリメンタル信号を出力する構成を採用してもよい。
(Other embodiments)
In the magnetic encoder device 1, the incremental signal output unit 39 detects two incremental tracks 17 and 18 and outputs an incremental signal, but the integral signal is output from one incremental track. It may be adopted.

また、磁気式エンコーダ装置1において、インクリメンタル信号出力部39が出力するインクリメンタル信号がバーニア信号であってもよい。この場合には、磁気スケールに、ピッチの異なるインクリメンタルパターンが形成された2つのインクリメンタルトラックを設けておき、磁気センサ装置のインクリメンタル信号取得用の感磁素子13によって、波長の異なる2つのインクリメンタル信号を取得する。そして、インクリメンタル信号出力部39において、取得した2つのインクリメンタル信号に基づいて、これらのインクリメンタル信号の周期より長いバーニア信号を生成して、出力する。 Further, in the magnetic encoder device 1, the incremental signal output by the incremental signal output unit 39 may be a vernier signal. In this case, two incremental tracks having different pitch incremental patterns are provided on the magnetic scale, and two incremental signals having different wavelengths are transmitted by the magnetic sensing element 13 for acquiring the incremental signal of the magnetic sensor device. get. Then, the incremental signal output unit 39 generates and outputs a vernier signal longer than the period of these incremental signals based on the two acquired incremental signals.

ここで、バーニア信号の周期はアブソリュートパターンの第1ピッチPに対応する周期とする。また、バーニア信号は、第1アブソリュート値出力部37が新たな第1アブソリュート値ABS1を出力する第1アブソリュート値出力時点から第1ピッチPの1/4ピッチだけ磁気スケール2と磁気センサ装置3とが相対移動した時点からインクリメントを開始するものとする。 Here, the period of the vernier signal is the period corresponding to the first pitch P of the absolute pattern. Further, the vernier signal includes the magnetic scale 2 and the magnetic sensor device 3 by 1/4 pitch of the first pitch P from the time of the first absolute value output in which the first absolute value output unit 37 outputs a new first absolute value ABS1. It is assumed that the increment starts from the time when the relative movement is performed.

1…磁気式エンコーダ装置(位置検出装置)、2…磁気スケール、3…磁気センサ装置、5…磁気トラック、7…ホルダ、8…ケーブル、9…対向面、9a…開口部、10…磁気センサ、11…センサ基板、12…アブソリュート信号取得用の感磁素子、13…インクリメンタル信号取得用の感磁素子、15…アブソリュートトラック、16…インクリメンタルトラック、17…第1インクリメンタルトラック、18…第2インクリメンタルトラック、17a…第1インクリメンタルパターン、18a…第2インクリメンタルパターン、21…第1アブソリュートトラック、21a…第1アブソリュートパターン、22…第2アブソリュートトラック、22a…第2アブソリュートパターン、31…第1磁気抵抗パターン、32…第2磁気抵抗パターン、34…磁気抵抗パターン、34…SIN-信号
検出用の磁気抵抗パターン、34…COS+信号検出用の磁気抵抗パターン、34…COS-信号検出用の磁気抵抗パターン、34…SIN+信号検出用の磁気抵抗パターン、37…第1アブソリュート値出力部、38…第2アブソリュート値出力部、39…インクリメンタル信号出力部、40…演算処理部、41…アブソリュート値取得部、42…インクリメンタル信号取得部、43…インクリメンタル信号補正部、44…算出部、45…第1アブソリュート値取得部、46…第2アブソリュート値取得部、ABS1…第1アブソリュート値、ABS2…第2アブソリュート値、CORD1…第1不規則循環乱数コード、CORD2…第2不規則循環乱数コード、INC1…インクリメンタル信号INCの第1値、INC2…インクリメンタル信号INCの第2値、INC3…インクリメンタル信号INCの第3値、INC4…インクリメンタル信号INCの第4値、P1…第1ピッチ、P2…第2ピッチ、T1…第1期間、T2…第2期間
1 ... Magnetic encoder device (position detection device), 2 ... Magnetic scale, 3 ... Magnetic sensor device, 5 ... Magnetic track, 7 ... Holder, 8 ... Cable, 9 ... Facing surface, 9a ... Opening, 10 ... Magnetic sensor , 11 ... Sensor board, 12 ... Magnetic element for acquiring absolute signal, 13 ... Magnetic element for acquiring incremental signal, 15 ... Absolute track, 16 ... Incremental track, 17 ... First incremental track, 18 ... Second incremental track Track, 17a ... 1st incremental pattern, 18a ... 2nd incremental pattern, 21 ... 1st absolute track, 21a ... 1st absolute pattern, 22 ... 2nd absolute track, 22a ... 2nd absolute pattern, 31 ... 1st magnetic resistance Pattern, 32 ... 2nd magnetic resistance pattern, 34 ... magnetic resistance pattern, 34 ... magnetic resistance pattern for SIN-signal detection, 34 ... magnetic resistance pattern for COS + signal detection, 34 ... magnetic resistance pattern for COS-signal detection , 34 ... Magnetic resistance pattern for SIN + signal detection, 37 ... 1st absolute value output unit, 38 ... 2nd absolute value output unit, 39 ... Incremental signal output unit, 40 ... Arithmetic processing unit, 41 ... Absolute value acquisition unit, 42 ... Incremental signal acquisition unit, 43 ... Incremental signal correction unit, 44 ... Calculation unit, 45 ... First absolute value acquisition unit, 46 ... Second absolute value acquisition unit, ABS1 ... First absolute value, ABS2 ... Second absolute value , CORD1 ... 1st irregularly circulating random number code, CORD2 ... 2nd irregularly circulating random number code, INC1 ... 1st value of incremental signal INC, INC2 ... 2nd value of incremental signal INC, INC3 ... 3rd value of incremental signal INC , INC4 ... Incremental signal INC 4th value, P1 ... 1st pitch, P2 ... 2nd pitch, T1 ... 1st period, T2 ... 2nd period

Claims (6)

着磁領域と無着磁領域とが第1ピッチで配列されたアブソリュートパターンを有するアブソリュートトラック、および、着磁領域と無着磁領域とが交互に配列されたインクリメンタルパターンを有し前記アブソリュートトラックと並列に設けられたインクリメンタルトラックを備える磁気スケールと、相対移動する前記磁気スケールの前記アブソリュートトラックを読み取ってアブソリュート値を出力するアブソリュート値出力部、相対移動する前記磁気スケールの前記インクリメンタルトラックを読み取ってゼロから所定の最大値まで変化する周期的なインクリメンタル信号を出力するインクリメンタル信号出力部、および、前記アブソリュート値および前記インクリメンタル信号に基づいて絶対位置を算出する算出部を備える磁気センサ装置と、を有する位置検出装置において、
前記インクリメンタル信号を補正するインクリメンタル信号補正部を有し、
前記インクリメンタル信号補正部は、前記インクリメンタル信号がインクリメントを開始するインクリメント開始時点として予め設定した基準インクリメント開始時点に対して実際の前記インクリメンタル信号のインクリメント開始時点がずれているずれ量を取得し、前記ずれ量に基づいて前記インクリメンタル信号の位相のずれを補正した補正インクリメンタル信号を生成し、
前記算出部は、前記絶対位置の算出に前記補正インクリメンタル信号を用い
前記アブソリュートトラックは、前記アブソリュートパターンを有する第1トラックと、前記第1トラックに対して相対移動方向で前記第1ピッチの半分の第2ピッチずれた前記アブソリュートパターンを有し、前記第1トラックと並列に設けられた第2トラックと、を備え、
前記アブソリュート値出力部は、前記第1トラックを読み取って第1アブソリュート値を出力する第1アブソリュート値出力部と、前記第2トラックを読み取って第2アブソリュート値を出力する第2アブソリュート値出力部と、を備え、
前記基準インクリメント開始時点は、前記第1アブソリュート値出力部が新たな前記アブソリュート値を出力する第1アブソリュート値出力時点から前記第1ピッチの1/4ピッチだけ前記磁気スケールと前記磁気センサ装置とが相対移動した時点であり、
前記算出部は、前記補正インクリメンタル信号が0となる時点から当該補正インクリメンタル信号がゼロと前記最大値の中央の中央値に達するまでは前記絶対位置の算出に前記第1アブソリュート値を用い、前記補正インクリメンタル信号が前記中央値となった時点から前記補正インクリメンタル信号が前記最大値に達するまでは前記絶対位置の算出に前
記第2アブソリュート値を用い、
前記インクリメンタル信号補正部は、前記第1アブソリュート値と前記第2アブソリュート値とが同一の値から異なる値に変化した第1時点の前記インクリメンタル信号の第1値、および、前記第1時点の次に前記第1アブソリュート値と前記第2アブソリュート値とが同一の値に戻る第2時点の前記インクリメンタル信号の第2値に基づいて、前記ずれ量を取得することを特徴とする位置検出装置。
The absolute track having an absolute pattern in which the magnetized region and the non-magnetized region are arranged at the first pitch, and the absolute track having an incremental pattern in which the magnetized region and the non-magnetized region are alternately arranged. A magnetic scale having an incremental track provided in parallel, an absolute value output unit that reads the absolute track of the magnetic scale that moves relative to each other and outputs an absolute value, and a zero that reads the incremental track of the magnetic scale that moves relative to each other. A position having an incremental signal output unit that outputs a periodic incremental signal that changes from to a predetermined maximum value, and a magnetic sensor device including a calculation unit that calculates an absolute position based on the absolute value and the incremental signal. In the detector
It has an incremental signal correction unit that corrects the incremental signal.
The incremental signal correction unit acquires a shift amount in which the actual increment start time of the incremental signal is deviated from the reference increment start time set in advance as the increment start time at which the incremental signal starts incrementing. A corrected incremental signal that corrects the phase shift of the incremental signal based on the amount is generated.
The calculation unit uses the correction incremental signal to calculate the absolute position.
The absolute track has a first track having the absolute pattern and the absolute pattern deviated by a second pitch by half of the first pitch in a relative movement direction with respect to the first track. With a second track installed in parallel,
The absolute value output unit includes a first absolute value output unit that reads the first track and outputs the first absolute value, and a second absolute value output unit that reads the second track and outputs the second absolute value. , Equipped with
At the start time of the reference increment, the magnetic scale and the magnetic sensor device are set by 1/4 pitch of the first pitch from the time of the first absolute value output in which the first absolute value output unit outputs a new absolute value. At the time of relative movement,
The calculation unit uses the first absolute value to calculate the absolute position from the time when the correction incremental signal becomes 0 until the correction incremental signal reaches the median center of zero and the maximum value, and the correction is performed. Before calculating the absolute position from the time when the incremental signal reaches the median until the corrected incremental signal reaches the maximum value.
Using the second absolute value,
The incremental signal correction unit is a first value of the incremental signal at the first time point in which the first absolute value and the second absolute value are changed from the same value to different values, and next to the first time point. A position detecting device characterized in that the deviation amount is acquired based on the second value of the incremental signal at a second time point in which the first absolute value and the second absolute value return to the same value .
着磁領域と無着磁領域とが第1ピッチで配列されたアブソリュートパターンを有するアブソリュートトラック、および、着磁領域と無着磁領域とが交互に配列されたインクリメンタルパターンを有し前記アブソリュートトラックと並列に設けられたインクリメンタルトラックを備える磁気スケールと、相対移動する前記磁気スケールの前記アブソリュートトラックを読み取ってアブソリュート値を出力するアブソリュート値出力部、相対移動する前記磁気スケールの前記インクリメンタルトラックを読み取ってゼロから所定の最大値まで変化する周期的なインクリメンタル信号を出力するインクリメンタル信号出力部、および、前記アブソリュート値および前記インクリメンタル信号に基づいて絶対位置を算出する算出部を備える磁気センサ装置と、を有する位置検出装置において、The absolute track having an absolute pattern in which the magnetized region and the non-magnetized region are arranged at the first pitch, and the absolute track having an incremental pattern in which the magnetized region and the non-magnetized region are alternately arranged. A magnetic scale having an incremental track provided in parallel, an absolute value output unit that reads the absolute track of the magnetic scale that moves relative to each other and outputs an absolute value, and a zero that reads the incremental track of the magnetic scale that moves relative to each other. A position having an incremental signal output unit that outputs a periodic incremental signal that changes from to a predetermined maximum value, and a magnetic sensor device including a calculation unit that calculates an absolute position based on the absolute value and the incremental signal. In the detector
前記インクリメンタル信号を補正するインクリメンタル信号補正部を有し、It has an incremental signal correction unit that corrects the incremental signal.
前記インクリメンタル信号補正部は、前記インクリメンタル信号がインクリメントを開始するインクリメント開始時点として予め設定した基準インクリメント開始時点に対して実際の前記インクリメンタル信号のインクリメント開始時点がずれているずれ量を取得し、前記ずれ量に基づいて前記インクリメンタル信号の位相のずれを補正した補正インクリメンタル信号を生成し、The incremental signal correction unit acquires a shift amount in which the actual increment start time of the incremental signal is deviated from the reference increment start time set in advance as the increment start time at which the incremental signal starts incrementing. A corrected incremental signal that corrects the phase shift of the incremental signal based on the amount is generated.
前記算出部は、前記絶対位置の算出に前記補正インクリメンタル信号を用い、The calculation unit uses the correction incremental signal to calculate the absolute position.
前記アブソリュートトラックは、前記アブソリュートパターンを有する第1トラックと、前記第1トラックに対して相対移動方向で前記第1ピッチの半分の第2ピッチずれた前記アブソリュートパターンを有し、前記第1トラックと並列に設けられた第2トラックと、を備え、The absolute track has a first track having the absolute pattern and the absolute pattern deviated by a second pitch by half of the first pitch in a relative movement direction with respect to the first track. With a second track installed in parallel,
前記アブソリュート値出力部は、前記第1トラックを読み取って第1アブソリュート値を出力する第1アブソリュート値出力部と、前記第2トラックを読み取って第2アブソリュート値を出力する第2アブソリュート値出力部と、を備え、The absolute value output unit includes a first absolute value output unit that reads the first track and outputs the first absolute value, and a second absolute value output unit that reads the second track and outputs the second absolute value. , Equipped with
前記基準インクリメント開始時点は、前記第1アブソリュート値出力部が新たな前記アブソリュート値を出力する第1アブソリュート値出力時点から前記第1ピッチの1/4ピッチだけ前記磁気スケールと前記磁気センサ装置とが相対移動した時点であり、At the start time of the reference increment, the magnetic scale and the magnetic sensor device are set by 1/4 pitch of the first pitch from the time of the first absolute value output in which the first absolute value output unit outputs a new absolute value. At the time of relative movement,
前記算出部は、前記補正インクリメンタル信号が0となる時点から当該補正インクリメンタル信号がゼロと前記最大値の中央の中央値に達するまでは前記絶対位置の算出に前記第1アブソリュート値を用い、前記補正インクリメンタル信号が前記中央値となった時点から前記補正インクリメンタル信号が前記最大値に達するまでは前記絶対位置の算出に前記第2アブソリュート値を用い、The calculation unit uses the first absolute value to calculate the absolute position from the time when the correction incremental signal becomes 0 until the correction incremental signal reaches the median center of zero and the maximum value, and the correction is performed. From the time when the incremental signal reaches the median to the time when the corrected incremental signal reaches the maximum value, the second absolute value is used to calculate the absolute position.
前記インクリメンタル信号補正部は、前記第1アブソリュート値と前記第2アブソリュート値とが異なる値から同一の値に変化した第3時点の前記インクリメンタル信号の第3値、および、前記第3時点の次に前記第1アブソリュート値と前記第2アブソリュート値とが異なる値に戻る第4時点の前記インクリメンタル信号の第4値に基づいて、前記ずれ量を取得することを特徴とする位置検出装置。The incremental signal correction unit is a third value of the incremental signal at a third time point in which the first absolute value and the second absolute value change from different values to the same value, and next to the third time point. A position detecting device characterized in that the deviation amount is acquired based on the fourth value of the incremental signal at a fourth time point in which the first absolute value and the second absolute value return to different values.
前記インクリメンタルトラックは、前記相対移動方向でN極とS極とを前記第2ピッチで交互に着磁したインクリメンタルパターンを備えることを特徴とする請求項1または2に記載の位置検出装置。 The position detecting device according to claim 1 or 2 , wherein the incremental track includes an incremental pattern in which N poles and S poles are alternately magnetized at the second pitch in the relative moving direction. 着磁領域と無着磁領域とが第1ピッチで配列されたアブソリュートパターンを有するアブソリュートトラック、および、着磁領域と無着磁領域とが交互に配列されたインクリメ
ンタルパターンを有し前記アブソリュートトラックと並列に設けられたインクリメンタルトラックを備える磁気スケールと、相対移動する前記磁気スケールの前記アブソリュートトラックを読み取ってアブソリュート値を出力するアブソリュート値出力部、および、相対移動する前記磁気スケールの前記インクリメンタルトラックを読み取ってゼロから所定の最大値まで変化する周期的なインクリメンタル信号を出力するインクリメンタル信号出力部備える磁気センサ装置と、を有し、前記アブソリュート値および前記インクリメンタル信号に基づいて絶対位置を算出する位置検出装置の位置検出方法において、
前記インクリメンタル信号がインクリメントを開始するインクリメント開始時点を、基準インクリメント開始時点として、設定しておき、
前記基準インクリメント開始時点に対して実際の前記インクリメンタル信号のインクリメント開始時点がずれているずれ量を取得し、
前記ずれ量に基づいて前記インクリメンタル信号の位相のずれを補正した補正インクリメンタル信号を生成し、
前記絶対位置の算出に前記補正インクリメンタル信号を用い
予め、前記アブソリュートトラックとして、前記アブソリュートパターンを有する第1トラックと、前記第1トラックに対して相対移動方向で前記第1ピッチの半分の第2ピッチずれた前記アブソリュートパターンを有し、前記第1トラックと並列に設けられた第2トラックと、を備えるとともに、前記アブソリュート値出力部として、前記第1トラックを読み取って第1アブソリュート値を出力する第1アブソリュート値出力部と、前記第2トラックを読み取って第2アブソリュート値を出力する第2アブソリュート値出力部と、を備えておき、
前記基準インクリメント開始時点を、前記第1アブソリュート値出力部が新たな前記アブソリュート値を出力する第1アブソリュート値出力時点から前記第1ピッチの1/4ピッチだけ前記磁気スケールと前記磁気センサ装置とが相対移動した時点に設定し、
前記絶対位置の算出に、前記補正インクリメンタル信号が0となる時点から当該補正インクリメンタル信号がゼロと前記最大値の中央の中央値に達するまでは前記絶対位置の算出に前記第1アブソリュート値を用い、前記補正インクリメンタル信号が前記中央値となった時点から前記補正インクリメンタル信号が前記最大値に達するまでは前記絶対位置の算出に前記第2アブソリュート値を用い、
前記第1アブソリュート値と前記第2アブソリュート値とが同一の値から異なる値に変化した第1時点の前記インクリメンタル信号の第1値、および、前記第1時点の次に前記第1アブソリュート値と前記第2アブソリュート値とが同一の値に戻る第2時点の前記インクリメンタル信号の第2値に基づいて、前記ずれ量を取得することを特徴とする位置検出方法。
The absolute track having an absolute pattern in which the magnetized region and the non-magnetized region are arranged at the first pitch, and the absolute track having an incremental pattern in which the magnetized region and the non-magnetized region are alternately arranged. A magnetic scale having an incremental track provided in parallel, an absolute value output unit that reads the absolute track of the magnetic scale that moves relative to each other and outputs an absolute value, and an incremental track of the magnetic scale that moves relative to each other are read. A magnetic sensor device including an incremental signal output unit that outputs a periodic incremental signal that changes from zero to a predetermined maximum value, and a position detection device that calculates an absolute position based on the absolute value and the incremental signal. In the position detection method of
The increment start time point at which the incremental signal starts incrementing is set as the reference increment start time point.
The amount of deviation that the actual increment start time of the incremental signal deviates from the reference increment start time is acquired.
A corrected incremental signal that corrects the phase shift of the incremental signal based on the shift amount is generated.
Using the correction incremental signal to calculate the absolute position ,
As the absolute track, the first track having the absolute pattern and the absolute pattern having the second pitch deviated by half of the first pitch in the relative movement direction with respect to the first track are provided in advance. A second track provided in parallel with the track is provided, and as the absolute value output unit, a first absolute value output unit that reads the first track and outputs the first absolute value and the second track are provided. A second absolute value output unit that reads and outputs the second absolute value is provided.
At the start time of the reference increment, the magnetic scale and the magnetic sensor device perform one-fourth pitch of the first pitch from the first absolute value output time point at which the first absolute value output unit outputs a new absolute value. Set at the time of relative movement,
In the calculation of the absolute position, the first absolute value is used in the calculation of the absolute position from the time when the correction incremental signal becomes 0 until the correction incremental signal reaches the median of zero and the center of the maximum value. From the time when the corrected incremental signal reaches the median to the time when the corrected incremental signal reaches the maximum value, the second absolute value is used to calculate the absolute position.
The first value of the incremental signal at the first time point in which the first absolute value and the second absolute value change from the same value to different values, and the first absolute value and the above after the first time point. A position detection method comprising acquiring the deviation amount based on the second value of the incremental signal at a second time point in which the second absolute value returns to the same value .
着磁領域と無着磁領域とが第1ピッチで配列されたアブソリュートパターンを有するアブソリュートトラック、および、着磁領域と無着磁領域とが交互に配列されたインクリメンタルパターンを有し前記アブソリュートトラックと並列に設けられたインクリメンタルトラックを備える磁気スケールと、相対移動する前記磁気スケールの前記アブソリュートトラックを読み取ってアブソリュート値を出力するアブソリュート値出力部、および、相対移動する前記磁気スケールの前記インクリメンタルトラックを読み取ってゼロから所定の最大値まで変化する周期的なインクリメンタル信号を出力するインクリメンタル信号出力部備える磁気センサ装置と、を有し、前記アブソリュート値および前記インクリメンタル信号に基づいて絶対位置を算出する位置検出装置の位置検出方法において、
前記インクリメンタル信号がインクリメントを開始するインクリメント開始時点を、基準インクリメント開始時点として、設定しておき、
前記基準インクリメント開始時点に対して実際の前記インクリメンタル信号のインクリメント開始時点がずれているずれ量を取得し、
前記ずれ量に基づいて前記インクリメンタル信号の位相のずれを補正した補正インクリメンタル信号を生成し、
前記絶対位置の算出に前記補正インクリメンタル信号を用い、
予め、前記アブソリュートトラックとして、前記アブソリュートパターンを有する第1トラックと、前記第1トラックに対して相対移動方向で前記第1ピッチの半分の第2ピッチずれた前記アブソリュートパターンを有し、前記第1トラックと並列に設けられた第2トラックと、を備えるとともに、前記アブソリュート値出力部として、前記第1トラックを読み取って第1アブソリュート値を出力する第1アブソリュート値出力部と、前記第2トラックを読み取って第2アブソリュート値を出力する第2アブソリュート値出力部と、を備えておき、
前記基準インクリメント開始時点を、前記第1アブソリュート値出力部が新たな前記アブソリュート値を出力する第1アブソリュート値出力時点から前記第1ピッチの1/4ピッチだけ前記磁気スケールと前記磁気センサ装置とが相対移動した時点に設定し、
前記絶対位置の算出に、前記補正インクリメンタル信号が0となる時点から当該補正インクリメンタル信号がゼロと前記最大値の中央の中央値に達するまでは前記絶対位置の算出に前記第1アブソリュート値を用い、前記補正インクリメンタル信号が前記中央値となった時点から前記補正インクリメンタル信号が前記最大値に達するまでは前記絶対位置の算出に前記第2アブソリュート値を用い
前記第1アブソリュート値と前記第2アブソリュート値とが異なる値から同一の値に変化した第3時点の前記インクリメンタル信号の第3値、および、前記第3時点の次に前記第1アブソリュート値と前記第2アブソリュート値とが異なる値に戻る第4時点の前記インクリメンタル信号の第4値に基づいて、前記ずれ量を取得することを特徴とする位置検出方法。
The absolute track having an absolute pattern in which the magnetized region and the non-magnetized region are arranged at the first pitch, and the absolute track having an incremental pattern in which the magnetized region and the non-magnetized region are alternately arranged. A magnetic scale having an incremental track provided in parallel, an absolute value output unit that reads the absolute track of the magnetic scale that moves relative to each other and outputs an absolute value, and an incremental track of the magnetic scale that moves relative to each other are read. A magnetic sensor device including an incremental signal output unit that outputs a periodic incremental signal that changes from zero to a predetermined maximum value, and a position detection device that calculates an absolute position based on the absolute value and the incremental signal. In the position detection method of
The increment start time point at which the incremental signal starts incrementing is set as the reference increment start time point.
The amount of deviation that the actual increment start time of the incremental signal deviates from the reference increment start time is acquired.
A corrected incremental signal that corrects the phase shift of the incremental signal based on the shift amount is generated.
Using the correction incremental signal to calculate the absolute position,
As the absolute track, the first track having the absolute pattern and the absolute pattern having the second pitch deviated by half of the first pitch in the relative movement direction with respect to the first track are provided in advance. A second track provided in parallel with the track is provided, and as the absolute value output unit, a first absolute value output unit that reads the first track and outputs the first absolute value and the second track are provided. A second absolute value output unit that reads and outputs the second absolute value is provided.
At the start time of the reference increment, the magnetic scale and the magnetic sensor device perform one-fourth pitch of the first pitch from the first absolute value output time point at which the first absolute value output unit outputs a new absolute value. Set at the time of relative movement,
In the calculation of the absolute position, the first absolute value is used in the calculation of the absolute position from the time when the correction incremental signal becomes 0 until the correction incremental signal reaches the median of zero and the center of the maximum value. From the time when the corrected incremental signal reaches the median to the time when the corrected incremental signal reaches the maximum value, the second absolute value is used to calculate the absolute position .
The third value of the incremental signal at the third time point in which the first absolute value and the second absolute value change from different values to the same value, and the first absolute value and the above after the third time point. A position detection method comprising acquiring the deviation amount based on the fourth value of the incremental signal at a fourth time point in which the value returns to a value different from the second absolute value.
前記インクリメンタルトラックに、前記相対移動方向でN極とS極とを前記第2ピッチで交互に着磁したインクリメンタルパターンを備えることを特徴とする請求項4または5に記載の位置検出方法。

The position detection method according to claim 4 or 5 , wherein the incremental track is provided with an incremental pattern in which N poles and S poles are alternately magnetized at the second pitch in the relative moving direction.

JP2018020136A 2018-02-07 2018-02-07 Position detection device and position detection method Active JP7085852B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2018020136A JP7085852B2 (en) 2018-02-07 2018-02-07 Position detection device and position detection method
CN201910083033.XA CN110118552B (en) 2018-02-07 2019-01-28 Position detection device and position detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018020136A JP7085852B2 (en) 2018-02-07 2018-02-07 Position detection device and position detection method

Publications (2)

Publication Number Publication Date
JP2019138694A JP2019138694A (en) 2019-08-22
JP7085852B2 true JP7085852B2 (en) 2022-06-17

Family

ID=67520372

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018020136A Active JP7085852B2 (en) 2018-02-07 2018-02-07 Position detection device and position detection method

Country Status (2)

Country Link
JP (1) JP7085852B2 (en)
CN (1) CN110118552B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022111613A (en) * 2021-01-20 2022-08-01 日本電産サンキョー株式会社 Position detection device
JP2022118763A (en) * 2021-02-03 2022-08-16 日本電産サンキョー株式会社 Position detecting device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5168275B2 (en) 2007-05-07 2013-03-21 旭硝子株式会社 Manufacturing method of rigid foam synthetic resin
JP2014134493A (en) 2013-01-11 2014-07-24 Canon Inc Position control device and position control method
JP2015114209A (en) 2013-12-12 2015-06-22 セイコーエプソン株式会社 Encoder and electric machinery
JP2016183897A (en) 2015-03-26 2016-10-20 三菱重工工作機械株式会社 Electromagnetic induction type position detector and position detection method by using the same
JP6479619B2 (en) 2015-09-30 2019-03-06 株式会社東芝 Impedance measurement circuit

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2571394B2 (en) * 1987-09-21 1997-01-16 株式会社マコメ研究所 Absolute value type magnetic scale device
JPH0353114A (en) * 1989-07-21 1991-03-07 Sony Magnescale Inc Position detector
JPH05168275A (en) * 1991-12-10 1993-07-02 Nikon Corp Controller for three-phase motor
JP2004150882A (en) * 2002-10-29 2004-05-27 Koyo Seiko Co Ltd Rotation angle detector, and torque detector
FR2935486B1 (en) * 2008-08-28 2010-09-10 Roulements Soc Nouvelle MAGNETIC ENCODING DEVICE
JP2016038294A (en) * 2014-08-07 2016-03-22 日本電産サンキョー株式会社 Magnetic linear encoder
JP6649018B2 (en) * 2015-09-16 2020-02-19 日本電産サンキョー株式会社 Rotary encoder and method for detecting absolute angular position of rotary encoder

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5168275B2 (en) 2007-05-07 2013-03-21 旭硝子株式会社 Manufacturing method of rigid foam synthetic resin
JP2014134493A (en) 2013-01-11 2014-07-24 Canon Inc Position control device and position control method
JP2015114209A (en) 2013-12-12 2015-06-22 セイコーエプソン株式会社 Encoder and electric machinery
JP2016183897A (en) 2015-03-26 2016-10-20 三菱重工工作機械株式会社 Electromagnetic induction type position detector and position detection method by using the same
JP6479619B2 (en) 2015-09-30 2019-03-06 株式会社東芝 Impedance measurement circuit

Also Published As

Publication number Publication date
CN110118552B (en) 2023-06-16
JP2019138694A (en) 2019-08-22
CN110118552A (en) 2019-08-13

Similar Documents

Publication Publication Date Title
EP3469383B1 (en) Magnetic field sensor having error correction
JP6072234B2 (en) Magnetic position detecting device and magnetic position detecting method
EP0689035A1 (en) Angular position detection apparatus
US20100141244A1 (en) Anordnung und verfahren zur absolutbestimmung der linearposition oder der durch einen winkel ausgedruckten drehposition
JP6928782B2 (en) Magnetic position detector
CN110030924B (en) Position measuring device
JP7085852B2 (en) Position detection device and position detection method
KR20190013913A (en) Arrangements for magnetic field sensors to cancel offset changes
US10309805B2 (en) Absolute measuring length measuring system and method for its operation
TWI601939B (en) Absolute position detecting device and method
WO2017094828A1 (en) Position detection device
KR102550704B1 (en) absolute value encoder
JP7085851B2 (en) Position detection device and position detection method
CN109708673B (en) Separating magnetic encoder based on code pattern
JP2007192722A (en) Position detector
CN114667438B (en) Position measuring device
CN114812625B (en) Position detecting device
CN108291821B (en) Position detecting device
CN110567353B (en) Magnetic encoder
JP2022118763A (en) Position detecting device
JP2016217782A (en) Position detection device
CN116336923A (en) Displacement sensor for measuring length by utilizing multiple Hall sensor chips
JP2016217783A (en) Position detection device
JP2021071334A (en) Magnetic position detecting device
Argeseanu et al. A new algorithm and device for absolute linear encoders dedicated to long distance applications

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210113

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20211020

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20211109

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220105

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20220517

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220607

R150 Certificate of patent or registration of utility model

Ref document number: 7085852

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150