JP7064966B2 - Magnetic encoder - Google Patents

Magnetic encoder Download PDF

Info

Publication number
JP7064966B2
JP7064966B2 JP2018107423A JP2018107423A JP7064966B2 JP 7064966 B2 JP7064966 B2 JP 7064966B2 JP 2018107423 A JP2018107423 A JP 2018107423A JP 2018107423 A JP2018107423 A JP 2018107423A JP 7064966 B2 JP7064966 B2 JP 7064966B2
Authority
JP
Japan
Prior art keywords
magnetic
pattern
magnetizing
pole
origin
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
JP2018107423A
Other languages
Japanese (ja)
Other versions
JP2019211327A (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 JP2018107423A priority Critical patent/JP7064966B2/en
Priority to CN201910460946.9A priority patent/CN110567353B/en
Publication of JP2019211327A publication Critical patent/JP2019211327A/en
Application granted granted Critical
Publication of JP7064966B2 publication Critical patent/JP7064966B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B7/00Measuring arrangements characterised by the use of electric or magnetic techniques
    • G01B7/003Measuring arrangements characterised by the use of electric or magnetic techniques for measuring position, not involving coordinate determination
    • 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/125Mechanical 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 characterised by a first part whose movement represents the measuring value, and by a second part which is moved by an external force in order to follow the movement of the first part

Landscapes

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

Description

本発明は、磁気スケールの原点を検出可能な磁気式エンコーダに関する。 The present invention relates to a magnetic encoder capable of detecting the origin of a magnetic scale.

磁気式エンコーダは特許文献1、2に記載されている。特許文献1の磁気式エンコーダは、磁気スケールと、磁気スケールの移動を検出する磁気センサと、を有する。磁気スケールは、磁気スケールと磁気センサとの相対移動方向に延びる第1磁気トラックと、相対移動方向と直交する直交方向で第1磁気トラックに接して第1磁気トラックと平行に延びる第2磁気トラックと、直交方向で第2磁気トラックに接して第2磁気トラックと平行に延びる第3磁気トラックとを備える。磁気センサは、感磁方向を相対移動方向に向けて第1磁気トラックと第2磁気トラックとの境界に対向する第1磁気抵抗パターンと、感磁方向を相対移動方向に向けて第2磁気トラックと第3磁気トラックとの境界に対向する第2磁気抵抗パターンとを備える。磁気センサは、第1磁気抵抗パターンからの信号と第2磁気抵抗パターンからの信号に基づいて、磁気スケールの移動を検出する。第1磁気抵抗パターンおよび第2磁気抵抗パターンは、磁気スケールの表面で面内方向の向きが変化する回転磁界を検出する。 Magnetic encoders are described in Patent Documents 1 and 2. The magnetic encoder of Patent Document 1 includes a magnetic scale and a magnetic sensor that detects the movement of the magnetic scale. The magnetic scale consists of a first magnetic track extending in the relative movement direction between the magnetic scale and the magnetic sensor, and a second magnetic track extending in parallel with the first magnetic track in contact with the first magnetic track in a direction orthogonal to the relative movement direction. And a third magnetic track extending in parallel with the second magnetic track in contact with the second magnetic track in the orthogonal direction. The magnetic sensor has a first magnetoresistive pattern facing the boundary between the first magnetic track and the second magnetic track with the magnetic sensitivity direction facing the relative movement direction, and a second magnetic track with the magnetic sensitivity direction facing the relative movement direction. A second magnetic resistance pattern facing the boundary between the magnetic track and the third magnetic track is provided. The magnetic sensor detects the movement of the magnetic scale based on the signal from the first magnetoresistance pattern and the signal from the second magnetoresistive pattern. The first reluctance pattern and the second reluctance pattern detect a rotating magnetic field whose in-plane orientation changes on the surface of the magnetic scale.

特許文献2に記載の磁気式エンコーダは、円環状の磁気スケールと、磁気スケールの回転を検出する磁気センサと、を有する。磁気スケールは、磁気スケールと磁気センサとの相対移動方向である円周方向で交互に異なる磁極が着磁された磁気トラックを備える。また、磁気スケールは、予め設定した原点でN極またはS極に着磁された着磁部分を備える。磁気センサは、磁気トラックに対向する第1センサ素子と、着磁パターンに対向可能な第2センサ素子と、を備える。磁気センサは、第1センサ素子からの信号に基づいて磁気スケールの回転を検出する。また、磁気センサは、第2センサ素子からの信号に基づいて、磁気スケールの原点を検出する。第2センサ素子は、磁気スケールに設けられた着磁部分の強弱磁界を検出する。 The magnetic encoder described in Patent Document 2 includes an annular magnetic scale and a magnetic sensor that detects rotation of the magnetic scale. The magnetic scale includes magnetic tracks in which different magnetic poles are magnetized alternately in the circumferential direction, which is the relative moving direction between the magnetic scale and the magnetic sensor. Further, the magnetic scale includes a magnetized portion magnetized to the N pole or the S pole at a preset origin. The magnetic sensor includes a first sensor element facing the magnetic track and a second sensor element capable of facing the magnetizing pattern. The magnetic sensor detects the rotation of the magnetic scale based on the signal from the first sensor element. Further, the magnetic sensor detects the origin of the magnetic scale based on the signal from the second sensor element. The second sensor element detects the strong and weak magnetic fields of the magnetized portion provided on the magnetic scale.

特開2007-271608号公報Japanese Unexamined Patent Publication No. 2007-271608 特開2007-198847号公報Japanese Unexamined Patent Publication No. 2007-198847

特許文献1の磁気式エンコーダにおいても、磁気スケールに設定した原点を検出することが考えられる。しかし、磁気スケールの原点に着磁部分を設け、磁気センサによって着磁部分の強弱磁界を検出して原点を検出する場合には、外部磁界により、原点の検出精度が低下するという問題がある。すなわち、磁気式エンコーダに外部磁界が印加されると、磁気抵抗素子からの信号の振幅が変動してしまい、磁気抵抗素子からの信号に基づいて原点を正確に検出できない場合が発生する。 Even in the magnetic encoder of Patent Document 1, it is conceivable to detect the origin set in the magnetic scale. However, when a magnetized portion is provided at the origin of the magnetic scale and the strong and weak magnetic fields of the magnetized portion are detected by a magnetic sensor to detect the origin, there is a problem that the detection accuracy of the origin is lowered by the external magnetic field. That is, when an external magnetic field is applied to the magnetic encoder, the amplitude of the signal from the magnetoresistive element fluctuates, and the origin may not be accurately detected based on the signal from the magnetoresistive element.

以上の問題点に鑑みて、本発明の課題は、外部磁界が印加された場合でも磁気スケールの原点を精度よく検出できる磁気式エンコーダを提供することにある。 In view of the above problems, an object of the present invention is to provide a magnetic encoder capable of accurately detecting the origin of a magnetic scale even when an external magnetic field is applied.

上記課題を解決するために、本発明の磁気式エンコーダは、磁気スケールと、前記磁気スケールの移動を検出する磁気センサと、を有し、前記磁気スケールは、前記磁気スケー
ルと前記磁気センサとの相対移動方向において予め定めた原点を境にN極とS極とが並ぶ第1着磁パターンと、前記相対移動方向と直交する直交方向で前記第1着磁パターンの隣に接して設けられ、前記相対移動方向で前記原点を境にS極とN極とが並び、前記直交方向において前記第1着磁パターンのN極の隣にS極が位置し、前記第1着磁パターンのS極の隣にN極が位置する第2着磁パターンと、を備え、前記磁気センサは、前記磁気スケールの原点を検出するための原点検出用の磁気抵抗素子を備え、前記原点検出用の磁気抵抗素子は、前記相対移動方向に感磁方向を向け、前記第1着磁パターンと前記第2着磁パターンとの境界を跨いで前記磁気スケールに対向することを特徴とする。
In order to solve the above problems, the magnetic encoder of the present invention includes a magnetic scale and a magnetic sensor for detecting the movement of the magnetic scale, and the magnetic scale includes the magnetic scale and the magnetic sensor. The first magnetizing pattern in which the N pole and the S pole are lined up with a predetermined origin as a boundary in the relative movement direction and the first magnetizing pattern adjacent to the first magnetizing pattern in the orthogonal direction orthogonal to the relative movement direction are provided. The S pole and the N pole are lined up with the origin as a boundary in the relative movement direction, and the S pole is located next to the N pole of the first magnetism pattern in the orthogonal direction, and the S pole of the first magnetism pattern is located. The magnetic sensor includes a magnetic resistance element for detecting the origin for detecting the origin of the magnetic scale, and the magnetic resistance for detecting the origin. The element is characterized in that the magnetic sensing direction is directed in the relative movement direction and faces the magnetic scale across the boundary between the first magnetizing pattern and the second magnetizing pattern.

本発明によれば、磁気スケールに設定した原点の周囲に設けられた第1着磁パターンおよび第2着磁パターンにより、磁気スケールの表面には面内方向の向きが変化する回転磁界が発生する。また、磁気センサが備える原点検出用の磁気抵抗素子は、第1着磁パターンと第2着磁パターンとの境界を跨いで磁気スケールに対向するので、回転磁界を検出できる。ここで、回転磁界を検出すれば、強弱磁界を検出する場合と比較して、外部磁界による影響を抑制できる。従って、磁気式エンコーダに外部磁界が印加された場合でも、原点を検出しやすい。 According to the present invention, a rotating magnetic field whose in-plane direction changes is generated on the surface of the magnetic scale by the first magnetizing pattern and the second magnetizing pattern provided around the origin set on the magnetic scale. .. Further, since the magnetoresistive element for detecting the origin of the magnetic sensor faces the magnetic scale across the boundary between the first magnetizing pattern and the second magnetizing pattern, the rotating magnetic field can be detected. Here, if the rotating magnetic field is detected, the influence of the external magnetic field can be suppressed as compared with the case where the strong and weak magnetic fields are detected. Therefore, even when an external magnetic field is applied to the magnetic encoder, it is easy to detect the origin.

本発明において、前記磁気スケールは、前記相対移動方向に沿ってN極とS極とが交互に複数配列された第1磁気トラックを有し、前記第1磁気トラックは、前記直交方向で前記第1着磁パターンの前記第2着磁パターンとは反対側に、前記第1着磁パターンと隙間を開けて設けられており、前記第1着磁パターンのN極の着磁領域は、前記相対移動方向で前記原点の一方側に位置し、前記相対移動方向を前記原点から前記第1磁気トラックの前記一方側の端まで延びており、前記第1着磁パターンのS極の着磁領域は、前記相対移動方向で前記原点の他方側に位置し、前記相対移動方向を前記原点から前記第1磁気トラックの前記他方側の端まで延びており、前記第2着磁パターンのS極の着磁領域は、前記相対移動方向で前記原点の一方側に位置し、前記相対移動方向を前記原点から前記第1磁気トラックの前記一方側の端まで延びており、前記第2着磁パターンのN極の着磁領域は、前記相対移動方向で前記原点の他方側に位置し、前記相対移動方向を前記原点から前記第1磁気トラックの前記他方側の端まで延びていることを特徴とする。 In the present invention, the magnetic scale has a first magnetic track in which a plurality of N poles and S poles are alternately arranged along the relative movement direction, and the first magnetic track is the first magnetic track in the orthogonal direction. The first magnetizing pattern is provided on the opposite side of the second magnetizing pattern with a gap from the first magnetizing pattern, and the N-pole magnetizing region of the first magnetizing pattern is relative to the first magnetizing pattern. It is located on one side of the origin in the movement direction, extends the relative movement direction from the origin to the one end of the first magnetic track, and the magnetized region of the S pole of the first magnetizing pattern is , Located on the other side of the origin in the relative movement direction, extending the relative movement direction from the origin to the other end of the first magnetic track, and landing the S pole of the second magnetizing pattern. The magnetic region is located on one side of the origin in the relative movement direction, extends the relative movement direction from the origin to the one end of the first magnetic track, and is N of the second magnetic pattern. The magnetized region of the pole is located on the other side of the origin in the relative movement direction, and is characterized in that the relative movement direction extends from the origin to the other end of the first magnetic track.

このようにすれば、第1磁気トラックの磁界を検出することにより、スケールの移動を検出できる。また、第1着磁パターンおよび第2着磁パターンは、相対移動方向で第1磁気トラックの全長に渡って設けられている。従って、第1磁気トラックの磁界の検出によりスケールの移動を検出する間に、第1着磁パターンおよび第2着磁パターンに起因する強弱磁界が発生することを防止できる。よって、磁気抵抗パターンからの信号に強弱磁界に起因する信号が含まれて、原点の検出精度が低下することを防止できる。すなわち、第1着磁パターンが第1磁気トラックよりも短い場合には、相対移動方向において第1着磁パターンの隣に無着磁領域が設けられる。この結果、第1着磁パターンと無着磁領域との境界で強弱磁界が発生するので、磁気抵抗パターンからの信号に強弱磁界に起因する成分が含まれて、歪みが発生する。同様に、第2着磁パターンが第1磁気トラックよりも短い場合には、相対移動方向において第2着磁パターンの隣に無着磁領域が設けられる。この結果、第2着磁パターンと無着磁領域との境界で強弱磁界が発生するので、磁気抵抗パターンからの信号に強弱磁界に起因する成分が含まれて、歪みが発生する。これに対して、第1着磁パターンを第1磁気トラックの全長に渡って設ければ、相対移動方向で第1着磁パターンの隣に無着磁領域が形成されないので、強弱磁界が発生しない。同様に、第2着磁パターンを第1磁気トラックの全長に渡って設ければ、相対移動方向で第2着磁パターンの隣に無着磁領域が形成されないので、強弱磁界が発生しない。これにより、磁気抵抗パターンからの信号に強弱磁界に起因する成分が含まれることはなく、磁気抵抗パターンからの信号に歪みが発生することがない。よって、原点の検出精度が低下することを防止できる。 By doing so, the movement of the scale can be detected by detecting the magnetic field of the first magnetic track. Further, the first magnetizing pattern and the second magnetizing pattern are provided over the entire length of the first magnetic track in the relative moving direction. Therefore, it is possible to prevent the generation of strong and weak magnetic fields due to the first magnetizing pattern and the second magnetizing pattern while detecting the movement of the scale by detecting the magnetic field of the first magnetic track. Therefore, it is possible to prevent the signal from the magnetoresistance pattern from including a signal caused by a strong and weak magnetic field and deteriorating the detection accuracy of the origin. That is, when the first magnetizing pattern is shorter than the first magnetic track, a non-magnetizing region is provided next to the first magnetizing pattern in the relative moving direction. As a result, a strong and weak magnetic field is generated at the boundary between the first magnetized pattern and the non-magnetized region, so that the signal from the magnetoresistance pattern contains a component due to the strong and weak magnetic field, and distortion occurs. Similarly, when the second magnetized pattern is shorter than the first magnetic track, a non-magnetized region is provided next to the second magnetized pattern in the relative moving direction. As a result, a strong and weak magnetic field is generated at the boundary between the second magnetized pattern and the non-magnetized region, so that the signal from the magnetoresistance pattern contains a component due to the strong and weak magnetic field, and distortion occurs. On the other hand, if the first magnetizing pattern is provided over the entire length of the first magnetic track, a non-magnetized region is not formed next to the first magnetizing pattern in the relative movement direction, so that a strong and weak magnetic field is not generated. .. Similarly, if the second magnetizing pattern is provided over the entire length of the first magnetic track, a non-magnetized region is not formed next to the second magnetizing pattern in the relative moving direction, so that a strong and weak magnetic field is not generated. As a result, the signal from the magnetoresistance pattern does not contain components due to the strong and weak magnetic fields, and the signal from the magnetoresistance pattern is not distorted. Therefore, it is possible to prevent the origin detection accuracy from being lowered.

ここで、第1着磁パターンや第2着磁パターンの相対移動方向の端に強弱磁界が発生する場合には、第1着磁パターンや第2着磁パターンの着磁を強くすると、強弱磁界が大きくなる。この結果、磁気抵抗パターンからの信号に、強弱磁界に起因する成分が含まれやすなり、信号の歪みが増大する。よって、強弱磁界が発生する場合には、第1着磁パターンや第2着磁パターンの着磁を強くて、これらの残留磁束密度を高めることが困難である。これに対して、第1着磁パターンおよび第2着磁パターンは第1磁気トラックの全長に渡って設ければ、第1着磁パターンおよび第2着磁パターンの相対移動方向の端で強弱磁界が発生しない。従って、第1着磁パターンや第2着磁パターンの着磁を強くした場合でも、磁気抵抗パターンからの信号に歪みが発生することはない。よって、第1着磁パターンおよび第2着磁パターンの着磁を比較的強くて残留磁束密度を高めることができる。ここで、第1着磁パターンおよび第2着磁パターンの残留磁束密度が高ければ、磁気抵抗パターンからの信号の振幅を比較的大きくすることができる。従って、磁気スケールと磁気センサとのギャップが増大した場合でも、磁気抵抗パターンからの信号の振幅が小さくなることを抑制できる。よって、磁気スケールと磁気センサとのギャップの変動に拘わらず磁気抵抗パターンからの信号に基づいて原点を検出しやすくなる。 Here, when a strong and weak magnetic field is generated at the end of the first magnetizing pattern and the second magnetizing pattern in the relative moving direction, if the magnetizing of the first magnetizing pattern and the second magnetizing pattern is strengthened, the strong and weak magnetic fields are generated. Becomes larger. As a result, the signal from the magnetoresistance pattern tends to contain components due to the strong and weak magnetic fields, and the distortion of the signal increases. Therefore, when a strong and weak magnetic field is generated, it is difficult to increase the magnetism of the first magnetizing pattern and the second magnetizing pattern to increase the residual magnetic flux density. On the other hand, if the first magnetizing pattern and the second magnetizing pattern are provided over the entire length of the first magnetic track, a strong and weak magnetic field is provided at the end of the first magnetizing pattern and the second magnetizing pattern in the relative moving direction. Does not occur. Therefore, even when the magnetism of the first magnetizing pattern or the second magnetizing pattern is strengthened, the signal from the magnetoresistance pattern is not distorted. Therefore, the magnetism of the first magnetizing pattern and the second magnetizing pattern can be relatively strong to increase the residual magnetic flux density. Here, if the residual magnetic flux densities of the first magnetizing pattern and the second magnetizing pattern are high, the amplitude of the signal from the magnetoresistance pattern can be relatively large. Therefore, even when the gap between the magnetic scale and the magnetic sensor is increased, it is possible to suppress the amplitude of the signal from the magnetoresistance pattern from becoming small. Therefore, the origin can be easily detected based on the signal from the magnetoresistance pattern regardless of the fluctuation of the gap between the magnetic scale and the magnetic sensor.

本発明において、磁気スケールをリニアスケールとする場合には、前記第1磁気トラックは、直線状に延びており、前記第1着磁パターンのN極の着磁領域では、残留磁束密度は一定であり、前記第1着磁パターンのS極の着磁領域では、残留磁束密度は一定であり、前記第2着磁パターンのS極の着磁領域では、残留磁束密度は一定であり、前記第2着磁パターンのN極の着磁領域では、残留磁束密度は一定であるものとすることができる。 In the present invention, when the magnetic scale is a linear scale, the first magnetic track extends linearly, and the residual magnetic flux density is constant in the N-pole magnetizing region of the first magnetizing pattern. Yes, the residual magnetic flux density is constant in the magnetizing region of the S pole of the first magnetizing pattern, and the residual magnetic flux density is constant in the magnetizing region of the S pole of the second magnetizing pattern. In the magnetized region of the N pole of the two magnetizing patterns, the residual magnetic flux density can be assumed to be constant.

本発明において、前記第1着磁パターンのN極の着磁領域では、前記原点から前記相対移動方向に離れるのに伴って残留磁束密度が低下し、前記第1着磁パターンのS極の着磁領域では、前記原点から前記相対移動方向に離れるのに伴って残留磁束密度が低下し、前記第2着磁パターンのS極の着磁領域では、前記原点から前記相対移動方向に離れるのに伴って残留磁束密度が低下し、前記第2着磁パターンのN極の着磁領域では、前記原点から前記相対移動方向に離れるのに伴って残留磁束密度が低下するものとすることができる。 In the present invention, in the magnetizing region of the N pole of the first magnetizing pattern, the residual magnetic flux density decreases as the distance from the origin moves in the relative movement direction, and the S pole of the first magnetizing pattern is magnetized. In the magnetic region, the residual magnetic flux density decreases as the distance from the origin moves in the relative movement direction, and in the magnetized region of the S pole of the second magnetizing pattern, the magnetic region moves away from the origin in the relative movement direction. Along with this, the residual magnetic flux density can be reduced, and in the magnetized region of the N pole of the second magnetizing pattern, the residual magnetic flux density can be reduced as the distance from the origin is in the relative movement direction.

本発明において、前記第1着磁パターンのN極の着磁領域では、前記相対移動方向の一方側の端で残留磁束密度がゼロであり、前記第1着磁パターンのS極の着磁領域では、前記相対移動方向の他方側の端で残留磁束密度がゼロであり、前記第2着磁パターンのS極の着磁領域では、前記相対移動方向の一方側の端で残留磁束密度がゼロであり、前記第2着磁パターンのN極の着磁領域では、前記相対移動方向の他方側の端で残留磁束密度がゼロであるものとすることができる。 In the present invention, in the magnetizing region of the N pole of the first magnetizing pattern, the residual magnetic flux density is zero at one end in the relative moving direction, and the magnetizing region of the S pole of the first magnetizing pattern. Then, the residual magnetic flux density is zero at the other end in the relative movement direction, and the residual magnetic flux density is zero at the one end in the relative movement direction in the magnetized region of the S pole of the second magnetizing pattern. In the magnetized region of the N pole of the second magnetizing pattern, the residual magnetic flux density can be set to zero at the other end in the relative moving direction.

本発明において、磁気スケールをロータリスケールとする場合には、前記第1磁気トラックは、円環状であり、前記第1着磁パターンのN極の着磁領域の前記相対移動方向の一方側の端と、前記第1着磁パターンのS極の着磁領域の前記相対移動方向の他方側の端とが連続しており、前記第2着磁パターンのS極の着磁領域の前記相対移動方向の一方側の端と、前記第2着磁パターンのN極の着磁領域の前記相対移動方向の他方側の端とが連続しているものとすることができる。 In the present invention, when the magnetic scale is a rotary scale, the first magnetic track is an annular shape, and one end of the magnetized region of the N pole of the first magnetizing pattern in the relative movement direction. And the other end of the magnetizing region of the S pole of the first magnetizing pattern in the relative movement direction are continuous, and the relative moving direction of the magnetizing region of the S pole of the second magnetizing pattern. It can be assumed that one end and the other end in the relative movement direction of the magnetizing region of the N pole of the second magnetizing pattern are continuous.

本発明において、前記第1着磁パターンの前記直交方向の幅と、前記第2着磁パターンの前記直交方向の幅とは同一であることが望ましい。このようにすれば、第1着磁パターンおよび第2着磁パターンにより形成される回転磁界が均一なものとなる。従って、外部磁界が印加される方向に拘わらず、外部磁界が第1着磁パターンおよび第2着磁パターンの表面の回転磁界に及ぼす影響を低減できる。 In the present invention, it is desirable that the width of the first magnetizing pattern in the orthogonal direction and the width of the second magnetizing pattern in the orthogonal direction are the same. By doing so, the rotating magnetic field formed by the first magnetizing pattern and the second magnetizing pattern becomes uniform. Therefore, regardless of the direction in which the external magnetic field is applied, the influence of the external magnetic field on the surface rotating magnetic field of the first magnetizing pattern and the second magnetizing pattern can be reduced.

本発明において、前記磁気スケールは、前記第1磁気トラックの前記第1着磁パターンとは反対側に当該第1磁気トラックと接して設けられ当該第1磁気トラックと平行に延びる第2磁気トラック、および、前記第2磁気トラックの前記第1磁気トラックとは反対側に当該第2磁気トラックと接して設けられ当該第2トラックと平行に延びる第3磁気トラック、を備え、前記第2磁気トラックでは、前記相対移動方向に沿ってS極とN極とが交互に複数配列され、前記直交方向において前記第1磁気トラックのN極の隣にS極が位置し、前記第1磁気トラックのS極の隣にN極が位置し、前記第3磁気トラックでは、前記相対移動方向に沿ってS極とN極とが交互に複数配列され、前記直交方向において前記第2磁気トラックのN極の隣にS極が位置し、前記第2磁気トラックのS極の隣にN極が位置することを特徴とする。このようにすれば、第1磁気トラック、第2磁気トラック、および第3磁気トラックにより、磁気スケールの表面に、磁気スケールの移動を検出するための回転磁界を発生させることができる。 In the present invention, the magnetic scale is provided in contact with the first magnetic track on the side opposite to the first magnetizing pattern of the first magnetic track, and is a second magnetic track extending in parallel with the first magnetic track. Further, the second magnetic track is provided with a third magnetic track provided in contact with the second magnetic track on the opposite side of the second magnetic track from the first magnetic track and extending in parallel with the second magnetic track. A plurality of S poles and N poles are alternately arranged along the relative movement direction, and the S pole is located next to the N pole of the first magnetic track in the orthogonal direction, and the S pole of the first magnetic track is located. The N pole is located next to the N pole, and in the third magnetic track, a plurality of S poles and N poles are alternately arranged along the relative movement direction, and next to the N pole of the second magnetic track in the orthogonal direction. The south pole is located at the center of the second magnetic track, and the north pole is located next to the south pole of the second magnetic track. In this way, the first magnetic track, the second magnetic track, and the third magnetic track can generate a rotating magnetic field on the surface of the magnetic scale for detecting the movement of the magnetic scale.

本発明において、前記磁気センサは、90°の位相差をもって前記磁気スケールの移動を検出するA相の磁気抵抗パターンおよびB相の磁気抵抗パターンを備え、前記A相の磁気抵抗パターンは、180°の位相差を持って前記磁気スケールの移動を検出する+a相の磁気抵抗パターンおよび-a相の磁気抵抗パターンを備え、前記B相の磁気抵抗パターンは、180°の位相差を持って前記磁気スケールの移動を検出する+b相の磁気抵抗パターンおよび-b相の磁気抵抗パターンを備え、前記+a相の磁気抵抗パターンと、前記+b相の磁気抵抗パターンおよび前記-b相の磁気抵抗パターンの一方とは、前記相対移動方向に感磁方向を向け、前記第1磁気トラックと前記第2磁気トラックとの境界を跨いで前記磁気スケールと対向し、前記-a相の磁気抵抗パターンと、前記+b相の磁気抵抗パターンおよび前記-b相の磁気抵抗パターンの他方とは、前記相対移動方向に感磁方向を向け、前記第2磁気トラックと前記第3磁気トラックとの境界を跨いで前記磁気スケールと対向するものとすることができる。このようにすれば、第1磁気トラック、第2磁気トラック、および第3磁気トラックにより磁気スケールの表面に発生している回転磁界を検出して、磁気スケールの移動を検出できる。 In the present invention, the magnetic sensor includes a phase A magnetic resistance pattern and a phase B magnetic resistance pattern that detect the movement of the magnetic scale with a phase difference of 90 °, and the phase A magnetic resistance pattern is 180 °. It has a + a phase magnetic resistance pattern and a −a phase magnetic resistance pattern that detects the movement of the magnetic scale with a phase difference of, and the B phase magnetic resistance pattern has the magnetic resistance of 180 °. It has a + b-phase magnetic resistance pattern and a -b-phase magnetic resistance pattern that detect scale movement, and is one of the + a-phase magnetic resistance pattern, the + b-phase magnetic resistance pattern, and the -b-phase magnetic resistance pattern. Means that the magnetic resistance direction is directed in the relative movement direction, the magnetic scale is opposed to the magnetic scale across the boundary between the first magnetic track and the second magnetic track, and the magnetic resistance pattern of the −a phase and the + b The other of the phase magnetic resistance pattern and the −b phase magnetic resistance pattern is the magnetic scale that directs the magnetic sensitivity direction in the relative movement direction and straddles the boundary between the second magnetic track and the third magnetic track. Can be opposed to. In this way, the rotating magnetic field generated on the surface of the magnetic scale by the first magnetic track, the second magnetic track, and the third magnetic track can be detected, and the movement of the magnetic scale can be detected.

本発明によれば、磁気スケールの表面の回転磁界を検出することにより、磁気スケールの原点を検出できる。回転磁界は、強弱磁界と比較して外部磁界による影響が少ないので、本発明によれば、外部磁界が印加された場合でも原点を検出しやすい。 According to the present invention, the origin of the magnetic scale can be detected by detecting the rotating magnetic field on the surface of the magnetic scale. Since the rotating magnetic field is less affected by the external magnetic field than the strong and weak magnetic fields, according to the present invention, it is easy to detect the origin even when the external magnetic field is applied.

本発明を適用した実施例1の磁気式エンコーダの説明図である。It is explanatory drawing of the magnetic encoder of Example 1 to which this invention was applied. 磁気スケールの磁気トラックと磁気センサのセンサ基板の説明図である。It is explanatory drawing of the magnetic track of a magnetic scale and the sensor board of a magnetic sensor. A相の磁気抵抗パターンの各磁気抵抗パターンが構成する回路図、および、B相の磁気抵抗パターンの各磁気抵抗パターンが構成する回路図である。It is a circuit diagram which each magnetic resistance pattern of the A phase magnetic resistance pattern constitutes, and the circuit diagram which each magnetic resistance pattern of the B phase magnetic resistance pattern constitutes. Z相の磁気抵抗パターンの各磁気抵抗パターンが構成する回路図である。It is a circuit diagram which each magnetic resistance pattern of the magnetic resistance pattern of Z phase constitutes. 実施例1の磁気式エンコーダにより得られる原点信号を示す図である。It is a figure which shows the origin signal obtained by the magnetic encoder of Example 1. FIG. 比較例の磁気式エンコーダの磁気スケールの説明図である。It is explanatory drawing of the magnetic scale of the magnetic encoder of the comparative example. 比較例の磁気式エンコーダにより得られる原点信号を示す図である。It is a figure which shows the origin signal obtained by the magnetic encoder of the comparative example. 本例と比較例とにおいて、印加する外部磁界を増大させた場合の原点信号の振幅の変化を示すグラフである。It is a graph which shows the change of the amplitude of the origin signal when the applied external magnetic field is increased in this example and the comparative example. 変形例1の磁気式エンコーダの磁気スケールの説明図である。It is explanatory drawing of the magnetic scale of the magnetic encoder of the modification 1. FIG. 変形例1の磁気式エンコーダにより得られる原点信号の図である。It is a figure of the origin signal obtained by the magnetic encoder of the modification 1. 実施例2磁気式エンコーダの説明図である。FIG. 2 is an explanatory diagram of a magnetic encoder according to a second embodiment. 実施例3磁気式エンコーダの説明図である。Example 3 It is explanatory drawing of the magnetic encoder.

以下に、図面を参照して、本発明を適用した磁気式エンコーダを説明する。 The magnetic encoder to which the present invention is applied will be described below with reference to the drawings.

(実施例1)
図1は、本発明を適用した磁気式エンコーダの説明図である。図2(a)は磁気スケールの説明図であり、図2(b)は磁気センサのセンサ基板の説明図である。図2(b)ではセンサ基板を磁気スケールの側から見た場合を示す。
(Example 1)
FIG. 1 is an explanatory diagram of a magnetic encoder to which the present invention is applied. FIG. 2A is an explanatory diagram of a magnetic scale, and FIG. 2B is an explanatory diagram of a sensor substrate of a magnetic sensor. FIG. 2B shows a case where the sensor substrate is viewed from the side of the magnetic scale.

本例の磁気式エンコーダ1はリニアエンコーダである。図1に示すように、磁気式エンコーダ1は、直線状に延びる磁気スケール2と、磁気スケール2を読み取る磁気センサ3と、を備える。磁気スケール2は、当該磁気スケール2と磁気センサ3との相対移動方向に延びるインクリメンタル信号用の磁気トラック5を備える。また、磁気スケール2は、相対移動方向と直交する直交方向でインクリメンタル信号用の磁気トラック5の隣に設けられた原点信号用の着磁パターン6を備える。 The magnetic encoder 1 of this example is a linear encoder. As shown in FIG. 1, the magnetic encoder 1 includes a magnetic scale 2 extending linearly and a magnetic sensor 3 for reading the magnetic scale 2. The magnetic scale 2 includes a magnetic track 5 for an incremental signal extending in a relative moving direction between the magnetic scale 2 and the magnetic sensor 3. Further, the magnetic scale 2 includes a magnetizing pattern 6 for an origin signal provided next to a magnetic track 5 for an incremental signal in a direction orthogonal to a relative moving direction.

以下の説明では、相対移動方向との直交方向をX方向、相対移動方向をY方向、X方向およびY方向と直交する方向をZ方向とする。Z方向は、磁気スケール2と磁気センサ3とが対向する方向である。X方向において、原点信号用の着磁パターン6からインクリメンタル信号用の磁気トラック5に向かう方向を+X方向、その反対方向を-X方向とする。Y方向の一方側を+Y方向、他方側を-Y方向とする。Z方向において、磁気スケール2から磁気センサ3に向かう方向を+Z方向、その反対方向を-Z方向とする。 In the following description, the direction orthogonal to the relative movement direction is the X direction, the relative movement direction is the Y direction, and the X direction and the direction orthogonal to the Y direction are the Z direction. The Z direction is the direction in which the magnetic scale 2 and the magnetic sensor 3 face each other. In the X direction, the direction from the magnetizing pattern 6 for the origin signal toward the magnetic track 5 for the incremental signal is the + X direction, and the opposite direction is the −X direction. One side in the Y direction is the + Y direction, and the other side is the −Y direction. In the Z direction, the direction from the magnetic scale 2 to the magnetic sensor 3 is the + Z direction, and the opposite direction is the −Z direction.

図1に示すように、磁気センサ3は、非磁性材料からなるホルダ7と、ホルダ7に収容されたセンサ基板8と、ホルダ7から+Y方向に延びるケーブル9を備える。ケーブル9はセンサ基板8に接続されている。ホルダ7は磁気スケール2と対向する対向面7aに開口部10を備える。センサ基板8は開口部10を介して磁気スケール2に対向する。図2(b)に示すように、センサ基板8において磁気スケール2に対向する基板面8aには、インクリメンタル信号取得用の磁気抵抗素子11と、原点検出用の磁気抵抗素子12とが設けられている。 As shown in FIG. 1, the magnetic sensor 3 includes a holder 7 made of a non-magnetic material, a sensor substrate 8 housed in the holder 7, and a cable 9 extending from the holder 7 in the + Y direction. The cable 9 is connected to the sensor board 8. The holder 7 is provided with an opening 10 on the facing surface 7a facing the magnetic scale 2. The sensor substrate 8 faces the magnetic scale 2 through the opening 10. As shown in FIG. 2B, a magnetoresistive element 11 for acquiring an incremental signal and a magnetoresistive element 12 for detecting the origin are provided on the substrate surface 8a facing the magnetic scale 2 in the sensor substrate 8. There is.

磁気式エンコーダ1は、磁気スケール2および磁気センサ3の一方が固定体の側に配置され、他方が移動体の側に配置される。本例では、磁気スケール2が移動体の側に配置され、磁気センサ3が固定体の側に配置される。磁気スケール2は、磁気センサ3とZ方向で所定のギャップを開けた状態で、Y方向に移動する。 In the magnetic encoder 1, one of the magnetic scale 2 and the magnetic sensor 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 3 is arranged on the side of the fixed body. The magnetic scale 2 moves in the Y direction with a predetermined gap opened in the Z direction with the magnetic sensor 3.

(磁気スケール)
図2(a)に示すように、磁気スケール2は、Y方向に延びるインクリメンタル信号用の磁気トラック5と、X方向でインクリメンタル信号用の磁気トラック5の隣に設けられた原点信号用の着磁パターン6を備える。インクリメンタル信号用の磁気トラック5と原点信号用の着磁パターン6との間には隙間14が設けられている。従って、インクリメンタル信号用の磁気トラック5は、原点信号用の着磁パターン6とX方向で離間する。
(Magnetic scale)
As shown in FIG. 2A, the magnetic scale 2 is magnetized for an origin signal provided next to a magnetic track 5 for an incremental signal extending in the Y direction and a magnetic track 5 for an incremental signal in the X direction. The pattern 6 is provided. A gap 14 is provided between the magnetic track 5 for the incremental signal and the magnetizing pattern 6 for the origin signal. Therefore, the magnetic track 5 for the incremental signal is separated from the magnetizing pattern 6 for the origin signal in the X direction.

(インクリメンタル信号用の磁気トラック)
インクリメンタル信号用の磁気トラック5は、並列に配置された第1磁気トラック15、第2磁気トラック16、および、第3磁気トラック17を備える。より具体的には、インクリメンタル信号用の磁気トラック5は、Y方向に延びる第1磁気トラック15と、第1磁気トラック15の+X方向に第1磁気トラック15と接して設けられて第1磁気トラック15と平行に延びる第2磁気トラック16と、第2磁気トラック16の+X方向に第2磁気トラック16と接して設けられて第2トラックと平行に延びる第3磁気トラック17、を備える。
(Magnetic track for incremental signals)
The magnetic track 5 for the incremental signal includes a first magnetic track 15, a second magnetic track 16, and a third magnetic track 17 arranged in parallel. More specifically, the magnetic track 5 for the incremental signal is provided in contact with the first magnetic track 15 extending in the Y direction and the first magnetic track 15 in the + X direction of the first magnetic track 15. It includes a second magnetic track 16 extending in parallel with 15, and a third magnetic track 17 provided in contact with the second magnetic track 16 in the + X direction of the second magnetic track 16 and extending in parallel with the second track.

第1磁気トラック15では、Y方向に沿ってN極とS極とが一定のピッチPで交互に複数配列されている。第2磁気トラック16では、Y方向に沿ってS極とN極とが一定のピッチPで交互に複数配列されている。第2磁気トラック16では、X方向において第1磁気トラック15のN極の隣にS極が位置し、第1磁気トラック15のS極の隣にN極が位置する。第3磁気トラック17では、Y方向に沿ってS極とN極とが一定のピッチPで交互に複数配列されている。第3磁気トラック17では、X方向において第2磁気トラック16のN極の隣にS極が位置し、第2磁気トラック16のS極の隣にN極が位置する。本例では、第2トラックのX方向の幅は、第1磁気トラック15のX方向の幅と比較して広い。また、第2トラックのX方向の幅は、第3磁気トラック17のX方向の幅と比較して広い。 In the first magnetic track 15, a plurality of N poles and S poles are alternately arranged at a constant pitch P along the Y direction. In the second magnetic track 16, a plurality of S poles and N poles are alternately arranged at a constant pitch P along the Y direction. In the second magnetic track 16, the S pole is located next to the N pole of the first magnetic track 15 in the X direction, and the N pole is located next to the S pole of the first magnetic track 15. In the third magnetic track 17, a plurality of S poles and N poles are alternately arranged at a constant pitch P along the Y direction. In the third magnetic track 17, the S pole is located next to the N pole of the second magnetic track 16 in the X direction, and the N pole is located next to the S pole of the second magnetic track 16. In this example, the width of the second track in the X direction is wider than the width of the first magnetic track 15 in the X direction. Further, the width of the second track in the X direction is wider than the width of the third magnetic track 17 in the X direction.

(原点信号用の着磁パターン)
原点信号用の着磁パターン6は、Y方向において予め定めた原点Oを境にN極とS極とが並ぶ第1着磁パターン21を備える。本例では、原点Oは、Y方向におけるインクリメンタル信号用の磁気トラック5の中央に設定されている。第1着磁パターン21におけるN極とS極との間の着磁分極線は原点Oに位置する。また、原点信号用の着磁パターン6は、-X方向で第1着磁パターン21の隣に接して設けられた第2着磁パターン22を備える。第2着磁パターン22では、Y方向において予め定めた原点Oを境にS極とN極とが並ぶ。第2着磁パターン22では、X方向において第1着磁パターン21のN極の隣にS極が位置し、第1着磁パターン21のS極の隣にN極が位置する。第2着磁パターン22におけるN極とS極との間の着磁分極線は、原点Oに位置する。
(Magnetization pattern for origin signal)
The magnetizing pattern 6 for the origin signal includes a first magnetizing pattern 21 in which the N pole and the S pole are arranged with the origin O predetermined in the Y direction as a boundary. In this example, the origin O is set at the center of the magnetic track 5 for the incremental signal in the Y direction. The magnetizing polarization line between the N pole and the S pole in the first magnetizing pattern 21 is located at the origin O. Further, the magnetizing pattern 6 for the origin signal includes a second magnetizing pattern 22 provided adjacent to the first magnetizing pattern 21 in the −X direction. In the second magnetizing pattern 22, the S pole and the N pole are lined up with the origin O predetermined in the Y direction as a boundary. In the second magnetizing pattern 22, the S pole is located next to the N pole of the first magnetizing pattern 21 in the X direction, and the N pole is located next to the S pole of the first magnetizing pattern 21. The magnetizing polarization line between the N pole and the S pole in the second magnetizing pattern 22 is located at the origin O.

ここで、インクリメンタル信号用の各磁気トラック5(第1磁気トラック15、第2磁気トラック16、および第3磁気トラック17)におけるS極とN極との間の着磁分極線と原点Oとは、X方向から見た場合に重なっていない。インクリメンタル信号用の各磁気トラック5において、原点Oに最も近い着磁分極線は、原点OからY方向に1/2ピッチずれている。 Here, the magnetic polarization line between the S pole and the N pole and the origin O in each magnetic track 5 (first magnetic track 15, second magnetic track 16, and third magnetic track 17) for the incremental signal are , Do not overlap when viewed from the X direction. In each magnetic track 5 for the incremental signal, the magnetic polarization line closest to the origin O is deviated by 1/2 pitch in the Y direction from the origin O.

第1着磁パターン21のS極の着磁領域は、Y方向で原点Oの-Y方向に位置し、Y方向を原点Oからインクリメンタル信号用の磁気トラック5の-Y方向の端まで延びる。第1着磁パターン21のN極の着磁領域は、Y方向で原点Oの+Y方向に位置し、Y方向を原点Oからインクリメンタル信号用の磁気トラック5の+Y方向の端まで延びる。従って、第1着磁パターン21は、磁気センサ3が磁気スケール2の移動を検出する検出ストロークの全域に形成されている。第2着磁パターン22のN極の着磁領域は、Y方向で原点Oの-Y方向に位置し、Y方向を原点Oからインクリメンタル信号用の磁気トラック5の-Y方向の端まで延びる。第2着磁パターン22のS極の着磁領域は、Y方向で原点Oの+Y方向に位置し、Y方向を原点Oからインクリメンタル信号用の磁気トラック5の+Y方向の端まで延びる。従って、第2着磁パターン22は、磁気センサ3が磁気スケール2の移動を検出する検出ストロークの全域に形成されている。 The magnetized region of the S pole of the first magnetizing pattern 21 is located in the −Y direction of the origin O in the Y direction, and extends in the Y direction from the origin O to the end of the magnetic track 5 for the incremental signal in the −Y direction. The magnetizing region of the N pole of the first magnetizing pattern 21 is located in the + Y direction of the origin O in the Y direction, and extends in the Y direction from the origin O to the end of the magnetic track 5 for the incremental signal in the + Y direction. Therefore, the first magnetizing pattern 21 is formed over the entire detection stroke in which the magnetic sensor 3 detects the movement of the magnetic scale 2. The N-pole magnetizing region of the second magnetizing pattern 22 is located in the −Y direction of the origin O in the Y direction, and extends in the Y direction from the origin O to the end of the magnetic track 5 for the incremental signal in the −Y direction. The magnetizing region of the S pole of the second magnetizing pattern 22 is located in the + Y direction of the origin O in the Y direction, and extends in the Y direction from the origin O to the end of the magnetic track 5 for the incremental signal in the + Y direction. Therefore, the second magnetizing pattern 22 is formed over the entire detection stroke in which the magnetic sensor 3 detects the movement of the magnetic scale 2.

第1着磁パターン21のX方向の幅D1と第2着磁パターン22のX方向の幅D2は同一である。また、第1着磁パターン21のX方向の幅D1と、第1着磁パターン21と第1着磁トラックとの間の隙間14の寸法Eとは同一である。 The width D1 in the X direction of the first magnetizing pattern 21 and the width D2 in the X direction of the second magnetizing pattern 22 are the same. Further, the width D1 of the first magnetizing pattern 21 in the X direction and the dimension E of the gap 14 between the first magnetizing pattern 21 and the first magnetizing track are the same.

(磁気センサ)
センサ基板8は、ガラス或いはシリコンからなる。図2(b)に示すように、センサ基板8は、磁気スケール2と対向する基板面8aにインクリメンタル信号取得用の磁気抵抗素子11と、原点検出用の磁気抵抗素子12とを備える。インクリメンタル信号取得用の磁気抵抗素子11と、原点検出用の磁気抵抗素子12とは、X方向に配列されている。イ
ンクリメンタル信号取得用の磁気抵抗素子11は原点検出用の磁気抵抗素子12の+X方向に位置する。
(Magnetic sensor)
The sensor substrate 8 is made of glass or silicon. As shown in FIG. 2B, the sensor substrate 8 includes a magnetoresistive element 11 for acquiring an incremental signal and a magnetoresistive element 12 for detecting an origin on a substrate surface 8a facing the magnetic scale 2. The magnetoresistive element 11 for acquiring an incremental signal and the magnetoresistive element 12 for detecting the origin are arranged in the X direction. The magnetoresistive element 11 for acquiring an incremental signal is located in the + X direction of the magnetoresistive element 12 for detecting the origin.

(インクリメンタル信号取得用の磁気抵抗素子)
インクリメンタル信号取得用の磁気抵抗素子11は、90°の位相差をもって磁気スケール2の移動を検出するA相の磁気抵抗パターン31およびB相の磁気抵抗パターン32を備える。A相の磁気抵抗パターン31は、180°の位相差を持って磁気スケール2の移動を検出する+a相の磁気抵抗パターン31(+a)および-a相の磁気抵抗パターン31(-a)を備える。B相の磁気抵抗パターン32は、180°の位相差を持って磁気スケール2の移動を検出する+b相の磁気抵抗パターン32(+b)および-b相の磁気抵抗パターン32(-b)を備える。+a相の磁気抵抗パターン31(+a)、+b相の磁気抵抗パターン32(+b)、-a相の磁気抵抗パターン31(-a)、および、-b相の磁気抵抗パターン32(-b)は、いずれも感磁方向をY方向に向けて設けられている。本例では、+a相の磁気抵抗パターン31(+a)と+b相の磁気抵抗パターン32(+b)とがX方向に配列されている。また、-a相の磁気抵抗パターン31(-a)と-b相の磁気抵抗パターン32(-b)とがX方向に配列されている。+a相の磁気抵抗パターン31(+a)と-b相の磁気抵抗パターン32(-b)とはY方向で隣り合う。-a相の磁気抵抗パターン31(-a)と+b相の磁気抵抗パターン32(+b)とはY方向で隣り合う。+a相の磁気抵抗パターン31(+a)、+b相の磁気抵抗パターン32(+b)、-b相の磁気抵抗パターン32(-b)、および、-a相の磁気抵抗パターン31(-a)は、基板面8aの互いに重ならない領域に単層で形成されている。
(Magnetic resistance element for acquiring incremental signals)
The magnetoresistive element 11 for acquiring an incremental signal includes a phase A magnetic resistance pattern 31 and a phase B magnetic resistance pattern 32 that detect the movement of the magnetic scale 2 with a phase difference of 90 °. The A-phase reluctance pattern 31 includes a + a-phase reluctance pattern 31 (+ a) and a -a-phase reluctance pattern 31 (-a) that detect the movement of the magnetic scale 2 with a phase difference of 180 °. .. The B-phase reluctance pattern 32 includes a + b-phase reluctance pattern 32 (+ b) and a −b-phase reluctance pattern 32 (−b) that detect the movement of the magnetic scale 2 with a phase difference of 180 °. .. The + a phase reluctance pattern 31 (+ a), the + b phase reluctance pattern 32 (+ b), the -a phase reluctance pattern 31 (-a), and the -b phase reluctance pattern 32 (-b) are , Both are provided with the magnetic reluctance direction facing the Y direction. In this example, the + a phase reluctance pattern 31 (+ a) and the + b phase reluctance pattern 32 (+ b) are arranged in the X direction. Further, the reluctance pattern 31 (—a) of the −a phase and the magnetoresistance pattern 32 (−b) of the −b phase are arranged in the X direction. The + a phase reluctance pattern 31 (+ a) and the −b phase reluctance pattern 32 (−b) are adjacent to each other in the Y direction. The reluctance pattern 31 (−a) of the −a phase and the magnetoresistance pattern 32 (+ b) of the + b phase are adjacent to each other in the Y direction. The + a phase reluctance pattern 31 (+ a), the + b phase reluctance pattern 32 (+ b), the −b phase reluctance pattern 32 (−b), and the −a phase reluctance pattern 31 (−a) are , Is formed of a single layer in a region of the substrate surface 8a that does not overlap with each other.

磁気センサ3を磁気スケール2に対向させたときに、-a相の磁気抵抗パターン31(-a)と+b相の磁気抵抗パターン32(+b)とは、インクリメンタル信号用の磁気トラック5の第1磁気トラック15と第2磁気トラック16との境界を跨いで磁気スケール2と対向する。これにより、-a相の磁気抵抗パターン31(-a)と+b相の磁気抵抗パターン32(+b)は、磁気スケール2において、X方向で隣り合う第1磁気トラック15と第2磁気トラック16の境界部分で発生する回転磁界を検出する。また、磁気センサ3を磁気スケール2に対向させたときに、+a相の磁気抵抗パターン31(+a)と-b相の磁気抵抗パターン32(-b)とは、インクリメンタル信号用の磁気トラック5の第2磁気トラック16と第3磁気トラック17との境界を跨いで磁気スケール2と対向する。これにより、+a相の磁気抵抗パターン31(+a)と-b相の磁気抵抗パターン32(-b)は、X方向で隣り合う第2磁気トラック16と第3磁気トラック17の境界部分で発生する回転磁界を検出する。 When the magnetic sensor 3 is opposed to the magnetic scale 2, the −a phase reluctance pattern 31 (—a) and the + b phase reluctance pattern 32 (+ b) are the first of the magnetic tracks 5 for the incremental signal. It faces the magnetic scale 2 across the boundary between the magnetic track 15 and the second magnetic track 16. As a result, the -a phase reluctance pattern 31 (-a) and the + b phase reluctance pattern 32 (+ b) of the first magnetic track 15 and the second magnetic track 16 adjacent to each other in the X direction on the magnetic scale 2. Detects the rotating magnetic field generated at the boundary. Further, when the magnetic sensor 3 is opposed to the magnetic scale 2, the + a phase reluctance pattern 31 (+ a) and the −b phase reluctance pattern 32 (−b) are the magnetic tracks 5 for the incremental signal. It faces the magnetic scale 2 across the boundary between the second magnetic track 16 and the third magnetic track 17. As a result, the + a phase magnetoresistance pattern 31 (+ a) and the −b phase magnetoresistance pattern 32 (−b) are generated at the boundary between the second magnetic track 16 and the third magnetic track 17 adjacent to each other in the X direction. Detects the rotating magnetic field.

また、インクリメンタル信号取得用の磁気抵抗素子11は、その飽和感度領域を利用して回転磁界を検出する。すなわち、インクリメンタル信号取得用の磁気抵抗素子11は、+a相の磁気抵抗パターン31(+a)、+b相の磁気抵抗パターン32(+b)、-b相の磁気抵抗パターン32(-b)および-a相の磁気抵抗パターン31(-a)に電流を流し、かつ、抵抗値が飽和する磁界強度を印加して、境界部分で面内方向の向きが変化する回転磁界を検出する。 Further, the magnetoresistive element 11 for acquiring an incremental signal detects a rotating magnetic field by utilizing the saturation sensitivity region thereof. That is, the reluctance element 11 for acquiring the incremental signal includes the + a phase reluctance pattern 31 (+ a), the + b phase reluctance pattern 32 (+ b), and the −b phase reluctance pattern 32 (−b) and −a. A current is passed through the phase magnetic reluctance pattern 31 (−a), and a magnetic field strength that saturates the resistance value is applied to detect a rotating magnetic field whose in-plane direction changes at the boundary portion.

図3(a)はA相の磁気抵抗パターン31の各磁気抵抗パターンが構成する回路図であり、図3(b)はB相の磁気抵抗パターン32の各磁気抵抗パターンが構成する回路図である。+a相の磁気抵抗パターン31(+a)および-a相の磁気抵抗パターン31(-a)は、図3(a)に示すように、ブリッジ回路を構成しており、いずれも一方端が電源端子(Vcc)に接続され、他方端がグランド端子(GND)に接続されている。また、+a相の磁気抵抗パターン31(+a)の中点位置には、+a相が出力される端子+aが設けられ、-a相の磁気抵抗パターン31(-a)の中点位置には、-a相が出力される端子-aが設けられる。従って、端子+a、端子-aからの出力を減算器に入力すれば歪
の少ない正弦波の差動出力を得ることができる。
FIG. 3A is a circuit diagram composed of each magnetoresistance pattern of the A-phase reluctance pattern 31, and FIG. 3B is a circuit diagram composed of each magnetoresistance pattern of the B-phase reluctance pattern 32. be. As shown in FIG. 3A, the + a-phase reluctance pattern 31 (+ a) and the -a-phase reluctance pattern 31 (-a) form a bridge circuit, both of which have a power supply terminal at one end. It is connected to (Vcc) and the other end is connected to the ground terminal (GND). Further, a terminal + a for outputting the + a phase is provided at the midpoint position of the + a phase magnetic resistance pattern 31 (+ a), and a terminal + a for outputting the + a phase is provided at the midpoint position of the −a phase magnetic resistance pattern 31 (−a). A terminal-a for outputting the -a phase is provided. Therefore, if the outputs from the terminals + a and the terminals −a are input to the subtractor, a differential output of a sine wave with less distortion can be obtained.

同様に、+b相の磁気抵抗パターン32(+b)および-b相の磁気抵抗パターン32(-b)は、図3(b)に示すように、ブリッジ回路を構成しており、いずれも一方端が電源端子(Vcc)に接続され、他方端がグランド端子(GND)に接続されている。+b相の磁気抵抗パターン32(+b)の中点位置には、+b相が出力される端子+bが設けられ、-b相の磁気抵抗パターン32(-b)の中点位置には、-b相が出力される端子-bが設けられる。従って、端子+b、端子-bからの出力を減算器に入力すれば歪の少ない正弦波の差動出力を得ることができる。 Similarly, the + b-phase reluctance pattern 32 (+ b) and the -b-phase reluctance pattern 32 (-b) constitute a bridge circuit as shown in FIG. 3 (b), and both of them form one end. Is connected to the power supply terminal (Vcc) and the other end is connected to the ground terminal (GND). A terminal + b for outputting the + b phase is provided at the midpoint position of the + b phase magnetoresistance pattern 32 (+ b), and −b is provided at the midpoint position of the −b phase magnetoresistance pattern 32 (−b). A terminal-b from which the phase is output is provided. Therefore, if the outputs from the terminal + b and the terminal −b are input to the subtractor, a differential output of a sine wave with less distortion can be obtained.

(原点検出用の磁気抵抗素子)
原点検出用の磁気抵抗素子12は、180°の位相差を持って磁気スケール2の移動を検出する+z相の磁気抵抗パターン35(+z)および-z相の磁気抵抗パターン35(-z)を備える。+z相の磁気抵抗パターン35(+z)および-z相の磁気抵抗パターン35(-z)は、いずれも感磁方向をY方向に向けて設けられている。
(Magnetic resistance element for origin detection)
The magnetoresistive element 12 for detecting the origin has a + z phase magnetoresistance pattern 35 (+ z) and a −z phase magnetoresistance pattern 35 (−z) for detecting the movement of the magnetic scale 2 with a phase difference of 180 °. Be prepared. Both the + z-phase reluctance pattern 35 (+ z) and the −z-phase reluctance pattern 35 (−z) are provided with the magnetic sensitivity direction facing the Y direction.

磁気センサ3を磁気スケール2に対向させたときに、+z相の磁気抵抗パターン35(+z)および-z相の磁気抵抗パターン35(-z)は、原点信号用の着磁パターン6の第1着磁パターン21と第2着磁パターン22の境界を跨いで磁気スケール2と対向する。+z相の磁気抵抗パターン35(+z)および-z相の磁気抵抗パターン35(-z)は、磁気スケール2において、X方向で隣り合う第1着磁パターン21と第2着磁パターン22の境界部分で発生する回転磁界を検出する。ここで、原点検出用の磁気抵抗素子12は、その飽和感度領域を利用して回転磁界を検出する。すなわち、+z相の磁気抵抗パターン35(+z)および-z相の磁気抵抗パターン35(-z)に電流を流し、かつ、抵抗値が飽和する磁界強度を印加して、境界部分で面内方向の向きが変化する回転磁界を検出する。 When the magnetic sensor 3 is opposed to the magnetic scale 2, the + z phase reluctance pattern 35 (+ z) and the −z phase reluctance pattern 35 (−z) are the first of the magnetic resistance patterns 6 for the origin signal. It faces the magnetic scale 2 across the boundary between the magnetizing pattern 21 and the second magnetizing pattern 22. The + z-phase reluctance pattern 35 (+ z) and the -z-phase reluctance pattern 35 (-z) are boundaries between the first magnetic field pattern 21 and the second magnetic field pattern 22 adjacent to each other in the X direction on the magnetic scale 2. Detects the rotating magnetic field generated in the part. Here, the magnetoresistive element 12 for detecting the origin detects the rotating magnetic field by utilizing the saturation sensitivity region thereof. That is, a current is passed through the + z phase magnetoresistance pattern 35 (+ z) and the −z phase magnetoresistance pattern 35 (−z), and a magnetic field strength that saturates the resistance value is applied to the in-plane direction at the boundary portion. Detects a rotating magnetic field whose direction changes.

図4は+z相の磁気抵抗パターン35(+z)および-z相の磁気抵抗パターン35(-z)が構成する回路図である。+z相の磁気抵抗パターン35(+z)および-z相の磁気抵抗パターン35(-z)は、図4に示すように、ブリッジ回路を構成しており、いずれも一方端が電源端子(Vcc)に接続され、他方端がグランド端子(GND)に接続されている。また、+z相の磁気抵抗パターン35(+z)の中点位置には、+z相が出力される端子+zが設けられ、-z相の磁気抵抗パターン35(-z)の中点位置には、-z相が出力される端子-zが設けられる。従って、端子+z、端子-zからの出力を減算器に入力すれば、原点Oにおいて振幅が大となる原点信号Sを得ることができる。図5は原点信号Sを示す図である。 FIG. 4 is a circuit diagram composed of a + z phase magnetoresistance pattern 35 (+ z) and an −z phase magnetoresistance pattern 35 (−z). As shown in FIG. 4, the + z-phase reluctance pattern 35 (+ z) and the -z-phase reluctance pattern 35 (-z) form a bridge circuit, both of which have a power supply terminal (Vcc) at one end. And the other end is connected to the ground terminal (GND). Further, a terminal + z for outputting the + z phase is provided at the midpoint position of the + z phase magnetoresistance pattern 35 (+ z), and a terminal + z for outputting the + z phase is provided at the midpoint position of the −z phase magnetoresistance pattern 35 (−z). A terminal -z for outputting the -z phase is provided. Therefore, if the outputs from the terminal + z and the terminal −z are input to the subtractor, the origin signal S having a large amplitude at the origin O can be obtained. FIG. 5 is a diagram showing an origin signal S.

(作用効果)
本例の磁気式エンコーダ1によれば、磁気スケール2に設定した原点Oを境に設けられた第1着磁パターン21および第2着磁パターン22により、磁気スケール2の表面には面内方向の向きが変化する回転磁界が発生する。また、磁気センサ3が備える原点検出用の磁気抵抗素子は、第1着磁パターン21と第2着磁パターン22との境界を跨いで磁気スケール2に対向するので、この回転磁界を検出する。ここで、回転磁界を検出すれば、強弱磁界を検出する場合と比較して、外部磁界による影響を抑制できる。
(Action effect)
According to the magnetic encoder 1 of this example, the surface of the magnetic scale 2 is in the in-plane direction due to the first magnetic field pattern 21 and the second magnetic field pattern 22 provided with the origin O set in the magnetic scale 2 as a boundary. A rotating magnetic field that changes the direction of is generated. Further, since the magnetoresistive element for detecting the origin of the magnetic sensor 3 faces the magnetic scale 2 across the boundary between the first magnetizing pattern 21 and the second magnetizing pattern 22, the rotating magnetic field is detected. Here, if the rotating magnetic field is detected, the influence of the external magnetic field can be suppressed as compared with the case where the strong and weak magnetic fields are detected.

また、本例では、原点信号用の着磁パターン6(第1着磁パターン21および第2着磁パターン22)は、Y方向(相対移動方向)でインクリメンタル信号用の磁気トラック5(第1磁気トラック15、第2磁気トラック16および第3磁気トラック17)の全長に渡って設けられている。従って、インクリメンタル信号用の磁気トラック5の磁界の検出により磁気スケール2の移動を検出する検出ストロークの全域において、第1着磁パター
ン21および第2着磁パターン22に起因する強弱磁界が発生することを防止できる。よって、磁気抵抗パターンからの信号に強弱磁界に起因する信号が含まれて、原点Oの検出精度が低下することを防止できる。
Further, in this example, the magnetizing pattern 6 for the origin signal (first magnetizing pattern 21 and second magnetizing pattern 22) is a magnetic track 5 (first magnetism) for an incremental signal in the Y direction (relative movement direction). The track 15, the second magnetic track 16 and the third magnetic track 17) are provided over the entire length. Therefore, strong and weak magnetic fields caused by the first magnetizing pattern 21 and the second magnetizing pattern 22 are generated in the entire detection stroke for detecting the movement of the magnetic scale 2 by detecting the magnetic field of the magnetic track 5 for the incremental signal. Can be prevented. Therefore, it is possible to prevent the signal from the magnetoresistance pattern from including a signal caused by a strong and weak magnetic field and deteriorating the detection accuracy of the origin O.

すなわち、第1着磁パターン21がインクリメンタル信号用の磁気トラック5よりも短い場合には、Y方向において第1着磁パターン21の隣に無着磁領域が設けられる。この結果、第1着磁パターン21と無着磁領域との境界で強弱磁界が発生するので、磁気抵抗パターンからの信号に強弱磁界に起因する信号が含まれ、歪みが発生する。同様に、第2着磁パターン22がインクリメンタル信号用の磁気トラック5よりも短い場合には、Y方向において第2着磁パターン22の隣に無着磁領域が設けられる。この結果、第2着磁パターン22と無着磁領域との境界で強弱磁界が発生するので、磁気抵抗パターンからの信号に強弱磁界に起因する信号が含まれ、歪みが発生する。これに対して、第1着磁パターン21をインクリメンタル信号用の磁気トラック5の全長に渡って設ければ、Y方向で第1着磁パターン21の隣に無着磁領域が形成されないので、インクリメンタル信号用の磁気トラック5の磁界の検出により磁気スケール2の移動を検出する検出ストロークの全域において、強弱磁界が発生しない。同様に、第2着磁パターン22をインクリメンタル信号用の磁気トラック5の全長に渡って設ければ、Y方向で第2着磁パターン22の隣に無着磁領域が形成されないので、インクリメンタル信号用の磁気トラック5の磁界の検出により磁気スケール2の移動を検出する検出ストロークの全域において、強弱磁界が発生しない。これにより、磁気抵抗パターンからの信号に強弱磁界に起因する歪みが発生することを防止できるので、原点Oの検出精度が低下することを防止できる。 That is, when the first magnetizing pattern 21 is shorter than the magnetic track 5 for the incremental signal, a non-magnetizing region is provided next to the first magnetizing pattern 21 in the Y direction. As a result, a strong and weak magnetic field is generated at the boundary between the first magnetized pattern 21 and the non-magnetized region, so that the signal from the magnetoresistance pattern includes a signal caused by the strong and weak magnetic field, and distortion occurs. Similarly, when the second magnetized pattern 22 is shorter than the magnetic track 5 for the incremental signal, a non-magnetized region is provided next to the second magnetized pattern 22 in the Y direction. As a result, a strong and weak magnetic field is generated at the boundary between the second magnetized pattern 22 and the non-magnetized region, so that the signal from the magnetoresistance pattern includes a signal caused by the strong and weak magnetic field, and distortion occurs. On the other hand, if the first magnetizing pattern 21 is provided over the entire length of the magnetic track 5 for the incremental signal, an unmagnetized region is not formed next to the first magnetizing pattern 21 in the Y direction, so that the incremental is incremental. No strong or weak magnetic field is generated in the entire detection stroke for detecting the movement of the magnetic scale 2 by detecting the magnetic field of the magnetic track 5 for the signal. Similarly, if the second magnetizing pattern 22 is provided over the entire length of the magnetic track 5 for the incremental signal, a non-magnetized region is not formed next to the second magnetizing pattern 22 in the Y direction, so that it is used for the incremental signal. No strong or weak magnetic field is generated in the entire detection stroke for detecting the movement of the magnetic scale 2 by detecting the magnetic field of the magnetic track 5. As a result, it is possible to prevent the signal from the magnetoresistance pattern from being distorted due to the strong and weak magnetic fields, and thus it is possible to prevent the detection accuracy of the origin O from being lowered.

また、第1着磁パターン21や第2着磁パターン22のY方向の端に強弱磁界が発生する場合には、第1着磁パターン21や第2着磁パターン22の着磁を強くすると、強弱磁界が大きくなる。この結果、磁気抵抗パターンからの信号に、強弱磁界に起因する成分が含まれやすなり、信号の歪みが増大する。よって、強弱磁界が発生する場合には、第1着磁パターン21や第2着磁パターン22の着磁を強くて、これらの残留磁束密度を高めることが困難である。これに対して、第1着磁パターン21および第2着磁パターン22はインクリメンタル信号用の磁気トラック5の全長に渡って設けられていれば、第1着磁パターン21および第2着磁パターン22のY方向の端で強弱磁界が発生しない。従って、第1着磁パターン21や第2着磁パターン22の着磁を強くした場合でも、磁気抵抗パターンからの信号に歪みが発生することはない。よって、第1着磁パターン21および第2着磁パターン22の着磁を比較的強くて残留磁束密度を高めることができる。 Further, when a strong and weak magnetic field is generated at the end of the first magnetizing pattern 21 and the second magnetizing pattern 22 in the Y direction, the magnetizing of the first magnetizing pattern 21 and the second magnetizing pattern 22 is strengthened. The strong and weak magnetic fields increase. As a result, the signal from the magnetoresistance pattern tends to contain components due to the strong and weak magnetic fields, and the distortion of the signal increases. Therefore, when a strong and weak magnetic field is generated, it is difficult to increase the magnetic flux of the first magnetizing pattern 21 and the second magnetizing pattern 22 to increase the residual magnetic flux density. On the other hand, if the first magnetic pattern 21 and the second magnetic pattern 22 are provided over the entire length of the magnetic track 5 for the incremental signal, the first magnetic pattern 21 and the second magnetic pattern 22 are provided. No strong or weak magnetic field is generated at the end of the Y direction. Therefore, even when the magnetism of the first magnetizing pattern 21 or the second magnetizing pattern 22 is strengthened, the signal from the magnetoresistance pattern is not distorted. Therefore, the magnetism of the first magnetizing pattern 21 and the second magnetizing pattern 22 can be relatively strong to increase the residual magnetic flux density.

さらに、第1着磁パターン21および第2着磁パターン22の残留磁束密度を高くすることができれば、磁気抵抗パターンからの信号の振幅を比較的大きくすることができる。従って、磁気スケール2と磁気センサ3とのギャップが増大した場合でも、磁気抵抗パターンからの信号の振幅が小さくなることを抑制できる。よって、磁気スケール2と磁気センサ3とのギャップの変動に拘わらず、磁気抵抗パターンからの信号に基づいて原点Oを検出しやすくなる。 Further, if the residual magnetic flux densities of the first magnetizing pattern 21 and the second magnetizing pattern 22 can be increased, the amplitude of the signal from the magnetoresistance pattern can be relatively increased. Therefore, even when the gap between the magnetic scale 2 and the magnetic sensor 3 is increased, it is possible to suppress the amplitude of the signal from the magnetoresistance pattern from becoming small. Therefore, regardless of the fluctuation of the gap between the magnetic scale 2 and the magnetic sensor 3, the origin O can be easily detected based on the signal from the magnetoresistance pattern.

ここで、図5(a)では、磁気式エンコーダ1に対して外部磁界が印加されていない場合の原点信号S(0mT)と、0.4mTの外部磁界が+Y方向に印加されている場合の原点信号S(0.4mTY)と、0.4mTの外部磁界が+Y方向に対して45°傾斜している方向に印加されている場合の原点信号S(0.4mT45°)と、0.4mTの外部磁界が+X方向に印加されている場合の原点信号S(0.4mTX)と、を重ねて示している。また、図5(b)では、磁気式エンコーダ1に対して外部磁界が印加されていない場合の原点信号S(0mT)と、2.0mTの外部磁界が+Y方向に印加されている場合の原点信号S(2mTY)と、2.0mTの外部磁界が+Y方向に対して45°傾斜している方向に印加されている場合の原点信号S(2mT45°)と、2.0mTの外部磁
界が+X方向に印加されている場合の原点信号S(2mTX)と、を重ねて示している。原点信号Sはシミュレーションにより取得したものである。図5に示す例において、原点信号用の着磁パターン6(第1着磁パターン21および第2着磁パターン22)の残留磁束密度は4mTである。
Here, in FIG. 5A, the origin signal S (0 mT) when an external magnetic field is not applied to the magnetic encoder 1 and the case where an external magnetic field of 0.4 mT is applied in the + Y direction. The origin signal S (0.4 mTY) and the origin signal S (0.4 mT 45 °) and 0.4 mT when an external magnetic field of 0.4 mT is applied in a direction inclined by 45 ° with respect to the + Y direction. The origin signal S (0.4 mTX) when the external magnetic field of the above is applied in the + X direction is shown superimposed. Further, in FIG. 5B, the origin signal S (0 mT) when an external magnetic field is not applied to the magnetic encoder 1 and the origin signal when an external magnetic field of 2.0 mT is applied in the + Y direction. The signal S (2 mTY), the origin signal S (2 mT 45 °) when the external magnetic field of 2.0 mT is applied in the direction inclined by 45 ° with respect to the + Y direction, and the external magnetic field of 2.0 mT are + X. The origin signal S (2 mTX) when applied in the direction is superimposed and shown. The origin signal S is obtained by simulation. In the example shown in FIG. 5, the residual magnetic flux density of the magnetizing pattern 6 for the origin signal (first magnetizing pattern 21 and second magnetizing pattern 22) is 4 mT.

図5(a)および図5(b)に示すように、磁気式エンコーダ1に対して外部磁界が印加されていない場合に原点検出用の磁気抵抗素子12からの出力により得られる原点信号S(0mT)は、原点Oにおいて一つの大きなピークが現れている。従って、本例の磁気式エンコーダ1によれば、原点信号Sのピークに基づいて原点Oを正確に検出できる。 As shown in FIGS. 5A and 5B, the origin signal S () obtained by the output from the magnetoresistive element 12 for origin detection when an external magnetic field is not applied to the magnetic encoder 1. At 0 mT), one large peak appears at the origin O. Therefore, according to the magnetic encoder 1 of this example, the origin O can be accurately detected based on the peak of the origin signal S.

ここで、図5(a)に示すように、磁気式エンコーダ1に0.4mTの外部磁界が印加されている場合に磁気抵抗素子12からの出力により取得できる原点信号S(0.4mT)、原点信号S(0.4mTY)、原点信号S(0.4mT45°)、原点信号S(0.4mTX)と、磁気式エンコーダ1に外部磁界が印加されていない場合に磁気抵抗素子12からの出力により取得できる原点信号S(0mT)とは、ほぼ一致している。すなわち、本例の磁気式エンコーダ1では、0.4mTの外部磁界が印加された場合でも、原点検出用の磁気抵抗素子12からの出力により得られる原点信号Sの振幅は、変化せず、原点信号Sの波形に歪みも発生しない。従って、磁気式エンコーダ1によれば、磁気スケール2に0.4mTの外部磁界が印加された場合でも、原点信号Sに基づいて、原点Oを正確に取得できる。 Here, as shown in FIG. 5A, the origin signal S (0.4 mT), which can be acquired by the output from the magnetic resistance element 12, when an external magnetic field of 0.4 mT is applied to the magnetic encoder 1. The origin signal S (0.4 mTY), the origin signal S (0.4 mT45 °), the origin signal S (0.4 mTX), and the output from the magnetic resistance element 12 when an external magnetic field is not applied to the magnetic encoder 1. It is almost the same as the origin signal S (0 mT) that can be obtained by. That is, in the magnetic encoder 1 of this example, even when an external magnetic field of 0.4 mT is applied, the amplitude of the origin signal S obtained by the output from the magnetoresistive element 12 for origin detection does not change, and the origin does not change. No distortion occurs in the waveform of the signal S. Therefore, according to the magnetic encoder 1, the origin O can be accurately acquired based on the origin signal S even when an external magnetic field of 0.4 mT is applied to the magnetic scale 2.

また、図5(b)に示すように、磁気式エンコーダ1に2.0mTの外部磁界が印加された場合に磁気抵抗素子12からの出力により取得できる原点信号(2mTY)、原点信号S(2mT45°)、原点信号S(2mTX)は、外部磁界が印加されていない場合に磁気抵抗素子12からの出力により取得できる原点信号S(0mT)と比較して、振幅の減少が認められる。しかし、図5(b)に示すように、原点信号S(0mT)に対する原点信号(2mTY)、原点信号S(2mT45°)および原点信号S(2mTX)の振幅の減少はごく僅かである。また、外部磁界が印加された場合でも、原点信号Sの波形に歪みは発生していない。従って、本例の磁気式エンコーダ1によれば、磁気スケール2に2.0mTの外部磁界が印加された場合でも、原点信号Sに基づいて、原点Oを正確に取得できる。 Further, as shown in FIG. 5 (b), the origin signal (2 mTY) and the origin signal S (2 mT45) that can be acquired by the output from the magnetoresistive element 12 when an external magnetic field of 2.0 mT is applied to the magnetic encoder 1. °), The origin signal S (2 mTX) has a reduced amplitude as compared with the origin signal S (0 mT) that can be acquired by the output from the magnetoresistive element 12 when an external magnetic field is not applied. However, as shown in FIG. 5 (b), the decrease in the amplitudes of the origin signal (2 mTY), the origin signal S (2 mT 45 °) and the origin signal S (2 mTX) with respect to the origin signal S (0 mT) is very small. Further, even when an external magnetic field is applied, the waveform of the origin signal S is not distorted. Therefore, according to the magnetic encoder 1 of this example, the origin O can be accurately acquired based on the origin signal S even when an external magnetic field of 2.0 mT is applied to the magnetic scale 2.

(比較例)
ここで、比較例として、強弱磁界を利用して原点Oを検出する磁気式エンコーダを説明する。図6は比較例の磁気式エンコーダの磁気スケールの説明図である。なお、比較例の磁気式エンコーダ50は磁気式エンコーダ1と対応する構成を備えるので、対応する構成には同一の符号を付して説明する。
(Comparative example)
Here, as a comparative example, a magnetic encoder that detects the origin O by using a strong and weak magnetic field will be described. FIG. 6 is an explanatory diagram of the magnetic scale of the magnetic encoder of the comparative example. Since the magnetic encoder 50 of the comparative example has a configuration corresponding to the magnetic encoder 1, the corresponding configuration will be described with the same reference numerals.

図6に示すように、比較例の磁気式エンコーダ50の磁気スケール2は、本例の磁気スケール2と同一のインクリメンタル信号用の磁気トラック5を備える。また、インクリメンタル信号用の磁気トラック5の-X方向に、原点信号用の着磁パターン51を備える。原点信号用の着磁パターン51は、Y方向において予め定めた原点Oを境にN極とS極とが並ぶ。着磁パターン51におけるN極とS極との間の着磁分極線は原点Oに位置する。原点信号用の着磁パターン51のN極の着磁領域のY方向の長さは、インクリメンタル信号用の着磁トラックにおける各極のピッチPの1/2である。原点信号用の着磁パターン51のS極の着磁領域のY方向の長さも、インクリメンタル信号用の着磁トラックにおける各極の着磁ピッチPの1/2である。 As shown in FIG. 6, the magnetic scale 2 of the magnetic encoder 50 of the comparative example includes the same magnetic track 5 for the incremental signal as the magnetic scale 2 of this example. Further, a magnetizing pattern 51 for the origin signal is provided in the −X direction of the magnetic track 5 for the incremental signal. In the magnetizing pattern 51 for the origin signal, the north pole and the south pole are lined up with the origin O predetermined in the Y direction as a boundary. The magnetizing polarization line between the N pole and the S pole in the magnetizing pattern 51 is located at the origin O. The length of the magnetizing region of the N pole of the magnetizing pattern 51 for the origin signal in the Y direction is 1/2 of the pitch P of each pole in the magnetizing track for the incremental signal. The length of the magnetizing region of the S pole of the magnetizing pattern 51 for the origin signal in the Y direction is also ½ of the magnetizing pitch P of each pole in the magnetizing track for the incremental signal.

磁気センサ3は、磁気センサ3と同一である。磁気センサ3を磁気スケール2に対向させたときに、-a相の磁気抵抗パターン31(-a)と+b相の磁気抵抗パターン32(
+b)とは、インクリメンタル信号用の磁気トラック5の第1磁気トラック15と第2磁気トラック16との境界を跨いで磁気スケール2と対向する。-a相の磁気抵抗パターン31(-a)と+b相の磁気抵抗パターン32(+b)は、磁気スケール2において、X方向で隣り合う第1磁気トラック15と第2磁気トラック16の境界部分で発生する回転磁界を検出する。また、磁気センサ3を磁気スケール2に対向させたときに、+a相の磁気抵抗パターン31(+a)と-b相の磁気抵抗パターン32(-b)とは、インクリメンタル信号用の磁気トラック5の第2磁気トラック16と第3磁気トラック17との境界を跨いで磁気スケール2と対向する。+a相の磁気抵抗パターン31(+a)と-b相の磁気抵抗パターン32(-b)は、X方向で隣り合う第2磁気トラック16と第3磁気トラック17の境界部分で発生する回転磁界を検出する。
The magnetic sensor 3 is the same as the magnetic sensor 3. When the magnetic sensor 3 is opposed to the magnetic scale 2, the reluctance pattern 31 (-a) of the -a phase and the reluctance pattern 32 of the + b phase (-a)
+ B) means facing the magnetic scale 2 across the boundary between the first magnetic track 15 and the second magnetic track 16 of the magnetic track 5 for the incremental signal. The -a-phase reluctance pattern 31 (-a) and the + b-phase reluctance pattern 32 (+ b) are located at the boundary between the first magnetic track 15 and the second magnetic track 16 adjacent to each other in the X direction on the magnetic scale 2. Detects the generated rotating magnetic field. Further, when the magnetic sensor 3 is opposed to the magnetic scale 2, the + a phase reluctance pattern 31 (+ a) and the −b phase reluctance pattern 32 (−b) are the magnetic tracks 5 for the incremental signal. It faces the magnetic scale 2 across the boundary between the second magnetic track 16 and the third magnetic track 17. The + a phase magnetoresistance pattern 31 (+ a) and the −b phase magnetoresistance pattern 32 (−b) generate a rotating magnetic field at the boundary between the second magnetic track 16 and the third magnetic track 17 adjacent to each other in the X direction. To detect.

また、インクリメンタル信号取得用の磁気抵抗素子11は、その飽和感度領域を利用して回転磁界を検出する。すなわち、+a相の磁気抵抗パターン31(+a)、-b相の磁気抵抗パターン32(-b)、+b相の磁気抵抗パターン32(+b)および-a相の磁気抵抗パターン31(-a)に電流を流し、かつ、抵抗値が飽和する磁界強度を印加して、境界部分で面内方向の向きが変化する回転磁界を検出する。 Further, the magnetoresistive element 11 for acquiring an incremental signal detects a rotating magnetic field by utilizing the saturation sensitivity region thereof. That is, the + a phase reluctance pattern 31 (+ a), the −b phase reluctance pattern 32 (−b), the + b phase reluctance pattern 32 (+ b), and the −a phase reluctance pattern 31 (−a). A rotating magnetic field whose direction changes in the in-plane direction at the boundary portion is detected by applying a magnetic field strength in which a current is passed and the resistance value is saturated.

一方、比較例の磁気式エンコーダ50では、磁気センサ3を磁気スケール2に対向させたときに、+z相の磁気抵抗パターン35(+z)および-z相の磁気抵抗パターン35(-z)は、原点信号用の着磁パターン51の着磁部分に対向する。+z相の磁気抵抗パターン35(+z)および-z相の磁気抵抗パターン35(-z)は、原点信号用の着磁パターン51が発生させる強弱磁界を検出する。なお、+z相の磁気抵抗パターン35(+z)および-z相の磁気抵抗パターン35(-z)に基づいて、原点信号Sを取得する構成は磁気式エンコーダ1と同一である。 On the other hand, in the magnetic encoder 50 of the comparative example, when the magnetic sensor 3 is opposed to the magnetic scale 2, the + z phase reluctance pattern 35 (+ z) and the −z phase reluctance pattern 35 (−z) are displayed. It faces the magnetized portion of the magnetizing pattern 51 for the origin signal. The + z phase reluctance pattern 35 (+ z) and the −z phase reluctance pattern 35 (−z) detect the strong and weak magnetic fields generated by the magnetic field pattern 51 for the origin signal. The configuration for acquiring the origin signal S based on the + z phase reluctance pattern 35 (+ z) and the −z phase reluctance pattern 35 (−z) is the same as that of the magnetic encoder 1.

図7は比較例の磁気式エンコーダ50において原点検出用の磁気抵抗素子12からの出力により得られる原点信号S1の説明図である。図7では、磁気式エンコーダ50に対して外部磁界が印加されていない場合の原点信号S1(0mT)と、0.4mTの外部磁界が+Y方向に印加されている場合の原点信号S1(0.4mTY+)と、0.4mTの外部磁界が-Y方向に印加されている場合の原点信号S1(0.4mTY-)と、0.4mTの外部磁界が+X方向に印加されている場合の原点信号S1(0.4mTX)と、を重ねて示す。各原点信号S1のグラフはシミュレーションにより取得される。原点信号用の着磁パターン51の残留磁束密度は2mTである。 FIG. 7 is an explanatory diagram of the origin signal S1 obtained by the output from the magnetoresistive element 12 for detecting the origin in the magnetic encoder 50 of the comparative example. In FIG. 7, the origin signal S1 (0 mT) when an external magnetic field is not applied to the magnetic encoder 50 and the origin signal S1 (0.) when an external magnetic field of 0.4 mT is applied in the + Y direction. 4mTY +), the origin signal S1 (0.4mTY-) when an external magnetic field of 0.4mT is applied in the −Y direction, and the origin signal when an external magnetic field of 0.4mT is applied in the + X direction. S1 (0.4 mTX) and S1 (0.4 mTX) are shown superimposed. The graph of each origin signal S1 is acquired by simulation. The residual magnetic flux density of the magnetizing pattern 51 for the origin signal is 2 mT.

図7に示すように、比較例において、磁気式エンコーダ50に対して外部磁界が印加されていない場合に原点検出用の磁気抵抗素子12からの出力により得られる原点信号S1(0mT)は、原点Oにおいてピークが現れている。従って、かかるピークに基づいて原点Oを取得できる。 As shown in FIG. 7, in the comparative example, the origin signal S1 (0 mT) obtained by the output from the magnetoresistive element 12 for origin detection when an external magnetic field is not applied to the magnetic encoder 50 is the origin. A peak appears at O. Therefore, the origin O can be obtained based on such a peak.

しかし、磁気式エンコーダ50に0.4mTの外部磁界が印加された場合には、磁気抵抗素子12からの出力により取得できる原点信号S1(0.4mTY+)、原点信号S1(0.4mTY-)、および原点信号S1(0.4mTX)の振幅は、外部磁界が印加されていない場合に原点検出用の磁気抵抗素子12からの出力により得られる原点信号Sと比較して、変動している。また、磁気スケール2に0.4mTの外部磁界が印加された場合に原点検出用の磁気抵抗素子12からの出力により得られる原点信号S1(0.4mTY+)、原点信号S1(0.4mTY-)、および原点信号S1(0.4mTX)の波形は、外部磁界が印加されていない場合に原点検出用の磁気抵抗素子12からの出力により得られる原点信号S1(0mT)の波形と比較して歪んでいる。ここで、図5に示される本例の磁気式エンコーダ1の原点信号Sと図7に示される比較例の磁気式エンコーダ50に原点信号S1とを比較すれば、本例の磁気式エンコーダ1が、外部磁界の影響を受けず
に、原点Oを精度良く検出できることが明らかである。
However, when an external magnetic field of 0.4 mT is applied to the magnetic encoder 50, the origin signal S1 (0.4 mTY +), the origin signal S1 (0.4 mTY−), which can be acquired by the output from the magnetic resistance element 12, And the amplitude of the origin signal S1 (0.4 mTX) fluctuates as compared with the origin signal S obtained by the output from the magnetic resistance element 12 for detecting the origin when no external magnetic field is applied. Further, the origin signal S1 (0.4 mTY +) and the origin signal S1 (0.4 mTY-) obtained by the output from the magnetic resistance element 12 for detecting the origin when an external magnetic field of 0.4 mT is applied to the magnetic scale 2. , And the waveform of the origin signal S1 (0.4 mTX) is distorted as compared with the waveform of the origin signal S1 (0 mT) obtained by the output from the magnetic resistance element 12 for detecting the origin when no external magnetic field is applied. I'm out. Here, if the origin signal S of the magnetic encoder 1 of this example shown in FIG. 5 is compared with the origin signal S1 of the magnetic encoder 50 of the comparative example shown in FIG. 7, the magnetic encoder 1 of this example is obtained. It is clear that the origin O can be detected accurately without being affected by the external magnetic field.

なお、比較例の磁気式エンコーダ50では、2mTの外部磁界を印加した場合の原点信号S1をシミュレーションにより得ることは困難である。換言すれば、比較例の磁気式エンコーダ50において、2mTの外部磁界を印加した場合には、原点を検出することが困難である。 In the magnetic encoder 50 of the comparative example, it is difficult to obtain the origin signal S1 when an external magnetic field of 2 mT is applied by simulation. In other words, in the magnetic encoder 50 of the comparative example, it is difficult to detect the origin when an external magnetic field of 2 mT is applied.

次に、図8は、本例の磁気式エンコーダ50に印加する外部磁界を増大させた場合の原点信号Sの振幅の変化と、比較例の磁気式エンコーダ50に印加する外部磁界を増大させた場合の原点信号S1の振幅の変化とを示すグラフである。図8では、外部磁界を+X方向、+Y方向、-Y方向、+Z方向に印加した場合の振幅の変化をそれぞれ示す。 Next, FIG. 8 shows a change in the amplitude of the origin signal S when the external magnetic field applied to the magnetic encoder 50 of this example is increased, and an increase of the external magnetic field applied to the magnetic encoder 50 of the comparative example. It is a graph which shows the change of the amplitude of the origin signal S1 in the case. FIG. 8 shows changes in amplitude when an external magnetic field is applied in the + X direction, the + Y direction, the −Y direction, and the + Z direction, respectively.

図8に示すように、本例では、印加する外部磁界を増大させた場合でも、原点信号Sの振幅の低下は、ほとんどない。また、外部磁界の印加の方向に拘わらず、原点信号Sの振幅の低下は、ほとんどない。一方、比較例では、外部磁界の印加の方向に拘わらず、印加する外部磁界を増大させるのに伴って原点信号S1の振幅が顕著に低下する。従って、本例の磁気式エンコーダ50によれば、外部磁界の影響を受けずに、原点Oを精度良く検出できることが判る。 As shown in FIG. 8, in this example, there is almost no decrease in the amplitude of the origin signal S even when the applied external magnetic field is increased. Further, there is almost no decrease in the amplitude of the origin signal S regardless of the direction in which the external magnetic field is applied. On the other hand, in the comparative example, the amplitude of the origin signal S1 significantly decreases as the applied external magnetic field is increased regardless of the direction in which the external magnetic field is applied. Therefore, according to the magnetic encoder 50 of this example, it can be seen that the origin O can be detected accurately without being affected by the external magnetic field.

ここで、本例では、第1着磁パターン21の幅寸法D1と、第2着磁パターン22の直交方向の幅とは同一である。これにより、第1着磁パターン21および第2着磁パターン22により形成される回転磁界が均一なものとなる。従って、外部磁界が印加される方向に拘わらず、外部磁界が第1着磁パターン21および第2着磁パターン22の表面の回転磁界に及ぼす影響を低減できる。 Here, in this example, the width dimension D1 of the first magnetizing pattern 21 and the width of the second magnetizing pattern 22 in the orthogonal direction are the same. As a result, the rotating magnetic field formed by the first magnetizing pattern 21 and the second magnetizing pattern 22 becomes uniform. Therefore, regardless of the direction in which the external magnetic field is applied, the influence of the external magnetic field on the rotating magnetic fields on the surfaces of the first magnetizing pattern 21 and the second magnetizing pattern 22 can be reduced.

また、本例では、インクリメンタル信号用の磁気トラック5は、並列に延びる第1磁気トラック15、第2磁気トラック16、および第3磁気トラック17を備え、磁気スケール2の表面に、磁気スケール2の移動を検出するための回転磁界を発生させる。一方、インクリメンタル信号検出用の磁気抵抗素子は、第1磁気トラック15、第2磁気トラック16、および第3磁気トラック17により磁気スケール2の表面に発生している回転磁界を検出する。また、インクリメンタル信号取得用の磁気抵抗素子11は、その飽和感度領域を利用して回転磁界を検出する。従って、インクリメンタル信号についても、外部磁界の影響を受けずに、取得できる。 Further, in this example, the magnetic track 5 for the incremental signal includes a first magnetic track 15, a second magnetic track 16, and a third magnetic track 17 extending in parallel, and the magnetic scale 2 is mounted on the surface of the magnetic scale 2. Generates a rotating magnetic field to detect movement. On the other hand, the magnetoresistive element for detecting the incremental signal detects the rotating magnetic field generated on the surface of the magnetic scale 2 by the first magnetic track 15, the second magnetic track 16, and the third magnetic track 17. Further, the magnetoresistive element 11 for acquiring an incremental signal detects a rotating magnetic field by utilizing the saturation sensitivity region thereof. Therefore, the incremental signal can also be acquired without being affected by the external magnetic field.

(変形例1)
図9は変形例1の磁気式エンコーダ1Aの磁気スケール2の説明図である。図9では、第1着磁パターン21および第2着磁パターン22における残留磁束密度の強弱を、濃淡で示す。なお、変形例1の磁気式エンコーダ1Aは、磁気スケール2における第1着磁パターン21のN極の着磁領域の着磁方法およびS極の着磁領域の着磁方法、並びに、第2着磁パターン22のN極の着磁領域の着磁方法およびS極の着磁領域の着磁方法が上記の磁気式エンコーダ1Aと相違する。しかし、他の構成は、磁気式エンコーダ1Aと同一である。従って、第1着磁パターン21のN極の着磁領域およびS極の着磁領域、並びに、第2着磁パターン22のN極の着磁領域およびS極の着磁領域について説明して、他の説明は省略する。
(Modification 1)
FIG. 9 is an explanatory diagram of the magnetic scale 2 of the magnetic encoder 1A of the modification 1. In FIG. 9, the strength and weakness of the residual magnetic flux density in the first magnetizing pattern 21 and the second magnetizing pattern 22 are shown by shading. The magnetic encoder 1A of the first modification has a method of magnetizing the N pole magnetizing region and a method of magnetizing the S pole magnetizing region of the first magnetizing pattern 21 on the magnetic scale 2, and a second magnetizing method. The method of magnetizing the N-pole magnetizing region and the method of magnetizing the S-pole magnetizing region of the magnetic pattern 22 are different from the above-mentioned magnetic encoder 1A. However, other configurations are the same as the magnetic encoder 1A. Therefore, the N-pole magnetizing region and the S-pole magnetizing region of the first magnetizing pattern 21 and the N-pole magnetizing region and the S-pole magnetizing region of the second magnetizing pattern 22 will be described. Other explanations will be omitted.

本例では、第1着磁パターン21のN極の着磁領域では、原点Oから+Y方向に離れるのに伴って残留磁束密度が低下している。また、第1着磁パターン21のS極の着磁領域では、原点Oから-Y方向に離れるのに伴って残留磁束密度が低下している。同様に、第2着磁パターン22のS極の着磁領域では、原点Oから+Y方向に離れるのに伴って残留磁束密度が低下している。また、第2着磁パターン22のN極の着磁領域では、原点Oか
ら-Y方向に離れるのに伴って残留磁束密度が低下している。
In this example, in the magnetized region of the N pole of the first magnetizing pattern 21, the residual magnetic flux density decreases as the distance from the origin O increases in the + Y direction. Further, in the magnetized region of the S pole of the first magnetizing pattern 21, the residual magnetic flux density decreases as the distance from the origin O in the −Y direction increases. Similarly, in the magnetized region of the S pole of the second magnetizing pattern 22, the residual magnetic flux density decreases as the distance from the origin O increases in the + Y direction. Further, in the magnetized region of the N pole of the second magnetizing pattern 22, the residual magnetic flux density decreases as the distance from the origin O in the −Y direction increases.

さらに、本例では、第1着磁パターン21のN極の着磁領域では、+Y方向の端で残留磁束密度がゼロである。また、第1着磁パターン21のS極の着磁領域では、-Y方向の他方側の端で残留磁束密度がゼロである。同様に、第2着磁パターン22のS極の着磁領域では、+Y方向の端で残留磁束密度がゼロである。第2着磁パターン22のN極の着磁領域では、-Y方向の端で残留磁束密度がゼロである。 Further, in this example, in the magnetized region of the N pole of the first magnetizing pattern 21, the residual magnetic flux density is zero at the end in the + Y direction. Further, in the magnetized region of the S pole of the first magnetizing pattern 21, the residual magnetic flux density is zero at the other end in the −Y direction. Similarly, in the magnetized region of the S pole of the second magnetizing pattern 22, the residual magnetic flux density is zero at the end in the + Y direction. In the N-pole magnetizing region of the second magnetizing pattern 22, the residual magnetic flux density is zero at the end in the −Y direction.

図10は変形例1の磁気式エンコーダ1Aにより得られる原点信号Sの説明図である。図10(a)では、磁気式エンコーダ1Aに対して外部磁界が印加されていない場合の原点信号S(0mT)と、0.4mTの外部磁界が+Y方向に印加されている場合の原点信号S(0.4mTY)と、0.4mTの外部磁界が+Y方向に対して45°傾斜している方向に印加されている場合の原点信号S(0.4mT45°)と、0.4mTの外部磁界が+X方向に印加されている場合の原点信号S(0.4mTX)と、を重ねて示している。また、図10(b)では、磁気式エンコーダ1Aに対して外部磁界が印加されていない場合の原点信号S(0mT)と、2.0mTの外部磁界が+Y方向に印加されている場合の原点信号S(2mTY)と、2.0mTの外部磁界が+Y方向に対して45°傾斜している方向に印加されている場合の原点信号S(2mT45°)と、2.0mTの外部磁界が+X方向に印加されている場合の原点信号S(2mTX)と、を重ねて示している。原点信号Sの波形はシミュレーションにより取得した。図10に示す例において、原点信号用の着磁パターン6(第1着磁パターン21および第2着磁パターン22)の残留磁束密度は4mTである。 FIG. 10 is an explanatory diagram of the origin signal S obtained by the magnetic encoder 1A of the modification 1. In FIG. 10A, the origin signal S (0 mT) when an external magnetic field is not applied to the magnetic encoder 1A and the origin signal S when an external magnetic field of 0.4 mT is applied in the + Y direction. (0.4mTY), the origin signal S (0.4mT45 °) when an external magnetic field of 0.4mT is applied in a direction inclined by 45 ° with respect to the + Y direction, and an external magnetic field of 0.4mT. Is superimposed on the origin signal S (0.4 mTX) when is applied in the + X direction. Further, in FIG. 10B, the origin signal S (0 mT) when an external magnetic field is not applied to the magnetic encoder 1A and the origin signal when an external magnetic field of 2.0 mT is applied in the + Y direction. The signal S (2 mTY), the origin signal S (2 mT 45 °) when the external magnetic field of 2.0 mT is applied in the direction inclined by 45 ° with respect to the + Y direction, and the external magnetic field of 2.0 mT are + X. The origin signal S (2 mTX) when applied in the direction is superimposed and shown. The waveform of the origin signal S was acquired by simulation. In the example shown in FIG. 10, the residual magnetic flux density of the magnetizing pattern 6 for the origin signal (first magnetizing pattern 21 and second magnetizing pattern 22) is 4 mT.

図10(a)に示すように、磁気式エンコーダ1Aに対して外部磁界が印加されていない場合に原点検出用の磁気抵抗素子12からの出力により得られる原点信号S(0mT)は、原点Oにおいて一つの大きなピークが現れている。従って、本例の磁気式エンコーダ1Aによれば、原点信号Sのピークに基づいて原点Oを正確に検出できる。 As shown in FIG. 10A, the origin signal S (0 mT) obtained by the output from the magnetoresistive element 12 for origin detection when an external magnetic field is not applied to the magnetic encoder 1A is the origin O. One big peak appears in. Therefore, according to the magnetic encoder 1A of this example, the origin O can be accurately detected based on the peak of the origin signal S.

また、図10(a)に示すように、磁気式エンコーダ1Aに0.4mTの外部磁界が印加された場合に原点検出用の磁気抵抗素子12からの出力により得られる原点信号S(0.4mTY)、原点信号S(0.4mT45°)、原点信号S(0.4mTX)は、外部磁界が印加されていない場合に原点検出用の磁気抵抗素子12からの出力により得られる原点信号S(0mT)とほぼ一致している。すなわち、磁気スケール2に0.4mTの外部磁界が印加された場合でも、原点検出用の磁気抵抗素子12からの出力により得られる原点信号Sの振幅は、変化せず、原点信号Sの波形に歪みも発生していない。従って、本例の磁気式エンコーダ1Aによれば、磁気スケール2に0.4mTの外部磁界が印加された場合でも、原点信号Sに基づいて、原点Oを正確に取得できる。 Further, as shown in FIG. 10A, the origin signal S (0.4 mTY) obtained by the output from the magnetoresistive element 12 for detecting the origin when an external magnetic field of 0.4 mT is applied to the magnetic encoder 1A. ), The origin signal S (0.4 mT45 °), and the origin signal S (0.4 mTX) are the origin signal S (0 mT) obtained by the output from the magnetoresistive element 12 for detecting the origin when an external magnetic field is not applied. ) Is almost the same. That is, even when an external magnetic field of 0.4 mT is applied to the magnetic scale 2, the amplitude of the origin signal S obtained by the output from the magnetoresistive element 12 for origin detection does not change, and becomes the waveform of the origin signal S. No distortion has occurred. Therefore, according to the magnetic encoder 1A of this example, the origin O can be accurately acquired based on the origin signal S even when an external magnetic field of 0.4 mT is applied to the magnetic scale 2.

また、図10(b)に示すように、磁気式エンコーダ1Aに対して2.0mTの外部磁界が印加された場合に原点検出用の磁気抵抗素子12からの出力により得られる原点信号S(2mT45°)、原点信号S(2mTX)は、外部磁界が印加されていない場合に原点検出用の磁気抵抗素子12からの出力により得られる原点信号Sと比較して、振幅の減少が認められる。しかし、図10(b)に示すように、原点信号Sの振幅の減少はごく僅かである。また、外部磁界が印加された場合でも、原点信号Sの波形に歪みは発生していない。従って、本例の磁気式エンコーダ1Aによれば、磁気スケール2に2.0mTの外部磁界が印加された場合でも、原点信号Sに基づいて、原点Oを正確に取得できる。 Further, as shown in FIG. 10B, the origin signal S (2mT45) obtained by the output from the magnetoresistive element 12 for detecting the origin when an external magnetic field of 2.0 mT is applied to the magnetic encoder 1A. °), The origin signal S (2 mTX) has a reduced amplitude as compared with the origin signal S obtained by the output from the magnetoresistive element 12 for detecting the origin when no external magnetic field is applied. However, as shown in FIG. 10B, the decrease in the amplitude of the origin signal S is negligible. Further, even when an external magnetic field is applied, the waveform of the origin signal S is not distorted. Therefore, according to the magnetic encoder 1A of this example, the origin O can be accurately acquired based on the origin signal S even when an external magnetic field of 2.0 mT is applied to the magnetic scale 2.

このように、変形例1の磁気式エンコーダ1Aにいても、上記の磁気式エンコーダ1と同一の作用効果を得ることができる。 As described above, even in the magnetic encoder 1A of the modification 1, the same operation and effect as the above magnetic encoder 1 can be obtained.

(実施例2)
図11は実施例2の磁気式エンコーダの説明図である。図11では、磁気スケール2における第1着磁パターン21および第2着磁パターン22における残留磁束密度の強弱を、濃淡で示す。実施例2の磁気式エンコーダ1Bは、ロータリコンコーダである。本例の磁気式エンコーダ1Bは、実施例1の磁気式エンコーダ1と対応する構成を備えるので、対応する構成には同一の符号を付して、その説明を省略する。
(Example 2)
FIG. 11 is an explanatory diagram of the magnetic encoder of the second embodiment. In FIG. 11, the strength and weakness of the residual magnetic flux density in the first magnetizing pattern 21 and the second magnetizing pattern 22 in the magnetic scale 2 are shown by shading. The magnetic encoder 1B of the second embodiment is a rotary encoder. Since the magnetic encoder 1B of this example has a configuration corresponding to the magnetic encoder 1 of the first embodiment, the same reference numerals are given to the corresponding configurations, and the description thereof will be omitted.

磁気式エンコーダ1Bの磁気スケール2は円筒形状である。磁気スケール2の外周面には、インクリメンタル信号用の磁気トラック5と原点信号用の着磁パターン6が設けられている。磁気センサ3は、磁気スケール2の径方向の外側から磁気スケール2に対向する。磁気スケール2と磁気センサ3とは、磁気スケール2の軸線L回りの周方向で相対回転する。ここで、磁気センサ3は実施例1と同一である。 The magnetic scale 2 of the magnetic encoder 1B has a cylindrical shape. On the outer peripheral surface of the magnetic scale 2, a magnetic track 5 for an incremental signal and a magnetizing pattern 6 for an origin signal are provided. The magnetic sensor 3 faces the magnetic scale 2 from the radial outside of the magnetic scale 2. The magnetic scale 2 and the magnetic sensor 3 rotate relative to each other in the circumferential direction around the axis L of the magnetic scale 2. Here, the magnetic sensor 3 is the same as that of the first embodiment.

本例では、インクリメンタル信号用の磁気トラック5は環状である。また、原点信号用の着磁パターン6も環状である。原点信号用の着磁パターン6における第1着磁パターン21のN極の着磁領域では、原点Oから相対回転方向の一方側に離れるのに伴って残留磁束密度が低下している。第1着磁パターン21のS極の着磁領域では、原点Oから相対回転方向の他方側に離れるのに伴って残留磁束密度が低下している。同様に、原点信号用の着磁パターン6における第2着磁パターン22のS極の着磁領域では、原点Oから相対回転方向の一方側に離れるのに伴って残留磁束密度が低下している。第2着磁パターン22のN極の着磁領域では、原点Oから相対回転方向の他方側に離れるのに伴って残留磁束密度が低下している。 In this example, the magnetic track 5 for the incremental signal is annular. Further, the magnetizing pattern 6 for the origin signal is also annular. In the magnetizing region of the N pole of the first magnetizing pattern 21 in the magnetizing pattern 6 for the origin signal, the residual magnetic flux density decreases as the distance from the origin O becomes one side in the relative rotation direction. In the magnetized region of the S pole of the first magnetizing pattern 21, the residual magnetic flux density decreases as the origin O moves away from the other side in the relative rotation direction. Similarly, in the magnetized region of the S pole of the second magnetizing pattern 22 in the magnetizing pattern 6 for the origin signal, the residual magnetic flux density decreases as the distance from the origin O becomes one side in the relative rotation direction. .. In the magnetized region of the N pole of the second magnetizing pattern 22, the residual magnetic flux density decreases as the origin O moves away from the other side in the relative rotation direction.

また、第1着磁パターン21のN極の着磁領域では、相対回転方向の一方側の端で残留磁束密度がゼロである。第1着磁パターン21のS極の着磁領域では、相対回転方向の他方側の他方側の端で残留磁束密度がゼロである。そして、第1着磁パターン21のN極の着磁領域の一方側の端と、第1着磁パターン21のS極の着磁領域の他方側の端とは、連続している。同様に、第2着磁パターン22のS極の着磁領域では、相対回転方向の一方側の端で残留磁束密度がゼロである。第2着磁パターン22のN極の着磁領域では、相対回転方向の他方側の端で残留磁束密度がゼロである。そして、第2着磁パターン22のS極の着磁領域の一方側の端と、第2着磁パターン22のN極の着磁領域の他方側の端とは、連続している。 Further, in the magnetized region of the N pole of the first magnetizing pattern 21, the residual magnetic flux density is zero at one end in the relative rotation direction. In the magnetized region of the S pole of the first magnetizing pattern 21, the residual magnetic flux density is zero at the other end on the other side in the relative rotation direction. Then, one end of the magnetizing region of the N pole of the first magnetizing pattern 21 and the other end of the magnetizing region of the S pole of the first magnetizing pattern 21 are continuous. Similarly, in the magnetized region of the S pole of the second magnetizing pattern 22, the residual magnetic flux density is zero at one end in the relative rotation direction. In the N-pole magnetizing region of the second magnetizing pattern 22, the residual magnetic flux density is zero at the other end in the relative rotation direction. Then, one end of the magnetizing region of the S pole of the second magnetizing pattern 22 and the other end of the magnetizing region of the N pole of the second magnetizing pattern 22 are continuous.

本例の磁気式エンコーダ1Bにおいても、実施例1の磁気式エンコーダ1Bと同様の作用効果を得ることができる。 Also in the magnetic encoder 1B of this example, the same effect as that of the magnetic encoder 1B of the first embodiment can be obtained.

(実施例3)
図12は実施例3の磁気式エンコーダの説明図である。図12では、第1着磁パターン21および第2着磁パターン22における残留磁束密度の強弱を、濃淡で示す。実施例3の磁気式エンコーダ1Cは、ロータリコンコーダである。本例の磁気式エンコーダ1Cは、実施例2の磁気式エンコーダ1と対応する構成を備えるので、対応する構成には同一の符号を付して、その説明を省略する。
(Example 3)
FIG. 12 is an explanatory diagram of the magnetic encoder of the third embodiment. In FIG. 12, the strength and weakness of the residual magnetic flux density in the first magnetizing pattern 21 and the second magnetizing pattern 22 are shown by shading. The magnetic encoder 1C of the third embodiment is a rotary encoder. Since the magnetic encoder 1C of this example has a configuration corresponding to the magnetic encoder 1 of the second embodiment, the same reference numerals are given to the corresponding configurations, and the description thereof will be omitted.

本例では、磁気スケール2を円盤状として、その軸線L方向の一方の面に、環状のインクリメンタル信号用の磁気トラック5を設ける。また、インクリメンタル信号用の磁気トラック5の外周側、或いは、内周側に、インクリメンタル信号用の磁気トラック5と隙間14を開けて環状の原点信号用の着磁パターン6を設ける。磁気センサ3は、軸線L方向から磁気スケール2に対向させる。 In this example, the magnetic scale 2 has a disk shape, and an annular magnetic track 5 for an incremental signal is provided on one surface in the L direction of the axis. Further, on the outer peripheral side or the inner peripheral side of the magnetic track 5 for the incremental signal, a magnetic track 5 for the incremental signal and a gap 14 are opened to provide a magnetizing pattern 6 for the annular origin signal. The magnetic sensor 3 faces the magnetic scale 2 from the L direction of the axis.

本例の磁気式エンコーダ1Cにおいても、実施例1の磁気式エンコーダ1Bと同様の作
用効果を得ることができる。
Also in the magnetic encoder 1C of this example, the same effect as that of the magnetic encoder 1B of the first embodiment can be obtained.

(その他の実施の形態)
上記の例では、磁気スケール2と磁気センサ3との相対移動方向において、原点信号用の着磁パターン6をインクリメンタル信号用の磁気トラック5の全域に設けているが、原点信号用の着磁パターン6をインクリメンタル信号用の磁気トラック5の全長より短くしてもよい。この場合でも、磁気センサ3によって原点信号用の着磁パターン6の回転磁界を検出して原点を取得すれば、比較例の磁気式エンコーダ50のように強弱磁界を検出して原点を取得する場合と比較して、外部磁界の影響が少ない。
(Other embodiments)
In the above example, in the relative movement direction between the magnetic scale 2 and the magnetic sensor 3, the magnetizing pattern 6 for the origin signal is provided in the entire area of the magnetic track 5 for the incremental signal, but the magnetizing pattern for the origin signal is provided. 6 may be shorter than the total length of the magnetic track 5 for the incremental signal. Even in this case, if the magnetic sensor 3 detects the rotating magnetic field of the magnetizing pattern 6 for the origin signal and acquires the origin, the strong and weak magnetic fields are detected and the origin is acquired as in the magnetic encoder 50 of the comparative example. Compared to, the influence of the external magnetic field is small.

ここで、原点信号用の着磁パターン6を、インクリメンタル信号用の磁気トラック5の全長よりも短くする場合には、実施例2の磁気式エンコーダ1Aの磁気スケールと同様に、原点信号用の着磁パターン6における第1着磁パターン21のN極の着磁領域では、原点Oから相対回転方向の一方側に離れるのに伴って残留磁束密度を低下させる。第1着磁パターン21のS極の着磁領域では、原点Oから相対回転方向の他方側に離れるのに伴って残留磁束密度を低下させる。同様に、原点信号用の着磁パターン6における第2着磁パターン22のS極の着磁領域では、原点Oから相対回転方向の一方側に離れるのに伴って残留磁束密度を低下させる。第2着磁パターン22のN極の着磁領域では、原点Oから相対回転方向の他方側に離れるのに伴って残留磁束密度を低下させる。このようにすれば、原点信号用の着磁パターン6Yにおける相対移動方向の両端で強弱時間が発生することを防止或いは抑制できる。 Here, when the magnetizing pattern 6 for the origin signal is shorter than the total length of the magnetic track 5 for the incremental signal, the magnetizing for the origin signal is similar to the magnetic scale of the magnetic encoder 1A of the second embodiment. In the magnetizing region of the N pole of the first magnetizing pattern 21 in the magnetic pattern 6, the residual magnetic flux density decreases as the magnetism pattern 6 moves away from the origin O on one side in the relative rotation direction. In the magnetized region of the S pole of the first magnetizing pattern 21, the residual magnetic flux density is lowered as the origin O moves away from the other side in the relative rotation direction. Similarly, in the magnetizing region of the S pole of the second magnetizing pattern 22 in the magnetizing pattern 6 for the origin signal, the residual magnetic flux density is lowered as the distance from the origin O to one side in the relative rotation direction. In the magnetized region of the N pole of the second magnetizing pattern 22, the residual magnetic flux density is lowered as the origin O moves away from the other side in the relative rotation direction. By doing so, it is possible to prevent or suppress the occurrence of strength and weakness times at both ends in the relative movement direction in the magnetizing pattern 6Y for the origin signal.

また、原点信号用の着磁パターン6を、インクリメンタル信号用の磁気トラック5の全長よりも短くする場合には、相対移動方向で磁気スケール2に複数の原点0を設定し、各原点0に原点信号用の着磁パターン6を設けることができる。このようにすれば、磁気式エンコーダにより複数の原点を検出できる。 Further, when the magnetizing pattern 6 for the origin signal is made shorter than the total length of the magnetic track 5 for the incremental signal, a plurality of origins 0 are set in the magnetic scale 2 in the relative movement direction, and the origins are set at each origin 0. A magnetizing pattern 6 for a signal can be provided. In this way, a plurality of origins can be detected by the magnetic encoder.

なお、上記の例では、インクリメンタル信号の取得に回転磁界を利用しているが、インクリメンタル信号の取得に強弱磁界を利用してもよい。この場合には、磁気スケール2に設けるインクリメンタル信号用の磁気トラック5は、第1磁気トラック15のみとすることができる。 In the above example, the rotating magnetic field is used for acquiring the incremental signal, but a strong or weak magnetic field may be used for acquiring the incremental signal. In this case, the magnetic track 5 for the incremental signal provided on the magnetic scale 2 may be only the first magnetic track 15.

また、センサ基板8の基板面8aに、インクリメンタル信号検出用の磁気抵抗素子の+a相の磁気抵抗パターン、-a相の磁気抵抗パターン、+b相の磁気抵抗パターン、および、-b相の磁気抵抗パターンを積層して設けてもよい。この場合には、インクリメンタル信号用の磁気トラック5は、例えば、第1磁気トラック15と第2磁気トラック16の2本とすることができる。また、この場合には、センサ基板8上に積層したインクリメンタル信号検出用の磁気抵抗素子が、第1磁気トラック15と第2磁気トラック16との境界を跨いで磁気スケール2に対向するものとする。 Further, on the substrate surface 8a of the sensor substrate 8, the + a phase magnetic resistance pattern, the −a phase magnetic resistance pattern, the + b phase magnetic resistance pattern, and the −b phase magnetic resistance of the magnetic resistance element for detecting the incremental signal. The patterns may be laminated and provided. In this case, there may be two magnetic tracks 5 for the incremental signal, for example, a first magnetic track 15 and a second magnetic track 16. Further, in this case, the magnetoresistive element for detecting the incremental signal laminated on the sensor substrate 8 is assumed to face the magnetic scale 2 across the boundary between the first magnetic track 15 and the second magnetic track 16. ..

1・1A・1B・1C…磁気式エンコーダ、2…磁気スケール、3…磁気センサ、5…インクリメンタル信号用の磁気トラック、6…原点信号用の磁気パターン、7…ホルダ、7a…対向面、8…センサ基板、8a…基板面、9…ケーブル、10…開口部、11…インクリメンタル信号取得用の磁気抵抗素子、12…原点検出用の磁気抵抗素子、14…隙間、15…第1磁気トラック、16…第2磁気トラック、17…第3磁気トラック、21…第1着磁パターン、22…第2着磁パターン、31…A相の磁気抵抗パターン、31(+a)…+a相の磁気抵抗パターン、31(-a)…-a相の磁気抵抗パターン、32…B相の磁気抵抗パターン、32(+b)…+b相の磁気抵抗パターン、32(-b)…-b相の磁気抵抗パターン、35…Z相の磁気抵抗パターン、35(+z)…+z相の磁気抵
抗パターン、35(-z)…-z相の磁気抵抗パターン、50…比較例の磁気式エンコーダ、51…比較例における原点信号用の着磁パターン、S・S1…原点信号
1.1A, 1B, 1C ... Magnetic encoder, 2 ... Magnetic scale, 3 ... Magnetic sensor, 5 ... Magnetic track for incremental signal, 6 ... Magnetic pattern for origin signal, 7 ... Holder, 7a ... Facing surface, 8 ... Sensor board, 8a ... Board surface, 9 ... Cable, 10 ... Opening, 11 ... Magnetic resistance element for acquiring incremental signal, 12 ... Magnetic resistance element for origin detection, 14 ... Gap, 15 ... First magnetic track, 16 ... 2nd magnetic track, 17 ... 3rd magnetic track, 21 ... 1st magnetizing pattern, 22 ... 2nd magnetizing pattern, 31 ... A phase magnetic resistance pattern, 31 (+ a) ... + a phase magnetic resistance pattern , 31 (-a) ...- a phase magnetic resistance pattern, 32 ... B phase magnetic resistance pattern, 32 (+ b) ... + b phase magnetic resistance pattern, 32 (-b) ...- b phase magnetic resistance pattern, 35 ... Z-phase magnetic resistance pattern, 35 (+ z) ... + z-phase magnetic resistance pattern, 35 (-z) ...- z-phase magnetic resistance pattern, 50 ... magnetic encoder of comparative example, 51 ... origin in comparative example Magnetization pattern for signal, S / S1 ... Origin signal

Claims (9)

磁気スケールと、
前記磁気スケールの移動を検出する磁気センサと、を有し、
前記磁気スケールは、前記磁気スケールと前記磁気センサとの相対移動方向において予め定めた原点を境にN極とS極とが並ぶ第1着磁パターンと、前記相対移動方向と直交する直交方向で前記第1着磁パターンの隣に接して設けられ、前記相対移動方向で前記原点を境にS極とN極とが並び、前記直交方向において前記第1着磁パターンのN極の隣にS極が位置し、前記第1着磁パターンのS極の隣にN極が位置する第2着磁パターンと、を備え、
前記磁気センサは、前記磁気スケールの原点を検出するための原点検出用の磁気抵抗素子を備え、
前記原点検出用の磁気抵抗素子は、前記相対移動方向に感磁方向を向け、前記第1着磁パターンと前記第2着磁パターンとの境界を跨いで前記磁気スケールに対向することを特徴とする磁気式エンコーダ。
With a magnetic scale,
It has a magnetic sensor that detects the movement of the magnetic scale, and has.
The magnetic scale has a first magnetizing pattern in which N poles and S poles are lined up with a predetermined origin as a boundary in the relative movement direction between the magnetic scale and the magnetic sensor, and a direction orthogonal to the relative movement direction. It is provided adjacent to the first magnetizing pattern, and the S pole and the N pole are lined up with the origin as the boundary in the relative moving direction, and S next to the N pole of the first magnetizing pattern in the orthogonal direction. A second magnetizing pattern in which a pole is located and an N pole is located next to the S pole of the first magnetizing pattern is provided.
The magnetic sensor includes a magnetoresistive element for detecting the origin for detecting the origin of the magnetic scale.
The magnetoresistive element for detecting the origin is characterized in that the magnetic resistance element is directed in the relative movement direction and faces the magnetic scale across the boundary between the first magnetizing pattern and the second magnetizing pattern. Magnetic encoder.
前記磁気スケールは、前記相対移動方向に沿ってN極とS極とが交互に複数配列された第1磁気トラックを有し、
前記第1磁気トラックは、前記直交方向で前記第1着磁パターンの前記第2着磁パターンとは反対側に、前記第1着磁パターンと隙間を開けて設けられており、
前記第1着磁パターンのN極の着磁領域は、前記相対移動方向で前記原点の一方側に位置し、前記相対移動方向を前記原点から前記第1磁気トラックの前記一方側の端まで延びており、
前記第1着磁パターンのS極の着磁領域は、前記相対移動方向で前記原点の他方側に位置し、前記相対移動方向を前記原点から前記第1磁気トラックの前記他方側の端まで延びており、
前記第2着磁パターンのS極の着磁領域は、前記相対移動方向で前記原点の一方側に位置し、前記相対移動方向を前記原点から前記第1磁気トラックの前記一方側の端まで延びており、
前記第2着磁パターンのN極の着磁領域は、前記相対移動方向で前記原点の他方側に位置し、前記相対移動方向を前記原点から前記第1磁気トラックの前記他方側の端まで延びていることを特徴とする請求項1に記載の磁気式エンコーダ。
The magnetic scale has a first magnetic track in which a plurality of N poles and S poles are alternately arranged along the relative moving direction.
The first magnetic track is provided in the orthogonal direction on the side opposite to the second magnetizing pattern of the first magnetizing pattern with a gap from the first magnetizing pattern.
The N-pole magnetizing region of the first magnetizing pattern is located on one side of the origin in the relative movement direction, and extends the relative movement direction from the origin to the one end of the first magnetic track. And
The magnetized region of the S pole of the first magnetizing pattern is located on the other side of the origin in the relative moving direction, and the relative moving direction extends from the origin to the other end of the first magnetic track. And
The magnetized region of the S pole of the second magnetizing pattern is located on one side of the origin in the relative moving direction, and the relative moving direction extends from the origin to the one end of the first magnetic track. And
The N-pole magnetizing region of the second magnetizing pattern is located on the other side of the origin in the relative movement direction, and extends the relative movement direction from the origin to the other end of the first magnetic track. The magnetic encoder according to claim 1, wherein the magnetic encoder is characterized by the above.
前記第1磁気トラックは、直線状に延びており、
前記第1着磁パターンのN極の着磁領域では、残留磁束密度は一定であり、
前記第1着磁パターンのS極の着磁領域では、残留磁束密度は一定であり、
前記第2着磁パターンのS極の着磁領域では、残留磁束密度は一定であり、
前記第2着磁パターンのN極の着磁領域では、残留磁束密度は一定であることを特徴とする請求項2に記載の磁気式エンコーダ。
The first magnetic track extends linearly and
In the N-pole magnetizing region of the first magnetizing pattern, the residual magnetic flux density is constant.
In the magnetized region of the S pole of the first magnetizing pattern, the residual magnetic flux density is constant.
In the magnetized region of the S pole of the second magnetizing pattern, the residual magnetic flux density is constant.
The magnetic encoder according to claim 2, wherein the residual magnetic flux density is constant in the N-pole magnetizing region of the second magnetizing pattern.
前記第1着磁パターンのN極の着磁領域では、前記原点から前記相対移動方向に離れるのに伴って残留磁束密度が低下し、
前記第1着磁パターンのS極の着磁領域では、前記原点から前記相対移動方向に離れるのに伴って残留磁束密度が低下し、
前記第2着磁パターンのS極の着磁領域では、前記原点から前記相対移動方向に離れるのに伴って残留磁束密度が低下し、
前記第2着磁パターンのN極の着磁領域では、前記原点から前記相対移動方向に離れるのに伴って残留磁束密度が低下することを特徴とする請求項2に記載の磁気式エンコーダ。
In the N-pole magnetizing region of the first magnetizing pattern, the residual magnetic flux density decreases as the distance from the origin moves in the relative moving direction.
In the magnetized region of the S pole of the first magnetizing pattern, the residual magnetic flux density decreases as the distance from the origin moves in the relative moving direction.
In the magnetized region of the S pole of the second magnetizing pattern, the residual magnetic flux density decreases as the distance from the origin moves in the relative moving direction.
The magnetic encoder according to claim 2, wherein in the magnetized region of the N pole of the second magnetizing pattern, the residual magnetic flux density decreases as the distance from the origin moves in the relative moving direction.
前記第1着磁パターンのN極の着磁領域では、前記相対移動方向の一方側の端で残留磁束密度がゼロであり、
前記第1着磁パターンのS極の着磁領域では、前記相対移動方向の他方側の端で残留磁束密度がゼロであり、
前記第2着磁パターンのS極の着磁領域では、前記相対移動方向の一方側の端で残留磁束密度がゼロであり、
前記第2着磁パターンのN極の着磁領域では、前記相対移動方向の他方側の端で残留磁束密度がゼロであることを特徴とする請求項4に記載の磁気式エンコーダ。
In the N-pole magnetizing region of the first magnetizing pattern, the residual magnetic flux density is zero at one end in the relative moving direction.
In the magnetized region of the S pole of the first magnetizing pattern, the residual magnetic flux density is zero at the other end in the relative moving direction.
In the magnetized region of the S pole of the second magnetizing pattern, the residual magnetic flux density is zero at one end in the relative moving direction.
The magnetic encoder according to claim 4, wherein in the magnetized region of the N pole of the second magnetizing pattern, the residual magnetic flux density is zero at the other end in the relative moving direction.
前記第1磁気トラックは、円環状であり、
前記第1着磁パターンのN極の着磁領域の前記相対移動方向の一方側の端と、前記第1着磁パターンのS極の着磁領域の前記相対移動方向の他方側の端とが連続しており、
前記第2着磁パターンのS極の着磁領域の前記相対移動方向の一方側の端と、前記第2着磁パターンのN極の着磁領域の前記相対移動方向の他方側の端とが連続していることを特徴とする請求項5に記載の磁気式エンコーダ。
The first magnetic track is annular and has an annular shape.
One end of the N pole magnetizing region of the first magnetizing pattern in the relative moving direction and the other end of the S pole magnetizing region of the first magnetizing pattern in the relative moving direction are It is continuous and
One end of the magnetized region of the S pole of the second magnetizing pattern in the relative moving direction and the other end of the magnetized region of the N pole of the second magnetizing pattern in the relative moving direction are The magnetic encoder according to claim 5, which is continuous.
前記第1着磁パターンの前記直交方向の幅と、前記第2着磁パターンの前記直交方向の幅とは同一であることを特徴とする請求項2から6のうちのいずれか一項に記載の磁気式エンコーダ。 The invention according to any one of claims 2 to 6, wherein the width of the first magnetizing pattern in the orthogonal direction and the width of the second magnetizing pattern in the orthogonal direction are the same. Magnetic encoder. 前記磁気スケールは、前記第1磁気トラックの前記第1着磁パターンとは反対側に当該第1磁気トラックと接して設けられ当該第1磁気トラックと平行に延びる第2磁気トラック、および、前記第2磁気トラックの前記第1磁気トラックとは反対側に当該第2磁気トラックと接して設けられ当該第2トラックと平行に延びる第3磁気トラック、を備え、
前記第2磁気トラックでは、前記相対移動方向に沿ってS極とN極とが交互に複数配列され、前記直交方向において前記第1磁気トラックのN極の隣にS極が位置し、前記第1磁気トラックのS極の隣にN極が位置し、
前記第3磁気トラックでは、前記相対移動方向に沿ってS極とN極とが交互に複数配列され、前記直交方向において前記第2磁気トラックのN極の隣にS極が位置し、前記第2磁気トラックのS極の隣にN極が位置することを特徴とする請求項2から7のうちのいずれか一項に記載の磁気式エンコーダ。
The magnetic scale is provided in contact with the first magnetic track on the side opposite to the first magnetizing pattern of the first magnetic track, and extends in parallel with the first magnetic track, and the first magnetic scale. A third magnetic track, which is provided in contact with the second magnetic track and extends in parallel with the second magnetic track, is provided on the side of the magnetic track opposite to the first magnetic track.
In the second magnetic track, a plurality of S poles and N poles are alternately arranged along the relative movement direction, and the S pole is located next to the N pole of the first magnetic track in the orthogonal direction, and the second pole is located. 1 The north pole is located next to the south pole of the magnetic track,
In the third magnetic track, a plurality of S poles and N poles are alternately arranged along the relative movement direction, and the S pole is located next to the N pole of the second magnetic track in the orthogonal direction. 2. The magnetic encoder according to any one of claims 2 to 7, wherein the N pole is located next to the S pole of the magnetic track.
前記磁気センサは、90°の位相差をもって前記磁気スケールの移動を検出するA相の磁気抵抗パターンおよびB相の磁気抵抗パターンを備え、
前記A相の磁気抵抗パターンは、180°の位相差を持って前記磁気スケールの移動を検出する+a相の磁気抵抗パターンおよび-a相の磁気抵抗パターンを備え、
前記B相の磁気抵抗パターンは、180°の位相差を持って前記磁気スケールの移動を検出する+b相の磁気抵抗パターンおよび-b相の磁気抵抗パターンを備え、
前記+a相の磁気抵抗パターンと、前記+b相の磁気抵抗パターンおよび前記-b相の磁気抵抗パターンの一方とは、前記相対移動方向に感磁方向を向け、前記第1磁気トラックと前記第2磁気トラックとの境界を跨いで前記磁気スケールと対向し、
前記-a相の磁気抵抗パターンと、前記+b相の磁気抵抗パターンおよび前記-b相の磁気抵抗パターンの他方とは、前記相対移動方向に感磁方向を向け、前記第2磁気トラックと前記第3磁気トラックとの境界を跨いで前記磁気スケールと対向することを特徴とする請求項8に記載の磁気式エンコーダ。
The magnetic sensor includes a phase A magnetoresistance pattern and a phase B magnetoresistance pattern that detect the movement of the magnetic scale with a phase difference of 90 °.
The A-phase reluctance pattern includes a + a-phase reluctance pattern and a -a-phase reluctance pattern that detect the movement of the magnetic scale with a phase difference of 180 °.
The B-phase reluctance pattern includes a + b-phase reluctance pattern and a −b-phase reluctance pattern that detect the movement of the magnetic scale with a phase difference of 180 °.
One of the + a phase magnetic resistance pattern, the + b phase magnetic resistance pattern, and the −b phase magnetic resistance pattern directs the magnetic sensitivity direction in the relative movement direction, and the first magnetic track and the second magnetic resistance pattern. Facing the magnetic scale across the boundary with the magnetic track,
The other of the −a phase magnetic resistance pattern, the + b phase magnetic resistance pattern, and the −b phase magnetic resistance pattern is directed to the magnetic sensitivity direction in the relative movement direction, and the second magnetic track and the second magnetic track. 3. The magnetic encoder according to claim 8, wherein the magnetic encoder straddles the boundary with the magnetic track and faces the magnetic scale.
JP2018107423A 2018-06-05 2018-06-05 Magnetic encoder Active JP7064966B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2018107423A JP7064966B2 (en) 2018-06-05 2018-06-05 Magnetic encoder
CN201910460946.9A CN110567353B (en) 2018-06-05 2019-05-30 Magnetic encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018107423A JP7064966B2 (en) 2018-06-05 2018-06-05 Magnetic encoder

Publications (2)

Publication Number Publication Date
JP2019211327A JP2019211327A (en) 2019-12-12
JP7064966B2 true JP7064966B2 (en) 2022-05-11

Family

ID=68773618

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018107423A Active JP7064966B2 (en) 2018-06-05 2018-06-05 Magnetic encoder

Country Status (2)

Country Link
JP (1) JP7064966B2 (en)
CN (1) CN110567353B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001165700A (en) 1999-09-30 2001-06-22 Sankyo Seiki Mfg Co Ltd Magnetic position or moving speed detecting device
JP2007198847A (en) 2006-01-25 2007-08-09 Ntn Corp Rolling bearing with rotation sensor
JP2007271608A (en) 2006-03-06 2007-10-18 Nidec Sankyo Corp Magnetometric sensor device and magnetic encoder device
US20150091554A1 (en) 2012-04-20 2015-04-02 The Timken Company Magnetic encoder for producing an index signal
JP2016194486A (en) 2015-04-01 2016-11-17 株式会社デンソー Magnetic ring and rotation sensor including the same
JP2017143206A (en) 2016-02-12 2017-08-17 Ntn株式会社 Magnetization device for magnetic linear encoder and manufacturing method

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07107486B2 (en) * 1988-03-25 1995-11-15 富士通株式会社 Rotary positioner
JPH074986A (en) * 1993-01-21 1995-01-10 Nippondenso Co Ltd Reference position detector
JP2004257850A (en) * 2003-02-26 2004-09-16 Fanuc Ltd Rotary encoder
JP5073183B2 (en) * 2005-07-08 2012-11-14 日本電産サンキョー株式会社 Magnetic encoder
CN101936750A (en) * 2006-03-06 2011-01-05 日本电产三协株式会社 The manufacture method of magnetic scale
JP2015114138A (en) * 2013-12-10 2015-06-22 日本電産サンキョー株式会社 Magnetic sensor device, magnetic encoder device, and magnetic sensor
CN104698408A (en) * 2013-12-10 2015-06-10 日本电产三协株式会社 Magnetic sensor device and magnetic encoder device
JP2016038294A (en) * 2014-08-07 2016-03-22 日本電産サンキョー株式会社 Magnetic linear encoder
JP6634276B2 (en) * 2015-12-04 2020-01-22 日本電産サンキョー株式会社 Position detection device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001165700A (en) 1999-09-30 2001-06-22 Sankyo Seiki Mfg Co Ltd Magnetic position or moving speed detecting device
JP2007198847A (en) 2006-01-25 2007-08-09 Ntn Corp Rolling bearing with rotation sensor
JP2007271608A (en) 2006-03-06 2007-10-18 Nidec Sankyo Corp Magnetometric sensor device and magnetic encoder device
US20150091554A1 (en) 2012-04-20 2015-04-02 The Timken Company Magnetic encoder for producing an index signal
JP2016194486A (en) 2015-04-01 2016-11-17 株式会社デンソー Magnetic ring and rotation sensor including the same
JP2017143206A (en) 2016-02-12 2017-08-17 Ntn株式会社 Magnetization device for magnetic linear encoder and manufacturing method

Also Published As

Publication number Publication date
JP2019211327A (en) 2019-12-12
CN110567353A (en) 2019-12-13
CN110567353B (en) 2021-08-24

Similar Documents

Publication Publication Date Title
US6118271A (en) Position encoder using saturable reactor interacting with magnetic fields varying with time and with position
KR101597639B1 (en) Absolute encoder device and motor
JP5245114B2 (en) Position detection device
JP5079816B2 (en) Preferably a magnetic position sensor having a magnet shape that varies pseudo-sinusoidally.
JP5666886B2 (en) Rotary encoder
US9719805B2 (en) Position detecting device
WO2011152266A1 (en) Magnetic encoder
US9182249B2 (en) Rotation angle detection device
KR20140138253A (en) Magnetic rotation angle detector
WO2016021401A1 (en) Magnetic linear encoder
WO2017094828A1 (en) Position detection device
US11512982B2 (en) Electromagnetic measuring system for detecting length and angle on the basis of the magnetoimpedance effect
JP7463593B2 (en) Magnetic sensor system and lens position detection device
JP7064966B2 (en) Magnetic encoder
JP6387788B2 (en) Magnetic medium for magnetic encoder, magnetic encoder, and method for manufacturing magnetic medium
CN111492206B (en) Electromagnetic measuring system for distance or angle measurement based on the magnetoresistive effect
JP4506960B2 (en) Moving body position detection device
CN108291821B (en) Position detecting device
JP4775705B2 (en) Magnetic absolute encoder
JP2021076503A (en) Magnetic rotation position detection device
JP2005043209A (en) Magnetic detection device
Voss et al. Modern scale based magneto resistive sensors systems
JP2021071334A (en) Magnetic position detecting device
JP2001099681A (en) Magnetic encoder apparatus
JP2006105757A (en) Magnetic detection device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210521

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220323

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220425

R150 Certificate of patent or registration of utility model

Ref document number: 7064966

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150