JP2017003312A - Detection device, magnet sensor, detection method, and program - Google Patents

Detection device, magnet sensor, detection method, and program Download PDF

Info

Publication number
JP2017003312A
JP2017003312A JP2015114925A JP2015114925A JP2017003312A JP 2017003312 A JP2017003312 A JP 2017003312A JP 2015114925 A JP2015114925 A JP 2015114925A JP 2015114925 A JP2015114925 A JP 2015114925A JP 2017003312 A JP2017003312 A JP 2017003312A
Authority
JP
Japan
Prior art keywords
sensor
signal
magnetic
error
axis
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
JP2015114925A
Other languages
Japanese (ja)
Other versions
JP6530245B2 (en
Inventor
片岡 誠
Makoto Kataoka
誠 片岡
準也 田島
Junya Tajima
準也 田島
暢明 森本
Nobuaki Morimoto
暢明 森本
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.)
Asahi Kasei Electronics Co Ltd
Original Assignee
Asahi Kasei Electronics Co Ltd
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 Asahi Kasei Electronics Co Ltd filed Critical Asahi Kasei Electronics Co Ltd
Priority to JP2015114925A priority Critical patent/JP6530245B2/en
Publication of JP2017003312A publication Critical patent/JP2017003312A/en
Application granted granted Critical
Publication of JP6530245B2 publication Critical patent/JP6530245B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To easily output a correction parameter correcting an other axis sensitivity setting error of a rotation angle sensor, and mounting error thereof.SOLUTION: A detection device detects an error of a magnetic sensor having a first sensor pair and a second sensor pair, and provided are the detection device, detection method and program that comprise: an acquisition unit that acquires an output signal of the magnetic sensor; a first signal calculation unit that calculates a difference signal of the first sensor pair and a sum signal thereof; a second signal calculation unit that outputs a difference signal between output signals of the second sensor pair and a sum signal thereof; and an error detection unit that outputs an error parameter of the magnetic sensor on the basis of calculation results of the first signal calculation unit and second signal calculation unit.SELECTED DRAWING: Figure 4

Description

本発明は、検出装置、磁気センサ、検出方法、およびプログラムに関する。   The present invention relates to a detection device, a magnetic sensor, a detection method, and a program.

従来、磁気式の非接触回転角センサは、回転体に取り付けられた磁石が発生させる回転磁場を検出することで、当該回転体の回転角度を算出していた(例えば、特許文献1および2参照)。このような非接触回転角センサとして、2次元および3次元回転角センサが知られており、3次元回転角センサは、3次元空間において回転体の磁石が作る磁場ベクトルの方向を、XYZ直交座標系のXY面、YZ面、およびZX面に分けて検出し、回転角度を算出していた。
特許文献1 米国特許出願公開第2002/0021124号明細書
特許文献2 特開2012−181188号公報
非特許文献1 R.S. Popovic著、「Hall Effect Devices」、Inst of Physics Pub Inc、1991年5月
Conventionally, a magnetic non-contact rotation angle sensor calculates a rotation angle of a rotating body by detecting a rotating magnetic field generated by a magnet attached to the rotating body (see, for example, Patent Documents 1 and 2). ). Two-dimensional and three-dimensional rotation angle sensors are known as such non-contact rotation angle sensors, and the three-dimensional rotation angle sensor indicates the direction of a magnetic field vector formed by a magnet of a rotating body in a three-dimensional space with XYZ orthogonal coordinates. The rotation angle was calculated by separately detecting the XY plane, YZ plane, and ZX plane of the system.
Patent Document 1 US Patent Application Publication No. 2002/0021124 Patent Document 2 JP 2012-181188 Non-Patent Document 1 RS Popovic, “Hall Effect Devices”, Inst of Physics Pub Inc, May 1991

このような回転角センサは、製造段階で発生する誤差等を低減させて回転角の検出精度を向上させることが望ましい。例えば、製品出荷時の製品試験等において、精度良く回転角センサの誤差を検出し、製品毎に補正パラメータを算出することが望ましい。また、回転角センサの誤差を検出する場合に、複数の誤差が重畳していることがあり、このような場合、それぞれの誤差を分離して検出することが望ましい。   In such a rotation angle sensor, it is desirable to improve the detection accuracy of the rotation angle by reducing errors generated in the manufacturing stage. For example, it is desirable to accurately detect an error of the rotation angle sensor and calculate a correction parameter for each product in a product test at the time of product shipment. In addition, when detecting an error of the rotation angle sensor, a plurality of errors may be superimposed. In such a case, it is desirable to detect each error separately.

本発明の第1の態様においては、第1センサ対および第2センサ対を有する磁気センサの誤差を検出する検出装置であって、磁気センサの出力信号を取得する取得部と、第1センサ対の出力信号の差分信号および和信号を算出する第1信号算出部と、第2センサ対の出力信号の差分信号および和信号を算出する第2信号算出部と、第1信号算出部および第2信号算出部の算出結果に基づき、磁気センサの誤差パラメータを出力する誤差出力部と、を備える検出装置、検出方法、およびプログラムを提供する。   According to a first aspect of the present invention, there is provided a detection device for detecting an error of a magnetic sensor having a first sensor pair and a second sensor pair, an acquisition unit for acquiring an output signal of the magnetic sensor, and the first sensor pair. A first signal calculation unit that calculates a difference signal and a sum signal of the output signals of the second sensor, a second signal calculation unit that calculates a difference signal and a sum signal of the output signals of the second sensor pair, a first signal calculation unit and a second signal Provided are a detection device, a detection method, and a program including an error output unit that outputs an error parameter of a magnetic sensor based on a calculation result of a signal calculation unit.

本発明の第2の態様においては、第1の態様の検出装置が検出した誤差を補正する誤差パラメータを記憶する記憶部を備え、当該検出装置の検出対象である磁気センサを提供する。   According to a second aspect of the present invention, there is provided a magnetic sensor that includes a storage unit that stores an error parameter for correcting an error detected by the detection device according to the first aspect, and is a detection target of the detection device.

なお、上記の発明の概要は、本発明の必要な特徴の全てを列挙したものではない。また、これらの特徴群のサブコンビネーションもまた、発明となりうる。   It should be noted that the above summary of the invention does not enumerate all the necessary features of the present invention. In addition, a sub-combination of these feature groups can also be an invention.

本実施形態に係る磁気センサ100の構成例を示す。The structural example of the magnetic sensor 100 which concerns on this embodiment is shown. 本実施形態に係る第1センサ対110が第1方向の磁場を検出する場合の一例を示す。An example in case the 1st sensor pair 110 which concerns on this embodiment detects the magnetic field of a 1st direction is shown. 本実施形態に係る第1センサ対110が第3方向の磁場を検出する場合の一例を示す。An example in case the 1st sensor pair 110 which concerns on this embodiment detects the magnetic field of a 3rd direction is shown. 本実施形態に係る検出装置200の構成例を示す。The structural example of the detection apparatus 200 which concerns on this embodiment is shown. 本実施形態に係る磁気センサ100と回転磁場を印加する磁場印加部400の構成例を示す。The structural example of the magnetic sensor 100 which concerns on this embodiment, and the magnetic field application part 400 which applies a rotating magnetic field is shown. 本実施形態に係る検出装置200の動作フローの第1例を示す。The 1st example of the operation | movement flow of the detection apparatus 200 which concerns on this embodiment is shown. 本実施形態に係る第1信号算出部220および第2信号算出部230が算出した差分信号の一例を示す。An example of the difference signal which the 1st signal calculation part 220 and the 2nd signal calculation part 230 which concern on this embodiment calculated is shown. 本実施形態に係る磁気センサ100と磁場印加部400に実装誤差が生じた例を示す。An example in which mounting errors have occurred in the magnetic sensor 100 and the magnetic field application unit 400 according to the present embodiment is shown. 本実施形態に係る回転磁石410の回転軸412の位置ずれが、X軸およびY軸間の感度ミスマッチに与える影響の一例を示す。An example of the influence which the position shift of the rotating shaft 412 of the rotating magnet 410 which concerns on this embodiment has on the sensitivity mismatch between X-axis and Y-axis is shown. 本実施形態に係る回転磁石410の回転軸412の位置ずれが、X軸およびZ軸間の他軸感度およびY軸およびZ軸間の他軸感度に与える影響の一例を示す。An example of the influence of the positional deviation of the rotating shaft 412 of the rotating magnet 410 according to this embodiment on the other-axis sensitivity between the X-axis and the Z-axis and the other-axis sensitivity between the Y-axis and the Z-axis will be shown. 本実施形態に係る回転磁石410および磁気センサ100の間に位置ずれが生じた場合の、回転磁石410から磁気センサ100に印加される磁場ベクトルのX成分およびY成分の一例を示す。An example of an X component and a Y component of a magnetic field vector applied from the rotating magnet 410 to the magnetic sensor 100 when a positional deviation occurs between the rotating magnet 410 and the magnetic sensor 100 according to the present embodiment is shown. 本実施形態に係る回転磁石410および磁気センサ100の間に位置ずれが生じた場合の、回転磁石410から磁気センサ100に印加される磁場ベクトルのZ成分の一例を示す。An example of the Z component of the magnetic field vector applied from the rotating magnet 410 to the magnetic sensor 100 when a positional deviation occurs between the rotating magnet 410 and the magnetic sensor 100 according to the present embodiment is shown. 本実施形態に係る検出装置200の動作フローの第2例を示す。The 2nd example of the operation | movement flow of the detection apparatus 200 concerning this embodiment is shown. 本実施形態に係る検出装置200が出力する補正パラメータに基づき、誤差を補正した結果の一例を示す。An example of the result of correcting the error based on the correction parameter output by the detection apparatus 200 according to the present embodiment is shown. 本実施形態に係る検出装置200が算出する実装誤差の第1例を示す。The 1st example of the mounting error which the detection apparatus 200 concerning this embodiment calculates is shown. 本実施形態に係る検出装置200が算出する実装誤差の第2例を示す。The 2nd example of the mounting error which detection device 200 concerning this embodiment computes is shown. 本実施形態に係る検出装置200として機能するコンピュータ1900のハードウェア構成の一例を示す。An example of a hardware configuration of a computer 1900 functioning as the detection apparatus 200 according to the present embodiment is shown.

以下、発明の実施の形態を通じて本発明を説明するが、以下の実施形態は特許請求の範囲にかかる発明を限定するものではない。また、実施形態の中で説明されている特徴の組み合わせの全てが発明の解決手段に必須であるとは限らない。   Hereinafter, the present invention will be described through embodiments of the invention, but the following embodiments do not limit the invention according to the claims. In addition, not all the combinations of features described in the embodiments are essential for the solving means of the invention.

図1は、本実施形態に係る磁気センサ100の構成例を示す。磁気センサ100は、当該磁気センサ100に入力する磁気を検出する。また、磁気センサ100は、当該磁気センサ100に入力する磁気の変動を検出してもよい。磁気センサ100は、例えば、当該磁気センサ100の近傍において回転軸を中心に回転する回転磁石の回転角を非接触で検出する回転角センサとして機能する。磁気センサ100は、基板10と、第1センサ対110と、第2センサ対120と、磁気収束板130と、を備える。   FIG. 1 shows a configuration example of a magnetic sensor 100 according to the present embodiment. The magnetic sensor 100 detects magnetism input to the magnetic sensor 100. Further, the magnetic sensor 100 may detect a change in magnetism input to the magnetic sensor 100. The magnetic sensor 100 functions as, for example, a rotation angle sensor that detects a rotation angle of a rotating magnet that rotates around a rotation axis in the vicinity of the magnetic sensor 100 in a non-contact manner. The magnetic sensor 100 includes a substrate 10, a first sensor pair 110, a second sensor pair 120, and a magnetic convergence plate 130.

基板10は、シリコン等の半導体によって形成され、半導体回路および半導体素子等を含む。基板10は、ICチップであってよく、この場合、外部の基板、回路、および配線等と電気的に接続する端子を備えてよい。図1において、基板10の一方の面(表面)を、X軸およびY軸で示すXY面とし、XY面に略垂直な軸をZ軸とした。即ち、X、Y、Z軸は、互いに直交する座標系の例を示す。   The substrate 10 is formed of a semiconductor such as silicon and includes a semiconductor circuit and a semiconductor element. The substrate 10 may be an IC chip. In this case, the substrate 10 may include terminals that are electrically connected to an external substrate, circuit, wiring, and the like. In FIG. 1, one surface (surface) of the substrate 10 is an XY plane indicated by an X axis and a Y axis, and an axis substantially perpendicular to the XY plane is a Z axis. That is, the X, Y, and Z axes indicate examples of coordinate systems that are orthogonal to each other.

第1センサ対110は、基板10に形成され、当該基板10に形成された回路等と接続される。第1センサ対110は、基板10の表面に形成されてよく、これに代えて、少なくとも一部が基板10に埋め込まれるように形成されてよい。第1センサ対110は、一例として、第1方向に配置される。ここで、本実施形態における第1方向は、図1におけるX軸方向(第1軸)である。第1センサ対110は、第1センサ素子112と第2センサ素子114とを有し、X軸に平行に(例えばX軸上に)当該2つのセンサ素子が配置される。   The first sensor pair 110 is formed on the substrate 10 and connected to a circuit or the like formed on the substrate 10. The first sensor pair 110 may be formed on the surface of the substrate 10. Alternatively, at least a part of the first sensor pair 110 may be embedded in the substrate 10. As an example, the first sensor pair 110 is arranged in the first direction. Here, the first direction in the present embodiment is the X-axis direction (first axis) in FIG. The first sensor pair 110 includes a first sensor element 112 and a second sensor element 114, and the two sensor elements are arranged in parallel to the X axis (for example, on the X axis).

第1センサ素子112および第2センサ素子114は、Z軸方向に入力する磁場を検出する機能を有する。第1センサ素子112および第2センサ素子114は、例えば、X軸方向に電流を流すとZ軸方向に入力する磁場に応じたY軸方向の起電力を発生させる素子である。第1センサ素子112および第2センサ素子114は、ホール効果を発生させるホール素子でよい。第1センサ素子112および第2センサ素子114は、半導体等で形成されてよく、基板10を形成するプロセスにおいて形成されることが望ましい。   The first sensor element 112 and the second sensor element 114 have a function of detecting a magnetic field input in the Z-axis direction. The first sensor element 112 and the second sensor element 114 are, for example, elements that generate an electromotive force in the Y-axis direction corresponding to a magnetic field input in the Z-axis direction when a current is passed in the X-axis direction. The first sensor element 112 and the second sensor element 114 may be Hall elements that generate a Hall effect. The first sensor element 112 and the second sensor element 114 may be formed of a semiconductor or the like, and are preferably formed in the process of forming the substrate 10.

第1センサ素子112および第2センサ素子114は、一例として、基板10上において、Y軸に対して線対称に配置される。これに代えて、第1センサ素子112および第2センサ素子114は、基板10上において、原点に対して点対称に配置されてもよい。本実施例において、第1センサ素子112および第2センサ素子114がY軸に対して線対称に配置される例を説明する。   As an example, the first sensor element 112 and the second sensor element 114 are arranged symmetrically with respect to the Y axis on the substrate 10. Instead, the first sensor element 112 and the second sensor element 114 may be arranged point-symmetrically with respect to the origin on the substrate 10. In this embodiment, an example will be described in which the first sensor element 112 and the second sensor element 114 are arranged symmetrically with respect to the Y axis.

第2センサ対120は、第1センサ対110と同様に、基板10に形成され、当該基板10に形成された回路等と接続される。第2センサ対120は、一例として、第2方向に配置される。ここで、本実施形態における第2方向は、図1におけるY軸方向(第2軸)である。また、第3方向は、図1におけるZ軸方向(第3軸)である。第2センサ対120は、第3センサ素子122と第4センサ素子124とを有し、Y軸に平行に(例えばY軸上に)当該2つのセンサ素子が配置される。このような第1センサ対110および第2センサ対120は、第1センサ対110の配列方向である第1軸、第2センサ対120の配列方向である第2軸、ならびに第1軸および第2軸に垂直な第3軸の各軸方向の磁場を検出してよい。   Similar to the first sensor pair 110, the second sensor pair 120 is formed on the substrate 10 and connected to a circuit or the like formed on the substrate 10. As an example, the second sensor pair 120 is disposed in the second direction. Here, the second direction in the present embodiment is the Y-axis direction (second axis) in FIG. The third direction is the Z-axis direction (third axis) in FIG. The second sensor pair 120 includes a third sensor element 122 and a fourth sensor element 124, and the two sensor elements are arranged in parallel to the Y axis (for example, on the Y axis). The first sensor pair 110 and the second sensor pair 120 include a first axis that is the arrangement direction of the first sensor pair 110, a second axis that is the arrangement direction of the second sensor pair 120, and the first and second axes. A magnetic field in each axial direction of the third axis perpendicular to the two axes may be detected.

第3センサ素子122および第4センサ素子124は、第1センサ対110と同様に、Z軸方向に入力する磁場を検出する機能を有する。第3センサ素子122および第4センサ素子124は、例えば、Y軸方向に電流を流すとZ軸方向に入力する磁場に応じたX軸方向の起電力を生じさせる素子である。第3センサ素子122および第4センサ素子124は、ホール効果を発生させるホール素子でよい。   Similarly to the first sensor pair 110, the third sensor element 122 and the fourth sensor element 124 have a function of detecting a magnetic field input in the Z-axis direction. The third sensor element 122 and the fourth sensor element 124 are, for example, elements that generate an electromotive force in the X-axis direction corresponding to a magnetic field input in the Z-axis direction when a current is passed in the Y-axis direction. The third sensor element 122 and the fourth sensor element 124 may be Hall elements that generate a Hall effect.

第3センサ素子122および第4センサ素子124は、一例として、基板10上において、X軸に対して線対称に配置される。これに代えて、第3センサ素子122および第4センサ素子124は、基板10上において、原点に対して点対称に配置されてもよい。本実施例において、第3センサ素子122および第4センサ素子124がX軸に対して線対称に配置される例を説明する。   As an example, the third sensor element 122 and the fourth sensor element 124 are arranged symmetrically with respect to the X axis on the substrate 10. Instead, the third sensor element 122 and the fourth sensor element 124 may be arranged point-symmetrically with respect to the origin on the substrate 10. In the present embodiment, an example in which the third sensor element 122 and the fourth sensor element 124 are arranged symmetrically with respect to the X axis will be described.

以上の第1センサ対110および第2センサ対120は、オフセット出力をキャンセルすべく、X軸方向の通電およびY軸方向の通電をそれぞれ交互に切り替えられてよい。このようなオフセットのキャンセル方法は、非特許文献1に記載されているように、Spinning Current法として知られている。   The first sensor pair 110 and the second sensor pair 120 described above may be alternately switched between energization in the X-axis direction and energization in the Y-axis direction in order to cancel the offset output. Such an offset cancellation method is known as a Spinning Current method as described in Non-Patent Document 1.

磁気収束板130は、第1センサ対110および第2センサ対120の上方に配置され、磁気センサ100に入力する磁場を曲げる。磁気収束板130は、磁性材料等で形成されてよく、一例として、FeNi合金等を含む軟磁性材料で形成される。また、磁気収束板130は、円柱形上に形成されてよい。磁気収束板130は、例えば、X軸方向および/またはY軸方向の磁場を、Z軸方向の成分が発生するように曲げ、Z軸方向に感度を有する第1センサ対110および第2センサ対120に入力させる。磁気収束板130は、基板10の上面に形成されてよく、これに代えて、基板10の上方に、絶縁層等を介して形成されてもよい。これに代えて、またはこれに加えて、磁気収束板130は、基板10の下面側に形成されてもよい。   The magnetic focusing plate 130 is disposed above the first sensor pair 110 and the second sensor pair 120 and bends the magnetic field input to the magnetic sensor 100. The magnetic flux concentrating plate 130 may be formed of a magnetic material or the like. For example, the magnetic flux concentrating plate 130 is formed of a soft magnetic material including an FeNi alloy or the like. Further, the magnetic flux concentrating plate 130 may be formed in a cylindrical shape. For example, the magnetic flux concentrating plate 130 bends a magnetic field in the X-axis direction and / or the Y-axis direction so that a component in the Z-axis direction is generated, and has a sensitivity in the Z-axis direction. 120 is input. The magnetic flux concentrating plate 130 may be formed on the upper surface of the substrate 10, or alternatively, may be formed above the substrate 10 via an insulating layer or the like. Instead of or in addition to this, the magnetic flux concentrating plate 130 may be formed on the lower surface side of the substrate 10.

以上の第1センサ対110および第2センサ対120は、Z軸方向に入力する磁場に応じた信号を出力する。即ち、第1センサ対110および第2センサ対120からの出力信号は、磁気センサ100の近傍に発生して入力する磁場に応じて出力される。当該出力信号について、図2および図3を用いて説明する。   The first sensor pair 110 and the second sensor pair 120 described above output signals corresponding to the magnetic field input in the Z-axis direction. That is, output signals from the first sensor pair 110 and the second sensor pair 120 are output in accordance with the magnetic field generated and input in the vicinity of the magnetic sensor 100. The output signal will be described with reference to FIGS.

図2は、本実施形態に係る第1センサ対110が第1方向(X軸方向)の磁場を検出する場合の一例を示す。図2において、紙面の横方向をX軸、紙面の垂直方向をY軸、紙面の縦方向をZ軸とする。また、第1センサ対110は、ホール効果を発生させるホール素子を第1センサ素子112および第2センサ素子114として有する例を説明する。   FIG. 2 shows an example when the first sensor pair 110 according to the present embodiment detects a magnetic field in the first direction (X-axis direction). In FIG. 2, the horizontal direction of the paper surface is the X axis, the vertical direction of the paper surface is the Y axis, and the vertical direction of the paper surface is the Z axis. Further, an example will be described in which the first sensor pair 110 includes Hall elements that generate a Hall effect as the first sensor element 112 and the second sensor element 114.

ここで、図2に示すように、磁気センサ100に+X軸方向の磁場ベクトルHin(H,0,0)が入力する例を説明する。磁気収束板130は、一例として、図中の磁束密度ベクトルBのように、入力した磁場を曲げ、第1センサ素子112に+Z軸方向の磁束を発生させて入力させる。同様に、磁気収束板130は、入力した磁場を曲げ、第2センサ素子114に−Z軸方向の磁束を発生させて入力させる。第1センサ素子112および第2センサ素子114に入力する磁束の方向は、磁気収束板130の配置および入力する磁場ベクトルHinの入力方向と位置によってそれぞれ定まる。 Here, as shown in FIG. 2, an example in which a magnetic field vector H in (H X , 0, 0) in the + X-axis direction is input to the magnetic sensor 100 will be described. As an example, the magnetic converging plate 130 bends the input magnetic field as shown by the magnetic flux density vector B in the figure, and causes the first sensor element 112 to generate and input a magnetic flux in the + Z-axis direction. Similarly, the magnetic converging plate 130 bends the input magnetic field and causes the second sensor element 114 to generate and input a magnetic flux in the −Z-axis direction. Direction of the magnetic flux to be input to the first sensor element 112 and the second sensor element 114 is determined respectively by the input direction and the position of the magnetic field vector H in the arrangement and the input of the magnetic flux concentrator 130.

ここで、磁気収束板130、第1センサ素子112、および第2センサ素子114は、第1センサ素子112および第2センサ素子114に入力する磁束のそれぞれの方向が互いに逆向きで、かつ、磁場の絶対値の大きさが略等しくなるようにそれぞれ配置されることが望ましい。そこで、第1センサ素子112および第2センサ素子114に入力するZ方向の磁束密度ベクトルの絶対値が理想的に等しく、当該磁束密度ベクトルの絶対値をμとする。ここで、μは、入力した磁場をセンサ素子が有する感度の方向に変換する係数の一例である。また、第1センサ素子112および第2センサ素子114の磁気感度をS、Sとする。 Here, in the magnetic flux concentrating plate 130, the first sensor element 112, and the second sensor element 114, the directions of the magnetic fluxes input to the first sensor element 112 and the second sensor element 114 are opposite to each other, and the magnetic field It is desirable to arrange them so that the absolute values thereof are substantially equal. Therefore, the absolute value of the magnetic flux density vector in the Z direction input to the first sensor element 112 and the second sensor element 114 is ideally equal, and the absolute value of the magnetic flux density vector is μ 1 B Z. Here, μ 1 is an example of a coefficient for converting the input magnetic field into the direction of sensitivity of the sensor element. The magnetic sensitivities of the first sensor element 112 and the second sensor element 114 are S 1 and S 2 .

この場合、第1センサ素子112および第2センサ素子114が磁束密度ベクトルのZ成分であるμに応じて出力する出力信号VZ1およびVZ2は、それぞれS・μおよびS・(−μ)と示すことができる。即ち、第1センサ素子112が磁束密度ベクトルμに応じて出力する出力信号Vは、次式のように、当該磁束密度ベクトルのZ方向成分Bに応じて出力される出力信号VZ1で示される。
(数1)
=VZ1=S・μ=S・H
In this case, the output signals V Z1 and V Z2 that the first sensor element 112 and the second sensor element 114 output according to μ 1 B Z that is the Z component of the magnetic flux density vector are S 1 · μ 1 B Z and S 2 · (−μ 1 B Z ). That is, the output signal V 1 that the first sensor element 112 outputs according to the magnetic flux density vector μ 1 B Z is an output signal that is output according to the Z direction component B Z of the magnetic flux density vector as shown in the following equation. Indicated by V Z1 .
(Equation 1)
V 1 = V Z1 = S 1 · μ 1 B Z = S 1 · H X

同様に、第2センサ素子114が磁束密度ベクトル−μに応じて出力する出力信号Vは、次式のように、当該磁束密度ベクトルのZ方向成分−μに応じて出力される出力信号VZ2で示される。
(数2)
=VZ2=−S・μ=−S・H
Similarly, the output signal V 2 that the second sensor element 114 outputs in accordance with the magnetic flux density vector −μ 1 B Z corresponds to the Z direction component −μ 1 B Z of the magnetic flux density vector, as shown in the following equation. The output signal is indicated by an output signal VZ2 .
(Equation 2)
V 2 = V Z2 = −S 2 · μ 1 B Z = −S 2 · H X

したがって、磁気センサ100に+X軸方向の磁場ベクトルHin(H,0,0)が入力することにより、第1センサ素子112および第2センサ素子114が検出して出力する出力信号Vは、次式で示される。
(数3)
=V−V=(S+S)・μ=(S+S)・H
Therefore, when the magnetic field vector H in (H X , 0, 0) in the + X-axis direction is input to the magnetic sensor 100, the output signal V X detected and output by the first sensor element 112 and the second sensor element 114 is Is represented by the following equation.
(Equation 3)
V X = V 1 −V 2 = (S 1 + S 2 ) · μ 1 B Z = (S 1 + S 2 ) · H X

以上のように、磁気センサ100は、X方向の入力磁場を磁気収束板130で曲げ、第1センサ素子112および第2センサ素子114にそれぞれ逆向きのZ方向の磁場として供給する。したがって、磁気センサ100は、第1センサ素子112および第2センサ素子114の出力信号の差分を演算することで、当該Z方向の磁場成分を検出して対応するX方向の入力磁場の大きさを取得することができる。   As described above, the magnetic sensor 100 bends the input magnetic field in the X direction with the magnetic converging plate 130 and supplies the magnetic field to the first sensor element 112 and the second sensor element 114 as opposite Z direction magnetic fields. Therefore, the magnetic sensor 100 calculates the difference between the output signals of the first sensor element 112 and the second sensor element 114, thereby detecting the magnetic field component in the Z direction and determining the magnitude of the corresponding input magnetic field in the X direction. Can be acquired.

なお、磁気センサ100は、入力磁場にZ方向の成分が含まれていても、当該磁場成分については第1センサ素子112および第2センサ素子114に略同一方向の磁場成分として入力する。したがって、磁気センサ100は、第1センサ素子112および第2センサ素子114の出力信号の差分を演算することで、当該同一方向の磁場成分をキャンセルすることができ、検出対象のX方向の入力磁場の成分を取得することができる。   Note that the magnetic sensor 100 inputs a magnetic field component in the first sensor element 112 and the second sensor element 114 as a magnetic field component in substantially the same direction even if the input magnetic field includes a component in the Z direction. Therefore, the magnetic sensor 100 can cancel the magnetic field component in the same direction by calculating the difference between the output signals of the first sensor element 112 and the second sensor element 114, and can detect the input magnetic field in the X direction to be detected. Can be obtained.

同様に、磁気センサ100は、Y方向の入力磁場を磁気収束板130で曲げ、第2センサ対120の第3センサ素子122および第4センサ素子124にそれぞれ逆向きのZ方向の磁場として供給する。したがって、磁気センサ100は、第3センサ素子122および第4センサ素子124の出力信号の差分を演算することで、当該Z方向の磁場成分を次式のように検出して対応するY方向の入力磁場の大きさを取得することができる。
(数4)
=V−V=(S+S)・μ=(S+S)・H
Similarly, the magnetic sensor 100 bends the input magnetic field in the Y direction by the magnetic converging plate 130 and supplies the magnetic field in the opposite Z direction to the third sensor element 122 and the fourth sensor element 124 of the second sensor pair 120, respectively. . Therefore, the magnetic sensor 100 calculates the difference between the output signals of the third sensor element 122 and the fourth sensor element 124, thereby detecting the magnetic field component in the Z direction as shown in the following equation and corresponding input in the Y direction. The magnitude of the magnetic field can be acquired.
(Equation 4)
V Y = V 3 −V 4 = (S 3 + S 4 ) · μ 1 B Z = (S 3 + S 4 ) · H Y

なお、(数4)式において、第3センサ素子122および第4センサ素子124に入力するZ方向の磁束密度ベクトルの絶対値をそれぞれμとした。また、第3センサ素子122および第4センサ素子124の磁気感度をS、Sとし、第3センサ素子122が磁束密度ベクトルμおよび第4センサ素子124が磁束密度ベクトル−μに応じて出力する出力信号をそれぞれV、Vとした。 In the equation (4), the absolute values of the magnetic flux density vectors in the Z direction input to the third sensor element 122 and the fourth sensor element 124 are μ 1 B Z , respectively. The magnetic sensitivities of the third sensor element 122 and the fourth sensor element 124 are S 3 and S 4. The third sensor element 122 has a magnetic flux density vector μ 1 BZ and the fourth sensor element 124 has a magnetic flux density vector −μ 1. an output signal to be output in response to B Z was set to V 3, V 4, respectively.

なお、磁気センサ100は、入力磁場にZ方向の成分が含まれていても、当該磁場成分については第3センサ素子122および第4センサ素子124が略同一方向の磁場として入力する。したがって、磁気センサ100は、第3センサ素子122および第4センサ素子124の出力信号の差分を演算することで、当該同一方向の磁場成分をキャンセルすることができ、検出対象のY方向の入力磁場の大きさを取得することができる。   In the magnetic sensor 100, even if the input magnetic field includes a component in the Z direction, the third sensor element 122 and the fourth sensor element 124 input the magnetic field component as a magnetic field in substantially the same direction. Therefore, the magnetic sensor 100 can cancel the magnetic field component in the same direction by calculating the difference between the output signals of the third sensor element 122 and the fourth sensor element 124, and can detect the input magnetic field in the Y direction to be detected. The size of can be obtained.

図3は、本実施形態に係る第1センサ対110が第3方向(Z軸方向)の磁場を検出する場合の一例を示す。図3において、紙面の横方向をX軸、紙面の垂直方向をY軸、紙面の縦方向をZ軸とする。また、第1センサ対110は、ホール効果を発生させるホール素子を第1センサ素子112および第2センサ素子114として有する例を説明する。   FIG. 3 shows an example when the first sensor pair 110 according to the present embodiment detects a magnetic field in the third direction (Z-axis direction). In FIG. 3, the horizontal direction of the paper surface is the X axis, the vertical direction of the paper surface is the Y axis, and the vertical direction of the paper surface is the Z axis. Further, an example will be described in which the first sensor pair 110 includes Hall elements that generate a Hall effect as the first sensor element 112 and the second sensor element 114.

ここで、図3に示すように、磁気センサ100に+Z軸方向の磁場ベクトルHin(0,0,H)が入力する例を説明する。磁気収束板130は、一例として、図中の点線のように、入力した磁場を曲げて収束させ、第1センサ素子112に+Z軸方向の磁束を発生させて入力させる。同様に、磁気収束板130は、入力した磁場を曲げ、第2センサ素子114に+Z軸方向の磁束を発生させて入力させる。 Here, as shown in FIG. 3, an example in which a magnetic field vector H in (0, 0, H Z ) in the + Z-axis direction is input to the magnetic sensor 100 will be described. As an example, the magnetic converging plate 130 bends and converges the input magnetic field, as shown by the dotted line in the figure, and causes the first sensor element 112 to generate and input a magnetic flux in the + Z-axis direction. Similarly, the magnetic converging plate 130 bends the input magnetic field and causes the second sensor element 114 to generate and input a magnetic flux in the + Z-axis direction.

ここで、磁気収束板130、第1センサ素子112、および第2センサ素子114は、第1センサ素子112および第2センサ素子114に入力する磁束のそれぞれの方向が略同一で、かつ、磁場の絶対値の大きさが略等しくなるようにそれぞれ配置されることが望ましい。そこで、第1センサ素子112および第2センサ素子114に入力するX方向およびZ方向の磁束密度ベクトルの絶対値が理想的に等しく、当該磁束密度ベクトルの絶対値をμとする。ここで、μは、入力した磁場Hを磁気収束板130が収束させてセンサ素子に入力させる場合の変換係数の一例である。また、第1センサ素子112および第2センサ素子114の磁気感度をS、Sとする。 Here, the magnetic converging plate 130, the first sensor element 112, and the second sensor element 114 have substantially the same direction of magnetic fluxes input to the first sensor element 112 and the second sensor element 114, and the magnetic field It is desirable to arrange them so that the magnitudes of the absolute values are substantially equal. Therefore, the absolute values of the magnetic flux density vectors in the X direction and the Z direction input to the first sensor element 112 and the second sensor element 114 are ideally equal, and the absolute value of the magnetic flux density vector is μ 2 B Z. Here, mu 2 is a magnetic field H Z input magnetic flux concentrator 130 is an example of a conversion coefficient when inputting to the sensor element is converged. The magnetic sensitivities of the first sensor element 112 and the second sensor element 114 are S 1 and S 2 .

即ち、第1センサ素子112が磁束密度ベクトルμに応じて出力する出力信号Vは、(数5)式のように、当該磁束密度ベクトルのZ方向成分μに応じて出力される出力信号で示されることになる。また、第2センサ素子114が磁束密度ベクトルμに応じて出力する出力信号Vは、次式のように、当該磁束密度ベクトルのZ方向成分μに応じて出力される出力信号で示される。
(数5)
=VZ1=S・μ=S・H
=VZ2=S・μ=S・H
In other words, the output signal V 1 output from the first sensor element 112 according to the magnetic flux density vector μ 2 B Z corresponds to the Z direction component μ 2 B Z of the magnetic flux density vector, as shown in Equation (5). This is indicated by the output signal that is output. Further, the output signal V 2 output by the second sensor element 114 according to the magnetic flux density vector μ 2 B Z is output according to the Z direction component μ 2 B Z of the magnetic flux density vector as shown in the following equation. Indicated by output signal.
(Equation 5)
V 1 = V Z1 = S 1 · μ 2 B Z = S 1 · H Z
V 2 = V Z2 = S 2 · μ 2 B Z = S 2 · H Z

したがって、磁気センサ100に+Z軸方向の磁場ベクトルHin(0,0,H)が入力することにより、第1センサ素子112および第2センサ素子114が検出して出力する出力信号VZ12は、次式で示される。
(数6)
Z12=V+V=(S+S)・μ=(S+S)・H
Therefore, when the magnetic field vector H in (0, 0, H Z ) in the + Z-axis direction is input to the magnetic sensor 100, the output signal V Z12 detected and output by the first sensor element 112 and the second sensor element 114 is Is represented by the following equation.
(Equation 6)
V Z12 = V 1 + V 2 = (S 1 + S 2 ) · μ 2 B Z = (S 1 + S 2 ) · H Z

以上のように、磁気センサ100は、Z方向の入力磁場を磁気収束板130で曲げ、第1センサ素子112および第2センサ素子114にそれぞれ同じ向きのZ方向の磁場として供給する。したがって、第1センサ素子112および第2センサ素子114の出力信号の和を演算することで、当該Z方向の磁場成分を検出して対応するZ方向の入力磁場の大きさを取得することができる。   As described above, the magnetic sensor 100 bends the input magnetic field in the Z direction by the magnetic converging plate 130 and supplies the magnetic field to the first sensor element 112 and the second sensor element 114 as the Z direction magnetic field in the same direction. Therefore, by calculating the sum of the output signals of the first sensor element 112 and the second sensor element 114, the magnetic field component in the Z direction can be detected and the magnitude of the corresponding input magnetic field in the Z direction can be acquired. .

なお、磁気センサ100は、入力磁場にX方向およびY方向の成分が含まれていても、当該磁場成分については第1センサ素子112および第2センサ素子114にそれぞれ逆向きの磁場として入力する。したがって、第1センサ素子112および第2センサ素子114の出力信号の和を演算することで、当該逆向きの磁場成分をキャンセルすることができ、検出対象のZ方向の入力磁場の大きさを取得することができる。   Note that, even if the input magnetic field includes components in the X direction and the Y direction, the magnetic sensor 100 inputs the magnetic field components to the first sensor element 112 and the second sensor element 114 as opposite magnetic fields, respectively. Therefore, by calculating the sum of the output signals of the first sensor element 112 and the second sensor element 114, the reverse magnetic field component can be canceled, and the magnitude of the input magnetic field in the Z direction to be detected is acquired. can do.

磁気センサ100は、同様に、Z方向の入力磁場を磁気収束板130で曲げ、第2センサ対120の第3センサ素子122および第4センサ素子124にそれぞれ同じ向きのZ方向の磁場として供給する。したがって、第3センサ素子122および第4センサ素子124の出力信号の和を演算することで、当該Z方向の磁場成分を検出して対応するZ方向の入力磁場の大きさを次式のように取得することもできる。
(数7)
Z34=V+V=(S+S)・μ=(S+S)・H
Similarly, the magnetic sensor 100 bends the input magnetic field in the Z direction by the magnetic converging plate 130 and supplies the same to the third sensor element 122 and the fourth sensor element 124 of the second sensor pair 120 as the Z direction magnetic field in the same direction. . Therefore, by calculating the sum of the output signals of the third sensor element 122 and the fourth sensor element 124, the magnetic field component in the Z direction is detected, and the magnitude of the corresponding input magnetic field in the Z direction is expressed by the following equation: It can also be acquired.
(Equation 7)
V Z34 = V 3 + V 4 = (S 3 + S 4 ) · μ 2 B Z = (S 3 + S 4 ) · H Z

以上のように、センサ素子からの出力信号の差分および和を演算することで、磁気センサ100に入力する磁場ベクトルのX、Y、およびZ成分を分離して検出することができる。これにより、磁気センサ100は、例えば、回転軸を中心に回転する回転磁石による磁場の変化を軸毎に検出して、当該回転磁石の回転角を検出することができる。この場合、磁気センサ100は、磁場の変化のX成分およびY成分を取得して、XY平面における回転磁石の回転角を検出してよく、また、ZX平面、YZ平面における回転磁石の回転角を検出してもよい。これに代えて、磁気センサ100は、磁場の変化のX成分、Y成分、およびZ成分を取得して、回転磁石の3次元的な回転を検出してもよい。   As described above, the X, Y, and Z components of the magnetic field vector input to the magnetic sensor 100 can be separated and detected by calculating the difference and sum of the output signals from the sensor elements. Thereby, the magnetic sensor 100 can detect the rotation angle of the said rotating magnet, for example, detecting the change of the magnetic field by the rotating magnet rotating centering on a rotating shaft for every axis | shaft. In this case, the magnetic sensor 100 may acquire the X component and the Y component of the change in the magnetic field to detect the rotation angle of the rotating magnet in the XY plane, and the rotation angle of the rotating magnet in the ZX plane and the YZ plane. It may be detected. Instead of this, the magnetic sensor 100 may detect the three-dimensional rotation of the rotating magnet by acquiring the X component, the Y component, and the Z component of the change in the magnetic field.

磁気センサ100がこのような回転角を検出する場合において、回転角の誤差の要因として、他軸感度が挙げられる。他軸感度は、例えば、X方向に磁束密度ベクトルが印加されているにもかかわらず、X方向以外の方向(例えばZ方向)に信号出力が検出されてしまう現象である。このような他軸感度は、例えば、X軸およびZ軸の間、Y軸およびZ軸の間等で発生する。他軸感度の発生原因は、センサ素子間の磁気感度(一例として、単位磁場あたりの信号出力)が、製造バラツキ等によってミスマッチを有することが挙げられる。   When the magnetic sensor 100 detects such a rotation angle, the other-axis sensitivity can be cited as a factor of the rotation angle error. The other-axis sensitivity is, for example, a phenomenon that a signal output is detected in a direction other than the X direction (for example, the Z direction) even though a magnetic flux density vector is applied in the X direction. Such other axis sensitivity occurs, for example, between the X axis and the Z axis, between the Y axis and the Z axis, and the like. The cause of the occurrence of other-axis sensitivity is that the magnetic sensitivity between sensor elements (for example, signal output per unit magnetic field) has a mismatch due to manufacturing variations or the like.

ここで、他軸感度の発生原因の説明例として、磁気センサ100に+XYZ軸方向の磁場ベクトルHin(H,H,H)が入力する例を説明する。磁気センサ100に+XYZ軸方向の磁場ベクトルHin(H,H,H)が入力した場合の、V〜V出力と、V、V、VZ12、VZ34出力は以下の式であらわされる。
(数8)
=VX1+VZ1=S・H+S・H
=VX2+VZ2=−S・H+S・H
=VY3+VZ3=S・H+S・H
=VY4+VZ4=−S・H+S・H
(数9)
=V−V=(S+S)・H+(S−S)・H
=V−V=(S+S)・H+(S−S)・H
Z12=V+V=(S−S)・H+(S+S)・H
Z34=V+V=(S−S)・H+(S+S)・H
Here, as an explanation example of the cause of the occurrence of the other axis sensitivity, an example in which the magnetic field vector H in (H X , H Y , H Z ) in the + XYZ axis direction is input to the magnetic sensor 100 will be described. When the magnetic field vector H in (H X , H Y , H Z ) in the + XYZ-axis direction is input to the magnetic sensor 100, the V 1 to V 4 outputs and the V X , V Y , V Z12 , and V Z34 outputs are as follows: It is expressed by the following formula.
(Equation 8)
V 1 = V X1 + V Z1 = S 1 · H X + S 1 · H Z
V 2 = V X2 + V Z2 = −S 2 · H X + S 2 · H Z
V 3 = V Y3 + V Z3 = S 3 · H Y + S 3 · H Z
V 4 = V Y4 + V Z4 = −S 4 · H Y + S 4 · H Z
(Equation 9)
V X = V 1 −V 2 = (S 1 + S 2 ) · H X + (S 1 −S 2 ) · H Z
V Y = V 3 -V 4 = (S 3 + S 4) · H Y + (S 3 -S 4) · H Z
V Z12 = V 1 + V 2 = (S 1 -S 2) · H X + (S 1 + S 2) · H Z
V Z34 = V 3 + V 4 = (S 3 -S 4) · H Y + (S 3 + S 4) · H Z

例えば、(数8)および(数9)式において、第1センサ素子112および第2センサ素子114の磁気感度にミスマッチが生じた場合、S−Sが零にならず、磁場の検出対象の軸成分(例えば、Z成分)に他の軸の成分(例えば、X成分またはY成分)が含まれてしまうことになる。このような他軸感度が発生すると、理想的には直交座標系である(例えば、ZX平面、YZ平面における)軸間の直交性が崩れてしまい、磁気センサ100は誤差を含む角度検出結果を出力してしまう。 For example, in the equations (8) and (9), when a mismatch occurs in the magnetic sensitivities of the first sensor element 112 and the second sensor element 114, S 1 -S 2 does not become zero, and a magnetic field detection target The other axis component (for example, X component or Y component) is included in the axis component (for example, Z component). When such other-axis sensitivity occurs, ideally, the orthogonality between axes in the orthogonal coordinate system (for example, in the ZX plane and the YZ plane) is lost, and the magnetic sensor 100 generates an angle detection result including an error. It will output.

例えば、X軸およびZ軸間の他軸感度を、100×(S−S)/(S+S)[%]、Y軸およびZ軸間の他軸感度を、100×(S−S)/(S+S)[%]と定義すると、1%の他軸感度の発生は、略0.6度の角度誤差に相当することが算出される。一例として、ZX平面において、磁気センサ100の0度方向に磁場ベクトル(H,H)=(1,0)を印加した場合、磁束密度ベクトルの角度の検出結果であるarc tan(V/V)は、arc tan((S−S)/(S+S))に略等しくなり、略0.6度と算出される。即ち、実際の磁場の方向に対して略0.6度の検出誤差が生じることになる。 For example, the other-axis sensitivity between the X-axis and the Z-axis is 100 × (S 1 −S 2 ) / (S 1 + S 2 ) [%], and the other-axis sensitivity between the Y-axis and the Z-axis is 100 × (S When defined as 3− S 4 ) / (S 3 + S 4 ) [%], it is calculated that the occurrence of 1% other-axis sensitivity corresponds to an angular error of approximately 0.6 degrees. As an example, when a magnetic field vector (H X , H Y ) = (1, 0) is applied in the 0 degree direction of the magnetic sensor 100 on the ZX plane, arc tan (V Z / V X ) is approximately equal to arc tan ((S 1 −S 2 ) / (S 1 + S 2 )), and is calculated to be approximately 0.6 degrees. That is, a detection error of about 0.6 degrees occurs with respect to the actual magnetic field direction.

また、第1センサ素子112および第2センサ素子114の磁気感度が略等しく、かつ、第3センサ素子122および第4センサ素子124の磁気感度が略等しくても、第1センサ対110および第2センサ対120の間の磁気感度にミスマッチが生じると、X軸およびY軸間での感度ミスマッチによる角度誤差が発生する場合がある。   Even if the magnetic sensitivities of the first sensor element 112 and the second sensor element 114 are substantially equal, and the magnetic sensitivities of the third sensor element 122 and the fourth sensor element 124 are substantially equal, the first sensor pair 110 and the second sensor element When a mismatch occurs in the magnetic sensitivity between the sensor pair 120, an angular error may occur due to a sensitivity mismatch between the X axis and the Y axis.

第1センサ対110および第2センサ対120のセンサ素子間の磁気感度にミスマッチが生じた場合、(S+S)および(S+S)の値が一致しなくなるので、XY平面における角度検出において誤差が生じることになる。ここで、X軸およびY軸間の感度ミスマッチを、{(S+S)/(S+S)−1}×100[%]と定義すると、1%の感度ミスマッチの発生は、略0.3度の角度誤差に相当することが算出される。一例として、XY平面において、磁気センサ100の45度方向に磁場ベクトル(H,H)=(1,1)を印加し、(S+S):(S+S)を1.005:0.995とした場合、磁束密度ベクトルの角度の検出結果として、arc tan(V/V)は、略44.7度と算出される。即ち、実際の磁場の方向に対して略0.3度の検出誤差が生じることになる。 When a mismatch occurs in the magnetic sensitivities between the sensor elements of the first sensor pair 110 and the second sensor pair 120, the values of (S 1 + S 2 ) and (S 3 + S 4 ) do not match, so the angle in the XY plane An error will occur in detection. Here, if the sensitivity mismatch between the X axis and the Y axis is defined as {(S 1 + S 2 ) / (S 3 + S 4 ) −1} × 100 [%], the occurrence of a sensitivity mismatch of 1% is substantially omitted. It is calculated that it corresponds to an angle error of 0.3 degrees. As an example, a magnetic field vector (H X , H Y ) = (1, 1) is applied in the 45-degree direction of the magnetic sensor 100 on the XY plane, and (S 1 + S 2 ) :( S 3 + S 4 ) is set to 1. When 005: 0.995, arc tan (V Y / V X ) is calculated to be approximately 44.7 degrees as a detection result of the magnetic flux density vector angle. That is, a detection error of about 0.3 degrees occurs with respect to the actual magnetic field direction.

このような検出誤差を低減すべく、センサ素子の感度ミスマッチを観測して補正することが望ましい。そこで、本実施形態に係る検出装置は、このようなセンサ素子の感度ミスマッチに基づく他軸感度を補正する誤差パラメータを算出して出力する。検出装置について、図4を用いて説明する。   In order to reduce such detection errors, it is desirable to observe and correct the sensitivity mismatch of the sensor elements. Therefore, the detection apparatus according to the present embodiment calculates and outputs an error parameter for correcting the other-axis sensitivity based on the sensitivity mismatch of the sensor elements. The detection apparatus will be described with reference to FIG.

図4は、本実施形態に係る検出装置200の構成例を示す。検出装置200は、第1センサ対110および第2センサ対120を有する磁気センサ100の誤差を検出する。検出装置200は、取得部210と、第1信号算出部220と、第2信号算出部230と、角度演算部240と、誤差出力部250とを備える。   FIG. 4 shows a configuration example of the detection apparatus 200 according to the present embodiment. The detection device 200 detects an error of the magnetic sensor 100 having the first sensor pair 110 and the second sensor pair 120. The detection device 200 includes an acquisition unit 210, a first signal calculation unit 220, a second signal calculation unit 230, an angle calculation unit 240, and an error output unit 250.

取得部210は、磁気センサ100の出力信号を取得する。取得部210は、磁気センサ100に備わる複数のセンサ素子の出力をそれぞれ取得してよい。取得部210は、磁気センサ100と有線、無線、またはネットワークで接続されてよい。また、取得部210は、記憶装置等に接続され、当該記憶装置等に記憶された磁気センサ100の出力信号を取得してもよい。取得部210は、取得した磁気センサ100の出力信号を第1信号算出部220および第2信号算出部230に供給する。   The acquisition unit 210 acquires the output signal of the magnetic sensor 100. The acquisition unit 210 may acquire the outputs of a plurality of sensor elements included in the magnetic sensor 100, respectively. The acquisition unit 210 may be connected to the magnetic sensor 100 by wire, wireless, or a network. The acquisition unit 210 may be connected to a storage device or the like, and may acquire an output signal of the magnetic sensor 100 stored in the storage device or the like. The acquisition unit 210 supplies the acquired output signal of the magnetic sensor 100 to the first signal calculation unit 220 and the second signal calculation unit 230.

第1信号算出部220は、第1センサ対110の出力信号の差分信号および和信号を算出する。第1信号算出部220は、例えば、取得部210に接続され、当該取得部210から第1センサ素子112および第2センサ素子114の出力信号を受け取る。第1信号算出部220は、受けとった出力信号の和および差分を算出して角度演算部240および誤差出力部250に供給する。   The first signal calculation unit 220 calculates a difference signal and a sum signal of the output signals of the first sensor pair 110. For example, the first signal calculation unit 220 is connected to the acquisition unit 210 and receives output signals of the first sensor element 112 and the second sensor element 114 from the acquisition unit 210. The first signal calculation unit 220 calculates the sum and difference of the received output signals and supplies them to the angle calculation unit 240 and the error output unit 250.

第2信号算出部230は、第2センサ対120の出力信号の差分信号および和信号を算出する。第2信号算出部230は、例えば、取得部210に接続され、当該取得部210から第3センサ素子122および第4センサ素子124の出力信号を受け取る。第2信号算出部230は、受けとった出力信号の和および差分を算出して角度演算部240および誤差出力部250に供給する。   The second signal calculation unit 230 calculates a difference signal and a sum signal of the output signals of the second sensor pair 120. For example, the second signal calculation unit 230 is connected to the acquisition unit 210 and receives output signals of the third sensor element 122 and the fourth sensor element 124 from the acquisition unit 210. The second signal calculation unit 230 calculates the sum and difference of the received output signals and supplies them to the angle calculation unit 240 and the error output unit 250.

角度演算部240は、第1信号算出部220および第2信号算出部230の算出結果に基づき、磁気センサ100の検出対象である回転磁石等の回転角度を演算する。角度演算部240は、例えば、第1信号算出部220および第2信号算出部230に接続され、当該第1信号算出部220および第2信号算出部230の算出結果を受けとる。角度演算部240は、1または複数の予め定められた平面における検出対象の回転角度を演算してよい。また、角度演算部240は、3次元空間における検出対象の回転角度を演算してもよい。角度演算部240は、例えば、磁気センサ100に入力する磁場ベクトルの各軸の成分をそれぞれ算出して、検出対象の回転角度を演算する。角度演算部240は、演算結果を外部に出力する。   The angle calculation unit 240 calculates the rotation angle of a rotating magnet or the like that is a detection target of the magnetic sensor 100 based on the calculation results of the first signal calculation unit 220 and the second signal calculation unit 230. For example, the angle calculation unit 240 is connected to the first signal calculation unit 220 and the second signal calculation unit 230 and receives the calculation results of the first signal calculation unit 220 and the second signal calculation unit 230. The angle calculation unit 240 may calculate the rotation angle of the detection target in one or a plurality of predetermined planes. Further, the angle calculation unit 240 may calculate the rotation angle of the detection target in the three-dimensional space. The angle calculation unit 240 calculates, for example, each axis component of the magnetic field vector input to the magnetic sensor 100 and calculates the rotation angle of the detection target. The angle calculation unit 240 outputs the calculation result to the outside.

誤差出力部250は、第1信号算出部220および第2信号算出部230の算出結果に基づき、磁気センサ100の誤差パラメータを出力する。誤差出力部250は、例えば、第1信号算出部220および第2信号算出部230に接続され、当該第1信号算出部220および第2信号算出部230の算出結果を受けとる。誤差出力部250は、磁気センサ100の誤差を算出し、当該誤差を補正する誤差パラメータを算出して出力する。誤差出力部250は、他軸感度演算部252と、実装誤差演算部254とを有する。   The error output unit 250 outputs an error parameter of the magnetic sensor 100 based on the calculation results of the first signal calculation unit 220 and the second signal calculation unit 230. For example, the error output unit 250 is connected to the first signal calculation unit 220 and the second signal calculation unit 230 and receives the calculation results of the first signal calculation unit 220 and the second signal calculation unit 230. The error output unit 250 calculates an error of the magnetic sensor 100, calculates and outputs an error parameter for correcting the error. The error output unit 250 includes an other-axis sensitivity calculation unit 252 and a mounting error calculation unit 254.

他軸感度演算部252は、第1信号算出部220および第2信号算出部230の算出結果に基づき、第1センサ対110および第2センサ対120の他軸感度誤差を演算する。また、実装誤差演算部254は、第1信号算出部220および第2信号算出部230の算出結果に基づき、磁気センサ100の実装誤差を演算する。他軸感度演算部252および実装誤差演算部254の動作については後に述べる。   The other axis sensitivity calculation unit 252 calculates the other axis sensitivity error of the first sensor pair 110 and the second sensor pair 120 based on the calculation results of the first signal calculation unit 220 and the second signal calculation unit 230. Further, the mounting error calculation unit 254 calculates the mounting error of the magnetic sensor 100 based on the calculation results of the first signal calculation unit 220 and the second signal calculation unit 230. The operations of the other axis sensitivity calculation unit 252 and the mounting error calculation unit 254 will be described later.

以上の本実施形態に係る検出装置200は、予め定められた磁場ベクトルを磁気センサ100に供給し、当該磁場ベクトルに応じて出力される磁気センサ100の出力信号に基づき、誤差パラメータを算出して出力する。ここで、予め定められた磁場ベクトルは、絶対値が略均一で、予め定められた回転速度で回転する回転磁場ベクトルであることが望ましい。磁気センサ100にこのような回転磁場ベクトルを印加する構成を、図5を用いて説明する。   The detection apparatus 200 according to the present embodiment supplies a predetermined magnetic field vector to the magnetic sensor 100 and calculates an error parameter based on the output signal of the magnetic sensor 100 output according to the magnetic field vector. Output. Here, it is desirable that the predetermined magnetic field vector is a rotating magnetic field vector whose absolute value is substantially uniform and rotates at a predetermined rotation speed. A configuration for applying such a rotating magnetic field vector to the magnetic sensor 100 will be described with reference to FIG.

図5は、本実施形態に係る磁気センサ100と回転磁場を印加する磁場印加部400の構成例を示す。磁場印加部400は、磁気センサ100に予め定められた複数の方向の磁場を印加する。磁場印加部400は、磁気センサ100に印加する磁場の方向を、予め定められた方向に変化させる。図5は、磁場印加部400が回転磁石を有し、磁気センサ100に印加する磁場を予め定められた回転速度で回転させる例を示す。磁場印加部400は、回転磁石410と、回転軸412と、モーター420とを備える。   FIG. 5 shows a configuration example of the magnetic sensor 100 according to this embodiment and the magnetic field application unit 400 that applies a rotating magnetic field. The magnetic field application unit 400 applies magnetic fields in a plurality of predetermined directions to the magnetic sensor 100. The magnetic field application unit 400 changes the direction of the magnetic field applied to the magnetic sensor 100 to a predetermined direction. FIG. 5 shows an example in which the magnetic field application unit 400 includes a rotating magnet and rotates the magnetic field applied to the magnetic sensor 100 at a predetermined rotation speed. The magnetic field application unit 400 includes a rotating magnet 410, a rotating shaft 412, and a motor 420.

回転磁石410は、回転軸412回りに回転する。図5は、回転磁石410が磁気センサ100の上方に設けられる例を示す。回転磁石410は、一例として、円盤状の形状を有し、XY平面と略平行な面で回転する。回転磁石410は、XY平面と略平行な断面がそれぞれ半円形状となる2つの領域に分割されてよく、一方の領域がS極であり、他方の領域がN極である磁石を形成する。回転磁石410は、XY平面と略平行な面で回転することにより、理想的には、例えば、次式で示される回転磁場を磁気センサ100に印加する。
(数10)
(θ)=cos(θ)
(θ)=sin(θ)
The rotating magnet 410 rotates around the rotating shaft 412. FIG. 5 shows an example in which the rotating magnet 410 is provided above the magnetic sensor 100. For example, the rotating magnet 410 has a disk shape and rotates on a plane substantially parallel to the XY plane. The rotating magnet 410 may be divided into two regions each having a semicircular cross section substantially parallel to the XY plane, and forms a magnet in which one region is an S pole and the other region is an N pole. The rotating magnet 410 ideally applies, for example, a rotating magnetic field represented by the following expression to the magnetic sensor 100 by rotating in a plane substantially parallel to the XY plane.
(Equation 10)
H X (θ) = cos (θ)
H Y (θ) = sin (θ)

回転軸412は、XY平面と略垂直な方向に形成される。回転軸412は、一例として、中心軸の磁気センサ100側の延長線上に、第1センサ対110を通過するX軸と第2センサ対120を通過するY軸との交点が位置するように、形成される。回転軸412は、一端が回転磁石410に接続され、他端がモーター420に接続される。モーター420は、回転軸412および当該回転軸に接続された回転磁石410を回転させる。モーター420は、予め定められた略一定の回転速度で回転磁石410を回転させることが望ましい。   The rotation shaft 412 is formed in a direction substantially perpendicular to the XY plane. As an example, the rotation axis 412 is located on the extension of the central axis on the magnetic sensor 100 side so that the intersection of the X axis passing through the first sensor pair 110 and the Y axis passing through the second sensor pair 120 is located. It is formed. The rotating shaft 412 has one end connected to the rotating magnet 410 and the other end connected to the motor 420. The motor 420 rotates the rotating shaft 412 and the rotating magnet 410 connected to the rotating shaft. The motor 420 desirably rotates the rotating magnet 410 at a predetermined substantially constant rotational speed.

以上の本実施形態に係る磁場印加部400により、磁気センサ100は、XY平面において、絶対値が略一定で、方向が時間的に変化する磁場を検出する。検出装置200は、磁気センサ100がこのような回転磁場を検出して出力する出力信号に基づき、磁気センサ100の誤差パラメータを出力する。検出装置200の動作について、図6を用いて説明する。   With the magnetic field application unit 400 according to this embodiment described above, the magnetic sensor 100 detects a magnetic field whose absolute value is substantially constant and whose direction changes with time in the XY plane. The detection device 200 outputs an error parameter of the magnetic sensor 100 based on an output signal that the magnetic sensor 100 detects and outputs such a rotating magnetic field. The operation of the detection device 200 will be described with reference to FIG.

図6は、本実施形態に係る検出装置200の動作フローの第1例を示す。検出装置200は、図6に示す動作フローを実行して、磁気センサ100の他軸感度誤差を検出し、当該磁気センサ100の検出信号を補正する誤差パラメータを出力する。   FIG. 6 shows a first example of the operation flow of the detection apparatus 200 according to this embodiment. The detection apparatus 200 executes the operation flow shown in FIG. 6, detects the other-axis sensitivity error of the magnetic sensor 100, and outputs an error parameter for correcting the detection signal of the magnetic sensor 100.

まず、磁場印加部400は、(数10)式に示す回転磁場を磁気センサ100に印加する(S610)。次に、取得部210は、磁気センサ100に印加される予め定められた複数の方向の磁場に応じた当該磁気センサ100の出力信号を取得する(S620)。第1センサ素子112、第2センサ素子114、第3センサ素子122、および第4センサ素子124の出力信号を、V、V、V、およびVとする。 First, the magnetic field application unit 400 applies a rotating magnetic field represented by the formula (10) to the magnetic sensor 100 (S610). Next, the acquisition unit 210 acquires an output signal of the magnetic sensor 100 according to magnetic fields in a plurality of predetermined directions applied to the magnetic sensor 100 (S620). The output signals of the first sensor element 112, the second sensor element 114, the third sensor element 122, and the fourth sensor element 124 are V 1 , V 2 , V 3 , and V 4 .

取得部210は、このような出力信号を取得する。取得部210は、予め定められたクロック信号等に同期して、磁気センサ100の出力信号を略一定の周期で取得してよい。取得部210は、出力信号のそれぞれを、予め定められた時間間隔における時系列信号としてそれぞれ取得してよい。また、取得部210は、回転磁石410の回転周期以上の時間間隔における時系列信号を取得することが好ましい。   The acquisition unit 210 acquires such an output signal. The acquisition unit 210 may acquire the output signal of the magnetic sensor 100 at a substantially constant period in synchronization with a predetermined clock signal or the like. The acquisition unit 210 may acquire each output signal as a time-series signal at a predetermined time interval. Moreover, it is preferable that the acquisition part 210 acquires the time series signal in the time interval more than the rotation period of the rotating magnet 410. FIG.

次に、第1信号算出部220および第2信号算出部230は、取得した出力信号の差分信号および和信号を算出する(S630)。即ち、第1信号算出部220は、第1センサ素子112および第2センサ素子114の出力信号の差分信号(V−V)および和信号(V+V)を算出する。また、第2信号算出部230は、第3センサ素子122および第4センサ素子124の出力信号の差分信号(V−V)および和信号(V+V)を算出する。即ち、取得部210が複数の方向の磁場に応じて磁気センサ100の複数の出力信号を取得し、第1信号算出部220および第2信号算出部230は、取得した複数の信号毎に差分信号および和信号を算出する。 Next, the first signal calculation unit 220 and the second signal calculation unit 230 calculate a difference signal and a sum signal of the acquired output signals (S630). That is, the first signal calculation unit 220 calculates a difference signal (V 1 −V 2 ) and a sum signal (V 1 + V 2 ) of the output signals of the first sensor element 112 and the second sensor element 114. The second signal calculation unit 230 calculates a difference signal (V 3 −V 4 ) and a sum signal (V 3 + V 4 ) of the output signals of the third sensor element 122 and the fourth sensor element 124. That is, the acquisition unit 210 acquires a plurality of output signals of the magnetic sensor 100 according to magnetic fields in a plurality of directions, and the first signal calculation unit 220 and the second signal calculation unit 230 obtain a difference signal for each of the acquired signals. And calculate the sum signal.

ここで、磁場印加部400が磁気センサ100に印加する回転磁場ベクトルをHin(cos(θ),sin(θ),0)とすると、第1信号算出部220および第2信号算出部230は、差分信号および和信号を次式のように算出する。ここで、S=(S+S)、S=(S+S)、ΔS=(S−S)、ΔS=(S−S)とした。
(数11)
−V=(S+S)・cos(θ)=S・cos(θ)=V
−V=(S+S)・sin(θ)=S・sin(θ)=V
+V=(S−S)・cos(θ)=ΔS・cos(θ)=VZ12
+V=(S−S)・sin(θ)=ΔS・sin(θ)=VZ34
Here, if the rotating magnetic field vector applied to the magnetic sensor 100 by the magnetic field applying unit 400 is H in (cos (θ), sin (θ), 0), the first signal calculating unit 220 and the second signal calculating unit 230 are Then, the difference signal and the sum signal are calculated as follows. Here, S X = (S 1 + S 2 ), S Y = (S 3 + S 4 ), ΔS X = (S 1 -S 2 ), and ΔS Y = (S 3 -S 4 ).
(Equation 11)
V 1 −V 2 = (S 1 + S 2 ) · cos (θ) = S X · cos (θ) = V X
V 3 −V 4 = (S 3 + S 4 ) · sin (θ) = SY · sin (θ) = V Y
V 1 + V 2 = (S 1 −S 2 ) · cos (θ) = ΔS X · cos (θ) = V Z12
V 3 + V 4 = (S 3 −S 4 ) · sin (θ) = ΔS Y · sin (θ) = V Z34

ここで、角度演算部240は、第1センサ素子112および第2センサ素子114の出力信号の差分信号(V−V)および第3センサ素子122および第4センサ素子124の出力信号の差分信号(V−V)をVおよびVとし、回転磁石410のXY平面上における回転角度を算出して出力してよい。 Here, the angle calculation unit 240 determines the difference signal (V 1 −V 2 ) between the output signals of the first sensor element 112 and the second sensor element 114 and the difference between the output signals of the third sensor element 122 and the fourth sensor element 124. The signals (V 3 -V 4 ) may be V X and V Y, and the rotation angle of the rotating magnet 410 on the XY plane may be calculated and output.

誤差出力部250は、磁気センサ100に印加された複数の方向の磁場に応じた第1信号算出部220および第2信号算出部230の算出結果に基づき、磁気センサ100の誤差パラメータを出力する。ここで、他軸感度演算部252は、第1センサ対110の差分信号および第2センサ対120の差分信号のそれぞれの振幅値と、第1センサ対110の差分信号および和信号の積と、第2センサ対120の差分信号および和信号の積とを、第1センサ対110および第2センサ対120に複数の方向の磁場が印加される毎にそれぞれ積算した積算値と、に基づき、第1センサ対110および第2センサ対120の他軸感度誤差をそれぞれ演算し、誤差パラメータを算出する。当該算出について、次に述べる。   The error output unit 250 outputs error parameters of the magnetic sensor 100 based on the calculation results of the first signal calculation unit 220 and the second signal calculation unit 230 corresponding to the magnetic fields in a plurality of directions applied to the magnetic sensor 100. Here, the other-axis sensitivity calculation unit 252 calculates the amplitude value of each of the difference signal of the first sensor pair 110 and the difference signal of the second sensor pair 120, and the product of the difference signal and the sum signal of the first sensor pair 110, Based on an integrated value obtained by integrating the product of the difference signal and the sum signal of the second sensor pair 120 each time a magnetic field in a plurality of directions is applied to the first sensor pair 110 and the second sensor pair 120, The other-axis sensitivity errors of the first sensor pair 110 and the second sensor pair 120 are calculated, and error parameters are calculated. The calculation will be described next.

他軸感度演算部252は、第1信号算出部220および第2信号算出部230が算出した差分信号の振幅値を取得する(S640)。ここで、当該差分信号は、(数11)式に示すように、回転磁石410の回転周期に応じて変動する。したがって、取得部210が当該出力信号を回転磁石410の回転周期以上における時系列信号を取得することにより、他軸感度演算部252は、当該周期的に変動する信号の振幅値を取得することができる。   The other-axis sensitivity calculation unit 252 acquires the amplitude value of the difference signal calculated by the first signal calculation unit 220 and the second signal calculation unit 230 (S640). Here, the difference signal fluctuates according to the rotation period of the rotating magnet 410 as shown in the equation (11). Therefore, when the acquisition unit 210 acquires the output signal as a time-series signal in the rotation period of the rotating magnet 410 or more, the other-axis sensitivity calculation unit 252 can acquire the amplitude value of the signal that varies periodically. it can.

図7は、本実施形態に係る第1信号算出部220および第2信号算出部230が算出した差分信号の一例を示す。図7において、横軸は回転磁石410のXY平面における角度位置を示し、縦軸は第1信号算出部220および第2信号算出部230が算出した差分信号(即ち、VおよびV)の出力強度を示す。(数11)式に示すように、差分信号Vは正弦波信号として周期的に変動し、差分信号Vは余弦波信号として周期的に変動する。 FIG. 7 shows an example of the difference signal calculated by the first signal calculation unit 220 and the second signal calculation unit 230 according to the present embodiment. In FIG. 7, the horizontal axis indicates the angular position of the rotating magnet 410 in the XY plane, and the vertical axis indicates the difference signals (that is, V X and V Y ) calculated by the first signal calculation unit 220 and the second signal calculation unit 230. Indicates the output intensity. As shown in equation (11), the difference signal V X periodically varies as a sine wave signal, the difference signal V Y periodically varies as a cosine wave signal.

そして、差分信号Vの振幅値Sは、(数11)式より、磁気感度の和(S+S)に等しくなる。同様に、差分信号Vの振幅値Sは、磁気感度の和(S+S)に等しくなる。そこで、他軸感度演算部252は、差分信号VおよびVの振幅値を取得することで、(S+S)および(S+S)の値を取得することができる。他軸感度演算部252は、一例として、差分信号の最大値および最小値の差分を1/2にすることで、当該差分信号の振幅値を算出する。 Then, the amplitude value S X of the difference signal V X, from equation (11) becomes equal to the sum of magnetic sensitivity (S 1 + S 2). Similarly, the amplitude value S Y of the difference signal V Y is equal to the sum of magnetic sensitivities (S 3 + S 4 ). Therefore, the other-axis sensitivity calculation unit 252 can acquire the values of (S 1 + S 2 ) and (S 3 + S 4 ) by acquiring the amplitude values of the difference signals V X and V Y. For example, the other-axis sensitivity calculation unit 252 calculates the amplitude value of the difference signal by halving the difference between the maximum value and the minimum value of the difference signal.

このように、本実施形態に係る他軸感度演算部252は、磁気感度の和(S+S)および(S+S)の値を取得するので、第1センサ対110および第2センサ対120の間における(X軸およびY軸間の)感度ミスマッチ{(S+S)/(S+S)−1}=S/S−1を算出することができる。 As described above, the other-axis sensitivity calculation unit 252 according to the present embodiment acquires the value of the sum (S 1 + S 2 ) and (S 3 + S 4 ) of the magnetic sensitivity, and thus the first sensor pair 110 and the second sensor A sensitivity mismatch {(S 1 + S 2 ) / (S 3 + S 4 ) −1} = S X / S Y −1 between the pair 120 (between the X and Y axes) can be calculated.

次に、他軸感度演算部252は、第1信号算出部220および第2信号算出部230が算出した差分信号および和信号の積を積算する(S650)。他軸感度演算部252は、例えば、回転磁石410が1回転(またはn回転)する間に取得する差分信号および和信号の積(VZ12およびVZ34)を積算する。これにより、他軸感度演算部252は、次式で示す計算を実行したことに相当する。

Figure 2017003312
Next, the other-axis sensitivity calculation unit 252 integrates the product of the difference signal and the sum signal calculated by the first signal calculation unit 220 and the second signal calculation unit 230 (S650). The other-axis sensitivity calculation unit 252 accumulates, for example, a product of the difference signal and the sum signal (V X V Z12 and V Y V Z34 ) acquired while the rotating magnet 410 makes one rotation (or n rotations). As a result, the other-axis sensitivity calculation unit 252 corresponds to executing the calculation represented by the following equation.
Figure 2017003312

ここで、他軸感度演算部252は、SおよびSの値を既に取得しているので、センサ素子の感度ミスマッチによる他軸感度を算出することができる(S660)。他軸感度演算部252は、例えば、差分信号および和信号の積の積算結果をそれぞれΣ(VZ12)、Σ(VZ34)とすると、X軸およびZ軸間の他軸感度ΔS/SおよびY軸およびZ軸間の他軸感度ΔS/Sを、次式のように算出することができる。
(数13)
Σ(VZ12)/(πS )=ΔS/S
Σ(VZ34)/(πS )=ΔS/S
Here, since the other axis sensitivity calculation unit 252 has already acquired the values of S X and S Y , it can calculate the other axis sensitivity due to the sensitivity mismatch of the sensor elements (S660). For example, if the integration results of the product of the difference signal and the sum signal are respectively Σ (V X V Z12 ) and Σ (V Y V Z34 ), the other axis sensitivity calculation unit 252 determines the other axis sensitivity between the X axis and the Z axis. ΔS X / S X and the other-axis sensitivity ΔS Y / S Y between the Y axis and the Z axis can be calculated as follows.
(Equation 13)
Σ (V X V Z12 ) / (πS X 2 ) = ΔS X / S X
Σ (V Y V Z34 ) / (πS Y 2 ) = ΔS Y / S Y

以上のように、他軸感度演算部252は、センサ対間の磁気感度のミスマッチ、およびセンサ素子間の磁気感度のミスマッチによる他軸感度を算出することができるので、当該ミスマッチに基づく誤差を補正する補正パラメータを算出することができる。即ち、誤差出力部250は、予め定められた方向に変化する磁場に応じた第1信号算出部220および第2信号算出部230の算出結果に基づき、磁気センサ100の誤差パラメータを出力する。   As described above, the other axis sensitivity calculation unit 252 can calculate the other axis sensitivity due to the magnetic sensitivity mismatch between the sensor pairs and the magnetic sensitivity mismatch between the sensor elements, and thus corrects the error based on the mismatch. Correction parameters to be calculated can be calculated. That is, the error output unit 250 outputs an error parameter of the magnetic sensor 100 based on the calculation results of the first signal calculation unit 220 and the second signal calculation unit 230 corresponding to a magnetic field that changes in a predetermined direction.

以上のように、本実施形態に係る検出装置200は、磁場印加部400によって予め定められた複数の方向の磁場が磁気センサ100に印加され、当該磁場に応答した信号出力に基づき、誤差パラメータを出力する。ここで、磁場印加部400および磁気センサ100の相対位置がずれた場合、(数10)式とは異なる方向の磁場が磁気センサ100印加されることになる。   As described above, in the detection apparatus 200 according to the present embodiment, magnetic fields in a plurality of directions determined in advance by the magnetic field application unit 400 are applied to the magnetic sensor 100, and error parameters are set based on the signal output in response to the magnetic fields. Output. Here, when the relative positions of the magnetic field application unit 400 and the magnetic sensor 100 are shifted, a magnetic field in a direction different from the equation (10) is applied.

図8は、本実施形態に係る磁気センサ100と磁場印加部400に実装誤差が生じた例を示す。図8において、図5に示された本実施形態に係る磁気センサ100および磁場印加部400の動作と略同一のものには同一の符号を付け、説明を省略する。図8に示すように、回転磁石410の回転軸412の中心位置が、磁気センサ100のXY平面においてX方向にずれた例を示す。このように、磁気センサ100および磁場印加部400の相対位置の誤差が生じた場合、磁気センサ100が回転角を検出すると、回転角の誤差の要因に、他軸感度および磁気センサ100の実装誤差が含まれてしまう。   FIG. 8 shows an example in which mounting errors occur in the magnetic sensor 100 and the magnetic field application unit 400 according to the present embodiment. In FIG. 8, substantially the same operations as those of the magnetic sensor 100 and the magnetic field application unit 400 according to the present embodiment shown in FIG. As shown in FIG. 8, an example in which the center position of the rotating shaft 412 of the rotating magnet 410 is shifted in the X direction on the XY plane of the magnetic sensor 100 is shown. As described above, when an error in the relative position between the magnetic sensor 100 and the magnetic field application unit 400 occurs, if the magnetic sensor 100 detects a rotation angle, the other-axis sensitivity and the mounting error of the magnetic sensor 100 are factors of the rotation angle error. Will be included.

そこで、本実施形態の検出装置200は、このような複数の誤差を分離して検出し、それぞれ補正する誤差パラメータを算出して、磁気センサ100の回転角の誤差を低減させる。即ち、本実施形態の他軸感度演算部252は、他軸感度に基づく誤差を実装誤差と分離して算出し、実装誤差演算部254は、磁気センサ100および磁場印加部400の相対位置の誤差を磁気センサ100の実装誤差として演算する。   Therefore, the detection apparatus 200 of the present embodiment separately detects such a plurality of errors, calculates error parameters to be corrected respectively, and reduces the rotation angle error of the magnetic sensor 100. That is, the other-axis sensitivity calculation unit 252 of this embodiment calculates an error based on the other-axis sensitivity separately from the mounting error, and the mounting error calculation unit 254 calculates an error in the relative position between the magnetic sensor 100 and the magnetic field application unit 400. Is calculated as a mounting error of the magnetic sensor 100.

図9は、本実施形態に係る回転磁石410の回転軸412の位置ずれが、X軸およびY軸間の感度ミスマッチに与える影響の一例を示す。図9は、円柱形状(直径25mm、厚み10mm)の回転磁石410の中心軸と、磁気センサ100の中心位置とにずれが生じた場合の検出誤差について、積分要素法を用いた静磁場3次元解析よりシミュレーションした結果の一例である。図9は、横軸が回転磁石410の中心軸および磁気センサ100の中心位置のX方向における相対的なずれ量を示し、縦軸がX軸およびY軸間の感度ミスマッチ100×(S/S−1)を示す。 FIG. 9 shows an example of the influence of the positional deviation of the rotating shaft 412 of the rotating magnet 410 according to this embodiment on the sensitivity mismatch between the X axis and the Y axis. FIG. 9 shows a three-dimensional static magnetic field using an integral element method for a detection error when a deviation occurs between the central axis of a cylindrical magnet (diameter 25 mm, thickness 10 mm) and the central position of the magnetic sensor 100. It is an example of the result simulated from the analysis. In FIG. 9, the horizontal axis indicates the relative shift amount in the X direction between the central axis of the rotating magnet 410 and the central position of the magnetic sensor 100, and the vertical axis indicates a sensitivity mismatch 100 × (S X / SY- 1).

図9は、回転磁石410および磁気センサ100の実装誤差(ずれ量)が大きくなるにしたがい、感度ミスマッチも大きくなる傾向を示すことがわかる。これは実装誤差により、磁気センサ100に入力される磁場ベクトルの大きさがX方向とY方向でミスマッチすることで生じる。また、200μmのX方向の位置ずれに対して、感度ミスマッチは0.012%未満程度となることがわかる。   FIG. 9 shows that the sensitivity mismatch tends to increase as the mounting error (shift amount) of the rotating magnet 410 and the magnetic sensor 100 increases. This occurs when the magnitude of the magnetic field vector input to the magnetic sensor 100 mismatches in the X direction and the Y direction due to mounting errors. It can also be seen that the sensitivity mismatch is less than about 0.012% with respect to the positional deviation in the X direction of 200 μm.

図10は、本実施形態に係る回転磁石410の回転軸412の位置ずれが、X軸およびZ軸間の他軸感度およびY軸およびZ軸間の他軸感度に与える影響の一例を示す。図10は、図9と同様のシミュレーションを実行した結果の一例である。図10は、横軸が回転磁石410の中心軸および磁気センサ100の中心位置のX方向における相対的なずれ量を示し、縦軸はX軸およびZ軸間の他軸感度100×ΔS/SおよびY軸およびZ軸間の他軸感度100×ΔS/Sを示す。 FIG. 10 shows an example of the influence of the positional deviation of the rotating shaft 412 of the rotating magnet 410 according to this embodiment on the other axis sensitivity between the X axis and the Z axis and the other axis sensitivity between the Y axis and the Z axis. FIG. 10 is an example of a result of executing a simulation similar to FIG. In FIG. 10, the horizontal axis indicates the relative shift amount in the X direction between the central axis of the rotating magnet 410 and the central position of the magnetic sensor 100, and the vertical axis indicates the other axis sensitivity 100 × ΔS X / between the X axis and the Z axis. The other axis sensitivity 100 × ΔS Y / S Y between S X and Y axis and Z axis is shown.

X軸およびZ軸間の他軸感度がX方向の実装誤差の大きさに応じて大きくなる一方、Y軸およびZ軸間の他軸感度は略一定の値の傾向を示すことがわかる。即ち、X方向の実装誤差は、X軸およびZ軸間の他軸感度に影響を及ぼし、Y方向の実装誤差は、Y軸およびZ軸間の他軸感度に影響を及ぼすことがわかる。これは実装誤差により、磁気センサ100に入力される磁場がZ方向の成分を持つことによって生じる。また、200μmの位置ずれに対して、他軸感度は1.5%程度の大きさとなり、X軸およびY軸間の感度ミスマッチと比較して100倍程度の大きさとなることがわかる。   It can be seen that the other-axis sensitivity between the X-axis and the Z-axis increases in accordance with the magnitude of the mounting error in the X-direction, while the other-axis sensitivity between the Y-axis and the Z-axis tends to have a substantially constant value. That is, it can be seen that the mounting error in the X direction affects the other axis sensitivity between the X axis and the Z axis, and the mounting error in the Y direction affects the other axis sensitivity between the Y axis and the Z axis. This occurs because a magnetic field input to the magnetic sensor 100 has a component in the Z direction due to a mounting error. It can also be seen that the sensitivity of the other axis is about 1.5% for a positional deviation of 200 μm, which is about 100 times larger than the sensitivity mismatch between the X axis and the Y axis.

図11は、本実施形態に係る回転磁石410および磁気センサ100の間においてX軸方向に200μmの位置ずれが生じた場合の、回転磁石410から磁気センサ100に印加される磁場ベクトルのX成分およびY成分をシミュレーションした結果の一例を示す。また、図12は、本実施形態に係る回転磁石410および磁気センサ100の間においてX軸方向に200μmの位置ずれが生じた場合の、回転磁石410から磁気センサ100に印加される磁場ベクトルのZ成分をシミュレーションした結果の一例を示す。   FIG. 11 shows the X component of the magnetic field vector applied from the rotating magnet 410 to the magnetic sensor 100 when a positional deviation of 200 μm occurs in the X-axis direction between the rotating magnet 410 and the magnetic sensor 100 according to this embodiment. An example of the result of simulating the Y component is shown. 12 shows the Z of the magnetic field vector applied to the magnetic sensor 100 from the rotating magnet 410 when a positional deviation of 200 μm occurs in the X-axis direction between the rotating magnet 410 and the magnetic sensor 100 according to this embodiment. An example of the result of having simulated the component is shown.

回転磁石410の回転軸が磁気センサ100の中心位置からずれたことにより、磁場ベクトルのZ成分が発生することがわかる。このような実装誤差が、X軸およびY軸間の感度ミスマッチ、X軸およびZ軸間の他軸感度、およびY軸およびZ軸間の他軸感度等と共に誤差要因となった場合、これらの複数の誤差を分離して検出しなければ誤差を補正することができないので、当該誤差を低減することは困難であった。そこで、本実施形態の検出装置200は、これらの誤差を分離して検出し、誤差を補正する誤差パラメータを出力する。検出装置200の動作について、図13を用いて説明する。   It can be seen that the Z component of the magnetic field vector is generated when the rotational axis of the rotating magnet 410 is shifted from the center position of the magnetic sensor 100. If such mounting errors become an error factor together with the sensitivity mismatch between the X axis and the Y axis, the other axis sensitivity between the X axis and the Z axis, the other axis sensitivity between the Y axis and the Z axis, etc. Since errors cannot be corrected unless a plurality of errors are detected separately, it is difficult to reduce the errors. Therefore, the detection apparatus 200 of the present embodiment detects these errors separately and outputs error parameters for correcting the errors. The operation of the detection apparatus 200 will be described with reference to FIG.

図13は、本実施形態に係る検出装置200の動作フローの第2例を示す。図13の動作フローにおいて、図6に示された本実施形態に係る検出装置200の動作フローの動作と略同一のものには同一の符号を付け、説明を省略する。   FIG. 13 shows a second example of the operation flow of the detection apparatus 200 according to this embodiment. In the operation flow of FIG. 13, the same reference numerals are given to the substantially same operations as those of the operation flow of the detection apparatus 200 according to the present embodiment shown in FIG.

まず、磁場印加部400は、回転磁場を磁気センサ100に印加する(S610)。ここで、磁場印加部400は、図11および図12に示すような、Z成分を有する回転磁場ベクトルを磁気センサ100に印加する。このような磁場ベクトルは、積分要素法を用いた静磁場3次元解析により、次式のように示される。
(数14)
(H,H,H)≒(cos(θ),sin(θ),α・sin(θ+β))
First, the magnetic field application unit 400 applies a rotating magnetic field to the magnetic sensor 100 (S610). Here, the magnetic field application unit 400 applies a rotating magnetic field vector having a Z component as shown in FIGS. 11 and 12 to the magnetic sensor 100. Such a magnetic field vector is represented by the following equation by a three-dimensional static magnetic field analysis using the integral element method.
(Equation 14)
(H X , H Y , H Z ) ≈ (cos (θ), sin (θ), α · sin (θ + β))

ここで、αは位置ずれの大きさを示す定数(α<<1)であり、βは位置ずれの方向を示す定数である。このように、理想的には0である磁場ベクトルのZ成分が、実装誤差によって磁気センサ100に印加されることになる。また、磁場ベクトルのX成分とY成分に関しては、図9で示したように位置ずれにより生じるミスマッチ量が小さいことから、位置ずれが生じた場合も(数10)式と同様に、cos(θ)、sin(θ)と近似される。   Here, α is a constant (α << 1) indicating the magnitude of the positional deviation, and β is a constant indicating the direction of the positional deviation. In this way, the Z component of the magnetic field vector, which is ideally 0, is applied to the magnetic sensor 100 due to mounting errors. Further, regarding the X component and the Y component of the magnetic field vector, since the mismatch amount caused by the positional deviation is small as shown in FIG. 9, even when the positional deviation occurs, cos (θ ), Sin (θ).

次に、取得部210は、磁気センサ100の出力信号を取得する(S620)。次に、第1信号算出部220および第2信号算出部230は、取得した出力信号の差分信号および和信号を算出する(S630)。(数14)式に示す磁場ベクトルに対して、第1信号算出部220および第2信号算出部230は、差分信号および和信号を次式のように算出する。
(数15)
=S・cos(θ)+ΔS・α・sin(θ+β)≒S・cos(θ)
=S・sin(θ)+ΔS・α・sin(θ+β)≒S・sin(θ)
Z12=ΔS・cos(θ)+S・α・cos(θ+β)
Z34=ΔS・sin(θ)+S・α・sin(θ+β)
Next, the acquisition unit 210 acquires the output signal of the magnetic sensor 100 (S620). Next, the first signal calculation unit 220 and the second signal calculation unit 230 calculate a difference signal and a sum signal of the acquired output signals (S630). The first signal calculation unit 220 and the second signal calculation unit 230 calculate the difference signal and the sum signal as shown in the following equation with respect to the magnetic field vector represented by the equation (14).
(Equation 15)
V X = S X · cos (θ) + ΔS X · α · sin (θ + β) ≈S X · cos (θ)
V Y = S Y · sin (θ) + ΔS Y · α · sin (θ + β) ≈S Y · sin (θ)
V Z12 = ΔS X · cos (θ) + S X · α · cos (θ + β)
V Z34 = ΔS Y · sin (θ) + S Y · α · sin (θ + β)

なお、差分信号VおよびVにおいて、S>>ΔS・α、S>>ΔS・αより、ΔS・αおよびΔS・αの項を0と近似した。(数15)式より、実装誤差によって発生する他軸感度の項が、和信号VZ12およびVZ34の第2項に相当することがわかる。また、センサ素子の磁気感度に起因する他軸感度は、和信号VZ12およびVZ34において直交関係となるが、実装誤差によって発生する他軸感度は、同相の信号となることがわかる。 In the difference signals V X and V Y , the terms of ΔS X · α and ΔS Y · α were approximated to 0 from S X >> ΔS X · α and S Y >> ΔS Y · α. From the equation (15), it can be seen that the term of the other-axis sensitivity generated due to the mounting error corresponds to the second term of the sum signals V Z12 and V Z34 . In addition, the other-axis sensitivity due to the magnetic sensitivity of the sensor element has an orthogonal relationship in the sum signals V Z12 and V Z34 , but it can be seen that the other-axis sensitivity generated by the mounting error is an in-phase signal.

次に、他軸感度演算部252は、第1信号算出部220および第2信号算出部230が算出した差分信号の振幅値を取得する(S640)。これにより、他軸感度演算部252は、差分信号Vの振幅値SおよびSを取得し、X軸およびY軸間の感度ミスマッチS/S−1を算出することができる。他軸感度演算部252の振幅値の取得については、図6および図7で説明したのでここでは省略する。なお、実装誤差が生じても、図9に示したように、X軸およびY軸間の感度ミスマッチへの影響は比較的小さいので、実装誤差の有無にかかわらず、図6および図7で説明した動作で感度ミスマッチが精度良く算出できると考えられる。 Next, the other-axis sensitivity calculation unit 252 acquires the amplitude value of the difference signal calculated by the first signal calculation unit 220 and the second signal calculation unit 230 (S640). Thereby, the other-axis sensitivity calculation unit 252 can acquire the amplitude values S X and S Y of the difference signal V X and calculate the sensitivity mismatch S X / S Y −1 between the X axis and the Y axis. The acquisition of the amplitude value of the other-axis sensitivity calculation unit 252 has been described with reference to FIGS. Even if a mounting error occurs, as shown in FIG. 9, since the influence on the sensitivity mismatch between the X axis and the Y axis is relatively small, the description will be given with reference to FIGS. 6 and 7 regardless of the presence or absence of the mounting error. It is considered that the sensitivity mismatch can be accurately calculated by the above operation.

次に、他軸感度演算部252は、第1信号算出部220および第2信号算出部230が算出した差分信号および和信号の積を積算する(S670)。即ち、他軸感度演算部252は、第1センサ対110の差分信号および和信号の積と、第2センサ対120の差分信号および和信号の積と、第1センサ対110の差分信号と第2センサ対120の和信号の積と、第2センサ対120の差分信号と第1センサ対110の和信号の積とを、第1センサ対110および第2センサ対120に複数の方向の磁場が印加される毎にそれぞれ積算した積算値と、第1センサ対110の差分信号および第2センサ対120の差分信号のそれぞれの振幅値と、に基づき、第1センサ対110および第2センサ対120の他軸感度誤差を演算する。   Next, the other-axis sensitivity calculation unit 252 integrates the product of the difference signal and the sum signal calculated by the first signal calculation unit 220 and the second signal calculation unit 230 (S670). That is, the other-axis sensitivity calculation unit 252 calculates the product of the difference signal and the sum signal of the first sensor pair 110, the product of the difference signal and the sum signal of the second sensor pair 120, the difference signal of the first sensor pair 110, and the first signal. The product of the sum signal of the two sensor pairs 120, the product of the difference signal of the second sensor pair 120 and the sum signal of the first sensor pair 110, and a magnetic field in a plurality of directions on the first sensor pair 110 and the second sensor pair 120. Is applied to each of the first sensor pair 110 and the second sensor pair 110 based on the integrated value obtained each time the signal is applied and the amplitude values of the difference signal of the first sensor pair 110 and the difference signal of the second sensor pair 120. The other-axis sensitivity error of 120 is calculated.

他軸感度演算部252は、例えば、回転磁石410が1回転(またはn回転)する間に取得する差分信号および和信号の積(VZ12、VZ34、VZ12、およびVZ34)を積算する。これにより、他軸感度演算部252は、次式で示す計算を実行したことに相当する。

Figure 2017003312
Figure 2017003312
Figure 2017003312
Figure 2017003312
The other-axis sensitivity calculation unit 252 is, for example, a product of the difference signal and the sum signal (V X V Z12 , V Y V Z34 , V Y V Z12 ) acquired while the rotary magnet 410 makes one rotation (or n rotations), and V X V Z34 ) is integrated. As a result, the other-axis sensitivity calculation unit 252 corresponds to executing the calculation represented by the following equation.
Figure 2017003312
Figure 2017003312
Figure 2017003312
Figure 2017003312

ここで、他軸感度演算部252は、SおよびSの値を既に取得しているので、センサ素子の感度ミスマッチによる他軸感度を算出することができる(S680)。他軸感度演算部252は、例えば、差分信号および和信号の積の積算結果をそれぞれΣ(VZ12)、Σ(VZ34)、Σ(VZ12)、およびΣ(VZ34)とすると、X軸およびZ軸間の他軸感度ΔS/SおよびY軸およびZ軸間の他軸感度ΔS/Sを、次式のように算出することができる。
(数20)
{Σ(VZ12)/(πS)−Σ(VZ34)/(πS)}/S=ΔS/S
{Σ(VZ34)/(πS)−Σ(VZ12)/(πS)}/S=ΔS/S
Here, since the other axis sensitivity calculation unit 252 has already acquired the values of S X and S Y , it can calculate the other axis sensitivity due to the sensitivity mismatch of the sensor elements (S680). For example, the other-axis sensitivity calculation unit 252 calculates the sum of the product of the difference signal and the sum signal as Σ (V X V Z12 ), Σ (V Y V Z34 ), Σ (V Y V Z12 ), and Σ (V X V Z34 ), the other axis sensitivity ΔS X / S X between the X axis and the Z axis and the other axis sensitivity ΔS Y / S Y between the Y axis and the Z axis can be calculated as follows: .
(Equation 20)
{Σ (V X V Z12 ) / (πS X ) −Σ (V X V Z34 ) / (πS Y )} / S X = ΔS X / S X
{Σ (V Y V Z34 ) / (πS Y ) −Σ (V Y V Z12 ) / (πS X )} / S Y = ΔS Y / S Y

以上のように、他軸感度演算部252は、センサ対間の磁気感度のミスマッチ、およびセンサ素子間の磁気感度のミスマッチによる他軸感度を算出することができるので、当該ミスマッチに基づく誤差を補正する補正パラメータを算出することができる。図14は、本実施形態に係る検出装置200が出力する補正パラメータに基づき、誤差を補正した結果の一例を示す。図14は、上記の計算方法により、実装誤差と他軸感度とを分離し、X軸およびZ軸間の他軸感度およびY軸およびZ軸間の他軸感度を算出して誤差を補正する動作について、積分要素法を用いた静磁場3次元解析によるシミュレーションを実行した結果を示す。   As described above, the other axis sensitivity calculation unit 252 can calculate the other axis sensitivity due to the magnetic sensitivity mismatch between the sensor pairs and the magnetic sensitivity mismatch between the sensor elements, and thus corrects the error based on the mismatch. Correction parameters to be calculated can be calculated. FIG. 14 shows an example of the result of correcting the error based on the correction parameter output from the detection apparatus 200 according to the present embodiment. In FIG. 14, the mounting error and the other axis sensitivity are separated by the above calculation method, and the other axis sensitivity between the X axis and the Z axis and the other axis sensitivity between the Y axis and the Z axis are calculated to correct the error. About operation | movement, the result of having performed the simulation by the static magnetic field three-dimensional analysis using the integral element method is shown.

当該シミュレーションは、図9および図10のシミュレーションと同様に、円柱形状(直径25mm、厚み10mm)の回転磁石410の中心軸と、磁気センサ100の中心位置とにずれが生じた場合の検出誤差を算出した結果である。図14は、横軸が回転磁石410の中心軸および磁気センサ100の中心位置のX方向における相対的なずれ量を示し、縦軸はX軸およびZ軸間の他軸感度100×ΔS/SおよびY軸およびZ軸間の他軸感度100×ΔS/Sを示す。略200μmの相対的な位置ずれに対して他軸感度の検出誤差が1.5%程度生じていた図10の結果と比較して、図14は、検出誤差が1/100以下に改善していることがわかる。 Similar to the simulations of FIG. 9 and FIG. 10, the simulation shows a detection error when a deviation occurs between the central axis of the cylindrical magnet (diameter 25 mm, thickness 10 mm) and the center position of the magnetic sensor 100. This is the calculated result. In FIG. 14, the horizontal axis indicates a relative shift amount in the X direction between the central axis of the rotating magnet 410 and the central position of the magnetic sensor 100, and the vertical axis indicates the other axis sensitivity 100 × ΔS X / between the X axis and the Z axis. The other axis sensitivity 100 × ΔS Y / S Y between S X and Y axis and Z axis is shown. Compared with the result of FIG. 10 in which the detection error of the other-axis sensitivity is about 1.5% with respect to the relative displacement of about 200 μm, FIG. 14 shows that the detection error is improved to 1/100 or less. I understand that.

次に、実装誤差演算部254は、実装誤差を算出する(S690)。実装誤差演算部254は、例えば、差分信号および和信号の積の積算結果Σ(VZ12)およびΣ(VZ34)から、実装誤差を、次式のように算出することができる。
(数21)
Σ(VZ34)/πS=α・sin(β)
Σ(VZ12)/πS=α・cos(β)
Next, the mounting error calculator 254 calculates a mounting error (S690). For example, the mounting error calculation unit 254 can calculate the mounting error from the integration result Σ (V Y V Z12 ) and Σ (V X V Z34 ) of the product of the difference signal and the sum signal as in the following equation. .
(Equation 21)
Σ (V X V Z34 ) / πS X S Y = α · sin (β)
Σ (V Y V Z12 ) / πS X S Y = α · cos (β)

図15は、本実施形態に係る検出装置200が算出する実装誤差の第1例を示す。図16は、本実施形態に係る検出装置200が算出する実装誤差の第2例を示す。図15および図16は、図14と同様のシミュレーションによって、(数21)式からα・sin(β)およびα・cos(β)を算出した結果を示す。図15は、X方向の位置ずれに対するα・sin(β)およびα・cos(β)の値を示す。図15より、X方向の位置ずれに応じて、α・sin(β)の値が変動することがわかる。図16は、Y方向の位置ずれに対するα・sin(β)およびα・cos(β)の値を示す。図16より、Y方向の位置ずれに応じて、α・cos(β)の値が変動することがわかる。   FIG. 15 shows a first example of the mounting error calculated by the detection apparatus 200 according to the present embodiment. FIG. 16 shows a second example of the mounting error calculated by the detection apparatus 200 according to this embodiment. 15 and 16 show the results of calculating α · sin (β) and α · cos (β) from Equation (21) by the same simulation as in FIG. FIG. 15 shows the values of α · sin (β) and α · cos (β) with respect to the positional deviation in the X direction. From FIG. 15, it can be seen that the value of α · sin (β) varies according to the positional deviation in the X direction. FIG. 16 shows the values of α · sin (β) and α · cos (β) with respect to the displacement in the Y direction. From FIG. 16, it can be seen that the value of α · cos (β) varies according to the positional deviation in the Y direction.

なお、図15および図16の縦軸は、回転磁石410の磁石のサイズ、形状、材質等によって定まる相対的な軸である。したがって、例えば、略同一の磁場印加部400を用いて、複数の磁気センサ100のα・sin(β)およびα・cos(β)の値を検出して比較することで、実装誤差(位置ずれの大きさ、方向)を評価することができる。また、予め定められた実装誤差を与えた磁場印加部400および磁気センサ100の検出結果と比較することで、実装誤差を評価してもよい。   15 and 16 is a relative axis determined by the size, shape, material, etc. of the magnet of the rotating magnet 410. Therefore, for example, by using substantially the same magnetic field applying unit 400 to detect and compare the values of α · sin (β) and α · cos (β) of the plurality of magnetic sensors 100, a mounting error (position shift) Can be evaluated. Further, the mounting error may be evaluated by comparing with the detection results of the magnetic field application unit 400 and the magnetic sensor 100 that give a predetermined mounting error.

以上の本実施形態に係る検出装置200は、精度良く磁気センサの誤差を検出し、補正パラメータを算出することができる。また、検出装置200は、他軸感度および実装誤差の複数の誤差が重畳していても、それぞれの誤差を分離して検出することができ、補正パラメータを算出することができる。   The detection apparatus 200 according to this embodiment described above can accurately detect an error of the magnetic sensor and calculate a correction parameter. Further, even if a plurality of errors of other axis sensitivity and mounting error are superimposed, the detection apparatus 200 can detect each error separately and calculate a correction parameter.

以上の本実施形態に係る検出装置200は、磁気センサ100と別個独立に形成されてよく、これに代えて、磁気センサ100の基板10に形成されてよい。この場合、磁気センサ100および検出装置200が一体となったセンサ装置として形成されてもよい。また、磁気センサ100および検出装置200は、磁場印加部400の予め定められた位置に配置されてよい。この場合、磁気センサ100、検出装置200、および磁場印加部400は、一体となった回転角センサ装置として形成されてもよい。   The detection apparatus 200 according to the present embodiment described above may be formed separately from the magnetic sensor 100, or instead, may be formed on the substrate 10 of the magnetic sensor 100. In this case, the magnetic sensor 100 and the detection device 200 may be formed as an integrated sensor device. Further, the magnetic sensor 100 and the detection device 200 may be disposed at a predetermined position of the magnetic field application unit 400. In this case, the magnetic sensor 100, the detection device 200, and the magnetic field application unit 400 may be formed as an integrated rotation angle sensor device.

また、以上の本実施形態に係る検出装置200は、角度演算部240が回転角を出力し、誤差出力部250が磁気センサ100の誤差パラメータを出力することを説明した。ここで、検出装置200は、角度演算部240が出力する回転角を、誤差出力部250が出力する誤差パラメータで補正してよい。   Further, in the detection apparatus 200 according to this embodiment described above, it has been described that the angle calculation unit 240 outputs the rotation angle and the error output unit 250 outputs the error parameter of the magnetic sensor 100. Here, the detection apparatus 200 may correct the rotation angle output by the angle calculation unit 240 with the error parameter output by the error output unit 250.

また、磁気センサ100は、検出装置200が出力する誤差パラメータを記憶してもよい。この場合、磁気センサ100は、検出装置200の検出対象であり、また、当該検出装置200が検出した誤差を補正する誤差パラメータを記憶する記憶部を備え、当該誤差パラメータを用いて検出結果を補正する。これにより、磁気センサ100は、例えば、工場出荷時にそれぞれ個別に誤差を検出して誤差パラメータを記憶してから、市場に投入することができる。これにより、製造バラツキを低減させて精度を向上させた磁気センサ100を供給できる。   Further, the magnetic sensor 100 may store an error parameter output from the detection device 200. In this case, the magnetic sensor 100 is a detection target of the detection device 200, and includes a storage unit that stores an error parameter for correcting an error detected by the detection device 200, and corrects the detection result using the error parameter. To do. As a result, the magnetic sensor 100 can, for example, individually detect an error at the time of factory shipment and store the error parameter before putting it on the market. Thereby, the magnetic sensor 100 which reduced the manufacturing variation and improved the precision can be supplied.

また、検出装置200は、経時変化した磁気センサ100の誤差を検出して誤差パラメータを出力してもよい。これにより、検出装置200は、出荷済の磁気センサ100の再調整、再較正等を容易に実行することができる。   Further, the detection device 200 may detect an error of the magnetic sensor 100 that has changed over time and output an error parameter. Thereby, the detection apparatus 200 can easily perform readjustment, recalibration, and the like of the shipped magnetic sensor 100.

図17は、本実施形態に係る検出装置200として機能するコンピュータ1900のハードウェア構成の一例を示す。本実施形態に係るコンピュータ1900は、ホスト・コントローラ2082により相互に接続されるCPU2000、RAM2020、グラフィック・コントローラ2075、および表示装置2080を有するCPU周辺部と、入出力コントローラ2084によりホスト・コントローラ2082に接続される通信インターフェイス2030、ハードディスクドライブ2040、およびDVDドライブ2060を有する入出力部と、入出力コントローラ2084に接続されるROM2010、フレキシブルディスク・ドライブ2050、および入出力チップ2070を有するレガシー入出力部と、を備える。   FIG. 17 shows an example of a hardware configuration of a computer 1900 that functions as the detection apparatus 200 according to the present embodiment. A computer 1900 according to this embodiment is connected to a CPU peripheral unit having a CPU 2000, a RAM 2020, a graphic controller 2075, and a display device 2080 that are connected to each other by a host controller 2082, and to the host controller 2082 by an input / output controller 2084. An input / output unit having a communication interface 2030, a hard disk drive 2040, and a DVD drive 2060; a legacy input / output unit having a ROM 2010, a flexible disk drive 2050, and an input / output chip 2070 connected to the input / output controller 2084; Is provided.

ホスト・コントローラ2082は、RAM2020と、高い転送レートでRAM2020をアクセスするCPU2000およびグラフィック・コントローラ2075とを接続する。CPU2000は、ROM2010およびRAM2020に格納されたプログラムに基づいて動作し、各部の制御を行う。グラフィック・コントローラ2075は、CPU2000等がRAM2020内に設けたフレーム・バッファ上に生成する画像データを取得し、表示装置2080上に表示させる。これに代えて、グラフィック・コントローラ2075は、CPU2000等が生成する画像データを格納するフレーム・バッファを、内部に含んでもよい。   The host controller 2082 connects the RAM 2020 to the CPU 2000 and the graphic controller 2075 that access the RAM 2020 at a high transfer rate. The CPU 2000 operates based on programs stored in the ROM 2010 and the RAM 2020 and controls each unit. The graphic controller 2075 acquires image data generated by the CPU 2000 or the like on a frame buffer provided in the RAM 2020 and displays it on the display device 2080. Instead of this, the graphic controller 2075 may include a frame buffer for storing image data generated by the CPU 2000 or the like.

入出力コントローラ2084は、ホスト・コントローラ2082と、比較的高速な入出力装置である通信インターフェイス2030、ハードディスクドライブ2040、DVDドライブ2060を接続する。通信インターフェイス2030は、ネットワークを介して他の装置と通信する。ハードディスクドライブ2040は、コンピュータ1900内のCPU2000が使用するプログラムおよびデータを格納する。DVDドライブ2060は、DVD−ROM2095からプログラムまたはデータを読み取り、RAM2020を介してハードディスクドライブ2040に提供する。   The input / output controller 2084 connects the host controller 2082 to the communication interface 2030, the hard disk drive 2040, and the DVD drive 2060, which are relatively high-speed input / output devices. The communication interface 2030 communicates with other devices via a network. The hard disk drive 2040 stores programs and data used by the CPU 2000 in the computer 1900. The DVD drive 2060 reads a program or data from the DVD-ROM 2095 and provides it to the hard disk drive 2040 via the RAM 2020.

また、入出力コントローラ2084には、ROM2010と、フレキシブルディスク・ドライブ2050、および入出力チップ2070の比較的低速な入出力装置とが接続される。ROM2010は、コンピュータ1900が起動時に実行するブート・プログラム、および/または、コンピュータ1900のハードウェアに依存するプログラム等を格納する。フレキシブルディスク・ドライブ2050は、フレキシブルディスク2090からプログラムまたはデータを読み取り、RAM2020を介してハードディスクドライブ2040に提供する。入出力チップ2070は、フレキシブルディスク・ドライブ2050を入出力コントローラ2084へと接続すると共に、例えばパラレル・ポート、シリアル・ポート、キーボード・ポート、マウス・ポート等を介して各種の入出力装置を入出力コントローラ2084へと接続する。   The input / output controller 2084 is connected to the ROM 2010, the flexible disk drive 2050, and the relatively low-speed input / output device of the input / output chip 2070. The ROM 2010 stores a boot program that the computer 1900 executes at startup and / or a program that depends on the hardware of the computer 1900. The flexible disk drive 2050 reads a program or data from the flexible disk 2090 and provides it to the hard disk drive 2040 via the RAM 2020. The input / output chip 2070 connects the flexible disk drive 2050 to the input / output controller 2084 and inputs / outputs various input / output devices via, for example, a parallel port, a serial port, a keyboard port, a mouse port, and the like. Connect to controller 2084.

RAM2020を介してハードディスクドライブ2040に提供されるプログラムは、フレキシブルディスク2090、DVD−ROM2095、またはICカード等の記録媒体に格納されて利用者によって提供される。プログラムは、記録媒体から読み出され、RAM2020を介してコンピュータ1900内のハードディスクドライブ2040にインストールされ、CPU2000において実行される。   A program provided to the hard disk drive 2040 via the RAM 2020 is stored in a recording medium such as the flexible disk 2090, the DVD-ROM 2095, or an IC card and provided by the user. The program is read from the recording medium, installed in the hard disk drive 2040 in the computer 1900 via the RAM 2020, and executed by the CPU 2000.

プログラムは、コンピュータ1900にインストールされ、コンピュータ1900を取得部210、第1信号算出部220、第2信号算出部230、角度演算部240、誤差出力部250、他軸感度演算部252、および実装誤差演算部254として機能させる。   The program is installed in the computer 1900, and the computer 1900 is acquired by the acquisition unit 210, the first signal calculation unit 220, the second signal calculation unit 230, the angle calculation unit 240, the error output unit 250, the other axis sensitivity calculation unit 252, and the mounting error. The calculation unit 254 functions.

プログラムに記述された情報処理は、コンピュータ1900に読込まれることにより、ソフトウェアと上述した各種のハードウェア資源とが協働した具体的手段である取得部210、第1信号算出部220、第2信号算出部230、角度演算部240、誤差出力部250、他軸感度演算部252、および実装誤差演算部254として機能する。そして、この具体的手段によって、本実施形態におけるコンピュータ1900の使用目的に応じた情報の演算または加工を実現することにより、使用目的に応じた特有の検出装置200が構築される。   The information processing described in the program is read into the computer 1900, whereby the acquisition unit 210, the first signal calculation unit 220, and the second are specific means in which the software and the various hardware resources described above cooperate. It functions as a signal calculation unit 230, an angle calculation unit 240, an error output unit 250, an other-axis sensitivity calculation unit 252, and a mounting error calculation unit 254. And the specific detection apparatus 200 according to the intended purpose is constructed | assembled by implement | achieving the calculation or processing of the information according to the intended purpose of the computer 1900 in this embodiment by this concrete means.

一例として、コンピュータ1900と外部の装置等との間で通信を行う場合には、CPU2000は、RAM2020上にロードされた通信プログラムを実行し、通信プログラムに記述された処理内容に基づいて、通信インターフェイス2030に対して通信処理を指示する。通信インターフェイス2030は、CPU2000の制御を受けて、RAM2020、ハードディスクドライブ2040、フレキシブルディスク2090、またはDVD−ROM2095等の記憶装置上に設けた送信バッファ領域等に記憶された送信データを読み出してネットワークへと送信し、もしくは、ネットワークから受信した受信データを記憶装置上に設けた受信バッファ領域等へと書き込む。このように、通信インターフェイス2030は、DMA(ダイレクト・メモリ・アクセス)方式により記憶装置との間で送受信データを転送してもよく、これに代えて、CPU2000が転送元の記憶装置または通信インターフェイス2030からデータを読み出し、転送先の通信インターフェイス2030または記憶装置へとデータを書き込むことにより送受信データを転送してもよい。   As an example, when communication is performed between the computer 1900 and an external device or the like, the CPU 2000 executes a communication program loaded on the RAM 2020 and executes a communication interface based on the processing content described in the communication program. A communication process is instructed to 2030. Under the control of the CPU 2000, the communication interface 2030 reads transmission data stored in a transmission buffer area or the like provided on a storage device such as the RAM 2020, the hard disk drive 2040, the flexible disk 2090, or the DVD-ROM 2095, and sends it to the network. The reception data transmitted or received from the network is written into a reception buffer area or the like provided on the storage device. As described above, the communication interface 2030 may transfer transmission / reception data to / from the storage device by the DMA (Direct Memory Access) method. Instead, the CPU 2000 transfers the storage device or the communication interface 2030 as the transfer source. The transmission / reception data may be transferred by reading the data from the data and writing the data to the communication interface 2030 or the storage device of the transfer destination.

また、CPU2000は、ハードディスクドライブ2040、DVDドライブ2060(DVD−ROM2095)、フレキシブルディスク・ドライブ2050(フレキシブルディスク2090)等の外部記憶装置に格納されたファイルまたはデータベース等の中から、全部または必要な部分をDMA転送等によりRAM2020へと読み込ませ、RAM2020上のデータに対して各種の処理を行う。そして、CPU2000は、処理を終えたデータを、DMA転送等により外部記憶装置へと書き戻す。このような処理において、RAM2020は、外部記憶装置の内容を一時的に保持するものとみなせるから、本実施形態においてはRAM2020および外部記憶装置等をメモリ、記憶部、または記憶装置等と総称する。本実施形態における各種のプログラム、データ、テーブル、データベース等の各種の情報は、このような記憶装置上に格納されて、情報処理の対象となる。なお、CPU2000は、RAM2020の一部をキャッシュメモリに保持し、キャッシュメモリ上で読み書きを行うこともできる。このような形態においても、キャッシュメモリはRAM2020の機能の一部を担うから、本実施形態においては、区別して示す場合を除き、キャッシュメモリもRAM2020、メモリ、および/または記憶装置に含まれるものとする。   In addition, the CPU 2000 includes all or necessary portions of files or databases stored in an external storage device such as the hard disk drive 2040, the DVD drive 2060 (DVD-ROM 2095), and the flexible disk drive 2050 (flexible disk 2090). Are read into the RAM 2020 by DMA transfer or the like, and various processes are performed on the data on the RAM 2020. Then, CPU 2000 writes the processed data back to the external storage device by DMA transfer or the like. In such processing, since the RAM 2020 can be regarded as temporarily holding the contents of the external storage device, in the present embodiment, the RAM 2020 and the external storage device are collectively referred to as a memory, a storage unit, or a storage device. Various types of information such as various programs, data, tables, and databases in the present embodiment are stored on such a storage device and are subjected to information processing. Note that the CPU 2000 can also store a part of the RAM 2020 in the cache memory and perform reading and writing on the cache memory. Even in such a form, the cache memory bears a part of the function of the RAM 2020. Therefore, in the present embodiment, the cache memory is also included in the RAM 2020, the memory, and / or the storage device unless otherwise indicated. To do.

また、CPU2000は、RAM2020から読み出したデータに対して、プログラムの命令列により指定された、本実施形態中に記載した各種の演算、情報の加工、条件判断、情報の検索・置換等を含む各種の処理を行い、RAM2020へと書き戻す。例えば、CPU2000は、条件判断を行う場合においては、本実施形態において示した各種の変数が、他の変数または定数と比較して、大きい、小さい、以上、以下、等しい等の条件を満たすかどうかを判断し、条件が成立した場合(または不成立であった場合)に、異なる命令列へと分岐し、またはサブルーチンを呼び出す。   In addition, the CPU 2000 performs various operations, such as various operations, information processing, condition determination, information search / replacement, etc., described in the present embodiment, specified for the data read from the RAM 2020 by the instruction sequence of the program. Is written back to the RAM 2020. For example, when performing the condition determination, the CPU 2000 determines whether the various variables shown in the present embodiment satisfy the conditions such as large, small, above, below, equal, etc., compared to other variables or constants. When the condition is satisfied (or not satisfied), the program branches to a different instruction sequence or calls a subroutine.

また、CPU2000は、記憶装置内のファイルまたはデータベース等に格納された情報を検索することができる。例えば、第1属性の属性値に対し第2属性の属性値がそれぞれ対応付けられた複数のエントリが記憶装置に格納されている場合において、CPU2000は、記憶装置に格納されている複数のエントリの中から第1属性の属性値が指定された条件と一致するエントリを検索し、そのエントリに格納されている第2属性の属性値を読み出すことにより、所定の条件を満たす第1属性に対応付けられた第2属性の属性値を得ることができる。   Further, the CPU 2000 can search for information stored in a file or database in the storage device. For example, in the case where a plurality of entries in which the attribute value of the second attribute is associated with the attribute value of the first attribute are stored in the storage device, the CPU 2000 displays the plurality of entries stored in the storage device. The entry that matches the condition in which the attribute value of the first attribute is specified is retrieved, and the attribute value of the second attribute that is stored in the entry is read, thereby associating with the first attribute that satisfies the predetermined condition The attribute value of the specified second attribute can be obtained.

以上に示したプログラムまたはモジュールは、外部の記録媒体に格納されてもよい。記録媒体としては、フレキシブルディスク2090、DVD−ROM2095の他に、DVD、Blu−ray(登録商標)、またはCD等の光学記録媒体、MO等の光磁気記録媒体、テープ媒体、ICカード等の半導体メモリ等を用いることができる。また、専用通信ネットワークまたはインターネットに接続されたサーバシステムに設けたハードディスクまたはRAM等の記憶装置を記録媒体として使用し、ネットワークを介してプログラムをコンピュータ1900に提供してもよい。   The program or module shown above may be stored in an external recording medium. As a recording medium, in addition to the flexible disk 2090 and the DVD-ROM 2095, an optical recording medium such as a DVD, Blu-ray (registered trademark), or a CD, a magneto-optical recording medium such as an MO, a tape medium, a semiconductor such as an IC card, etc. A memory or the like can be used. Further, a storage device such as a hard disk or a RAM provided in a server system connected to a dedicated communication network or the Internet may be used as a recording medium, and the program may be provided to the computer 1900 via the network.

以上、本発明を実施の形態を用いて説明したが、本発明の技術的範囲は上記実施の形態に記載の範囲には限定されない。上記実施の形態に、多様な変更または改良を加えることが可能であることが当業者に明らかである。その様な変更または改良を加えた形態も本発明の技術的範囲に含まれ得ることが、特許請求の範囲の記載から明らかである。   As mentioned above, although this invention was demonstrated using embodiment, the technical scope of this invention is not limited to the range as described in the said embodiment. It will be apparent to those skilled in the art that various modifications or improvements can be added to the above-described embodiment. It is apparent from the scope of the claims that the embodiments added with such changes or improvements can be included in the technical scope of the present invention.

特許請求の範囲、明細書、および図面中において示した装置、システム、プログラム、および方法における動作、手順、ステップ、および段階等の各処理の実行順序は、特段「より前に」、「先立って」等と明示しておらず、また、前の処理の出力を後の処理で用いるのでない限り、任意の順序で実現しうることに留意すべきである。特許請求の範囲、明細書、および図面中の動作フローに関して、便宜上「まず、」、「次に、」等を用いて説明したとしても、この順で実施することが必須であることを意味するものではない。   The order of execution of each process such as operations, procedures, steps, and stages in the apparatus, system, program, and method shown in the claims, the description, and the drawings is particularly “before” or “prior to”. It should be noted that the output can be realized in any order unless the output of the previous process is used in the subsequent process. Regarding the operation flow in the claims, the description, and the drawings, even if it is described using “first”, “next”, etc. for convenience, it means that it is essential to carry out in this order. It is not a thing.

10 基板、100 磁気センサ、110 第1センサ対、112 第1センサ素子、114 第2センサ素子、120 第2センサ対、122 第3センサ素子、124 第4センサ素子、130 磁気収束板、200 検出装置、210 取得部、220 第1信号算出部、230 第2信号算出部、240 角度演算部、250 誤差出力部、252 他軸感度演算部、254 実装誤差演算部、400 磁場印加部、410 回転磁石、412 回転軸、420 モーター、1900 コンピュータ、2000 CPU、2010 ROM、2020 RAM、2030 通信インターフェイス、2040 ハードディスクドライブ、2050 フレキシブルディスク・ドライブ、2060 DVDドライブ、2070 入出力チップ、2075 グラフィック・コントローラ、2080 表示装置、2082 ホスト・コントローラ、2084 入出力コントローラ、2090 フレキシブルディスク、2095 DVD−ROM 10 substrate, 100 magnetic sensor, 110 first sensor pair, 112 first sensor element, 114 second sensor element, 120 second sensor pair, 122 third sensor element, 124 fourth sensor element, 130 magnetic convergence plate, 200 detection Apparatus, 210 acquisition unit, 220 first signal calculation unit, 230 second signal calculation unit, 240 angle calculation unit, 250 error output unit, 252 other axis sensitivity calculation unit, 254 mounting error calculation unit, 400 magnetic field application unit, 410 rotation Magnet, 412 Rotating shaft, 420 Motor, 1900 Computer, 2000 CPU, 2010 ROM, 2020 RAM, 2030 Communication interface, 2040 Hard disk drive, 2050 Flexible disk drive, 2060 DVD drive, 2070 I / O chip, 2075 graph Click controller, 2080 display device, 2082 host controller, 2084 input-output controller, 2090 flexible disk, 2095 DVD-ROM

Claims (14)

第1センサ対および第2センサ対を有する磁気センサの誤差を検出する検出装置であって、
前記磁気センサの出力信号を取得する取得部と、
前記第1センサ対の出力信号の差分信号および和信号を算出する第1信号算出部と、
前記第2センサ対の出力信号の差分信号および和信号を算出する第2信号算出部と、
前記第1信号算出部および前記第2信号算出部の算出結果に基づき、前記磁気センサの誤差パラメータを出力する誤差出力部と、
を備える検出装置。
A detection device for detecting an error of a magnetic sensor having a first sensor pair and a second sensor pair,
An acquisition unit for acquiring an output signal of the magnetic sensor;
A first signal calculation unit for calculating a difference signal and a sum signal of output signals of the first sensor pair;
A second signal calculation unit for calculating a difference signal and a sum signal of the output signals of the second sensor pair;
An error output unit that outputs an error parameter of the magnetic sensor based on the calculation results of the first signal calculation unit and the second signal calculation unit;
A detection device comprising:
前記磁気センサに予め定められた複数の方向の磁場を印加する磁場印加部を備え、
前記誤差出力部は、前記磁気センサに印加された前記複数の方向の磁場に応じた前記第1信号算出部および前記第2信号算出部の算出結果に基づき、前記磁気センサの前記誤差パラメータを出力する請求項1に記載の検出装置。
A magnetic field application unit that applies magnetic fields in a plurality of predetermined directions to the magnetic sensor;
The error output unit outputs the error parameter of the magnetic sensor based on the calculation results of the first signal calculation unit and the second signal calculation unit according to the magnetic fields in the plurality of directions applied to the magnetic sensor. The detection device according to claim 1.
前記取得部は、前記磁気センサに印加される予め定められた複数の方向の磁場に応じた当該磁気センサの出力信号を取得する請求項2に記載の検出装置。   The detection device according to claim 2, wherein the acquisition unit acquires an output signal of the magnetic sensor according to magnetic fields in a plurality of predetermined directions applied to the magnetic sensor. 前記第1センサ対および前記第2センサ対は、前記第1センサ対の配列方向である第1軸、前記第2センサ対の配列方向である第2軸、ならびに第1軸および第2軸に垂直な第3軸の各軸方向の磁場を検出するものであり、
前記誤差出力部は、前記第1センサ対および前記第2センサ対の他軸感度誤差を演算する他軸感度演算部を有する請求項2または3に記載の検出装置。
The first sensor pair and the second sensor pair include a first axis that is an arrangement direction of the first sensor pair, a second axis that is an arrangement direction of the second sensor pair, and a first axis and a second axis. It detects the magnetic field in each axial direction of the vertical third axis,
The detection apparatus according to claim 2, wherein the error output unit includes an other-axis sensitivity calculation unit that calculates an other-axis sensitivity error of the first sensor pair and the second sensor pair.
前記誤差出力部は、前記磁気センサおよび前記磁場印加部の相対位置の誤差を前記磁気センサの実装誤差として演算する実装誤差演算部を有する請求項4に記載の検出装置。   The detection apparatus according to claim 4, wherein the error output unit includes a mounting error calculation unit that calculates an error in a relative position between the magnetic sensor and the magnetic field application unit as a mounting error of the magnetic sensor. 前記他軸感度演算部は、
前記第1センサ対の差分信号および前記第2センサ対の差分信号のそれぞれの振幅値と、
前記第1センサ対の差分信号および和信号の積と、前記第2センサ対の差分信号および和信号の積とを、前記第1センサ対および前記第2センサ対に前記複数の方向の磁場が印加される毎にそれぞれ積算した積算値と、
に基づき、
前記第1センサ対および前記第2センサ対の他軸感度誤差を演算する請求項4または5に記載の検出装置。
The other-axis sensitivity calculation unit is
Amplitude values of the difference signal of the first sensor pair and the difference signal of the second sensor pair,
The product of the difference signal and the sum signal of the first sensor pair and the product of the difference signal and the sum signal of the second sensor pair are obtained by applying a magnetic field in the plurality of directions to the first sensor pair and the second sensor pair. Each integrated value each time it is applied,
Based on
The detection device according to claim 4, wherein the other-axis sensitivity error of the first sensor pair and the second sensor pair is calculated.
前記他軸感度演算部は、
前記第1センサ対の差分信号および和信号の積と、
前記第2センサ対の差分信号および和信号の積と、
前記第1センサ対の差分信号と前記第2センサ対の和信号の積と、
前記第2センサ対の差分信号と前記第1センサ対の和信号の積とを、
前記第1センサ対および前記第2センサ対に前記複数の方向の磁場が印加される毎にそれぞれ積算した積算値と、
前記第1センサ対の差分信号および前記第2センサ対の差分信号のそれぞれの振幅値と、
に基づき、
前記第1センサ対および前記第2センサ対の他軸感度誤差を演算する請求項4または5に記載の検出装置。
The other-axis sensitivity calculation unit is
A product of the difference signal and the sum signal of the first sensor pair;
The product of the difference signal and sum signal of the second sensor pair;
The product of the difference signal of the first sensor pair and the sum signal of the second sensor pair;
The product of the difference signal of the second sensor pair and the sum signal of the first sensor pair,
Integrated values each integrated each time the magnetic field in the plurality of directions is applied to the first sensor pair and the second sensor pair;
Amplitude values of the difference signal of the first sensor pair and the difference signal of the second sensor pair,
Based on
The detection device according to claim 4, wherein the other-axis sensitivity error of the first sensor pair and the second sensor pair is calculated.
前記磁場印加部は、前記磁気センサに印加する磁場の方向を、予め定められた方向に変化させ、
前記誤差出力部は、前記予め定められた方向に変化する磁場に応じた前記第1信号算出部および前記第2信号算出部の算出結果に基づき、前記磁気センサの前記誤差パラメータを出力する請求項2から7のいずれか一項に記載の検出装置。
The magnetic field application unit changes the direction of the magnetic field applied to the magnetic sensor to a predetermined direction,
The error output unit outputs the error parameter of the magnetic sensor based on a calculation result of the first signal calculation unit and the second signal calculation unit according to a magnetic field that changes in the predetermined direction. The detection device according to any one of 2 to 7.
請求項1から7のいずれか一項に記載の検出装置が検出した誤差を補正する前記誤差パラメータを記憶する記憶部を備え、当該検出装置の検出対象である磁気センサ。   A magnetic sensor that includes a storage unit that stores the error parameter for correcting an error detected by the detection device according to claim 1, and is a detection target of the detection device. 第1センサ対および第2センサ対を有する磁気センサの誤差を検出する検出方法であって、
前記磁気センサの出力信号を取得する取得段階と、
前記第1センサ対の出力信号の差分信号および和信号を算出する第1信号算出段階と、
前記第2センサ対の出力信号の差分信号および和信号を算出する第2信号算出段階と、
前記第1信号算出段階および第2信号算出段階の算出結果に基づき、前記磁気センサの誤差パラメータを出力する誤差出力段階と、
を備える検出方法。
A detection method for detecting an error of a magnetic sensor having a first sensor pair and a second sensor pair,
Obtaining an output signal of the magnetic sensor;
A first signal calculating step of calculating a difference signal and a sum signal of the output signals of the first sensor pair;
A second signal calculating step of calculating a difference signal and a sum signal of the output signals of the second sensor pair;
An error output step of outputting an error parameter of the magnetic sensor based on the calculation results of the first signal calculation step and the second signal calculation step;
A detection method comprising:
前記取得段階は、前記磁気センサに印加される予め定められた複数の方向の磁場に応じた当該磁気センサの出力信号を取得し、
前記誤差出力段階は、前記複数の方向の磁場に応じた前記第1信号算出段階および第2信号算出段階の算出結果に基づき、前記磁気センサの誤差パラメータを出力する請求項10に記載の検出方法。
The obtaining step obtains an output signal of the magnetic sensor according to magnetic fields in a plurality of predetermined directions applied to the magnetic sensor,
The detection method according to claim 10, wherein the error output step outputs error parameters of the magnetic sensor based on the calculation results of the first signal calculation step and the second signal calculation step according to the magnetic fields in the plurality of directions. .
前記誤差出力段階は、前記第1信号算出段階および第2信号算出段階の算出結果に基づき、前記磁気センサの他軸感度誤差を演算する他軸感度演算段階を有する請求項10または11に記載の検出方法。   The said error output step has the other-axis sensitivity calculation step which calculates the other-axis sensitivity error of the said magnetic sensor based on the calculation result of the said 1st signal calculation step and the 2nd signal calculation step. Detection method. 前記誤差出力段階は、前記第1信号算出段階および第2信号算出段階の算出結果に基づき、前記磁気センサの実装誤差を演算する実装誤差演算段階を有する請求項10から12のいずれか一項に記載の検出方法。   The error output stage includes a mounting error calculation stage that calculates a mounting error of the magnetic sensor based on the calculation results of the first signal calculation stage and the second signal calculation stage. The detection method described. コンピュータに、請求項10から13のいずれか一項に記載の検出方法を実行させるためのプログラム。   A program for causing a computer to execute the detection method according to any one of claims 10 to 13.
JP2015114925A 2015-06-05 2015-06-05 Detection device, magnetic sensor, detection method, and program Active JP6530245B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015114925A JP6530245B2 (en) 2015-06-05 2015-06-05 Detection device, magnetic sensor, detection method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015114925A JP6530245B2 (en) 2015-06-05 2015-06-05 Detection device, magnetic sensor, detection method, and program

Publications (2)

Publication Number Publication Date
JP2017003312A true JP2017003312A (en) 2017-01-05
JP6530245B2 JP6530245B2 (en) 2019-06-12

Family

ID=57752714

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015114925A Active JP6530245B2 (en) 2015-06-05 2015-06-05 Detection device, magnetic sensor, detection method, and program

Country Status (1)

Country Link
JP (1) JP6530245B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019045496A (en) * 2017-08-31 2019-03-22 旭化成エレクトロニクス株式会社 Measurement device and measurement method
US10921156B2 (en) 2018-04-10 2021-02-16 Simmonds Precision Products, Inc. Rotary encoder with additive manufacturing features
US11193794B2 (en) 2019-06-21 2021-12-07 Asahi Kasei Microdevices Corporation Rotation angle sensor, angle signal calculation method and non-transitory computer readable medium
US11497425B2 (en) 2019-03-08 2022-11-15 Asahi Kasei Microdevices Corporation Magnetic field measurement apparatus
US11927646B2 (en) 2018-12-26 2024-03-12 Asahi Kasei Microdevices Corporation Magnetic field measuring apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006042537A (en) * 2004-07-29 2006-02-09 Japan Servo Co Ltd Brushless dc motor added with magnetic encoder and signal processing circuit
US20120153940A1 (en) * 2010-12-20 2012-06-21 Joral Llc Magnetically Coupled Rotary Magnetic Encoder with Angle Error Reduction
WO2013076839A1 (en) * 2011-11-24 2013-05-30 トヨタ自動車株式会社 Rotational-angle detection device and electric power-steering device provided with rotational-angle detection device
JP2013117442A (en) * 2011-12-02 2013-06-13 Fujikura Ltd Bearing error compensation device, bearing error compensation method, bearing error compensation program, error angle compensation apparatus, triaxial magnetic sensor and sensor module
JP2015075465A (en) * 2013-10-11 2015-04-20 旭化成エレクトロニクス株式会社 Three-dimensional magnetic field measuring apparatus and three-dimensional magnetic field measuring method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006042537A (en) * 2004-07-29 2006-02-09 Japan Servo Co Ltd Brushless dc motor added with magnetic encoder and signal processing circuit
US20120153940A1 (en) * 2010-12-20 2012-06-21 Joral Llc Magnetically Coupled Rotary Magnetic Encoder with Angle Error Reduction
WO2013076839A1 (en) * 2011-11-24 2013-05-30 トヨタ自動車株式会社 Rotational-angle detection device and electric power-steering device provided with rotational-angle detection device
JP2013117442A (en) * 2011-12-02 2013-06-13 Fujikura Ltd Bearing error compensation device, bearing error compensation method, bearing error compensation program, error angle compensation apparatus, triaxial magnetic sensor and sensor module
JP2015075465A (en) * 2013-10-11 2015-04-20 旭化成エレクトロニクス株式会社 Three-dimensional magnetic field measuring apparatus and three-dimensional magnetic field measuring method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019045496A (en) * 2017-08-31 2019-03-22 旭化成エレクトロニクス株式会社 Measurement device and measurement method
US10921156B2 (en) 2018-04-10 2021-02-16 Simmonds Precision Products, Inc. Rotary encoder with additive manufacturing features
US11927646B2 (en) 2018-12-26 2024-03-12 Asahi Kasei Microdevices Corporation Magnetic field measuring apparatus
US11497425B2 (en) 2019-03-08 2022-11-15 Asahi Kasei Microdevices Corporation Magnetic field measurement apparatus
US11193794B2 (en) 2019-06-21 2021-12-07 Asahi Kasei Microdevices Corporation Rotation angle sensor, angle signal calculation method and non-transitory computer readable medium

Also Published As

Publication number Publication date
JP6530245B2 (en) 2019-06-12

Similar Documents

Publication Publication Date Title
JP6530245B2 (en) Detection device, magnetic sensor, detection method, and program
JP2016061708A (en) Calibration method of rotation angle sensor, calibration method of rotation angle sensor module, calibration parameter generation device, rotation angle sensor, rotation angle sensor module and program
WO2016027838A1 (en) Failure diagnosis device, rotation angle sensor, failure diagnosis method, and program
JP2007040850A (en) Rotating angle sensor
US20120078562A1 (en) Geomagnetic sensing device
JP6860029B2 (en) Position detector, signal processing circuit and magnetic sensor system
JP2005061969A (en) Azimuthal angle measuring instrument and azimuthal angle measuring method
JP6352540B2 (en) Detection device, rotation angle detection device, detection method, and program
WO2016031674A1 (en) Error correction device, rotational-angle detection device, rotational-angle sensor, error correction method, and program
CN105209856B (en) dynamically calibrating magnetic sensors
JP2019035629A (en) Calibration device, calibration method, rotational angle detector, and program
JP2019171019A (en) Magnetocardiograph measurement device, calibration method, and calibration program
JP2008510159A (en) Method and apparatus for calibrating the rotational relationship of two motion sensors in a sensor system
US11187823B2 (en) Correcting distortions
JP2019028037A (en) Rotation angle sensor calibration method, module calibration method, calibration parameter generation device, rotation angle sensor, rotation angle sensor module and program
JP2021001879A (en) Rotation angle sensor, and method and program for calculating angle signal
CN105865492B (en) The online error compensating method of two axis magnetometers and system
JP4151785B2 (en) Azimuth measuring device, azimuth measuring program, and azimuth measuring method
JP2012237682A (en) Multi-axis sensor output correction device and multi-axis sensor output correction method
JP2020134149A (en) Signal processing circuit and magnetic sensor system
EP2615416B1 (en) Electronic bias compensation for a gyroscope
JP6535292B2 (en) Abnormality diagnosis device, abnormality diagnosis method, and program
US20230194635A1 (en) Hall sensor, method for calibrating a hall sensor, and calibration apparatus for a hall sensor
JP2021076606A (en) Method and device for creating calibration value for calibrating inertial measurement unit for vehicle
JP6908067B2 (en) Signal processing circuits, position detectors and magnetic sensor systems

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180202

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190205

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190327

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190516

R150 Certificate of patent or registration of utility model

Ref document number: 6530245

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150