JP2018017584A - Detection means, angle sensor, and angle calculation method - Google Patents

Detection means, angle sensor, and angle calculation method Download PDF

Info

Publication number
JP2018017584A
JP2018017584A JP2016147499A JP2016147499A JP2018017584A JP 2018017584 A JP2018017584 A JP 2018017584A JP 2016147499 A JP2016147499 A JP 2016147499A JP 2016147499 A JP2016147499 A JP 2016147499A JP 2018017584 A JP2018017584 A JP 2018017584A
Authority
JP
Japan
Prior art keywords
angle
magnet
magnetic sensor
inclination
magnetic field
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
JP2016147499A
Other languages
Japanese (ja)
Other versions
JP6767701B2 (en
Inventor
康友 山野井
Koyu Yamanoi
康友 山野井
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.)
Smart Sensing Co Ltd
Original Assignee
Smart Sensing 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 Smart Sensing Co Ltd filed Critical Smart Sensing Co Ltd
Priority to JP2016147499A priority Critical patent/JP6767701B2/en
Publication of JP2018017584A publication Critical patent/JP2018017584A/en
Application granted granted Critical
Publication of JP6767701B2 publication Critical patent/JP6767701B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Transmission And Conversion Of Sensor Element Output (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide detection means which solves, by a simple configuration, the problem of inability to calculating a rotational angle in the horizontal direction and a deflection angle (inclination).SOLUTION: The present invention includes: a magnetic sensor having a bridge circuit outputting a voltage value according to the direction of an input magnetic field; a magnet with an S-pole and an N-pole facing a magnetic field detection surface of the magnetic sensor; and angle calculation means for calculating a rotational angle of the magnet around the axis in the vertical direction to the magnetic field detection surface of the magnetic sensor based on the voltage value output from the magnetic sensor and calculating the angle of the inclination of the magnet to the magnetic field detection surface based on a predetermined reference value and the voltage value output from the magnetic sensor.SELECTED DRAWING: Figure 1

Description

本発明は、検出手段、角度センサ、角度算出方法に係り、特に、磁界を利用して回転角を検出する検出手段、角度センサ、角度算出方法に関する。   The present invention relates to a detection unit, an angle sensor, and an angle calculation method, and more particularly, to a detection unit, an angle sensor, and an angle calculation method that detect a rotation angle using a magnetic field.

一対の磁気センサと、当該磁気センサと相対する向きに設置された磁石と、から構成され、磁界を検出して磁石の回転した角度を検出する角度センサが知られている。   There is known an angle sensor that includes a pair of magnetic sensors and a magnet installed in a direction opposite to the magnetic sensor and detects a rotation angle of the magnet by detecting a magnetic field.

このような角度センサの一例として、例えば、特許文献1がある。特許文献1には、磁石と、少なくとも1対の磁気センサとを備えた回転角度センサが記載されている。具体的には、少なくとも1対の磁気センサは、磁石の円板面に平行な平面上に、該平面と磁石の回転中心線との交点とほぼ一致する基準点から対称的な位置に配置されており、基準点から磁気センサの中心までの距離は磁石の半径と異なるよう構成されている。特許文献1によると、このように構成することで、軸ずれによる角度誤差を小さくすることが出来る。   An example of such an angle sensor is, for example, Patent Document 1. Patent Document 1 describes a rotation angle sensor including a magnet and at least one pair of magnetic sensors. Specifically, at least one pair of magnetic sensors is arranged on a plane parallel to the disk surface of the magnet at a symmetrical position from a reference point that substantially coincides with the intersection of the plane and the rotation center line of the magnet. The distance from the reference point to the center of the magnetic sensor is different from the radius of the magnet. According to Japanese Patent Application Laid-Open No. 2004-228561, with such a configuration, it is possible to reduce the angle error due to the axis deviation.

特開2003−240602号公報JP 2003-240602 A

特許文献1に記載の技術の場合、水平方向に回転した角度を導くことが出来る。しかしながら、一方で、特許文献1に記載されているような技術の場合、磁石がどのくらい磁気センサとの平行面から垂直方向に偏向しているか(傾いているか)を導き出すことは出来ない。このような傾きを導き出すためには、垂直方向に同様の構造を有するもう1組の磁石と磁気センサを設けることが必要となる。その結果、構成が複雑になる、などの問題が生じていた。   In the case of the technique described in Patent Document 1, an angle rotated in the horizontal direction can be derived. On the other hand, however, in the case of the technique described in Patent Document 1, it is impossible to derive how much the magnet is deflected (tilted) in the vertical direction from the plane parallel to the magnetic sensor. In order to derive such an inclination, it is necessary to provide another set of magnets and magnetic sensors having the same structure in the vertical direction. As a result, problems such as a complicated configuration have occurred.

このように、水平方向の回転角を算出するとともに、傾きを算出するためには、複数の装置を用いることが必要になる、という問題が生じていた。換言すると、簡易な構造で、水平方向の回転角を算出するとともに偏向角度(傾き)を算出することが不可能である、という問題が生じていた。   Thus, in order to calculate the rotation angle in the horizontal direction and to calculate the inclination, there has been a problem that it is necessary to use a plurality of devices. In other words, there has been a problem that it is impossible to calculate the rotation angle in the horizontal direction and the deflection angle (tilt) with a simple structure.

そこで、本発明の目的は、簡易な構造で、水平方向の回転角を算出するとともに偏向角度(傾き)を算出することが不可能である、という問題を解決することが出来る検出手段、角度センサを提供することにある。換言すると、本発明の目的は、上記問題を解決するために、水平方向の回転角と偏向角を同時に算出するための角度算出方法を提供することにある。   Accordingly, an object of the present invention is to provide a detection means and an angle sensor that can solve the problem that it is impossible to calculate a horizontal rotation angle and a deflection angle (tilt) with a simple structure. Is to provide. In other words, an object of the present invention is to provide an angle calculation method for simultaneously calculating the horizontal rotation angle and the deflection angle in order to solve the above problem.

かかる目的を達成するため本発明の一形態である検出手段は、
入力される磁界の向きに応じて電圧値を出力するブリッジ回路を含む磁気センサと、
S極とN極とが前記磁気センサの磁界検出面と対面するよう配置された磁石と、
前記磁気センサが出力した電圧値に基づいて、前記磁気センサの磁界検出面に対する垂直方向の軸を中心とした前記磁石の回転角度を算出するとともに、予め定められた基準値と前記磁気センサが出力した電圧値とに基づいて、前記磁界検出面に対する前記磁石の傾きの角度を算出する角度算出手段と、
を有する
という構成を採る。
In order to achieve such an object, the detection means which is an aspect of the present invention includes:
A magnetic sensor including a bridge circuit that outputs a voltage value according to the direction of the input magnetic field;
A magnet disposed such that the S pole and the N pole face the magnetic field detection surface of the magnetic sensor;
Based on the voltage value output by the magnetic sensor, the rotation angle of the magnet around the axis perpendicular to the magnetic field detection surface of the magnetic sensor is calculated, and a predetermined reference value and the magnetic sensor output Angle calculating means for calculating an angle of inclination of the magnet with respect to the magnetic field detection surface based on the voltage value obtained,
It has a configuration of having

また、上記検出手段は、
前記角度算出手段は、前記基準値と前記磁気センサが出力した電圧値とに基づいて、前記磁気センサの磁界検出面に対する垂直方向の軸であって前記磁石の中心を通る回転軸の傾きである前記磁石の傾きの角度を算出する
という構成を採る。
The detecting means includes
The angle calculation means is an inclination of a rotation axis that is perpendicular to the magnetic field detection surface of the magnetic sensor and passes through the center of the magnet, based on the reference value and the voltage value output by the magnetic sensor. The configuration is such that the angle of inclination of the magnet is calculated.

また、上記検出手段は、
前記回転角度ごとの前記基準値を記憶する記憶部を有し、
前記角度算出手段は、前記回転角度を算出するとともに、算出した前記回転角度における前記基準値と前記磁気センサが出力した電圧値とに基づいて前記磁石の傾きの角度を算出する
という構成を採る。
The detecting means includes
A storage unit that stores the reference value for each rotation angle;
The angle calculating means calculates the rotation angle and calculates the angle of inclination of the magnet based on the reference value at the calculated rotation angle and the voltage value output by the magnetic sensor.

また、上記検出手段は、
前記角度算出手段は、算出した前記回転角度における前記基準値と前記磁気センサが出力した電圧値から算出される値との差に応じて前記磁石の傾きの角度を算出する
という構成を採る。
The detecting means includes
The angle calculation means adopts a configuration in which the angle of inclination of the magnet is calculated according to a difference between the reference value at the calculated rotation angle and a value calculated from the voltage value output from the magnetic sensor.

また、上記検出手段は、
前記角度算出部は、前記基準値と、前記磁気センサが出力した電圧値から算出される値を前記磁石の設置位置に基づいて生じるずれを補正するための補正値により補正した値と、に基づいて前記磁石の傾きの角度を算出する
という構成を採る。
The detecting means includes
The angle calculation unit is based on the reference value and a value obtained by correcting a value calculated from the voltage value output from the magnetic sensor with a correction value for correcting a deviation caused based on an installation position of the magnet. The angle of inclination of the magnet is calculated.

また、上記検出手段は、
前記角度算出部は、前記基準値と、前記磁気センサが出力した電圧値から算出される値を当該電圧値出力時の温度に応じて補正した値と、に基づいて前記磁石の傾きの角度を算出する
という構成を採る。
The detecting means includes
The angle calculation unit calculates an angle of inclination of the magnet based on the reference value and a value calculated from the voltage value output from the magnetic sensor according to the temperature at the time of the voltage value output. The configuration is to calculate.

また、上記検出手段は、
前記磁石は、前記磁気センサに対して予め定められた角度分傾けられた状態で設置されている
という構成を採る。
The detecting means includes
The magnet is configured to be installed in a state where it is tilted by a predetermined angle with respect to the magnetic sensor.

また、上記検出手段は、
前記磁気センサは、2つのブリッジ回路を含んでいる
という構成を採る。
The detecting means includes
The magnetic sensor has a configuration including two bridge circuits.

また、本発明の他の形態である角度センサは、
上記いずれかに記載の検出手段を有する
という構成を採る。
Moreover, the angle sensor which is the other form of this invention,
A configuration in which any one of the detection means described above is provided is adopted.

また、本発明の他の形態である角度算出方法は、
入力される磁界の向きに応じて電圧値を出力するブリッジ回路を含む磁気センサが出力した電圧値に基づいて、前記磁気センサの磁界検出面に対する垂直方向の軸を中心とした、S極とN極とが前記磁気センサの磁界検出面と対面するよう配置された磁石の回転角度を算出し、予め定められた基準値と前記磁気センサが出力した電圧値とに基づいて、前記磁界検出面に対する前記磁石の傾きの角度を算出する
という構成を採る。
An angle calculation method according to another embodiment of the present invention includes:
Based on the voltage value output by the magnetic sensor including the bridge circuit that outputs the voltage value according to the direction of the input magnetic field, the S pole and N centered on the axis perpendicular to the magnetic field detection surface of the magnetic sensor A rotation angle of a magnet arranged so that a pole faces the magnetic field detection surface of the magnetic sensor is calculated, and based on a predetermined reference value and a voltage value output by the magnetic sensor, the magnetic field detection surface is The configuration is such that the angle of inclination of the magnet is calculated.

また、本発明の一実施例である風向計は、
請求項1乃至7のいずれかに記載の角度センサと、羽根部を有する本体部と、前記本体部を支持する支持部と、を有する風向計であって、
前記本体部は、前記風向計が設置される設置面に対する垂直方向の軸を中心として回転可能なよう前記支持部と連結されるとともに、前記設置面に対して平行な軸を中心として前後方向に揺動可能なよう前記支持部と連結され、
前記角度センサを構成する前記磁気センサは、前記設置面に対して平行となるよう前記支持部に配置され、
前記角度センサを構成する前記磁石は、S極とN極とが前記磁気センサの磁界検出面と対面するよう前記本体部に配置されている
という構成を採る。
An anemometer that is one embodiment of the present invention is
An anemometer comprising the angle sensor according to any one of claims 1 to 7, a main body portion having a blade portion, and a support portion for supporting the main body portion,
The main body is connected to the support so as to be rotatable about an axis perpendicular to the installation surface on which the anemometer is installed, and is arranged in the front-rear direction about an axis parallel to the installation surface. Connected to the support so as to be swingable,
The magnetic sensor constituting the angle sensor is arranged on the support portion so as to be parallel to the installation surface,
The magnet constituting the angle sensor adopts a configuration in which the S pole and the N pole are arranged on the main body so as to face the magnetic field detection surface of the magnetic sensor.

本発明は、以上のように構成されることにより、簡易な構造で、水平方向の回転角を算出するとともに偏向角度(傾き)を算出することが不可能である、という問題を解決することが出来る検出手段、角度センサ、角度算出方法を提供することが可能となる。   By being configured as described above, the present invention can solve the problem that it is impossible to calculate the rotation angle in the horizontal direction and the deflection angle (tilt) with a simple structure. It is possible to provide a detection means, an angle sensor, and an angle calculation method that can be performed.

本発明の第1の実施形態に係る角度センサの構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of the angle sensor which concerns on the 1st Embodiment of this invention. 図1で示す磁界検出手段の構成の一例を示す図である。It is a figure which shows an example of a structure of the magnetic field detection means shown in FIG. 図2で示す磁気センサの一例を示す図である。It is a figure which shows an example of the magnetic sensor shown in FIG. 図2で示す磁気センサに含まれるブリッジ回路の構成の一例を示す図である。It is a figure which shows an example of a structure of the bridge circuit contained in the magnetic sensor shown in FIG. 図2で示す磁気センサが検出する値の一例を示す図である。It is a figure which shows an example of the value which the magnetic sensor shown in FIG. 2 detects. 図1で示す情報格納部に含まれる情報の一例を示す図である。It is a figure which shows an example of the information contained in the information storage part shown in FIG. 磁石を360度回転させたときに得られるsin、cosから回転角度を算出した値を回転角(θ) = arctan ( sin / cos )としてプロットした値の一例と補正したプロットの一例を示す図である。It is a figure which shows an example of the value which plotted the value which computed the rotation angle from sin and cos obtained when rotating a magnet 360 degrees as a rotation angle ((theta)) = arctan (sin / cos), and the corrected plot. is there. 図6で示す基準値情報の一例を示す図である。It is a figure which shows an example of the reference value information shown in FIG. 図6で示す傾き情報の一例を示す図である。It is a figure which shows an example of the inclination information shown in FIG. 磁石を45度ずつ回転させて、各点で磁石を傾けた際のsin , cosの値のプロットの一例を示す図である。It is a figure which shows an example of the plot of the value of sin and cos at the time of rotating a magnet 45 degree | times, and inclining a magnet at each point. 角度センサを有する風向計の構成の一例を示す図である。It is a figure which shows an example of a structure of the anemometer which has an angle sensor. 図11で示す風向計の回転軸を示す図である。It is a figure which shows the rotating shaft of the anemometer shown in FIG.

<実施形態1>
本発明の第1の実施形態を、図1乃至図12を参照して説明する。図1は、角度センサ1の構成の一例を示すブロック図である。図2は、磁界検出手段11の構成の一例を示す図である。図3は、磁気センサ113の一例を示す図である。図4は、磁気センサ113に含まれるブリッジ回路114の構成の一例を示す図である。図5は、磁気センサ113が検出する値の一例を示す図である。図6は、情報格納部14に含まれる情報の一例を示す図である。図7は、磁石111を360度回転させたときに得られるsin、cosの値を使って回転角(θ) = arctan ( sin / cos )をプロットした値の一例と基準点の座標(0、0)が回転プロットの中心になるように補正し半径rを正規化したプロットの一例を示す図である。図8は、基準値情報143の一例を示す図である。図9は、傾き情報144の一例を示す図である。図10は、磁石111を45度ずつ回転させて、各点で磁石を傾けた際のsin , cosの値のプロットの一例を示す図である。図11、12は、角度センサを有する風向計の構成の一例を示す図である。
<Embodiment 1>
A first embodiment of the present invention will be described with reference to FIGS. FIG. 1 is a block diagram illustrating an example of the configuration of the angle sensor 1. FIG. 2 is a diagram illustrating an example of the configuration of the magnetic field detection unit 11. FIG. 3 is a diagram illustrating an example of the magnetic sensor 113. FIG. 4 is a diagram illustrating an example of the configuration of the bridge circuit 114 included in the magnetic sensor 113. FIG. 5 is a diagram illustrating an example of values detected by the magnetic sensor 113. FIG. 6 is a diagram illustrating an example of information included in the information storage unit 14. FIG. 7 shows an example of values obtained by plotting the rotation angle (θ) = arctan (sin / cos) using the values of sin and cos obtained when the magnet 111 is rotated 360 degrees and the coordinates (0, It is a figure which shows an example of the plot which correct | amended so that 0) might become the center of a rotation plot, and normalized the radius r. FIG. 8 is a diagram illustrating an example of the reference value information 143. FIG. 9 is a diagram illustrating an example of the inclination information 144. FIG. 10 is a diagram illustrating an example of plots of sin and cos values when the magnet 111 is rotated 45 degrees and the magnet is tilted at each point. 11 and 12 are diagrams illustrating an example of a configuration of an anemometer having an angle sensor.

本実施形態においては、磁気センサ113などを用いて水平方向の回転角度を算出するとともに、垂直偏向角度である傾きを算出する角度センサ1について説明する。本実施形態における角度センサ1は、1つの磁気センサ113を有しており、当該磁気センサ113の出力結果に基づいて、水平方向の回転角度を算出する。また、後述するように、本実施形態における磁気センサ113は、磁気センサ113の出力結果と基準値との間の差(減少した割合)に応じて、傾きを検出する。このような構成により、本実施形態における角度センサ1は、1つの磁気センサ113の検出結果に基づいて、水平方向の回転角度を算出するとともに傾きを算出することが出来る。   In the present embodiment, an angle sensor 1 that calculates a rotation angle in the horizontal direction using the magnetic sensor 113 and the like and calculates a tilt that is a vertical deflection angle will be described. The angle sensor 1 in this embodiment has one magnetic sensor 113 and calculates a horizontal rotation angle based on the output result of the magnetic sensor 113. Further, as will be described later, the magnetic sensor 113 in the present embodiment detects the inclination according to the difference (decreasing rate) between the output result of the magnetic sensor 113 and the reference value. With such a configuration, the angle sensor 1 according to the present embodiment can calculate the horizontal rotation angle and the inclination based on the detection result of one magnetic sensor 113.

[構成]
図1は、本実施形態における角度センサ1(検出手段)の構成の一例を示すブロック図である。図1を参照すると、角度センサ1は、例えば、磁界検出手段11と、温度センサ12と、角度算出部13と、情報格納部14と、を有している。
[Constitution]
FIG. 1 is a block diagram showing an example of the configuration of the angle sensor 1 (detection means) in the present embodiment. Referring to FIG. 1, the angle sensor 1 includes, for example, a magnetic field detection unit 11, a temperature sensor 12, an angle calculation unit 13, and an information storage unit 14.

磁界検出手段11は、図2で示すように、磁石111と、当該磁石111と対向するよう配置された磁気センサ113と、を有している。磁界検出手段11は、磁石111の回転・傾きに応じて変化する磁界の変化に応じて電圧値を出力する。磁界検出手段11は、角度算出手段13と接続されており、出力した電圧値は角度算出手段13に送信される。   As shown in FIG. 2, the magnetic field detection unit 11 includes a magnet 111 and a magnetic sensor 113 arranged to face the magnet 111. The magnetic field detection means 11 outputs a voltage value according to a change in the magnetic field that changes according to the rotation / tilt of the magnet 111. The magnetic field detection unit 11 is connected to the angle calculation unit 13, and the output voltage value is transmitted to the angle calculation unit 13.

磁石111は、径方向2極型や片面2極型などの同一方向(磁気センサ113の磁界検出面と対面する方向)にN極とS極とを有する円柱状の形状の磁石や球形の磁石などであり、支持部112を介して、水平方向の回転角度及び傾きの算出対象となる対象物に支持されている。換言すると、磁石111は、対象物の水平方向の回転に応じて水平方向に回転するとともに、対象物の傾きに応じて傾くよう、支持部112を介して対象物に支持されている。また、磁石111は、図2で示すように、磁石111の傾きが無い状態において、磁気センサ113と対面する(磁気センサ113側の)S極とN極の割合が等しくなるよう、支持部112により支持されている。   The magnet 111 is a cylindrical magnet or a spherical magnet having an N pole and an S pole in the same direction (direction facing the magnetic field detection surface of the magnetic sensor 113) such as a radial two-pole type or a single-sided two-pole type. And is supported by a target object that is a calculation target of a horizontal rotation angle and inclination through a support unit 112. In other words, the magnet 111 is supported by the object via the support unit 112 so as to rotate in the horizontal direction according to the rotation of the object in the horizontal direction and to incline according to the inclination of the object. Further, as shown in FIG. 2, the magnet 111 has a support portion 112 so that the ratio of the south pole and the north pole facing the magnetic sensor 113 (on the magnetic sensor 113 side) is equal when the magnet 111 is not tilted. Is supported by

磁気センサ113は、磁界検出面を磁石111側に有し磁石111と対向するよう(平行に)配置されており、磁石111の水平方向の回転(磁界検出面に対する垂直方向の軸を中心とした磁石111の回転)や磁界検出面に対する傾き(磁石111の中心を通る軸であって磁界検出面に対する垂直方向の軸である回転軸の傾き)に起因する磁界の変化(磁束の変化)に応じて電圧値を出力する。図2、図3を参照すると、磁気センサ113は、例えば、略直方体の形状を有しており、平面視で短手側となる側面に、それぞれ4つの端子を有している。具体的には、磁気センサ113は、A相出力端子+A、−Aと、B相出力端子+B、−Bと、2つの電源端子Vccと、2つの接地端子Gndと、を有している。磁気センサ113は、電源端子Vccを介して外部から電圧を印加されている。また、磁気センサ113は、接地端子Gndを介して接地されている。さらに、磁気センサ113のうちの、A相出力端子+A、−A、B相出力端子+B、−B、は、角度算出部13と接続されており、電圧値を角度算出部13に出力する。以下、磁気センサ113のより詳細な構成の一例について説明する。   The magnetic sensor 113 has a magnetic field detection surface on the magnet 111 side and is disposed so as to face the magnet 111 (in parallel), and rotates the magnet 111 in the horizontal direction (centering on the axis perpendicular to the magnetic field detection surface). According to the change in magnetic field (change in magnetic flux) due to the rotation of the magnet 111) and the inclination with respect to the magnetic field detection surface (the inclination of the rotation axis that is the axis passing through the center of the magnet 111 and perpendicular to the magnetic field detection surface). Output the voltage value. 2 and 3, the magnetic sensor 113 has a substantially rectangular parallelepiped shape, for example, and has four terminals on the side surface which is the short side in a plan view. Specifically, the magnetic sensor 113 has A-phase output terminals + A and -A, B-phase output terminals + B and -B, two power supply terminals Vcc, and two ground terminals Gnd. A voltage is applied to the magnetic sensor 113 from the outside via the power supply terminal Vcc. Further, the magnetic sensor 113 is grounded via a ground terminal Gnd. Further, among the magnetic sensors 113, the A phase output terminals + A and −A and the B phase output terminals + B and −B are connected to the angle calculation unit 13 and output a voltage value to the angle calculation unit 13. Hereinafter, an example of a more detailed configuration of the magnetic sensor 113 will be described.

磁気センサ113は、素子1141(素子1141−1、1141−2、1141−3、1141−4。特に区別しない場合は素子1141と表記する)を4つ有するブリッジ回路114を2つ有している。素子1141としては、ホール素子や磁気抵抗素子(AMR(Anisotropic Magneto Resistance)、GMR(Giant Magneto Resistance)、TMR(Tunneling Magneto Resistance)など)、マグネットインピーダンス素子、など様々な素子を採用することが出来る。   The magnetic sensor 113 has two bridge circuits 114 each having four elements 1141 (elements 1141-1, 1141-2, 1141-3, 1141-4, which are expressed as elements 1141 unless otherwise distinguished). . As the element 1141, various elements such as a Hall element, a magnetoresistive element (AMR (Anisotropic Magneto Resistance), GMR (Giant Magneto Resistance), TMR (Tunneling Magneto Resistance), etc.), and a magnet impedance element can be employed.

図4を参照すると、ブリッジ回路114は、素子1141−1、1141−3と、素子1141−2、1141−4がそれぞれ直列に接続されており、当該直列接続された素子1141−1、1141−3と素子1141−2、1141−4とは、電源に対して並列に接続され、閉回路を構成している。このような構成により、素子1141−1と1141−3との接続点Va(例えば、図3のA相出力端子+Aと接続される)と、素子1141−2と1141−4との接続点Vb(例えば、図3のA相出力端子−Aと接続される)と、の間における差動電圧を検出することが可能となる。なお、1つのブリッジ回路114内の全ての素子1141は、同一の種類の素子であり同一方向に磁化固定されているものとする。   Referring to FIG. 4, in the bridge circuit 114, elements 1141-1 and 1141-3 and elements 1141-2 and 1141-4 are connected in series, respectively, and the elements 1141-1 and 1141- connected in series are connected. 3 and the elements 1141-2 and 1141-4 are connected in parallel to the power source to form a closed circuit. With such a configuration, the connection point Va between the elements 1141-1 and 1141-3 (for example, connected to the phase A output terminal + A in FIG. 3) and the connection point Vb between the elements 1141-2 and 1141-4. (For example, it is possible to detect a differential voltage between it and the A-phase output terminal -A in FIG. 3). It is assumed that all the elements 1141 in one bridge circuit 114 are the same type of elements and are magnetization fixed in the same direction.

また、上記のように、磁気センサ113は、ブリッジ回路114を2つ有している。具体的には、素子1141がAMRでない場合、磁気センサ113は、磁化方向を90度ずらした2個のブリッジ回路114を有している。一方、素子114がAMRである場合、磁気センサ113は、磁化方向を45度ずらした2個のブリッジ回路114を有しており、さらに、バイアス磁石を有している。   Further, as described above, the magnetic sensor 113 has two bridge circuits 114. Specifically, when the element 1141 is not AMR, the magnetic sensor 113 includes two bridge circuits 114 whose magnetization directions are shifted by 90 degrees. On the other hand, when the element 114 is AMR, the magnetic sensor 113 includes two bridge circuits 114 whose magnetization directions are shifted by 45 degrees, and further includes a bias magnet.

本実施形態においては、このような2つのブリッジ回路114のうちの、一方のブリッジ回路114からの出力をA相、他方のブリッジ回路114からの出力をB相と定義する。従って、図3で示す構成のうち、一方の電源端子Vccと、一方の接地端子Gndと、A相出力端子+A、−Aと、が2つのブリッジ回路114のうちの一方のブリッジ回路114に対応する端子となる。また、図3で示す構成のうち他方の電源端子Vccと、他方の接地端子Gndと、B相出力端子+B、−Bと、が2つのブリッジ回路114のうちの他方のブリッジ回路114に対応する端子となる。   In the present embodiment, of the two bridge circuits 114, the output from one bridge circuit 114 is defined as the A phase, and the output from the other bridge circuit 114 is defined as the B phase. Therefore, in the configuration shown in FIG. 3, one power supply terminal Vcc, one ground terminal Gnd, and the A-phase output terminals + A and −A correspond to one bridge circuit 114 of the two bridge circuits 114. Terminal. Further, in the configuration shown in FIG. 3, the other power supply terminal Vcc, the other ground terminal Gnd, and the B phase output terminals + B and −B correspond to the other bridge circuit 114 of the two bridge circuits 114. It becomes a terminal.

図5は、A相(例えば、A相出力端子+Aから出力される電圧値からA相出力端子−Aから出力される電圧値を減算した値)、及び、B相(B相出力端子+Bから出力される電圧値からB相出力端子−Bから出力される電圧値を減算した値)の値と磁石の水平方向の回転角度との関係の一例を示している。図5を参照すると、A相の値が0、B相の値が1、の状態(角度0の状態)から、図5で示す90度回転した状態に磁石111が回転すると、A相の値が1となりB相の値が0となっていることが分かる。同様に、さらに90度磁石111が回転すると、A相の値が0となりB相の値が−1となっていることが分かる。このように、図5を参照すると、磁石111の水平方向の回転角度に応じてA相、B相の値が変化しており、磁石111の水平方向の回転角度とA相、B相の値との間には所定の関係があることが分かる。また、図5を参照すると、A相、B相の値に基づいて、磁石111の水平方向の回転角度を求めることが出来ることが分かる。   FIG. 5 shows the A phase (for example, a value obtained by subtracting the voltage value output from the A phase output terminal −A from the voltage value output from the A phase output terminal + A) and the B phase (from the B phase output terminal + B). An example of the relationship between the value of the output voltage value obtained by subtracting the voltage value output from the B-phase output terminal-B) and the horizontal rotation angle of the magnet is shown. Referring to FIG. 5, when the magnet 111 rotates from the state where the A phase value is 0 and the B phase value is 1 (angle 0 state) to the 90 ° rotated state shown in FIG. 1 and the value of the B phase is 0. Similarly, when the magnet 111 further rotates, the value of the A phase becomes 0 and the value of the B phase becomes -1. As described above, referring to FIG. 5, the values of the A phase and the B phase are changed according to the horizontal rotation angle of the magnet 111, and the horizontal rotation angle of the magnet 111 and the values of the A phase and the B phase are changed. It can be seen that there is a predetermined relationship between. 5 that the horizontal rotation angle of the magnet 111 can be obtained based on the values of the A phase and the B phase.

温度センサ12は、当該温度センサ12周辺の温度を測定することで、磁界検出手段11周辺の温度を測定する。例えば、温度センサ12は、磁気センサ113による電圧値の出力時の温度を測定する。温度センサ12は、角度算出手段13と接続されており、測定結果を角度算出手段13に送信する。   The temperature sensor 12 measures the temperature around the magnetic field detection means 11 by measuring the temperature around the temperature sensor 12. For example, the temperature sensor 12 measures the temperature when the voltage value is output by the magnetic sensor 113. The temperature sensor 12 is connected to the angle calculation unit 13 and transmits a measurement result to the angle calculation unit 13.

角度算出手段13は、磁界検出手段11から受信した電圧値に基づいて、磁石111の水平方向の回転角度(つまり、対象物の水平方向の回転角度)を算出する。また、角度算出手段13は、後述するように、磁界検出手段11からの受信した電圧値や温度センサ12から受信した測定結果、情報格納部14から取得した各種情報などに基づいて、磁石111の垂直方向の偏向角度である傾き(つまり、対象物の傾き)を算出する。   The angle calculation unit 13 calculates the horizontal rotation angle of the magnet 111 (that is, the horizontal rotation angle of the object) based on the voltage value received from the magnetic field detection unit 11. Further, as will be described later, the angle calculation means 13 is based on the voltage value received from the magnetic field detection means 11, the measurement result received from the temperature sensor 12, various information acquired from the information storage unit 14, and the like. An inclination that is a deflection angle in the vertical direction (that is, an inclination of the object) is calculated.

なお、角度算出手段13は、例えば、プロセッサなどの演算手段と、ROM(Read Only Memory)やRAM(Random Access Memory)などの記憶装置と、を有しており、記憶装置が記憶するプログラムを演算手段が実行することで、上記算出処理(水平方向の回転角度の算出と傾きの算出)を実行する。   The angle calculation means 13 includes, for example, a calculation means such as a processor and a storage device such as a ROM (Read Only Memory) and a RAM (Random Access Memory), and calculates a program stored in the storage device. When the means is executed, the calculation process (calculation of the rotation angle in the horizontal direction and calculation of the inclination) is executed.

角度算出手段13は、例えば下記数1に基づいて、水平回転角θを算出する
[数1]
θ = arctan ( Out A / Out B )
なお、
Out A = ( Vout +A) - ( Vout -A)
Out B = ( Vout +B) - ( Vout -B)
ここで、Vout +Aは、A相出力端子+Aから出力される電圧値を示しており、Vout -Aは、A相出力端子−Aから出力される電圧値を示している。また、Vout +Bは、B相出力端子+Bから出力される電圧値を示しており、Vout -Bは、B相出力端子−Bから出力される電圧値を示している。
The angle calculation means 13 calculates the horizontal rotation angle θ based on, for example, the following equation 1 [Equation 1]
θ = arctan (Out A / Out B)
In addition,
Out A = (Vout + A)-(Vout -A)
Out B = (Vout + B)-(Vout -B)
Here, Vout + A indicates a voltage value output from the A-phase output terminal + A, and Vout -A indicates a voltage value output from the A-phase output terminal -A. Vout + B indicates the voltage value output from the B-phase output terminal + B, and Vout -B indicates the voltage value output from the B-phase output terminal -B.

なお、A相をsinとし、B相をcosとすると、上記数1は、下記数2のように表すことが出来る。
[数2]
θ = arctan ( sin / cos )
数2で示す式は、回転角を求める際に一般的に用いられる、周知の式である。
If the A phase is sin and the B phase is cos, the above equation 1 can be expressed as the following equation 2.
[Equation 2]
θ = arctan (sin / cos)
The formula shown in Equation 2 is a well-known formula that is generally used when obtaining the rotation angle.

また、角度算出手段13は、上記sin、cosの値(つまり、A相、B相の値)を用いて、磁石111の垂直方向の偏向角度である傾きを算出する。   Further, the angle calculation means 13 calculates the inclination, which is the deflection angle of the magnet 111 in the vertical direction, using the values of sin and cos (that is, the values of A phase and B phase).

具体的には、例えば、角度算出手段13は、上記sin、cosの値を基準となる値と比較するため、当該sin、cosの値を、温度センサ12から受信した測定結果や情報格納部14から取得した後述する軸ずれ補正値141に基づいて補正する。   Specifically, for example, the angle calculation means 13 compares the sin and cos values with the reference values, so that the sin and cos values are received from the temperature sensor 12 as a measurement result and the information storage unit 14. Is corrected based on an axis deviation correction value 141, which will be described later, acquired from the above.

一般に、磁石111の回転軸と磁気センサ113の回転検出軸との間にはずれ(磁石111の設置位置に基づいて生じるずれ)がある。このずれを補正するため、角度算出手段13は、軸ずれ補正値141を用いて、sin、cosの値の補正を行う。また、一般的なフェライト磁石の場合、温度が1度上昇すると、磁界強度は約0.2%減少する。この温度に起因したsin、cosの値のずれを補正するため、角度算出手段13は、温度センサ12から受信した測定結果と情報格納部14から取得した基準温度を示す基準温度情報142とに基づいて、基準となる温度である場合に検出されたであろう値となるよう、sin、cosの値を補正する。換言すると、水平角の検出であれば、sin、cosとも同様に、磁石111の回転軸と磁気センサ113の回転検出軸との間のずれの影響や温度による変動の影響を受ける。そのため、数2による計算上、上記ずれや温度の変動は影響しない。一方で、偏向角は、sin、cosそれぞれの絶対値と基準値とに基づいて求めることになる。そのため、基準値と比較するための情報(軸ずれ補正値141、基準温度情報142)が必要となる。   In general, there is a shift (shift generated based on the installation position of the magnet 111) between the rotation axis of the magnet 111 and the rotation detection axis of the magnetic sensor 113. In order to correct this deviation, the angle calculation means 13 corrects the values of sin and cos using the axis deviation correction value 141. In the case of a general ferrite magnet, when the temperature rises once, the magnetic field strength decreases by about 0.2%. In order to correct the deviation of the values of sin and cos due to this temperature, the angle calculation means 13 is based on the measurement result received from the temperature sensor 12 and the reference temperature information 142 indicating the reference temperature acquired from the information storage unit 14. Thus, the values of sin and cos are corrected so as to be the values that would have been detected at the reference temperature. In other words, in the case of detecting a horizontal angle, both sin and cos are similarly affected by the shift between the rotation axis of the magnet 111 and the rotation detection axis of the magnetic sensor 113 and the fluctuation due to temperature. For this reason, in the calculation by Equation 2, the above-described deviation and temperature fluctuation are not affected. On the other hand, the deflection angle is obtained based on the absolute value and the reference value of each of sin and cos. For this reason, information (axial deviation correction value 141, reference temperature information 142) for comparison with the reference value is required.

このように、角度算出手段13は、sin、cosの値を、温度センサ12から受信した測定結果や情報格納部14に格納されている各種情報に基づいて補正する。続いて、角度算出手段13は、情報格納部14から、算出した水平回転角度θの場合における基準値を示す基準値情報143を取得する。そして、角度算出手段13は、基準値情報143が示す基準値と補正したsin、cosの値との間の絶対値の差(減少の割合)(換言すると、基準値に対する、補正したsin、cosの値の割合)を算出し、当該算出した差に基づいて磁石111の傾きを算出する。具体的には、例えば、差と磁石111の傾きとの関係を示す傾き情報144が情報格納部14に格納されており、角度算出手段13は、傾き情報144を参照することで、算出した差に基づいて磁石111の傾きを算出する。   As described above, the angle calculation unit 13 corrects the values of sin and cos based on the measurement result received from the temperature sensor 12 and various information stored in the information storage unit 14. Subsequently, the angle calculation unit 13 acquires reference value information 143 indicating a reference value in the case of the calculated horizontal rotation angle θ from the information storage unit 14. Then, the angle calculation means 13 calculates the difference between absolute values (decrease rate) between the reference value indicated by the reference value information 143 and the corrected sin and cos values (in other words, corrected sin and cos with respect to the reference value). And the inclination of the magnet 111 is calculated based on the calculated difference. Specifically, for example, inclination information 144 indicating the relationship between the difference and the inclination of the magnet 111 is stored in the information storage unit 14, and the angle calculation unit 13 refers to the inclination information 144 to calculate the calculated difference. Based on the above, the inclination of the magnet 111 is calculated.

角度算出手段13は、例えば、このような処理により、磁石111の水平方向回転角度を算出するとともに、磁石111の垂直方向偏向角度である傾きを算出する。   For example, the angle calculation unit 13 calculates the horizontal rotation angle of the magnet 111 and the inclination, which is the vertical deflection angle of the magnet 111, by such processing.

情報格納部14は、ディスク装置や不揮発性メモリなどの記憶装置である。情報格納部14は、角度算出手段13で利用される各種情報を記憶している。   The information storage unit 14 is a storage device such as a disk device or a nonvolatile memory. The information storage unit 14 stores various information used by the angle calculation unit 13.

図6は、情報格納部14に格納されている情報の一例を示している。図6を参照すると、情報格納部14は、軸ずれ補正値141と、基準温度情報142と、基準値情報143と、傾き情報144と、を有している。   FIG. 6 shows an example of information stored in the information storage unit 14. Referring to FIG. 6, the information storage unit 14 includes an axis deviation correction value 141, reference temperature information 142, reference value information 143, and inclination information 144.

軸ずれ補正値141は、磁石111の回転軸と磁気センサ113の回転検出軸との間に存在するずれに起因した値のずれを補正するための値である。例えば、図7のC1で示すように、磁石111を360度回転させたときに得られるsin、cosの値をそのままプロットすると、磁石111の回転軸と磁気センサ113の回転検出軸との間にずれがあるため、磁石111を360度1周させてもその中心が座標(X=0、Y=0)に来ない。そこで、磁石111を360度回転させた際の中心が座標(X=0、Y=0)に来るよう補正する。このプロットした円の中心を座標(X=0、Y=0)に補正するための値が軸ずれ補正値141である。   The axis deviation correction value 141 is a value for correcting a value deviation caused by a deviation existing between the rotation axis of the magnet 111 and the rotation detection axis of the magnetic sensor 113. For example, as indicated by C1 in FIG. 7, when the values of sin and cos obtained when the magnet 111 is rotated 360 degrees are plotted as they are, the rotation axis of the magnet 111 and the rotation detection axis of the magnetic sensor 113 are plotted. Since there is a deviation, the center of the magnet 111 does not come to the coordinates (X = 0, Y = 0) even if the magnet 111 is rotated 360 degrees once. Therefore, correction is made so that the center when the magnet 111 is rotated 360 degrees comes to the coordinates (X = 0, Y = 0). A value for correcting the center of the plotted circle to the coordinates (X = 0, Y = 0) is an axis deviation correction value 141.

軸ずれ補正値141は、例えば、予め、磁石111の傾きがない状態において磁石111を360度回転させて得た値をプロットし、当該磁石111を360度回転させた際のプロットの中心を座標(X=0、Y=0)に補正するための値を算出しておくことで得ることが出来る。このように、軸ずれ補正値141は、予め測定された結果に基づいて予め算出され、格納されている。   As the axis deviation correction value 141, for example, a value obtained by rotating the magnet 111 in 360 degrees in a state where the magnet 111 is not tilted in advance is plotted, and the center of the plot when the magnet 111 is rotated 360 degrees is coordinated. It can be obtained by calculating a value for correcting to (X = 0, Y = 0). In this way, the axis deviation correction value 141 is calculated and stored in advance based on the result measured in advance.

基準温度情報142は、磁石111の傾きを算出する際の基準となる温度を示している。上述したように、一般的なフェライト磁石の場合、温度が1度上昇すると、磁界強度は約0.2%減少する。この温度に起因したsin、cosの値のずれを補正するため、基準となる温度が予め定められている。なお、基準となる温度は、任意の温度で構わない。   The reference temperature information 142 indicates a temperature that serves as a reference when calculating the inclination of the magnet 111. As described above, in the case of a general ferrite magnet, when the temperature rises once, the magnetic field strength decreases by about 0.2%. In order to correct the deviation of the values of sin and cos due to this temperature, a reference temperature is determined in advance. The reference temperature may be any temperature.

基準値情報143は、基準温度情報142が示す温度の際に測定されるsin、cosの値と水平回転角度θとの関係を示しており、上述した軸ずれ補正値141を用いて補正した後の値を示している。基準値情報143は、例えば、予め基準温度情報142が示す温度の際に磁石111を360度回転させて各地点(水平回転角度)におけるsin、cosの値を測定して軸ずれ補正値141で補正する、又は、磁石111を360度回転させて測定した際の温度・軸ずれ補正値141を基に補正する、などの方法により予め測定・算出され、情報格納部14に格納されている。   The reference value information 143 indicates the relationship between the sin and cos values measured at the temperature indicated by the reference temperature information 142 and the horizontal rotation angle θ, and after correction using the above-described axis deviation correction value 141. The value of is shown. For example, the reference value information 143 is an axis deviation correction value 141 obtained by rotating the magnet 111 360 degrees in advance at the temperature indicated by the reference temperature information 142 and measuring the values of sin and cos at each point (horizontal rotation angle). It is measured and calculated in advance by a method such as correction or correction based on the temperature / axial deviation correction value 141 when the magnet 111 is rotated 360 degrees and is stored in the information storage unit 14.

図8は、基準値情報143の一例である。図8を参照すると、基準値情報143は、水平方向の回転角度ごとのsin(A相)の値とcos(B相)の値とを示している。例えば、図8の1行目は、角度TA1のときsin(A相)の基準値がa1、cos(B相)の基準値がb1であることを示している。   FIG. 8 is an example of the reference value information 143. Referring to FIG. 8, the reference value information 143 indicates a sin (A phase) value and a cos (B phase) value for each rotation angle in the horizontal direction. For example, the first line in FIG. 8 indicates that the reference value of sin (A phase) is a1 and the reference value of cos (B phase) is b1 at an angle TA1.

このように、基準値情報143には、水平方向の回転角度ごとの基準値が格納されている。なお、基準値情報143には、任意の角度ごとのsin、cosの値を格納して構わない。
また、基準値情報143をプロットすると、例えば図7のC2で示すようになる。図7のC2を参照すると、円の中心が座標(X=0、Y=0)に補正されていること(軸ずれ補正値141により補正されていること)や、円の大きさが補正されていること(基準値温度情報142により補正されていること)が分かる。
Thus, the reference value information 143 stores the reference value for each rotation angle in the horizontal direction. The reference value information 143 may store sin and cos values for each arbitrary angle.
When the reference value information 143 is plotted, for example, the reference value information 143 is represented by C2 in FIG. Referring to C2 in FIG. 7, the center of the circle is corrected to the coordinates (X = 0, Y = 0) (corrected by the axis deviation correction value 141), and the size of the circle is corrected. (Corrected by the reference value temperature information 142).

傾き情報144は、基準値情報143が示す基準値と傾き算出の対象となる出力値(軸ずれ補正値141や基準温度情報142に基づく補正を行ったsin、cosの値)との間の差と、磁石111の傾きと、の関係を示している。   The inclination information 144 is the difference between the reference value indicated by the reference value information 143 and the output value that is the object of inclination calculation (the values of sin and cos corrected based on the axis deviation correction value 141 and the reference temperature information 142). And the inclination of the magnet 111.

一般に、磁気センサ113が検出する磁界強度は、磁石111の傾きによって変動する。具体的には、磁石111が磁気センサ113に対して平行(つまり、傾き=0)のときの磁界強度が最大であり、磁石111が傾くほど磁界強度は減少する。従って、磁石111の傾きが大きくなれば大きくなるほど、基準値と補正を行った出力値との間の差は大きくなることになる(基準値に対する補正を行ったsin、cosの値の割合は小さくなることになる)。そこで、予め、ある水平方向への回転角度の状態(例えば、図5で示す角度0の状態)において傾きの角度(上方向+τ、下方向−τ。間隔は任意で構わない)を変えながら変化する出力値をそれぞれ検出し、検出結果と基準値との間の差と磁石111の傾きの関係を調べておく。例えば、このような方法により、傾き情報144を予め算出し、格納することが出来る。   In general, the magnetic field intensity detected by the magnetic sensor 113 varies depending on the inclination of the magnet 111. Specifically, the magnetic field strength is maximum when the magnet 111 is parallel to the magnetic sensor 113 (that is, tilt = 0), and the magnetic field strength decreases as the magnet 111 tilts. Therefore, as the inclination of the magnet 111 increases, the difference between the reference value and the corrected output value increases (the ratio of the sin and cos values corrected for the reference value is small). Will be). Therefore, it is changed in advance while changing the inclination angle (upward + τ, downward -τ. The interval may be arbitrary) in a state of a rotation angle in a horizontal direction (for example, the state of angle 0 shown in FIG. 5). The output value to be detected is detected, and the relationship between the difference between the detection result and the reference value and the inclination of the magnet 111 is examined. For example, the tilt information 144 can be calculated and stored in advance by such a method.

図9は、傾き情報144の一例である。図9を参照すると、傾き情報144は、基準値と補正を行った出力値との間の差と磁石111の傾きとの関係を示している。例えば、図9の1行目は、基準値と補正を行った出力値との間の差がD1である場合、磁石111は+S1傾いていることを示している。   FIG. 9 is an example of the tilt information 144. Referring to FIG. 9, the inclination information 144 indicates the relationship between the difference between the reference value and the corrected output value and the inclination of the magnet 111. For example, the first line in FIG. 9 indicates that the magnet 111 is tilted + S1 when the difference between the reference value and the corrected output value is D1.

なお、傾き情報144は、水平方向の回転角度が様々な場合(例えば、45度ごと)における、それぞれの基準値と補正を行った出力値との間の差と、磁石111の傾きと、の間の関係を含んでいても構わない。つまり、傾き情報144には、水平方向の回転角度ごと(つまり、複数)の差と傾きの関係を示す情報を含むことが出来る。   Note that the tilt information 144 includes the difference between each reference value and the corrected output value and the tilt of the magnet 111 when the horizontal rotation angle varies (for example, every 45 degrees). You may include the relationship between. That is, the tilt information 144 can include information indicating the relationship between the difference and tilt for each horizontal rotation angle (that is, a plurality).

以上が、角度センサ1の構成の一例についての説明である。   The above is an explanation of an example of the configuration of the angle sensor 1.

[計測原理]
続いて、本実施形態における角度センサ1の計測原理について説明する。
[Measurement principle]
Then, the measurement principle of the angle sensor 1 in this embodiment is demonstrated.

図5で示したように、磁石111の水平方向への回転と磁気センサ113が出力する出力値(sin、cosの値)には、所定の関係がある。例えば、図5の場合、磁石111と磁気センサ113が平行でかつその間の距離(Gap)が一定であれば、sinの絶対値とcosの絶対値との和は常に1である。   As shown in FIG. 5, there is a predetermined relationship between the rotation of the magnet 111 in the horizontal direction and the output values (sin and cos values) output by the magnetic sensor 113. For example, in the case of FIG. 5, if the magnet 111 and the magnetic sensor 113 are parallel and the distance (Gap) between them is constant, the sum of the absolute value of sin and the absolute value of cos is always 1.

磁石111と磁気センサ113との間の距離(Gap)が変化すれば、磁気センサ113が受ける磁界強度は変化する。一般的に、距離(Gap)が大きくなれば磁気センサ113が出力するsin , cosの値は減少し、距離(Gap)が小さくなれば逆に磁気センサ113が出力するsin , cosの値は増加する。ここで、角度算出手段13が水平方向の回転角度を算出する際に用いる数式はθ = arctan ( sin / cos )である。そのため、角度算出手段13は、sin , cosの値が同じ方向に変化する磁石111と磁気センサ113との間の距離(Gap)の変動に影響されずに正確な水平方向の回転角度を算出することが出来る。   If the distance (Gap) between the magnet 111 and the magnetic sensor 113 changes, the magnetic field intensity received by the magnetic sensor 113 changes. In general, the value of sin and cos output from the magnetic sensor 113 decreases as the distance (Gap) increases, and the value of sin and cos output from the magnetic sensor 113 increases as the distance (Gap) decreases. To do. Here, the formula used when the angle calculation means 13 calculates the horizontal rotation angle is θ = arctan (sin / cos). Therefore, the angle calculation means 13 calculates an accurate horizontal rotation angle without being affected by a change in the distance (Gap) between the magnet 111 and the magnetic sensor 113 in which the values of sin and cos change in the same direction. I can do it.

また、磁気センサ113の出力値は、磁石111と磁気センサ113との間の距離(Gap)だけでなく、計測時の周囲の温度にも影響される。この場合も、sin , cosの値は同じ割合で変動するため、角度算出手段13は、周囲の温度に影響されずに正確な水平方向の回転角度を算出することが出来る。   Further, the output value of the magnetic sensor 113 is influenced not only by the distance (Gap) between the magnet 111 and the magnetic sensor 113 but also by the ambient temperature at the time of measurement. Also in this case, since the values of sin and cos fluctuate at the same rate, the angle calculation means 13 can calculate an accurate horizontal rotation angle without being affected by the ambient temperature.

さらに、磁気センサ113の出力値は、磁石111の傾きによっても変動する。この場合も上記2つの場合と同様に、sin , cosの値は同じ割合で変動するため、角度算出手段13は、磁石111の傾きに影響されずに正確な水平方向の回転角度を算出することが出来る。   Further, the output value of the magnetic sensor 113 varies depending on the inclination of the magnet 111. In this case as well, since the values of sin and cos fluctuate at the same rate as in the above two cases, the angle calculation means 13 calculates an accurate horizontal rotation angle without being affected by the inclination of the magnet 111. I can do it.

以上のように、角度算出手段113は、sin , cosの出力値が正確に得られる範囲内において、距離(Gap)、温度変動、傾きの変動を受けずに正確な水平方向の回転角度を算出することが出来る。   As described above, the angle calculation unit 113 calculates an accurate horizontal rotation angle within the range in which the output values of sin and cos can be accurately obtained, without being affected by variations in distance (Gap), temperature, and inclination. I can do it.

また、一般的に、角度センサ1において、磁石111は支持部112により支持されている。そのため、磁石111と磁気センサ113との間の距離(Gap)が変化することは考えにくい。従って、温度変動によるsin , cosの出力値の変化を補正すれば、水平方向の回転角度がある状態におけるsin , cosの出力値を補正した値の基準値からの変化(基準値と補正した値との間の差)は、磁石111の傾きの影響によるものであると考えることが出来る。そこで、予め磁石111の傾きと、基準値と補正した値との間の差と、の間の関係を調べておくことで、基準値と補正した値との間の差に応じて、磁石111の傾きを算出することが可能であるものと考えられる。角度算出手段113は、例えば、このような考え方により、磁石111の傾きを算出することになる。また、上記算出をより正確に実現するため、磁石111の回転軸と磁気センサ113の回転検出軸とのずれに起因する値のずれを軸ずれ補正値141により補正した上で、基準値と補正した値との間の差に応じて、磁石111の傾きを算出する。これにより、より正確に磁石111の傾きを算出することが出来る。   In general, in the angle sensor 1, the magnet 111 is supported by a support portion 112. Therefore, it is unlikely that the distance (Gap) between the magnet 111 and the magnetic sensor 113 changes. Therefore, if the change in the output values of sin and cos due to temperature fluctuation is corrected, the change in the output value of sin and cos in a state where there is a horizontal rotation angle from the reference value (the reference value and the corrected value) Can be considered to be due to the influence of the inclination of the magnet 111. Therefore, by examining the relationship between the inclination of the magnet 111 and the difference between the reference value and the corrected value in advance, the magnet 111 is determined according to the difference between the reference value and the corrected value. It is considered possible to calculate the slope of. For example, the angle calculation means 113 calculates the inclination of the magnet 111 based on such a concept. In order to realize the above calculation more accurately, the deviation of the value due to the deviation between the rotation axis of the magnet 111 and the rotation detection axis of the magnetic sensor 113 is corrected by the axis deviation correction value 141, and then the reference value and the correction are corrected. The inclination of the magnet 111 is calculated according to the difference between the measured value and the calculated value. Thereby, the inclination of the magnet 111 can be calculated more accurately.

図10は、磁石111を45度ずつ回転させて、各点で磁石111を上方向、下方向に傾けた際のsin , cosの値をプロットしたものである。図10の例では、磁石111は磁気センサ113に対して平行ではなく、15度下向に傾けた状態で正規化(補正)を行った。そのため、基準となる円よりも外側にプロットされている箇所が存在する。磁石111を平行な状態で補正を行った場合、基準となる円よりも内側に全てのプロットがされることになる。   FIG. 10 is a plot of the values of sin and cos when the magnet 111 is rotated 45 degrees and the magnet 111 is tilted upward and downward at each point. In the example of FIG. 10, normalization (correction) is performed in a state where the magnet 111 is not parallel to the magnetic sensor 113 and is inclined downward by 15 degrees. For this reason, there are places plotted outside the reference circle. When correction is performed in a state where the magnets 111 are parallel, all plots are made inside the reference circle.

図10の場合、例えば、時計の文字盤としたときに6時の位置に位置するプロットが水平方向の回転角度が0°の時のプロットである。ここで、6時の位置のプロットのうち、最も下側のプロットが傾きなし(磁界の強さ最大)のときのプロットである。また、6時の位置のプロットでは、傾きの角度を上に向けていくことで、磁界の強さが減って、円の内側に向かって傾き角度に応じたプロットがされている様子がしめされている(円の最も内側は70°上向きに傾けたときのプロットである)。同様に、7時と8時の間にあるプロットが水平45°の時の偏向角を変えたときのプロットであり、9時の位置にあるプロットが水平90°、10時と11時の間が135°、12時が180°、1時と2時の間が225°、3時が270°、4時と5時の間が315°の場合を示している。なお、図10の場合、各水平方向の回転角度の状態において、同じ角度だけ傾けているため、各地点におけるプロットの線の長さは一定となる。   In the case of FIG. 10, for example, a plot located at the 6 o'clock position as a clock face is a plot when the horizontal rotation angle is 0 °. Here, among the plots at the 6 o'clock position, the lowermost plot is a plot when there is no inclination (maximum magnetic field strength). In addition, the plot at the 6 o'clock position shows that plotting according to the tilt angle toward the inside of the circle reduces the strength of the magnetic field by increasing the tilt angle upward. (The innermost circle is a plot when tilted upward by 70 °). Similarly, the plot between 7 o'clock and 8 o'clock is a plot when the deflection angle is changed when the horizontal is 45 °, the plot at the 9 o'clock position is 90 ° horizontal, 135 ° between 10 o'clock and 11 o'clock, It shows a case where 12:00 is 180 °, 1 o'clock and 2 o'clock is 225 °, 3 o'clock is 270 °, and 4 o'clock and 5 o'clock is 315 °. In addition, in the case of FIG. 10, since it inclines only by the same angle in the state of each horizontal rotation angle, the length of the line of the plot in each point becomes fixed.

このように、図10を参照すると、磁石111を傾けたことにより磁界強度(に応じた電圧値)が変化していることが明確に読み取れる。また、図10からは、水平方向の回転角度を算出する際に、磁石111が必ずしも磁気センサ113と平行である必要はないことが分かる。なお、図10において、磁石の傾きによっては、水平方向の値が多少変化している。これは、正確に磁石を上方向、下方向に傾けられていないことによるもので、正確に磁石を傾けることができれば、水平方向の変化はないものと考えられる。   As described above, referring to FIG. 10, it can be clearly read that the magnetic field strength (the voltage value corresponding to the magnetic field intensity) is changed by tilting the magnet 111. FIG. 10 also shows that the magnet 111 does not necessarily have to be parallel to the magnetic sensor 113 when calculating the rotation angle in the horizontal direction. In FIG. 10, the value in the horizontal direction slightly changes depending on the inclination of the magnet. This is because the magnet is not accurately tilted upward or downward, and if the magnet can be tilted accurately, it is considered that there is no change in the horizontal direction.

以上説明したように、水平方向の回転角度は、sin , cosの相対的な値に基づいて計算されることから、測定時の温度や磁石111の傾きの影響を受けずに算出可能であることが分かる。また、測定時の温度や軸のずれに起因するずれを補正すると、基準値と実際に出力され補正されたsin , cosとの間のずれは、磁石111の傾きに応じて現れていることになる。そのため、基準値と実際に出力され補正されたsin , cosとの間のずれを示す差に基づいて、磁石111の傾きを算出することが可能であることが分かる。   As described above, since the horizontal rotation angle is calculated based on the relative values of sin and cos, it can be calculated without being affected by the temperature at the time of measurement or the inclination of the magnet 111. I understand. Further, when the deviation due to the temperature or the axis deviation at the time of measurement is corrected, the deviation between the reference value and the actually output and corrected sin and cos appears according to the inclination of the magnet 111. Become. Therefore, it can be seen that the inclination of the magnet 111 can be calculated based on the difference indicating the deviation between the reference value and the actually output and corrected sin and cos.

[効果]
このように、本実施形態における角度センサ1は、磁界検出手段11と、温度センサ12と、角度算出手段13と、情報格納部14と、を有している。このような構成により、角度算出手段13は、磁界検出手段11から受信した出力値に基づいて、水平方向の回転角度を算出することが出来る。また、角度算出手段13は、温度センサ12からの測定結果や情報格納部14に格納されている情報などを加味して、傾きを算出することが出来る。つまり、本実施形態における角度センサ1によると、1つの磁界検出手段11により水平方向の回転角度を算出するとともに、傾きを算出することが出来る。その結果、簡易な構造で、水平方向の回転角を算出するとともに偏向角度(傾き)を算出することが難しい、という問題を解決することが出来る。つまり、簡易な構造で、水平方向の回転角を算出するとともに偏向角度(傾き)を算出することが出来る。
[effect]
As described above, the angle sensor 1 according to the present embodiment includes the magnetic field detection unit 11, the temperature sensor 12, the angle calculation unit 13, and the information storage unit 14. With this configuration, the angle calculation unit 13 can calculate the horizontal rotation angle based on the output value received from the magnetic field detection unit 11. In addition, the angle calculation unit 13 can calculate the inclination in consideration of the measurement result from the temperature sensor 12 and the information stored in the information storage unit 14. That is, according to the angle sensor 1 in the present embodiment, it is possible to calculate the rotation angle in the horizontal direction and the inclination by using the single magnetic field detection unit 11. As a result, it is possible to solve the problem that it is difficult to calculate the rotation angle in the horizontal direction and the deflection angle (tilt) with a simple structure. That is, with a simple structure, the rotation angle in the horizontal direction can be calculated and the deflection angle (tilt) can be calculated.

なお、基準値情報143は、例えば、予め測定された複数のプロットを通過する円を示す情報により表しても構わない。このような円を示す情報を用いることで、sin、cosの値と水平回転角度θとの関係をより詳細に表すことが出来る。つまり、切れ目なく水平回転角度θに応じたsin、cosの値を算出することが可能となる。   The reference value information 143 may be represented by information indicating a circle that passes through a plurality of plots measured in advance. By using such information indicating a circle, the relationship between the values of sin and cos and the horizontal rotation angle θ can be expressed in more detail. That is, it is possible to calculate sin and cos values according to the horizontal rotation angle θ without any breaks.

また、本実施形態で説明した方法によると、sin, cosの絶対値の減少割合(差)を計算して偏向角度(傾き)を算出している。そのため、本実施形態で説明した方法によると、磁石111が上方向(仰角)、下方向(伏角)のどちらに傾いているかを検出することは出来ない。これに対処するため、磁石111を予め所定角度分傾けて設置しておくことが考えられる。例えば、磁石111を仮に45度上向きに設置しておくことで、検出軸が下向き45度になった時点で(磁石は水平になる)磁力は最大となることになる。換言すると、磁石111を予め45度上向きに設置しておくことで、磁力は検出軸が下向き45度から上に向くにつれて減少することになる。従って、下向き45度の状態からの減少割合を計算すれば、上下45度の範囲で、現在軸がどれだけどちら方向に傾いているかを検出、判別することが可能となる。なお、磁石111を予めどの程度傾けて設置しておくかは、検出したい角度の範囲で任意に定めて構わない。例えば、下向き30度から上向き60度の範囲を検出したい場合、磁石111は30度上向きに設置すればよいことになる。   Further, according to the method described in the present embodiment, the deflection angle (tilt) is calculated by calculating the decrease rate (difference) of the absolute values of sin and cos. Therefore, according to the method described in the present embodiment, it is impossible to detect whether the magnet 111 is inclined upward (elevation angle) or downward (declining angle). In order to cope with this, it is conceivable to install the magnet 111 in advance by a predetermined angle. For example, if the magnet 111 is installed 45 degrees upward, the magnetic force is maximized when the detection axis is 45 degrees downward (the magnet becomes horizontal). In other words, if the magnet 111 is installed 45 degrees upward in advance, the magnetic force decreases as the detection axis faces upward from 45 degrees downward. Therefore, if the rate of decrease from the 45 degree downward direction is calculated, it is possible to detect and discriminate how much the current axis is inclined in the range of 45 degrees up and down. Note that either leave set up at an angle in advance how much a magnet 111, may be arbitrarily determined at an angle in the range to be detected. For example, when it is desired to detect a range from 30 degrees downward to 60 degrees upward, the magnet 111 may be installed 30 degrees upward.

以上のような角度センサ1は、角度を算出することが必要となる様々な場面で活用することが出来る。例えば、角度センサ1は、部品の組み立て時における軸の傾きを検出する際や風向計により風向きを検出する際に用いることが考えられる。   The angle sensor 1 as described above can be used in various situations where it is necessary to calculate an angle. For example, the angle sensor 1 can be used when detecting the inclination of the shaft when assembling the parts or when detecting the wind direction with an anemometer.

図11、図12は、角度センサ1が組み込まれる風向計の一例である風向計2の構成の一例を示している。図11を参照すると、風向計2は、例えば、一対の羽根部21と本体部22と支持部23と基台24(設置面)とを有している。   11 and 12 show an example of the configuration of an anemometer 2 that is an example of an anemometer in which the angle sensor 1 is incorporated. Referring to FIG. 11, the anemometer 2 includes, for example, a pair of blade portions 21, a main body portion 22, a support portion 23, and a base 24 (installation surface).

図11を参照すると、基台24は、例えば略直方体状の形状を有している。基台24は、一方の面において支持部23を介して本体部22と連結されており、他方の面において風向計2を設置する設置対象と接した状態で当該設置対象に固定される。   Referring to FIG. 11, the base 24 has a substantially rectangular parallelepiped shape, for example. The base 24 is connected to the main body part 22 via the support part 23 on one side, and is fixed to the installation target in contact with the installation target on which the anemometer 2 is installed on the other side.

本体部22は一対の羽根部21を有しており(つまり、本体部22と羽根部21とは一体的に形成されている)、支持部23を介して基台24と連結されている。具体的には、例えば、支持部23は、本体部22の側面を両側から挟持するとともに、本体部22の挟持する部分を挿通し基台24に対して平行な軸を有するU字状部材を含んでおり、当該U字状部材を介して本体部22と連結されている。また、U字状部材の中央部には、基台24に対する垂直方向の軸が挿通しており、U字状部材及びU字状部材と連結される本体部22は、当該垂直方向の軸を中心に水平方向に回転可能なよう構成されている。このような構成により、本体部22は、例えば、羽根部21が風を受けることで、垂直方向の軸を中心として水平方向に回転するとともに、平行方向の軸を中心として前後に揺動することになる。このように、本体部22は、基台24に対する垂直方向の軸を中心として回転可能なよう支持部23と連結されるとともに、基台24に対して平行な軸を中心として前後方向に揺動可能なよう支持部23と連結されている。なお、図12では、基台24に対して平行な軸を延長した軸である軸Z2と、基台24に対する垂直方向の軸を延長した軸である軸Z1と、を示している。図12を参照すると、羽根部21を有する本体部22は、軸Z1を中心として水平方向に回転するとともに、軸Z2を中心として前後方向に揺動することが分かる。   The main body portion 22 has a pair of blade portions 21 (that is, the main body portion 22 and the blade portions 21 are integrally formed), and is connected to the base 24 via the support portion 23. Specifically, for example, the support portion 23 includes a U-shaped member that sandwiches the side surface of the main body portion 22 from both sides and has an axis parallel to the base 24 through the portion of the main body portion 22 that is sandwiched. And is connected to the main body 22 via the U-shaped member. In addition, a vertical axis with respect to the base 24 is inserted through the central portion of the U-shaped member, and the main body portion 22 connected to the U-shaped member and the U-shaped member has the vertical axis. It is configured to be able to rotate horizontally in the center. With such a configuration, for example, when the blade portion 21 receives wind, the main body portion 22 rotates in the horizontal direction around the vertical axis and swings back and forth around the parallel axis. become. As described above, the main body 22 is connected to the support 23 so as to be rotatable about an axis perpendicular to the base 24 and swings in the front-rear direction about an axis parallel to the base 24. It is connected with the support part 23 as possible. In FIG. 12, an axis Z2 that is an axis obtained by extending an axis parallel to the base 24 and an axis Z1 that is an axis obtained by extending an axis perpendicular to the base 24 are illustrated. Referring to FIG. 12, it can be seen that the main body portion 22 having the blade portion 21 rotates in the horizontal direction around the axis Z1 and swings in the front-rear direction around the axis Z2.

角度センサ1は、例えば、本体部22や支持部23に組み込まれている。具体的には、例えば、角度センサ1を構成する磁気センサ113は、基台4に対して平行となるよう支持部23に配置されている。また、例えば、角度センサ1を構成する磁石111は、S極とN極とが磁気センサ113の磁界検出面と対面するよう本体部22に配置されている。換言すると、本体部22の内部には磁石111が配置されており、支持部23には磁気センサ113が配置されている。このような構成により、本体部22が回転・傾くことに応じて、磁石111が回転・傾くことになる。また、磁石111の回転・傾きに応じて、磁気センサ113が電圧値を出力することになる。   The angle sensor 1 is incorporated in the main body part 22 and the support part 23, for example. Specifically, for example, the magnetic sensor 113 constituting the angle sensor 1 is arranged on the support portion 23 so as to be parallel to the base 4. Further, for example, the magnet 111 constituting the angle sensor 1 is disposed in the main body 22 so that the S pole and the N pole face the magnetic field detection surface of the magnetic sensor 113. In other words, the magnet 111 is disposed inside the main body 22, and the magnetic sensor 113 is disposed on the support portion 23. With such a configuration, the magnet 111 rotates and tilts as the main body 22 rotates and tilts. Further, the magnetic sensor 113 outputs a voltage value according to the rotation / tilt of the magnet 111.

以上が、風向計2の構成の一例である。このような構成により、本体部22は、一対の羽根部21により風を受けると、当該風の風向きに応じて、基板24に対する垂直方向の軸を中心として回転する(水平方向に回転する)とともに、基板24に対して平行な軸を中心として前後方向に揺動することになる。また、風向計2の内部に設置されている角度センサ1により、本体部22の回転・傾きの角度を算出することになる。   The above is an example of the configuration of the anemometer 2. With such a configuration, when the body portion 22 receives wind from the pair of blade portions 21, the body portion 22 rotates about the axis in the vertical direction with respect to the substrate 24 according to the wind direction of the wind (rotates in the horizontal direction). Oscillates in the front-rear direction about an axis parallel to the substrate 24. In addition, the angle sensor 1 installed inside the anemometer 2 calculates the rotation / tilt angle of the main body 22.

以上、上記各実施形態を参照して本願発明を説明したが、本願発明は、上述した実施形態に限定されるものではない。本願発明の構成や詳細には、本願発明の範囲内で当業者が理解しうる様々な変更をすることが出来る。   Although the present invention has been described with reference to the above embodiments, the present invention is not limited to the above-described embodiments. Various changes that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the present invention.

1 角度センサ
11 磁界検出手段
111 磁石
112 支持部
113 磁気センサ
114 ブリッジ回路
1141 素子
12 温度センサ
13 角度算出手段
14 情報格納部
141 軸ずれ補正値
142 基準温度情報
143 基準値情報
144 傾き情報144
2 風向計
21 羽根部
22 本体部
23 支持部
24 基台
DESCRIPTION OF SYMBOLS 1 Angle sensor 11 Magnetic field detection means 111 Magnet 112 Support part 113 Magnetic sensor 114 Bridge circuit 1141 Element 12 Temperature sensor 13 Angle calculation means 14 Information storage part 141 Axis deviation correction value 142 Reference temperature information 143 Reference value information 144 Inclination information 144
2 Anemometer 21 Blade part 22 Body part 23 Support part 24 Base

Claims (10)

入力される磁界の向きに応じて電圧値を出力するブリッジ回路を含む磁気センサと、
S極とN極とが前記磁気センサの磁界検出面と対面するよう配置された磁石と、
前記磁気センサが出力した電圧値に基づいて、前記磁気センサの磁界検出面に対する垂直方向の軸を中心とした前記磁石の回転角度を算出するとともに、予め定められた基準値と前記磁気センサが出力した電圧値とに基づいて、前記磁界検出面に対する前記磁石の傾きの角度を算出する角度算出手段と、
を有する
検出手段。
A magnetic sensor including a bridge circuit that outputs a voltage value according to the direction of the input magnetic field;
A magnet disposed such that the S pole and the N pole face the magnetic field detection surface of the magnetic sensor;
Based on the voltage value output by the magnetic sensor, the rotation angle of the magnet around the axis perpendicular to the magnetic field detection surface of the magnetic sensor is calculated, and a predetermined reference value and the magnetic sensor output Angle calculating means for calculating an angle of inclination of the magnet with respect to the magnetic field detection surface based on the voltage value obtained,
Detecting means.
請求項1に記載の検出手段であって、
前記角度算出手段は、前記基準値と前記磁気センサが出力した電圧値とに基づいて、前記磁気センサの磁界検出面に対する垂直方向の軸であって前記磁石の中心を通る回転軸の傾きである前記磁石の傾きの角度を算出する
検出手段。
The detection means according to claim 1,
The angle calculation means is an inclination of a rotation axis that is perpendicular to the magnetic field detection surface of the magnetic sensor and passes through the center of the magnet, based on the reference value and the voltage value output by the magnetic sensor. Detecting means for calculating an angle of inclination of the magnet;
請求項1又は2に記載の検出手段であって、
前記回転角度ごとの前記基準値を記憶する記憶部を有し、
前記角度算出手段は、前記回転角度を算出するとともに、算出した前記回転角度における前記基準値と前記磁気センサが出力した電圧値とに基づいて前記磁石の傾きの角度を算出する
検出手段。
The detection means according to claim 1 or 2,
A storage unit that stores the reference value for each rotation angle;
The angle calculating means calculates the rotation angle, and calculates a tilt angle of the magnet based on the reference value at the calculated rotation angle and the voltage value output by the magnetic sensor.
請求項3に記載の検出手段であって、
前記角度算出手段は、算出した前記回転角度における前記基準値と前記磁気センサが出力した電圧値から算出される値との間の差に応じて前記磁石の傾きの角度を算出する
検出手段。
The detection means according to claim 3, wherein
The angle calculating means is a detecting means for calculating an angle of inclination of the magnet according to a difference between the reference value at the calculated rotation angle and a value calculated from a voltage value output from the magnetic sensor.
請求項1乃至4の何れかに記載の検出手段であって、
前記角度算出部は、前記基準値と、前記磁気センサが出力した電圧値から算出される値を前記磁石の設置位置に基づいて生じるずれを補正するための補正値により補正した値と、に基づいて前記磁石の傾きの角度を算出する
検出手段。
The detection means according to any one of claims 1 to 4,
The angle calculation unit is based on the reference value and a value obtained by correcting a value calculated from the voltage value output from the magnetic sensor with a correction value for correcting a deviation caused based on an installation position of the magnet. Detecting means for calculating an angle of inclination of the magnet.
請求項1乃至5のいずれかに記載の検出手段であって、
前記角度算出部は、前記基準値と、前記磁気センサが出力した電圧値から算出される値を当該電圧値出力時の温度に応じて補正した値と、に基づいて前記磁石の傾きの角度を算出する
検出手段。
The detection means according to any one of claims 1 to 5,
The angle calculation unit calculates an angle of inclination of the magnet based on the reference value and a value calculated from the voltage value output from the magnetic sensor according to the temperature at the time of the voltage value output. Detection means to calculate.
請求項1乃至6のいずれかに記載の検出手段であって、
前記磁石は、前記磁気センサに対して予め定められた角度分傾けられた状態で設置されている
検出手段。
The detection means according to any one of claims 1 to 6,
The detecting means is installed in a state where the magnet is inclined by a predetermined angle with respect to the magnetic sensor.
請求項1乃至7のいずれかに記載の検出手段であって、
前記磁気センサは、2つのブリッジ回路を含んでいる
検出手段。
The detection means according to any one of claims 1 to 7,
The magnetic sensor includes detection means including two bridge circuits.
請求項1乃至8のいずれかに記載の検出手段を有する角度センサ。   An angle sensor having the detection means according to claim 1. 入力される磁界の向きに応じて電圧値を出力するブリッジ回路を含む磁気センサが出力した電圧値に基づいて、前記磁気センサの磁界検出面に対する垂直方向の軸を中心とした、S極とN極とが前記磁気センサの磁界検出面と対面するよう配置された磁石の回転角度を算出し、予め定められた基準値と前記磁気センサが出力した電圧値とに基づいて、前記磁界検出面に対する前記磁石の傾きの角度を算出する
角度算出方法。


Based on the voltage value output by the magnetic sensor including the bridge circuit that outputs the voltage value according to the direction of the input magnetic field, the S pole and N centered on the axis perpendicular to the magnetic field detection surface of the magnetic sensor A rotation angle of a magnet arranged so that a pole faces the magnetic field detection surface of the magnetic sensor is calculated, and based on a predetermined reference value and a voltage value output by the magnetic sensor, the magnetic field detection surface is An angle calculation method for calculating an angle of inclination of the magnet.


JP2016147499A 2016-07-27 2016-07-27 Detection means, angle sensor, angle calculation method Active JP6767701B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016147499A JP6767701B2 (en) 2016-07-27 2016-07-27 Detection means, angle sensor, angle calculation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016147499A JP6767701B2 (en) 2016-07-27 2016-07-27 Detection means, angle sensor, angle calculation method

Publications (2)

Publication Number Publication Date
JP2018017584A true JP2018017584A (en) 2018-02-01
JP6767701B2 JP6767701B2 (en) 2020-10-14

Family

ID=61075297

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016147499A Active JP6767701B2 (en) 2016-07-27 2016-07-27 Detection means, angle sensor, angle calculation method

Country Status (1)

Country Link
JP (1) JP6767701B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020016621A (en) * 2018-07-27 2020-01-30 三菱電機株式会社 Method for correcting output of tmr sensor
CN111893858A (en) * 2020-06-29 2020-11-06 广东汇涛工程科技有限公司 Method for rapidly evaluating normal use state of bridge

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003307404A (en) * 2002-04-17 2003-10-31 Nissan Motor Co Ltd Method and apparatus for measuring shape
JP2007248069A (en) * 2006-03-13 2007-09-27 Fujitsu Component Ltd Device for detecting three-degree-of-freedom rotation and its method
US20120025809A1 (en) * 2010-07-27 2012-02-02 Pg Drives Technology Ltd. Control Device
WO2013076839A1 (en) * 2011-11-24 2013-05-30 トヨタ自動車株式会社 Rotational-angle detection device and electric power-steering device provided with rotational-angle detection device
JP2015511018A (en) * 2012-03-22 2015-04-13 ツェットエフ、フリードリッヒスハーフェン、アクチエンゲゼルシャフトZf Friedrichshafen Ag Magnetic field sensor device, actuating device and method for determining relative position

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003307404A (en) * 2002-04-17 2003-10-31 Nissan Motor Co Ltd Method and apparatus for measuring shape
JP2007248069A (en) * 2006-03-13 2007-09-27 Fujitsu Component Ltd Device for detecting three-degree-of-freedom rotation and its method
US20120025809A1 (en) * 2010-07-27 2012-02-02 Pg Drives Technology Ltd. Control Device
WO2013076839A1 (en) * 2011-11-24 2013-05-30 トヨタ自動車株式会社 Rotational-angle detection device and electric power-steering device provided with rotational-angle detection device
JP2015511018A (en) * 2012-03-22 2015-04-13 ツェットエフ、フリードリッヒスハーフェン、アクチエンゲゼルシャフトZf Friedrichshafen Ag Magnetic field sensor device, actuating device and method for determining relative position

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020016621A (en) * 2018-07-27 2020-01-30 三菱電機株式会社 Method for correcting output of tmr sensor
JP7180170B2 (en) 2018-07-27 2022-11-30 三菱電機株式会社 Output correction method of TMR sensor
CN111893858A (en) * 2020-06-29 2020-11-06 广东汇涛工程科技有限公司 Method for rapidly evaluating normal use state of bridge

Also Published As

Publication number Publication date
JP6767701B2 (en) 2020-10-14

Similar Documents

Publication Publication Date Title
EP3184954B1 (en) Magnetoresistive angle sensor
JP6549676B2 (en) Measurement of absolute angular position
JP5801566B2 (en) Rotation angle detector
JP5500785B2 (en) Magnetic sensor
US8587295B2 (en) Angle detection apparatus and position detection apparatus
JP6043721B2 (en) Improved position sensor
US9268001B2 (en) Differential perpendicular on-axis angle sensor
US10732009B2 (en) Angle sensing in an off-axis configuration
US8525513B2 (en) Angular position measuring device
JP6074988B2 (en) Rotation magnetism detection circuit and rotation magnetic sensor
US10508897B2 (en) Magnet device and position sensing system
JP5131537B2 (en) Angle detector
JP2008281556A (en) Angle detector, valve system, and noncontact volume
JP6767701B2 (en) Detection means, angle sensor, angle calculation method
JP2019074522A (en) Integrated magnetic structure
KR102677085B1 (en) Encoder
JP6455314B2 (en) Rotation detector
JP7114315B2 (en) encoder
TWI683990B (en) Encoder
JP2003240602A (en) Rotation angle sensor
JP4992641B2 (en) Rotation angle detection device and rotation angle detection method
JP5548074B2 (en) Rotation angle detector
JP2023088219A (en) Angle sensor device and angle detection device
WO2016190040A1 (en) Rotation detector

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190110

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20191213

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200204

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200325

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200904

R150 Certificate of patent or registration of utility model

Ref document number: 6767701

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250