JP2012127736A - Magnetic sensor - Google Patents

Magnetic sensor Download PDF

Info

Publication number
JP2012127736A
JP2012127736A JP2010277970A JP2010277970A JP2012127736A JP 2012127736 A JP2012127736 A JP 2012127736A JP 2010277970 A JP2010277970 A JP 2010277970A JP 2010277970 A JP2010277970 A JP 2010277970A JP 2012127736 A JP2012127736 A JP 2012127736A
Authority
JP
Japan
Prior art keywords
angle
magnetic field
sensor
magnetic
intensity
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.)
Granted
Application number
JP2010277970A
Other languages
Japanese (ja)
Other versions
JP5187538B2 (en
Inventor
Nozomi Hachisuga
望 蜂須賀
Hiroshi Hirabayashi
啓 平林
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.)
TDK Corp
Original Assignee
TDK 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 TDK Corp filed Critical TDK Corp
Priority to JP2010277970A priority Critical patent/JP5187538B2/en
Publication of JP2012127736A publication Critical patent/JP2012127736A/en
Application granted granted Critical
Publication of JP5187538B2 publication Critical patent/JP5187538B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Transmission And Conversion Of Sensor Element Output (AREA)
  • Measuring Magnetic Variables (AREA)
  • Hall/Mr Elements (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a magnetic sensor capable of accurately detecting, as an angle, a direction of a magnetic field with influence of intensity of the magnetic field eliminated.SOLUTION: A first sensor part 120 includes one or more magnetoresistance effect elements to be magnetically saturated by a magnetic field to be measured and outputs angle signals V1 and V2 in accordance with a direction of the magnetic field. A magnetoresistance effect element 30 of a second sensor part 130 is not magnetically saturated by the magnetic field B to be measured, and therefore, it may detect intensity of the magnetic field in an unsaturated region of its characteristic, namely, in a region where an output voltage is linearly changed against intensity change of the magnetic field. In a magnetic sensor of this invention, since a calculated value of an angle is corrected in accordance with an intensity signal V3, an angle error depending upon the intensity H of the magnetic field B to be measured may be reduced, so that a direction of the magnetic field may be accurately detected as an angle.

Description

本発明は、磁気抵抗効果素子を用いた磁気センサに関する。   The present invention relates to a magnetic sensor using a magnetoresistive effect element.

磁気抵抗効果素子を用いた磁気センサは、産業上、様々な分野で利用されており、例えば、自動車の分野では、ステアリングの回転角度検出や速度検出に用いられている。磁気センサには、特許文献1及び2に開示されているように、磁気抵抗効果素子から構成されたブリッジ回路が一般的に用いられている。ブリッジ回路において、磁気抵抗効果素子は、製造時の特性のばらつきに起因する出力誤差が生じないように磁化飽和領域で動作する。   Magnetic sensors using magnetoresistive elements are used in various fields in the industry. For example, in the field of automobiles, they are used for detecting the rotation angle and speed of a steering wheel. As a magnetic sensor, as disclosed in Patent Documents 1 and 2, a bridge circuit composed of a magnetoresistive element is generally used. In the bridge circuit, the magnetoresistive effect element operates in the magnetization saturation region so that an output error caused by variation in characteristics during manufacture does not occur.

この種の磁気センサは、測定対象である磁界の向きに対するセンサ応答の誤差が、該磁界の強度に依存して変化することが知られている。これは、とりわけ、磁界を発生させる磁気センサの取付位置に誤差がある場合に問題となる。発明者の試算によると、例えば、磁界の強度が300(Oe)から200(Oe)まで低下すると、角度誤差がおよそ0.6(deg.)から1.1(deg.)となり、約2倍に増加する場合があることがわかっている。   In this type of magnetic sensor, it is known that an error in sensor response with respect to the direction of a magnetic field to be measured changes depending on the strength of the magnetic field. This becomes a problem particularly when there is an error in the mounting position of the magnetic sensor that generates the magnetic field. According to the inventor's estimation, for example, when the strength of the magnetic field is reduced from 300 (Oe) to 200 (Oe), the angle error is about 0.6 (deg.) To 1.1 (deg.), Which is about twice. It is known that there may be an increase.

また、特許文献1には、互いの差が正確に90度をなすべき、異なる磁気抵抗効果素子のピンド層同士の磁化方向の誤差を補償する技術が開示されており、一方、特許文献2には、波形歪みに起因する、逆正接関数から算出した角度の誤差を補償する技術が開示されている。   Patent Document 1 discloses a technique for compensating for an error in the magnetization direction between pinned layers of different magnetoresistive elements, in which the difference between them should be exactly 90 degrees, while Patent Document 2 discloses Discloses a technique for compensating for an error in an angle calculated from an arctangent function caused by waveform distortion.

しかしながら、何れも、磁界の強度に応じて角度誤差を補償する技術を開示するものではない。   However, none of them disclose a technique for compensating the angle error according to the strength of the magnetic field.

特許第4194484号公報Japanese Patent No. 4194484 特許第4194485号公報Japanese Patent No. 4194485

本発明の課題は、磁界の強度の影響を排除し、該磁界の向きを角度として正確に検出し得る磁気センサを提供することである。   An object of the present invention is to provide a magnetic sensor that can accurately detect the direction of the magnetic field as an angle while eliminating the influence of the strength of the magnetic field.

1.第1の態様
上述した課題を解決するため、本発明に係る磁気センサは、第1のセンサ部と、第2のセンサ部とを含み、測定対象である磁界の向きを角度として検出する。
1. 1st aspect In order to solve the subject mentioned above, the magnetic sensor which concerns on this invention contains a 1st sensor part and a 2nd sensor part, and detects the direction of the magnetic field which is a measuring object as an angle.

前記第1のセンサ部は、前記磁界により磁化飽和する1以上の磁気抵抗効果素子を含み、前記磁界の向きに応じた角度信号を出力する。   The first sensor unit includes one or more magnetoresistive elements that are saturated with magnetization by the magnetic field, and outputs an angle signal corresponding to the direction of the magnetic field.

本発明に係る磁気センサによれば、第1のセンサ部は、測定対象である磁界により磁化飽和する1以上の磁気抵抗効果素子を含み、磁界の向きに応じた角度信号を出力する。   According to the magnetic sensor of the present invention, the first sensor unit includes one or more magnetoresistive elements that are magnetized and saturated by the magnetic field to be measured, and outputs an angle signal corresponding to the direction of the magnetic field.

また、前記第2のセンサ部が、前記磁界により磁化飽和しない1以上の磁気抵抗効果素子を含み、前記磁界の強度に応じた強度信号を出力する。本発明に係る磁気センサの特徴は、前記角度を、高精度に求めるために、前記角度信号と前記強度信号とに基づいて得られる点にある。   The second sensor unit includes one or more magnetoresistive effect elements that are not magnetized by the magnetic field, and outputs an intensity signal corresponding to the intensity of the magnetic field. The magnetic sensor according to the present invention is characterized in that the angle is obtained based on the angle signal and the intensity signal in order to obtain the angle with high accuracy.

この構成によれば、第2のセンサ部の磁気抵抗効果素子は、測定対象である磁界により磁化飽和しないため、第2のセンサ部は、その特性上の不飽和領域、すなわち、磁界の強度変化に対して出力電圧が線形に変化する領域において磁界の強度を検出することができる。これに対して、第1のセンサ部の磁気抵抗効果素子は、上述したように、実質的に出力電圧の変化がない飽和領域において動作するため、第2のセンサ部と違って、磁界の強度を検出することはできない。すなわち、本発明に係る磁気センサは、専ら磁界の方向を検出するための第1のセンサ部に、磁界の強度を検出するための第2のセンサ部を組み合わせた特徴的構成を備えている。   According to this configuration, since the magnetoresistive effect element of the second sensor unit does not saturate magnetization due to the magnetic field to be measured, the second sensor unit has an unsaturated region in its characteristics, that is, a change in the strength of the magnetic field. In contrast, the strength of the magnetic field can be detected in a region where the output voltage changes linearly. On the other hand, since the magnetoresistive effect element of the first sensor unit operates in a saturation region where there is substantially no change in output voltage as described above, the strength of the magnetic field is different from the second sensor unit. Cannot be detected. That is, the magnetic sensor according to the present invention has a characteristic configuration in which the first sensor unit exclusively for detecting the direction of the magnetic field is combined with the second sensor unit for detecting the strength of the magnetic field.

そして、本発明に係る磁気センサは、角度信号と強度信号とに基づいて角度を得るため、強度信号に従って補正された角度を得て、測定対象である磁界の強度に依存する角度誤差を低減し、正確に磁界の向きを角度として検出することができる。   Since the magnetic sensor according to the present invention obtains an angle based on the angle signal and the intensity signal, an angle corrected according to the intensity signal is obtained to reduce an angle error depending on the intensity of the magnetic field to be measured. The direction of the magnetic field can be accurately detected as an angle.

2.第2の態様
本発明に係る磁気センサは、第1のセンサ部と、第2のセンサ部と、角度算出部と、取付位置解析部とを含み、測定対象である磁界の向きを検出する。
2. Second Mode A magnetic sensor according to the present invention includes a first sensor unit, a second sensor unit, an angle calculation unit, and an attachment position analysis unit, and detects the direction of a magnetic field that is a measurement target.

前記第1のセンサ部は、前記磁界により磁化飽和する1以上の磁気抵抗効果素子を含み、前記磁界の向きに応じた角度信号を出力する。前記角度算出部は、前記角度信号に基づいて、角度を算出する。   The first sensor unit includes one or more magnetoresistive elements that are saturated with magnetization by the magnetic field, and outputs an angle signal corresponding to the direction of the magnetic field. The angle calculation unit calculates an angle based on the angle signal.

本発明に係る磁気センサによれば、第1のセンサ部は、測定対象である磁界により磁化飽和する1以上の磁気抵抗効果素子を含み、磁界の向きに応じた角度信号を出力し、さらに、角度算出部が角度信号に基づいて角度を算出し、磁界の向きを検出することができる。   According to the magnetic sensor of the present invention, the first sensor unit includes one or more magnetoresistive effect elements that are magnetized and saturated by the magnetic field to be measured, and outputs an angle signal corresponding to the direction of the magnetic field. The angle calculation unit can calculate the angle based on the angle signal and detect the direction of the magnetic field.

そして、本発明に係る磁気センサの特徴は、前記第2のセンサ部が、前記磁界により磁化飽和しない1以上の磁気抵抗効果素子を含み、前記磁界の強度に応じた強度信号を出力する点にある。   The magnetic sensor according to the present invention is characterized in that the second sensor unit includes one or more magnetoresistive effect elements that are not magnetized and saturated by the magnetic field, and outputs an intensity signal corresponding to the intensity of the magnetic field. is there.

この構成によれば、第2のセンサ部の磁気抵抗効果素子は、測定対象である磁界により磁化飽和しないため、上記の第1の実施態様と同様に、不飽和領域において磁界の強度を検出することができる。   According to this configuration, the magnetoresistive effect element of the second sensor unit does not saturate magnetization due to the magnetic field to be measured, and therefore detects the strength of the magnetic field in the unsaturated region as in the first embodiment. be able to.

本発明に係る磁気センサのさらなる特徴は、前記取付位置解析部は、前記磁界の方向、及び強度の空間分布を記録した磁力分布記録部を含み、前記空間分布に基づいて、前記角度と前記強度信号とから空間内の位置を特定する点にある。   A further feature of the magnetic sensor according to the present invention is that the mounting position analysis unit includes a magnetic force distribution recording unit that records a spatial distribution of the magnetic field direction and intensity, and the angle and the intensity based on the spatial distribution. The point is to specify the position in the space from the signal.

したがって、あらかじめ、角度算出部の算出角度の誤差が最小となる空間内の位置を特定しておくことにより、磁界の方向、及び強度とを手がかりとして特定した磁気センサの現在位置との位置的誤差を検出し、これに従って該位置、または位置的誤差を修正することができる。   Therefore, by specifying the position in the space where the error of the calculation angle of the angle calculation unit is minimized in advance, the positional error from the current position of the magnetic sensor specified using the direction and intensity of the magnetic field as a clue. Can be detected and the position or positional error can be corrected accordingly.

以上述べたように、本発明によれば、磁界の強度の影響を排除し、該磁界の向きを角度として正確に検出し得る磁気センサを提供することができる。   As described above, according to the present invention, it is possible to provide a magnetic sensor that can eliminate the influence of the strength of the magnetic field and can accurately detect the direction of the magnetic field as an angle.

本発明に係る磁気センサの平面図である。It is a top view of the magnetic sensor which concerns on this invention. 本発明に係る磁気センサの側面図である。It is a side view of the magnetic sensor which concerns on this invention. 第1のセンサ部の回路図である。It is a circuit diagram of the 1st sensor part. TMR素子の断面図である。It is sectional drawing of a TMR element. 測定対象である磁界の向きの変化に対する第1のセンサ部の出力電圧の変化を示すグラフである。It is a graph which shows the change of the output voltage of the 1st sensor part with respect to the change of the direction of the magnetic field which is a measuring object. 測定対象である磁界の強度変化に対する、検出した角度の誤差の変化を示すグラフである。It is a graph which shows the change of the error of the detected angle with respect to the intensity | strength change of the magnetic field which is a measuring object. 測定対象である磁界の向きを一定にした場合の該磁界の強度変化に対する磁気抵抗効果素子の出力電圧の変化を示すグラフである。It is a graph which shows the change of the output voltage of a magnetoresistive effect element with respect to the intensity | strength change of this magnetic field when the direction of the magnetic field which is a measuring object is made constant. 本発明に係る磁気センサの電気的構成図である。It is an electrical block diagram of the magnetic sensor which concerns on this invention. 他の実施形態に係る磁気センサの電気的構成図である。It is an electrical block diagram of the magnetic sensor which concerns on other embodiment. さらに他の実施形態に係る磁気センサの電気的構成図である。It is an electrical block diagram of the magnetic sensor which concerns on other embodiment. 他の態様の本発明に係る磁気センサの電気的構成図である。It is an electrical block diagram of the magnetic sensor which concerns on this invention of another aspect. 図1の例における磁束と磁力の空間分布の模式図である。It is a schematic diagram of the magnetic flux and magnetic force spatial distribution in the example of FIG. 他の実施形態に係る磁気センサの平面図である。It is a top view of the magnetic sensor which concerns on other embodiment. 磁気抵抗効果素子を含むICパッケージの断面図である。It is sectional drawing of IC package containing a magnetoresistive effect element. 他の実施形態に係る、磁気抵抗効果素子を含むICパッケージの断面図である。It is sectional drawing of the IC package containing a magnetoresistive effect element based on other embodiment. さらに他の実施形態に係る、磁気抵抗効果素子を含むICパッケージの断面図である。It is sectional drawing of the IC package containing the magnetoresistive effect element based on further another embodiment. 図16に示されたICパッケージの平面図である。FIG. 17 is a plan view of the IC package shown in FIG. 16. 本発明に係る磁気センサを適用した回転数検出装置の外観である。It is the external appearance of the rotation speed detection apparatus to which the magnetic sensor which concerns on this invention is applied. 図18のB−B線に沿った部分的断面図である。It is a fragmentary sectional view along the BB line of FIG. 図19の例における磁力と角度誤差の空間分布の模式図である。FIG. 20 is a schematic diagram of a spatial distribution of magnetic force and angle error in the example of FIG. 19.

図1は、本発明に係る磁気センサの平面図であり、図2は、該磁気センサの側面図である。図1と図2は、ハンドルなどに適用される回転角センサの外観を示している。   FIG. 1 is a plan view of a magnetic sensor according to the present invention, and FIG. 2 is a side view of the magnetic sensor. 1 and 2 show the appearance of a rotation angle sensor applied to a handle or the like.

円形状の回転軸4は、例えばハンドルの回転と連動する軸であって、位置oを中心として方向Rに回転する。回転軸4の円形状の端面には、これを二分割するようにN極側磁石41とS極側磁石42とが形成されている。N極側磁石41とS極側磁石42は、符号oで示す位置を中心とする回転軸4の回転に伴って磁界Bが回転する。この磁界Bが、本発明に係る磁気センサの測定対象である。   The circular rotating shaft 4 is, for example, an axis that interlocks with the rotation of the handle, and rotates in the direction R around the position o. An N-pole side magnet 41 and an S-pole side magnet 42 are formed on the circular end surface of the rotating shaft 4 so as to be divided into two. In the N-pole side magnet 41 and the S-pole side magnet 42, the magnetic field B rotates with the rotation of the rotary shaft 4 around the position indicated by the symbol o. This magnetic field B is a measurement target of the magnetic sensor according to the present invention.

磁気センサ基板5は、板面が磁石41,42の表面43と対向するように基部51に設置されている。磁気センサ基板5は、略矩形の基板であり、板面に9個の磁気抵抗効果素子11〜14,21〜24,30が実装されている。このうち、磁気抵抗効果素子11〜14,21〜24は、回転磁界Bの方向、すなわち、中心oにおける磁束のなす角度の検出に用いられる。   The magnetic sensor substrate 5 is installed on the base 51 so that the plate surface faces the surface 43 of the magnets 41 and 42. The magnetic sensor substrate 5 is a substantially rectangular substrate, and nine magnetoresistive elements 11 to 14, 21 to 24, and 30 are mounted on the plate surface. Among these, the magnetoresistive effect elements 11 to 14 and 21 to 24 are used to detect the direction of the rotating magnetic field B, that is, the angle formed by the magnetic flux at the center o.

一方、残り1個の磁気抵抗効果素子30は、実質的に中心oに位置し、磁界Bの強度の検出に用いられる。この磁気抵抗効果素子30は、他の磁気抵抗効果素子11〜14,21〜24が受ける磁界Bの強度を検出するために、これらと可能な限り近接して配置されるのが望ましい。何れの磁気抵抗効果素子11〜14,21〜24,30も、図中のX−Y平面内の磁界Bの成分を検出すべく、フリー層の膜面が磁石41,42の表面43と実質的に平行になるように固定されている。   On the other hand, the remaining one magnetoresistive element 30 is located substantially at the center o and is used for detecting the strength of the magnetic field B. The magnetoresistive effect element 30 is preferably arranged as close as possible to these in order to detect the strength of the magnetic field B received by the other magnetoresistive effect elements 11 to 14 and 21 to 24. In any of the magnetoresistive effect elements 11 to 14, 21 to 24, and 30, the film surface of the free layer is substantially the same as the surface 43 of the magnets 41 and 42 in order to detect the component of the magnetic field B in the XY plane in the figure. Are fixed so that they are parallel to each other.

磁気抵抗効果素子11〜14,21〜24は、TMR素子で角度を検出するための第1のセンサ部を構成する。TMR素子に代えて、GMR素子を用いて第1のセンサ部を構成してもよい。この第1のセンサ部の回路図は、図3に示されている。第1のセンサ部は、それぞれ第1〜第4のTMR素子11〜14,21〜24を含む第1及び第2のブリッジ回路1,2を有している。   The magnetoresistive effect elements 11 to 14 and 21 to 24 constitute a first sensor unit for detecting an angle with a TMR element. Instead of the TMR element, the first sensor unit may be configured using a GMR element. A circuit diagram of the first sensor unit is shown in FIG. The first sensor unit includes first and second bridge circuits 1 and 2 including first to fourth TMR elements 11 to 14 and 21 to 24, respectively.

第1のブリッジ回路1は、第1のTMR素子11と第2のTMR素子12、並びに第3のTMR素子13と第4のTMR素子14が、それぞれ直列接続され、これらの直列回路が互いに並列接続されてなる。そして、第1のTMR素子11と第3のTMR素子13の接続端が電源端子Vccに接続され、第2のTMR素子12と第4のTMR素子14の接続端がグランド端子GNDに接続されている。   In the first bridge circuit 1, a first TMR element 11 and a second TMR element 12, and a third TMR element 13 and a fourth TMR element 14 are connected in series, and these series circuits are parallel to each other. Become connected. The connection end of the first TMR element 11 and the third TMR element 13 is connected to the power supply terminal Vcc, and the connection end of the second TMR element 12 and the fourth TMR element 14 is connected to the ground terminal GND. Yes.

また、第1のTMR素子11と第2のTMR素子12の接続端は出力端子T12に接続され、第3のTMR素子13と第4のTMR素子14の接続端は出力端子T11に接続されている。出力端子T12に対する出力端子T11の電位は、第1の出力電圧V1として検出される。   The connection end of the first TMR element 11 and the second TMR element 12 is connected to the output terminal T12, and the connection end of the third TMR element 13 and the fourth TMR element 14 is connected to the output terminal T11. Yes. The potential of the output terminal T11 with respect to the output terminal T12 is detected as the first output voltage V1.

一方、第2のブリッジ回路2は、第1〜第4のTMR素子21〜24が、第1のブリッジ回路1と同様に接続されてなり、出力端子T22に対する出力端子T21の電位が、第2の出力電圧V2として検出される。このような回路構成は、あくまでも一例であって、第1のセンサ部を1個の磁気抵抗効果素子により構成してもよい。   On the other hand, in the second bridge circuit 2, the first to fourth TMR elements 21 to 24 are connected in the same manner as the first bridge circuit 1, and the potential of the output terminal T21 with respect to the output terminal T22 is the second. Is detected as an output voltage V2. Such a circuit configuration is merely an example, and the first sensor unit may be configured by one magnetoresistive element.

TMR素子11〜14,21〜24は、図4に示されるように、反強磁性層101、ピンド層102、絶縁層103、フリー層104が、この順に積層された構造を有している。周知の通り、フリー層104は、外部磁界に従って磁化の向きD2が変化するのに対して、ピンド層102は磁化の向きD1が固定されている。図3に示された第1〜第4のTMR素子11〜14,21〜24に付された矢印は、このピンド層102の磁化方向D1を示すものである。また、絶縁層103は、トンネルバリアとして機能する。なお、強度検出用の磁気抵抗効果素子30についても、TMR素子、あるいはGMR素子であってもよいが、TMR素子を採用した場合、図4に示される層構造を有する。   As shown in FIG. 4, each of the TMR elements 11 to 14 and 21 to 24 has a structure in which an antiferromagnetic layer 101, a pinned layer 102, an insulating layer 103, and a free layer 104 are stacked in this order. As is well known, the magnetization direction D2 of the free layer 104 changes according to the external magnetic field, whereas the magnetization direction D1 of the pinned layer 102 is fixed. The arrows attached to the first to fourth TMR elements 11 to 14 and 21 to 24 shown in FIG. 3 indicate the magnetization direction D1 of the pinned layer 102. The insulating layer 103 functions as a tunnel barrier. The magnetoresistive effect element 30 for detecting the intensity may also be a TMR element or a GMR element. However, when the TMR element is employed, it has a layer structure shown in FIG.

第1のブリッジ回路1では、ピンド層102の磁化方向について、回路図上の対向関係にある第1のTMR素子11と第4のTMR素子14、並びに第2のTMR素子12と第3のTMR素子13が、それぞれ、互いに同一となっている。そして、第1のTMR素子11と第4のTMR素子14のピンド層102の磁化方向と、第2のTMR素子12と第3のTMR素子13のピンド層102の磁化方向とは、互いに反平行(正反対)の関係にある。   In the first bridge circuit 1, with respect to the magnetization direction of the pinned layer 102, the first TMR element 11 and the fourth TMR element 14, and the second TMR element 12 and the third TMR, which are in an opposing relationship on the circuit diagram. The elements 13 are the same as each other. The magnetization directions of the pinned layers 102 of the first TMR element 11 and the fourth TMR element 14 and the magnetization directions of the pinned layers 102 of the second TMR element 12 and the third TMR element 13 are antiparallel to each other. (The opposite).

一方、第2のブリッジ回路2では、ピンド層102の磁化方向について、同様に、回路図上の対向関係にある第1のTMR素子21と第4のTMR素子24、並びに第2のTMR素子22と第3のTMR素子23が、それぞれ、互いに同一となっている。そして、第1のTMR素子21と第4のTMR素子24のピンド層102の磁化方向と、第2のTMR素子22と第3のTMR素子23のピンド層102の磁化方向とは、互いに反平行の関係にある。   On the other hand, in the second bridge circuit 2, with respect to the magnetization direction of the pinned layer 102, the first TMR element 21 and the fourth TMR element 24, and the second TMR element 22 that are in the opposite relationship on the circuit diagram are similarly shown. And the third TMR element 23 are the same as each other. The magnetization directions of the pinned layers 102 of the first TMR element 21 and the fourth TMR element 24 and the magnetization directions of the pinned layers 102 of the second TMR element 22 and the third TMR element 23 are antiparallel to each other. Are in a relationship.

図3の矢印に示されるように、第1のブリッジ回路1の各TMR素子11〜14と第2のブリッジ回路2の各TMR素子21〜24は、ピンド層102の磁化方向が互いに直交する関係にある。   As indicated by the arrows in FIG. 3, the TMR elements 11 to 14 of the first bridge circuit 1 and the TMR elements 21 to 24 of the second bridge circuit 2 have a relationship in which the magnetization directions of the pinned layer 102 are orthogonal to each other. It is in.

周知の通り、TMR素子の特徴は、ピンド層102の磁化方向とフリー層104の磁化方向が同一であるときに抵抗値が最小となり、これらが反平行(正反対)であるときに抵抗値が最大となることである。これに基づき、図3に示す回転磁界Bのなす角度θに対するTMR素子11〜14,21〜24の抵抗値の変化を説明する。なお、角度θは、回転磁界Bの方向が第1のTMR素子11と第4のTMR素子14のピンド層102の磁化方向と同一である場合に、0度を示すものと定義する。   As is well known, the characteristic of the TMR element is that the resistance value is minimized when the magnetization direction of the pinned layer 102 and the magnetization direction of the free layer 104 are the same, and the resistance value is maximized when they are antiparallel (the opposite). It is to become. Based on this, changes in resistance values of the TMR elements 11 to 14 and 21 to 24 with respect to the angle θ formed by the rotating magnetic field B shown in FIG. 3 will be described. Note that the angle θ is defined to indicate 0 degree when the direction of the rotating magnetic field B is the same as the magnetization direction of the pinned layer 102 of the first TMR element 11 and the fourth TMR element 14.

まず、角度θが0度であるとき、第1のブリッジ回路1では、第1のTMR素子11と第4のTMR素子14の抵抗値が最小となり、第2のTMR素子12と第3のTMR素子13の抵抗値が最大となる。他方、第2のブリッジ回路2では、各TMR素子21〜24の抵抗値は、上記の最大値と最小値の中間値となる。   First, when the angle θ is 0 degree, in the first bridge circuit 1, the resistance values of the first TMR element 11 and the fourth TMR element 14 are minimized, and the second TMR element 12 and the third TMR element The resistance value of the element 13 is maximized. On the other hand, in the second bridge circuit 2, the resistance values of the TMR elements 21 to 24 are intermediate values between the maximum value and the minimum value.

次に、角度θが90度であるとき、つまり、外部磁界Bの方向が、TMR素子22,23のピンド層42の磁化方向と同一であるとき、第1のブリッジ回路1では、各TMR素子11〜14の抵抗値は、上記の最大値と最小値の中間値となる。他方、第2のブリッジ回路2では、第1のTMR素子21と第4のTMR素子24の抵抗値が最大となり、第2のTMR素子22と第3のTMR素子23の抵抗値が最小となる。   Next, when the angle θ is 90 degrees, that is, when the direction of the external magnetic field B is the same as the magnetization direction of the pinned layer 42 of the TMR elements 22 and 23, each TMR element The resistance values 11 to 14 are intermediate values between the maximum value and the minimum value. On the other hand, in the second bridge circuit 2, the resistance values of the first TMR element 21 and the fourth TMR element 24 are maximized, and the resistance values of the second TMR element 22 and the third TMR element 23 are minimized. .

次に、角度θが180度であるとき、第1のブリッジ回路1では、第1のTMR素子11と第4のTMR素子14の抵抗値が最大となり、第2のTMR素子12と第3のTMR素子13の抵抗値が最小となる。他方、第2のブリッジ回路2では、各TMR素子21〜24の抵抗値は、上記の最大値と最小値の中間値となる。   Next, when the angle θ is 180 degrees, in the first bridge circuit 1, the resistance values of the first TMR element 11 and the fourth TMR element 14 are maximized, and the second TMR element 12 and the third TMR element 14 The resistance value of the TMR element 13 is minimized. On the other hand, in the second bridge circuit 2, the resistance values of the TMR elements 21 to 24 are intermediate values between the maximum value and the minimum value.

最後に、角度θが270度であるとき、第1のブリッジ回路1では、各TMR素子11〜14の抵抗値は、上記の最大値と最小値の中間値となる。他方、第2のブリッジ回路2では、第1のTMR素子21と第4のTMR素子24の抵抗値が最小となり、第2のTMR素子22と第3のTMR素子23の抵抗値が最大となる。   Finally, when the angle θ is 270 degrees, in the first bridge circuit 1, the resistance values of the TMR elements 11 to 14 are intermediate values between the maximum value and the minimum value. On the other hand, in the second bridge circuit 2, the resistance values of the first TMR element 21 and the fourth TMR element 24 are minimized, and the resistance values of the second TMR element 22 and the third TMR element 23 are maximized. .

したがって、図5に示されるように、第1のブリッジ回路1の出力電圧V1(V)は、角度θの変化に対してCOS関数状の波形をなし、一方、第2のブリッジ回路2の出力電圧V2(V)は、角度θの変化に対してSIN関数状の波形をなす。なお、TMR素子11〜14,21〜24は、全て同一の特性を有するものとする。   Therefore, as shown in FIG. 5, the output voltage V1 (V) of the first bridge circuit 1 forms a COS function-like waveform with respect to the change in the angle θ, while the output of the second bridge circuit 2 The voltage V2 (V) has a SIN function waveform with respect to the change in the angle θ. The TMR elements 11 to 14 and 21 to 24 all have the same characteristics.

この事実に基づき、検出対象の角度θは、出力電圧V1(V)及びV2(V)から以下の式で求められる。
(式1) θ=arctan(V2/V1)
このように、図1と図2に示される回転角センサは、TMR素子11〜14,21〜24により磁界Bを検知することによって、回転軸4の回転角を検出することができる。
Based on this fact, the angle θ of the detection target can be obtained from the output voltages V1 (V) and V2 (V) by the following formula.
(Formula 1) θ = arctan (V2 / V1)
As described above, the rotation angle sensor shown in FIGS. 1 and 2 can detect the rotation angle of the rotation shaft 4 by detecting the magnetic field B by the TMR elements 11 to 14 and 21 to 24.

しかしながら、上述したように、このようにして算出した角度θには、磁界Bの強度に依存する誤差が含まれている。図6は、測定対象である磁界Bの強度Hの変化に対する、検出した角度の誤差Δθの変化を示すグラフである。   However, as described above, the angle θ thus calculated includes an error depending on the intensity of the magnetic field B. FIG. 6 is a graph showing a change in the detected angle error Δθ with respect to a change in the intensity H of the magnetic field B to be measured.

図から理解されるように、角度誤差Δθは、磁界Bの強度Hに依存し、強度Hoのときに最小値となる略二次関数状の特性を示す。   As understood from the figure, the angle error Δθ depends on the intensity H of the magnetic field B, and shows a characteristic of a substantially quadratic function that has a minimum value at the intensity Ho.

本発明に係る磁気センサの第1の態様は、角度検出用の磁気抵抗効果素子11〜14,21〜24によって磁界Bの角度θを算出するとともに、強度検出用の磁気抵抗効果素子30によって磁界Bの強度Hを検出し、角度θの補正に利用するものである。   The first aspect of the magnetic sensor according to the present invention calculates the angle θ of the magnetic field B by the magnetoresistive effect elements 11 to 14 and 21 to 24 for angle detection, and uses the magnetoresistive effect element 30 for intensity detection to calculate the magnetic field. The intensity H of B is detected and used for correcting the angle θ.

一方、本発明に係る磁気センサの第2の態様は、角度検出用の磁気抵抗効果素子11〜14,21〜24によって磁界Bの角度θを検出するとともに、磁気抵抗効果素子30によって磁界Bの強度Hを検出して、磁界Bの磁力の空間分布に基づき、磁気センサの取付位置を、最小の角度誤差Δθとなる最適強度Hoの位置へと調整するものである。なお、図1に示された回転角センサへの適用例においては、回転の中心oが強度Hoとなるように、磁石41,42の取付位置、並びに強度をあらかじめ調整しておく必要がある。   On the other hand, in the second aspect of the magnetic sensor according to the present invention, the angle θ of the magnetic field B is detected by the magnetoresistive effect elements 11 to 14 and 21 to 24 for angle detection, and the magnetic field B is detected by the magnetoresistive effect element 30. The intensity H is detected, and based on the spatial distribution of the magnetic force of the magnetic field B, the mounting position of the magnetic sensor is adjusted to the position of the optimum intensity Ho that gives the minimum angular error Δθ. In addition, in the application example to the rotation angle sensor shown in FIG. 1, it is necessary to adjust the mounting positions and strengths of the magnets 41 and 42 in advance so that the rotation center o becomes the strength Ho.

このように、本発明に係る磁気センサは、角度検出用の磁気抵抗効果素子11〜14,21〜24と、強度検出用の磁気抵抗効果素子30とに機能分担させた特徴を有する。角度検出用の磁気抵抗効果素子11〜14,21〜24と強度検出用の磁気抵抗効果素子30の動作の相違は、図7を参照すると理解される。   As described above, the magnetic sensor according to the present invention is characterized in that the function is shared by the magnetoresistance effect elements 11 to 14 and 21 to 24 for angle detection and the magnetoresistance effect element 30 for intensity detection. The difference in operation between the magnetoresistive effect elements 11 to 14 and 21 to 24 for angle detection and the magnetoresistive effect element 30 for intensity detection is understood with reference to FIG.

図7は、測定対象である磁界Bの向きを一定にした場合の該磁界の強度Hの変化に対する磁気抵抗効果素子11〜14,21〜24,30の出力電圧の変化を示すグラフである。図から理解されるように、特性は、強度Hsを境として、出力電圧Voutが磁界強度Hに対して実質的に線形状に変化する不飽和領域S1と、出力電圧Voutが実質的に一定値Vsを示す飽和領域S2とに分かれる。   FIG. 7 is a graph showing changes in the output voltage of the magnetoresistive effect elements 11 to 14, 21 to 24, and 30 with respect to changes in the magnetic field strength H when the direction of the magnetic field B to be measured is made constant. As understood from the figure, the characteristics are the unsaturated region S1 in which the output voltage Vout changes in a substantially linear shape with respect to the magnetic field strength H with the strength Hs as a boundary, and the output voltage Vout is a substantially constant value. It is divided into a saturation region S2 indicating Vs.

上述したように、製造時の特性ばらつきの影響を回避するために、角度検出用の磁気抵抗効果素子11〜14,21〜24は、その動作点が飽和領域S2に存在する。一方、強度検出用の磁気抵抗効果素子30は、出力電圧から強度を検出するために、その動作点が不飽和領域S1に存在する。   As described above, in order to avoid the influence of the characteristic variation at the time of manufacture, the operating points of the magnetoresistive effect elements 11 to 14 and 21 to 24 for angle detection exist in the saturation region S2. On the other hand, the magnetoresistive effect element 30 for intensity detection has an operating point in the unsaturated region S1 in order to detect the intensity from the output voltage.

このように、目的に応じて、磁気抵抗効果素子11〜14,21〜24,30の動作点を分けるためには、角度検出用の磁気抵抗効果素子11〜14,21〜24を磁界Bにより磁化飽和させ、他方、強度検出用の磁気抵抗効果素子30を磁界Bにより磁化飽和させないことが必要となる。   Thus, in order to divide the operating points of the magnetoresistive effect elements 11 to 14, 21 to 24, and 30 according to the purpose, the magnetoresistive effect elements 11 to 14, 21 to 24 for angle detection are separated by the magnetic field B. On the other hand, it is necessary that the magnetoresistance effect element 30 for intensity detection is not saturated with the magnetic field B.

これを実現する具体的手法としては種々の形態が考えられ、例えば、強度検出用の磁気抵抗効果素子30を、角度検出用の磁気抵抗効果素子11〜14,21〜24と比較して、ピンド層、及び/またはフリー層の膜厚が厚くなるようにすればよい。あるいは、強度検出用の磁気抵抗効果素子30を、ピンド層の磁化方向において形状異方性を有するように、該磁化方向に延びた横長の形状としてもよい。ここで、厚み、または長さは、磁界Bの強度に応じて適宜に決定する必要がある。なお、さらなる他の形態に関しては後述する。   Various methods are conceivable as specific methods for realizing this. For example, the magnetoresistive effect element 30 for intensity detection is compared with the magnetoresistive effect elements 11 to 14 and 21 to 24 for angle detection. The thickness of the layer and / or the free layer may be increased. Alternatively, the magnetoresistance effect element 30 for intensity detection may have a horizontally long shape extending in the magnetization direction so as to have shape anisotropy in the magnetization direction of the pinned layer. Here, the thickness or length needs to be appropriately determined according to the strength of the magnetic field B. Further, other forms will be described later.

まず、本発明に係る磁気センサの第1の態様について説明する。図8は、磁気センサの電気的構成図である。磁気センサは、既に述べた第1のセンサ部120と、第2のセンサ部130と、角度算出部121と、角度テーブル参照部132とを含む。   First, a first aspect of the magnetic sensor according to the present invention will be described. FIG. 8 is an electrical configuration diagram of the magnetic sensor. The magnetic sensor includes the first sensor unit 120, the second sensor unit 130, the angle calculation unit 121, and the angle table reference unit 132 described above.

第1のセンサ部120は、図3に示された回路を備え、磁界Bの向きに応じた角度信号として、上記の第1及び第2の電圧V1,V2を角度算出部121に出力する。   The first sensor unit 120 includes the circuit shown in FIG. 3, and outputs the first and second voltages V1 and V2 to the angle calculation unit 121 as angle signals corresponding to the direction of the magnetic field B.

一方、第2のセンサ部130は、強度検出用の磁気抵抗効果素子30と通常の抵抗素子31とが直列接続された回路を含む。磁気抵抗効果素子30は電源Vccと接続され、抵抗素子31は接地され、この直列回路の接点からの出力電圧V3は、磁界Bの強度Hに応じた強度信号として、角度テーブル参照部132に出力される。ここで、第2のセンサ部130の構成は、このような回路に限定されるものではなく、2個以上の磁気抵抗効果素子を直列接続したものであってもよいし、あるいはブリッジ回路であってもよい。前者の場合、上記の出力電圧V3として、直列回路の両端の電圧差を出力する。   On the other hand, the second sensor unit 130 includes a circuit in which a magnetoresistive effect element 30 for intensity detection and a normal resistance element 31 are connected in series. The magnetoresistive effect element 30 is connected to the power source Vcc, the resistance element 31 is grounded, and the output voltage V3 from the contact of this series circuit is output to the angle table reference unit 132 as an intensity signal corresponding to the intensity H of the magnetic field B. Is done. Here, the configuration of the second sensor unit 130 is not limited to such a circuit, and two or more magnetoresistive elements may be connected in series, or may be a bridge circuit. May be. In the former case, the voltage difference between both ends of the series circuit is output as the output voltage V3.

角度テーブル参照部132は、典型的には不揮発性メモリから構成され、電圧V1,V2(V)に対応する角度θo(deg.)がテーブルとして記録保持されている。この角度θo(deg.)は、入力された強度信号V3に応じて変化することによって、対応する補正量が反映された値として出力される。つまり、角度テーブル参照部132は、角度θだけでなく、その補正量を持つテーブルである。このようなテーブルは、実測に基づいてデータ化された数値から得られる。   The angle table reference unit 132 is typically composed of a nonvolatile memory, and the angle θo (deg.) Corresponding to the voltages V1 and V2 (V) is recorded and held as a table. This angle θo (deg.) Changes according to the input intensity signal V3, and is output as a value reflecting the corresponding correction amount. That is, the angle table reference unit 132 is a table having not only the angle θ but also the correction amount. Such a table is obtained from numerical values converted into data based on actual measurement.

また、図9は、他の実施形態に係る磁気センサの電気的構成を示している。ここでは、先の実施形態の回路図と共通する部分に関しては、同一の符号を付して、その説明を省略する。   FIG. 9 shows the electrical configuration of a magnetic sensor according to another embodiment. Here, portions common to the circuit diagram of the previous embodiment are denoted by the same reference numerals, and description thereof is omitted.

この実施形態では、先の実施形態と異なり、角度算出部121の前段階において角度信号V1,V2自体を補正するために、信号補正部123が設けられている。信号補正部123は、例えば演算処理回路により構成され、第2のセンサ回路130からの強度信号V3に対応する角度信号V1,V2の補正量を、近似式、あるいは先の実施形態と同様のテーブルに従って得て、補正済み角度信号V10,V20として角度算出部121に出力する。そして、角度算出部121は、次式に従って、補正された角度θoを算出することができる。
(式2) θo=arctan(V20/V10)
図10は、さらなる他の実施形態に係る磁気センサの電気的構成を示している。ここでは、先の実施形態の回路図と共通する部分に関しては、同一の符号を付して、その説明を省略する。
In this embodiment, unlike the previous embodiment, a signal correction unit 123 is provided in order to correct the angle signals V1 and V2 themselves in the previous stage of the angle calculation unit 121. The signal correction unit 123 is configured by an arithmetic processing circuit, for example, and the correction amount of the angle signals V1 and V2 corresponding to the intensity signal V3 from the second sensor circuit 130 is an approximate expression or a table similar to the previous embodiment. And output to the angle calculator 121 as corrected angle signals V10 and V20. Then, the angle calculation unit 121 can calculate the corrected angle θo according to the following equation.
(Formula 2) θo = arctan (V20 / V10)
FIG. 10 shows an electrical configuration of a magnetic sensor according to still another embodiment. Here, portions common to the circuit diagram of the previous embodiment are denoted by the same reference numerals, and description thereof is omitted.

この実施形態では、先の実施形態と異なり、角度算出部121の後段階において、式1により算出した角度θを補正するための補正量算出部124が設けられている。補正量算出部124は、算出した角度θと、第2のセンサ回路130からの強度信号V3とに基づいて、補正済み角度θoを、近似式、あるいは先の実施形態と同様のテーブルに従って得る。近似式としては、例えば次の式を用いることができる。
(式3) θo=θ−β(V3)sin4{θ−dθ}
ここで、β(V3)は、強度信号V3に基づく振幅の補正量であり、dθは、予め定められた位相の補正量、あるいは強度信号V3に基づく位相の補正量である。
In this embodiment, unlike the previous embodiment, a correction amount calculation unit 124 for correcting the angle θ calculated by Expression 1 is provided at a later stage of the angle calculation unit 121. Based on the calculated angle θ and the intensity signal V3 from the second sensor circuit 130, the correction amount calculation unit 124 obtains the corrected angle θo according to an approximate expression or a table similar to the previous embodiment. As an approximate expression, for example, the following expression can be used.
(Formula 3) θo = θ−β (V3) sin4 {θ−dθ}
Here, β (V3) is an amplitude correction amount based on the intensity signal V3, and dθ is a predetermined phase correction amount or a phase correction amount based on the intensity signal V3.

本発明に係る磁気センサによれば、第1のセンサ部120は、測定対象である磁界Bにより磁化飽和する1以上の磁気抵抗効果素子11〜14,21〜24を含み、磁界Bの向きに応じた角度信号V1,V2を出力し、磁気抵抗効果素子の特性上の飽和領域S2において磁界Bの向きを角度として検出することができる。このため、本発明に係る磁気センサは、磁気抵抗効果素子11〜14,21〜24の特性のばらつきに影響されることがなく、磁界Bの向きを検出することができる。   According to the magnetic sensor of the present invention, the first sensor unit 120 includes one or more magnetoresistive effect elements 11 to 14 and 21 to 24 that are magnetized and saturated by the magnetic field B that is a measurement target. The corresponding angle signals V1 and V2 are output, and the direction of the magnetic field B can be detected as an angle in the saturation region S2 on the characteristics of the magnetoresistive effect element. Therefore, the magnetic sensor according to the present invention can detect the direction of the magnetic field B without being affected by variations in the characteristics of the magnetoresistive effect elements 11 to 14 and 21 to 24.

また、本発明に係る磁気センサは、第2のセンサ部130の磁気抵抗効果素子30が、測定対象である磁界Bにより磁化飽和しないため、第2のセンサ部130は、その特性上の不飽和領域S1、すなわち、磁界Bの強度Hの変化に対して出力電圧が変化する領域において磁界Bの強度を検出することができる。これに対して、第1のセンサ部120の磁気抵抗効果素子11〜14,21〜24は、上述したように、実質的に出力電圧の変化がない飽和領域S2において動作するから、第2のセンサ部130と違って、磁界Bの強度Hを検出することはできない。すなわち、本発明に係る磁気センサは、専ら磁界Bの方向を検出するための第1のセンサ部120に、磁界Bの強度Hを検出するための第2のセンサ部130を組み合わせた特徴的構成を備えている。   In the magnetic sensor according to the present invention, since the magnetoresistive effect element 30 of the second sensor unit 130 is not magnetized and saturated by the magnetic field B to be measured, the second sensor unit 130 is not saturated due to its characteristics. The intensity of the magnetic field B can be detected in the area S1, that is, the area where the output voltage changes with respect to the change in the intensity H of the magnetic field B. On the other hand, the magnetoresistive effect elements 11 to 14 and 21 to 24 of the first sensor unit 120 operate in the saturation region S2 where there is substantially no change in the output voltage as described above. Unlike the sensor unit 130, the intensity H of the magnetic field B cannot be detected. That is, the magnetic sensor according to the present invention has a characteristic configuration in which the first sensor unit 120 for detecting the direction of the magnetic field B is combined with the second sensor unit 130 for detecting the intensity H of the magnetic field B. It has.

そして、本発明に係る磁気センサは、角度信号V1,V2と強度信号V3とに基づいて角度θoを得ることにより、強度信号V3に従って補正された角度を得ることができ、測定対象である磁界Bの強度Hに依存する角度誤差Δθを低減し、正確に磁界Bの向きを角度として検出することができる。   The magnetic sensor according to the present invention obtains the angle θo based on the angle signals V1 and V2 and the intensity signal V3, thereby obtaining an angle corrected according to the intensity signal V3, and the magnetic field B to be measured. The angle error Δθ that depends on the intensity H of the magnetic field B can be reduced, and the direction of the magnetic field B can be accurately detected as an angle.

次に、本発明に係る磁気センサの第2の態様について説明する。図11は、本態様における磁気センサの電気的構成の例を示している。ここでは、図8乃至図9と共通する部分に関しては、同一の符号を付して、その説明を省略する。   Next, a second aspect of the magnetic sensor according to the present invention will be described. FIG. 11 shows an example of the electrical configuration of the magnetic sensor in this embodiment. Here, portions common to FIGS. 8 to 9 are denoted by the same reference numerals, and description thereof is omitted.

この態様の磁気センサは、第1の態様と同様の第1及び第2のセンサ部120,130と角度検出部121とを含むセンシング部M1に加え、磁気センサの取付位置の修正を行うための取付位置解析部M2を有している。センシング部M1は、式1で算出した角度θと強度信号V3とを取付位置解析部M2に出力する。   The magnetic sensor of this mode is for correcting the mounting position of the magnetic sensor in addition to the sensing unit M1 including the first and second sensor units 120 and 130 and the angle detection unit 121 similar to the first mode. An attachment position analysis unit M2 is provided. The sensing unit M1 outputs the angle θ calculated by Equation 1 and the intensity signal V3 to the attachment position analysis unit M2.

取付位置解析部M2は、取付誤差検出部141と、磁力分布記録部142と、位置修正量表示部143とを備えている。この取付位置解析部M2は、必ずしもセンサ本体に含まれる形態で設ける必要はなく、その一部、あるいは全部を、センサ本体に取り付け自在なアタッチメント機器としての形態で構成してもよい。   The attachment position analysis unit M2 includes an attachment error detection unit 141, a magnetic force distribution recording unit 142, and a position correction amount display unit 143. The attachment position analysis unit M2 is not necessarily provided in a form included in the sensor body, and a part or all of the attachment position analysis unit M2 may be configured as an attachment device that can be attached to the sensor body.

磁力分布記録部142は、不揮発性メモリなどで構成され、測定対象である磁界Bの方向、及び強度の空間分布を記録している。図12は、図1に示された回転角センサの場合における磁界Bの方向、及び強度の空間分布の模式図である。   The magnetic force distribution recording unit 142 is configured by a non-volatile memory or the like, and records the direction of the magnetic field B to be measured and the spatial distribution of intensity. FIG. 12 is a schematic diagram of the direction of the magnetic field B and the spatial distribution of intensity in the case of the rotation angle sensor shown in FIG.

磁力分布記録部142は、図12に示されるような磁界Bの向き、及び強さ、すなわち、図中のX−Y平面内の磁場ベクトル分布を位置ごとに記録している。磁力分布記録部142に記録されるデータとしては、例えば、X−Y平面を一定の刻み幅でNx×Ny(個)に分割したときの個々の位置(Xi,Yi)における磁場ベクトルBの方向成分(Hx,Hy)を記録したものが考えられる。あるいは、個々の位置(Xi,Yi)における磁場ベクトルBのX−Y平面内成分の角度、及び大きさを記録したものであってもよい。このような磁力の空間分布のデータは、有限要素法などを使用したコンピュータ解析から得られる。   The magnetic force distribution recording unit 142 records the direction and strength of the magnetic field B as shown in FIG. 12, that is, the magnetic field vector distribution in the XY plane in the drawing for each position. As data recorded in the magnetic force distribution recording unit 142, for example, the direction of the magnetic field vector B at each position (Xi, Yi) when the XY plane is divided into Nx × Ny (pieces) with a constant step size. A recording of components (Hx, Hy) is conceivable. Alternatively, the angle and magnitude of the XY in-plane component of the magnetic field vector B at each position (Xi, Yi) may be recorded. Such magnetic force spatial distribution data can be obtained by computer analysis using a finite element method or the like.

取付誤差検出部141は、磁力分布記録部142に記録された空間分布に基づいて、算出角度θと強度信号V3とから空間内の位置Pを特定する。具体例としては、まず、強度信号V3から磁界Bの強度Hを算出し、この強度Hと算出角度θとから磁場ベクトルBの方向成分(Hix,Hiy)を算出する。そして、取付誤差検出部141は、この方向成分(Hix,Hiy)を、磁力分布記録部142に記録された個々の方向成分(Hx,Hy)と比較して、これらが一致する、あるいは近い値を示す位置(Xi,Yi)を検出するのである。あるいは、強度Hと算出角度θを、記録された磁場ベクトルBの角度、及び大きさと比較してもよい。   The attachment error detection unit 141 identifies the position P in the space from the calculated angle θ and the intensity signal V3 based on the spatial distribution recorded in the magnetic force distribution recording unit 142. As a specific example, first, the intensity H of the magnetic field B is calculated from the intensity signal V3, and the direction component (Hix, Hiy) of the magnetic field vector B is calculated from the intensity H and the calculated angle θ. Then, the attachment error detection unit 141 compares the direction components (Hix, Hiy) with the individual direction components (Hx, Hy) recorded in the magnetic force distribution recording unit 142, and these values match or are close to each other. The position (Xi, Yi) indicating is detected. Alternatively, the intensity H and the calculated angle θ may be compared with the angle and size of the recorded magnetic field vector B.

なお、算出角度θには角度誤差Δθが含まれているため、磁力分布記録部142の空間分布のデータを、誤差が含まれた値に設定しておくか、あるいは、上記の比較処理の前段階において、既に述べたような方法によって算出角度θを補正する必要がある。   Since the calculated angle θ includes an angle error Δθ, the spatial distribution data of the magnetic force distribution recording unit 142 is set to a value including the error, or before the comparison process described above. In the stage, it is necessary to correct the calculated angle θ by the method described above.

また、磁力分布記録部142に記録された空間分布上の位置(Xi,Yi)と、実際のX−Y平面の位置との整合をはかるため、位置の特定にあたって、例えば回転角θ=0(deg.)となるように、磁石41,42を所定位置に固定しておく必要がある。   Further, in order to match the position (Xi, Yi) on the spatial distribution recorded in the magnetic force distribution recording unit 142 with the actual position on the XY plane, for example, the rotation angle θ = 0 ( deg.), it is necessary to fix the magnets 41 and 42 at predetermined positions.

取付誤差検出部141は、位置の特定後、算出角度θの誤差Δθが最小となる基準位置に対する、該特定した位置の誤差を検出する。図1に示された回転センサの場合、既に述べたように、中心oにおいて角度誤差Δθが最小となるように磁石41,42の位置、並びに磁力が設定されているので、設置誤差検出部141は、この中心oに対する現在のセンサの位置Pの誤差ΔX,ΔYを算出して、位置修正量表示部143に出力する。すなわち、該特定した位置を(Xp,Yp)磁力分布記録部142に記録された空間分布上の中心oの位置を(Xo,Yo)とすると、X軸上の誤差ΔX=Xp−Xoとなり、Y軸上の誤差ΔY=Yp−Yoとなる。   After the position is specified, the attachment error detection unit 141 detects the error of the specified position with respect to the reference position where the error Δθ of the calculated angle θ is minimum. In the case of the rotation sensor shown in FIG. 1, the position of the magnets 41 and 42 and the magnetic force are set so that the angle error Δθ is minimized at the center o as described above. Calculates the errors ΔX, ΔY of the current sensor position P with respect to the center o, and outputs them to the position correction amount display unit 143. That is, if the specified position is (Xp, Yp) and the position of the center o on the spatial distribution recorded in the magnetic force distribution recording unit 142 is (Xo, Yo), the error on the X axis ΔX = Xp−Xo, The error on the Y axis is ΔY = Yp−Yo.

位置修正量表示部143は、例えば液晶表示デバイスであって、誤差ΔX,ΔYをデジタル的、あるいはアナログ的に表示する。そして、磁気センサの取付時、この表示にしたがってセンサ基板5の取付位置を修正することができる。   The position correction amount display unit 143 is a liquid crystal display device, for example, and displays the errors ΔX and ΔY in a digital or analog manner. When the magnetic sensor is attached, the attachment position of the sensor substrate 5 can be corrected according to this display.

これまで述べたように、本発明に係る磁気センサの第2の態様の特徴は、取付位置解析部M2は、磁界Bの方向、及び強度Hの空間分布を記録した磁力分布記録部142を含み、空間分布に基づいて、角度θと強度信号V3とから空間内の位置を特定する点にある。   As described above, the feature of the second aspect of the magnetic sensor according to the present invention is that the attachment position analysis unit M2 includes the magnetic field distribution recording unit 142 that records the direction of the magnetic field B and the spatial distribution of the strength H. Based on the spatial distribution, the position in the space is specified from the angle θ and the intensity signal V3.

したがって、あらかじめ、角度算出部の算出角度θの誤差Δθが最小となる空間内の位置o(Xo,Yo)を特定しておくことにより、磁界の方向θ、及び強度Hとを手がかりとして特定した磁気センサ5の現在位置Pとの位置的誤差ΔX,ΔYを検出し、これに従って該位置を修正することができる。   Therefore, by specifying the position o (Xo, Yo) in the space where the error Δθ of the calculation angle θ of the angle calculation unit is minimized, the magnetic field direction θ and the intensity H are specified as clues. It is possible to detect positional errors ΔX and ΔY from the current position P of the magnetic sensor 5 and correct the positions accordingly.

上述した実施形態では、センサ基板5に、強度検出用の磁気抵抗効果素子30を1個だけ設けているが、これに限定されるものではない。例えば、図13に示されるように、4個の強度検出用の磁気抵抗効果素子32〜35を設けても良い。   In the embodiment described above, the sensor substrate 5 is provided with only one magnetoresistive effect element 30 for intensity detection, but the present invention is not limited to this. For example, as shown in FIG. 13, four strength detecting magnetoresistive elements 32 to 35 may be provided.

この実施形態において、強度検出用の磁気抵抗効果素子32〜35の各々は、ピンド層の磁化方向が同一である2個の角度検出用の磁気抵抗効果素子11〜14,21〜24に挟まれるように設けられている。そして、これらは、図中の点線の枠に示されるように単一のICパッケージとして構成されている。図14は、代表的に磁気抵抗効果素子12,13,35を含むICパッケージを、その長手方向の側面から見た概略断面図である。なお、その他のICパッケージについても同様の構成である。   In this embodiment, each of the magnetoresistance effect elements 32 to 35 for strength detection is sandwiched between two magnetoresistance effect elements 11 to 14 and 21 to 24 for angle detection in which the magnetization directions of the pinned layers are the same. It is provided as follows. These are configured as a single IC package as indicated by the dotted frame in the figure. FIG. 14 is a schematic cross-sectional view of an IC package typically including the magnetoresistive elements 12, 13, and 35 as viewed from the side surface in the longitudinal direction. The other IC packages have the same configuration.

図から理解されるように、角度検出用の磁気抵抗効果素子12,13は、それぞれ、磁界Bにより磁化飽和するように、その両側に配置された一対の磁性膜36により挟まれている。この磁性膜36は、例えばNiFe、もしくはXFe(X=Mn,Cu,Zn)等のような軟磁性材料から構成されている。 As understood from the drawing, the magnetoresistive elements 12 and 13 for angle detection are sandwiched between a pair of magnetic films 36 arranged on both sides thereof so that the magnetization is saturated by the magnetic field B. The magnetic film 36 is made of a soft magnetic material such as NiFe or XFe 2 O 4 (X = Mn, Cu, Zn).

磁性膜36の各対は、磁気抵抗効果素子12,13を挟み込み、ヨークとして機能する。したがって、磁気抵抗効果素子12,13の各々が受ける磁界Bの強度Hは増加し、磁気抵抗効果素子12,13の飽和領域S2における動作を可能とする。この場合、磁性膜36の形状、大きさ、及び磁気抵抗効果素子12,13との間の距離などを適宜に設定する必要がある。   Each pair of the magnetic films 36 sandwiches the magnetoresistive effect elements 12 and 13 and functions as a yoke. Therefore, the intensity H of the magnetic field B received by each of the magnetoresistive elements 12 and 13 increases, and the magnetoresistive elements 12 and 13 can operate in the saturation region S2. In this case, it is necessary to appropriately set the shape and size of the magnetic film 36 and the distance between the magnetoresistive effect elements 12 and 13.

また、この実施形態とは反対に、図15に示されるように、強度検出用の磁気抵抗効果素子35を、磁界Bにより磁化飽和しないように、上述した軟磁性材料からなる磁性膜39によりシールドしてもよい。   On the contrary, as shown in FIG. 15, the magnetoresistive element 35 for detecting the intensity is shielded by the magnetic film 39 made of the soft magnetic material so as not to be saturated with the magnetic field B, as shown in FIG. May be.

磁性膜39は、図1と図2とに示された磁石41,42と磁気抵抗効果素子35の間に配置され、磁界Bに対するシールドとして機能する。したがって、磁気抵抗効果素子35が受ける磁界Bの強度Hは低下し、磁気抵抗効果素子35の不飽和領域S1における動作を可能とする。この場合、磁性膜39の形状、大きさ、及び磁気抵抗効果素子35との間の距離などを適宜に設定する必要がある。   The magnetic film 39 is disposed between the magnets 41 and 42 and the magnetoresistive element 35 shown in FIGS. 1 and 2 and functions as a shield against the magnetic field B. Accordingly, the intensity H of the magnetic field B received by the magnetoresistive effect element 35 is reduced, and the operation of the magnetoresistive effect element 35 in the unsaturated region S1 is enabled. In this case, it is necessary to appropriately set the shape and size of the magnetic film 39 and the distance between the magnetoresistive effect element 35 and the like.

磁気抵抗効果素子の動作点を異ならせる手段は、磁性膜36,39に限られない。図16と図17とに示されるように、磁気抵抗効果素子35が受ける磁界Bの強度Hを低下させるように、その上方に磁石37を設けてもよい。このとき、磁石37は、金具などの固定手段により所定の位置に固定される。   Means for making the operating point of the magnetoresistive element different is not limited to the magnetic films 36 and 39. As shown in FIGS. 16 and 17, a magnet 37 may be provided above the magnetic resistance B so that the strength H of the magnetic field B received by the magnetoresistive element 35 is lowered. At this time, the magnet 37 is fixed at a predetermined position by fixing means such as a metal fitting.

磁石37の固定にあたっては、磁石37を正確に磁気抵抗効果素子35の直上に配置するために、図中の点線で示される位置調整板38を治具として使用すると望ましい。位置調整板38は、ICパッケージ50と実質的に同一寸法の矩形状の板であって、板面の四隅に検出素子381が備えられている。   In fixing the magnet 37, it is desirable to use a position adjusting plate 38 indicated by a dotted line in the drawing as a jig in order to place the magnet 37 directly above the magnetoresistive element 35. The position adjustment plate 38 is a rectangular plate having substantially the same dimensions as the IC package 50, and detection elements 381 are provided at four corners of the plate surface.

検出素子381は、強度検出用の磁気抵抗効果素子32〜35と同様の機能を備える磁気抵抗効果素子である。つまり、検出素子381は、磁石37から発する磁界により磁化飽和せず、特性上、不飽和領域において動作し、該強度を検出するものである。   The detection element 381 is a magnetoresistive effect element having the same function as the magnetoresistive effect elements 32 to 35 for intensity detection. That is, the detection element 381 does not saturate due to the magnetic field emitted from the magnet 37, and operates in an unsaturated region in terms of characteristics to detect the intensity.

4個の検出素子381は、板面の中心について対称に配置され、かつ、磁気抵抗効果素子35は板面の中心に配置されている。このとき、磁石35が傾斜したり、あるいは磁石35の位置が中心からずれていた場合、4個の検出素子381が検出する強度に差分が生ずるため、これを検知することができる。   The four detection elements 381 are arranged symmetrically with respect to the center of the plate surface, and the magnetoresistive element 35 is arranged at the center of the plate surface. At this time, if the magnet 35 is inclined or the position of the magnet 35 is deviated from the center, a difference is generated in the intensity detected by the four detection elements 381, and this can be detected.

図14乃至図17の何れの場合においても、磁性膜36,39、あるいは磁石37によって、強度検出用の磁気抵抗効果素子32〜35と角度検出用の磁気抵抗効果素子11〜14,21〜24との間において磁界の強度Hに差分が生ずる。したがって、強度検出用の磁気抵抗効果素子32〜35と角度検出用の磁気抵抗効果素子11〜14,21〜24は、互いに同一の構成、及び特性を備えることが望ましく、さらに、上述した補正値の算出や位置の特定にあたって、磁性膜36,39の透磁率、あるいは磁石37の磁力に基づいて強度Hの差分を補填する必要があることに留意すべきである。   14 to 17, the magnetic films 36 and 39 or the magnet 37 are used to detect the magnetoresistance effect elements 32 to 35 for strength detection and the magnetoresistance effect elements 11 to 14 and 21 to 24 for angle detection. A difference occurs in the magnetic field strength H. Accordingly, it is desirable that the magnetoresistance effect elements 32 to 35 for detecting the intensity and the magnetoresistance effect elements 11 to 14 and 21 to 24 for detecting the angle have the same configuration and characteristics, and further, the correction value described above. It should be noted that the difference in strength H needs to be compensated based on the magnetic permeability of the magnetic films 36 and 39 or the magnetic force of the magnet 37 in calculating the position and specifying the position.

センサ基板5として図13に示された構成を採用することの利点は、強度検出用の磁気抵抗効果素子32〜35と角度検出用の磁気抵抗効果素子11〜14,21〜24を、同一のICパッケージに収めることによって、実装面積とコストを低減するとともに、両者をより近接して配置することができるため、結果的に、上述した補正値の算出や位置の特定を高精度に行うことができる点にある。また、強度検出用の磁気抵抗効果素子32〜35が、センサ基板5の板面の中心に関して対称な4つの位置に配置されるので、センサ基板5が傾斜して取り付けられた場合、磁気抵抗効果素子32〜35が検出した各強度Hに差異が生じ、これを検出することができるという副次的効果も得られる。なお、これは、上述した位置調整板38の効果に類似する。   The advantage of adopting the configuration shown in FIG. 13 as the sensor substrate 5 is that the magnetoresistance effect elements 32 to 35 for intensity detection and the magnetoresistance effect elements 11 to 14 and 21 to 24 for angle detection are the same. By mounting in an IC package, the mounting area and cost can be reduced, and both can be placed closer to each other. As a result, the above-described correction value calculation and position specification can be performed with high accuracy. It is in the point that can In addition, since the magnetoresistive effect elements 32 to 35 for detecting the strength are arranged at four positions symmetrical with respect to the center of the plate surface of the sensor substrate 5, when the sensor substrate 5 is mounted at an inclination, the magnetoresistive effect A difference arises in each intensity | strength H which the elements 32-35 detected, and the secondary effect that this can be detected is also acquired. This is similar to the effect of the position adjustment plate 38 described above.

さらに、図13に示された構成において、強度検出用の磁気抵抗効果素子32〜35のピンド層の磁化方向を、角度検出用の磁気抵抗効果素子11〜14,21〜24と同様に、互いに直交する2方向に設定するとよい。これにより、磁界Bの強度Hを、そのSIN成分、及びCOS成分の二乗平均を計算することによって、直ちに算出し、検出角度の補正を行うことができる。これに対し、強度検出用の磁気抵抗効果素子32〜35のピンド層の磁化方向が全て所定の一方向である場合、回転角センサの起動時、強度HのSIN成分、及びCOS成分を検出するために、図1と図2とに示された磁石41,42を少なくとも90度だけ回転させる余分な処理が必要となってしまう。   Further, in the configuration shown in FIG. 13, the magnetization directions of the pinned layers of the magnetoresistance effect elements 32 to 35 for detecting the intensity are mutually changed in the same manner as the magnetoresistance effect elements 11 to 14 and 21 to 24 for angle detection. It is good to set in two orthogonal directions. Thereby, the intensity H of the magnetic field B can be immediately calculated by calculating the mean square of the SIN component and the COS component, and the detection angle can be corrected. On the other hand, when the magnetization directions of the pinned layers of the magnetoresistive effect elements 32 to 35 for intensity detection are all in a predetermined direction, the SIN component and the COS component of intensity H are detected when the rotation angle sensor is activated. Therefore, an extra process for rotating the magnets 41 and 42 shown in FIGS. 1 and 2 by at least 90 degrees is required.

本発明に係る磁気センサの適用範囲は、図1及び図2に示される回転角センサに限定されるものではない。図18及び図19には、本発明に係る磁気センサを、回転数センサに適用した例を示している。この構成は、機械的な制約のために、図1及び図2に示された、軸端部にセンサ基板5を配置する構成を採用できない場合によく用いられる。   The application range of the magnetic sensor according to the present invention is not limited to the rotation angle sensor shown in FIGS. 18 and 19 show an example in which the magnetic sensor according to the present invention is applied to a rotational speed sensor. This configuration is often used when the configuration in which the sensor substrate 5 is arranged at the end of the shaft shown in FIGS. 1 and 2 cannot be employed due to mechanical limitations.

回転数センサは、位置oを中心としてR方向に回転する円柱状のシャフト6の周囲に、金具などを介して、円環状の多極磁石7が固定されている。多極磁石7は、その円周沿いにN極磁石71とS極磁石72とが交互に、例えば計10個設けられている。   In the rotation speed sensor, an annular multipolar magnet 7 is fixed around a cylindrical shaft 6 that rotates in the R direction around the position o via a fitting or the like. The multipolar magnet 7 is provided with N pole magnets 71 and S pole magnets 72 alternately along the circumference, for example, a total of ten.

センサ基板5は、取付台52に取り付けられ、その板面が多極磁石7の回転面に対して実質的に垂直となるように配置されている。すなわち、磁気抵抗効果素子11〜14,21〜24,30のフリー層104の膜面は、図中のX−Z平面と実質的に平行となっている。これにより、磁気センサは、多極磁石7の回転に伴って変化する磁界の向きを、角度として検出することができる。   The sensor substrate 5 is attached to a mounting base 52 and is arranged so that its plate surface is substantially perpendicular to the rotation surface of the multipolar magnet 7. That is, the film surfaces of the free layer 104 of the magnetoresistive effect elements 11 to 14, 21 to 24, and 30 are substantially parallel to the XZ plane in the drawing. Thereby, the magnetic sensor can detect the direction of the magnetic field which changes with rotation of the multipolar magnet 7 as an angle.

そして、磁気センサは、先の例における図8乃至10のような電気的構成を備えることによって、算出角度を補正することができる。ただし、本例の場合、先の例とは異なり、多極磁石7のために磁場の三次元的な歪みが大きいので、算出角度の補正と同時に、多極磁石7から発生する磁界の空間的な歪みをベクトル演算により補正することも必要となる。   And a magnetic sensor can correct | amend a calculation angle by providing an electrical structure like FIG. 8 thru | or 10 in a previous example. However, in the case of this example, unlike the previous example, since the three-dimensional distortion of the magnetic field is large due to the multipolar magnet 7, the correction of the calculated angle and the spatial of the magnetic field generated from the multipolar magnet 7 are simultaneous. It is also necessary to correct various distortions by vector calculation.

一方、磁気センサが、先の例における図11のような電気的構成を備えれば、既に述べたような取付位置の調整も可能である。この場合、例えば、図中の符号8の点線で示されるX−Z平面に関して、磁力の空間分布を磁力分布記録部142に記録することが考えられれる。図20は、該空間分布の一例である。   On the other hand, if the magnetic sensor has an electrical configuration as shown in FIG. 11 in the previous example, it is possible to adjust the mounting position as described above. In this case, for example, it is conceivable to record the magnetic force spatial distribution in the magnetic force distribution recording unit 142 with respect to the XZ plane indicated by the dotted line 8 in the drawing. FIG. 20 is an example of the spatial distribution.

図20に示されたX−Z平面には、磁力の空間分布に加えて、コンピュータ解析により得られた磁石72周辺の角度誤差の分布も記載されている。なお、図中に点線で示された磁界の強度は、磁場ベクトルBのX−Z平面内の成分であるため、図面上は、角度誤差の分布との相関性が見られない点に留意されたい。   In the XZ plane shown in FIG. 20, in addition to the spatial distribution of magnetic force, the distribution of angular errors around the magnet 72 obtained by computer analysis is also described. It should be noted that the intensity of the magnetic field indicated by the dotted line in the figure is a component in the XZ plane of the magnetic field vector B, and thus there is no correlation with the distribution of angular errors on the drawing. I want.

この誤差分布に基づき、設置誤差検出部141は、例えば、最小誤差となる符号Poの位置を目標位置として、基板5の現在位置Pの位置的誤差を検出することができる。なお、設置上の機械的な制限などが存在するため、目標位置を、必ずしも最小誤差となる位置とする必要はない。   Based on this error distribution, the installation error detection unit 141 can detect the positional error of the current position P of the substrate 5 with the position of the symbol Po, which is the minimum error, as the target position, for example. Since there are mechanical restrictions on installation, the target position does not necessarily have to be a position that causes a minimum error.

なお、本例と先の例の何れにおいても、二次元空間における磁気センサの取付位置の修正を例示しているが、三次元空間についても同様の手法により位置の修正が可能である。この場合、磁場ベクトルの3方向の成分(Hx,Hy,Hz)を検出するために、磁気抵抗効果素子の膜面が互いに直交する少なくとも2組の第1及び第2のセンサ部が必要となる。   In both of the present example and the previous example, the correction of the mounting position of the magnetic sensor in the two-dimensional space is illustrated, but the position can be corrected in the same manner in the three-dimensional space. In this case, in order to detect the components (Hx, Hy, Hz) in the three directions of the magnetic field vector, at least two sets of first and second sensor units in which the film surfaces of the magnetoresistive effect element are orthogonal to each other are required. .

以上、好ましい実施例を参照して本発明の内容を具体的に説明したが、本発明の基本的技術思想及び教示に基づいて、当業者であれば、種々の変形態様を採り得ることは自明である。   Although the contents of the present invention have been specifically described above with reference to the preferred embodiments, it is obvious that those skilled in the art can take various modifications based on the basic technical idea and teachings of the present invention. It is.

5 センサ基板
11〜14,21〜24,30,32〜35 磁気抵抗効果素子
15,36 磁性膜
120 第1のセンサ部
130 第2のセンサ部
121 角度算出部
132 補正テーブル記録部
142 磁力分布記録部
B 磁界
V1,V2 角度信号
V3 強度信号
M2 取付位置解析部
DESCRIPTION OF SYMBOLS 5 Sensor substrate 11-14, 21-24, 30, 32-35 Magnetoresistive element 15, 36 Magnetic film 120 1st sensor part 130 2nd sensor part 121 Angle calculation part 132 Correction table recording part 142 Magnetic field distribution recording Part B Magnetic field V1, V2 Angle signal V3 Strength signal M2 Mounting position analyzer

Claims (9)

第1のセンサ部と、第2のセンサ部とを含み、測定対象である磁界の向きを角度として検出する磁気センサであって、
前記第1のセンサ部は、前記磁界により磁化飽和する1以上の磁気抵抗効果素子を含み、前記磁界の向きに応じた角度信号を出力し、
前記第2のセンサ部は、前記磁界により磁化飽和しない1以上の磁気抵抗効果素子を含み、前記磁界の強度に応じた強度信号を出力し、
前記角度は、前記角度信号と前記強度信号とに基づいて得られる、
磁気センサ。
A magnetic sensor that includes a first sensor unit and a second sensor unit, and detects a direction of a magnetic field as a measurement target as an angle,
The first sensor unit includes one or more magnetoresistance effect elements that are saturated with magnetization by the magnetic field, and outputs an angle signal corresponding to the direction of the magnetic field,
The second sensor unit includes one or more magnetoresistance effect elements that are not magnetized and saturated with the magnetic field, and outputs an intensity signal corresponding to the intensity of the magnetic field,
The angle is obtained based on the angle signal and the intensity signal.
Magnetic sensor.
請求項1に記載された磁気センサであって、
前記角度信号に基づいて角度を算出する角度算出部をさらに含む、
磁気センサ。
The magnetic sensor according to claim 1,
An angle calculation unit that calculates an angle based on the angle signal;
Magnetic sensor.
請求項1または2に記載された磁気センサであって、
前記磁界の強度に対応する前記角度の補正量、あるいは前記角度信号の補正量が記録されたテーブル記録部をさらに含み、
前記角度は、前記強度信号に基づいて前記テーブル記録部から得た前記補正量により補正された値である、
磁気センサ。
The magnetic sensor according to claim 1 or 2,
A table recording unit in which the angle correction amount corresponding to the magnetic field intensity or the angle signal correction amount is recorded;
The angle is a value corrected by the correction amount obtained from the table recording unit based on the intensity signal.
Magnetic sensor.
第1のセンサ部と、第2のセンサ部と、角度算出部と、取付位置解析部とを含み、測定対象である磁界の向きを検出する磁気センサであって、
前記第1のセンサ部は、前記磁界により磁化飽和する1以上の磁気抵抗効果素子を含み、前記磁界の向きに応じた角度信号を出力し、
前記角度算出部は、前記角度信号に基づいて角度を算出し、
前記第2のセンサ部は、前記磁界により磁化飽和しない1以上の磁気抵抗効果素子を含み、前記磁界の強度に応じた強度信号を出力し、
前記取付位置解析部は、前記磁界の方向、及び強度の空間分布を記録した磁力分布記録部を含み、前記空間分布に基づいて、前記角度と前記強度信号とから空間内の位置を特定する、
磁気センサ。
A magnetic sensor that includes a first sensor unit, a second sensor unit, an angle calculation unit, and an attachment position analysis unit, and detects a direction of a magnetic field to be measured,
The first sensor unit includes one or more magnetoresistance effect elements that are saturated with magnetization by the magnetic field, and outputs an angle signal corresponding to the direction of the magnetic field,
The angle calculation unit calculates an angle based on the angle signal,
The second sensor unit includes one or more magnetoresistance effect elements that are not magnetized and saturated with the magnetic field, and outputs an intensity signal corresponding to the intensity of the magnetic field,
The mounting position analysis unit includes a magnetic force distribution recording unit that records the direction of the magnetic field and the spatial distribution of the intensity, and specifies a position in the space from the angle and the intensity signal based on the spatial distribution.
Magnetic sensor.
請求項4に記載された磁気センサであって、
前記位置解析部は、前記角度検出部が算出した角度の誤差が最小となる基準位置に対する、前記特定した位置の誤差を検出する、
磁気センサ。
The magnetic sensor according to claim 4,
The position analysis unit detects an error of the specified position with respect to a reference position where the error of the angle calculated by the angle detection unit is minimized;
Magnetic sensor.
請求項1乃至5の何れかに記載された磁気センサであって、
前記第2のセンサ部の前記1以上の磁気抵抗効果素子は、ピンド層の磁化方向において形状異方性を有する、
磁気センサ。
A magnetic sensor according to any one of claims 1 to 5,
The one or more magnetoresistive elements of the second sensor section have shape anisotropy in the magnetization direction of the pinned layer;
Magnetic sensor.
請求項1乃至5の何れかに記載された磁気センサであって、
前記第2のセンサ部の前記1以上の磁気抵抗効果素子は、前記第1のセンサ部の前記1以上の磁気抵抗効果素子と比較して、フリー層の膜厚が厚い、
磁気センサ。
A magnetic sensor according to any one of claims 1 to 5,
The one or more magnetoresistive effect elements of the second sensor portion have a thick free layer compared to the one or more magnetoresistive effect elements of the first sensor portion.
Magnetic sensor.
請求項1乃至5の何れかに記載された磁気センサであって、
前記第1のセンサ部の前記1以上の磁気抵抗効果素子は、前記磁界により磁化飽和するように、ヨーク機能を有する軟磁性体により挟まれている、
磁気センサ。
A magnetic sensor according to any one of claims 1 to 5,
The one or more magnetoresistive effect elements of the first sensor unit are sandwiched between soft magnetic materials having a yoke function so that magnetization is saturated by the magnetic field.
Magnetic sensor.
請求項1乃至5の何れかに記載された磁気センサであって、
前記第2のセンサ部の前記1以上の磁気抵抗効果素子は、前記磁界により磁化飽和しないように軟磁性膜によりシールドされている、
磁気センサ。
A magnetic sensor according to any one of claims 1 to 5,
The one or more magnetoresistive elements of the second sensor section are shielded by a soft magnetic film so as not to saturate magnetization by the magnetic field;
Magnetic sensor.
JP2010277970A 2010-12-14 2010-12-14 Magnetic sensor Active JP5187538B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010277970A JP5187538B2 (en) 2010-12-14 2010-12-14 Magnetic sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010277970A JP5187538B2 (en) 2010-12-14 2010-12-14 Magnetic sensor

Publications (2)

Publication Number Publication Date
JP2012127736A true JP2012127736A (en) 2012-07-05
JP5187538B2 JP5187538B2 (en) 2013-04-24

Family

ID=46644956

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010277970A Active JP5187538B2 (en) 2010-12-14 2010-12-14 Magnetic sensor

Country Status (1)

Country Link
JP (1) JP5187538B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014044121A (en) * 2012-08-27 2014-03-13 Denso Corp Opening degree detecting device
US9400194B2 (en) 2013-10-29 2016-07-26 Mitsubishi Electric Corporation Magnetic detection device and on-vehicle rotation detection device equipped with the same
JP2016522410A (en) * 2013-05-31 2016-07-28 江▲蘇▼多▲維▼科技有限公司Multidimension Technology Co., Ltd. Liquid level sensor system
JP2017161365A (en) * 2016-03-09 2017-09-14 Tdk株式会社 Magnet and displacement detector
CN113219379A (en) * 2020-01-21 2021-08-06 英飞凌科技股份有限公司 Sensor, controller and method for determining a magnetic field direction
CN113811738A (en) * 2019-06-11 2021-12-17 株式会社村田制作所 Magnetic sensor, magnetic sensor array, magnetic field distribution measuring device, and position specifying device
DE102020210617A1 (en) 2020-08-20 2022-02-24 Infineon Technologies Ag MAGNETIC FIELD-BASED ANGLE SENSOR SYSTEM WITH STREAK-FIELD COMPENSATION AND METHOD FOR STREAK-FIELD COMPENSATION

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62281520A (en) * 1986-05-29 1987-12-07 Yamaha Corp Magneto-resistance sensor for magnetic encoder
JP2002303536A (en) * 2001-04-03 2002-10-18 Alps Electric Co Ltd Rotation angle detecting sensor
JP2003083709A (en) * 2001-09-14 2003-03-19 Axiom Co Ltd Writing instrument for writing discrimination system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62281520A (en) * 1986-05-29 1987-12-07 Yamaha Corp Magneto-resistance sensor for magnetic encoder
JP2002303536A (en) * 2001-04-03 2002-10-18 Alps Electric Co Ltd Rotation angle detecting sensor
JP2003083709A (en) * 2001-09-14 2003-03-19 Axiom Co Ltd Writing instrument for writing discrimination system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014044121A (en) * 2012-08-27 2014-03-13 Denso Corp Opening degree detecting device
JP2016522410A (en) * 2013-05-31 2016-07-28 江▲蘇▼多▲維▼科技有限公司Multidimension Technology Co., Ltd. Liquid level sensor system
US9400194B2 (en) 2013-10-29 2016-07-26 Mitsubishi Electric Corporation Magnetic detection device and on-vehicle rotation detection device equipped with the same
JP2017161365A (en) * 2016-03-09 2017-09-14 Tdk株式会社 Magnet and displacement detector
CN107179093A (en) * 2016-03-09 2017-09-19 Tdk株式会社 Magnet and displacement detector
US10401195B2 (en) 2016-03-09 2019-09-03 Tdk Corporation Magnet and displacement detection unit
CN113811738A (en) * 2019-06-11 2021-12-17 株式会社村田制作所 Magnetic sensor, magnetic sensor array, magnetic field distribution measuring device, and position specifying device
CN113219379A (en) * 2020-01-21 2021-08-06 英飞凌科技股份有限公司 Sensor, controller and method for determining a magnetic field direction
DE102020210617A1 (en) 2020-08-20 2022-02-24 Infineon Technologies Ag MAGNETIC FIELD-BASED ANGLE SENSOR SYSTEM WITH STREAK-FIELD COMPENSATION AND METHOD FOR STREAK-FIELD COMPENSATION

Also Published As

Publication number Publication date
JP5187538B2 (en) 2013-04-24

Similar Documents

Publication Publication Date Title
JP6463789B2 (en) Magnetic angular position sensor
US11255700B2 (en) Magnetic field sensor
JP5187538B2 (en) Magnetic sensor
US10690515B2 (en) Dual Z-axis magnetoresistive angle sensor
US8659289B2 (en) Rotating field sensor
US10670425B2 (en) System for measuring angular position and method of stray field cancellation
JP4573736B2 (en) Magnetic field detector
US10921391B2 (en) Magnetic field sensor with spacer
JP4508058B2 (en) Magnetic field detection device and manufacturing method thereof
US20120038351A1 (en) Rotating field sensor
JP2008534926A (en) Angular position detection using multiple rotary magnetic sensors
US10816363B2 (en) Angular sensor system and method of stray field cancellation
US10215550B2 (en) Methods and apparatus for magnetic sensors having highly uniform magnetic fields
JP2003075108A (en) Rotation angle sensor
JP2010197399A (en) Magnetic field detector, and method for regulating the same
US20230026816A1 (en) Position detection device
JP5201493B2 (en) Position detection device and linear drive device
JP2012063203A (en) Magnetic sensor
JP4900838B2 (en) Position detection device and linear drive device
US11371824B2 (en) Stray field robust out of shaft angle sensor and measurement system
JP2013002835A (en) Rotation angle detecting device
CN116164778A (en) Position sensor with main rail and Norus rail
EP3779487B1 (en) Assembly and method for determining the strength of a magnetic stray field
US20240133714A1 (en) Device and method for determining an encoder magnet rotation angle
JP2023083648A (en) Magnetic sensor, electric control device, correction method, and magnetic sensor manufacturing method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121004

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121010

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121127

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130108

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160201

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5187538

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150