JP2009020117A - Magnetic sensor - Google Patents

Magnetic sensor Download PDF

Info

Publication number
JP2009020117A
JP2009020117A JP2008224869A JP2008224869A JP2009020117A JP 2009020117 A JP2009020117 A JP 2009020117A JP 2008224869 A JP2008224869 A JP 2008224869A JP 2008224869 A JP2008224869 A JP 2008224869A JP 2009020117 A JP2009020117 A JP 2009020117A
Authority
JP
Japan
Prior art keywords
temperature
magnetic sensor
elements
magnetoresistive
layer
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
JP2008224869A
Other languages
Japanese (ja)
Other versions
JP5045617B2 (en
Inventor
Hideki Sato
秀樹 佐藤
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.)
Yamaha Corp
Original Assignee
Yamaha 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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP2008224869A priority Critical patent/JP5045617B2/en
Publication of JP2009020117A publication Critical patent/JP2009020117A/en
Application granted granted Critical
Publication of JP5045617B2 publication Critical patent/JP5045617B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Hall/Mr Elements (AREA)
  • Measuring Magnetic Variables (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a single-chip magnetic sensor capable of generating an output signal without use of a connection wire. <P>SOLUTION: A magnetic sensor 10 includes a single substrate 10a, a plurality of magnetoresistance-effect elements 11 to 18, a wiring section 19 via which the plurality of magnetoresistance-effect elements are connected, and a control circuit section 31. The control circuit section obtains, via the wiring section, a physical quantity based on values of resistance of the plurality of magnetoresistance-effect elements, and generates an output signal by processing the physical quantity. The magnetic sensor includes a plurality of layers laminated on the substrate. Each of the magnetoresistance-effect elements is formed on an upper surface of one of the plurality of layers. The wiring section and the control circuit section are formed on the substrate and in the plurality of layers. The magnetoresistance-effect elements, the wiring section, and the control circuit section are connected to one another in the plurality of layers via a connecting section, made of an electrically conductive substance, which extends in a direction that intersects with planes of those layers. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

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

従来から、強磁性体磁気素子(MR素子)、巨大磁気抵抗効果素子(GMR素子)、或いは磁気トンネル効果素子(TMR素子)等の磁気抵抗効果素子を磁界検出素子として利用し、磁気抵抗効果素子の抵抗値に基づいて同磁気抵抗効果素子に加わる外部磁界に応じた出力値を生成するように構成された磁気センサが知られている。   Conventionally, a magnetoresistive effect element such as a ferromagnetic magnetic element (MR element), a giant magnetoresistive effect element (GMR element), or a magnetic tunnel effect element (TMR element) has been used as a magnetic field detection element. There is known a magnetic sensor configured to generate an output value corresponding to an external magnetic field applied to the magnetoresistive element based on the resistance value.

ところで、磁気抵抗効果素子の抵抗値は素子温度に依存して変化する。このため、上記磁気センサの出力値は、検出しようとする磁界が同一であっても、磁気抵抗効果素子の温度に依存して変化する。従って、磁界(の大きさ)を高い精度で検出するためには、かかる温度依存特性を補償することが必要である。   Incidentally, the resistance value of the magnetoresistive effect element changes depending on the element temperature. For this reason, the output value of the magnetic sensor changes depending on the temperature of the magnetoresistive element even if the magnetic field to be detected is the same. Therefore, in order to detect the magnetic field (magnitude) with high accuracy, it is necessary to compensate for such temperature dependent characteristics.

これに対し、特開平6−77558号公報(特許文献1)に記載された磁気センサ装置は、磁気抵抗効果素子の近傍に温度センサを配設するとともに、磁気センサの出力値である電圧と温度との関係(温度依存特性)を予め測定してメモリに記憶しておき、同温度センサが検出する実際の温度と同メモリに記憶した関係とに基づいて基準電圧を決定し、同磁気センサが実際に出力する電圧と同決定された基準電圧との差を増幅して出力することにより、同磁気センサの温度依存特性を補償するようになっている。
特開平6−77558号公報
On the other hand, in the magnetic sensor device described in Japanese Patent Laid-Open No. 6-77558 (Patent Document 1), a temperature sensor is disposed in the vicinity of the magnetoresistive effect element, and a voltage and a temperature that are output values of the magnetic sensor. (Temperature dependence characteristics) is measured in advance and stored in the memory, and the reference voltage is determined based on the actual temperature detected by the temperature sensor and the relationship stored in the memory. By amplifying and outputting the difference between the actually output voltage and the determined reference voltage, the temperature dependent characteristic of the magnetic sensor is compensated.
Japanese Patent Laid-Open No. 6-77558

一方、高感度の磁気センサの出力値は地磁気の影響を受けて変化する。また、地磁気は時間とともに変動する。このため、上記磁気センサ装置のメモリに記憶される温度依存特性は、地磁気が変化しないことが保証される所定の短時間のうちに測定されなければならず、従って、上記測定時における磁気抵抗効果素子の加熱又は冷却は短時間内に行われなければならない。   On the other hand, the output value of a highly sensitive magnetic sensor changes under the influence of geomagnetism. In addition, geomagnetism varies with time. For this reason, the temperature-dependent characteristics stored in the memory of the magnetic sensor device must be measured within a predetermined short time period during which it is guaranteed that the geomagnetism does not change, and therefore the magnetoresistance effect during the measurement The element must be heated or cooled within a short time.

しかしながら、上記磁気抵抗効果素子の加熱を一般的な加熱・冷却装置で行おうとすると、同磁気抵抗効果素子だけでなく、その基板を含む磁気センサ全体が加熱・冷却されることになるので、同磁気センサの熱容量が大きいことに起因して加熱・冷却時間が長くなって温度依存特性の測定中に地磁気が変化することがあり、その結果、メモリに記憶される温度依存特性の信頼性が低下して温度依存特性の補償が精度良くなされ得ないという問題がある。これに対し、地磁気の影響を除去した環境下で前記温度依存特性を測定することも考えられるが、そのような環境を形成するための装置(磁場キャンセラー)は極めて高価であり、その結果、磁気センサの製造コストが増大してしまうという問題もある。   However, if the magnetoresistive effect element is heated by a general heating / cooling device, not only the magnetoresistive effect element but also the entire magnetic sensor including the substrate is heated / cooled. Due to the large heat capacity of the magnetic sensor, the heating / cooling time becomes longer and the geomagnetism may change during the measurement of the temperature-dependent characteristics. As a result, the reliability of the temperature-dependent characteristics stored in the memory decreases. As a result, there is a problem that compensation for temperature dependent characteristics cannot be made with high accuracy. On the other hand, it is conceivable to measure the temperature-dependent characteristics in an environment from which the influence of geomagnetism is removed, but a device (magnetic field canceller) for forming such an environment is extremely expensive. There is also a problem that the manufacturing cost of the sensor increases.

従って、本発明の目的の一つは、安価に、短時間内で、且つ精度良く、温度依存特性の測定を行うことが可能な磁気センサ、及び精度良く温度依存特性の補償を行うことが可能な磁気センサの温度依存特性補償方法を提供することにある。   Accordingly, one of the objects of the present invention is to provide a magnetic sensor capable of measuring temperature-dependent characteristics at a low cost within a short time and with high accuracy, and to compensate temperature-dependent characteristics with high accuracy. Another object of the present invention is to provide a temperature compensation characteristic compensation method for a magnetic sensor.

また、本発明の他の目的は、単一チップの磁気センサであって、同磁気センサと同磁気センサの外部とを接続する例えばAu線等の接続ワイヤーを用いることなく、同磁気センサの出力信号を生成することが可能な磁気センサを提供することにある。   Another object of the present invention is a single-chip magnetic sensor that outputs the magnetic sensor without using a connection wire such as an Au wire that connects the magnetic sensor and the outside of the magnetic sensor. It is an object of the present invention to provide a magnetic sensor capable of generating a signal.

また、本発明の他の目的は、磁気抵抗効果素子の抵抗変化に基く出力信号の生成、磁気抵抗効果素子の温度特性データの取得、磁気抵抗効果素子のフリー層の磁化の初期化、或いは磁気抵抗効果素子の機能検査ための外部磁界の付与等を行うための制御回路部が、外部のノイズの影響を受け難い磁気センサを提供することにある。   Another object of the present invention is to generate an output signal based on the resistance change of the magnetoresistive effect element, obtain temperature characteristic data of the magnetoresistive effect element, initialize the magnetization of the free layer of the magnetoresistive effect element, or It is an object of the present invention to provide a magnetic sensor in which a control circuit unit for applying an external magnetic field for functional inspection of a resistance effect element is not easily affected by external noise.

更に、本発明の他の目的は、複数の磁気抵抗効果素子のピンド層の磁化の固定を同一方向に容易且つ確実に行うために好適な構造を有する磁気センサを提供することにある。   Furthermore, another object of the present invention is to provide a magnetic sensor having a structure suitable for easily and reliably fixing magnetization of pinned layers of a plurality of magnetoresistive elements in the same direction.

本発明による磁気センサは、基板に対して積層された層の上面に形成された複数の磁気抵抗効果素子と、通電により発熱する複数の発熱体とを備え、前記複数の磁気抵抗効果素子の抵抗値に基づいて同磁気抵抗効果素子に加わる外部磁界に応じた出力値を生成する磁気センサであって、前記複数の発熱体は、同発熱体の各々が互いに略等しい発熱量で発熱したとき、前記複数の磁気抵抗効果素子の温度が互いに略等しくなるとともに、同複数の磁気抵抗効果素子が形成された前記層の上面の温度が不均一となるように配置構成されたことを特徴としている。この場合、上記磁気抵抗効果素子には、MR素子、GMR素子、及びTMR素子等が含まれる。   A magnetic sensor according to the present invention includes a plurality of magnetoresistive elements formed on an upper surface of a layer stacked on a substrate, and a plurality of heating elements that generate heat when energized, and the resistances of the plurality of magnetoresistive elements A magnetic sensor that generates an output value according to an external magnetic field applied to the magnetoresistive element based on the value, wherein the plurality of heating elements generate heat with a heating amount substantially equal to each other, The plurality of magnetoresistive effect elements are arranged and configured such that the temperatures of the plurality of magnetoresistive effect elements are substantially equal to each other and the top surface of the layer on which the plurality of magnetoresistive effect elements are formed is non-uniform. In this case, the magnetoresistive element includes an MR element, a GMR element, a TMR element, and the like.

これによれば、基板を含む磁気センサ全体が同一温度となるまで加熱されることなく、複数の磁気抵抗効果素子が互いに略等しい温度(基板温度とは異なる温度)となるように加熱されるので、同磁気抵抗効果素子の加熱・冷却に要する時間を短くすることができ、同磁気抵抗効果素子の温度依存特性を同一の地磁気が加わっている期間内に測定することが可能となる。   According to this, since the whole magnetic sensor including the substrate is not heated until the same temperature is reached, the plurality of magnetoresistive elements are heated so as to have substantially the same temperature (a temperature different from the substrate temperature). The time required for heating and cooling the magnetoresistive effect element can be shortened, and the temperature-dependent characteristics of the magnetoresistive effect element can be measured within a period in which the same geomagnetism is applied.

この場合、前記複数の磁気抵抗効果素子は、磁界検出方向が同一である複数の素子同士が前記層の上面において近接配置されてなる島状の素子群を複数個構成し、前記発熱体は、前記複数の素子群の各々の上方又は下方に一つずつ形成されることができる。これによれば、発熱体は磁気抵抗効果素子を主として加熱することができるので、加熱・冷却に要する時間を一層短くすることができる。   In this case, the plurality of magnetoresistive elements constitute a plurality of island-shaped element groups in which a plurality of elements having the same magnetic field detection direction are arranged close to each other on the upper surface of the layer, One may be formed above or below each of the plurality of element groups. According to this, since the heating element can mainly heat the magnetoresistive effect element, the time required for heating and cooling can be further shortened.

また、前記発熱体は、前記通電により、各発熱体の上方又は下方に形成された各磁気抵抗効果素子の磁界検出方向と略同一の方向又は同磁界検出方向と略直交する方向の磁界を同各磁気抵抗効果素子に加えることが可能なコイル(加熱用コイル)により形成されることが好適である。この場合、磁気抵抗効果素子の磁界検出方向と略同一方向の磁界は磁気センサが正常に磁界を検出するか否かを判定するための検査用磁界として使用でき、磁気抵抗効果素子の磁界検出方向と略直交する方向の磁界は磁気抵抗効果素子の自由層の初期化用磁界等として使用することができる。   In addition, the heating element has the same magnetic field in the same direction as or substantially perpendicular to the magnetic field detection direction of each magnetoresistive element formed above or below each heating element by the energization. It is preferable that the coil be formed by a coil (heating coil) that can be applied to each magnetoresistive element. In this case, a magnetic field in substantially the same direction as the magnetic field detection direction of the magnetoresistive effect element can be used as an inspection magnetic field for determining whether the magnetic sensor normally detects the magnetic field, and the magnetic field detection direction of the magnetoresistive effect element Can be used as a magnetic field for initializing the free layer of the magnetoresistive element.

これによれば、発熱体(加熱用コイル)と磁気抵抗効果素子の磁界検出方向と略同一方向又は略直交する方向の磁界を発生するためのコイル(検査用コイル、又は初期化用コイル)とを兼用することができるので、製造工程の短縮及び製造用マスク数の削減等により、磁気センサのコストを低減することができる。また、コイルに通電することにより、磁気センサの温度依存特性の測定と、同磁気センサの検査の全部又は一部、若しくは同磁気センサの初期化の全部又は一部とを同時期に行うことが可能となるので、製造(検査)時間を短縮して同磁気センサの製造コストを低減することができる。   According to this, a heating element (heating coil) and a coil (inspection coil or initialization coil) for generating a magnetic field in a direction substantially the same as or substantially orthogonal to the magnetic field detection direction of the magnetoresistive element. Therefore, the cost of the magnetic sensor can be reduced by shortening the manufacturing process and the number of manufacturing masks. Also, by energizing the coil, it is possible to measure the temperature-dependent characteristics of the magnetic sensor and perform all or part of the inspection of the magnetic sensor, or all or part of the initialization of the magnetic sensor at the same time. Therefore, the manufacturing (inspection) time can be shortened and the manufacturing cost of the magnetic sensor can be reduced.

また、本発明による他の磁気センサは、基板に対して積層された層の上面に形成された複数の磁気抵抗効果素子と、通電により発熱する一つの発熱体とを備え、前記複数の磁気抵抗効果素子の抵抗値に基づいて同磁気抵抗効果素子に加わる外部磁界に応じた出力値を生成する磁気センサであって、前記発熱体は、前記複数の磁気抵抗効果素子の温度が互いに略等しくなるとともに、同複数の磁気抵抗効果素子が形成された前記層の上面の温度が不均一となるように配置構成されたことを特徴としている。   Another magnetic sensor according to the present invention includes a plurality of magnetoresistive elements formed on an upper surface of a layer stacked on a substrate, and one heating element that generates heat when energized, and the plurality of magnetoresistive elements. A magnetic sensor for generating an output value corresponding to an external magnetic field applied to the magnetoresistive effect element based on a resistance value of the effect element, wherein the heating element has temperatures of the plurality of magnetoresistive effect elements substantially equal to each other At the same time, it is arranged and configured so that the temperature of the upper surface of the layer on which the plurality of magnetoresistive elements are formed becomes non-uniform.

この構成によっても、基板を含む磁気センサ全体が同一温度となるまで加熱されることなく、複数の磁気抵抗効果素子が互いに略等しい温度(基板温度とは異なる温度)となるように加熱されるので、同磁気抵抗効果素子の加熱・冷却に要する時間を短くすることができ、同磁気抵抗効果素子の温度依存特性を同一の地磁気が加わっている期間内に測定することが可能となる。   Even with this configuration, the entire magnetoresistive element including the substrate is not heated until the same temperature is reached, and the plurality of magnetoresistive elements are heated so as to have substantially the same temperature (a temperature different from the substrate temperature). The time required for heating and cooling the magnetoresistive effect element can be shortened, and the temperature-dependent characteristics of the magnetoresistive effect element can be measured within a period in which the same geomagnetism is applied.

この場合、前記発熱体及び前記複数の磁気抵抗効果素子は、同発熱体から同複数の磁気抵抗効果素子のうちの任意の一つの素子へ伝達される熱量が、同発熱体から同複数の磁気抵抗効果素子のうちの他の一つの素子へ伝達される熱量と略同一となるように構成されることができる。   In this case, the heat generating element and the plurality of magnetoresistive effect elements are configured such that the amount of heat transferred from the heat generating element to any one of the plurality of magnetoresistive effect elements is the same. It can be configured to be substantially the same as the amount of heat transferred to the other one of the resistance effect elements.

また、前記発熱体及び前記複数の磁気抵抗効果素子は、同発熱体と同複数の磁気抵抗効果素子のうちの任意の一つの素子との相対位置関係が、同発熱体と同複数の磁気抵抗効果素子のうちの他の一つの素子との相対位置関係と略同一となるように配設されることができる。   In addition, the heating element and the plurality of magnetoresistive effect elements have a relative positional relationship between the heating element and any one of the plurality of magnetoresistive effect elements. It can be arranged so as to be substantially the same as the relative positional relationship with the other one of the effect elements.

また、前記複数の磁気抵抗効果素子は、前記基板に積層された層の上面の互いに離間した4箇所に島状に配設されるとともに、互いに隣接する島の略中心部同士を直線で結んでなる四角形の重心を中心として同層の上面に平行な面内で90°だけ回転されたとき、任意の一つの島が同90°の回転の前に同回転の方向において隣接していた他の島の位置に実質的に一致するように形成されてなることが好適である。   The plurality of magnetoresistive elements are arranged in four islands on the top surface of the layer stacked on the substrate in an island shape, and substantially central portions of adjacent islands are connected by a straight line. When rotated by 90 ° in the plane parallel to the upper surface of the same layer around the center of gravity of the quadrangle, any one island is adjacent to the other in the direction of rotation before the 90 ° rotation. It is preferable that it is formed so as to substantially coincide with the position of the island.

また、上記何れかの特徴を備えた磁気センサは、前記複数の磁気抵抗効果素子の温度が互いに略等しくなるとともに、同複数の磁気抵抗効果素子が形成された前記層の上面の温度が不均一となったとき、前記複数の磁気抵抗効果素子の少なくとも何れか一つの素子の温度と一定の相関を有する温度を検出温度として出力する温度検出部を備えるように構成することができる。   In the magnetic sensor having any of the above characteristics, the temperatures of the plurality of magnetoresistive elements are substantially equal to each other, and the temperature of the upper surface of the layer on which the plurality of magnetoresistive elements are formed is not uniform. Then, a temperature detection unit that outputs a temperature having a certain correlation with the temperature of at least one of the plurality of magnetoresistive elements as a detection temperature can be provided.

磁気抵抗効果素子同士は発熱体の発熱により略同一温度に加熱されるから、温度検出部は一つの磁気抵抗効果素子の温度と一定の相関を有していれば、実質的に総べての同じ構成の磁気抵抗効果素子の温度を検出することができる。従って、上記構成によれば、温度検出部の個数を増やす必要がないので、磁気センサのコストを低減することができる。   Since the magnetoresistive elements are heated to substantially the same temperature by the heat generated by the heating element, if the temperature detector has a certain correlation with the temperature of one magnetoresistive element, substantially all The temperature of the magnetoresistive effect element having the same configuration can be detected. Therefore, according to the above configuration, since it is not necessary to increase the number of temperature detection units, the cost of the magnetic sensor can be reduced.

また、このような温度検出部を有する磁気センサであって、前記複数の磁気抵抗効果素子は、前記外部磁界に応じた出力値を生成するように同素子のうち磁界検出方向が同一である素子同士がブリッジ回路を構成するように接続され、更に、メモリと、「前記温度検出部の検出温度に基づいて決定される前記磁気抵抗効果素子の第1温度及び同第1温度における前記磁気センサの出力値である第1出力値からなるデータ」と「同温度検出部の検出温度に基づいて決定される同第1温度とは異なる同磁気抵抗効果素子の第2温度及び同第2温度における同磁気センサの出力値である第2出力値からなるデータ」とに基づいて決定される値であって、同第1温度と同第2温度の差に対する同第1出力値と同第2出力値との差の比に応じた値を前記メモリに書き込む温度依存特性書込み手段と、を備えることが好適である。   Further, the magnetic sensor having such a temperature detection unit, wherein the plurality of magnetoresistive elements have the same magnetic field detection direction among the same elements so as to generate an output value corresponding to the external magnetic field. Are connected to each other to form a bridge circuit, and further, a memory, “the first temperature of the magnetoresistive effect element determined based on the temperature detected by the temperature detection unit, and the magnetic sensor at the first temperature The data at the second temperature and the second temperature of the magnetoresistive effect element different from the first temperature determined based on the temperature detected by the temperature detecting unit and the data consisting of the first output value as the output value. The first output value and the second output value with respect to the difference between the first temperature and the second temperature, which are determined on the basis of the data consisting of the second output value that is the output value of the magnetic sensor. The value according to the ratio of the difference with A temperature-dependent characteristic writing means for writing the memory, it is preferable to comprise a.

複数の磁気抵抗効果素子がブリッジ回路(フルブリッジ回路)を構成するように接続された磁気センサの温度依存特性は、その出力が磁気抵抗効果素子の温度変化に対し比例的に変化するものとなる。従って、上記「比」(即ち、磁気抵抗効果素子の温度変化に対する磁気センサの出力値変化)に応じた値(同比そのものでもよいし、同比の逆数等でもよい。)をメモリに記憶させておけば、例えば、同磁気センサが他の電子機器に搭載された後、同電子機器は同「比」に応じた値を前記メモリから読み出すことにより、搭載した磁気センサの温度依存特性についてのデータを得ることができるので、同データを用いて同磁気センサの温度依存特性の補償を行うことが可能となる。   The temperature-dependent characteristics of a magnetic sensor in which a plurality of magnetoresistive elements are connected so as to form a bridge circuit (full bridge circuit) is such that the output changes in proportion to the temperature change of the magnetoresistive element. . Therefore, a value corresponding to the above “ratio” (that is, the change in the output value of the magnetic sensor with respect to the temperature change of the magnetoresistive element) (the same ratio itself or the reciprocal of the same ratio may be stored) in the memory. For example, after the magnetic sensor is mounted on another electronic device, the electronic device reads out a value corresponding to the same “ratio” from the memory, thereby obtaining data on the temperature dependence characteristics of the mounted magnetic sensor. Therefore, it is possible to compensate for the temperature-dependent characteristics of the magnetic sensor using the data.

換言すると、上記「比」に応じた値を各磁気センサのメモリに記憶させておくだけで、各磁気センサの温度依存特性についてのデータを同各磁気センサに保有させておくことができる。従って、第1温度、第1出力値、第2温度、及び第2出力値をメモリに格納する場合に比較して、磁気センサの温度依存特性についてのデータを格納するメモリの容量を小さくすることができ、磁気センサのコストを低減することが可能となる。   In other words, only by storing a value corresponding to the “ratio” in the memory of each magnetic sensor, the data about the temperature-dependent characteristics of each magnetic sensor can be held in each magnetic sensor. Therefore, compared with the case where the first temperature, the first output value, the second temperature, and the second output value are stored in the memory, the capacity of the memory for storing the data on the temperature dependence characteristics of the magnetic sensor is reduced. Thus, the cost of the magnetic sensor can be reduced.

また、本発明によれば、外部磁界に応じて抵抗値が変化する磁気抵抗効果素子、第1メモリ、前記磁気抵抗効果素子の温度と一定の相関を有する温度を検出温度として出力する温度検出部、及び通電により発熱する発熱体とを含んでなり、同磁気抵抗効果素子の抵抗値に基づいて前記外部磁界に応じた出力値を生成する磁気センサと、永久磁石部品と、ケースと、第2メモリとを備え、前記ケース内に前記磁気センサ、前記永久磁石部品、及び前記第2メモリを収容した電子機器に適用される同磁気センサの温度依存特性補償方法であって、前記磁気センサを前記ケース内に収容する前に、前記温度検出部の検出温度に基づいて前記磁気抵抗効果素子の温度を第1温度として取得するとともに、同第1温度における前記磁気センサの出力値を第1出力値として取得し、前記発熱体の通電状態を変化した後に前記温度検出部の検出温度に基づいて前記磁気抵抗効果素子の温度を第2温度として取得するとともに、同第2温度における同磁気センサの出力値を第2出力値として取得し、前記第1温度と前記第2温度の温度差に対する前記第1出力値と前記第2出力値の差の比に応じた値を前記第1メモリに格納し、前記磁気センサを前記ケース内に前記永久磁石部品とともに収容した後に同磁気センサの出力値のオフセット値及び前記温度検出部の検出温度を前記第2メモリに基準データとして格納し、その後、前記第1メモリ内に格納されている比に応じた値と、前記第2メモリ内に格納されている基準データと、前記温度検出部の検出温度とに基づいて、前記磁気センサの出力値を補正する磁気センサの温度依存特性補償方法が提供される。   According to the present invention, the magnetoresistive effect element whose resistance value changes according to an external magnetic field, the first memory, and a temperature detection unit that outputs a temperature having a certain correlation with the temperature of the magnetoresistive effect element as a detection temperature A magnetic sensor that generates an output value corresponding to the external magnetic field based on a resistance value of the magnetoresistive element, a permanent magnet component, a case, and a second A temperature-dependent characteristic compensation method for the magnetic sensor applied to an electronic device that houses the magnetic sensor, the permanent magnet component, and the second memory in the case. Before storing in the case, the temperature of the magnetoresistive effect element is acquired as the first temperature based on the temperature detected by the temperature detector, and the output value of the magnetic sensor at the first temperature is obtained. 1 is obtained as an output value, and after changing the energization state of the heating element, the temperature of the magnetoresistive element is obtained as a second temperature based on the temperature detected by the temperature detector, and the same magnetism at the second temperature is obtained. An output value of the sensor is acquired as a second output value, and a value corresponding to a ratio of a difference between the first output value and the second output value with respect to a temperature difference between the first temperature and the second temperature is the first memory. And storing the magnetic sensor together with the permanent magnet parts in the case, and storing the offset value of the output value of the magnetic sensor and the detected temperature of the temperature detecting unit as reference data in the second memory, and thereafter The output value of the magnetic sensor based on the value corresponding to the ratio stored in the first memory, the reference data stored in the second memory, and the temperature detected by the temperature detection unit The Temperature dependence compensation method of the positive magnetic sensor is provided.

これによれば、磁気センサ単体の段階で、同磁気センサの温度依存特性を表すデータである上記「比」に応じた値が第1メモリに格納される。そして、磁気センサが永久磁石部品及び第2メモリとともにケースに収容された後、同磁気センサの出力値のオフセット値とそのオフセット値を取得した際に温度検出部により検出された温度とが第2メモリに格納され、その後は、同温度検出部が検出する実際の温度と前記第2メモリに格納されている温度との差、同第1メモリに格納されている「比」に応じた値、及び前記第2メモリに格納されているオフセット値に基づいて実際の磁気センサの出力値が補正される。   According to this, at the stage of the magnetic sensor alone, a value corresponding to the “ratio”, which is data representing the temperature dependence characteristics of the magnetic sensor, is stored in the first memory. Then, after the magnetic sensor is housed in the case together with the permanent magnet component and the second memory, the offset value of the output value of the magnetic sensor and the temperature detected by the temperature detection unit when the offset value is acquired are the second. Stored in the memory, and thereafter, the value according to the difference between the actual temperature detected by the temperature detection unit and the temperature stored in the second memory, the “ratio” stored in the first memory, The actual output value of the magnetic sensor is corrected based on the offset value stored in the second memory.

かかる方法について、具体例を用いて説明すると、温度検出部が検出する実際の温度と第2メモリに格納されている温度との差に第1メモリに格納されている「比」を乗じることで磁気センサの温度変化に伴うオフセット値の変化量が求められ、これに第2メモリに格納されているオフセット値を加えることで、温度変化後のオフセット値が求められ、磁気センサの実際の出力値とこの温度変化後のオフセット値との差が検出すべき外部磁界に応じた値として使用される。   This method will be described using a specific example. By multiplying the difference between the actual temperature detected by the temperature detection unit and the temperature stored in the second memory by the “ratio” stored in the first memory. The amount of change of the offset value accompanying the temperature change of the magnetic sensor is obtained, and by adding the offset value stored in the second memory to this, the offset value after the temperature change is obtained, and the actual output value of the magnetic sensor And the offset value after this temperature change is used as a value according to the external magnetic field to be detected.

このように、本発明の温度依存特性補償方法によれば、上記「比」に応じた値は磁気センサが単体の状態にあるときに測定されて第1メモリに記憶されるから、磁気センサ自体に同磁気センサの温度依存特性を表すデータを保有させることができる。また、磁気センサが電子機器のケースに永久磁石部品とともに実装された後にオフセット値と温度検出部の検出温度とが第2メモリに記憶されるので、第1メモリに磁気センサ自体のオフセット値と同オフセット値が得られたときの温度検出部の検出温度とを記憶しておく必要がなく、第1メモリの記憶容量を低減して磁気センサのコストを低減することができる。また、磁気抵抗効果素子の個体差(抵抗値のばらつき)に基づく磁気センサ単体のオフセット(基準ずれ)と、永久磁石部品からの漏洩磁界に基づくオフセット(基準ずれ)と、に基づく磁気センサのオフセット値がケースに実装された後において一時に得られるので、オフセット値の取得を二度にわたり行う必要がない。このように、上記発明によれば、磁気センサの温度依存特性を簡素な方法で補償することができる。   Thus, according to the temperature dependent characteristic compensation method of the present invention, the value corresponding to the “ratio” is measured when the magnetic sensor is in a single state and is stored in the first memory. Can store data representing the temperature-dependent characteristics of the magnetic sensor. In addition, since the offset value and the temperature detected by the temperature detection unit are stored in the second memory after the magnetic sensor is mounted together with the permanent magnet parts in the case of the electronic device, the same value as the offset value of the magnetic sensor itself is stored in the first memory. It is not necessary to store the temperature detected by the temperature detection unit when the offset value is obtained, and the storage capacity of the first memory can be reduced to reduce the cost of the magnetic sensor. Also, the offset of the magnetic sensor based on the offset (reference deviation) of the magnetic sensor alone based on the individual difference (resistance value variation) of the magnetoresistive effect element and the offset (reference deviation) based on the leakage magnetic field from the permanent magnet component. Since the value is obtained at a time after being mounted in the case, it is not necessary to obtain the offset value twice. Thus, according to the above invention, the temperature dependence characteristic of the magnetic sensor can be compensated by a simple method.

本発明により提供される磁気センサの他の態様は、単一の基板、複数の磁気抵抗効果素子、前記複数の磁気抵抗効果素子を接続する配線部、及び前記複数の磁気抵抗効果素子の抵抗値に基く物理量を前記配線部を介して取得するとともに同物理量を処理することにより外部に出力する出力信号を生成する制御回路部を含んでなる磁気センサであって、前記基板上に積層された複数の層を含み、前記磁気抵抗効果素子は前記複数の層の一つの層の上面に形成され、前記配線部及び前記制御回路部は前記基板及び前記複数の層内に形成され、前記磁気抵抗効果素子と前記配線部と前記制御回路部とは前記複数の層内にて同層の層面に交差する方向に伸びる導電性物質からなる接続部により互いに接続された磁気センサである。   Another aspect of the magnetic sensor provided by the present invention includes a single substrate, a plurality of magnetoresistive elements, a wiring portion connecting the plurality of magnetoresistive elements, and resistance values of the plurality of magnetoresistive elements. A magnetic sensor comprising a control circuit unit that obtains a physical quantity based on the wiring unit through the wiring unit and generates an output signal that is output to the outside by processing the physical quantity, and is a plurality of layers stacked on the substrate The magnetoresistive effect element is formed on an upper surface of one of the plurality of layers, the wiring portion and the control circuit portion are formed in the substrate and the plurality of layers, and the magnetoresistive effect The element, the wiring portion, and the control circuit portion are magnetic sensors connected to each other by a connecting portion made of a conductive material extending in a direction intersecting the layer surface of the same layer in the plurality of layers.

これによれば、前記磁気抵抗効果素子と前記配線部と前記制御回路部とが前記複数の層内にて同層の層面に交差する方向に伸びる導電性物質からなる接続部により互いに交錯することなく接続されるから、磁気抵抗効果素子を備えたチップと制御回路部等を備えたチップとを別チップとした場合にこれらの間に必要となる接続ワイヤーを用いることなく、同磁気センサの出力信号を生成することが可能な単一チップの磁気センサが提供される。   According to this, the magnetoresistive effect element, the wiring portion, and the control circuit portion are crossed with each other by a connection portion made of a conductive material extending in a direction intersecting the layer surface of the same layer in the plurality of layers. When a chip with a magnetoresistive effect element and a chip with a control circuit unit, etc. are made as separate chips, the output of the magnetic sensor can be obtained without using connection wires required between them. A single chip magnetic sensor capable of generating a signal is provided.

本発明により提供される磁気センサの他の態様は、基板、前記基板の上部に配設される複数の磁気抵抗効果素子、前記基板の上部に配設されるとともに前記複数の磁気抵抗効果素子を接続する配線部、及び前記基板の上部に配設されるとともに前記複数の磁気抵抗効果素子の抵抗値に基く物理量を前記配線部を介して取得し同物理量を処理することにより外部に出力する出力信号を生成する制御回路部を含んでなる磁気センサにおいて、前記複数の磁気抵抗効果素子は平面視で前記基板の周辺部に配置され、前記配線部は平面視で実質的に閉曲線を形成するように配置され、前記制御回路部は平面視で前記閉曲線の内側に実質的に配置されたことを特徴としている。   According to another aspect of the magnetic sensor provided by the present invention, a substrate, a plurality of magnetoresistive elements disposed on the substrate, and the plurality of magnetoresistive elements disposed on the substrate are provided. A wiring unit to be connected and an output that is disposed on the substrate and outputs a physical quantity based on resistance values of the plurality of magnetoresistive elements through the wiring unit and outputs the physical quantity to the outside by processing the physical quantity In the magnetic sensor including a control circuit unit for generating a signal, the plurality of magnetoresistive elements are arranged at a peripheral portion of the substrate in a plan view, and the wiring unit substantially forms a closed curve in the plan view. The control circuit unit is arranged substantially inside the closed curve in a plan view.

これによれば、磁気抵抗効果素子の抵抗変化に基く出力信号の生成、或いは磁気抵抗効果素子の温度特性データの取得等を行うための制御回路部が、平面視で基板の中央部にコンパクトに配設され得る。従って、制御回路部の配線長が短くなるので、同配線に外部のノイズが重畳し難い。その結果、外部ノイズの影響を受け難い、信頼性の高い磁気センサが提供される。   According to this, the control circuit unit for generating the output signal based on the resistance change of the magnetoresistive effect element or acquiring the temperature characteristic data of the magnetoresistive effect element is compactly arranged in the central portion of the substrate in a plan view. It can be arranged. Therefore, since the wiring length of the control circuit section is shortened, it is difficult for external noise to be superimposed on the wiring. As a result, a highly reliable magnetic sensor that is hardly affected by external noise is provided.

本発明により提供される磁気センサの他の態様は、単一の基板、及びピンド層の磁化の向きが互いに同一である一対の磁気抵抗効果素子からなる素子群を複数個含んでなる磁気センサにおいて、前記複数の素子群の各々は、前記ピンド層の磁化の向きが平面視で前記基板の重心(中央)からの距離が大きくなる方向と実質的に平行となるように、且つ、前記一対の磁気抵抗効果素子が同方向において隣接するように、同基板の上部に配設されたことを特徴としている。   Another aspect of the magnetic sensor provided by the present invention is a magnetic sensor including a plurality of element groups each including a single substrate and a pair of magnetoresistive effect elements having the same magnetization direction of the pinned layer. Each of the plurality of element groups is configured such that the magnetization direction of the pinned layer is substantially parallel to a direction in which the distance from the center of gravity (center) of the substrate increases in plan view, and It is characterized in that the magnetoresistive effect element is disposed on the same substrate so as to be adjacent in the same direction.

ピンド層の磁化の向きを固定する際、方向及び大きさが安定した磁界を磁気抵抗効果素子に付与し続ける必要がある。このとき、同一磁力線上の近接した二点においては、磁界は略同一方向で略同一の大きさを示す。また、磁気センサにおいては、同磁気センサの温度特性等の向上を目的として、ピンド層の磁化の向きが互いに同一である(即ち、磁界検出方向が互いに同一である)一対の磁気抵抗効果素子からなる素子群を複数個設け、これらの磁気抵抗効果素子をブリッジ接続することが多い。   When the magnetization direction of the pinned layer is fixed, it is necessary to continuously apply a magnetic field having a stable direction and magnitude to the magnetoresistive element. At this time, at two adjacent points on the same magnetic field line, the magnetic fields have substantially the same magnitude in substantially the same direction. Further, in the magnetic sensor, for the purpose of improving the temperature characteristics and the like of the magnetic sensor, the magnetization direction of the pinned layer is the same (that is, the magnetic field detection direction is the same). In many cases, a plurality of element groups are provided and these magnetoresistive elements are bridge-connected.

従って、上記構成のように、前記ピンド層の磁化の向きが平面視で前記基板の重心(中央)からの距離が大きくなる方向と実質的に平行となるように、且つ、前記一対の磁気抵抗効果素子が同方向において隣接するように、同基板の上部に配設される磁気センサであれば、基板の重心(中央)から周辺に向う磁界を付与することにより、同一方向で同一の大きさを有する磁界により磁気抵抗効果素子のピンド層の磁化の固定を行うことができる。その結果、ピンド層の磁化の向きを同一方向に容易且つ確実に行うことができる。   Therefore, as in the above configuration, the direction of magnetization of the pinned layer is substantially parallel to the direction in which the distance from the center of gravity (center) of the substrate increases in plan view, and the pair of magnetoresistive resistors If the magnetic sensor is arranged on the upper part of the substrate so that the effect elements are adjacent in the same direction, by applying a magnetic field from the center of gravity (center) to the periphery of the substrate, the same size in the same direction The magnetization of the pinned layer of the magnetoresistive effect element can be fixed by a magnetic field having As a result, the magnetization direction of the pinned layer can be easily and reliably performed in the same direction.

(第1実施形態)
以下、本発明による磁気センサの各実施形態について図面を参照しながら順に説明する。図1は第1実施形態に係る磁気センサ10の概略平面図、図2は同磁気センサ10の電気結線状態を示した同磁気センサ10の部分概略平面図、図3は図1及び図2に示した磁気センサ10を構成する後述の各層の面と直交する所定の面で同磁気センサ10を切断した部分概略断面図である。
(First embodiment)
Hereinafter, embodiments of a magnetic sensor according to the present invention will be described in order with reference to the drawings. 1 is a schematic plan view of the magnetic sensor 10 according to the first embodiment, FIG. 2 is a partial schematic plan view of the magnetic sensor 10 showing an electrical connection state of the magnetic sensor 10, and FIG. It is the partial schematic sectional drawing which cut | disconnected the magnetic sensor 10 by the predetermined surface orthogonal to the surface of each layer mentioned later which comprises the shown magnetic sensor 10. FIG.

この磁気センサ10は、互いに直交するX軸及びY軸に沿った辺を有する略正方形状(又は長方形状)であって、X軸及びY軸に直交するZ軸方向に小さな厚みを有するSi/Si、SiO/Si、又は石英ガラス等から形成された基板10aと、同基板10aの上に積層された平面視で同基板10aと同一形状の層INS1及び層S1〜S3と、層S3の層上(上面)に形成された合計で8個の磁気抵抗効果素子であるGMR素子11〜18と、最上面に形成されたパッシベーション膜PLとを含んでいる。 The magnetic sensor 10 is substantially a square (or rectangular), Si 3 having a small thickness in the Z axis direction perpendicular to the X-axis and Y-axis having sides along the X-axis and Y-axis orthogonal to each other A substrate 10a formed of N 4 / Si, SiO 2 / Si, quartz glass, or the like, a layer INS1 and layers S1 to S3 having the same shape as the substrate 10a in a plan view laminated on the substrate 10a, A total of eight GMR elements 11 to 18 that are magnetoresistive elements formed on the layer S3 (upper surface) and a passivation film PL formed on the uppermost surface are included.

図1に示したように、磁気センサ10は、GMR素子11〜14及びGMR素子15〜18をそれぞれブリッジ結線して二つのフル・ブリッジ回路を構成するためのブリッジ配線部(接続導線部)19と、GMR素子11〜18を加熱するための発熱体としての加熱用コイル21〜24と、制御回路部(LSI)31と、温度検出部32と、検査用コイル33a〜33dと、Au線を上面にボンディングして同磁気センサ10を同Au線を介して外部機器と接続するためのパッド34a〜34hとを備えている。   As shown in FIG. 1, the magnetic sensor 10 includes a bridge wiring portion (connecting wire portion) 19 for forming two full bridge circuits by bridge-connecting the GMR elements 11 to 14 and the GMR elements 15 to 18 respectively. Heating coils 21 to 24 as heating elements for heating the GMR elements 11 to 18, a control circuit unit (LSI) 31, a temperature detection unit 32, inspection coils 33a to 33d, and Au wires Pads 34a to 34h for bonding the magnetic sensor 10 to an external device through the Au wire by bonding to the upper surface are provided.

GMR素子11は、第1X軸GMR素子11と称呼され、図1に示したように、基板10aのY軸方向に沿う辺の略中央部であってX軸負方向端部近傍に形成されている。GMR素子12は、第2X軸GMR素子12と称呼され、基板10aのY軸方向に沿う辺の略中央部であってX軸負方向端部近傍において第1X軸GMR素子11よりも僅かにX軸正方向の位置に同第1X軸GMR素子11に近接して配置(近接配置)されている。   The GMR element 11 is referred to as a first X-axis GMR element 11, and as shown in FIG. 1, is formed in the approximate center of the side along the Y-axis direction of the substrate 10a and in the vicinity of the end in the X-axis negative direction. Yes. The GMR element 12 is referred to as a second X-axis GMR element 12 and is slightly centrally located on the side of the substrate 10a along the Y-axis direction and slightly closer to the X-axis negative direction end than the first X-axis GMR element 11. The first X-axis GMR element 11 is disposed in proximity to the first X-axis GMR element 11 at a position in the axial positive direction.

GMR素子13は、第3X軸GMR素子13と称呼され、基板10aのY軸方向に沿う辺の略中央部であってX軸正方向端部近傍に形成されている。GMR素子14は、第4X軸GMR素子14と称呼され、基板10aのY軸方向に沿う辺の略中央部であってX軸正方向端部近傍において第3X軸GMR素子13よりも僅かにX軸負方向の位置に同第3X軸GMR素子13に近接して配置(近接配置)されている。   The GMR element 13 is referred to as a third X-axis GMR element 13, and is formed at a substantially central portion of the side along the Y-axis direction of the substrate 10a and in the vicinity of the end portion in the X-axis positive direction. The GMR element 14 is referred to as a fourth X-axis GMR element 14 and is slightly centrally located on the side of the substrate 10a along the Y-axis direction and slightly closer to the X-axis positive direction end than the third X-axis GMR element 13. It is arranged close to the third X-axis GMR element 13 at a position in the negative axis direction (close proximity arrangement).

GMR素子15は、第1Y軸GMR素子15と称呼され、基板10aのX軸方向に沿う辺の略中央部であってY軸正方向端部近傍に形成されている。GMR素子16は、第2Y軸GMR素子16と称呼され、基板10aのX軸方向に沿う辺の略中央部であってY軸正方向端部近傍において第1Y軸GMR素子15よりも僅かにY軸負方向の位置に同第1Y軸GMR素子15に近接して配置(近接配置)されている。   The GMR element 15 is referred to as a first Y-axis GMR element 15 and is formed at a substantially central portion of a side along the X-axis direction of the substrate 10a and in the vicinity of an end portion in the Y-axis positive direction. The GMR element 16 is referred to as a second Y-axis GMR element 16, and is slightly in the middle of the side along the X-axis direction of the substrate 10 a and slightly closer to the Y-axis positive direction end than the first Y-axis GMR element 15. It is arranged close to the first Y-axis GMR element 15 at a position in the negative axis direction (close arrangement).

GMR素子17は、第3Y軸GMR素子17と称呼され、基板10aのX軸方向に沿う辺の略中央部であってY軸負方向端部近傍に形成されている。GMR素子18は、第4Y軸GMR素子18と称呼され、基板10aのX軸方向に沿う辺の略中央部であってY軸負方向端部近傍において第3Y軸GMR素子17よりも僅かにY軸正方向の位置に同第3Y軸GMR素子17に近接して配置(近接配置)されている。   The GMR element 17 is referred to as a third Y-axis GMR element 17 and is formed at a substantially central portion of the side along the X-axis direction of the substrate 10a and in the vicinity of the end portion in the Y-axis negative direction. The GMR element 18 is referred to as a fourth Y-axis GMR element 18, which is approximately the center of the side along the X-axis direction of the substrate 10 a and slightly closer to the Y-axis negative direction end than the third Y-axis GMR element 17. It is arranged close to the third Y-axis GMR element 17 at a position in the axial positive direction (close arrangement).

GMR素子11〜18の各々を構成するスピンバルブ膜は、同基板10a上の層S3の上面の上に順に積層(形成)されたフリー層(自由層)、導電性のスペーサ層、ピン層(固定磁化層)、及びキャッピング層を含んで構成されている。フリー層は、その磁化の向きが外部磁界の変化に応じて容易に変化するようになっている。ピン層は、ピニング層とピンド層とを含み、ピンド層の磁化の向きはピニング層により固定され、同磁化の向きは特殊な場合を除き外部磁界に対して変化しないようになっている。   The spin valve films constituting each of the GMR elements 11 to 18 are a free layer (free layer), a conductive spacer layer, a pinned layer (layered) formed in order on the upper surface of the layer S3 on the substrate 10a. A fixed magnetic layer) and a capping layer. The magnetization direction of the free layer is easily changed according to the change of the external magnetic field. The pinned layer includes a pinning layer and a pinned layer, and the magnetization direction of the pinned layer is fixed by the pinning layer, and the magnetization direction does not change with respect to an external magnetic field except in special cases.

これにより、GMR素子11〜18の各々は、ピンド層の磁化の向きとフリー層の磁化の向きとがなす角度に応じた抵抗値を呈するようになっている。即ち、GMR素子11〜18の各々は、図4のグラフに実線にて示したように、ピンド層の磁化の向きに沿って変化する外部磁界に対し、−Hc〜+Hcの範囲において、同外部磁界に略比例して変化する抵抗値を呈するとともに、図4のグラフに破線にて示したように、ピンド層の磁化の向きと直交する向きに沿って変化する外部磁界に対しては略一定の抵抗値を呈する。換言すると、GMR素子11〜18の各々は、ピンド層の磁化の向きをその磁界検出方向とするようになっている。   As a result, each of the GMR elements 11 to 18 exhibits a resistance value corresponding to an angle formed by the magnetization direction of the pinned layer and the magnetization direction of the free layer. That is, each of the GMR elements 11 to 18 has the same external frequency in the range of −Hc to + Hc with respect to an external magnetic field that changes along the magnetization direction of the pinned layer, as indicated by a solid line in the graph of FIG. It exhibits a resistance value that varies approximately in proportion to the magnetic field, and is substantially constant for an external magnetic field that varies along a direction orthogonal to the magnetization direction of the pinned layer, as indicated by a broken line in the graph of FIG. The resistance value is shown. In other words, each of the GMR elements 11 to 18 has the magnetization direction of the pinned layer as its magnetic field detection direction.

GMR素子11及びGMR素子12の各ピンド層のピンされた磁化の向きはX軸負方向となっている。即ち、第1X軸GMR素子11及び第2X軸GMR素子12は、同一方向(この場合、X軸方向)の磁界の大きさを検出するための(即ち、磁界検出方向が互いに同一である)複数の磁気抵抗効果素子同士が前記基板10aに対して積層された層S3の上面において島状に近接配置されてなる一つの素子群Gr1を形成している。   The direction of pinned magnetization of each pinned layer of the GMR element 11 and the GMR element 12 is the negative X-axis direction. In other words, the first X-axis GMR element 11 and the second X-axis GMR element 12 are a plurality for detecting the magnitude of the magnetic field in the same direction (in this case, the X-axis direction) (that is, the magnetic field detection directions are the same). The magnetoresistive effect elements are arranged in an island shape on the upper surface of the layer S3 laminated on the substrate 10a to form one element group Gr1.

GMR素子13及びGMR素子14の各ピンド層のピンされた磁化の向きはX軸正方向となっている。即ち、第3X軸GMR素子13及び第4X軸GMR素子14は、同一方向(この場合、X軸方向)の磁界の大きさを検出するための複数の磁気抵抗効果素子同士が前記基板10aに対して積層された層S3の上面において島状に近接配置されてなる他の一つの素子群Gr2を形成している。   The pinned magnetization direction of each pinned layer of the GMR element 13 and the GMR element 14 is the positive direction of the X axis. That is, the third X-axis GMR element 13 and the fourth X-axis GMR element 14 include a plurality of magnetoresistive elements for detecting the magnitude of the magnetic field in the same direction (in this case, the X-axis direction) with respect to the substrate 10a. Thus, another element group Gr2 is formed which is arranged in an island shape on the upper surface of the stacked layer S3.

GMR素子15及びGMR素子16のピンド層のピンされた磁化の向きはY軸正方向となっている。即ち、第1Y軸GMR素子15及び第2Y軸GMR素子16は、同一方向(この場合、Y軸方向)の磁界の大きさを検出するための複数の磁気抵抗効果素子同士が前記基板10aに対して積層された層S3の上面において島状に近接配置されてなる他の一つの素子群Gr3を形成している。   The pinned magnetization directions of the pinned layers of the GMR element 15 and the GMR element 16 are the Y axis positive direction. That is, the first Y-axis GMR element 15 and the second Y-axis GMR element 16 include a plurality of magnetoresistive elements for detecting the magnitude of the magnetic field in the same direction (in this case, the Y-axis direction) with respect to the substrate 10a. Thus, another element group Gr3 is formed which is arranged in an island shape on the upper surface of the stacked layer S3.

GMR素子17及びGMR素子18のピンド層のピンされた磁化の向きはY軸負方向となっている。即ち、第3Y軸GMR素子17及び第4Y軸GMR素子18は、同一方向(この場合、Y軸方向)の磁界の大きさを検出するための複数の磁気抵抗効果素子同士が前記基板10aに対して積層された層S3の層上において島状に近接配置されてなる他の一つの素子群Gr4を形成している。   The pinned magnetization direction of the pinned layers of the GMR element 17 and the GMR element 18 is the negative Y-axis direction. That is, the third Y-axis GMR element 17 and the fourth Y-axis GMR element 18 include a plurality of magnetoresistive elements for detecting the magnitude of the magnetic field in the same direction (in this case, the Y-axis direction) with respect to the substrate 10a. Thus, another element group Gr4 is formed which is arranged in an island shape on the stacked layer S3.

このように、GMR素子11〜18は、互いに磁界検出方向が同じ磁気抵抗効果素子同士が二つずつまとめられて互いに近接配置されてなる4個の素子群(島)Gr1〜Gr4を形成している。これらの素子群Gr1〜Gr4は、平面視においてX軸又はY軸に沿った辺を有する正方形(平面視においてブリッジ配線部19がなす正方形)の各辺の略中央部外側に配置され、任意の素子群の位置は、同正方形の重心(同正方形の中心、即ち、同正方形の対角線の交点)を中心として90°回転すると同回転前に隣接していた他の素子群の位置に一致するように形成されている。換言すると、前記複数のGMR素子11〜18は、前記基板10aに積層された層S3の上面の互いに離間した4箇所に島状に配設されるとともに、互いに隣接する島の略中心部同士を直線で結んでなる四角形の重心GPを中心として層S3の上面に平行な面内で90°だけ回転されたとき、任意の一つの島が同90°の回転の前に同回転の方向において隣接していた他の島の位置に実質的に一致するように形成されている。即ち、例えば、素子群Gr2とGr3の略中心部同士を結んだ直線、素子群Gr3とGr1の略中心部同士を結んだ直線、素子群Gr1とGr4の略中心部同士を結んだ直線、及び素子群Gr4とGr2の略中心部同士を結んだ直線というように、4本の直線(線分)を得て、これらの線分により得られる四角形の重心を中心として90°回転すると、例えば、素子群Gr2が素子群Gr3の位置に、素子群Gr3が素子群Gr1の位置というように、各素子群が回転前に隣接していた素子群の位置に一致する。   Thus, the GMR elements 11 to 18 form four element groups (islands) Gr1 to Gr4 in which two magnetoresistive effect elements having the same magnetic field detection direction are arranged in close proximity to each other. Yes. These element groups Gr1 to Gr4 are disposed on the outer side of the substantially central portion of each side of a square having a side along the X axis or the Y axis in a plan view (a square formed by the bridge wiring portion 19 in a plan view). When the element group is rotated 90 ° around the center of gravity of the square (the center of the square, that is, the intersection of the diagonals of the square), the position of the element group matches the position of the other element group adjacent to the square before the rotation. Is formed. In other words, the plurality of GMR elements 11 to 18 are arranged in four islands on the upper surface of the layer S3 stacked on the substrate 10a in an island shape, and the substantially central portions of the islands adjacent to each other. When rotated by 90 ° in a plane parallel to the top surface of the layer S3 about the center of gravity GP of the quadrilateral connected by a straight line, any one island is adjacent in the same rotation direction before the 90 ° rotation It is formed so as to substantially coincide with the position of other islands. That is, for example, a straight line connecting substantially central parts of the element groups Gr2 and Gr3, a straight line connecting substantially central parts of the element groups Gr3 and Gr1, a straight line connecting substantially central parts of the element groups Gr1 and Gr4, and When four straight lines (line segments) are obtained, such as straight lines connecting the substantially central portions of the element groups Gr4 and Gr2, and rotated by 90 ° about the center of gravity of the quadrangle obtained by these line segments, for example, The element group Gr2 coincides with the position of the element group Gr3 and the element group Gr3 coincides with the position of the element group adjacent to each other, such as the position of the element group Gr1.

なお、図1〜図3に示した例では、一つの島(一つの素子群)を構成する二つのGMR素子は、基板10aの中央(重心、この重心は上記重心GPに一致する。)から基板10aの一辺(周辺)に向う方向に隣接するように配設されている。即ち、磁界検出方向が互いに同一の一対の磁気抵抗効果素子からなる複数の素子群Gr1〜Gr4の各々は、その磁気抵抗効果素子のピンド層の磁化の向きが平面視で基板10aの重心からの距離が大きくなる方向と実質的に平行となるように、且つ、前記一対の磁気抵抗効果素子が同方向において隣接するように、同基板10aの上部に配設されている。しかしながら、図5に示したように、一対の磁気抵抗効果素子は、同基板10aの一辺に沿う方向に隣接するように配設されてもよい。但し、前者の配置によれば、後者の配置に比べ、GMR素子が基板10aの(正方形の)各辺の中心により近づくので、素子間の特性が均一になり易い。また、前者は、後者に比べ、一対の磁気抵抗効果素子に同一の向きで同一の大きさを有する磁界を付与し易い。   In the example shown in FIGS. 1 to 3, the two GMR elements constituting one island (one element group) are from the center of the substrate 10a (center of gravity, the center of gravity coincides with the center of gravity GP). It arrange | positions so that it may adjoin to the direction which faces one side (periphery) of the board | substrate 10a. That is, each of the plurality of element groups Gr1 to Gr4 including a pair of magnetoresistive elements having the same magnetic field detection direction has a magnetization direction of the pinned layer of the magnetoresistive element from the center of gravity of the substrate 10a in plan view. The pair of magnetoresistive elements are arranged on the upper part of the substrate 10a so as to be substantially parallel to the direction in which the distance increases and so that the pair of magnetoresistive elements are adjacent in the same direction. However, as shown in FIG. 5, the pair of magnetoresistive elements may be arranged so as to be adjacent in a direction along one side of the substrate 10 a. However, according to the former arrangement, since the GMR element is closer to the center of each (square) side of the substrate 10a than the latter arrangement, the characteristics between the elements are likely to be uniform. Further, the former is easier to apply a magnetic field having the same magnitude in the same direction to the pair of magnetoresistive elements than the latter.

GMR素子11〜14は、GMR素子11,12の近傍の拡大平面図である図6に例示したように、ブリッジ配線部19の各配線と接続され、このブリッジ配線部19を介して等価回路図である図7に示したようにブリッジ回路を構成し(フルブリッジ接続されていて)、X軸方向を磁界検出方向とするX軸磁気センサを構成している。なお。図7において、各GMR素子11〜14の中に付した矢印は同GMR素子11〜14のピンド層の磁化の向きを示している。   As illustrated in FIG. 6, which is an enlarged plan view of the vicinity of the GMR elements 11 and 12, the GMR elements 11 to 14 are connected to each wiring of the bridge wiring portion 19, and an equivalent circuit diagram is provided via the bridge wiring portion 19. As shown in FIG. 7, a bridge circuit is configured (with full bridge connection), and an X-axis magnetic sensor having the X-axis direction as the magnetic field detection direction is configured. Note that. In FIG. 7, arrows attached to the GMR elements 11 to 14 indicate the magnetization directions of the pinned layers of the GMR elements 11 to 14.

より具体的に述べると、X軸磁気センサは、第1X軸GMR素子11と第4X軸GMR素子14との結合点Vaと、第3X軸GMR素子13と第2X軸GMR素子12との結合点Vbの間に一定の電位差が付与され、第1X軸GMR素子11と第3X軸GMR素子13との結合点Vcと、第2X軸GMR素子12と第4X軸GMR素子14との結合点Vdとの間の電位差(Vc−Vd)がセンサ出力値Vxoutとして取り出されるようになっている。この結果、X軸磁気センサの出力電圧(電圧で表される物理量)は、図8の実線にて示したように、X軸に沿って大きさが変化する外部磁界に対し、−Hc〜+Hcの範囲において、同外部磁界の大きさに略比例して変化し、同図8の破線にて示したように、Y軸に沿って大きさが変化する外部磁界に対しては略「0」の一定値となる。   More specifically, the X-axis magnetic sensor includes a coupling point Va between the first X-axis GMR element 11 and the fourth X-axis GMR element 14, and a coupling point between the third X-axis GMR element 13 and the second X-axis GMR element 12. A constant potential difference is applied between Vb, the coupling point Vc between the first X-axis GMR element 11 and the third X-axis GMR element 13, and the coupling point Vd between the second X-axis GMR element 12 and the fourth X-axis GMR element 14. (Vc−Vd) is taken out as a sensor output value Vxout. As a result, the output voltage (physical quantity represented by voltage) of the X-axis magnetic sensor is -Hc to + Hc with respect to an external magnetic field whose magnitude varies along the X-axis as shown by the solid line in FIG. In this range, it changes approximately in proportion to the magnitude of the external magnetic field, and is substantially “0” for an external magnetic field whose magnitude changes along the Y axis, as indicated by the broken line in FIG. Is a constant value.

GMR素子15〜18は、GMR素子11〜14と同様にブリッジ配線部19の各配線と接続されてブリッジ回路を構成し(フルブリッジ接続されていて)、Y軸方向を磁界検出方向とするY軸磁気センサを構成している。即ち、このY軸磁気センサは、Y軸に沿って大きさが変化する外部磁界に対し、−Hc〜+Hcの範囲において、同外部磁界の大きさに略比例して変化する出力電圧(電圧で表される物理量)Vyoutを示すとともに、X軸に沿って大きさが変化する外部磁界に対しては略「0」の出力電圧を示すようになっている。   Similarly to the GMR elements 11 to 14, the GMR elements 15 to 18 are connected to the respective wirings of the bridge wiring portion 19 to form a bridge circuit (a full bridge connection), and the Y axis direction is a magnetic field detection direction. An axial magnetic sensor is configured. In other words, this Y-axis magnetic sensor has an output voltage (in terms of voltage) that changes approximately in proportion to the magnitude of the external magnetic field in the range of −Hc to + Hc with respect to an external magnetic field whose magnitude changes along the Y-axis. The physical quantity is expressed as Vyout, and an output voltage of substantially “0” is shown for an external magnetic field whose magnitude changes along the X axis.

ブリッジ配線部19は、図1に示したように、平面視でGMR素子11〜18の内側においてX軸及びY軸に沿った辺を有する略正方形の外周部に形成され、実質的に閉曲線(直線部を含む。)を構成している。このブリッヂ配線部19は、後に詳述するように、GMR素子11〜18よりも下方の層S3内に形成されている。
加熱用コイル21〜24は、図1及び図3に示したように、素子群Gr1〜Gr4の直下(Z軸負方向側)であって、配線層として機能する層S3内にそれぞれ埋設されている。加熱用コイル21〜24は、互いに略同一の形状を有するとともに、各対応する素子群Gr1〜Gr4との相対位置関係も互いに略同一である。そこで、以下においては加熱用コイル21に着目して詳述する。
As shown in FIG. 1, the bridge wiring portion 19 is formed in a substantially square outer peripheral portion having sides along the X axis and the Y axis inside the GMR elements 11 to 18 in a plan view, and is substantially a closed curve ( A straight portion is included). The bridge wiring portion 19 is formed in the layer S3 below the GMR elements 11 to 18, as will be described in detail later.
As shown in FIGS. 1 and 3, the heating coils 21 to 24 are respectively embedded immediately below the element groups Gr1 to Gr4 (on the Z-axis negative direction side) and in layers S3 functioning as wiring layers. Yes. The heating coils 21 to 24 have substantially the same shape, and the relative positional relationship with the corresponding element groups Gr1 to Gr4 is also substantially the same. Therefore, in the following, the heating coil 21 will be described in detail.

加熱用コイル21は、例えば、薄膜のアルミニウムからなり、通電により発熱して第1,第2GMR素子11,12(素子群Gr1)を加熱する発熱体であり、素子群Gr1の直下部分に存在する(素子群Gr1に近接して配置される)ように、磁気抵抗効果素子11,12の下面と対向して層S3内に形成されている。つまり、加熱用コイル21は、図3から理解されるように、基板10aに順に積層された絶縁層INS1と配線層として機能する層S1〜S3のうち、GMR素子11〜18がその上面に形成された層S3(配線層として機能する層S1〜S3のうちの最上層S3)内に埋設・形成されている。ここで、配線層として機能する層とは、後述するように、配線、配線間の層間絶縁膜、及び配線間を接続するコンタクトホール(ビアホールを含む。)を指す。   The heating coil 21 is made of, for example, a thin film of aluminum, and is a heating element that generates heat when energized to heat the first and second GMR elements 11 and 12 (element group Gr1), and is present in a portion immediately below the element group Gr1. It is formed in the layer S3 so as to face the lower surfaces of the magnetoresistive elements 11 and 12 (disposed close to the element group Gr1). That is, as can be understood from FIG. 3, the heating coil 21 includes GMR elements 11 to 18 formed on the upper surface of the insulating layer INS1 and the layers S1 to S3 that function as the wiring layers sequentially stacked on the substrate 10a. Embedded in the layer S3 (the uppermost layer S3 of the layers S1 to S3 functioning as a wiring layer). Here, the layer functioning as a wiring layer refers to a wiring, an interlayer insulating film between the wirings, and a contact hole (including a via hole) that connects the wirings, as will be described later.

また、加熱用コイル21は、図6に示したように、所謂ダブルスパイラルコイルであって、その平面視における外形は略長方形であり、同長方形のY軸方向長さは磁気抵抗効果素子11(12)の長手方向長さの約2倍、X軸方向長さは磁気抵抗効果素子11(12)の幅方向(長手方向に直交する方向)長さの約5倍程度であって、一対の渦巻を形成する導線(即ち、渦中心P1を有する第1の導線21−1,及び渦中心P2を有する第2の導線21−2)からなっている。   Further, as shown in FIG. 6, the heating coil 21 is a so-called double spiral coil, and its outer shape in plan view is substantially rectangular, and the Y-axis direction length of the rectangle is the magnetoresistive effect element 11 ( 12) is approximately twice the length in the longitudinal direction, and the length in the X-axis direction is approximately 5 times the length in the width direction (direction perpendicular to the longitudinal direction) of the magnetoresistive element 11 (12). It consists of conducting wires forming a spiral (that is, a first conducting wire 21-1 having a vortex center P1 and a second conducting wire 21-2 having a vortex center P2).

また、第1,第2X軸GMR素子11,12は、平面視で一対の渦中心P1,P2の間に配置されている。更に、同平面視で第1,第2X軸GMR素子11,12と重なる箇所(即ち、第1,第2X軸GMR素子11,12の直下を通過する箇所)の第1の導線21−1及び第2の導線21−2の部分は、互いに平行なX軸方向に沿った直線状となっている。この直線状部分の各導線には同一方向の電流が流され、第1,第2X軸GMR素子11,12に対してY軸方向の磁界を発生するようになっている。即ち、加熱用コイル21は、第1,第2X軸GMR素子11,12の長手方向の向きであって、外部磁界が加わっていない場合のフリー層の設計上の磁化の向き(ピンド層の固定された磁化の向きに直交する向き)の磁界を発生するようになっている。   The first and second X-axis GMR elements 11 and 12 are arranged between the pair of vortex centers P1 and P2 in a plan view. Further, in the same plan view, the first conductors 21-1 and the first conductors 21-1 that overlap with the first and second X-axis GMR elements 11 and 12 (that is, the parts that pass directly under the first and second X-axis GMR elements 11 and 12) The portion of the second conducting wire 21-2 has a linear shape along the X-axis direction parallel to each other. A current in the same direction flows through each of the conductors in the linear portion, and a magnetic field in the Y-axis direction is generated for the first and second X-axis GMR elements 11 and 12. That is, the heating coil 21 is in the longitudinal direction of the first and second X-axis GMR elements 11 and 12, and the direction of magnetization in the design of the free layer when no external magnetic field is applied (pinned layer fixing). A magnetic field having a direction perpendicular to the direction of magnetization).

このように、第1実施形態に係る磁気センサ10は、GMR素子(フリー層とピン層とを含む磁気抵抗効果素子)を含んでなる磁気センサであって、外部磁界が加わらない状態におけるフリー層の磁化の向きを安定化させる(初期化する)ために同フリー層の下方に(同フリー層に近接して)設けられ、且つ、所定条件下(例えば、磁気検出開始前等)での通電により同フリー層に所定の向き(ピンド層のピンされた磁化の向きと直交する向き)の磁界(初期化用磁界)を発生させ得る加熱用コイル21〜24を備えた磁気センサであり、更に、加熱用コイル21〜24は、所定条件下での所定パターンの通電によりそれぞれの直上にあるGMR素子(群)を加熱するように構成された磁気センサである。   As described above, the magnetic sensor 10 according to the first embodiment is a magnetic sensor including a GMR element (a magnetoresistive effect element including a free layer and a pinned layer), and is a free layer in a state where an external magnetic field is not applied. Is provided below (in close proximity to) the free layer in order to stabilize (initialize) the direction of magnetization, and energization under predetermined conditions (for example, before the start of magnetic detection). Is a magnetic sensor including heating coils 21 to 24 that can generate a magnetic field (initialization magnetic field) in a predetermined direction (direction perpendicular to the pinned magnetization direction of the pinned layer) in the free layer. The heating coils 21 to 24 are magnetic sensors configured to heat the GMR element (group) immediately above each of them by energizing a predetermined pattern under a predetermined condition.

制御回路部31は、図1に示したように、平面視でブリッジ配線部19の内側(平面視で配線部19のなす実質的な閉曲線の内側、即ち、基板10aの中央部)において、X軸及びY軸に沿った辺を有する略正方形状をなすように形成されている。この制御回路部31は、図3に示したように、GMR素子11〜18よりも下方の層INS1及び層S1〜S3内に形成されている。制御回路部31は、AD変換部(ADC)、一度だけデータの書込みが可能で常時読み取りが可能なライトワンス型のメモリ(便宜上「第1メモリ」とも称呼する。)、及びアナログ回路部を含むLSIである。制御回路部31は、X軸磁気センサ及びY軸磁気センサの出力値(抵抗値に基く電圧としての物理量)の取得及びAD変換などの処理による出力信号の生成、加熱用コイル21〜24への通電、温度検出部32の検出温度の取得、温度補償データの取得、並びに同データの第1メモリへの格納(書き込み)等の機能を達成するようになっている。   As shown in FIG. 1, the control circuit unit 31 is arranged inside the bridge wiring unit 19 in a plan view (inside a substantially closed curve formed by the wiring unit 19 in a plan view, that is, in the center of the substrate 10 a). It is formed so as to form a substantially square shape having sides along the axis and the Y axis. As shown in FIG. 3, the control circuit unit 31 is formed in the layers INS1 and S1 to S3 below the GMR elements 11 to 18. The control circuit unit 31 includes an AD conversion unit (ADC), a write-once memory that can write data once and can always read it (also referred to as “first memory” for convenience), and an analog circuit unit. LSI. The control circuit unit 31 obtains output values (physical quantities as voltages based on resistance values) of the X-axis magnetic sensor and the Y-axis magnetic sensor, generates an output signal by processing such as AD conversion, and supplies the output signals to the heating coils 21 to 24. Functions such as energization, acquisition of temperature detected by the temperature detector 32, acquisition of temperature compensation data, and storage (writing) of the data in the first memory are achieved.

このように、基板10aの中央部に制御回路部31を配設することにより、制御回路部31の配線長を短くすることができる。従って、回路の抵抗が小さく、且つ、回路自体が小型化されるので、ノイズの影響を受け難く、且つ、回路に含まれる抵抗の変動(製品間ばらつき)を小さくすることができる。   Thus, the wiring length of the control circuit unit 31 can be shortened by disposing the control circuit unit 31 in the center of the substrate 10a. Therefore, since the resistance of the circuit is small and the circuit itself is miniaturized, it is difficult to be affected by noise, and variation in resistance (variation between products) included in the circuit can be reduced.

なお、上記ライトワンス型のメモリとしては、ヒューズ切断タイプの24ビットメモリを採用することができる。ただし、このようなメモリに代えて、EEPROM及びフラッシュメモリ等、データの書き込みが可能であって、且つ、電力供給遮断時においてもデータの保持が可能なメモリ(不揮発性メモリ)を採用することもできる。   As the write-once memory, a fuse cutting type 24-bit memory can be used. However, instead of such a memory, a memory (nonvolatile memory) such as an EEPROM or a flash memory that can write data and can retain data even when the power supply is cut off may be adopted. it can.

温度検出部32は、内蔵されたトランジスタの温度特性に基づいて温度を検出する周知のバンドギャップリファレンス回路により構成されていて、平面視においてブリッジ配線部19の内側であって、制御回路部31の角部に形成されている。温度検出部32は、GMR素子11〜16よりも、GMR素子17,18(素子群Gr4)に近接した位置で配線層S1内に形成され、GMR素子18(素子群Gr4)の温度と常に一定の相関がある温度(検出温度)を出力するようになっている。後述するように、磁気抵抗効果素子11〜18は、同一の温度になるように加熱されるから、磁気抵抗効果素子18の温度を検出することで、他の磁気抵抗効果素子11〜17の温度も知ることができる。   The temperature detection unit 32 is configured by a known bandgap reference circuit that detects a temperature based on the temperature characteristics of a built-in transistor. The temperature detection unit 32 is inside the bridge wiring unit 19 in a plan view, and includes a control circuit unit 31. It is formed at the corner. The temperature detector 32 is formed in the wiring layer S1 at a position closer to the GMR elements 17 and 18 (element group Gr4) than the GMR elements 11 to 16, and is always constant with the temperature of the GMR element 18 (element group Gr4). The temperature (detection temperature) with the correlation of is output. As will be described later, since the magnetoresistive effect elements 11 to 18 are heated to the same temperature, the temperature of the other magnetoresistive effect elements 11 to 17 is detected by detecting the temperature of the magnetoresistive effect element 18. You can also know.

このように、温度検出部32を素子群Gr4の近傍であって且つブリッジ配線部19の内側に配置することにより、温度検出部32はGMR素子18の温度を精度良く検出することができる。また、温度検出部32は、ブリッジ配線部19を跨ぐことなく制御回路部31に接続されるので、温度検出部32と制御回路部31間の配線長を短くすることができる。   Thus, by arranging the temperature detection unit 32 in the vicinity of the element group Gr4 and inside the bridge wiring unit 19, the temperature detection unit 32 can detect the temperature of the GMR element 18 with high accuracy. Further, since the temperature detection unit 32 is connected to the control circuit unit 31 without straddling the bridge wiring unit 19, the wiring length between the temperature detection unit 32 and the control circuit unit 31 can be shortened.

検査用コイル33a〜33dは、図3に検査用コイル33aを例示したように、素子群Gr1〜Gr4のそれぞれの直下であって、配線層S1内に形成されている。検査用コイル33a〜33dは、通電により直上に位置する各磁気抵抗効果素子の磁界検出方向の磁界(ピンド層の磁化の向きの磁界)を、同各磁気抵抗効果素子に加えるようになっている。   As illustrated in FIG. 3, the inspection coils 33 a to 33 d are formed immediately below the element groups Gr1 to Gr4 and in the wiring layer S <b> 1. The inspection coils 33a to 33d apply a magnetic field in a magnetic field detection direction (magnetic field in the direction of magnetization of the pinned layer) of each magnetoresistive effect element positioned immediately above by energization to each of the magnetoresistive effect elements. .

ここで、磁気センサ10の層構造について説明を加える。図3に示したように、基板10aの上部は素子分離領域10a1と、それ以外の活性化領域10a2とに区分されている。素子分離領域10a1は、LOCOS法又はSTI法によりフィールド絶縁膜insとして基板10aの上面に形成されている。LOCOS法は、熱酸化膜により素子と素子とを絶縁分離する周知の技術である。STI法はシャロートレンチ素子分離と呼ばれ、浅い溝に酸化膜を埋め込むことにより素子と素子を絶縁分離する周知の技術である。   Here, the layer structure of the magnetic sensor 10 will be described. As shown in FIG. 3, the upper portion of the substrate 10a is divided into an element isolation region 10a1 and other activation regions 10a2. The element isolation region 10a1 is formed on the upper surface of the substrate 10a as a field insulating film ins by the LOCOS method or the STI method. The LOCOS method is a well-known technique for insulating and isolating elements from each other with a thermal oxide film. The STI method is called shallow trench element isolation, and is a well-known technique for insulating and isolating elements from each other by embedding an oxide film in a shallow trench.

基板10aの直上及び絶縁層insの上面には絶縁層INS1が形成されている。絶縁層INS1内であって素子活性化領域10a2には、例えばトランジスタTr等の回路素子が形成されている。絶縁層INS1内であって素子分離領域10a1には、抵抗R、ヒューズ、及びキャパシタ等の素子が形成されている。また、絶縁層INS1内には、前記トランジスタTr等の回路素子と上の層S1に形成された配線等との電気的接続を行うための複数のコンタクトホールC1(接続部、縦方向接続部)が層S1〜S3の層面と直交するように(層S1〜S3の層面と交差するように)形成されている。コンタクトホールC1内には導電性物質が充填されている。   An insulating layer INS1 is formed immediately above the substrate 10a and on the upper surface of the insulating layer ins. A circuit element such as a transistor Tr is formed in the element activation region 10a2 in the insulating layer INS1. Elements such as a resistor R, a fuse, and a capacitor are formed in the element isolation region 10a1 in the insulating layer INS1. Further, in the insulating layer INS1, a plurality of contact holes C1 (connection portions, vertical connection portions) for electrically connecting circuit elements such as the transistor Tr and wirings formed in the upper layer S1 are provided. Is formed so as to be orthogonal to the layer surfaces of the layers S1 to S3 (so as to intersect the layer surfaces of the layers S1 to S3). The contact hole C1 is filled with a conductive material.

絶縁層INS1の上には、配線層として機能する層S1が形成されている。層S1は、導電膜からなる配線W1、検査用コイル33a〜33d、層間絶縁膜IL1、及び温度検出部32等からなっている。また、層間絶縁膜IL1には上の層S2に形成された配線等との電気的接続を行うための複数のビアホールV1(接続部、縦方向接続部)が層S1〜S3の層面と直交するように(層S1〜S3の層面と交差するように)形成されている。ビアホールV1内には導電性物質が充填されている。   A layer S1 functioning as a wiring layer is formed on the insulating layer INS1. The layer S1 includes a wiring W1 made of a conductive film, inspection coils 33a to 33d, an interlayer insulating film IL1, a temperature detection unit 32, and the like. Further, in the interlayer insulating film IL1, a plurality of via holes V1 (connection portions, vertical connection portions) for electrical connection with wirings and the like formed in the upper layer S2 are orthogonal to the layer surfaces of the layers S1 to S3. (So as to intersect with the layer surfaces of the layers S1 to S3). The via hole V1 is filled with a conductive material.

同様に、層S1の上には、配線層として機能する層S2が形成されている。層S2は、導電膜からなる配線W2と、層間絶縁膜IL2とからなっている。また、層間絶縁膜IL2には上の層S3に形成された配線等との電気的接続を行うための複数のビアホールV2(接続部、縦方向接続部)が層S1〜S3の層面と直交するように(層S1〜S3の層面と交差するように)形成されている。ビアホールV2内には導電性物質が充填されている。   Similarly, a layer S2 functioning as a wiring layer is formed on the layer S1. The layer S2 includes a wiring W2 made of a conductive film and an interlayer insulating film IL2. Further, in the interlayer insulating film IL2, a plurality of via holes V2 (connection portions, longitudinal connection portions) for electrical connection with wirings and the like formed in the upper layer S3 are orthogonal to the layer surfaces of the layers S1 to S3. (So as to intersect with the layer surfaces of the layers S1 to S3). The via hole V2 is filled with a conductive material.

同様に、層S2の上には、配線層として機能する層S3が形成されている。層S3は、導電膜からなる配線W3と、ブリッジ配線部19と、加熱用コイル21(22〜24)と、層間絶縁膜IL3とからなっている。また、層間絶縁膜IL3には層S3の上面に形成されたGMR素子11〜18との電気的接続を行うための複数のビアホールV3(接続部、縦方向接続部)が層S1〜S3の層面と直交するように(層S1〜S3の層面と交差するように)形成されている。ビアホールV3内には導電性物質が充填されている。層間絶縁膜IL3は、制御回路部31を保護するため、後述するパッシベーション膜PLとは別の窒化膜を含むパッシベーション膜とすることもできる。GMR素子11〜18の特性が良好に維持されるように、層間絶縁膜IL3の上面は平坦化されていることが好ましい。また、上記コンタクトホールC1及びビアホールV1〜V3は、GMR素子11〜18と配線部であるブリッジ配線部19と制御回路部31等とを互いに接続する接続部であって、複数の層INS1,S1〜S3内にこれらの層の層面に交差する方向に伸びる導電性物質からなる接続部であると言うことができる。   Similarly, a layer S3 functioning as a wiring layer is formed on the layer S2. The layer S3 includes a wiring W3 made of a conductive film, a bridge wiring portion 19, a heating coil 21 (22 to 24), and an interlayer insulating film IL3. The interlayer insulating film IL3 has a plurality of via holes V3 (connection portions, vertical connection portions) for making electrical connection with the GMR elements 11 to 18 formed on the upper surface of the layer S3. So as to be orthogonal to each other (crossing the layer surfaces of the layers S1 to S3). The via hole V3 is filled with a conductive material. The interlayer insulating film IL3 may be a passivation film including a nitride film different from a passivation film PL described later in order to protect the control circuit unit 31. The upper surface of the interlayer insulating film IL3 is preferably flattened so that the characteristics of the GMR elements 11 to 18 are maintained well. The contact hole C1 and the via holes V1 to V3 are connection portions that connect the GMR elements 11 to 18, the bridge wiring portion 19 that is a wiring portion, the control circuit portion 31, and the like to each other, and a plurality of layers INS1, S1. It can be said that it is a connection part which consists of an electroconductive substance extended in the direction which cross | intersects the layer surface of these layers in -S3.

パッド領域PDは、GMR素子11〜18が形成される部分、ブリッジ配線部19、及び制御回路部31以外の領域であって、平面視で磁気センサ10の角部に設けられている(図1を参照。)。このパッド領域PDの上面が、上述したパッド34a〜34hを構成している。パッド34a〜34hは、最上層である層S3にのみ形成しても良いが、Au線をボンディングする際に衝撃を受ける。従って、本例においては、平面視で略正方形のパッド部が層S1〜S3の複数の層にまたがって形成されている。   The pad region PD is a region other than the portion where the GMR elements 11 to 18 are formed, the bridge wiring portion 19 and the control circuit portion 31, and is provided at the corner of the magnetic sensor 10 in plan view (FIG. 1). See). The upper surface of the pad region PD constitutes the above-described pads 34a to 34h. The pads 34a to 34h may be formed only on the uppermost layer S3, but receive an impact when bonding Au wires. Therefore, in this example, the substantially square pad portion in plan view is formed across a plurality of layers S1 to S3.

パッシベーション膜PLは、層S3及びGMR素子11〜18の上面を覆うように形成されている。パッシベーション膜PLは、これらの全体を覆うように形成された後、前記パッド34a〜34hに対応する部分が除去される。これにより、パッド34a〜34hがAu線とボンディング可能に露呈される。   The passivation film PL is formed so as to cover the upper surface of the layer S3 and the GMR elements 11-18. After the passivation film PL is formed so as to cover the whole, portions corresponding to the pads 34a to 34h are removed. As a result, the pads 34a to 34h are exposed to be bonded to the Au wire.

かかる磁気センサ10は、図9に外観の概略正面図を示した携帯型の電子装置としての携帯電話機40に収容・搭載される。この携帯電話機40は、正面視で互いに直交するx軸及びy軸に沿って延びる辺を有する略長方形であってx軸及びy軸に直交するz軸方向に厚みを有するケース(本体)41と、このケース41の上部側面に配置されたアンテナ部42、ケース41の前面側最上部に配置されたスピーカ部43、スピーカ部43の下方でケース41の前面側に配置され文字及び図形を表示するための液晶表示部44、液晶表示部44の下方でケース41の前面側に配置され電話番号又はその他の指示信号を入力するためのスイッチを含む操作部(操作信号入力手段)45、ケース41の前面側最下部に配置されたマイクロフォン部46、及びバスを介して磁気センサ10及び表示部44等と通信可能に構成されるとともにRAM及びバックアップメモリ(EEPROMでも良く、主電源オフ時もデータを保持するメモリであって、便宜上「第2メモリ」とも称呼する。)を内蔵したマイクロコンピュータ47とを含んでいる。   Such a magnetic sensor 10 is accommodated and mounted in a mobile phone 40 as a portable electronic device whose schematic external front view is shown in FIG. The mobile phone 40 is a substantially rectangular shape having sides extending along the x-axis and the y-axis that are orthogonal to each other when viewed from the front, and has a thickness (z) in the z-axis direction orthogonal to the x-axis and the y-axis. The antenna unit 42 disposed on the upper side surface of the case 41, the speaker unit 43 disposed on the uppermost front side of the case 41, and disposed on the front side of the case 41 below the speaker unit 43 to display characters and figures. Liquid crystal display unit 44, an operation unit (operation signal input means) 45 disposed on the front side of the case 41 below the liquid crystal display unit 44 and including a switch for inputting a telephone number or other instruction signal. It is configured to be communicable with the magnetic sensor 10 and the display unit 44 via the microphone unit 46 disposed at the lowermost part on the front surface side and the bus, and also with a RAM and a backup memory May even PROM, when the main power is turned off, a memory for holding data, and a microcomputer 47 with a built-in convenience "second memory" also to referred.).

これらアンテナ部42、スピーカ部43、液晶表示部44、操作部45、及びマイクロフォン部46の一部又は全部は、永久磁石部品(漏洩磁界発生部品)をその構成部品として含んでいる。そして、磁気センサ10は、そのX,Y,Z軸がケース41のx,y,z軸とそれぞれ一致するように同ケース内に収容・固定される。   Some or all of the antenna unit 42, the speaker unit 43, the liquid crystal display unit 44, the operation unit 45, and the microphone unit 46 include a permanent magnet component (leakage magnetic field generating component) as its component. The magnetic sensor 10 is accommodated and fixed in the case so that the X, Y, and Z axes thereof coincide with the x, y, and z axes of the case 41, respectively.

次に、上記のように構成された磁気センサ10の温度依存特性補償方法について説明する。GMR素子等の磁気抵抗効果素子は、その材料特性により、例えば抵抗が温度上昇とともに増大するという温度依存特性を有し、その温度依存特性は素子毎に異なる。従って、4個のGMR素子のフルブリッジ回路である上記磁気センサ10(X軸磁気センサ及びY軸磁気センサの各々)も、その出力が温度の変化に伴って変化するという温度依存特性を有する。ただし、その温度依存特性には、磁気センサ10を構成する各GMR素子の温度依存特性により、同磁気センサ10の出力が同GMR素子の温度上昇とともに増大するものと、同GMR素子の温度上昇とともに減少するものとがある。   Next, a temperature dependent characteristic compensation method for the magnetic sensor 10 configured as described above will be described. A magnetoresistive effect element such as a GMR element has a temperature-dependent characteristic in which, for example, resistance increases as the temperature rises due to its material characteristics, and the temperature-dependent characteristic varies from element to element. Therefore, the magnetic sensor 10 (each of the X-axis magnetic sensor and the Y-axis magnetic sensor), which is a full bridge circuit of four GMR elements, also has a temperature-dependent characteristic that its output changes as the temperature changes. However, the temperature dependence characteristics include that the output of the magnetic sensor 10 increases with the temperature rise of the GMR element and the temperature rise of the GMR element due to the temperature dependence characteristic of each GMR element constituting the magnetic sensor 10. There are things that decrease.

図10及び図11は、このような磁気センサの温度依存特性の一例をそれぞれ示したグラフである。ここでは、X軸磁気センサが負の温度依存特性、Y軸磁気センサが正の温度依存特性を有する例を示し、実線は外部磁界(例えば、所定の場所の所定の時間における地磁気)のX成分,Y成分がそれぞれHX0,HY0である場合の各磁気センサの出力値Vxout,Vyout、一点鎖線は地磁気の影響を除いた外部磁界(例えば、携帯電話機40の永久磁石部品からの漏洩磁界)がそれぞれHX1,HY1である場合の各磁気センサの出力値Vxout,Vyoutを示している。   FIG. 10 and FIG. 11 are graphs showing examples of temperature-dependent characteristics of such a magnetic sensor, respectively. Here, an example is shown in which the X-axis magnetic sensor has a negative temperature-dependent characteristic and the Y-axis magnetic sensor has a positive temperature-dependent characteristic, and the solid line indicates the X component of the external magnetic field (for example, geomagnetism at a predetermined time at a predetermined time). The output values Vxout and Vyout of the magnetic sensors when the Y components are HX0 and HY0, respectively, and the alternate long and short dash lines are external magnetic fields excluding the influence of geomagnetism (for example, leakage magnetic fields from the permanent magnet parts of the mobile phone 40). The output values Vxout and Vyout of each magnetic sensor in the case of HX1 and HY1 are shown.

図10及び図11からも理解されるように、磁気センサ10の出力値Vxout,Vyoutは、同一の磁界に対し、GMR素子の温度に略比例して変化する。そこで、本実施形態においては、各磁気センサの出力値Vxout,VyoutはGMR素子温度に対して比例的に変化するとの前提下で温度依存特性の補償を行う。   As understood from FIGS. 10 and 11, the output values Vxout and Vyout of the magnetic sensor 10 change approximately in proportion to the temperature of the GMR element with respect to the same magnetic field. Therefore, in the present embodiment, temperature dependent characteristics are compensated under the assumption that the output values Vxout and Vyout of each magnetic sensor change in proportion to the GMR element temperature.

先ず、制御回路部31は、外部から指示信号が入力される等により温度依存特性補償データを取得するための所定の条件が成立すると、その時点のGMR素子18の温度に対応した温度検出部32の検出温度を第1温度T1sとして取得する。この場合、磁気センサ10全体は均一の温度(室温)となっているから、温度検出部32の検出温度T1sはGMR素子18の温度T1と等しい。同時に、制御回路部31は、そのときのX軸磁気センサの出力値X1(X軸磁気センサ第1出力値X1)とY軸磁気センサの出力値Y1(Y軸磁気センサ第1出力値Y1)とを取得する。次いで、制御回路部31は加熱用コイル21〜24に100mAの電流を100msずつ順に通電する。これにより、素子群Gr1〜Gr4は互いに略等しい温度まで加熱される。   First, when a predetermined condition for acquiring temperature-dependent characteristic compensation data is satisfied, for example, when an instruction signal is input from the outside, the control circuit unit 31 corresponds to the temperature of the GMR element 18 at that time. Is detected as the first temperature T1s. In this case, since the entire magnetic sensor 10 has a uniform temperature (room temperature), the detection temperature T1s of the temperature detection unit 32 is equal to the temperature T1 of the GMR element 18. At the same time, the control circuit unit 31 outputs the X-axis magnetic sensor output value X1 (X-axis magnetic sensor first output value X1) and the Y-axis magnetic sensor output value Y1 (Y-axis magnetic sensor first output value Y1) at that time. And get. Next, the control circuit unit 31 energizes the heating coils 21 to 24 with a current of 100 mA in order of 100 ms. Thereby, the element groups Gr1 to Gr4 are heated to substantially the same temperature.

図12は、この状態における素子群Gr1〜Gr4が形成されている面での等温線を曲線Lh1〜Lh4,Lo1〜Lo4により示した図である。曲線Lh1〜Lh4で示した等温線の温度Tempは互いに略等しい。曲線Lo1〜Lo4で示した等温線の温度も互いに等しく、且つ、前記温度Tempよりも低い温度である。このように、加熱用コイル21〜24への通電により、加熱用コイル21〜24は、対応する(それぞれの加熱用コイルの直上に位置する)素子群Gr1〜Gr4を主として加熱し、磁気センサ10(チップ)全体を均一には加熱しないので、素子群Gr1〜Gr4が形成された層S3の上面は面全体でみると同素子群Gr1〜Gr4の温度以下の不均一な温度となる。   FIG. 12 is a diagram showing isotherms on the surface where the element groups Gr1 to Gr4 are formed in this state by curves Lh1 to Lh4 and Lo1 to Lo4. The temperatures Temp of the isotherms shown by the curves Lh1 to Lh4 are substantially equal to each other. The temperatures of the isotherms shown by the curves Lo1 to Lo4 are also equal to each other and lower than the temperature Temp. Thus, by energizing the heating coils 21 to 24, the heating coils 21 to 24 mainly heat the corresponding element groups Gr <b> 1 to Gr <b> 4 (positioned immediately above the respective heating coils), and the magnetic sensor 10. Since the (chip) is not uniformly heated, the upper surface of the layer S3 on which the element groups Gr1 to Gr4 are formed has a non-uniform temperature below the temperature of the element groups Gr1 to Gr4 when viewed over the entire surface.

制御回路部31は、この状態において、その時点の温度検出部32の検出温度を温度T2sとして取得するとともに、GMR素子18の第2温度T2を、T2=T1s+k・(T2s−T1s)(kは、実験により予め定められた定数)なる式で表される同温度検出部32の温度とGMR素子18の温度との一定の相関に従って求める。また、制御回路部31は、そのときのX軸磁気センサの出力値X2(X軸磁気センサ第2出力値X2)とY軸磁気センサの出力値Y2(Y軸磁気センサ第2出力値Y2)とを取得する。   In this state, the control circuit unit 31 acquires the detected temperature of the temperature detection unit 32 at that time as the temperature T2s, and sets the second temperature T2 of the GMR element 18 to T2 = T1s + k · (T2s−T1s) (k is The constant is determined according to a constant correlation between the temperature of the temperature detection unit 32 and the temperature of the GMR element 18 expressed by an equation (a constant determined by experiment). Further, the control circuit unit 31 outputs the X-axis magnetic sensor output value X2 (X-axis magnetic sensor second output value X2) and the Y-axis magnetic sensor output value Y2 (Y-axis magnetic sensor second output value Y2) at that time. And get.

そして、制御回路部31は、温度依存特性を表すデータとして、下記の(1)式,(2)式により定められる傾き(磁気抵抗効果素子の単位温度変化あたりの出力変化量)Mx,Myを温度依存特性補償用基礎データとして演算し、この傾きMx,Myをライトワンス型の前記第1メモリに書き込む(この機能が、温度依存特性書き込み手段の機能に相当する。)。この場合、傾きMxは、第1温度T1と第2温度T2の差に対するX軸磁気センサ第1出力値X1とX軸磁気センサ第2出力値X2との差の「比」であり、傾きMyは、第1温度T1と第2温度T2の差に対するY軸磁気センサ第1出力値Y1とY軸磁気センサ第2出力値Y2との差の「比」である。
Mx=(X2−X1)/(T2−T1) …(1)
My=(Y2−Y1)/(T2−T1) …(2)
Then, the control circuit unit 31 uses, as data representing the temperature dependence characteristics, gradients (output change amounts per unit temperature change of the magnetoresistive effect element) Mx and My defined by the following equations (1) and (2). Calculation is performed as basic data for temperature dependent characteristic compensation, and the slopes Mx and My are written into the write-once first memory (this function corresponds to the function of the temperature dependent characteristic writing means). In this case, the slope Mx is a “ratio” of the difference between the X-axis magnetic sensor first output value X1 and the X-axis magnetic sensor second output value X2 with respect to the difference between the first temperature T1 and the second temperature T2, and the slope My Is the “ratio” of the difference between the Y-axis magnetic sensor first output value Y1 and the Y-axis magnetic sensor second output value Y2 with respect to the difference between the first temperature T1 and the second temperature T2.
Mx = (X2-X1) / (T2-T1) (1)
My = (Y2-Y1) / (T2-T1) (2)

以上により、磁気センサ単体の段階での温度依存特性補償用基礎データの取得が終了する。その後、磁気センサ10は冷却されるまで放置され次の工程へと進む。図13は、上記温度依存特性補償用基礎データの取得のための加熱用コイル21〜24の通電終了後の時間経過とGMR素子11〜18の温度変化との関係を示したグラフである。   Thus, the acquisition of temperature-dependent characteristic compensation basic data at the stage of the magnetic sensor alone is completed. Thereafter, the magnetic sensor 10 is left until it is cooled and proceeds to the next step. FIG. 13 is a graph showing the relationship between the passage of time after the energization of the heating coils 21 to 24 for obtaining the temperature-dependent characteristic compensation basic data and the temperature change of the GMR elements 11 to 18 are completed.

従来の加熱・冷却装置を用いて同様な温度変化をGMR素子11〜18に発生させようとすると、磁気センサ10全体を加熱・冷却することになるから、加熱に要する時間が長くなるとともに、加熱終了後の温度低下速度が小さく、冷却するまでに数分から20分程度必要となる場合がある。これに対し、本実施形態においては、素子群Gr1〜Gr4(GMR素子11〜18)が主として加熱されるから、GMR素子11〜18を加熱するために要する時間が短くなる。また、加熱終了後の温度低下速度が大きくなるので、図13に示したように、数秒程度で必要な冷却が終了する。従って、温度依存特性補償用基礎データの取得に要する時間が短く、また、同基礎データ取得後の短時間内に次の製造工程に進むことができる。   If a similar temperature change is caused to occur in the GMR elements 11 to 18 using a conventional heating / cooling device, the entire magnetic sensor 10 is heated / cooled. The temperature decrease rate after completion is small, and it may take several minutes to 20 minutes to cool. In contrast, in the present embodiment, since the element groups Gr1 to Gr4 (GMR elements 11 to 18) are mainly heated, the time required to heat the GMR elements 11 to 18 is shortened. In addition, since the rate of temperature decrease after the heating is increased, the necessary cooling is completed in about several seconds as shown in FIG. Therefore, the time required for acquiring the temperature-dependent characteristic compensation basic data is short, and it is possible to proceed to the next manufacturing process within a short time after acquiring the basic data.

その後、磁気センサ10単体として必要な製造工程が終了すると、同磁気センサ10は、スピーカ43などの永久磁石部品を備えた携帯電話機40のケース41内に実装(収容)され、地磁気センサとして使用される。この結果、磁気センサ10には携帯電話機40の永久磁石部品から常に(携帯電話機40の方位に関わらず)同一方向の漏洩磁界が加わるので、磁気センサ10の出力には同漏洩磁界によるオフセット(地磁気が皆無である場合の0点からの偏差)が生じる。また、X軸磁気センサ及びY軸磁気センサはフルブリッジ回路であるから、各磁気センサの出力には同各磁気センサを構成する磁気抵抗効果素子の抵抗値(設計上は同一の大きさである。)のばらつき自体によるオフセットも含まれている。   Thereafter, when the manufacturing process necessary for the magnetic sensor 10 alone is completed, the magnetic sensor 10 is mounted (accommodated) in a case 41 of a mobile phone 40 having permanent magnet components such as a speaker 43 and used as a geomagnetic sensor. The As a result, a leakage magnetic field in the same direction is always applied to the magnetic sensor 10 from the permanent magnet component of the mobile phone 40 (regardless of the orientation of the mobile phone 40). Deviation from the zero point) when there is none. In addition, since the X-axis magnetic sensor and the Y-axis magnetic sensor are full bridge circuits, the output of each magnetic sensor has a resistance value of the magnetoresistive effect element constituting the same magnetic sensor (in design, it has the same size). The offset due to the variation itself is also included.

このとき、磁気センサ10のX軸磁気センサの出力値は、例えば、図10の一点鎖線で示したように、X軸磁気センサを構成するGMR素子11〜14の温度Tに比例して変化する。この場合、図10の一点鎖線の直線の傾きは同図10の実線の直線の傾きと同一である。同様に、磁気センサ10のY軸磁気センサの出力値は、例えば、図11の一点鎖線で示したように、Y軸磁気センサを構成するGMR素子15〜18の温度Tに比例して変化する。この場合にも、図11の一点鎖線の直線の傾きは同図11の実線の直線の傾きと同一である。   At this time, the output value of the X-axis magnetic sensor of the magnetic sensor 10 changes in proportion to the temperature T of the GMR elements 11 to 14 constituting the X-axis magnetic sensor, for example, as shown by the one-dot chain line in FIG. . In this case, the slope of the one-dot chain line in FIG. 10 is the same as the slope of the solid line in FIG. Similarly, the output value of the Y-axis magnetic sensor of the magnetic sensor 10 changes in proportion to the temperature T of the GMR elements 15 to 18 constituting the Y-axis magnetic sensor, for example, as shown by the one-dot chain line in FIG. . Also in this case, the slope of the one-dot chain line in FIG. 11 is the same as the slope of the solid line in FIG.

携帯電話機40のマイクロコンピュータ47は、ユーザによって携帯電話機40の操作部45が操作される等により所定の条件(オフセット取得条件)が成立すると前記漏洩磁界と磁気抵抗効果素子11〜18の抵抗値のばらつきによる磁気センサ10(X軸磁気センサ、Y軸磁気センサ)のオフセットに関するデータ(オフセット値)を取得する。より具体的な例を述べると、マイクロコンピュータ47は、その液晶表示部44に携帯電話機40の前面を上方に向けて机上に置き(即ち、前面を略水平として表示部44を鉛直上方に向けて机上に置き)、その状態にて操作部45の特定のボタンであるオフセットボタンを押して同ボタンを「オン」状態とすることを促すメッセージを表示する。   When the predetermined condition (offset acquisition condition) is established by the user operating the operation unit 45 of the mobile phone 40, the microcomputer 47 of the mobile phone 40 determines the leakage magnetic field and the resistance values of the magnetoresistive effect elements 11-18. Data (offset value) related to the offset of the magnetic sensor 10 (X-axis magnetic sensor, Y-axis magnetic sensor) due to variation is acquired. More specifically, the microcomputer 47 is placed on the liquid crystal display unit 44 on the desk with the front surface of the mobile phone 40 facing upward (that is, the front surface is substantially horizontal and the display unit 44 is directed vertically upward). In that state, a message that prompts the user to press the offset button, which is a specific button of the operation unit 45, to turn the button on is displayed.

そして、ユーザにより上記操作がなされると、マイクロコンピュータ47はX軸磁気センサ及びY軸磁気センサの出力値をそれぞれX軸第1基準データSx1及びY軸第1基準データSy1として取得し、これらのデータを同マイクロコンピュータ47が備える一時メモリ(例えば、RAM)に格納・記憶する。   When the above operation is performed by the user, the microcomputer 47 acquires the output values of the X-axis magnetic sensor and the Y-axis magnetic sensor as the X-axis first reference data Sx1 and the Y-axis first reference data Sy1, respectively. The data is stored / stored in a temporary memory (for example, RAM) provided in the microcomputer 47.

次いで、マイクロコンピュータ47は、液晶表示部44に、携帯電話機40の前面を上方に向けた状態で同携帯電話機40を机上で(即ち、水平面内で)180°回転させてからオフセットボタンを再び押すことを促すメッセージを表示する。かかる操作がユーザによりなされると、マイクロコンピュータ47は、X軸磁気センサ及びY軸磁気センサの出力値をそれぞれX軸第2基準データSx2及びY軸第2基準データSy2として取得して一時メモリに格納・記憶する。   Next, the microcomputer 47 rotates the mobile phone 40 180 degrees on the desk (that is, in a horizontal plane) with the front surface of the mobile phone 40 facing upward on the liquid crystal display unit 44, and then presses the offset button again. A message prompting you to do so is displayed. When such an operation is performed by the user, the microcomputer 47 acquires the output values of the X-axis magnetic sensor and the Y-axis magnetic sensor as the X-axis second reference data Sx2 and the Y-axis second reference data Sy2, respectively, and stores them in the temporary memory. Store and remember.

そして、マイクロコンピュータ47は、X軸第1基準データSx1とX軸第2基準データSx2の平均値をX軸オフセット基準データX0として第2メモリに格納・記憶するとともに、Y軸第1基準データSy1とY軸第2基準データSy2の平均値をY軸オフセット基準データY0として第2メモリに格納・記憶し、更に、そのときの温度検出部32の検出温度T0sをGMR素子温度T0として第2メモリに格納・記憶する。このように、携帯電話機40を180°回転する前後の各磁気センサの出力の平均値をオフセット基準データX0,Y0として記憶するのは、地磁気の影響を取り除いてオフセット値を取得するためである。なお、検出温度T0を取得する時点においては、磁気センサ10は均一な温度(室温)となっているから、検出温度T0sはGMR素子温度T0と等しい。   The microcomputer 47 stores and stores the average value of the X-axis first reference data Sx1 and the X-axis second reference data Sx2 in the second memory as the X-axis offset reference data X0, and also stores the Y-axis first reference data Sy1. And the average value of the Y-axis second reference data Sy2 are stored and stored in the second memory as Y-axis offset reference data Y0, and the detected temperature T0s of the temperature detection unit 32 at that time is set as the GMR element temperature T0 in the second memory. Store and store in Thus, the average value of the output of each magnetic sensor before and after rotating the mobile phone 40 by 180 ° is stored as the offset reference data X0 and Y0 in order to obtain the offset value by removing the influence of geomagnetism. Since the magnetic sensor 10 is at a uniform temperature (room temperature) at the time of obtaining the detection temperature T0, the detection temperature T0s is equal to the GMR element temperature T0.

以降、携帯電話機40は通常の使用モードに戻り、必要に応じて磁気センサ10により地磁気を測定する。このとき、マイクロコンピュータ47は、温度検出部32の実際の検出温度TCsをGMR素子温度TCとして取得し、下記(3)式及び下記(4)式に従ってその時点でのX軸磁気センサのオフセットXoffと、Y軸磁気センサのオフセットYoffとをそれぞれ推定する。なお、検出温度TCsを取得する時点においては、磁気センサ10は均一な温度(室温)となっているから、検出温度TCsはGMR素子温度TCと等しい。
Xoff=Mx・(TC−T0)+X0 …(3)
Yoff=My・(TC−T0)+Y0 …(4)
Thereafter, the mobile phone 40 returns to the normal use mode and measures the geomagnetism by the magnetic sensor 10 as necessary. At this time, the microcomputer 47 obtains the actual detection temperature TCs of the temperature detection unit 32 as the GMR element temperature TC, and the offset Xoff of the X-axis magnetic sensor at that time according to the following equations (3) and (4) And the offset Yoff of the Y-axis magnetic sensor are estimated. At the time when the detected temperature TCs is acquired, the magnetic sensor 10 is at a uniform temperature (room temperature), so the detected temperature TCs is equal to the GMR element temperature TC.
Xoff = Mx · (TC−T0) + X0 (3)
Yoff = My · (TC−T0) + Y0 (4)

次いで、マイクロコンピュータ47は、そのときのX軸磁気センサ出力値XC及びY軸磁気センサの出力値YCを取得し、下記(5)式及び下記(6)式によりX軸方向の磁界の大きさSxとY軸方向の磁界の大きさSyとをそれぞれ求め、SxとSyに基づいて地磁気の向きを測定する。以上のようにして磁気センサ10の温度依存特性の補償が実行され、磁気センサ10は地磁気センサとして機能する。
Sx=XC−Xoff …(5)
Sy=YC−Yoff …(6)
Next, the microcomputer 47 obtains the X-axis magnetic sensor output value XC and the Y-axis magnetic sensor output value YC at that time, and the magnitude of the magnetic field in the X-axis direction according to the following equations (5) and (6). Sx and the magnitude Sy of the magnetic field in the Y-axis direction are obtained, respectively, and the direction of geomagnetism is measured based on Sx and Sy. As described above, the compensation of the temperature dependence characteristic of the magnetic sensor 10 is executed, and the magnetic sensor 10 functions as a geomagnetic sensor.
Sx = XC-Xoff (5)
Sy = YC−Yoff (6)

以上、説明したように、第1実施形態に係る磁気センサ10は、加熱用コイル21〜24により、加熱用コイル21〜24のそれぞれの直上に形成されたGMR素子11〜18を主として加熱するようになっている(基板を含む磁気センサ10の一部が互いに同一温度に加熱された磁気抵抗効果素子11〜18の温度よりも低い温度となる)ので、磁気センサ10全体を加熱装置で加熱した場合に比べ、温度依存特性の補償を行うための温度依存特性補償用基礎データを短時間内に取得することができる。従って、温度依存特性補償用基礎データの測定中に地磁気が変化する可能性が小さいので、同データを精度良く取得することができ、その結果、磁気センサ10の温度依存特性の補償を精度良く行うことができる。また、加熱装置で加熱した後に冷却する場合に比べ、短時間内に磁気センサ10の冷却を行うことができるので、同磁気センサ10の製造に要する時間を短縮でき、製造コストを低減することができる。   As described above, the magnetic sensor 10 according to the first embodiment mainly heats the GMR elements 11 to 18 formed immediately above the heating coils 21 to 24 by the heating coils 21 to 24. (The temperature of the magnetic sensor 10 including the substrate is lower than the temperature of the magnetoresistive effect elements 11 to 18 heated to the same temperature), so the entire magnetic sensor 10 was heated by the heating device. Compared to the case, temperature dependent characteristic compensation basic data for compensating for the temperature dependent characteristic can be acquired within a short time. Therefore, since the possibility that the geomagnetism changes during the measurement of the temperature dependent characteristic compensation basic data is small, the data can be acquired with high accuracy, and as a result, the temperature dependent characteristic of the magnetic sensor 10 is compensated with high accuracy. be able to. In addition, since the magnetic sensor 10 can be cooled within a short time compared to the case where the magnetic sensor 10 is cooled after being heated by the heating device, the time required for manufacturing the magnetic sensor 10 can be shortened and the manufacturing cost can be reduced. it can.

ところで、GMR素子のような磁気抵抗効果素子を用いた磁気センサにおいては、同磁気センサに大きな外部磁界が印加されると、磁気抵抗効果素子のフリー層の磁化の向きが初期状態に復帰しなくなることがある。このため、磁気抵抗効果素子の直下に初期化用コイルを配置し、このコイルに所定の条件が成立したとき(例えば、操作部45の特定のスイッチが操作された場合等)に通電することにより発生した磁場でフリー層の磁化の向きを初期状態の向きに復帰させることができるように、磁気センサを構成することが好適である。   By the way, in a magnetic sensor using a magnetoresistive effect element such as a GMR element, when a large external magnetic field is applied to the magnetic sensor, the magnetization direction of the free layer of the magnetoresistive effect element does not return to the initial state. Sometimes. For this reason, an initialization coil is disposed immediately below the magnetoresistive effect element, and energization is performed when a predetermined condition is satisfied in the coil (for example, when a specific switch of the operation unit 45 is operated). It is preferable to configure the magnetic sensor so that the direction of magnetization of the free layer can be returned to the initial state by the generated magnetic field.

このような場合、磁気センサは、上記初期化用コイルを上記加熱用コイル21〜24とは独立して備えることができる。例えば、初期化用コイルは、加熱用コイル21〜24が形成されている層(本例においては、層S3)とは異なる層(層S1又は層S2)に形成することもできる。このように、初期化用コイルと加熱用コイルとを独立して設ければ、加熱用コイルの形状を所望の形状(加熱に適した形状)に設計することが可能となる。例えば、加熱用コイルは、コイルの一端をコイルの中心に配置しない折り返し型のヒータ(発熱体)とすることもできる。また、加熱用コイルに代えて、板状のヒータ(発熱体)を採用することもできる。   In such a case, the magnetic sensor can include the initialization coil independently of the heating coils 21 to 24. For example, the initialization coil can be formed in a layer (layer S1 or layer S2) different from the layer in which the heating coils 21 to 24 are formed (layer S3 in this example). Thus, if the initialization coil and the heating coil are provided independently, the shape of the heating coil can be designed to a desired shape (a shape suitable for heating). For example, the heating coil may be a folded heater (heating element) in which one end of the coil is not disposed at the center of the coil. Further, instead of the heating coil, a plate-like heater (heating element) may be employed.

一方、上記加熱用コイル21〜24は、上述したように、初期化用コイルとしても使用できるようになっている。この場合、別途初期化用コイルを形成する必要がなく、磁気センサ10の製造コストを低下することができる。また、加熱用コイル21〜24への一回の通電により、温度特性補償用基礎データ取得のための素子11〜18の加熱と同素子11〜18の初期化を同時に行うことができるので、製造工程が簡素化され、製造コストを低減することができる。   On the other hand, the heating coils 21 to 24 can be used as initialization coils as described above. In this case, it is not necessary to separately form an initialization coil, and the manufacturing cost of the magnetic sensor 10 can be reduced. In addition, since the heating of the elements 11 to 18 and the initialization of the elements 11 to 18 for acquiring the basic data for temperature characteristic compensation can be performed simultaneously by energizing the heating coils 21 to 24 once, The process is simplified and the manufacturing cost can be reduced.

一方、上述したように、GMR素子11〜18のような磁気抵抗効果素子を用いた磁気センサは、外部磁場に応じて変化する磁気抵抗効果素子の出力値を演算処理することにより方位を算出する地磁気センサとしても使用される。このような場合、磁気抵抗効果素子が外部磁場の下で正しく機能するかを、出荷時等において検査する必要がある。   On the other hand, as described above, the magnetic sensor using the magnetoresistive effect elements such as the GMR elements 11 to 18 calculates the azimuth by calculating the output value of the magnetoresistive effect element that changes according to the external magnetic field. It is also used as a geomagnetic sensor. In such a case, it is necessary to inspect at the time of shipment or the like whether the magnetoresistive effect element functions correctly under an external magnetic field.

かかる検査においては、既知の外部磁場を磁気抵抗効果素子に印加する必要があり、そためには、外部磁場を発生する設備を用意することが考えられる。しかし、このような設備は高価である。これに対し、磁気抵抗効果素子の近傍(例えば、直下)に検査用のコイルを配設し、この検査用のコイルに通電することにより上記検査のための外部磁場を磁気抵抗効果素子に印加するように構成することもできる。   In such an inspection, it is necessary to apply a known external magnetic field to the magnetoresistive effect element. For this purpose, it is conceivable to prepare equipment for generating an external magnetic field. However, such equipment is expensive. On the other hand, an inspection coil is disposed near (for example, directly below) the magnetoresistive element, and an external magnetic field for the inspection is applied to the magnetoresistive element by energizing the inspection coil. It can also be configured as follows.

このような場合、磁気センサ10は、上記検査用コイルを上記加熱用コイル21〜24とは独立して備えることができる。例えば、検査用コイルは、加熱用コイル21〜24が形成されている層(本例においては、層S3)とは異なる層(層S1又は層S2)に形成することもできる。このように、検査用コイルと加熱用コイルとを独立して設ければ、加熱用コイルの形状を所望の形状(加熱に適した形状)に設計することが可能となる。例えば、加熱用コイルは、コイルの一端をコイルの中心に配置しない折り返し型のヒータ(発熱体)とすることもできる。また、加熱用コイルに代えて、板状のヒータ(発熱体)を採用することもできる。   In such a case, the magnetic sensor 10 can include the inspection coil independently of the heating coils 21 to 24. For example, the inspection coil may be formed in a layer (layer S1 or layer S2) different from the layer in which the heating coils 21 to 24 are formed (in this example, the layer S3). Thus, if the inspection coil and the heating coil are provided independently, the shape of the heating coil can be designed to a desired shape (a shape suitable for heating). For example, the heating coil may be a folded heater (heating element) in which one end of the coil is not disposed at the center of the coil. Further, instead of the heating coil, a plate-like heater (heating element) may be employed.

一方、上記加熱用コイル21〜24は、同コイル21〜24を平面視で90°だけ回転して配置することにより、上述した検査用コイルとしても使用できる。この場合、別途検査用コイルを形成する必要がなく、磁気センサ10のコストを低減することができる。   On the other hand, the heating coils 21 to 24 can be used as the above-described inspection coils by rotating the coils 21 to 24 by 90 ° in a plan view. In this case, it is not necessary to form a separate inspection coil, and the cost of the magnetic sensor 10 can be reduced.

また上記磁気センサ10においては、加熱用コイル21(22〜24)が、平面視で渦巻を形成する第1の導線21−1と、平面視で渦巻を形成する第2の導線21−2とからなり、前記素子群Gr1〜Gr4が、平面視で前記第1の導線の渦中心P1と前記第2の導線の渦中心P2との間に配置され、前記素子群の任意の一つと平面視で重なる部分に位置する前記第1の導線の部分、及び同磁素子群の任意の一つと平面視で重なる部分に位置する前記第2の導線の部分に、略同一方向の電流が流れるように前記第1の導線と前記第2の導線が接続されている。   In the magnetic sensor 10, the heating coil 21 (22 to 24) includes a first conductor 21-1 that forms a spiral in plan view, and a second conductor 21-2 that forms a spiral in plan view. The element groups Gr1 to Gr4 are arranged between the vortex center P1 of the first conductor and the vortex center P2 of the second conductor in plan view, and in plan view with any one of the element groups So that currents in substantially the same direction flow through the portion of the first conducting wire located in the overlapping portion and the portion of the second conducting wire located in the portion overlapping with any one of the magnetic element groups in plan view. The first conducting wire and the second conducting wire are connected.

この結果、初期化用コイル(又は、検査用コイル)としても機能する加熱用コイル21〜24の平面視における面積を小さくしながら、大きな磁界(例えば、初期化に必要な大きさの磁界)を磁気抵抗効果素子11〜18に加えることができるので、磁気センサ10を小型化することができる。   As a result, a large magnetic field (for example, a magnetic field having a magnitude necessary for initialization) is generated while reducing the area in plan view of the heating coils 21 to 24 that also function as the initialization coil (or inspection coil). Since it can add to the magnetoresistive effect elements 11-18, the magnetic sensor 10 can be reduced in size.

なお、上記第1実施形態において、GMR素子を加熱する場合、加熱用コイル21〜24は100mAで100msずつ順に通電されていたが、加熱用コイル21〜24の総べてに対し、例えば、25mAの電流を同時に400msだけ通電するように構成してもよい。このように同時に通電すれば、順に通電する場合よりも、加熱コイル21〜24間の温度バランスが良好となるという利点が得られる。   In the first embodiment, when the GMR element is heated, the heating coils 21 to 24 are energized in order of 100 mA every 100 ms. However, for example, the heating coils 21 to 24 have a current of 25 mA, for example. These currents may be simultaneously supplied for 400 ms. When energized at the same time in this way, an advantage is obtained that the temperature balance between the heating coils 21 to 24 becomes better than when energized sequentially.

(第2実施形態)
次に、本発明による第2実施形態に係る磁気センサ50について、その平面図を示した図14及び図14の1−1線に沿った平面で同磁気センサ50を切断した部分断面図である図15を参照しながら説明する。この磁気センサ50は、GMR素子11〜18(素子群Gr1〜Gr4)を加熱するための加熱用コイル70が、初期化用コイル61〜64とは独立して備えられている点で第1実施形態に係る磁気センサ10と異なっている。従って、以下、かかる相違点を中心に説明する。
(Second Embodiment)
Next, about the magnetic sensor 50 which concerns on 2nd Embodiment by this invention, it is the fragmentary sectional view which cut | disconnected the magnetic sensor 50 in the plane along the 1-1 line | wire of FIG. 14 and FIG. 14 which showed the top view. This will be described with reference to FIG. The magnetic sensor 50 is a first embodiment in that a heating coil 70 for heating the GMR elements 11 to 18 (element groups Gr1 to Gr4) is provided independently of the initialization coils 61 to 64. It differs from the magnetic sensor 10 which concerns on a form. Therefore, the difference will be mainly described below.

図14及び図15に示した初期化用コイル61〜64は、加熱用コイル21〜24とそれぞれ同様であって、素子群Gr1〜Gr4の直下に(Z軸負方向側)において層S3内にそれぞれ埋設されている。これらの初期化用コイル61〜64は、所定条件下(例えば、磁気検出開始前等)での通電により、各加熱用コイルの上方に設けられた磁気抵抗効果素子のフリー層に所定の向き(ピンド層のピンされた磁化の向きと直交する向き)の磁界(初期化用磁界)を発生させるようになっている。   The initialization coils 61 to 64 shown in FIGS. 14 and 15 are the same as the heating coils 21 to 24, respectively, in the layer S3 immediately below the element groups Gr1 to Gr4 (on the Z-axis negative direction side). Each is buried. These initialization coils 61 to 64 are energized under a predetermined condition (for example, before the start of magnetic detection, etc.) with a predetermined orientation (on a free layer of the magnetoresistive effect element provided above each heating coil). A magnetic field (initializing magnetic field) having a direction perpendicular to the pinned magnetization direction of the pinned layer is generated.

加熱用コイル70は、例えば、薄膜のアルミニウムからなり、平面視で渦巻形状(図示省略)をなしている。加熱用コイル70の外形は、各辺がブリッジ配線部19のなす正方形の各辺と平行となる略正方形状をなし、その重心がブリッジ配線部19のなす正方形の重心と一致する。加熱用コイル70は、平面視でブリッジ配線部19の内側に形成されている。また、図15から理解されるように、加熱用コイル70は、基板50aに順に積層された絶縁層INS1と配線層S1〜S3のうち、GMR素子11〜18がその上面に形成された層S3(配線層として機能する層S1〜S3のうちの最上層S3)内に埋設・形成されている。
また、加熱用コイル70は、同加熱用コイル70から複数のGMR素子11〜18のうちの任意の一つの素子へ伝達される熱量が、同加熱用コイル70から同複数の磁気抵抗効果素子11〜18の他の一つの素子へ伝達される熱量と略同一となるように形成されている。
The heating coil 70 is made of, for example, a thin film of aluminum and has a spiral shape (not shown) in plan view. The outer shape of the heating coil 70 has a substantially square shape in which each side is parallel to each side of the square formed by the bridge wiring portion 19, and the center of gravity coincides with the center of gravity of the square formed by the bridge wiring portion 19. The heating coil 70 is formed inside the bridge wiring portion 19 in plan view. As can be understood from FIG. 15, the heating coil 70 includes a layer S3 in which GMR elements 11 to 18 are formed on the upper surface of the insulating layer INS1 and the wiring layers S1 to S3 sequentially stacked on the substrate 50a. It is embedded and formed in (the uppermost layer S3 of the layers S1 to S3 functioning as a wiring layer).
Further, in the heating coil 70, the amount of heat transmitted from the heating coil 70 to any one of the plurality of GMR elements 11 to 18 is changed from the heating coil 70 to the plurality of magnetoresistive effect elements 11. It is formed so as to be substantially the same as the amount of heat transferred to one of the other elements.

この磁気センサ50においても、磁気センサ10と同様に温度依存特性の補償がなされる。即ち、磁気センサ単体の段階で温度依存特性補償用基礎データである上記比(傾き)Mx,Myを取得するために加熱用コイル70が通電される。図16は、この場合における素子群Gr1〜Gr4が形成されている面での等温線を曲線Lj1,Lj2により示している。曲線Lj1で示した等温線の温度は、曲線Lj2で示した等温線の温度よりも高い温度である。   In the magnetic sensor 50 as well, the temperature dependent characteristics are compensated in the same manner as the magnetic sensor 10. That is, the heating coil 70 is energized in order to obtain the ratios (inclinations) Mx and My, which are basic data for compensating temperature dependent characteristics, at the stage of the magnetic sensor alone. FIG. 16 shows the isotherm on the surface where the element groups Gr1 to Gr4 are formed in this case by curves Lj1 and Lj2. The temperature of the isotherm indicated by the curve Lj1 is higher than the temperature of the isotherm indicated by the curve Lj2.

即ち、加熱用コイル70への通電により、加熱用コイル70は素子群Gr1〜Gr4を主として加熱する。その結果、素子群Gr1〜Gr4は互いに略等しい温度となる。一方、素子群Gr1〜Gr4が前記温度依存特性補償用基礎データを取得するために十分な温度となるまで加熱されたとき、基板50aを含む磁気センサ50全体は均一に加熱されていないので、加熱用コイル70の発熱により素子群Gr1〜Gr4が形成された層S3の上面は不均一な温度となる。   That is, the heating coil 70 mainly heats the element groups Gr <b> 1 to Gr <b> 4 by energizing the heating coil 70. As a result, the element groups Gr1 to Gr4 have substantially the same temperature. On the other hand, when the element groups Gr1 to Gr4 are heated to a temperature sufficient to acquire the temperature-dependent characteristic compensation basic data, the entire magnetic sensor 50 including the substrate 50a is not uniformly heated. The upper surface of the layer S3 on which the element groups Gr1 to Gr4 are formed is heated at a nonuniform temperature due to the heat generated by the coil 70 for use.

換言すると、この磁気センサ50においては、温度依存特性補償用基礎データを取得する際、基板50aを含む磁気センサ50の全体が同一温度となるまでGMR素子11〜18が加熱されることはない(加熱される必要がない)ので、磁気センサ50全体を加熱装置で加熱した場合に比べ、同GMR素子11〜18の加熱・冷却に要する時間を短くすることができる。   In other words, in this magnetic sensor 50, when acquiring temperature-dependent characteristic compensation basic data, the GMR elements 11 to 18 are not heated until the entire magnetic sensor 50 including the substrate 50a has the same temperature ( Therefore, the time required for heating and cooling the GMR elements 11 to 18 can be shortened as compared with the case where the entire magnetic sensor 50 is heated by a heating device.

従って、磁気センサ50によれば、温度依存特性補償用基礎データを短時間内に取得することができ、同データの測定中に地磁気が変化する可能性が小さいので、同データを精度良く取得することができる。この結果、磁気センサ50の温度依存特性の補償を精度良く行うことができる。   Therefore, according to the magnetic sensor 50, the temperature-dependent characteristic compensation basic data can be acquired within a short time, and since the possibility that the geomagnetism changes during the measurement of the data is small, the data is acquired with high accuracy. be able to. As a result, the temperature dependence characteristics of the magnetic sensor 50 can be accurately compensated.

また、磁気センサ50を加熱装置で加熱した後に冷却する場合に比べ、同磁気センサ50の冷却を短時間内に行うことができるので、同磁気センサ50の製造に要する時間を短縮でき、製造コストを低減することができる。更に、加熱用コイル70は、3層の配線層S1〜S3のうち、GMR素子11〜18に最も近い最上層S3内に埋設されているから、GMR素子11〜18を効率的に加熱することができる。   Further, since the magnetic sensor 50 can be cooled within a short time compared to the case where the magnetic sensor 50 is cooled after being heated by the heating device, the time required for manufacturing the magnetic sensor 50 can be shortened and the manufacturing cost can be reduced. Can be reduced. Furthermore, since the heating coil 70 is embedded in the uppermost layer S3 closest to the GMR elements 11 to 18 among the three wiring layers S1 to S3, the GMR elements 11 to 18 can be efficiently heated. Can do.

なお、上記初期化用コイル61〜64に代えて、同初期化用コイル61〜64と同じ部分に、上述した検査用コイルを配設してもよい。また、初期化用コイル61〜64及び加熱用コイル70とは独立し、且つ、初期化用コイル61〜64の直下の位置に検査用コイルを形成してもよい。更に、初期化用コイルを例えば層S1等の下層に形成し、検査用コイルを例えば層S3等の上層に形成してもよい。   Instead of the initialization coils 61 to 64, the above-described inspection coil may be disposed in the same portion as the initialization coils 61 to 64. Further, the initialization coils 61 to 64 and the heating coils 70 may be independent of the initialization coils 61 to 64 and the inspection coils may be formed immediately below the initialization coils 61 to 64. Further, the initialization coil may be formed in a lower layer such as the layer S1, and the inspection coil may be formed in an upper layer such as the layer S3.

以上、説明したように、本発明による磁気センサ及び磁気センサの温度依存特性補償方法によれば、同磁気センサの温度依存特性が精度良く補償され得る。また、X軸磁気センサとY軸磁気センサからなる磁気センサ10,50は、ぞれぞれフルブリッジ回路により構成され、その温度依存特性は、磁気抵抗効果素子の温度変化に対し比例的に変化することに鑑み、上記「比」であるMx,Myを磁気センサのライトワンス型メモリに記憶させるようにしたので、同磁気センサが他の電子機器に搭載された後、同電子機器は同「比」を前記メモリから読み出すことにより、搭載した磁気センサの温度依存特性についてのデータを得ることができ、同データを用いて同磁気センサの温度依存特性の補償を行うことが可能となる。   As described above, according to the magnetic sensor and the temperature dependence characteristic compensation method of the magnetic sensor according to the present invention, the temperature dependence characteristic of the magnetic sensor can be compensated with high accuracy. The magnetic sensors 10 and 50 including the X-axis magnetic sensor and the Y-axis magnetic sensor are each configured by a full bridge circuit, and the temperature-dependent characteristics thereof change in proportion to the temperature change of the magnetoresistive effect element. In view of the above, since the Mx and My, which are the above-mentioned “ratio”, are stored in the write-once memory of the magnetic sensor, after the magnetic sensor is mounted on another electronic device, the electronic device By reading out the “ratio” from the memory, it is possible to obtain data on the temperature dependence characteristics of the mounted magnetic sensor, and it is possible to compensate for the temperature dependence characteristics of the magnetic sensor using the data.

また、上記「比」(傾きMx,My)を磁気センサ10,50のメモリに記憶させておくだけで、各磁気センサの温度依存特性についてのデータを同各磁気センサに保有させておくことができるので、素子温度と磁気センサ出力とからなるデータの組を複数個だけメモリに格納する場合に比べ、同メモリの容量を小さくすることができる。また、上記「比」(傾きMx,My)は変化しないので、メモリを安価なライトワンス型とすることができる。これらの結果、磁気センサのコストを低減することが可能となる。   Further, only by storing the “ratio” (inclination Mx, My) in the memory of the magnetic sensors 10 and 50, it is possible to store data on the temperature-dependent characteristics of each magnetic sensor. Therefore, the capacity of the memory can be reduced as compared with the case where only a plurality of sets of data consisting of the element temperature and the magnetic sensor output are stored in the memory. Further, since the “ratio” (inclinations Mx, My) does not change, the memory can be made an inexpensive write-once type. As a result, the cost of the magnetic sensor can be reduced.

なお、本発明は上記実施形態に限定されることはなく、本発明の範囲内において種々の変形例を採用することができる。例えば、磁気センサ10,50の磁気抵抗効果素子には、GMR素子に代えてTMR素子を採用することもできる。また、磁気センサ10,50が搭載される電子機器は携帯電話機に限らず、モバイルコンピュータ、携帯型ナビゲーションシステム、或いは、PDA(個人用情報機器「Personal Digital Assistants」)等であってもよい。   In addition, this invention is not limited to the said embodiment, A various modification can be employ | adopted within the scope of the present invention. For example, a TMR element can be employed as the magnetoresistive effect element of the magnetic sensors 10 and 50 instead of the GMR element. The electronic device on which the magnetic sensors 10 and 50 are mounted is not limited to a mobile phone, but may be a mobile computer, a portable navigation system, or a PDA (personal information device “Personal Digital Assistants”).

また、上記各実施形態においては、加熱用コイル21〜24,70に通電を行う前にGMR素子18の第1温度T1、X軸磁気センサ第1出力値X1、及びY軸磁気センサの出力値Y1を取得し、加熱用コイル21〜24,70に通電を行った後にGMR素子18の第2温度T2、X軸磁気センサ第2出力値X2、及びY軸磁気センサ第2出力値Y2を取得して、傾きMx,Myを求めていたが、加熱用コイル21〜24,70に通電を行った後にGMR素子18の第1温度T1、X軸磁気センサ第1出力値X1、及びY軸磁気センサの出力値Y1を取得し、その後、通電を停止してから所定時間が経過した時点で同GMR素子18の第2温度T2、X軸磁気センサ第2出力値X2、及びY軸磁気センサ第2出力値Y2を取得して、傾きMx,Myを求めてもよい。   In each of the above embodiments, before energizing the heating coils 21 to 24 and 70, the first temperature T1, the X-axis magnetic sensor first output value X1, and the output value of the Y-axis magnetic sensor of the GMR element 18. After obtaining Y1 and energizing the heating coils 21 to 24, 70, the second temperature T2, the X-axis magnetic sensor second output value X2, and the Y-axis magnetic sensor second output value Y2 of the GMR element 18 are obtained. Thus, the gradients Mx and My are obtained. However, after the heating coils 21 to 24 and 70 are energized, the first temperature T1, the X-axis magnetic sensor first output value X1, and the Y-axis magnetic field of the GMR element 18 are obtained. After the sensor output value Y1 is acquired and then the energization is stopped, the second temperature T2, the X-axis magnetic sensor second output value X2, and the Y-axis magnetic sensor No. 2 The output value Y2 is acquired and the slope Mx My may be obtained.

さらに、図17に示したように、第2実施形態の加熱用コイル70に代え、同加熱用コイル70の中央部を除去したパターンを有する加熱用コイル80を採用してもよい。この加熱用コイル80によれば、同加熱用コイル80への通電により磁気抵抗効果素子11〜18を互いに略等しい温度に加熱できる一方で、磁気センサ50(基板50a)の中央部を過度に加熱することがないので、GMR素子11〜18をより効率的に加熱することができる。   Furthermore, as shown in FIG. 17, instead of the heating coil 70 of the second embodiment, a heating coil 80 having a pattern in which the central portion of the heating coil 70 is removed may be employed. According to the heating coil 80, the magnetoresistive elements 11 to 18 can be heated to substantially the same temperature by energizing the heating coil 80, while excessively heating the central portion of the magnetic sensor 50 (substrate 50a). Therefore, the GMR elements 11 to 18 can be heated more efficiently.

また、加熱用コイル、初期化用コイル、及び検査用コイルを、各GMR素子群の直下に積層するように独立して設けてもよい。この場合、例えば図18に示したように、基板上にINS1層と4つの配線層S1〜S4とを順に積層し、加熱用コイル101、初期化用コイル102、及び検査用コイル103を、層S4、層S3、及び層S1に設けるようにしてもよい。また、ブリッヂ配線は複数の層に及んでいても(またがっていても)よい。   Further, the heating coil, the initialization coil, and the inspection coil may be provided independently so as to be laminated immediately below each GMR element group. In this case, for example, as shown in FIG. 18, the INS1 layer and the four wiring layers S1 to S4 are sequentially laminated on the substrate, and the heating coil 101, the initialization coil 102, and the inspection coil 103 are layered. You may make it provide in S4, layer S3, and layer S1. Further, the bridge wiring may extend over a plurality of layers.

更に、本発明は、X軸磁気センサ及びY軸磁気センサの2軸方向検出型磁気センサのみならず、X軸磁気センサ、Y軸磁気センサ、及びZ軸磁気センサを備えた3軸方向検出型磁気センサ、或いは、1軸方向検出型磁気センサに適用することもできる。   Furthermore, the present invention is not only a two-axis direction detection type magnetic sensor of an X-axis magnetic sensor and a Y-axis magnetic sensor, but also a three-axis direction detection type including an X-axis magnetic sensor, a Y-axis magnetic sensor, and a Z-axis magnetic sensor. It can also be applied to a magnetic sensor or a uniaxial direction detection type magnetic sensor.

図1は、本発明の第1実施形態に係る磁気センサの概略平面図である。FIG. 1 is a schematic plan view of a magnetic sensor according to the first embodiment of the present invention. 図2は、図1に示した磁気センサの電気結線状態を示した同磁気センサの部分概略平面図である。FIG. 2 is a partial schematic plan view of the magnetic sensor showing the electrical connection state of the magnetic sensor shown in FIG. 図3は、図1に示した磁気センサを構成する各層の面と直交する所定の面で同磁気センサを切断した部分概略断面図である。3 is a partial schematic cross-sectional view of the magnetic sensor cut along a predetermined plane orthogonal to the plane of each layer constituting the magnetic sensor shown in FIG. 図4は、図1に示したGMR素子の外部磁界に対する抵抗値の変化を示したグラフである。FIG. 4 is a graph showing a change in resistance value of the GMR element shown in FIG. 1 with respect to an external magnetic field. 図5は、第1実施形態の変形例に係る磁気センサの概略平面図である。FIG. 5 is a schematic plan view of a magnetic sensor according to a modification of the first embodiment. 図6は、図1に示した磁気センサの部分拡大平面図である。FIG. 6 is a partially enlarged plan view of the magnetic sensor shown in FIG. 図7は、図1に示した磁気センサを構成するX軸磁気センサの等価回路図である。FIG. 7 is an equivalent circuit diagram of the X-axis magnetic sensor constituting the magnetic sensor shown in FIG. 図8は、図1に示した磁気センサを構成するX軸磁気センサの外部磁界に対する出力電圧(出力信号)の変化を示したグラフである。FIG. 8 is a graph showing a change in output voltage (output signal) with respect to an external magnetic field of the X-axis magnetic sensor constituting the magnetic sensor shown in FIG. 図9は、図1に示した磁気センサが搭載される携帯電話機の正面図である。FIG. 9 is a front view of a mobile phone on which the magnetic sensor shown in FIG. 1 is mounted. 図10は、図1に示した磁気センサを構成するX軸磁気センサの温度依存特性を示すグラフである。FIG. 10 is a graph showing temperature dependence characteristics of the X-axis magnetic sensor constituting the magnetic sensor shown in FIG. 図11は、図1に示した磁気センサを構成するY軸磁気センサの温度依存特性を示すグラフである。FIG. 11 is a graph showing temperature dependence characteristics of the Y-axis magnetic sensor constituting the magnetic sensor shown in FIG. 図12は、図1に示した磁気センサの加熱用コイルに通電した場合の等温線を示した同磁気センサの概略平面図である。FIG. 12 is a schematic plan view of the magnetic sensor showing the isotherm when the heating coil of the magnetic sensor shown in FIG. 1 is energized. 図13は、図1に示した磁気センサの加熱用コイルへ通電を行った後の時間経過とGMR素子の温度変化の関係を示したグラフである。FIG. 13 is a graph showing the relationship between the passage of time after energizing the heating coil of the magnetic sensor shown in FIG. 1 and the temperature change of the GMR element. 図14は、本発明の第2実施形態に係る磁気センサの概略平面図である。FIG. 14 is a schematic plan view of a magnetic sensor according to the second embodiment of the present invention. 図15は、図14の1−1線に沿った平面で磁気センサを切断した部分断面図である。15 is a partial cross-sectional view of the magnetic sensor cut along a plane along line 1-1 in FIG. 図16は、図14に示した磁気センサの加熱用コイルに通電した場合の等温線を示した同磁気センサの概略平面図である。FIG. 16 is a schematic plan view of the magnetic sensor showing an isotherm when the heating coil of the magnetic sensor shown in FIG. 14 is energized. 図17は、本発明の第2実施形態の変形例に係る磁気センサの加熱用コイルに通電した場合の等温線を示した同磁気センサの概略平面図である。FIG. 17 is a schematic plan view of the magnetic sensor showing the isotherm when the heating coil of the magnetic sensor according to the modification of the second embodiment of the present invention is energized. 図18は、本発明による磁気センサの他の変形例の概略断面図である。FIG. 18 is a schematic sectional view of another modification of the magnetic sensor according to the present invention.

符号の説明Explanation of symbols

10,50…磁気センサ、10a…基板、10a1…素子分離領域、10a2…素子活性化領域、11〜18…磁気抵抗効果素子(GMR素子)、19…ブリッジ配線部、21〜24…加熱用コイル、31…制御回路部、32…温度検出部、33a〜33d…検査用コイル、40…携帯電話機、61〜64…初期化用コイル。   DESCRIPTION OF SYMBOLS 10,50 ... Magnetic sensor, 10a ... Substrate, 10a1 ... Element isolation region, 10a2 ... Element activation region, 11-18 ... Magnetoresistive effect element (GMR element), 19 ... Bridge wiring part, 21-24 ... Coil for heating , 31 ... control circuit section, 32 ... temperature detection section, 33a to 33d ... inspection coil, 40 ... mobile phone, 61 to 64 ... initialization coil.

Claims (13)

基板に対して積層された層の上面に形成された複数の磁気抵抗効果素子と、通電により発熱する複数の発熱体とを備え、前記複数の磁気抵抗効果素子の抵抗値に基づいて同磁気抵抗効果素子に加わる外部磁界に応じた出力値を生成する磁気センサであって、
前記複数の発熱体は、同発熱体の各々が互いに略等しい発熱量で発熱したとき、前記複数の磁気抵抗効果素子の温度が互いに略等しくなるとともに、同複数の磁気抵抗効果素子が形成された前記層の上面の温度が不均一となるように配置構成されたことを特徴とする磁気センサ。
A plurality of magnetoresistive elements formed on an upper surface of a layer laminated on the substrate; and a plurality of heating elements that generate heat when energized, and the magnetoresistive elements based on the resistance values of the plurality of magnetoresistive elements A magnetic sensor that generates an output value corresponding to an external magnetic field applied to an effect element,
When the plurality of heating elements generate heat with substantially the same amount of heat, the temperatures of the plurality of magnetoresistive elements are substantially equal to each other, and the plurality of magnetoresistive elements are formed. A magnetic sensor, characterized in that the temperature of the upper surface of the layer is non-uniform.
請求項1に記載の磁気センサにおいて、
前記複数の磁気抵抗効果素子は、磁界検出方向が同一である複数の素子同士が前記層の上面において近接配置されてなる島状の素子群を複数個構成し、
前記発熱体は、前記複数の素子群の各々の上方又は下方に一つずつ形成されてなる磁気センサ。
The magnetic sensor according to claim 1,
The plurality of magnetoresistive elements constitute a plurality of island-shaped element groups in which a plurality of elements having the same magnetic field detection direction are arranged close to each other on the upper surface of the layer,
The heating element is a magnetic sensor formed one by one above or below each of the plurality of element groups.
請求項2に記載の磁気センサにおいて、
前記発熱体は、前記通電により、各発熱体の上方又は下方に形成された各磁気抵抗効果素子の磁界検出方向と略同一の方向又は同磁界検出方向と略直交する方向の磁界を同各磁気抵抗効果素子に加えることが可能なコイルにより形成されてなる磁気センサ。
The magnetic sensor according to claim 2,
The heating element generates a magnetic field in a direction substantially the same as or substantially perpendicular to the magnetic field detection direction of each magnetoresistive element formed above or below each heating element by the energization. A magnetic sensor formed by a coil that can be applied to a resistance effect element.
基板に対して積層された層の上面に形成された複数の磁気抵抗効果素子と、通電により発熱する一つの発熱体とを備え、前記複数の磁気抵抗効果素子の抵抗値に基づいて同磁気抵抗効果素子に加わる外部磁界に応じた出力値を生成する磁気センサであって、
前記発熱体は、前記複数の磁気抵抗効果素子の温度が互いに略等しくなるとともに、同複数の磁気抵抗効果素子が形成された前記層の上面の温度が不均一となるように配置構成されたことを特徴とする磁気センサ。
A plurality of magnetoresistive elements formed on an upper surface of a layer stacked on the substrate; and a single heating element that generates heat when energized, and the magnetoresistive elements based on the resistance values of the plurality of magnetoresistive elements A magnetic sensor that generates an output value corresponding to an external magnetic field applied to an effect element,
The heating element is arranged and configured so that the temperatures of the plurality of magnetoresistive effect elements are substantially equal to each other, and the temperature of the upper surface of the layer on which the plurality of magnetoresistive effect elements are formed is not uniform. Magnetic sensor characterized by.
請求項4に記載の磁気センサにおいて、
前記発熱体及び前記複数の磁気抵抗効果素子は、同発熱体から同複数の磁気抵抗効果素子のうちの任意の一つの素子へ伝達される熱量が、同発熱体から同複数の磁気抵抗効果素子のうちの他の一つの素子へ伝達される熱量と略同一となるように構成されてなる磁気センサ。
The magnetic sensor according to claim 4.
In the heating element and the plurality of magnetoresistive elements, the amount of heat transferred from the heating element to any one of the plurality of magnetoresistive elements is the same as the plurality of magnetoresistive elements. A magnetic sensor configured to be substantially the same as the amount of heat transferred to one of the other elements.
請求項4又は請求項5に記載の磁気センサにおいて、
前記発熱体及び前記複数の磁気抵抗効果素子は、同発熱体と同複数の磁気抵抗効果素子のうちの任意の一つの素子との相対位置関係が、同発熱体と同複数の磁気抵抗効果素子のうちの他の一つの素子との相対位置関係と略同一となるように配設されてなる磁気センサ。
The magnetic sensor according to claim 4 or 5,
The heat generating element and the plurality of magnetoresistive effect elements have a relative positional relationship between the heat generating element and any one of the plurality of magnetoresistive effect elements. A magnetic sensor disposed so as to be substantially the same as the relative positional relationship with the other one of the elements.
請求項1乃至請求項6の何れか一に記載の磁気センサであって、
前記複数の磁気抵抗効果素子は、前記基板に積層された層の上面の互いに離間した4箇所に島状に配設されるとともに、互いに隣接する島の略中心部同士を直線で結んでなる四角形の重心を中心として同層の上面に平行な面内で90°だけ回転されたとき、任意の一つの島が同90°の回転の前に同回転の方向において隣接していた他の島の位置に実質的に一致するように形成されてなる磁気センサ。
A magnetic sensor according to any one of claims 1 to 6,
The plurality of magnetoresistive elements are arranged in four islands on the top surface of the layer stacked on the substrate in an island shape, and a quadrangle formed by connecting substantially central portions of adjacent islands with straight lines. When rotated by 90 ° in a plane parallel to the top surface of the same layer centered on the center of gravity of any of the other islands that were adjacent in the direction of rotation before the 90 ° rotation A magnetic sensor formed so as to substantially coincide with a position.
請求項1乃至請求項7の何れか一に記載の磁気センサであって、
前記複数の磁気抵抗効果素子の温度が互いに略等しくなるとともに、同複数の磁気抵抗効果素子が形成された前記層の上面の温度が不均一となったとき、前記複数の磁気抵抗効果素子の少なくとも何れか一つの素子の温度と一定の相関を有する温度を検出温度として出力する温度検出部を備えてなる磁気センサ。
A magnetic sensor according to any one of claims 1 to 7,
When the temperatures of the plurality of magnetoresistive effect elements are substantially equal to each other and the temperature of the upper surface of the layer on which the plurality of magnetoresistive effect elements are formed becomes non-uniform, at least of the plurality of magnetoresistive effect elements A magnetic sensor comprising a temperature detection unit that outputs a temperature having a certain correlation with the temperature of any one element as a detection temperature.
請求項8に記載の磁気センサであって、
前記複数の磁気抵抗効果素子は、前記外部磁界に応じた出力値を生成するように同素子のうち磁界検出方向が同一である素子同士がブリッジ回路を構成するように接続され、
更に、
メモリと、
前記温度検出部の検出温度に基づいて決定される前記磁気抵抗効果素子の第1温度及び同第1温度における前記磁気センサの出力値である第1出力値からなるデータと、同温度検出部の検出温度に基づいて決定される同第1温度とは異なる同磁気抵抗効果素子の第2温度及び同第2温度における同磁気センサの出力値である第2出力値からなるデータと、に基づいて決定される値であって、同第1温度と同第2温度の差に対する同第1出力値と同第2出力値との差の比に応じた値を前記メモリに書き込む温度依存特性書込み手段と、
を備えることを特徴とする磁気センサ。
The magnetic sensor according to claim 8,
The plurality of magnetoresistive effect elements are connected so that elements having the same magnetic field detection direction among the elements form a bridge circuit so as to generate an output value according to the external magnetic field,
Furthermore,
Memory,
The first temperature of the magnetoresistive effect element determined based on the temperature detected by the temperature detector and the first output value that is the output value of the magnetic sensor at the first temperature, and the temperature of the temperature detector Based on the second temperature of the magnetoresistive element different from the first temperature determined based on the detected temperature, and data composed of the second output value that is the output value of the magnetic sensor at the second temperature. Temperature-dependent characteristic writing means for writing to the memory a value that is determined and that corresponds to the ratio of the difference between the first output value and the second output value with respect to the difference between the first temperature and the second temperature When,
A magnetic sensor comprising:
外部磁界に応じて抵抗値が変化する磁気抵抗効果素子、第1メモリ、前記磁気抵抗効果素子の温度と一定の相関を有する温度を検出温度として出力する温度検出部、及び通電により発熱する発熱体とを含んでなり、同磁気抵抗効果素子の抵抗値に基づいて前記外部磁界に応じた出力値を生成する磁気センサと、永久磁石部品と、ケースと、第2メモリとを備え、前記ケース内に前記磁気センサ、前記永久磁石部品、及び前記第2メモリを収容した電子機器に適用される同磁気センサの温度依存特性補償方法であって、
前記磁気センサを前記ケース内に収容する前に、前記温度検出部の検出温度に基づいて前記磁気抵抗効果素子の温度を第1温度として取得するとともに、同第1温度における前記磁気センサの出力値を第1出力値として取得し、前記発熱体の通電状態を変化した後に前記温度検出部の検出温度に基づいて前記磁気抵抗効果素子の温度を第2温度として取得するとともに、同第2温度における同磁気センサの出力値を第2出力値として取得し、
前記第1温度と前記第2温度の温度差に対する前記第1出力値と前記第2出力値の差の比に応じた値を前記第1メモリに格納し、
前記磁気センサを前記ケース内に前記永久磁石部品とともに収容した後に同磁気センサの出力値のオフセット値及び前記温度検出部の検出温度を前記第2メモリに基準データとして格納し、
その後、前記第1メモリ内に格納されている比に応じた値と、前記第2メモリ内に格納されている基準データと、前記温度検出部の検出温度とに基づいて、前記磁気センサの出力値を補正する磁気センサの温度依存特性補償方法。
A magnetoresistive effect element whose resistance value changes according to an external magnetic field, a first memory, a temperature detection unit that outputs a temperature having a certain correlation with the temperature of the magnetoresistive effect element as a detection temperature, and a heating element that generates heat when energized A magnetic sensor that generates an output value corresponding to the external magnetic field based on a resistance value of the magnetoresistive element, a permanent magnet component, a case, and a second memory, A temperature-dependent characteristic compensation method for the magnetic sensor applied to an electronic device that houses the magnetic sensor, the permanent magnet component, and the second memory,
Before accommodating the magnetic sensor in the case, the temperature of the magnetoresistive element is acquired as a first temperature based on the temperature detected by the temperature detector, and the output value of the magnetic sensor at the first temperature. Is obtained as the first output value, and after changing the energization state of the heating element, the temperature of the magnetoresistive element is obtained as the second temperature based on the detected temperature of the temperature detecting unit, and at the second temperature Obtain the output value of the magnetic sensor as the second output value,
A value corresponding to a ratio of a difference between the first output value and the second output value with respect to a temperature difference between the first temperature and the second temperature is stored in the first memory;
After storing the magnetic sensor together with the permanent magnet parts in the case, the offset value of the output value of the magnetic sensor and the detected temperature of the temperature detection unit are stored as reference data in the second memory,
Thereafter, based on the value corresponding to the ratio stored in the first memory, the reference data stored in the second memory, and the temperature detected by the temperature detection unit, the output of the magnetic sensor Method for compensating temperature dependent characteristics of magnetic sensor for correcting value.
単一の基板、複数の磁気抵抗効果素子、前記複数の磁気抵抗効果素子を接続する配線部、及び前記複数の磁気抵抗効果素子の抵抗値に基く物理量を前記配線部を介して取得するとともに同物理量を処理することにより外部に出力する出力信号を生成する制御回路部を含んでなる磁気センサであって、
前記基板上に積層された複数の層を含み、前記磁気抵抗効果素子は前記複数の層の一つの層の上面に形成され、前記配線部及び前記制御回路部は前記基板及び前記複数の層内に形成され、前記磁気抵抗効果素子と前記配線部と前記制御回路部とは前記複数の層内にて同層の層面に交差する方向に伸びる導電性物質からなる接続部により互いに接続された磁気センサ。
A physical quantity based on a single substrate, a plurality of magnetoresistive effect elements, a wiring part connecting the plurality of magnetoresistive effect elements, and a resistance value of the plurality of magnetoresistive effect elements is acquired via the wiring part and the same. A magnetic sensor including a control circuit unit that generates an output signal to be output to the outside by processing a physical quantity,
A plurality of layers stacked on the substrate, wherein the magnetoresistive effect element is formed on an upper surface of one of the plurality of layers, and the wiring portion and the control circuit portion are included in the substrate and the plurality of layers. The magnetoresistive effect element, the wiring part, and the control circuit part are connected to each other by a connection part made of a conductive material extending in a direction intersecting the layer surface of the same layer in the plurality of layers. Sensor.
基板、前記基板の上部に配設される複数の磁気抵抗効果素子、前記基板の上部に配設されるとともに前記複数の磁気抵抗効果素子を接続する配線部、及び前記基板の上部に配設されるとともに前記複数の磁気抵抗効果素子の抵抗値に基く物理量を前記配線部を介して取得し同物理量を処理することにより外部に出力する出力信号を生成する制御回路部を含んでなる磁気センサにおいて、
前記複数の磁気抵抗効果素子は平面視で前記基板の周辺部に配置され、
前記配線部は平面視で実質的に閉曲線を形成するように配置され、
前記制御回路部は平面視で前記閉曲線の内側に実質的に配置された磁気センサ。
A substrate, a plurality of magnetoresistive elements disposed above the substrate, a wiring section disposed above the substrate and connecting the plurality of magnetoresistive elements, and disposed above the substrate And a control circuit unit that generates a physical quantity based on resistance values of the plurality of magnetoresistive elements through the wiring unit and generates an output signal to be output to the outside by processing the physical quantity. ,
The plurality of magnetoresistive elements are arranged in the periphery of the substrate in plan view,
The wiring portion is arranged so as to form a substantially closed curve in a plan view,
The control circuit unit is a magnetic sensor disposed substantially inside the closed curve in a plan view.
単一の基板、及びピンド層の磁化の向きが互いに同一である一対の磁気抵抗効果素子からなる素子群を複数個含んでなる磁気センサにおいて、
前記複数の素子群の各々は、前記ピンド層の磁化の向きが平面視で前記基板の重心からの距離が大きくなる方向と実質的に平行となるように、且つ、前記一対の磁気抵抗効果素子が同方向において隣接するように、同基板の上部に配設された磁気センサ。
In a magnetic sensor comprising a plurality of element groups each consisting of a single substrate and a pair of magnetoresistive elements having the same magnetization direction of the pinned layer,
Each of the plurality of element groups includes the pair of magnetoresistive effect elements so that the magnetization direction of the pinned layer is substantially parallel to a direction in which the distance from the center of gravity of the substrate increases in a plan view. Is a magnetic sensor disposed on the top of the substrate so that the two are adjacent in the same direction.
JP2008224869A 2008-09-02 2008-09-02 Magnetic sensor Expired - Fee Related JP5045617B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008224869A JP5045617B2 (en) 2008-09-02 2008-09-02 Magnetic sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008224869A JP5045617B2 (en) 2008-09-02 2008-09-02 Magnetic sensor

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2004556766A Division JP4333582B2 (en) 2002-11-29 2002-11-29 Magnetic sensor and temperature dependent characteristic compensation method for magnetic sensor

Publications (2)

Publication Number Publication Date
JP2009020117A true JP2009020117A (en) 2009-01-29
JP5045617B2 JP5045617B2 (en) 2012-10-10

Family

ID=40359846

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008224869A Expired - Fee Related JP5045617B2 (en) 2008-09-02 2008-09-02 Magnetic sensor

Country Status (1)

Country Link
JP (1) JP5045617B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013545085A (en) * 2010-10-12 2013-12-19 アレグロ・マイクロシステムズ・エルエルシー Magnetic field sensor and method used to adjust sensitivity and / or offset to temperature changes in the magnetic field sensor
JP2015225023A (en) * 2014-05-29 2015-12-14 日本電産サンキョー株式会社 Encoder
US9395391B2 (en) 2013-03-15 2016-07-19 Allegro Microsystems, Llc Magnetic field sensor and associated method that can store a measured threshold value in a memory device during a time when the magnetic field sensor is powered off
US9644999B2 (en) 2012-01-06 2017-05-09 Allegro Microsystems, Llc Magnetic field sensor and associated method that can establish a measured threshold value and that can store the measured threshold value in a memory device
US20180006214A1 (en) * 2015-02-12 2018-01-04 Asahi Kasei Microdevices Corporation Sensor device and method for manufacturing same
US10845434B2 (en) 2012-01-06 2020-11-24 Allegro Microsystems, Llc Magnetic field sensor having a temperature compensated threshold on power up

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8804090B2 (en) 2010-12-02 2014-08-12 Lawrence E. Tannas, Jr. Methods for creating a minimally visible seal along the edge of a flat panel display
US11953567B2 (en) 2020-09-08 2024-04-09 Analog Devices International Unlimited Company Magnetic multi-turn sensor and method of manufacture

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59159565A (en) * 1983-03-02 1984-09-10 Sankyo Seiki Mfg Co Ltd Magnetic detector
JP2002093903A (en) * 2000-07-12 2002-03-29 Matsushita Electric Ind Co Ltd Semiconductor device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59159565A (en) * 1983-03-02 1984-09-10 Sankyo Seiki Mfg Co Ltd Magnetic detector
JP2002093903A (en) * 2000-07-12 2002-03-29 Matsushita Electric Ind Co Ltd Semiconductor device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013545085A (en) * 2010-10-12 2013-12-19 アレグロ・マイクロシステムズ・エルエルシー Magnetic field sensor and method used to adjust sensitivity and / or offset to temperature changes in the magnetic field sensor
US9644999B2 (en) 2012-01-06 2017-05-09 Allegro Microsystems, Llc Magnetic field sensor and associated method that can establish a measured threshold value and that can store the measured threshold value in a memory device
US10066965B2 (en) 2012-01-06 2018-09-04 Allegro Microsystems, Llc Magnetic field sensor and associated method that can establish a measured threshold value and that can store the measured threshold value in a memory device
US10845434B2 (en) 2012-01-06 2020-11-24 Allegro Microsystems, Llc Magnetic field sensor having a temperature compensated threshold on power up
US9395391B2 (en) 2013-03-15 2016-07-19 Allegro Microsystems, Llc Magnetic field sensor and associated method that can store a measured threshold value in a memory device during a time when the magnetic field sensor is powered off
US11009565B2 (en) 2013-03-15 2021-05-18 Allegro Microsystems, Llc Magnetic field sensor and associated method that can store a measured threshold value in a memory device during a time when the magnetic field sensor is powered off
JP2015225023A (en) * 2014-05-29 2015-12-14 日本電産サンキョー株式会社 Encoder
US20180006214A1 (en) * 2015-02-12 2018-01-04 Asahi Kasei Microdevices Corporation Sensor device and method for manufacturing same

Also Published As

Publication number Publication date
JP5045617B2 (en) 2012-10-10

Similar Documents

Publication Publication Date Title
JP4333582B2 (en) Magnetic sensor and temperature dependent characteristic compensation method for magnetic sensor
JP5045617B2 (en) Magnetic sensor
JP4626728B2 (en) Magnetic detector
US20100033175A1 (en) Magneto-resistive sensor
US8786278B2 (en) Three-dimensional magnetic field sensor and method of producing same
US20110234218A1 (en) Integrated multi-axis hybrid magnetic field sensor
JP2011047928A (en) Magnetic sensor
JP2016502098A (en) Magnetic sensing device and magnetic induction method thereof
TW201015097A (en) Device for measuring the direction and/or strength of a magnetic field
CN101308199B (en) Magnetic sensor and method for compensating magnetic sensor temperature correlated characteristic
JP2016517952A (en) Magnetic sensing device, magnetic induction method and manufacturing process thereof
KR100698414B1 (en) Magnetic sensor and temperature dependency characteristic compensation method for the same
JP5867465B2 (en) Magnetic sensor
CA2617385C (en) Magnetic sensor, and method of compensating temperature-dependent characteristic of magnetic sensor
CN111044951A (en) Three-axis magnetic field sensor and manufacturing method thereof
US20230184865A1 (en) Hybrid hall-effect/magnetoresistance (mr) magnetometer with self-calibration
AU2007202490A1 (en) Magnetic sensor and temperature dependency characteristic compensation method for the same
JP2016075620A (en) Physical quantity sensor
JP2009109378A (en) Electronic equipment

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111026

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111226

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120110

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120702

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

Free format text: PAYMENT UNTIL: 20150727

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5045617

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees