[go: up one dir, main page]

JP2004226124A - Rotation angle detection device for angle sensor - Google Patents

Rotation angle detection device for angle sensor Download PDF

Info

Publication number
JP2004226124A
JP2004226124A JP2003011532A JP2003011532A JP2004226124A JP 2004226124 A JP2004226124 A JP 2004226124A JP 2003011532 A JP2003011532 A JP 2003011532A JP 2003011532 A JP2003011532 A JP 2003011532A JP 2004226124 A JP2004226124 A JP 2004226124A
Authority
JP
Japan
Prior art keywords
correction value
amplitude
signal
detection
detection signal
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.)
Pending
Application number
JP2003011532A
Other languages
Japanese (ja)
Inventor
Yoshinori Ogiso
好典 小木曽
Noritomo Oki
紀知 大木
Kohei Matsuda
宏平 松田
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.)
KYB Corp
Original Assignee
Kayaba Industry 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 Kayaba Industry Co Ltd filed Critical Kayaba Industry Co Ltd
Priority to JP2003011532A priority Critical patent/JP2004226124A/en
Publication of JP2004226124A publication Critical patent/JP2004226124A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Measurement Of Length, Angles, Or The Like Using Electric Or Magnetic Means (AREA)
  • Transmission And Conversion Of Sensor Element Output (AREA)

Abstract

【課題】温度変化や生産時の個体差による検出誤差を補償できる角度センサの回転角度検出装置を提供する。
【解決手段】磁界をつくるリング磁石(磁気回路構成部)3と、磁束密度に応じた検出信号を出力する第一、第二ホール素子(磁束密度検出部)7,8と、この検出信号を基に第一、第二ホール素子7,8に対するリング磁石3の回転角度を算出する角度算出手段12とを備える角度センサの回転角度検出装置10において、検出信号の振幅aを検出する振幅検出手段13と、検出信号の振幅aから振幅補正値e、オフセット補正値fを算出する補正値算出手段14と、検出信号とこれらの補正値e,fとから補正後信号を求める補正手段15と、角度算出手段12に出力される信号を検出信号か補正後信号のいずれかに切換える信号切換手段16とを備える。
【選択図】 図1
An object of the present invention is to provide a rotation angle detection device for an angle sensor that can compensate for a detection error due to a temperature change or an individual difference during production.
A ring magnet (magnetic circuit component) for generating a magnetic field, first and second Hall elements (magnetic flux density detecting units) for outputting detection signals corresponding to magnetic flux densities, and the detection signals are output. In the rotation angle detecting device 10 of the angle sensor, which comprises the angle calculating means 12 for calculating the rotation angle of the ring magnet 3 with respect to the first and second Hall elements 7, 8, the amplitude detecting means for detecting the amplitude a of the detection signal 13, a correction value calculation means 14 for calculating an amplitude correction value e and an offset correction value f from the amplitude a of the detection signal, a correction means 15 for obtaining a corrected signal from the detection signal and these correction values e and f, Signal switching means 16 for switching a signal output to the angle calculation means 12 to either a detection signal or a corrected signal.
[Selection diagram] Fig. 1

Description

【0001】
【発明の属する技術分野】
本発明は、家電製品や自動車等に用いられ、磁気を利用した角度センサの回転角度検出装置に関するものである。
【0002】
【従来の技術】
従来、この種の角度センサとして、シャフトの一端にリング状の磁石を固定し、この磁石の内側または外側に複数のホール素子が設けられ、このホール素子が磁石が相対回転するのに伴って変化する磁束密度に応じた電圧を信号として出力するものがある(特許文献1参照)。
【0003】
また、この種の角度センサにおいて、温度変化による特性変化を補償する方法として、温度変化に対して角度センサと逆特性の温度補償器を用いるものがあった(特許文献2、特許文献3参照)。
【0004】
【特許文献1】
特願2001−352683号
【特許文献2】
特開平2−2168181号公報
【特許文献2】
特開昭48−48087号公報
【0005】
【発明が解決しようとする課題】
しかしながら、このような磁気を利用した角度センサの場合、検出誤差を生じる要因として、磁石の磁力やホール素子の感度が温度に応じて変化すること、磁石の着磁強度のバラツキやホール素子の取付位置のバラツキといった生産時の不具合、さらにホール素子自体の個体差等があり、これらによってセンサ出力の振幅や後述するセンサ出力の振幅の中心値(オフセット値)が変化するという問題点があった。
【0006】
また、従来の温度補償器が用いた補償方法の場合、温度補償器のチューニングが難しいという問題点があった。また、生産時の個体差に対応することが難しいという問題点があった。
【0007】
本発明は上記の問題点に鑑みてなされたものであり、温度変化や生産時の個体差による検出誤差を補償できる角度センサの回転角度検出装置を提供することを目的とする。
【0008】
【課題を解決するための手段】
第1の発明は、磁界をつくる磁気回路構成部と、磁束密度に応じた検出信号を出力する磁束密度検出部と、この検出信号を基にこの磁束密度検出部に対する磁気回路構成部の回転角度を算出する角度算出手段とを備える角度センサの回転角度検出装置に適用する。
【0009】
そして、検出信号の振幅を検出する振幅検出手段と、検出信号の振幅から補正値を算出する補正値算出手段と、検出信号とこの補正値とから補正後信号を求める補正手段と、角度算出手段に出力される信号を検出信号か補正後信号のいずれかに切換える信号切換手段とを備えることを特徴とするものとした。
【0010】
第2の発明は、第1の発明において、磁気回路構成部が磁束密度検出部に対して1回転以上のN回転する間に検出される検出信号を基に補正値を算出し、N回転した後に角度算出手段に出力される信号を検出信号から補正後信号に切換える構成としたことを特徴とするものとした。
【0011】
第3の発明は、第1または第2の発明において、磁気回路構成部が磁束密度検出部に対して2回転以上のM回転する毎に検出信号を基に補正値を算出し、補正値を更新する構成としたことを特徴とするものとした。
【0012】
第4の発明は、第1から第3ののいずれか一つの発明において、補正値算出手段は振幅と振幅基準値を基に振幅補正値を振幅補正値=振幅基準値/振幅として算出するとともに、検出信号の最大値と最小値を基にオフセット補正値をオフセット補正値=0−(最大値+最小値)/2として算出する構成とし、補正手段は振幅補正値とオフセット補正値を基に補正後信号を補正後信号=(検出信号+オフセット補正値)×振幅補正値として算出する構成としたことを特徴とするものとした。
【0013】
【発明の作用および効果】
第1の発明によると、補正後信号を基に角度センサの温度変化による特性変化や製品の個体差に起因する検出誤差が補償された正確な回転角度を算出することができる。また、従来方法のように温度補償器が用いることがなく、チューニングの必要がない。
【0014】
第2の発明によると、磁気回路構成部が磁束密度検出部に対してN回転する間に検出される検出信号を基に補正値を算出し、算出されたこの補正値を基に検出信号を補正した補正後信号を算出し、N回転した後に角度算出手段に対する出力信号を検出信号から補正後信号に切換え、温度変化や生産時の個体差による検出誤差が補償される
第3の発明によると、M回転毎に補正値を更新することにより、起動後の温度変化等に起因する検出誤差が補償された正確な回転角度を算出することができる。
【0015】
第4の発明によると、検出信号の振幅を検出し、振幅補正値を振幅と振幅基準値を基に振幅補正値を算出するとともに、検出信号の最大値と最小値を基にオフセット補正値を算出し、振幅補正値とオフセット補正値を基に補正後信号を算出する。振幅補正値によって角度センサの温度変化による特性変化が補償され、オフセット補正値によって製品の個体差に起因する検出誤差が補償され、正確な回転角度を検出できる。
【0016】
【発明の実施の形態】
以下、本発明の実施の形態を添付図面に基づいて説明する。
【0017】
まず、図1に本発明が適用された角度センサの一例を示すが、これ自体は本出願人により特願2001−352683号として既に出願されている。
【0018】
この角度センサ1は、磁気回路構成部として回転シャフトに固定されるリング磁石3と、磁束密度検出部として設けられる対のホール素子7,8を主体として構成される。
【0019】
永久磁石からなるリング磁石3は、平行着磁により一対のN極とS極が回転中心Oを挟んで回転中心線上に形成される。
【0020】
第一、第二ホール素子7,8は、リング磁石3が相対回転するのに伴って変化する磁束密度に応じた電圧を信号として出力する。第一、第二ホール素子7,8が互いに直交する回転中心線上に配置される。
【0021】
図2に示すように、回転角度検出装置10は、第一、第二ホール素子7,8のセンサ信号をADコンバータ11によって検出信号として取り込み、この検出信号を基に角度算出手段12によって回転角度が算出される。
【0022】
図3は第一、第二ホール素子7,8の検出信号が回転角度に応じて変化する様子を示している。この検出信号は、位相が90度異なる正弦波となる。
【0023】
角度算出手段12は回転角度を算出する信号として、検出信号のうち回転角度に対する電圧変化が大きい方を用いる。そして、検出信号のうち回転角度に対する電圧変化が小さい方を用いて、回転角度を算出する信号として用いられる検出信号がどの回転角度領域にあるかを判定する。例えば第二ホール素子8が1回転する間に、検出信号Bによって例えば2点で同一出力が得られるが、検出信号Aをモニターすることで回転角度を特定する。
【0024】
ところで、角度センサ1の検出誤差を生じる要因として、温度変化や生産時に生じる個体差によって検出信号の振幅aや振幅aの中心値(オフセット値)が変化することがある。永久磁石の磁力は温度上昇に伴って弱くなる。角度センサ1の個体差としては、例えばホール素子7,8の感度、取付位置、リング磁石3の着磁強度等のバラツキがある。
【0025】
これに対処して、回転角度検出装置10は、検出信号の振幅aを検出する振幅検出手段13と、検出信号の振幅aを基に振幅補正値eを算出するとともに、オフセット補正値fを算出する補正値算出手段14と、これらの補正値e,fを基に検出信号を補正した補正後信号を算出する補正手段15と、この補正後信号が算出されるのに伴って角度算出手段12に対する出力信号を検出信号から補正後信号に切換える信号切換手段16とを備える。
【0026】
これにより、回転角度検出装置10は、振幅補正値e、オフセット補正値fによって角度センサ1の温度変化による特性変化、製品の個体差に起因する検出誤差が補償されるため、正確な回転角度を検出できる。
【0027】
具体的に、振幅検出手段13は振幅aを次式で検出信号の最大値と最小値の差として求める。
振幅a=最大値−最小値
この最大値と最小値を検出する方法は、まずシステム起動時に信号切換手段16を1側に設定し、前述したように角度算出手段12によって検出信号を基に回転角度値を算出する。振幅検出手段13は角度算出手段12からの回転角度信号を基にリング磁石3が1回転する間、検出信号の最大値と最小値を更新し続けることで最終的な最大値と最小値を求める。
【0028】
なお、上記検出信号の最大値と最小値が求められるまでの間は、従来通り検出信号を基に回転角度を算出することになるが、この補正が行われない回転角度でも極端に誤った値を算出するわけではなく、大きな問題にならない。この角度センサ1が車両のパワーステアリング装置において操舵角を検出するのに用いられる場合、15:1程度の減速機を備えていると、電源投入後に車両のハンドルを24°程度回すことによって上記最大値と最小値が求められるため、実際に車両が走行する際にはほとんど問題にならない。
【0029】
補正値算出手段14は、振幅補正値eを振幅aと振幅基準値(本来あるべき振幅)a′を基に次式で算出する。
振幅補正値e=振幅基準値a′/振幅a
そして、補正値算出手段14はオフセット補正値fを検出信号の最大値と最小値を基に次式で算出する。
オフセット補正値f=0−(最大値+最小値)/2
補正手段15は、振幅補正値eとオフセット補正値fを基に検出信号を次式で補正し、補正後信号を算出する。
補正後信号=(検出信号+オフセット補正値f)×振幅補正値e
こうして補正後信号が算出されるのに伴って信号切換手段16を2側に設定し、角度算出手段12に対する出力信号を検出信号から補正後信号に切換える。これにより、角度算出手段12は補正後信号を基に角度センサ1の温度変化による特性変化や製品の個体差に起因する検出誤差が補償された正確な回転角度を算出することができる。
【0030】
次に、回転角度検出装置10で実行される上記の制御動作を図4のフローチャートにしたがって説明する。
【0031】
システム起動時に補正モードフラグを初期化(0)する。
【0032】
ステップ1において検出信号を読み込み、ステップ2にて補正モードフラグが0か否かを判定する。補正モードフラグが0の場合、ステップ3に進み、リング磁石3が1回転したか否かを判定する。
【0033】
ここで、リング磁石3がまだ1回転しない場合には(1回転するまでは)、ステップ4にて検出信号の最大値、最小値を検出、更新し続ける。
【0034】
一方、リング磁石3が1回転した場合には、補正モードフラグを1とし(ステップ5)、ステップ6にて先に検出した最大値、最小値を基に振幅補正値eとオフセット補正値fを算出する。こうして各補正値e,fが算出されると、ステップ7にて、この値に基づいて補正後信号を算出する。なお、補正モードフラグが1の場合には、以後ステップ3〜6の処理を行うことなくステップ7に進んで(ステップ2)、算出された振幅補正値eとオフセット補正値f及び検出信号を基に補正後信号を算出する。
【0035】
ところで、上記フローチャートに示した実施の形態の他に、補正値の算出は起動後に1回だけ行うのではなく、リング磁石3が2回転以上のM回転する毎に行い、補正値を更新しても良い。これにより、起動後の温度変化等に起因する検出誤差が補償されたより正確な回転角度を算出することができる。
【0036】
さらに上記実施の形態では、起動時に1回転させて、その間の検出信号から最大、最小値を検出し、これに基づき補正値を算出しているが、この他に、起動時に1回だけでなく2回以上のN回だけ回転させて、その中で検出された最大、最小値を求め、その平均値から補正値を算出しても良い。これにより、さらに安定した値を求めることが可能となる。
【0037】
本発明は上記の実施の形態に限定されずに、その技術的な思想の範囲内において種々の変更がなしうることは明白である。
【図面の簡単な説明】
【図1】本発明の実施の形態を示す角度センサの構成図。
【図2】同じく回転角度検出装置の構成図。
【図3】同じく角度センサの出力特性を示す線図。
【図4】同じく回転角度の検出誤差を補償する制御動作をフローチャート。
【符号の説明】
1 角度センサ
2 シャフト
3 リング磁石(磁気回路構成部)
7,8 第一、第二ホール素子(磁束密度検出部)
10 回転角度検出装置
12 角度算出手段
13 振幅検出手段
14 補正値算出手段
15 補正手段
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a rotation angle detection device of an angle sensor that uses magnetism and is used for home electric appliances, automobiles, and the like.
[0002]
[Prior art]
Conventionally, as this type of angle sensor, a ring-shaped magnet is fixed to one end of a shaft, and a plurality of Hall elements are provided inside or outside the magnet, and this Hall element changes as the magnet rotates relatively. There is a device that outputs a voltage corresponding to the generated magnetic flux density as a signal (see Patent Document 1).
[0003]
As a method of compensating for a characteristic change due to a temperature change in this type of angle sensor, there has been a method using a temperature compensator having characteristics reverse to those of the angle sensor with respect to a temperature change (see Patent Documents 2 and 3). .
[0004]
[Patent Document 1]
Japanese Patent Application No. 2001-352683 [Patent Document 2]
Japanese Patent Application Laid-Open No. 2-1168181 [Patent Document 2]
JP-A-48-48087
[Problems to be solved by the invention]
However, in the case of such an angle sensor using magnetism, the factors that cause a detection error are that the magnetic force of the magnet and the sensitivity of the Hall element change according to the temperature, the variation in the magnetizing strength of the magnet and the mounting of the Hall element. There is a problem at the time of production such as a variation in position, and furthermore, there is an individual difference of the Hall element itself, which causes a problem that the amplitude of the sensor output and a center value (offset value) of the amplitude of the sensor output described later change.
[0006]
In addition, in the case of a compensation method using a conventional temperature compensator, there is a problem that tuning of the temperature compensator is difficult. There is also a problem that it is difficult to cope with individual differences during production.
[0007]
The present invention has been made in view of the above problems, and has as its object to provide a rotation angle detection device for an angle sensor that can compensate for a detection error due to a temperature change or an individual difference during production.
[0008]
[Means for Solving the Problems]
According to a first aspect of the present invention, a magnetic circuit component for generating a magnetic field, a magnetic flux density detector for outputting a detection signal corresponding to a magnetic flux density, and a rotation angle of the magnetic circuit component with respect to the magnetic flux density detector based on the detection signal Is applied to a rotation angle detection device of an angle sensor including an angle calculation means for calculating the rotation angle.
[0009]
An amplitude detector for detecting the amplitude of the detection signal; a correction value calculator for calculating a correction value from the amplitude of the detection signal; a correction unit for obtaining a corrected signal from the detection signal and the correction value; And a signal switching means for switching the signal output to either the detection signal or the corrected signal.
[0010]
According to a second aspect, in the first aspect, a correction value is calculated based on a detection signal detected while the magnetic circuit constituting unit makes one or more rotations N with respect to the magnetic flux density detection unit, and the magnetic circuit component rotates N times. The signal output to the angle calculating means later is switched from the detection signal to the corrected signal.
[0011]
In a third aspect based on the first or second aspect, a correction value is calculated based on the detection signal every time the magnetic circuit configuration unit makes two or more rotations of the magnetic flux density detection unit with respect to the magnetic flux density detection unit, and the correction value is calculated. It is characterized in that it is configured to be updated.
[0012]
In a fourth aspect based on any one of the first to third aspects, the correction value calculation means calculates the amplitude correction value based on the amplitude and the amplitude reference value as amplitude correction value = amplitude reference value / amplitude. The offset correction value is calculated as the offset correction value = 0− (maximum value + minimum value) / 2 based on the maximum value and the minimum value of the detection signal, and the correction means is configured based on the amplitude correction value and the offset correction value. The corrected signal is calculated as a corrected signal = (detection signal + offset correction value) × amplitude correction value.
[0013]
Function and Effect of the Invention
According to the first aspect, it is possible to calculate an accurate rotation angle in which a detection error caused by a characteristic change due to a temperature change of the angle sensor or an individual difference between products is compensated based on the corrected signal. Also, unlike the conventional method, no temperature compensator is used, and there is no need for tuning.
[0014]
According to the second aspect, a correction value is calculated based on a detection signal detected while the magnetic circuit configuration unit makes N rotations with respect to the magnetic flux density detection unit, and a detection signal is calculated based on the calculated correction value. According to the third aspect of the present invention, a corrected corrected signal is calculated, and after N rotations, the output signal to the angle calculating means is switched from the detected signal to the corrected signal, and a detection error due to a temperature change or an individual difference during production is compensated. By updating the correction value every M rotations, it is possible to calculate an accurate rotation angle in which a detection error caused by a temperature change or the like after startup is compensated.
[0015]
According to the fourth aspect, the amplitude of the detection signal is detected, the amplitude correction value is calculated based on the amplitude and the amplitude reference value, and the offset correction value is calculated based on the maximum value and the minimum value of the detection signal. Then, the corrected signal is calculated based on the amplitude correction value and the offset correction value. A characteristic change due to a temperature change of the angle sensor is compensated for by the amplitude correction value, and a detection error caused by an individual difference between products is compensated for by the offset correction value, so that an accurate rotation angle can be detected.
[0016]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings.
[0017]
First, FIG. 1 shows an example of an angle sensor to which the present invention is applied, which has already been filed by the present applicant as Japanese Patent Application No. 2001-352683.
[0018]
The angle sensor 1 mainly includes a ring magnet 3 fixed to a rotating shaft as a magnetic circuit component, and a pair of Hall elements 7 and 8 provided as a magnetic flux density detector.
[0019]
In the ring magnet 3 made of a permanent magnet, a pair of N and S poles are formed on the rotation center line with the rotation center O interposed therebetween by parallel magnetization.
[0020]
The first and second Hall elements 7 and 8 output a voltage corresponding to a magnetic flux density that changes as the ring magnet 3 relatively rotates. The first and second Hall elements 7, 8 are arranged on a rotation center line orthogonal to each other.
[0021]
As shown in FIG. 2, the rotation angle detecting device 10 captures the sensor signals of the first and second Hall elements 7 and 8 as detection signals by an AD converter 11 and, based on the detection signals, rotates the rotation angle Is calculated.
[0022]
FIG. 3 shows how the detection signals of the first and second Hall elements 7 and 8 change according to the rotation angle. This detection signal is a sine wave having a phase difference of 90 degrees.
[0023]
The angle calculation means 12 uses, as a signal for calculating the rotation angle, one of the detection signals having a large voltage change with respect to the rotation angle. Then, by using the detection signal having a smaller voltage change with respect to the rotation angle, it is determined in which rotation angle region the detection signal used as the signal for calculating the rotation angle is located. For example, while the second Hall element 8 makes one rotation, the same output is obtained at, for example, two points by the detection signal B, but the rotation angle is specified by monitoring the detection signal A.
[0024]
By the way, as a factor that causes a detection error of the angle sensor 1, the amplitude a of the detection signal and the center value (offset value) of the amplitude a may change due to a temperature change or an individual difference generated during production. The magnetic force of the permanent magnet weakens with increasing temperature. The individual differences of the angle sensor 1 include, for example, variations in the sensitivity of the Hall elements 7 and 8, the mounting position, the magnetization strength of the ring magnet 3, and the like.
[0025]
In response to this, the rotation angle detection device 10 calculates an amplitude correction value e based on the amplitude a of the detection signal and an offset correction value f based on the amplitude a of the detection signal. Correction value calculating means 14, a correcting means 15 for calculating a corrected signal obtained by correcting the detection signal based on these correction values e and f, and an angle calculating means 12 as the corrected signal is calculated. And a signal switching means 16 for switching the output signal to the detected signal from the detected signal to the corrected signal.
[0026]
Accordingly, the rotation angle detection device 10 compensates for a characteristic change due to a temperature change of the angle sensor 1 and a detection error caused by an individual difference of a product by the amplitude correction value e and the offset correction value f. Can be detected.
[0027]
Specifically, the amplitude detecting means 13 calculates the amplitude a as the difference between the maximum value and the minimum value of the detection signal by the following equation.
Amplitude a = maximum value-minimum value In a method of detecting the maximum value and the minimum value, first, the signal switching means 16 is set to 1 when the system is started, and the angle is calculated by the angle calculating means 12 based on the detection signal as described above. Calculate the angle value. The amplitude detecting means 13 obtains the final maximum value and minimum value by continuously updating the maximum value and the minimum value of the detection signal during one rotation of the ring magnet 3 based on the rotation angle signal from the angle calculating means 12. .
[0028]
Until the maximum value and the minimum value of the detection signal are obtained, the rotation angle is calculated based on the detection signal as before, but even if the rotation angle is not corrected, an extremely wrong value is obtained. Is not calculated, and it is not a big problem. When the angle sensor 1 is used to detect a steering angle in a power steering device of a vehicle, if a speed reducer of about 15: 1 is provided, the above-described maximum can be obtained by turning the steering wheel of the vehicle by about 24 ° after turning on the power. Since the value and the minimum value are obtained, there is almost no problem when the vehicle actually runs.
[0029]
The correction value calculating means 14 calculates the amplitude correction value e based on the amplitude a and the amplitude reference value (original amplitude) a 'by the following equation.
Amplitude correction value e = amplitude reference value a '/ amplitude a
Then, the correction value calculating means 14 calculates the offset correction value f by the following equation based on the maximum value and the minimum value of the detection signal.
Offset correction value f = 0− (maximum value + minimum value) / 2
The correction unit 15 corrects the detection signal based on the amplitude correction value e and the offset correction value f by the following equation, and calculates a corrected signal.
Corrected signal = (detection signal + offset correction value f) × amplitude correction value e
As the post-correction signal is calculated, the signal switching means 16 is set to the second side, and the output signal to the angle calculation means 12 is switched from the detection signal to the post-correction signal. Thereby, the angle calculation means 12 can calculate an accurate rotation angle in which a detection error caused by a characteristic change due to a temperature change of the angle sensor 1 or an individual difference of a product is compensated based on the corrected signal.
[0030]
Next, the above control operation executed by the rotation angle detection device 10 will be described with reference to the flowchart of FIG.
[0031]
The correction mode flag is initialized (0) when the system is started.
[0032]
In step 1, the detection signal is read, and in step 2, it is determined whether the correction mode flag is 0 or not. If the correction mode flag is 0, the process proceeds to step 3, where it is determined whether the ring magnet 3 has made one rotation.
[0033]
If the ring magnet 3 has not yet made one rotation (until it makes one rotation), the maximum and minimum values of the detection signal are detected and updated in step 4.
[0034]
On the other hand, when the ring magnet 3 makes one rotation, the correction mode flag is set to 1 (step 5), and the amplitude correction value e and the offset correction value f are set based on the maximum value and the minimum value detected earlier in step 6. calculate. When the correction values e and f are calculated in this way, a corrected signal is calculated in step 7 based on these values. If the correction mode flag is 1, the process proceeds to step 7 without performing the processing of steps 3 to 6 (step 2), and the calculated amplitude correction value e, offset correction value f, and detection signal are used. To calculate the corrected signal.
[0035]
By the way, in addition to the embodiment shown in the above-mentioned flowchart, the calculation of the correction value is not performed only once after the activation, but is performed every time the ring magnet 3 makes two or more M rotations, and the correction value is updated. Is also good. This makes it possible to calculate a more accurate rotation angle in which a detection error caused by a temperature change or the like after startup is compensated.
[0036]
Furthermore, in the above-described embodiment, one rotation is performed at the time of startup, and the maximum and minimum values are detected from the detection signal during that time, and the correction value is calculated based on the maximum and minimum values. It is also possible to rotate two or more times N to find the maximum and minimum values detected among them and calculate the correction value from the average value. As a result, a more stable value can be obtained.
[0037]
It is apparent that the present invention is not limited to the above-described embodiment, and that various changes can be made within the scope of the technical idea.
[Brief description of the drawings]
FIG. 1 is a configuration diagram of an angle sensor showing an embodiment of the present invention.
FIG. 2 is a configuration diagram of a rotation angle detection device.
FIG. 3 is a diagram showing output characteristics of the angle sensor.
FIG. 4 is a flowchart showing a control operation for compensating a detection error of the rotation angle.
[Explanation of symbols]
1 Angle sensor 2 Shaft 3 Ring magnet (magnetic circuit component)
7, 8 First and second Hall elements (magnetic flux density detector)
Reference Signs List 10 rotation angle detecting device 12 angle calculating means 13 amplitude detecting means 14 correction value calculating means 15 correcting means

Claims (4)

磁界をつくる磁気回路構成部と、磁束密度に応じた検出信号を出力する磁束密度検出部と、この検出信号を基にこの磁束密度検出部に対する磁気回路構成部の回転角度を算出する角度算出手段とを備える角度センサの回転角度検出装置において、
前記検出信号の振幅を検出する振幅検出手段と、この検出信号の振幅から補正値を算出する補正値算出手段と、前記検出信号とこの補正値とから補正後信号を求める補正手段と、前記角度算出手段に出力される信号を前記検出信号かこの補正後信号のいずれかに切換える信号切換手段とを備えたことを特徴とする角度センサの回転角度検出装置。
A magnetic circuit component for generating a magnetic field, a magnetic flux density detector for outputting a detection signal corresponding to the magnetic flux density, and an angle calculator for calculating a rotation angle of the magnetic circuit component with respect to the magnetic flux density detector based on the detection signal In a rotation angle detection device for an angle sensor comprising:
Amplitude detection means for detecting the amplitude of the detection signal; correction value calculation means for calculating a correction value from the amplitude of the detection signal; correction means for obtaining a corrected signal from the detection signal and the correction value; Signal rotation means for switching a signal output to the calculation means to either the detection signal or the corrected signal. A rotation angle detection device for an angle sensor.
前記磁気回路構成部が前記磁束密度検出部に対して1回転以上のN回転する間に検出される検出信号を基に前記補正値を算出し、N回転した後に前記角度算出手段に出力される信号を前記検出信号から前記補正後信号に切換える構成としたことを特徴とする請求項1に記載の角度センサの回転角度検出装置。The correction value is calculated based on a detection signal detected while the magnetic circuit configuration unit makes one or more rotations N with respect to the magnetic flux density detection unit, and is output to the angle calculation unit after N rotations. The rotation angle detecting device for an angle sensor according to claim 1, wherein a signal is switched from the detection signal to the corrected signal. 前記磁気回路構成部が前記磁束密度検出部に対して2回転以上のM回転する毎に前記検出信号を基に前記補正値を算出し、前記補正値を更新する構成としたことを特徴とする請求項1または2に記載の角度センサの回転角度検出装置。The correction value is calculated based on the detection signal and the correction value is updated every time the magnetic circuit configuration unit makes two or more rotations with respect to the magnetic flux density detection unit. A rotation angle detection device for an angle sensor according to claim 1. 前記補正値算出手段は前記振幅と前記振幅基準値を基に振幅補正値を振幅補正値=振幅基準値/振幅として算出するとともに、前記検出信号の最大値と最小値を基にオフセット補正値をオフセット補正値=0−(最大値+最小値)/2として算出する構成とし、前記補正手段はこの振幅補正値とオフセット補正値を基に前記補正後信号を補正後信号=(検出信号+オフセット補正値)×振幅補正値として算出する構成としたことを特徴とする請求項1から3のいずれか一つに記載の角度センサの回転角度検出装置。The correction value calculation means calculates an amplitude correction value based on the amplitude and the amplitude reference value as amplitude correction value = amplitude reference value / amplitude, and calculates an offset correction value based on a maximum value and a minimum value of the detection signal. The offset correction value is calculated as 0− (maximum value + minimum value) / 2, and the correction unit calculates the corrected signal based on the amplitude correction value and the offset correction value as a corrected signal = (detection signal + offset). 4. The rotation angle detection device for an angle sensor according to claim 1, wherein the rotation angle is calculated as (correction value) .times.amplitude correction value.
JP2003011532A 2003-01-20 2003-01-20 Rotation angle detection device for angle sensor Pending JP2004226124A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003011532A JP2004226124A (en) 2003-01-20 2003-01-20 Rotation angle detection device for angle sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003011532A JP2004226124A (en) 2003-01-20 2003-01-20 Rotation angle detection device for angle sensor

Publications (1)

Publication Number Publication Date
JP2004226124A true JP2004226124A (en) 2004-08-12

Family

ID=32900411

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003011532A Pending JP2004226124A (en) 2003-01-20 2003-01-20 Rotation angle detection device for angle sensor

Country Status (1)

Country Link
JP (1) JP2004226124A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100478978B1 (en) * 2004-12-28 2005-03-28 (주)다림시스템 Apparatus for resolution of angular position using hall-ic and method thereof
JP2008096164A (en) * 2006-10-06 2008-04-24 Nippon Yusoki Co Ltd Detector for rotation angle
EP1919083A3 (en) * 2006-10-31 2010-04-14 Continental Automotive GmbH Operating device
JP2010190632A (en) * 2009-02-17 2010-09-02 Nsk Ltd Torque sensor, and electric power steering device using the same
US9438147B2 (en) 2013-07-12 2016-09-06 Kabushiki Kaisha Toshiba Position detecting apparatus and driving system
CN111457946A (en) * 2020-05-21 2020-07-28 哈尔滨理工大学 A spontaneous electromagnetic encoder

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100478978B1 (en) * 2004-12-28 2005-03-28 (주)다림시스템 Apparatus for resolution of angular position using hall-ic and method thereof
JP2008096164A (en) * 2006-10-06 2008-04-24 Nippon Yusoki Co Ltd Detector for rotation angle
EP1919083A3 (en) * 2006-10-31 2010-04-14 Continental Automotive GmbH Operating device
JP2010190632A (en) * 2009-02-17 2010-09-02 Nsk Ltd Torque sensor, and electric power steering device using the same
US9438147B2 (en) 2013-07-12 2016-09-06 Kabushiki Kaisha Toshiba Position detecting apparatus and driving system
CN111457946A (en) * 2020-05-21 2020-07-28 哈尔滨理工大学 A spontaneous electromagnetic encoder

Similar Documents

Publication Publication Date Title
JP5660381B2 (en) Rotation angle detector
US6925401B2 (en) Method and apparatus for correcting resolver output
CN108291799B (en) Angle detection device and electric power steering device
US7233139B2 (en) Method and apparatus for sensing angle of rotation which compensates an output signal from a magnetic sensor element irrespective of the range of rotational angles of a target object
KR20160059958A (en) Encoder and method of calculating rotational angle position
CN107085193A (en) Detection of Offset Errors in Phase Current Measurements for Motor Control Systems
CN103863389B (en) Rotary angle detecting device and the driven steering device for possessing it
CN113167598A (en) Angle sensor with multipole magnet for motor vehicle steering systems
WO2007102332A1 (en) Offset correction program and electronic compass
JP2004226124A (en) Rotation angle detection device for angle sensor
JP5994407B2 (en) Rotation angle detector
JP5892359B2 (en) Rotation angle detector
JP2013088181A (en) Sensor output correction device
JP2011047735A (en) Rotational angle detecting device
JP6229450B2 (en) Rotation angle sensor and rotation angle detection device
JP2009250790A (en) Position detecting device and position detection correcting method
JP6162060B2 (en) Motor rotation angle detection device
JP2004359178A (en) Electric power steering control device and control method
JP2003344108A (en) Position detector, its position detector circuit and its inspecting method
US20200158535A1 (en) Ascertaining a relative movement direction
JP4662516B2 (en) Position detection device
CN114096324B (en) Detection signal correction method, motor control device, and electric power steering device
JP6112832B2 (en) Angle correction device and rotation angle sensor
JP2018084514A (en) Sensor device
JP2009145305A (en) Rotation position detecting device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050128

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070314

A131 Notification of reasons for refusal

Effective date: 20080715

Free format text: JAPANESE INTERMEDIATE CODE: A131

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20081209