JP2012073053A - Rotation angle detection device - Google Patents

Rotation angle detection device Download PDF

Info

Publication number
JP2012073053A
JP2012073053A JP2010216588A JP2010216588A JP2012073053A JP 2012073053 A JP2012073053 A JP 2012073053A JP 2010216588 A JP2010216588 A JP 2010216588A JP 2010216588 A JP2010216588 A JP 2010216588A JP 2012073053 A JP2012073053 A JP 2012073053A
Authority
JP
Japan
Prior art keywords
value
resolver signal
calculated
resolver
offset correction
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
JP2010216588A
Other languages
Japanese (ja)
Inventor
Yuichi Hamaguchi
雄一 濱口
Hideaki Moriya
英朗 守屋
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.)
Sinfonia Technology Co Ltd
Original Assignee
Sinfonia Technology 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 Sinfonia Technology Co Ltd filed Critical Sinfonia Technology Co Ltd
Priority to JP2010216588A priority Critical patent/JP2012073053A/en
Publication of JP2012073053A publication Critical patent/JP2012073053A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Transmission And Conversion Of Sensor Element Output (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a rotation angle detection device allowing for an offset correction at any timing to improve angle detection accuracy.SOLUTION: For correcting an offset, a rotation angle detection device sets a timing when an electrical angle corresponding to a rotation angle θ becomes a predetermined angle as a timing when calculating an amplitude center value of a resolver signal ev value; preliminarily sets ratio information about a ratio for calculating a maximum value and a minimum value of the resolver signal ev based on the resolver signal ev value and the predetermined angle; determines the amplitude center value of the resolver signal ev from the maximum value and the minimum value of the resolver signal ev calculated at the calculation timing; and corrects the offset based on a deviation between the amplitude center value and the reference center value.

Description

本発明は、検出精度を適正化した回転角度検出装置に関するものである。   The present invention relates to a rotation angle detection device with optimized detection accuracy.

モータの回転を制御する制御システムには、モータの回転角度を検出する検出装置が用いられており、この検出装置の一種としてレゾルバを用いた回転角度検出装置が知られている。レゾルバを用いた回転角度検出装置として例えば特許文献1には、モータの回転角度に応じて周期的に変化するレゾルバ信号を出力するレゾルバと、レゾルバから出力されるレゾルバ信号(出力電圧等)に基づきモータの回転角度を検出する装置が開示されている。この回転角度検出装置は、レゾルバ信号の振幅中心値とオフセットずれが無いとした場合の所定の基準中心値との偏差に基づきこの偏差を無くする方向にレゾルバ信号を補正するオフセット補正手段を有し、オフセット補正手段によってオフセット補正されたレゾルバ信号に基づいて回転角度を算出するように構成されている。このオフセット補正手段は、特許文献1にも開示されるように、レゾルバ信号の値を一周期に亘って実測して最大値及び最小値を取得し、取得した最大値及び最小値から得られる振幅中心値と所定の基準中心値との偏差に基づいてレゾルバ信号のオフセットを補正する構成が一般的である。   In a control system that controls the rotation of a motor, a detection device that detects the rotation angle of the motor is used, and a rotation angle detection device that uses a resolver is known as a type of this detection device. As a rotation angle detection device using a resolver, for example, Patent Document 1 discloses a resolver that outputs a resolver signal that periodically changes according to the rotation angle of a motor, and a resolver signal (output voltage or the like) output from the resolver. An apparatus for detecting the rotation angle of a motor is disclosed. This rotation angle detection device has an offset correction unit that corrects the resolver signal in a direction to eliminate the deviation based on a deviation between the amplitude center value of the resolver signal and a predetermined reference center value when there is no offset deviation. The rotation angle is calculated based on the resolver signal offset-corrected by the offset correction means. As disclosed in Patent Document 1, the offset correction unit measures the resolver signal value over one period to obtain the maximum value and the minimum value, and obtains the amplitude obtained from the acquired maximum value and minimum value. In general, the offset of the resolver signal is corrected based on the deviation between the center value and a predetermined reference center value.

特開2004−45286号公報JP 2004-45286 A

ところが、上記のような従来の回転角度検出装置では、オフセット補正に必要なレゾルバ信号の最大値及び最小値を求めるにあたり、レゾルバ信号の値が最大又は最小となるタイミングでの実測が必要となるので最大値及び最小値の取得タイミングに制約があり、この制約によって例えば最大値及び最小値を得た周期から遅れた周期でしかオフセット補正できない等、適切なタイミングでのオフセット補正ができずに回転角度の検出精度が低減する場合がある。特に、モータの一回転あたりにレゾルバ信号に複数の周期が発現し且つ周期毎にオフセット特性が異なるNxレゾルバともよばれるレゾルバの場合は、周期毎にオフセットずれが変動するので、異なる周期の最大値及び最小値に基づくオフセット補正を行うと回転角度の検出精度が著しく低減してしまう。さらに、レゾルバ信号の値が最大又は最小となるタイミングとサンプリングタイミングとを同期させる同期機構が必要となり、製造コストの増大を招く。   However, in the conventional rotation angle detection device as described above, when obtaining the maximum value and minimum value of the resolver signal necessary for offset correction, actual measurement is required at the timing when the value of the resolver signal is maximum or minimum. There are restrictions on the timing of obtaining the maximum value and minimum value, and due to this restriction, for example, offset correction can only be performed at a period delayed from the period at which the maximum value and minimum value were obtained. Detection accuracy may be reduced. In particular, in the case of a resolver that is also called an Nx resolver in which a plurality of periods appear in the resolver signal per one rotation of the motor and the offset characteristics differ from period to period, the offset deviation varies from period to period. If the offset correction based on the minimum value is performed, the detection accuracy of the rotation angle is significantly reduced. Furthermore, a synchronization mechanism that synchronizes the timing at which the resolver signal value is maximized or minimized with the sampling timing is required, which increases the manufacturing cost.

本発明は、このような課題に着目してなされたものであって、その目的は、任意のタイミングでレゾルバ信号の最大値及び最小値を算出可能とすることで適切なタイミングでのオフセット補正を可能として角度検出精度を向上させた回転角度検出装置を提供することである。   The present invention has been made paying attention to such problems, and its purpose is to perform offset correction at an appropriate timing by making it possible to calculate the maximum and minimum values of the resolver signal at an arbitrary timing. It is an object of the present invention to provide a rotation angle detection device capable of improving the angle detection accuracy as possible.

本発明は、かかる目的を達成するために、次のような手段を講じたものである。   In order to achieve this object, the present invention takes the following measures.

すなわち、本発明の回転角度検出装置は、回転角度に応じて周期的に変化するレゾルバ信号の振幅中心値とオフセットずれがないとした場合の所定の基準中心値との偏差に基づいて当該偏差が無くなる方向に前記レゾルバ信号を補正するオフセット補正手段と、このオフセット補正手段によってオフセット補正されたレゾルバ信号に基づいて回転角度を算出する角度検出手段とを具備する装置であって、前記オフセット補正手段は、回転角度が予め定めた所定角度になるタイミングを前記レゾルバ信号の振幅中心値を算出するタイミングとして設定するとともに、レゾルバ信号の値と前記所定角度とに基づいて当該レゾルバ信号の最大値及び最小値を算出するための比率に関する比率情報を予め設定しておき、前記算出タイミングで算出されるレゾルバ信号の最大値及び最小値から前記レゾルバ信号の振幅中心値を求め、この振幅中心値と前記基準中心値との偏差に基づいてオフセット補正を行うことを特徴とする。   That is, the rotation angle detection device of the present invention is based on the deviation between the amplitude center value of the resolver signal that periodically changes according to the rotation angle and the predetermined reference center value when there is no offset deviation. An apparatus comprising: an offset correction unit that corrects the resolver signal in a direction in which it disappears; and an angle detection unit that calculates a rotation angle based on the resolver signal offset-corrected by the offset correction unit. The timing at which the rotation angle becomes a predetermined angle is set as the timing for calculating the center value of the amplitude of the resolver signal, and the maximum and minimum values of the resolver signal based on the resolver signal value and the predetermined angle The ratio information on the ratio for calculating the ratio is set in advance, and is calculated at the calculation timing. It obtains the amplitude center value of the resolver signal from the maximum value and the minimum value of the resolver signal, and performs the offset correction on the basis of a deviation between the reference center value and amplitude central value.

この構成によれば、回転角度が予め定めた所定角度になるタイミングをレゾルバ信号の振幅中心値を算出するタイミングに設定し、レゾルバ信号の値と所定角度とに基づいてレゾルバ信号の最大値及び最小値を算出するための比率に関する比率情報を予め設定しておき、比率情報を用いてレゾルバ信号の最大値及び最小値を算出するので、算出タイミングとなる所定角度に合わせて比率情報を設定しておけば所定角度を任意の角度に設定でき、任意の角度すなわち任意のタイミングでレゾルバ信号の最大値及び最小値を算出でき、適切なタイミングでのオフセット補正を可能として角度検出精度を向上させることができる。さらに、任意のタイミングでレゾルバ信号の最大値及び最小値を算出できるので、レゾルバ信号の値が最大又は最小となるタイミングにサンプリングタイミングを同期させる同期機構等が不要となり、製造コストを低減させることが可能となる。   According to this configuration, the timing at which the rotation angle becomes a predetermined angle is set as the timing for calculating the center value of the amplitude of the resolver signal, and the maximum and minimum values of the resolver signal are determined based on the resolver signal value and the predetermined angle. Since ratio information regarding the ratio for calculating the value is set in advance and the maximum value and the minimum value of the resolver signal are calculated using the ratio information, the ratio information is set in accordance with a predetermined angle as the calculation timing. If this is the case, the predetermined angle can be set to an arbitrary angle, the maximum value and minimum value of the resolver signal can be calculated at an arbitrary angle, that is, at an arbitrary timing, and offset correction can be performed at an appropriate timing to improve angle detection accuracy. it can. Furthermore, since the maximum value and minimum value of the resolver signal can be calculated at an arbitrary timing, a synchronization mechanism that synchronizes the sampling timing with the timing at which the resolver signal value is maximum or minimum is unnecessary, and the manufacturing cost can be reduced. It becomes possible.

レゾルバ信号の周期毎にオフセット特性が異なる場合に周期毎のオフセットずれを的確に算出するためには、前記レゾルバ信号の最大値及び最小値を同一周期内で相前後して算出するように前記所定角度が設定されていることが好ましい。   In order to accurately calculate the offset deviation for each period when the offset characteristics differ for each period of the resolver signal, the predetermined value is calculated so that the maximum value and the minimum value of the resolver signal are calculated in succession within the same period. It is preferable that an angle is set.

レゾルバ信号の周期毎にオフセット特性が異なる場合に周期に対応するオフセットずれに応じた適切な補正を実現するためには、前記オフセット補正手段は、前記最大値及び最小値を算出した周期内でオフセット補正を行うように構成されていることが望ましい。   In order to realize an appropriate correction according to the offset deviation corresponding to the period when the offset characteristic is different for each period of the resolver signal, the offset correction unit includes an offset within the period in which the maximum value and the minimum value are calculated. It is desirable to be configured to perform correction.

オフセット補正によるレゾルバ信号の過大な変動を抑えるためには、前記オフセット補正手段は、或る周期内で相前後して算出されるレゾルバ信号の最大値又は最小値のうち後に算出される方の値を保持し、その値を、前記或る周期とは1/2周期ずれて開始される新たな周期内において相前後して算出すべき最小値又は最大値のうち先に算出すべき方の値として用い、前記或る周期内及び前記新たな周期内でそれぞれ算出されるレゾルバ信号の最大値及び最小値を用いてオフセット補正を当該最大値及び最小値を算出した周期内で順次行うように構成されていることが効果的である。   In order to suppress an excessive fluctuation of the resolver signal due to the offset correction, the offset correction means is a value calculated later among the maximum value or the minimum value of the resolver signal calculated in succession within a certain period. And the value to be calculated first of the minimum value or the maximum value to be calculated in succession within a new period starting with a half period deviation from the certain period. And using the maximum and minimum values of the resolver signal calculated within the certain period and the new period, respectively, to perform offset correction sequentially within the period in which the maximum and minimum values are calculated. Is effective.

レゾルバ信号の最大値及び最小値を算出するにあたり、オーバーフローによる誤差が生じることを防止するためには、前記オフセット補正手段は、検出されるレゾルバ信号の値を前記所定角度に対応する値で除算することで前記レゾルバ信号の最大値又は最小値を算出するように構成されており、前記所定角度は、除算結果にオーバーフローによる誤差が生じない範囲に設定されていることが好ましい。   In calculating the maximum value and the minimum value of the resolver signal, in order to prevent an error due to overflow, the offset correction means divides the value of the detected resolver signal by a value corresponding to the predetermined angle. Thus, the maximum value or the minimum value of the resolver signal is calculated, and the predetermined angle is preferably set in a range in which an error due to overflow does not occur in the division result.

本発明は、以上説明したように、回転角度が予め定めた所定角度となるタイミングをレゾルバ信号の振幅中心値を算出するタイミングに設定し、レゾルバ信号の値と所定角度とに基づきレゾルバ信号の最大値及び最小値を算出するための比率に関する比率情報を予め設定しておき、検出されるレゾルバ信号の値と所定角度と比率情報とを用いてレゾルバ信号の最大値及び最小値を算出するので、算出タイミングとなる所定角度に合わせて比率情報を設定しておけば所定角度を任意の角度に設定でき、任意の角度すなわち任意のタイミングでレゾルバ信号の最大値及び最小値を算出可能となり、適切なタイミングでのオフセット補正を可能として角度検出精度を向上させることが可能となる。さらに、任意のタイミングでレゾルバ信号の最大値及び最小値を算出可能となるので、レゾルバ信号の値が最大又は最小となるタイミングにサンプリングタイミングを同期させる同期機構等が不要となり、製造コストを低減させることが可能となる。   As described above, the present invention sets the timing at which the rotation angle becomes a predetermined angle as a timing for calculating the amplitude center value of the resolver signal, and sets the maximum resolver signal based on the resolver signal value and the predetermined angle. Since the ratio information regarding the ratio for calculating the value and the minimum value is set in advance, the maximum value and the minimum value of the resolver signal are calculated using the value of the detected resolver signal, the predetermined angle, and the ratio information. If ratio information is set in accordance with a predetermined angle as the calculation timing, the predetermined angle can be set to an arbitrary angle, and the maximum and minimum values of the resolver signal can be calculated at an arbitrary angle, that is, at an arbitrary timing. It is possible to improve the angle detection accuracy by enabling offset correction at the timing. Furthermore, since the maximum and minimum values of the resolver signal can be calculated at any timing, there is no need for a synchronization mechanism that synchronizes the sampling timing with the timing at which the resolver signal value is maximum or minimum, thereby reducing manufacturing costs. It becomes possible.

本発明の一実施形態に係る回転角度検出装置の構成及び機能の概略ブロック図。The schematic block diagram of a structure and function of the rotation angle detection apparatus which concerns on one Embodiment of this invention. レゾルバ信号を構成するA相信号及びB相信号と電気角との対応関係を示す対応図。FIG. 5 is a correspondence diagram showing a correspondence relationship between an A angle signal and a B phase signal that constitute a resolver signal and an electrical angle. 回転角度と、1xレゾルバの電気角及びNxレゾルバの電気角との対応関係を示す対応図。FIG. 5 is a correspondence diagram illustrating a correspondence relationship between a rotation angle and an electrical angle of a 1x resolver and an electrical angle of an Nx resolver. オフセットずれに関する説明図。Explanatory drawing regarding offset deviation. Nxレゾルバで生ずるオフセットずれに関する説明図。Explanatory drawing about the offset shift | offset | difference which arises with a Nx resolver. レゾルバ信号の最大値及び最小値を算出するタイミングに関する説明図。Explanatory drawing regarding the timing which calculates the maximum value and minimum value of a resolver signal. オフセット補正手段を実現するオフセット補正処理ルーチンを示すフローチャート。The flowchart which shows the offset correction process routine which implement | achieves an offset correction means. レゾルバ信号の最大値及び最小値の適切な算出タイミングに関する説明図。Explanatory drawing regarding the suitable calculation timing of the maximum value and minimum value of a resolver signal.

以下、本発明の一実施形態に係る回転角度検出装置を、図面を参照して説明する。   Hereinafter, a rotation angle detection device according to an embodiment of the present invention will be described with reference to the drawings.

図1に示すように、回転角度検出装置は、図示しないモータの出力軸等の角度検出対象となる回転体に取り付けられたレゾルバ1に対して励磁信号exを印加し、励磁信号exの印加に対応してレゾルバ1から出力されるレゾルバ信号evに基づき回転角度を検出する装置である。回転角度検出装置は、レゾルバ1と、レゾルバ1に対して励磁信号exを印加する励磁信号印加2と、励磁信号exの印加によってレゾルバ1から出力されるレゾルバ信号evをデジタル値に変換するA/D変換部3と、A/D変換部3によりデジタル値に変換されたレゾルバ信号evに基づき回転角度θを算出する角度検出手段4とを有する。なお、本実施形態では回転角度検出装置がレゾルバを備えるものであるが、外部に設けたレゾルバからのレゾルバ信号を受け付けて、受け付けたレゾルバ信号を処理するように回転角度検出装置を構成してもよい。   As shown in FIG. 1, the rotation angle detection device applies an excitation signal ex to a resolver 1 attached to a rotating body that is an angle detection target such as an output shaft of a motor (not shown), and applies the excitation signal ex. Correspondingly, the rotation angle is detected based on the resolver signal ev output from the resolver 1. The rotation angle detection device includes a resolver 1, an excitation signal application 2 for applying an excitation signal ex to the resolver 1, and a resolver signal ev output from the resolver 1 by applying the excitation signal ex to an A / A The D conversion unit 3 and the angle detection unit 4 that calculates the rotation angle θ based on the resolver signal ev converted into a digital value by the A / D conversion unit 3. In this embodiment, the rotation angle detection device includes a resolver. However, the rotation angle detection device may be configured to receive a resolver signal from an external resolver and process the received resolver signal. Good.

図2に示すように、レゾルバ1から出力されるレゾルバ信号evは、回転角度θに応じて正弦波状に周期的に変動するものであり、A相及びB相とも呼ばれる二相の正弦波信号から構成されている。レゾルバ信号evを構成するA相信号及びB相信号は、互いに位相が90度異なり、それぞれAcosθ’、Asinθ’で表現される。Aは振幅値、θ’は電気角を示す。角度検出手段4は、A相信号及びB相信号の位相差を利用してA相信号の値及びB相信号の値から電気角θ’を一意に特定する。電気角θ’は回転角度θと対応関係にある。   As shown in FIG. 2, the resolver signal ev output from the resolver 1 periodically changes in a sine wave shape according to the rotation angle θ, and is derived from a two-phase sine wave signal also called an A phase and a B phase. It is configured. The A-phase signal and the B-phase signal constituting the resolver signal ev are 90 degrees out of phase with each other, and are expressed as A cos θ ′ and Asin θ ′, respectively. A represents an amplitude value, and θ ′ represents an electrical angle. The angle detection means 4 uniquely specifies the electrical angle θ ′ from the value of the A phase signal and the value of the B phase signal using the phase difference between the A phase signal and the B phase signal. The electrical angle θ ′ has a corresponding relationship with the rotation angle θ.

本実施形態では、モータの回転角度検出精度を向上させるために、レゾルバ1は、図1及び図3に示すように、モータの一回転あたりにレゾルバ信号の周期が一周期となる軸倍角1xレゾルバと、モータの一回転あたりにレゾルバ信号の周期が複数(N個)となる軸倍角Nxレゾルバとを組み合わせて構成されており、1xレゾルバA相信号、1xレゾルバB相信号、NxレゾルバA相信号及びNxレゾルバB相信号をA/D変換部3を介して角度検出手段4へ出力する。これに対応して角度検出手段4は、1x合成部41と、Nx合成部42と、絶対位置検出部43とを含んで構成され、1x合成部41が1xレゾルバA相信号及びB相信号に基づいて1xレゾルバ電気角θ’を算出し、Nx合成部42がNxレゾルバA相信号及びB相信号に基づいてNxレゾルバ電気角θ’を算出し、絶対位置検出部43が1x合成部41及びNx合成部42により算出された各々の電気角θ’、θ’に基づいて予め設定された図3に示す対応関係の情報を用いて回転角度θを算出するように構成されている。なお、以下では、説明の簡略化のためにA相信号についてのみ説明することがあるがB相信号も同様であり、Nxレゾルバや1xレゾルバも同様である。また、以下では、1xレゾルバ電気角θ’及びNxレゾルバ電気角θ’を一括して単に電気角θ’と表記する場合がある。 In the present embodiment, in order to improve the rotation angle detection accuracy of the motor, the resolver 1 has an axial double angle 1 × resolver in which the period of the resolver signal is one period per rotation of the motor, as shown in FIGS. 1 and 3. And a shaft multiple angle Nx resolver in which a plurality of (N) resolver signal cycles per rotation of the motor are combined. The Nx resolver B-phase signal is output to the angle detection means 4 via the A / D converter 3. Correspondingly, the angle detection means 4 includes a 1x synthesis unit 41, an Nx synthesis unit 42, and an absolute position detection unit 43, and the 1x synthesis unit 41 converts the 1x resolver A-phase signal and B-phase signal into one. 1x resolver electrical angle θ 1 ′ is calculated based on the Nx resolver electrical angle θ N ′ based on the Nx resolver A phase signal and the B phase signal, and the absolute position detecting unit 43 is the 1x composite unit. 41 and the Nx combining unit 42 are configured to calculate the rotation angle θ using information on the correspondence relationship shown in FIG. 3 set in advance based on the electrical angles θ 1 ′ and θ N ′ calculated by the Nx combining unit 42. Yes. In the following, for simplification of explanation, only the A-phase signal may be described, but the B-phase signal is the same, and the Nx resolver and 1x resolver are the same. In the following description, the 1x resolver electrical angle θ 1 ′ and the Nx resolver electrical angle θ N ′ may be simply referred to as an electrical angle θ ′.

ところで、図4に示すように、レゾルバ信号evは、レゾルバのガタや温度変化、経年変化、環境変化、回転角度又は回転速度などに応じてオフセット特性が変動し、レゾルバ信号evの最大値Pe及び最小値Btの平均値である振幅中心値avと所定の基準中心値gnとの偏差(オフセットずれ)が生じる場合がある。このオフセットずれは、角度検出手段4によって検出される回転角度θの誤差の原因となる。さらに、Nxレゾルバは、レゾルバを構成する複数の磁極とレゾルバ信号evの一周期とが対応しており、磁極毎に異なる特性を有するので、図5に示すように、レゾルバ信号evの周期毎に振幅中心値avが変動することになる。この結果、従来の回転角度検出装置のように、例えばN−1周期で取得した最大値Pe及び最小値Btに基づいてN周期でオフセット補正するといった、異なる周期の最大値Pe及び最小値Btに基づく補正を行うと、角度検出精度が著しく低減してしまうという問題がある。   Incidentally, as shown in FIG. 4, the resolver signal ev varies in offset characteristics in accordance with the backlash of the resolver, temperature change, secular change, environmental change, rotation angle, rotation speed, etc., and the maximum value Pe of the resolver signal ev and There may be a deviation (offset deviation) between the amplitude center value av, which is the average value of the minimum values Bt, and a predetermined reference center value gn. This offset deviation causes an error in the rotation angle θ detected by the angle detection means 4. Further, since the Nx resolver corresponds to a plurality of magnetic poles constituting the resolver and one period of the resolver signal ev, and has different characteristics for each magnetic pole, as shown in FIG. 5, for each period of the resolver signal ev. The amplitude center value av varies. As a result, as in the conventional rotation angle detection device, for example, offset correction is performed in N cycles based on the maximum value Pe and minimum value Bt acquired in the N-1 cycle, so that the maximum value Pe and the minimum value Bt in different cycles are obtained. When the correction based on this is performed, there is a problem that the angle detection accuracy is significantly reduced.

そこで、周期毎に変動するオフセット特性に対応すべく、図1、図4及び図5に示すように、レゾルバ信号evの値が最大又は最小となるタイミングでの実測を必要とせずに任意のタイミングで実測したレゾルバ信号の値に基づきリアルタイムで最大値Pe及び最小値Btを算出し、最大値Pe及び最小値Btから算出される振幅中心値avと所定の基準中心値gnとの偏差(オフセットずれ)を算出し、この偏差が無くなる方向にレゾルバ信号evを補正するオフセット補正手段5を各々のレゾルバ信号毎に設けている。   Accordingly, as shown in FIGS. 1, 4, and 5, any timing can be used without requiring actual measurement at the timing at which the value of the resolver signal ev is maximum or minimum, in order to cope with offset characteristics that vary with each period. The maximum value Pe and the minimum value Bt are calculated in real time based on the value of the resolver signal actually measured in step S1, and the deviation (offset deviation) between the amplitude center value av calculated from the maximum value Pe and the minimum value Bt and the predetermined reference center value gn. ) And an offset correction means 5 for correcting the resolver signal ev in a direction in which this deviation is eliminated is provided for each resolver signal.

具体的には、図2に示すように、A相信号は、その振幅値をAとするとAcosθとモデル化でき、B相信号は、その振幅値をAとするとAsinθ’とモデル化できる。或る電気角θ’におけるレゾルバ信号evの値と振幅値Aとの比率は、A相信号及びB相信号でそれぞれcosθ’:1、sinθ’:1で表されることから、以下の式を用いてレゾルバ信号の値及び電気角θ’から振幅値Aを算出でき、レゾルバ信号evの値が正値となる電気角θ’の範囲では振幅値Aが最大値Peであると算出でき、レゾルバ信号evの値が負値となる電気角θ’の範囲では(−振幅値A)が最小値Btであると算出できる。電気角θ’を予め任意の角度に設定することで、任意のタイミングでの最大値Pe及び最小値Btの算出が可能となる。
A相信号の振幅値A=電気角θ’で検出されるレゾルバ信号の値/cosθ’
B相信号の振幅値A=電気角θ’で検出されるレゾルバ信号の値/sinθ’
このようにレゾルバ信号evの振幅値Aを算出する際に用いるcosθ’及びsinθ’は、レゾルバ信号evの値と予め定めた電気角θ’とに基づいてレゾルバ信号evの最大値Pe及び最小値Btを算出するための比率に関する比率情報を構成しているといえる。本実施形態では、比率情報は電気角θ’を引数とする三角関数cosθ’及びsinθ’であるが、電気角θ’と比率を関連付けたテーブルであってもよい。
Specifically, as shown in FIG. 2, an A-phase signal can be modeled as A cos θ when its amplitude value is A, and a B-phase signal can be modeled as Asin θ ′ when its amplitude value is A. The ratio of the resolver signal ev to the amplitude value A at a certain electrical angle θ ′ is expressed as cos θ ′: 1 and sin θ ′: 1 for the A phase signal and the B phase signal, respectively. The amplitude value A can be calculated from the value of the resolver signal and the electrical angle θ ′, and the amplitude value A can be calculated to be the maximum value Pe in the range of the electrical angle θ ′ where the value of the resolver signal ev is a positive value. It can be calculated that (−amplitude value A) is the minimum value Bt in the range of the electrical angle θ ′ where the value of the signal ev is negative. By setting the electrical angle θ ′ to an arbitrary angle in advance, the maximum value Pe and the minimum value Bt can be calculated at an arbitrary timing.
A-phase signal amplitude value A = resolver signal value detected by electrical angle θ ′ / cos θ ′
B-phase signal amplitude value A = resolver signal value detected by electrical angle θ ′ / sin θ ′
Thus, cos θ ′ and sin θ ′ used when calculating the amplitude value A of the resolver signal ev are the maximum value Pe and the minimum value of the resolver signal ev based on the value of the resolver signal ev and a predetermined electrical angle θ ′. It can be said that the ratio information regarding the ratio for calculating Bt is configured. In the present embodiment, the ratio information is trigonometric functions cos θ ′ and sin θ ′ using the electrical angle θ ′ as an argument, but may be a table in which the electrical angle θ ′ and the ratio are associated with each other.

オフセット補正手段5は、上記手順を実行すべく、上記角度検出手段4と同様に、CPUやメモリ、各種インターフェイスを備えたマイクロコンピュータにおいてCPUが予め記憶されている図7に示すオフセット補正処理ルーチンを実行することによりソフトウェア及びハードウェアが協働して実現されるものである。オフセット補正手段5は、図7に示すように、角度検出手段4が検出した回転角度θを図3に示す対応関係を用いて電気角θ’に変換し(処理S1)、その電気角θ’が予め定めた所定角度であるか否かを判定する(処理S2)。本実施形態では、図6に示すように、A相信号であれば所定角度を0度と180度に、B相信号であれば所定角度を90度と270度に設定することで、角度検出手段4で検出される回転角度θに対応する電気角θ’が各々の所定角度になるタイミングをレゾルバ信号evの振幅中心値avを算出するタイミングとしている。   In order to execute the above procedure, the offset correction means 5 performs the offset correction processing routine shown in FIG. 7 in which the CPU is stored in advance in a microcomputer having a CPU, memory, and various interfaces in the same manner as the angle detection means 4. By executing, software and hardware cooperate to be realized. As shown in FIG. 7, the offset correction means 5 converts the rotation angle θ detected by the angle detection means 4 into an electrical angle θ ′ using the correspondence shown in FIG. 3 (processing S1), and the electrical angle θ ′. Is determined to be a predetermined angle (step S2). In this embodiment, as shown in FIG. 6, the angle detection is performed by setting the predetermined angles to 0 degrees and 180 degrees for the A-phase signal and 90 degrees and 270 degrees for the B-phase signal. The timing at which the electrical angle θ ′ corresponding to the rotation angle θ detected by the means 4 reaches each predetermined angle is the timing for calculating the amplitude center value av of the resolver signal ev.

オフセット補正手段5は、図7に示すように、処理S2において電気角θ’が予め定めた所定角度でないと判定した場合には(処理S3:NO)、処理S1の実行に戻る。一方、電気角θ’が予め定めた所定角度であると判定した場合には(処理S3:YES)、レゾルバ信号evの値をサンプリングホールドして実測し(処理S3)、レゾルバ信号の値と電気角θ’と上記比率情報とに基づきレゾルバ信号evの振幅値Aを算出する(処理S4)。具体的には、A相信号の場合は、検出したレゾルバ信号evの値をcosθ’で除算することで振幅値Aを算出し、B相信号の場合は、検出したレゾルバ信号evの値をsinθ’で除算することで振幅値Aを算出する。次に、レゾルバ信号evが正値であるか否かを電気角θ’を指標として判定し(処理S5参照)、正値であると判定すれば(処理S5:YES)、振幅値Aを最大値Peとして保持し(処理S6)、正値でないと判定すれば(処理S5:NO)、振幅値Aを最小値Bt(Btは負値)として保持する(処理S7)。次に、保持している最大値Pe及び最小値Btの振幅中心値avを算出し、算出した振幅中心値avと所定の基準中心値gnとの偏差(オフセットずれ量)を算出し(処理S8)、このオフセットずれ量を図1に示すようにレゾルバ信号evから減算することで、オフセットずれを無くする方向にレゾルバ信号evを補正する(図7の処理S9)。   As shown in FIG. 7, when it is determined that the electrical angle θ ′ is not a predetermined angle in the process S <b> 2 (process S <b> 3: NO), the offset correction unit 5 returns to the process S <b> 1. On the other hand, if it is determined that the electrical angle θ ′ is a predetermined angle (processing S3: YES), the value of the resolver signal ev is sampled and measured (processing S3), and the value of the resolver signal and the electrical value are measured. Based on the angle θ ′ and the ratio information, the amplitude value A of the resolver signal ev is calculated (processing S4). Specifically, in the case of the A phase signal, the amplitude value A is calculated by dividing the value of the detected resolver signal ev by cos θ ′, and in the case of the B phase signal, the value of the detected resolver signal ev is calculated as sin θ. The amplitude value A is calculated by dividing by '. Next, whether or not the resolver signal ev is a positive value is determined using the electrical angle θ ′ as an index (see process S5), and if determined to be a positive value (process S5: YES), the amplitude value A is maximized. If the value Pe is held (process S6) and it is determined that the value is not a positive value (process S5: NO), the amplitude value A is held as the minimum value Bt (Bt is a negative value) (process S7). Next, the amplitude center value av of the held maximum value Pe and minimum value Bt is calculated, and a deviation (offset deviation amount) between the calculated amplitude center value av and a predetermined reference center value gn is calculated (processing S8). ) By subtracting this offset deviation amount from the resolver signal ev as shown in FIG. 1, the resolver signal ev is corrected in a direction to eliminate the offset deviation (processing S9 in FIG. 7).

すなわち、図6に示すように、A相信号を例とすると、電気角θ’が0度のときに最大値Pe1を算出して保持し、電気角θ’が180度のときに最小値Bt1を算出して保持し、0度及び180度で算出した最大値Pe1及び最小値Bt1を用いて最大値Pe1及び最小値Bt1を算出した第1の周期(−90度〜270度)内でオフセット補正を行う。引き続き、電気角θ’が360度のときに最大値Pe2を算出して保持し、180度及び360度で算出した最小値Bt1及び最大値Pe2を用いて最小値Bt1及び最大値Pe2を算出した第2の周期内(90度〜450度)でオフセット補正を行い、上記オフセット補正を順次繰り返す。第2の周期は第1の周期とは1/2周期遅れて開始される周期である。   That is, as shown in FIG. 6, taking the A-phase signal as an example, the maximum value Pe1 is calculated and held when the electrical angle θ ′ is 0 degrees, and the minimum value Bt1 when the electrical angle θ ′ is 180 degrees. Is calculated and held, and offset within the first period (−90 degrees to 270 degrees) in which the maximum value Pe1 and the minimum value Bt1 are calculated using the maximum value Pe1 and the minimum value Bt1 calculated at 0 degrees and 180 degrees. Make corrections. Subsequently, the maximum value Pe2 is calculated and held when the electrical angle θ ′ is 360 degrees, and the minimum value Bt1 and the maximum value Pe2 are calculated using the minimum value Bt1 and the maximum value Pe2 calculated at 180 degrees and 360 degrees. Offset correction is performed within the second period (90 to 450 degrees), and the offset correction is sequentially repeated. The second cycle is a cycle started with a delay of ½ cycle from the first cycle.

加えて、本実施形態では、オフセット補正手段5が、レゾルバ信号evの値を所定角度(電気角θ’)に対応する値(cosθ’やsinθ’)で除算することでレゾルバ信号evの最大値Pe又は最小値Btを算出するように構成しているので、cosθ’やsinθ’の値が小さいと除算結果が過大となり、特に固定小数点演算を採用している場合などにオーバーフローによる誤差等が除算結果に生じることがある。   In addition, in the present embodiment, the offset correction unit 5 divides the value of the resolver signal ev by a value (cos θ ′ or sin θ ′) corresponding to a predetermined angle (electrical angle θ ′), thereby obtaining the maximum value of the resolver signal ev. Since Pe or the minimum value Bt is calculated, if the values of cos θ ′ and sin θ ′ are small, the division result becomes excessive, and an error due to overflow is divided especially when a fixed-point operation is adopted. May result in results.

そこで、図8に示すように、レゾルバ信号のA相信号では、最大値Peを算出するタイミングを−45度〜45度の範囲に、最小値Btを算出するタイミングを135度〜225度の範囲内に留め、B相信号では、最大値Peを算出するタイミングを45度〜135度の範囲に、最小値Btを算出するタイミングを135度〜315度の範囲内に留めることで、除算結果にオーバーフローによる誤差が生じない範囲に所定角度を設定している。除算結果にオーバーフローによる誤差が生じない範囲は、レゾルバ信号の値が変動する範囲と除算結果を格納するビット幅などによって決定される。勿論、除算結果にオーバーフローによる誤差が生じない範囲は、環境により変化するので上述の範囲に限定されるものではない。   Therefore, as shown in FIG. 8, in the phase A signal of the resolver signal, the timing for calculating the maximum value Pe is in the range of −45 degrees to 45 degrees, and the timing for calculating the minimum value Bt is in the range of 135 degrees to 225 degrees. In the B phase signal, the timing for calculating the maximum value Pe is kept in the range of 45 degrees to 135 degrees, and the timing for calculating the minimum value Bt is kept in the range of 135 degrees to 315 degrees. The predetermined angle is set in a range in which an error due to overflow does not occur. The range in which an error due to overflow does not occur in the division result is determined by the range in which the resolver signal value varies, the bit width for storing the division result, and the like. Of course, the range in which an error due to overflow does not occur in the division result changes depending on the environment, and is not limited to the above range.

なお、レゾルバ信号の最大値Pe及び最小値Btを算出するタイミングを決定する所定角度は、180度毎(電気角θ’)に設定しているが、これに限定されず、例えば1度毎などの或る間隔毎に設定してもよく、所定時間が経過する度に算出するように設定してもよい。勿論、常時算出するように設定してもよい。   The predetermined angle for determining the timing for calculating the maximum value Pe and the minimum value Bt of the resolver signal is set every 180 degrees (electrical angle θ ′), but is not limited to this, for example, every 1 degree, etc. May be set at certain intervals, or may be set so as to be calculated each time a predetermined time elapses. Of course, you may set so that it may calculate always.

以上のように、本実施形態の回転角度検出装置は、回転角度θに応じて周期的に変化するレゾルバ信号evの振幅中心値avとオフセットずれがないとした場合の所定の基準中心値gnとの偏差に基づいて偏差が無くなる方向にレゾルバ信号evを補正するオフセット補正手段5と、このオフセット補正手段5によってオフセット補正されたレゾルバ信号evに基づいて回転角度θを算出する角度検出手段4とを具備し、オフセット補正手段5は、回転角度θに対応する電気角θ’が予め定めた所定角度(0度、90度、180度、270度など)になるタイミングをレゾルバ信号evの振幅中心値avを算出するタイミングとして設定するとともに、レゾルバ信号evの値と所定角度とに基づいてレゾルバ信号evの最大値Pe及び最小値Btを算出するための比率に関する比率情報(cosθ’、sinθ’)を予め設定しておき、算出タイミングで算出されるレゾルバ信号evの最大値Pe及び最小値Btからレゾルバ信号evの振幅中心値avを求め、この振幅中心値avと基準中心値gnとの偏差に基づいてオフセット補正を行うので、算出タイミングとなる所定角度(0度、90度、180度、270度など)に合わせて比率情報(cosθ’、sinθ’)を設定しておけば所定角度を任意の角度に設定でき、任意の角度すなわち任意のタイミングでレゾルバ信号evの最大値Pe及び最小値Btを算出でき、適切なタイミングでのオフセット補正を可能として角度検出精度を向上させることが可能となる。さらに、任意のタイミングでレゾルバ信号evの最大値Pe及び最小値Btを算出できるので、レゾルバ信号evの値が最大又は最小となるタイミングにサンプリングタイミングを同期させる同期機構等が不要となり、製造コストを低減させることが可能となる。   As described above, the rotation angle detection device of the present embodiment has the amplitude center value av of the resolver signal ev that periodically changes according to the rotation angle θ and the predetermined reference center value gn when there is no offset deviation. An offset correction unit 5 that corrects the resolver signal ev in a direction in which the deviation disappears based on the deviation of the angle, and an angle detection unit 4 that calculates the rotation angle θ based on the resolver signal ev offset-corrected by the offset correction unit 5. The offset correction means 5 has a timing at which the electrical angle θ ′ corresponding to the rotation angle θ becomes a predetermined angle (0 degrees, 90 degrees, 180 degrees, 270 degrees, etc.), and the amplitude center value of the resolver signal ev. The av is set as a calculation timing, and the maximum value Pe and the minimum value B of the resolver signal ev based on the value of the resolver signal ev and a predetermined angle. Ratio information (cos θ ′, sin θ ′) relating to the ratio for calculating the value is set in advance, and the amplitude center value av of the resolver signal ev is calculated from the maximum value Pe and the minimum value Bt of the resolver signal ev calculated at the calculation timing. Since the offset correction is performed based on the deviation between the amplitude center value av and the reference center value gn, the ratio information (0 degree, 90 degrees, 180 degrees, 270 degrees, etc.) is set in accordance with a predetermined angle (0 degree, 90 degrees, 180 degrees, 270 degrees, etc.). cos θ ′, sin θ ′) can be set to an arbitrary angle, and the maximum value Pe and the minimum value Bt of the resolver signal ev can be calculated at an arbitrary angle, that is, at an arbitrary timing. It is possible to improve the angle detection accuracy by enabling offset correction. Furthermore, since the maximum value Pe and the minimum value Bt of the resolver signal ev can be calculated at an arbitrary timing, a synchronization mechanism that synchronizes the sampling timing with the timing at which the value of the resolver signal ev is maximum or minimum is unnecessary, and the manufacturing cost is reduced. It can be reduced.

特に、本実施形態では、レゾルバ信号evの最大値Pe及び最小値Btを同一周期内で相前後して算出するように所定角度が設定されていることので、Nxレゾルバのようにレゾルバ信号evの周期毎にオフセット特性が異なる場合に周期毎のオフセットずれを的確に算出することが可能となる。   In particular, in the present embodiment, since the predetermined angle is set so that the maximum value Pe and the minimum value Bt of the resolver signal ev are calculated in succession within the same period, the resolver signal ev of the resolver signal ev is different from that of the Nx resolver. When the offset characteristics are different for each period, the offset deviation for each period can be accurately calculated.

さらに、本実施形態では、上記に構成に加えて、オフセット補正手段5が、最大値Pe及び最小値Btを算出した周期内でオフセット補正を行うので、周期に対応するオフセットずれに応じた適切な補正を実現し、検出精度をより一層向上させることが可能となる。   Further, in the present embodiment, in addition to the above configuration, the offset correction unit 5 performs the offset correction within the cycle in which the maximum value Pe and the minimum value Bt are calculated. Correction can be realized and detection accuracy can be further improved.

加えて、オフセット補正手段5は、或る周期内(第1の周期)で相前後して算出されるレゾルバ信号evの最大値Pe1又は最小値Bt1のうち後に算出される方の値たる最小値Bt1を保持し、その値を、或る周期(第1の周期)とは1/2周期ずれて開始される新たな周期(第2の周期)内において相前後して算出すべき最小値Bt1又は最大値Pe2のうち先に算出すべき方の値として用い、或る周期(第1の周期)内及び新たな周期(第2の周期)内でそれぞれ算出されるレゾルバ信号evの最大値Pe1及び最小値Bt1(最大値Pe2及び最小値Bt1)を用いてオフセット補正を最大値及び最小値を算出した周期(第1の周期、第2の周期)内で順次行うので、図6に示すように、或る周期(第1の周期)のオフセット特性と、或る周期(第1の周期)とは一周期ずれて開始される第3の周期のオフセット特性とが大きく異なる場合であっても、或る周期(第1の周期)及び第3の周期の両方にまたがる周期(第2の周期)内で相前後して算出されるレゾルバ信号evの最大値Pe2及び最小値Bt1を用いてオフセット補正を行うことで、オフセット補正によるレゾルバ信号evの過大な変動を抑えることが可能となる。また、1/2周期前の周期内で算出される最大値又は最小値の値を有効利用して、オフセット補正を逐次連続して適切に行うことが可能となる。   In addition, the offset correction means 5 is the minimum value which is the value calculated later among the maximum value Pe1 or the minimum value Bt1 of the resolver signal ev calculated in succession within a certain period (first period). Bt1 is held, and the value is calculated as a minimum value Bt1 that is to be calculated in succession within a new period (second period) that is shifted from a certain period (first period) by ½ period. Alternatively, the maximum value Pe1 of the resolver signal ev that is used as the value to be calculated first of the maximum value Pe2 and is calculated within a certain period (first period) and within a new period (second period). And offset correction using the minimum value Bt1 (maximum value Pe2 and minimum value Bt1) in order within the period (first period and second period) in which the maximum value and minimum value are calculated, as shown in FIG. And an offset characteristic of a certain period (first period) Even if the offset characteristic of the third period that is shifted by one period is significantly different from the certain period (first period), the certain period (first period) and the third period Excessive fluctuations in the resolver signal ev due to offset correction by performing offset correction using the maximum value Pe2 and the minimum value Bt1 of the resolver signal ev calculated in succession within a period that spans both (second period). Can be suppressed. In addition, offset correction can be performed sequentially and appropriately by effectively using the maximum value or the minimum value calculated within the previous 1/2 cycle.

さらにまた、本実施形態では、オフセット補正手段5は、比率情報を所定角度に対応する値(cosθ’、sinθ’)とし、検出されるレゾルバ信号evの値を所定角度に対応する値(cosθ’、sinθ’)で除算することでレゾルバ信号evの最大値Pe又は最小値Btを算出するように構成されており、所定角度は、除算結果にオーバーフローによる誤差が生じない範囲に設定されているので、レゾルバ信号evの最大値Pe及び最小値Btを算出するにあたり、オーバーフローによる誤差が生じることを防止して、角度検出精度を向上させることが可能となる。   Furthermore, in the present embodiment, the offset correction means 5 sets the ratio information to values (cos θ ′, sin θ ′) corresponding to a predetermined angle, and sets the detected resolver signal ev to a value (cos θ ′) corresponding to the predetermined angle. , Sin θ ′) to calculate the maximum value Pe or the minimum value Bt of the resolver signal ev, and the predetermined angle is set in a range in which an error due to overflow does not occur in the division result. In calculating the maximum value Pe and the minimum value Bt of the resolver signal ev, it is possible to prevent an error due to overflow and improve the angle detection accuracy.

以上、本発明の一実施形態について説明したが、各部の具体的な構成は、上述した実施形態のみに限定されるものではない。   As mentioned above, although one Embodiment of this invention was described, the specific structure of each part is not limited only to embodiment mentioned above.

例えば、本実施形態では、レゾルバ信号evの最大値Pe及び最小値Btを同一の周期内で算出しているが、周期毎にオフセット特性が変動しない適用例では、最大値Pe及び最小値Btをそれぞれ異なる周期で算出してもよい。また、本実施形態では、オフセット補正は最大値Pe及び最小値Btを算出した周期内で行っているが、周期毎にオフセット特性が変動しない適用例では、最大値Pe及び最小値Btを算出した周期以外の周期で行ってもよい。その他、本発明の趣旨を逸脱しない範囲で種々変形が可能である。   For example, in the present embodiment, the maximum value Pe and the minimum value Bt of the resolver signal ev are calculated within the same cycle. However, in an application example in which the offset characteristics do not vary from cycle to cycle, the maximum value Pe and the minimum value Bt are calculated. You may calculate with a different period, respectively. In this embodiment, the offset correction is performed within the cycle in which the maximum value Pe and the minimum value Bt are calculated. However, in an application example in which the offset characteristics do not vary for each cycle, the maximum value Pe and the minimum value Bt are calculated. You may carry out with a period other than a period. In addition, various modifications can be made without departing from the spirit of the present invention.

4…角度検出手段
5…オフセット補正手段
θ…回転角度(電気角θ’)
av…振幅中心値
cosθ’、sinθ’…比率情報
ev…レゾルバ信号
gn…基準中心値
Pe…レゾルバ信号の最大値
Bt…レゾルバ信号の最小値
4 ... Angle detection means 5 ... Offset correction means θ ... Rotation angle (electrical angle θ ')
av: amplitude center value cos θ ′, sin θ ′: ratio information ev: resolver signal gn: reference center value Pe: maximum value of resolver signal Bt: minimum value of resolver signal

Claims (5)

回転角度に応じて周期的に変化するレゾルバ信号の振幅中心値とオフセットずれがないとした場合の所定の基準中心値との偏差に基づいて当該偏差が無くなる方向に前記レゾルバ信号を補正するオフセット補正手段と、このオフセット補正手段によってオフセット補正されたレゾルバ信号に基づいて回転角度を算出する角度検出手段とを具備する装置であって、
前記オフセット補正手段は、回転角度が予め定めた所定角度になるタイミングを前記レゾルバ信号の振幅中心値を算出するタイミングとして設定するとともに、レゾルバ信号の値と前記所定角度とに基づいて当該レゾルバ信号の最大値及び最小値を算出するための比率に関する比率情報を予め設定しておき、前記算出タイミングで算出されるレゾルバ信号の最大値及び最小値から前記レゾルバ信号の振幅中心値を求め、この振幅中心値と前記基準中心値との偏差に基づいてオフセット補正を行うことを特徴とする回転角度検出装置。
Offset correction that corrects the resolver signal in a direction in which the deviation disappears based on the deviation between the amplitude center value of the resolver signal that periodically changes according to the rotation angle and a predetermined reference center value when there is no offset deviation. And an angle detection means for calculating a rotation angle based on the resolver signal offset-corrected by the offset correction means,
The offset correction means sets the timing at which the rotation angle becomes a predetermined angle as a timing for calculating the center value of the amplitude of the resolver signal, and based on the value of the resolver signal and the predetermined angle, Ratio information regarding the ratio for calculating the maximum value and the minimum value is set in advance, and the amplitude center value of the resolver signal is obtained from the maximum value and minimum value of the resolver signal calculated at the calculation timing, and the amplitude center A rotation angle detection device that performs offset correction based on a deviation between a value and a reference center value.
前記レゾルバ信号の最大値及び最小値を同一周期内で相前後して算出するように前記所定角度が設定されている請求項1に記載の回転角度検出装置。   The rotation angle detection device according to claim 1, wherein the predetermined angle is set so that the maximum value and the minimum value of the resolver signal are calculated in succession within the same period. 前記オフセット補正手段は、前記最大値及び最小値を算出した周期内でオフセット補正を行うように構成されている請求項2に記載の回転角度検出装置。   The rotation angle detection device according to claim 2, wherein the offset correction unit is configured to perform offset correction within a period in which the maximum value and the minimum value are calculated. 前記オフセット補正手段は、或る周期内で相前後して算出されるレゾルバ信号の最大値又は最小値のうち後に算出される方の値を保持し、その値を、前記或る周期とは1/2周期ずれて開始される新たな周期内において相前後して算出すべき最小値又は最大値のうち先に算出すべき方の値として用い、前記或る周期内及び前記新たな周期内でそれぞれ算出されるレゾルバ信号の最大値及び最小値を用いてオフセット補正を当該最大値及び最小値を算出した周期内で順次行うように構成されている請求項1〜3のいずれかに記載の回転角度検出装置。   The offset correction means holds the value calculated later among the maximum value or the minimum value of the resolver signal calculated in succession within a certain period, and the value is 1 as the certain period. / 2 Used as the value to be calculated first among the minimum or maximum values to be calculated in succession within a new period starting with a shift of two periods, within the certain period and within the new period The rotation according to any one of claims 1 to 3, wherein offset correction is performed sequentially within a cycle in which the maximum value and the minimum value are calculated using the maximum value and the minimum value of the resolver signal respectively calculated. Angle detection device. 前記オフセット補正手段は、前記比率情報を前記所定角度に対応する値とし、検出されるレゾルバ信号の値を前記所定角度に対応する値で除算することで前記レゾルバ信号の最大値又は最小値を算出するように構成されており、前記所定角度は、除算結果にオーバーフローによる誤差が生じない範囲に設定されている請求項1〜4のいずれかに記載の回転角度検出装置。
The offset correction means calculates the maximum value or the minimum value of the resolver signal by setting the ratio information as a value corresponding to the predetermined angle and dividing the detected resolver signal value by a value corresponding to the predetermined angle. The rotation angle detection device according to claim 1, wherein the predetermined angle is set in a range in which an error due to overflow does not occur in a division result.
JP2010216588A 2010-09-28 2010-09-28 Rotation angle detection device Pending JP2012073053A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010216588A JP2012073053A (en) 2010-09-28 2010-09-28 Rotation angle detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010216588A JP2012073053A (en) 2010-09-28 2010-09-28 Rotation angle detection device

Publications (1)

Publication Number Publication Date
JP2012073053A true JP2012073053A (en) 2012-04-12

Family

ID=46169397

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010216588A Pending JP2012073053A (en) 2010-09-28 2010-09-28 Rotation angle detection device

Country Status (1)

Country Link
JP (1) JP2012073053A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101430186B1 (en) 2013-02-04 2014-08-13 한국기술교육대학교 산학협력단 Method for detecting phase of resolver and apparatus thereof
JP2014153097A (en) * 2013-02-06 2014-08-25 Hitachi Automotive Systems Steering Ltd Angle sensor, torque sensor, and power steering device
JP2016109554A (en) * 2014-12-05 2016-06-20 株式会社ジェイテクト Rotation angle detection device
CN112187133A (en) * 2019-07-02 2021-01-05 奥特润株式会社 Method and device for acquiring effective peak value of resolver sensor and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101430186B1 (en) 2013-02-04 2014-08-13 한국기술교육대학교 산학협력단 Method for detecting phase of resolver and apparatus thereof
JP2014153097A (en) * 2013-02-06 2014-08-25 Hitachi Automotive Systems Steering Ltd Angle sensor, torque sensor, and power steering device
JP2016109554A (en) * 2014-12-05 2016-06-20 株式会社ジェイテクト Rotation angle detection device
CN112187133A (en) * 2019-07-02 2021-01-05 奥特润株式会社 Method and device for acquiring effective peak value of resolver sensor and storage medium
KR20210003552A (en) * 2019-07-02 2021-01-12 현대오트론 주식회사 Method for obtaining effective peak of resolver sensor and apparatus thereof
KR102299826B1 (en) 2019-07-02 2021-09-08 현대모비스 주식회사 Method for obtaining effective peak of resolver sensor and apparatus thereof

Similar Documents

Publication Publication Date Title
EP3483563B1 (en) Resolver device
US10393499B2 (en) Angle determinating method using encoder signal with noise suppression, adjusting method for output signal of encoder and absolute encoder
JPH0373808B2 (en)
JP6624446B2 (en) Interpolation method and interpolation device
JP2011069815A (en) Rotation angle detector
CN103837169A (en) Self-correcting device and method for magneto-electricity encoder and magneto-electricity encoder
WO1998021553A1 (en) Interpolation circuit of encoder
CN108375391B (en) Sine and cosine signal processing method and system
JP2012073053A (en) Rotation angle detection device
JP6417699B2 (en) Rotation detection device and rotation detection method
JP4515120B2 (en) Resolver digital angle conversion apparatus and method, and program
JP2014013209A (en) Angle detection device
JP2013238431A (en) Resolver device
JP2014238331A (en) Angle detection device and angle detection method
JP2004333156A (en) Encoder signal interpolation divider
JPH0835857A (en) Method for detecting angle of rotation
JP2009053067A (en) Correction value control method of encoder
JPH02251720A (en) Interpolating method of encoder
JP2013221827A (en) Signal processor
JP2012112711A (en) Rotation angle detecting device
JP2009244022A (en) Phase detection circuit
JP2010200435A (en) Device for detection of motor angle
JP7186846B1 (en) Control system for angle detector and AC rotating machine
JP2020016452A (en) Signal processing circuit of rotation angle sensor and signal processing method of rotation angle sensor
JPH0758191B2 (en) Position detector