JP2013221826A - Position sensing device - Google Patents

Position sensing device Download PDF

Info

Publication number
JP2013221826A
JP2013221826A JP2012092952A JP2012092952A JP2013221826A JP 2013221826 A JP2013221826 A JP 2013221826A JP 2012092952 A JP2012092952 A JP 2012092952A JP 2012092952 A JP2012092952 A JP 2012092952A JP 2013221826 A JP2013221826 A JP 2013221826A
Authority
JP
Japan
Prior art keywords
excitation signal
signal
value
sampling
input
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
JP2012092952A
Other languages
Japanese (ja)
Other versions
JP5821764B2 (en
Inventor
Takafumi Owada
崇文 大和田
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.)
Denso Corp
Original Assignee
Denso Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Corp filed Critical Denso Corp
Priority to JP2012092952A priority Critical patent/JP5821764B2/en
Publication of JP2013221826A publication Critical patent/JP2013221826A/en
Application granted granted Critical
Publication of JP5821764B2 publication Critical patent/JP5821764B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Transmission And Conversion Of Sensor Element Output (AREA)

Abstract

PROBLEM TO BE SOLVED: To solve the problem that configuring a resolver-digital converter using software processing means having relatively slow operational speed significantly reduces noise resistance.SOLUTION: An excitation signal Sc is amplitude-modulated by each modulation wave sinθ, cosθ and then voltage converted by differential amplifiers 34, 36 to produce modulated waves Sin, Cos which are fed to a microcomputer 40. Digitally converted modulated waves SIN, COS are multiplied by cosφ, sinφ, respectively, and is subtraction-processed to compute the amount of error correlation ε. The amount of error correlation ε is multiplied by a binary detection signal Rd, whose value depends on whether the excitation signal Sc is positive or negative, to produce a detected amount εc which is fed to an angle computation unit 62 to compute a computed angle φ. Input for generating the detection signal Rd is produced using a value corrected by past sampled values of the excitation signal Sc.

Description

本発明は、交流の励磁信号が位置検出対象の位置情報に応じて振幅変調された被変調波を入力とし、前記励磁信号の一周期の間に前記被変調波の複数のサンプリング値を用いて前記位置情報を復調する位置検出装置に関する。   According to the present invention, a modulated wave in which an AC excitation signal is amplitude-modulated according to position information of a position detection target is input, and a plurality of sampling values of the modulated wave are used during one cycle of the excitation signal. The present invention relates to a position detection device that demodulates the position information.

この種の位置検出装置としては、たとえば下記特許文献1に見られるように、レゾルバによって回転体の回転角度に応じて励磁信号が振幅変調された被変調波に基づき、回転角度情報をデジタルデータにて表現するレゾルバデジタル変換器が周知である。   As this type of position detection device, as can be seen in, for example, Patent Document 1 below, rotation angle information is converted into digital data based on a modulated wave in which an excitation signal is amplitude-modulated according to the rotation angle of a rotating body by a resolver. Resolver digital converters expressed as follows are well known.

特許第3442416号公報Japanese Patent No. 3442416

ただし、上記位置検出装置を、たとえば動作速度が比較的小さいソフトウェア処理手段を用いて構成する場合、ノイズに対する耐性が顕著に低下することが発明者らによって見出された。   However, the inventors have found that when the position detection device is configured using software processing means having a relatively low operation speed, for example, the resistance to noise is significantly reduced.

本発明は、上記課題を解決する過程でなされたものであり、その目的は、交流の励磁信号が位置検出対象の位置情報に応じて振幅変調された被変調波を入力として、前記励磁信号の一周期の間に前記被変調波の複数のサンプリング値を用いて前記位置情報を復調する新たな位置検出装置について、これを提供することにある。   The present invention has been made in the process of solving the above-mentioned problems, and an object of the present invention is to input a modulated wave whose amplitude is modulated in accordance with position information of a position detection target, and to input the modulated signal. This is to provide a new position detection apparatus that demodulates the position information using a plurality of sampling values of the modulated wave during one period.

以下、上記課題を解決するための手段、およびその作用効果について記載する。   Hereinafter, means for solving the above-described problems and the operation and effect thereof will be described.

請求項1記載の発明は、交流の励磁信号(Sc)が位置検出対象(10a)の位置情報に応じて振幅変調された被変調波(Sin,Cos)を入力とし、前記励磁信号の一周期の間に前記被変調波の複数のサンプリング値を用いて前記位置情報を復調する復調手段(40)を備え、前記復調手段は、前記入力された前記被変調波に基づき前記位置情報を復調するに際して、前記励磁信号を入力とし、前記位置情報から前記励磁信号の符号の影響を除去する除去処理を行なう検波手段を備えて且つ、前記位置情報を、前記復調に用いる前記被変調波のサンプリング値よりも過去においてサンプリングされた前記励磁信号を用いて復調することを特徴とする。   According to the first aspect of the present invention, a modulated wave (Sin, Cos) in which an AC excitation signal (Sc) is amplitude-modulated according to position information of the position detection target (10a) is input, and one cycle of the excitation signal is input. And a demodulating means (40) for demodulating the position information using a plurality of sampling values of the modulated wave, and the demodulating means demodulates the position information based on the inputted modulated wave. At this time, the excitation signal is used as an input, and a detection means for performing removal processing for removing the influence of the sign of the excitation signal from the position information is provided, and the position information is used as a sampling value of the modulated wave used for the demodulation. Further, demodulation is performed using the excitation signal sampled in the past.

上記発明では、過去においてサンプリングされた励磁信号を用いることで、現在の励磁信号にノイズが重畳した場合であっても、これに対処することができる。   In the above invention, the excitation signal sampled in the past can be used even when noise is superimposed on the current excitation signal.

なお、請求項4〜11のいずれか1項に記載の発明は、前記補正手段は、前記励磁信号の極大値および極小値に基づき、前記励磁信号の振幅を算出する振幅算出手段と、該振幅算出手段によって算出された振幅に基づき、前記検波手段の入力となる前記励磁信号を補正する振幅補正手段と、を備えることを特徴としてもよい。   The invention according to any one of claims 4 to 11 is characterized in that the correction means calculates an amplitude of the excitation signal based on a maximum value and a minimum value of the excitation signal; Amplitude correction means for correcting the excitation signal to be input to the detection means based on the amplitude calculated by the calculation means may be provided.

なお、請求項3記載の発明は、前記計時手段によって計時された時間が閾値以下である場合、その時間を、前記検波信号の反転タイミングの設定に用いることを禁止する禁止手段を備えることを特徴としてもよい。   The invention according to claim 3 further comprises prohibiting means for prohibiting the use of the time for setting the inversion timing of the detection signal when the time measured by the time measuring means is equal to or less than a threshold value. It is good.

また、請求項11,14記載の発明は、前記復調手段に入力される前記励磁信号と前記被変調波は、いずれも電源電圧を共通とする差動増幅回路の出力信号であり、前記オフセット量算出手段によって算出されるオフセット量に基づき、前記被変調波を補正する手段を備えることを特徴としてもよい。   In the invention described in claims 11 and 14, both the excitation signal and the modulated wave input to the demodulating means are output signals of a differential amplifier circuit having a common power supply voltage, and the offset amount. A means for correcting the modulated wave based on the offset amount calculated by the calculating means may be provided.

また、本発明にかかる以下の代表的な実施形態に関する概念の拡張については、代表的な実施形態の後の「その他の実施形態」の欄に記載してある。   Further, the expansion of the concept relating to the following representative embodiments according to the present invention is described in the “Other Embodiments” section after the representative embodiments.

第1の実施形態にかかるシステム構成図。1 is a system configuration diagram according to a first embodiment. FIG. 同実施形態における励磁信号のサンプリングタイミングを示すタイムチャート。The time chart which shows the sampling timing of the excitation signal in the embodiment. 同実施形態にかかるレファレンスの補正処理の手順を示す流れ図。6 is a flowchart showing a procedure of reference correction processing according to the embodiment; 同実施形態の効果を示すタイムチャート。The time chart which shows the effect of the embodiment. 第2の実施形態の解決課題を示すタイムチャート。The time chart which shows the solution subject of 2nd Embodiment. 同実施形態にかかるレファレンスの補正処理の手順を示す流れ図。6 is a flowchart showing a procedure of reference correction processing according to the embodiment; 第3の実施形態にかかるシステム構成図。The system block diagram concerning 3rd Embodiment. 同実施形態にかかるレファレンスの補正処理の手順を示す流れ図。6 is a flowchart showing a procedure of reference correction processing according to the embodiment; 第4の実施形態にかかる励磁信号パラメータの推定処理の手順を示す流れ図。The flowchart which shows the procedure of the estimation process of the excitation signal parameter concerning 4th Embodiment. 第5の実施形態にかかるシステム構成図。The system block diagram concerning 5th Embodiment. 同実施形態にかかる検波信号の生成処理を示すタイムチャート。The time chart which shows the production | generation process of the detection signal concerning the embodiment. 同実施形態にかかる検波信号の生成処理の手順を示す流れ図。6 is a flowchart showing a procedure of detection signal generation processing according to the embodiment; 上記生成処理の技術的意義を説明するためのタイムチャート。The time chart for demonstrating the technical significance of the said production | generation process. 第6の実施形態にかかる2値化信号RSの生成手法を示すタイムチャート。The time chart which shows the production | generation method of the binarization signal RS concerning 6th Embodiment. 同実施形態にかかる検波信号の生成処理の手順を示す流れ図。6 is a flowchart showing a procedure of detection signal generation processing according to the embodiment; 第7の実施形態にかかるシステム構成図。The system block diagram concerning 7th Embodiment. 同実施形態にかかるサンプリング周期の変更処理を示すタイムチャート。The time chart which shows the change process of the sampling period concerning the embodiment. 第8の実施形態にかかるシステム構成図。The system block diagram concerning 8th Embodiment. 同実施形態にかかる入力側励磁信号SCのオフセット補正手法を示すタイムチャート。6 is a time chart showing an offset correction method for an input side excitation signal SC according to the embodiment. 第9の実施形態にかかるシステム構成図。The system block diagram concerning 9th Embodiment.

<第1の実施形態>
以下、本発明にかかる位置検出装置をレゾルバのデジタルコンバータに適用した第1の実施形態について、図面を参照しつつ説明する。
<First Embodiment>
Hereinafter, a first embodiment in which a position detection apparatus according to the present invention is applied to a digital converter of a resolver will be described with reference to the drawings.

図1に示されるモータジェネレータ10は、車載主機であり、図示しない駆動輪に機械的に連結されている。インバータINVは、モータジェネレータ10と図示しないバッテリとの間の電力の授受を仲介する。モータジェネレータ10の回転子10aには、レゾルバ20の1次側コイル22が機械的に連結されている。   A motor generator 10 shown in FIG. 1 is an in-vehicle main machine, and is mechanically coupled to drive wheels (not shown). Inverter INV mediates transfer of electric power between motor generator 10 and a battery (not shown). The primary side coil 22 of the resolver 20 is mechanically coupled to the rotor 10 a of the motor generator 10.

1次側コイル22は、マイクロコンピュータ(マイコン40)内蔵の発振器42から出力される正弦波状の交流信号(励磁信号Sc)によって励磁される。詳しくは、励磁信号Scは、増幅回路30に入力され、ここでその振幅値が増幅された後、1次側コイル22に入力される。これにより、励磁信号Scによって1次側コイル22に生じた磁束は、一対の2次側コイル24,26を鎖交する。ここで、2次側コイル24,26のそれぞれと1次側コイル22との相互インダクタンスは、回転子10aの回転角度θに応じて周期的に変化するように構成されている。これにより、2次側コイル24,26を鎖交する磁束数は、周期的に変化する。特に、本実施形態では、2次側コイル24,26のそれぞれに生じる電圧の位相が互いに「π/2」だけずれるようになっている。これにより、2次側コイル24,26のそれぞれの出力電圧は、励磁信号Scを、変調波sinθ、cosθのそれぞれによって変調した被変調波となる。すなわち、励磁信号Scを「sinωt」とすると、被変調波は、それぞれ「sinθsinωt」と「cosθsinωt」となる。   The primary coil 22 is excited by a sinusoidal AC signal (excitation signal Sc) output from an oscillator 42 built in a microcomputer (microcomputer 40). Specifically, the excitation signal Sc is input to the amplifier circuit 30, and the amplitude value is amplified here and then input to the primary coil 22. Thereby, the magnetic flux generated in the primary coil 22 by the excitation signal Sc links the pair of secondary coils 24 and 26. Here, the mutual inductance between each of the secondary side coils 24 and 26 and the primary side coil 22 is configured to periodically change according to the rotation angle θ of the rotor 10a. As a result, the number of magnetic fluxes interlinking the secondary coils 24 and 26 changes periodically. In particular, in this embodiment, the phases of the voltages generated in the secondary side coils 24 and 26 are shifted from each other by “π / 2”. As a result, the output voltages of the secondary coils 24 and 26 become modulated waves obtained by modulating the excitation signal Sc with the modulated waves sin θ and cos θ, respectively. That is, when the excitation signal Sc is “sin ωt”, the modulated waves are “sin θ sin ωt” and “cos θ sin ωt”, respectively.

上記増幅回路30の出力は、差動増幅回路32によって電圧変換され、入力側励磁信号SCとされる。一方、2次側コイル24の出力電圧は、差動増幅回路34によって電圧変換され、被変調波Sinとされる。また、2次側コイル26の出力電圧は、差動増幅回路36によって電圧変換され、被変調波Cosとされる。これら入力側励磁信号SCと、被変調波Sinと被変調波Cosとのそれぞれは、マイコン40に入力され、マイコン40内のセレクタ44によって、アナログデジタル変換器46に時分割で入力される。   The output of the amplifying circuit 30 is converted into a voltage by a differential amplifying circuit 32 and used as an input side excitation signal SC. On the other hand, the output voltage of the secondary coil 24 is converted into a modulated wave Sin by the differential amplifier circuit 34. The output voltage of the secondary side coil 26 is converted into a modulated wave Cos by the differential amplifier circuit 36. Each of the input side excitation signal SC, the modulated wave Sin, and the modulated wave Cos is input to the microcomputer 40, and is input to the analog-digital converter 46 in a time division manner by the selector 44 in the microcomputer 40.

アナログデジタル変換器46では、入力側励磁信号SCが入力されることで、これをデジタルデータに変換する(励磁信号Scをサンプリングする)。このデジタルデータがレファレンスREFである。また、被変調波Sinが入力されることで、これをデジタルデータに変換する(被変調波Sinをサンプリングする)。このデジタルデータが被変調波SINである。また、被変調波Cosが入力されることで、これをデジタルデータに変換する(被変調波Cosをサンプリングする)。このデジタルデータが被変調波COSである。   The analog-to-digital converter 46 receives the input-side excitation signal SC and converts it into digital data (samples the excitation signal Sc). This digital data is the reference REF. Further, when the modulated wave Sin is inputted, it is converted into digital data (the modulated wave Sin is sampled). This digital data is the modulated wave SIN. Further, when the modulated wave Cos is inputted, it is converted into digital data (the modulated wave Cos is sampled). This digital data is the modulated wave COS.

アナログデジタル変換器46の出力信号は、中央処理装置(CPU50)に入力され、ここで、ソフトウェア処理される。図では、CPU50によって行われるソフトウェア処理のうち、特に、回転角度θの算出処理等について、ブロック図で示してある。   The output signal of the analog-digital converter 46 is input to a central processing unit (CPU 50) where it is processed by software. In the figure, among the software processes performed by the CPU 50, the calculation process of the rotation angle θ is shown in a block diagram.

すなわち、乗算器52では、回転角度θの算出値(算出角度φ)を独立変数とする余弦関数cosφを、被変調波SINに乗算する。一方、乗算器54では、算出角度φを独立変数とする正弦関数sinφを、被変調波COSに乗算する。誤差相関量算出部56では、乗算器52の出力値から乗算器54の出力値を減算することで、誤差相関量εを算出する。   That is, the multiplier 52 multiplies the modulated wave SIN by a cosine function cos φ having the calculated value (calculated angle φ) of the rotation angle θ as an independent variable. On the other hand, the multiplier 54 multiplies the modulated wave COS by a sine function sin φ having the calculated angle φ as an independent variable. The error correlation amount calculator 56 calculates the error correlation amount ε by subtracting the output value of the multiplier 54 from the output value of the multiplier 52.

この誤差相関量εは、差動増幅回路32,34,36や増幅回路30のゲインによって定まる比例定数を無視すると、以下の式(c1)によって表現される。
ε=sinωt・sinθ・cosφ−sinωt・cosθ・sinφ
=sinωt・sin(θ―φ)…(c1)
誤差相関量εは、実際の回転角度θと算出角度φとの差がゼロとなることで、ゼロとなる。また、励磁信号Scの大きさの影響を除く場合、算出角度φと実際の回転角度θとの差に応じて絶対値が変化するものであって且つ、差の絶対値が同一であれば、符号にかかわらず絶対値が同一となるものである。さらに、励磁信号Scの符号(sinωtの符号)の影響を除く場合、算出角度φが実際の回転角度θよりも進角側の値であるか遅角側の値であるかを示す量でもある。誤差相関量εから、励磁信号Scの符号の影響を除く除去処理は、同期検波によってなされる。
This error correlation amount ε is expressed by the following equation (c1) when the proportionality constant determined by the gains of the differential amplifier circuits 32, 34, and 36 and the amplifier circuit 30 is ignored.
ε = sinωt · sinθ · cosφ−sinωt · cosθ · sinφ
= Sinωt · sin (θ−φ) (c1)
The error correlation amount ε becomes zero when the difference between the actual rotation angle θ and the calculated angle φ becomes zero. Further, when excluding the influence of the magnitude of the excitation signal Sc, if the absolute value changes according to the difference between the calculated angle φ and the actual rotation angle θ and the absolute value of the difference is the same, The absolute value is the same regardless of the sign. Furthermore, when the influence of the sign of the excitation signal Sc (the sign of sin ωt) is excluded, it is also an amount indicating whether the calculated angle φ is an advance value or a retard value from the actual rotation angle θ. . The removal process for removing the influence of the sign of the excitation signal Sc from the error correlation amount ε is performed by synchronous detection.

すなわち、レファレンスREFは、後述する補正部57によって補正された後、2値検波信号算出手段(検波信号生成部58)に入力され、ここで、レファレンスREFの符号に応じて「1」または「−1」となる信号である検波信号Rdに加工される。詳しくは、検波信号生成部58では、レファレンスREF(補正部57の出力信号)がゼロ以上である場合に検波信号Rdを「1」として且つ、ゼロ未満である場合に検波信号Rdを「−1」とする。一方、同期検波部60では、誤差相関量εに検波信号Rdを乗算することで、被検波量εcを算出する。   That is, the reference REF is corrected by a correction unit 57 described later, and then input to a binary detection signal calculation means (detection signal generation unit 58). Here, “1” or “−” is determined depending on the sign of the reference REF. 1 ”is processed into a detection signal Rd. Specifically, the detection signal generation unit 58 sets the detection signal Rd to “1” when the reference REF (output signal of the correction unit 57) is zero or more, and sets the detection signal Rd to “−1” when the reference signal REF is less than zero. " On the other hand, the synchronous detection unit 60 multiplies the error correlation amount ε by the detection signal Rd to calculate the detected wave amount εc.

被検波量εcは、実際の回転角度θと算出角度φとの差がゼロとなることで、ゼロとなって且つ、その符号によって、算出角度φが実際の回転角度θよりも進角側の値であるか遅角側の値であるかを示す量である。   The detected wave amount εc becomes zero when the difference between the actual rotation angle θ and the calculated angle φ becomes zero, and the calculated angle φ is more advanced than the actual rotation angle θ by the sign thereof. It is an amount indicating whether the value is a value or a retarded value.

被検波量εcは、角度算出部62に入力される。角度算出部62は、ローパスフィルタや積分要素を備えて構成される。本実施形態では、特に、2重積分要素と位相補償フィルタ「(bs+1)/(as+1)」とを備えるものを例示した。ここで、2重積分要素を用いたのは、回転角度θが一定速度で変化する場合に算出角度φに定常偏差をゼロとすることを狙ったものである。   The detected wave amount εc is input to the angle calculation unit 62. The angle calculation unit 62 includes a low-pass filter and an integration element. In the present embodiment, particularly, a double integration element and a phase compensation filter “(bs + 1) / (as + 1)” are illustrated. Here, the double integration element is used in order to make the steady deviation zero in the calculated angle φ when the rotation angle θ changes at a constant speed.

上記算出角度φは、上記乗算器52,54に加えて、操作量算出処理部64に入力される。操作量算出処理部64では、モータジェネレータ10を流れる電流を検出する図示しない電流センサの検出値や、算出角度φ等に基づき、インバータINVの操作信号を生成してインバータINVに出力する。これにより、モータジェネレータ10の制御量(例えば出力トルク)がその指令値(例えば指令トルク)に制御される。   The calculation angle φ is input to the operation amount calculation processing unit 64 in addition to the multipliers 52 and 54. The operation amount calculation processing unit 64 generates an operation signal for the inverter INV based on a detection value of a current sensor (not shown) that detects a current flowing through the motor generator 10, a calculation angle φ, and the like, and outputs the operation signal to the inverter INV. Thereby, the control amount (for example, output torque) of motor generator 10 is controlled to the command value (for example, command torque).

ところで、上記マイコン40(おもにCPU50)によって算出角度φの算出処理手段を構成すると、その動作速度を特に高速のものとしない場合には、次に示す不都合が生じることが発明者らによって見出された。   By the way, when the calculation processing means for the calculation angle φ is constituted by the microcomputer 40 (mainly the CPU 50), the inventors have found that the following inconvenience occurs when the operation speed is not particularly high. It was.

まず第1に、検波信号Rdの符号が、被変調波SIN,COSに含まれる励磁信号Scの符号と相違する検波エラーである。これは、アナログデジタル変換器46によって、入力側励磁信号SCや被変調波Sin,Cosを時分割でサンプリングするために、レファレンスREFと被変調波SIN,COSとのサンプリングタイミングにずれが生じることがその要因となるものである。   First, a detection error in which the sign of the detection signal Rd is different from the sign of the excitation signal Sc included in the modulated waves SIN and COS. This is because the analog-to-digital converter 46 samples the input-side excitation signal SC and the modulated waves Sin and Cos in a time-sharing manner, so that the sampling timing of the reference REF and the modulated waves SIN and COS may be shifted. That is the factor.

第2に、ノイズに対する耐性が非常に低いことである。これは、励磁信号Scの1周期におけるレファレンスREFのサンプリング回数のうち、レファレンスREFが正となるものと負となるものとが相違する不均衡に起因して生じる。すなわち、上記被検波量εcは、差動増幅回路32,34,36のゲイン等によって定まる比例定数K(>0)を用いることで、「K・|sinωt|・sin(θ−φ)」となるものである。このため、ノイズが混入しない限り、レファレンスREFが正となるもののサンプリング回数と負となるもののサンプリング回数との不均衡は算出角度φの算出になんら影響しない。しかし、たとえば差動増幅回路36にノイズが混入する場合、このノイズをオフセット量Nofと表現すると、被検波量εcは、以下の式(c2)となる。   Second, it has a very low resistance to noise. This is caused by an imbalance in which the reference REF is positive and negative among the number of samplings of the reference REF in one cycle of the excitation signal Sc. That is, the detected wave quantity εc is expressed as “K · | sinωt | · sin (θ−φ)” by using a proportional constant K (> 0) determined by the gain of the differential amplifier circuits 32, 34, and 36. It will be. For this reason, as long as noise is not mixed, the imbalance between the number of samplings for which the reference REF is positive and the number of samplings for the negative REF does not affect the calculation of the calculation angle φ. However, for example, when noise is mixed in the differential amplifier circuit 36, when this noise is expressed as an offset amount Nof, the detected wave amount εc is expressed by the following equation (c2).

εc=
K・|sinωt|・sin(θ−φ)−sinφ・Nof・Rd/|Rd|
…(c2)
上記の式(c2)の右辺第2項は、検波信号Rdに応じた符号を有する量となる。このため、ノイズの重畳期間において検波信号Rdの符号が正のものと負のものとの数が等しいなら、上記右辺第2項の平均値は、ゼロとなる。しかし、正となるものと負となるものとの数に差が生じる場合には、右辺第2項の平均値がゼロとならないため、算出角度φの算出精度に影響しやすい。特に、本実施形態のように、角度算出部62を2重積分要素を備えて構成する場合にあっては、上記正となるものと負となるものとの数に差が生じることで、その影響が増幅される。
εc =
K · | sinωt | · sin (θ−φ) −sinφ · Nof · Rd / | Rd |
... (c2)
The second term on the right side of the above formula (c2) is an amount having a sign corresponding to the detection signal Rd. For this reason, if the number of positive and negative signs of the detection signal Rd is equal during the noise superposition period, the average value of the second term on the right side is zero. However, when there is a difference in the number of positive and negative ones, the average value of the second term on the right side does not become zero, which tends to affect the calculation accuracy of the calculation angle φ. In particular, in the case where the angle calculation unit 62 is configured with a double integral element as in the present embodiment, a difference occurs in the number of positive and negative ones. The effect is amplified.

ここでたとえば、算出角度φの算出周期(レファレンスREF等のサンプリング周期)を固定する場合、検波信号Rdのうち正となるものの数が負となるものの数よりも多くなる現象が生じると、しばらくして負となるものの数が正となるものの数よりも多くなる現象が生じる。このため、より長いタイムスケールにおいては正となるものの数と負となるものの数との間に不均衡が生じていないこととなる。このことは、不均衡を定義する上で算出角度φの算出精度に寄与するタイムスケールが存在することを意味する。ちなみに、このタイムスケールにおけるノイズを除去するように上記位相補償フィルタのローパスフィルタ成分の時定数を設定することも可能ではある。しかしこの場合には、応答性の低下が大きくなる。このため、特に車載用途のように、高い応答性が求められるものにあっては、その要求を満足する設計が極めて困難である。   Here, for example, when the calculation cycle of the calculation angle φ (sampling cycle of the reference REF, etc.) is fixed, if a phenomenon occurs in which the number of positive detection signals Rd is larger than the number of negative detection signals Rd, it takes a while. As a result, a phenomenon occurs in which the number of negative ones is larger than the number of positive ones. For this reason, in a longer time scale, there is no imbalance between the number of positive ones and the number of negative ones. This means that there is a time scale that contributes to the calculation accuracy of the calculation angle φ in defining the imbalance. Incidentally, it is also possible to set the time constant of the low-pass filter component of the phase compensation filter so as to remove noise on this time scale. However, in this case, the responsiveness decreases greatly. For this reason, especially in the case where high responsiveness is required, such as in-vehicle applications, it is extremely difficult to design to satisfy the requirement.

ここで、不均衡に起因してノイズに対する耐性が低下する現象は、算出角度φの算出周期(励磁信号Sc等のサンプリング周期)が長くなることで顕著となる。換言すれば、算出周期等が十分に短ければ、上記の式(c2)の右辺第2項の影響が算出角度φに目だった影響を及ぼさない。すなわち、たとえば、励磁信号Scの周期が「100μs」であり、算出周期が「6μs」である場合、励磁信号Scの半周期におけるサンプリング回数は、8回または9回となる。これに対し、励磁信号Scの周期が「100μs」であり、算出周期が「0.6μs」である場合、励磁信号Scの半周期におけるサンプリング回数は、83回または84回となる。いずれの場合であっても、レファレンスREFが正となるものの数と負となるもの数との間に生じうる差自体は、「1」である。しかし、この1回が算出角度φの算出に寄与する度合いは大きく相違するものとなる。   Here, the phenomenon that the tolerance to noise due to imbalance decreases is prominent when the calculation period of the calculation angle φ (sampling period of the excitation signal Sc or the like) becomes longer. In other words, if the calculation cycle or the like is sufficiently short, the influence of the second term on the right side of the above formula (c2) does not have a noticeable influence on the calculation angle φ. That is, for example, when the cycle of the excitation signal Sc is “100 μs” and the calculation cycle is “6 μs”, the number of samplings in the half cycle of the excitation signal Sc is 8 or 9. On the other hand, when the cycle of the excitation signal Sc is “100 μs” and the calculation cycle is “0.6 μs”, the number of samplings in the half cycle of the excitation signal Sc is 83 times or 84 times. In any case, the difference itself that can occur between the number of positive reference REF and the negative number is “1”. However, the degree to which this one time contributes to the calculation of the calculation angle φ is greatly different.

実際、上記不均衡現象自体は、従来のレゾルバデジタルエンコーダによっても生じていたものと考えられる。この不均衡によってノイズに対する耐性が低下するという課題は、本実施形態のように算出角度φの算出処理をソフトウェア処理とするなどすることで、上記算出周期を低周波(たとえば、200kHz以下)とすることで顕在化したものである。   In fact, it is considered that the above-mentioned imbalance phenomenon itself was also caused by a conventional resolver digital encoder. The problem that the tolerance to noise is reduced due to this imbalance is that the calculation cycle is set to a low frequency (for example, 200 kHz or less) by making the calculation processing of the calculation angle φ software processing as in this embodiment. This is what became apparent.

こうした課題を解決すべく、本実施形態では、入力側励磁信号SCのサンプリングタイミングを図2に示すものとする。図示されるように、ここでは、サンプリングの周期Tsを、基準サンプリング周期Tsrefに固定しつつ、その位相(サンプリングタイミングにおける励磁信号Scの位相)の設定等によって、次の条件を満たすようにする。   In order to solve such a problem, in this embodiment, the sampling timing of the input side excitation signal SC is shown in FIG. As shown in the drawing, here, the sampling period Ts is fixed to the reference sampling period Tsref, and the following condition is satisfied by setting the phase (phase of the excitation signal Sc at the sampling timing) or the like.

条件1.入力側励磁信号SCが正である期間と負である期間とでサンプリング回数が同一となる旨の条件。すなわち、正である期間におけるサンプリング(位相PH1〜PH5におけるサンプリング)の回数と、負である期間におけるサンプリング(位相PH6〜PH10におけるサンプリング)の回数とを、同一とする。   Condition 1. A condition that the number of samplings is the same in the period in which the input side excitation signal SC is positive and in the negative period. That is, the number of samplings (sampling in phases PH1 to PH5) in the positive period is the same as the number of samplings (sampling in phases PH6 to PH10) in the negative period.

条件2.サンプリングされる入力側励磁信号SCの絶対値が規定値ΔS以下とならない旨の条件。これは、検波エラーを回避するための条件である。規定値ΔSは、アナログデジタル変換器46による入力側励磁信号SCのサンプリングタイミングと、被変調波Sin,Cosのサンプリングタイミングとの時間差における入力側励磁信号SCの変化量よりも大きい値に設定されている。これは、基準サンプリング周期Tsrefやサンプリング位相の設定によって、励磁信号Scの一周期毎にサンプリングタイミングにおける励磁信号Scの位相が等しくなる設定とすることで実現することができる。すなわち、この条件を満たさない場合には、時間の経過とともにサンプリング位相(サンプリングタイミングにおける励磁信号Scの位相)が変化し、条件2を満たさなくなるおそれがある。   Condition 2. A condition that the absolute value of the sampled input-side excitation signal SC does not fall below the specified value ΔS. This is a condition for avoiding a detection error. The specified value ΔS is set to a value larger than the amount of change of the input side excitation signal SC in the time difference between the sampling timing of the input side excitation signal SC by the analog-digital converter 46 and the sampling timing of the modulated waves Sin and Cos. Yes. This can be realized by setting the excitation signal Sc to have the same phase at the sampling timing for each period of the excitation signal Sc by setting the reference sampling period Tsref and the sampling phase. That is, when this condition is not satisfied, the sampling phase (the phase of the excitation signal Sc at the sampling timing) changes with time, and the condition 2 may not be satisfied.

なお、この条件2を満たす設定によって、上記不均衡を回避することや、不均衡以外の要因によるノイズに対する耐性を高めることもできる。すなわち、励磁信号Scがゼロの場合には上記検波信号Rdが「1」となるため、入力側励磁信号SCがゼロとなるときにサンプリングすることで不均衡が生じやすくなる。これに対し、上記条件2を満たす設定によれば、入力側励磁信号SCがゼロとなるときにこれをサンプリングすることが禁止される。また、ノイズによってレファレンスREFの符号が励磁信号Scのものと逆となることも考えられるが、こうした事態は、入力側励磁信号SCの値が大きいほど生じにくくなる。このため、上記条件2を満たす設定によれば、ノイズに対する耐性が向上する。   In addition, the setting which satisfy | fills this condition 2 can avoid the said imbalance, and can also improve the tolerance with respect to the noise by factors other than imbalance. That is, when the excitation signal Sc is zero, the detection signal Rd is “1”, so that when the input side excitation signal SC is zero, sampling is likely to cause an imbalance. On the other hand, according to the setting satisfying the condition 2, it is prohibited to sample the input side excitation signal SC when it becomes zero. Further, it is conceivable that the sign of the reference REF is reversed from that of the excitation signal Sc due to noise, but such a situation is less likely to occur as the value of the input-side excitation signal SC is larger. For this reason, according to the setting satisfying the above condition 2, resistance to noise is improved.

さらに、本実施形態では、入力側励磁信号SCの最新のサンプリング値(レファレンスREF)を、過去のサンプリング値に基づき補正する処理を行なう。これは、ノイズに対する耐性をいっそう向上させることを狙ったものである。すなわちたとえば、入力側励磁信号SCにノイズが重畳する場合、その符号が反転し、ひいては先の図2に示した設定に反して、不均衡が生じるおそれがある。またたとえば、入力側励磁信号SCの変動中心がゼロからずれるオフセットが生じる場合、先の図2に示した設定の狙いとする効果が得られず、検波エラーが生じるおそれがある。   Further, in the present embodiment, the latest sampling value (reference REF) of the input side excitation signal SC is corrected based on the past sampling value. This is intended to further improve resistance to noise. That is, for example, when noise is superimposed on the input-side excitation signal SC, the sign is inverted, and thus there is a possibility that an imbalance may occur contrary to the setting shown in FIG. Further, for example, when an offset in which the fluctuation center of the input-side excitation signal SC deviates from zero occurs, the effect of setting as shown in FIG. 2 cannot be obtained, and a detection error may occur.

図3に、上記補正処理の手順を示す。この処理は、先の図1に示した補正部57によって行われる。   FIG. 3 shows the procedure of the correction process. This process is performed by the correction unit 57 shown in FIG.

この一連の処理では、まずステップS10において、入力側励磁信号SCをサンプリングする。続くステップS12においては、今回のサンプリングタイミングが、先の図2に示したいずれの位相PHiに対応するかを判定する。そして、ステップS14においては、位相PHiに対応する平均レファレンスRi(n)を、前回の平均レファレンスRi(n−1)と、今回のレファレンスri(n)との指数移動平均処理値とする。ここで、前回の平均レファレンスRi(n−1)の重み係数w1と、今回のレファレンスri(n)の重み係数w2との間には、「w1>w2」の関係を持たせることが望ましい。なお、この処理は、本実施形態において、平均処理手段を構成する。   In this series of processing, first, in step S10, the input side excitation signal SC is sampled. In subsequent step S12, it is determined which phase PHi shown in FIG. 2 corresponds to the current sampling timing. In step S14, the average reference Ri (n) corresponding to the phase PHi is set as the exponential moving average processing value of the previous average reference Ri (n-1) and the current reference ri (n). Here, it is desirable to have a relationship of “w1> w2” between the weighting factor w1 of the previous average reference Ri (n−1) and the weighting factor w2 of the current reference ri (n). In addition, this process comprises an average process means in this embodiment.

続くステップS16においては、前回算出された平均オフセット量O(n−1)によって、平均レファレンスRi(n)を補正したものを最終的なレファレンスREF(補正部57の出力信号)とする。この処理は、本実施形態において、オフセット補正手段を構成する。   In the subsequent step S16, the final reference REF (output signal of the correction unit 57) is obtained by correcting the average reference Ri (n) by the previously calculated average offset amount O (n-1). This process constitutes an offset correction unit in the present embodiment.

こうした処理は、現在の位相PHiが位相PH10となるまで行われる(ステップS18)。そして、ステップS18において肯定判断される場合、ステップS20において、平均オフセット量O(n)を算出する。   Such processing is performed until the current phase PHi reaches the phase PH10 (step S18). If an affirmative determination is made in step S18, an average offset amount O (n) is calculated in step S20.

ここでは、まず、瞬時オフセット量offset(n)を、この一周期におけるレファレンスr1(n)〜r10(n)の単純移動平均処理値とする。ここで、位相PHiは、励磁信号Scの周期を10等分に等分割したものであるため、任意の位相PHiに対し、πだけずれた位相が存在する。このため、それらπだけ位相のずれた組の加算値は、オフセット誤差がない場合には、ゼロとなるはずである。これに対し、オフセット誤差がある場合には、上記加算値がそのオフセット誤差の値をとることとなる。このため、上記単純移動平均処理値によって、オフセット量を算出することができる。なお、先の図2に示したサンプリングタイミングの設定は、本実施形態において、オフセット用サンプリング手段を構成する。   Here, first, the instantaneous offset amount offset (n) is set as a simple moving average processing value of the references r1 (n) to r10 (n) in this one cycle. Here, since the phase PHi is obtained by equally dividing the period of the excitation signal Sc into 10 equal parts, there is a phase shifted by π with respect to an arbitrary phase PHi. For this reason, the added value of the set whose phase is shifted by π should be zero when there is no offset error. On the other hand, when there is an offset error, the added value takes the value of the offset error. For this reason, the offset amount can be calculated from the simple moving average processing value. The setting of the sampling timing shown in FIG. 2 constitutes an offset sampling means in this embodiment.

次に、今回の平均オフセット量O(n)を、前回の平均オフセット量O(n−1)と、瞬時オフセット量offset(n)との指数移動平均処理値とする。ここで、前回の平均オフセット量O(n−1)の重み係数wo1と、今回の瞬時オフセット量offset(n)の重み係数wo2との間には、「wo1>wo2」の関係を持たせることが望ましい。この処理は、本実施形態において、オフセット量算出手段を構成する。   Next, the current average offset amount O (n) is set as an exponential moving average processing value of the previous average offset amount O (n−1) and the instantaneous offset amount offset (n). Here, a relationship of “wo1> wo2” is set between the weighting factor wo1 of the previous average offset amount O (n−1) and the weighting factor wo2 of the current instantaneous offset amount offset (n). Is desirable. This process constitutes an offset amount calculating means in the present embodiment.

そして、ステップS20の処理が完了する場合、ステップS22において、変数nをデクリメントし、この一連の処理を一旦終了する。ちなみに、ステップS22における変数nのデクリメント処理は、上記ステップS14,S16,S20の処理における前回の値を「n−1」と表現するための処理を簡易に表現したものに過ぎず、これを実現するための実際の処理がデクリメントである必要はない。   When the process of step S20 is completed, the variable n is decremented in step S22, and this series of processes is temporarily terminated. Incidentally, the decrement process of the variable n in step S22 is merely a simple expression of the process for expressing the previous value in the processes of steps S14, S16, S20 as “n−1”, and this is realized. The actual process for doing this need not be a decrement.

こうした処理を行なうことで、図4(a)に示すように、検波信号Rdのノイズに対する耐性を高めることができる。これに対し、図4(b)には、補正部57を備えない場合を示している。この場合、入力側励磁信号SCにノイズが重畳することで、検波信号Rdの符号が反転する。この相違は、先の図3のステップS14の処理にある。すなわち、この処理によれば、検波信号生成部58の入力信号となるレファレンスREFが、過去の同位相のレファレンスREFに応じて定まるため、突発的なノイズに対する耐性が向上する。
<第2の実施形態>
以下、第2の実施形態について、先の第1の実施形態との相違点を中心に図面を参照しつつ説明する。
By performing such processing, as shown in FIG. 4A, it is possible to increase the resistance of the detection signal Rd to noise. On the other hand, FIG. 4B shows a case where the correction unit 57 is not provided. In this case, the sign of the detection signal Rd is inverted when noise is superimposed on the input side excitation signal SC. This difference is in the process of step S14 of FIG. That is, according to this processing, the reference REF that is an input signal of the detection signal generation unit 58 is determined according to the reference REF having the same phase in the past, and thus resistance to sudden noise is improved.
<Second Embodiment>
Hereinafter, the second embodiment will be described with reference to the drawings with a focus on differences from the first embodiment.

本実施形態では、励磁信号Scの不定期な変動に対処する制御を行なう。すなわち、たとえば図5に例示する位相ずれが生じる場合、今回のレファレンスREFに対する平均レファレンスRi(n−1)の寄与度を大きくすることで、かえって不均衡や検波エラー等が生じやすくなるおそれがある。   In the present embodiment, control for dealing with irregular fluctuations in the excitation signal Sc is performed. That is, for example, when the phase shift illustrated in FIG. 5 occurs, an increase in the contribution of the average reference Ri (n−1) to the current reference REF may cause an imbalance or a detection error. .

図6に、本実施形態にかかる補正処理の手順を示す。この処理は、補正部67によって、たとえば所定周期でくり返し実行される。なお、図6に示す処理において、先の図3に示した処理に対応するものについては、便宜上同一のステップ番号を付している。   FIG. 6 shows a procedure of correction processing according to the present embodiment. This process is repeatedly executed by the correction unit 67, for example, at a predetermined cycle. In the process shown in FIG. 6, the same step number is attached for convenience to the process corresponding to the process shown in FIG. 3.

この一連の処理では、ステップS14の処理が完了する場合、ステップS30において、今回の平均レファレンスR(n)と暫定レファレンスRi0(n)との差の絶対値が規定値ΔR以上であるか否かを判断する。ここで、暫定レファレンスRi0(n)は、前回の瞬時レファレンスRi0(n−1)と、今回のレファレンスri(n)との指数移動平均処理値とする。ただし、前回の瞬時レファレンスRi0(n−1)の重み係数w10に対する今回のレファレンスri(n)の重み係数w20の比W20/w10は、平均レファレンスRi(n)のものよりも大きくなっている。これは、平均レファレンスRi(n)よりも暫定レファレンスRi0(n)の方が過去のレファレンスREFの寄与度を小さくするための設定である。   In this series of processes, when the process of step S14 is completed, in step S30, whether or not the absolute value of the difference between the current average reference R (n) and the temporary reference Ri0 (n) is greater than or equal to the specified value ΔR. Judging. Here, the provisional reference Ri0 (n) is an exponential moving average processing value of the previous instantaneous reference Ri0 (n-1) and the current reference ri (n). However, the ratio W20 / w10 of the weighting factor w20 of the current reference ri (n) to the weighting factor w10 of the previous instantaneous reference Ri0 (n-1) is larger than that of the average reference Ri (n). This is a setting for making the contribution of the past reference REF smaller in the provisional reference Ri0 (n) than in the average reference Ri (n).

ステップS30の処理は、励磁信号Scに不定期の変動が生じたか否かを判断するためのものである。これは、不定期の変動が生じない場合には、上記絶対値は略ゼロとなると考えられることに基づくものである。なお、この処理は、本実施形態において、判断手段を構成する。   The process of step S30 is for determining whether or not irregular fluctuations have occurred in the excitation signal Sc. This is based on the fact that when the irregular fluctuation does not occur, the absolute value is considered to be substantially zero. This process constitutes a determination unit in this embodiment.

ステップS30において肯定判断される場合には、ステップS32において、今回の平均レファレンスRi(n)を暫定レファレンスRi0(n)とする。すなわち、検波信号生成部58の入力信号として、平均レファレンスRi(n)が採用されることを回避する。この処理は、本実施形態において、回避手段を構成する。   If an affirmative determination is made in step S30, the current average reference Ri (n) is set as a temporary reference Ri0 (n) in step S32. That is, it is avoided that the average reference Ri (n) is adopted as the input signal of the detection signal generation unit 58. This process constitutes an avoidance unit in the present embodiment.

また、ステップS20の処理が完了する場合、ステップS34において、今回の平均オフセット量O(n)と暫定オフセット量O0(n)との差の絶対値が規定値ΔO以上であるか否かを判断する。ここで、暫定オフセット量O0(n)は、瞬時オフセット量offsetの平均値である。ただし、ここでは、瞬時オフセット量offsetの平均化処理を行なう期間(サンプリング数l)の設定によって、平均オフセット量O(n)よりも暫定オフセット量O0(n)の方が過去のレファレンスREFの寄与度を小さくする。   When the process of step S20 is completed, in step S34, it is determined whether or not the absolute value of the difference between the current average offset amount O (n) and the temporary offset amount O0 (n) is greater than or equal to the specified value ΔO. To do. Here, the provisional offset amount O0 (n) is an average value of the instantaneous offset amount offset. However, here, the provisional offset amount O0 (n) contributes to the past reference REF more than the average offset amount O (n), depending on the setting of the period (sampling number 1) for averaging the instantaneous offset amount offset. Decrease the degree.

ステップS34の処理も、励磁信号Scに不定期の変動が生じたか否かを判断するためのものである。これは、不定期の変動が生じない場合には、上記絶対値は略ゼロとなると考えられることに基づくものである。   The processing in step S34 is also for determining whether or not irregular fluctuations have occurred in the excitation signal Sc. This is based on the fact that when the irregular fluctuation does not occur, the absolute value is considered to be substantially zero.

ステップS34において肯定判断される場合には、ステップS36において、今回の平均オフセット量O(n)を暫定オフセット量O0(n)とする。すなわち、検波信号生成部58の入力信号として、平均オフセット量O(n)が採用されることを回避する。
<第3の実施形態>
以下、第3の実施形態について、先の第1の実施形態との相違点を中心に図面を参照しつつ説明する。
If an affirmative determination is made in step S34, the current average offset amount O (n) is set as the provisional offset amount O0 (n) in step S36. That is, it is avoided that the average offset amount O (n) is adopted as the input signal of the detection signal generation unit 58.
<Third Embodiment>
Hereinafter, the third embodiment will be described with reference to the drawings with a focus on differences from the first embodiment.

図7に、本実施形態にかかるシステム構成を示す。なお、図7において、先の図1に示した部材に対応するものについては、便宜上同一の符号を付している。   FIG. 7 shows a system configuration according to the present embodiment. In FIG. 7, components corresponding to those shown in FIG. 1 are given the same reference numerals for convenience.

図示されるように、本実施形態では、同期検波部60において、誤差相関量εに、レファレンスREF(補正部57の出力信号)を乗算することで、被検波量εcを算出する。この場合、レファレンスREFの振幅が変動することで、角度算出部62のゲインが変動した場合と等価な現象が生じうる。そこで本実施形態では、レファレンスREFの振幅を補正する処理をも行なう。   As illustrated, in the present embodiment, the synchronous detection unit 60 calculates the detected wave amount εc by multiplying the error correlation amount ε by the reference REF (the output signal of the correction unit 57). In this case, a phenomenon equivalent to the case where the gain of the angle calculation unit 62 fluctuates can occur due to the fluctuation of the amplitude of the reference REF. Therefore, in the present embodiment, processing for correcting the amplitude of the reference REF is also performed.

図8に、本実施形態にかかる補正処理の手順を示す。この処理は、補正部67によって、たとえば所定周期でくり返し実行される。なお、図8に示す処理において、先の図3に示した処理に対応するものについては、便宜上同一のステップ番号を付している。   FIG. 8 shows a procedure of correction processing according to the present embodiment. This process is repeatedly executed by the correction unit 67, for example, at a predetermined cycle. In the processing shown in FIG. 8, the same step numbers are assigned for convenience to those corresponding to the processing shown in FIG.

この一連の処理では、ステップS14の処理が完了すると、ステップS16aに移行する。ステップS16aにおいては、平均レファレンスRi(n)から平均オフセット量O(n−1)を減算した値に、後述する処理によって算出される平均振幅Amp(n−1)で基準振幅Arefを除算した値を乗算することで、レファレンスREFを算出する。ここで、基準振幅Arefは、先の図2に示した設定をするに際して想定した基準となるレファレンスREFの振幅である。ちなみに、ステップS16aの処理は、本実施形態において、振幅補正手段を構成する。   In this series of processes, when the process of step S14 is completed, the process proceeds to step S16a. In step S16a, the value obtained by dividing the reference amplitude Aref by the average amplitude Amp (n-1) calculated by the processing described later to the value obtained by subtracting the average offset amount O (n-1) from the average reference Ri (n). To calculate the reference REF. Here, the reference amplitude Aref is the amplitude of the reference REF, which is a reference assumed when performing the setting shown in FIG. Incidentally, the process of step S16a constitutes an amplitude correction means in this embodiment.

一方、ステップS18において肯定判断される場合、ステップS20aにおいて、平均オフセット量O(n)の算出処理に加えて、平均振幅Amp(n)の算出処理を行なう。ここで、平均振幅Amp(n)の算出に際しては、まず、先の図2に示した位相PH3,PH8に対応するレファレンスr3(n),r8(n)を用いて、瞬時振幅amp(n)を、「{r3(n)−r8(n)}/2」と算出する。次に、今回の平均振幅Amp(n)を、前回の平均振幅Amp(n−1)と、今回の瞬時振幅amp(n)との指数移動平均処理値とする。ここで、前回の平均振幅Amp(n−1)の重み係数wa1と、今回の瞬時振幅amp(n)の重み係数wa2との間には、「wa1>wa2」の関係を持たせることが望ましい。
<第4の実施形態>
以下、第4の実施形態について、先の第3の実施形態との相違点を中心に図面を参照しつつ説明する。
On the other hand, when an affirmative determination is made in step S18, in step S20a, in addition to the process of calculating the average offset amount O (n), the process of calculating the average amplitude Amp (n) is performed. Here, when calculating the average amplitude Amp (n), first, the instantaneous amplitude amp (n) is used by using the references r3 (n) and r8 (n) corresponding to the phases PH3 and PH8 shown in FIG. Is calculated as “{r3 (n) −r8 (n)} / 2”. Next, the current average amplitude Amp (n) is set as an exponential moving average processing value between the previous average amplitude Amp (n−1) and the current instantaneous amplitude amp (n). Here, it is desirable to have a relationship of “wa1> wa2” between the weighting coefficient wa1 of the previous average amplitude Amp (n−1) and the weighting coefficient wa2 of the current instantaneous amplitude amp (n). .
<Fourth Embodiment>
Hereinafter, the fourth embodiment will be described with reference to the drawings with a focus on differences from the third embodiment.

図9に、本実施形態にかかる補正処理の手順を示す。この処理は、補正部67によって、たとえば所定周期でくり返し実行される。なお、図9に示す処理において、先の図3に示した処理に対応するものについては、便宜上同一のステップ番号を付している。   FIG. 9 shows a correction processing procedure according to the present embodiment. This process is repeatedly executed by the correction unit 67, for example, at a predetermined cycle. In the process shown in FIG. 9, the same step numbers are assigned for convenience as to the processes corresponding to the process shown in FIG. 3.

この一連の処理では、ステップS12の処理が完了する場合、ステップS38に移行する。ステップS38では、今回のレファレンスREFについて、振幅およびオフセット補正を行なう。詳しくは、先の図2に示した位相設定を行なうに際して想定した振幅(基準振幅Aref)を後述する処理によって算出された振幅Aによって除算した値と、レファレンスREFからオフセット量Oを減算した値とを乗算することで行なう。   In this series of processes, when the process of step S12 is completed, the process proceeds to step S38. In step S38, amplitude and offset correction is performed for the current reference REF. Specifically, the value obtained by dividing the amplitude (reference amplitude Aref) assumed when performing the phase setting shown in FIG. 2 by the amplitude A calculated by the processing described later, and the value obtained by subtracting the offset amount O from the reference REF This is done by multiplying

続くステップS40においては、レファレンスREFのサン数をカウントする変数jをインクリメントする。そして、ステップS42においては、変数jが閾値jth以上であるか否かを判断する。この処理は、入力側励磁信号SCを回帰分析にて求めることができるのに十分なサンプリング数が確保できたか否かを判断するためのものである。そして、閾値以上であると判断される場合、ステップS46において、閾値jth個の入力側励磁信号SCのサンプリング値(レファレンスREF)に基づき、回帰分析によって、励磁信号SCを推定する。ここでは、入力側励磁信号SCを、「A・sin(ω0+δ)+O」として、振幅A,オフセット量O、角速度ω0、および位相δを求める。   In the subsequent step S40, the variable j for counting the number of suns of the reference REF is incremented. In step S42, it is determined whether or not the variable j is greater than or equal to the threshold value jth. This process is for determining whether or not a sufficient number of samplings can be secured to obtain the input-side excitation signal SC by regression analysis. If it is determined that the threshold value is equal to or greater than the threshold value, in step S46, the excitation signal SC is estimated by regression analysis based on the sampling values (reference REF) of the threshold value jth input side excitation signals SC. Here, the amplitude A, the offset amount O, the angular velocity ω0, and the phase δ are obtained by setting the input side excitation signal SC as “A · sin (ω0 + δ) + O”.

続くステップS48においては、変数jを初期化するとともに、サンプリングタイミングを更新する。すなわち、角速度ω0が想定されていたものからずれていた場合や、位相δが想定されていたものからずれていた場合、入力側励磁信号SCのサンプリングタイミングにおける位相が、先の図2に示した位相からずれるおそれがある。このため、角速度ω0や位相δに基づき、サンプリングタイミングを更新する。
<第5の実施形態>
以下、第5の実施形態について、先の第1の実施形態との相違点を中心に図面を参照しつつ説明する。
In the subsequent step S48, the variable j is initialized and the sampling timing is updated. That is, when the angular velocity ω0 deviates from what was assumed, or when the phase δ deviates from what was assumed, the phase at the sampling timing of the input side excitation signal SC is shown in FIG. There is a risk of being out of phase. Therefore, the sampling timing is updated based on the angular velocity ω0 and the phase δ.
<Fifth Embodiment>
Hereinafter, a fifth embodiment will be described with reference to the drawings, focusing on differences from the first embodiment.

図10に、本実施形態にかかるシステム構成を示す。なお、図10において、先の図1に示した部材に対応するものについては、便宜上同一の符号を付している。   FIG. 10 shows a system configuration according to the present embodiment. In FIG. 10, components corresponding to those shown in FIG. 1 are given the same reference numerals for convenience.

図示されるように、本実施形態では、差動増幅回路32の出力電圧が、2値化信号算出手段(2値化回路70)に入力され、2値化された2値化信号RSに波形整形される。2値化信号RSは、マイコン40内のタイマ72に入力され、ここで、その立ち上がり時間Th(2値のうち励磁信号Scの正に対応する値の継続時間)が算出される。   As shown in the figure, in the present embodiment, the output voltage of the differential amplifier circuit 32 is input to the binarized signal calculation means (binarization circuit 70), and the waveform of the binarized binarized signal RS is obtained. It is shaped. The binarized signal RS is input to the timer 72 in the microcomputer 40, where the rise time Th (the duration of the value corresponding to the positive value of the excitation signal Sc out of the two values) is calculated.

そして、立ち上がり時間Thは、2値化信号RSとともに、CPU50の検波信号生成部74の入力となり、ここで、検波信号Rdが生成される。検波信号生成部74では、図11に示すように、2値化信号RSの立ち上がり期間の中央のタイミングが、入力側励磁信号SCの極大値となるタイミングであるとして、入力側励磁信号SCの変動中心において極性が反転する検波信号Rdを生成する。ここで、2値化信号RSの立ち上がり期間の中央のタイミングを入力側励磁信号SCの極大値となるタイミングとすることは、入力側励磁信号SCのオフセットの影響を排除することを狙ったものである。   The rise time Th is input to the detection signal generation unit 74 of the CPU 50 together with the binarized signal RS, and here, the detection signal Rd is generated. In the detection signal generation unit 74, as shown in FIG. 11, assuming that the central timing of the rising period of the binarized signal RS is the maximum value of the input side excitation signal SC, the fluctuation of the input side excitation signal SC is changed. A detection signal Rd whose polarity is inverted at the center is generated. Here, the purpose of setting the central timing of the rising period of the binarized signal RS to the maximum value of the input-side excitation signal SC is to eliminate the influence of the offset of the input-side excitation signal SC. is there.

詳しくは、入力側励磁信号SCの周期(基準励磁周期Tpref)を用いると、上記中央のタイミングから「3・Tpref/4」だけ経過したタイミングが、入力側励磁信号SCの値が上昇する過程でその変動中心を横切るタイミングとなる。したがって、2値化信号RSの立ち下がりタイミングから、「(3・Tpref/4)−Th/2」だけ経過したタイミングが、入力側励磁信号SCの値が上昇する過程でその変動中心を横切るタイミングとなる。   More specifically, when the period of the input side excitation signal SC (reference excitation period Tpref) is used, the timing when “3 · Tref / 4” has elapsed from the central timing is a process in which the value of the input side excitation signal SC increases. It is time to cross the fluctuation center. Therefore, the timing when “(3 · Tpref / 4) −Th / 2” has elapsed from the falling timing of the binarized signal RS crosses the fluctuation center in the process of increasing the value of the input side excitation signal SC. It becomes.

図12に、本実施形態にかかる検波信号Rdの生成処理の手順を示す。この処理は、検波信号生成部74とタイマ72との協働で、たとえば所定周期で繰り返し実行される。   FIG. 12 shows a procedure for generating the detection signal Rd according to the present embodiment. This process is repeatedly executed, for example, at a predetermined period by the cooperation of the detection signal generation unit 74 and the timer 72.

この一連の処理では、まずステップS60において、2値化信号RSが負から正に反転したタイミングであるか否かを判断する。そして、ステップS60において肯定判断される場合、ステップS62において、2値化信号RSの立ち上がり時間を計時するカウンタT1をインクリメントする。この処理は、2値化信号RSが正から負に反転することと、カウンタT1が閾値T1thを超えることとの論理積が真となるまで継続される(ステップS64,S65)。ここで、カウンタT1が閾値T1thを超えるまでとの条件を設けたのは、ノイズに対する耐性を高めるためである。すなわち、図13に示すように、入力側励磁信号SCにノイズが重畳することで、2値化信号RSに短いパルスが生じた場合、ステップS65の処理によれば、このパルスの立ち上がり時間を2値化信号RSの立ち上がり時間とすることを回避することができる。なお、この処理は、本実施形態において禁止手段を構成する。   In this series of processing, first, in step S60, it is determined whether or not it is the timing when the binarized signal RS is inverted from negative to positive. If the determination in step S60 is affirmative, in step S62, a counter T1 that counts the rise time of the binarized signal RS is incremented. This process is continued until the logical product of the inversion of the binarized signal RS from positive to negative and the counter T1 exceeding the threshold T1th becomes true (steps S64 and S65). Here, the condition that the counter T1 exceeds the threshold value T1th is provided in order to increase resistance to noise. That is, as shown in FIG. 13, when noise is superimposed on the input side excitation signal SC and a short pulse is generated in the binarized signal RS, the rise time of this pulse is set to 2 according to the processing of step S65. It is possible to avoid the rise time of the value signal RS. Note that this processing constitutes a prohibition unit in the present embodiment.

ステップS65において肯定判断される場合、ステップS66において、カウンタT1の値を立ち上がり時間Thとした後、カウンタT1を初期化する。   When an affirmative determination is made in step S65, the counter T1 is initialized in step S66 after the value of the counter T1 is set as the rising time Th.

続くステップS68においては、タイマT2をインクリメントする。そして、タイマT2が「(3・Tpref/4)−Th/2」となることで、ステップS72に移行し、検波信号Rdを負から正に反転させる。また、タイマT2が「(5・Tpref/4)−Th/2」となることで(ステップS74:YES)、ステップS76に移行し、検波信号Rdを正から負に反転させ、タイマT2を初期化する。   In the subsequent step S68, the timer T2 is incremented. Then, when the timer T2 becomes “(3 · Tpref / 4) −Th / 2”, the process proceeds to step S72, and the detection signal Rd is inverted from negative to positive. Further, when the timer T2 becomes “(5 · Tpref / 4) −Th / 2” (step S74: YES), the process proceeds to step S76, the detection signal Rd is inverted from positive to negative, and the timer T2 is initialized. Turn into.

なお、上記ステップS72,S76の処理は、本実施形態において、エッジ設定手段を構成する。
<第6の実施形態>
以下、第6の実施形態について、先の第5の実施形態との相違点を中心に図面を参照しつつ説明する。
In addition, the process of said step S72, S76 comprises an edge setting means in this embodiment.
<Sixth Embodiment>
Hereinafter, the sixth embodiment will be described with reference to the drawings with a focus on differences from the fifth embodiment.

図14に、本実施形態にかかる2値化回路70による2値化信号RSの生成手法を示す。図示されるように、本実施形態では、入力側励磁信号SCが立ち上がり閾値Rth以上となることで2値化信号RSを負から正に反転させ、入力側励磁信号SCがゼロ以下となることで2値化信号RSを正から負に反転させる。   FIG. 14 shows a method of generating the binarized signal RS by the binarization circuit 70 according to the present embodiment. As shown in the figure, in this embodiment, when the input side excitation signal SC becomes equal to or higher than the rising threshold value Rth, the binarized signal RS is inverted from negative to positive, and the input side excitation signal SC becomes zero or less. The binary signal RS is inverted from positive to negative.

この場合、2値化信号RSの立ち上がり期間のうちの中央となるタイミングは、入力側励磁信号SCの極大値となるタイミングからずれる。そこで本実施形態では、上記閾値Rthと入力側励磁信号SCの振幅とに基づき、立ち上がり期間のうちのどのタイミングが入力側励磁信号SCの極大となるタイミングかを特定して検波信号Rdを生成する。   In this case, the timing at the center of the rising period of the binarized signal RS deviates from the timing at which the maximum value of the input-side excitation signal SC is reached. Therefore, in the present embodiment, based on the threshold value Rth and the amplitude of the input side excitation signal SC, the timing signal during which the input side excitation signal SC is maximized is identified and the detection signal Rd is generated. .

図15に、本実施形態にかかる検波信号Rdの生成処理の手順を示す。この処理は、検波信号生成部74とタイマ72との協働で、たとえば所定周期で繰り返し実行される。なお、図15において、先の図12に示した処理に対応するものについては、便宜上同一のステップ番号を付している。   FIG. 15 shows a procedure for generating the detection signal Rd according to the present embodiment. This process is repeatedly executed, for example, at a predetermined period by the cooperation of the detection signal generation unit 74 and the timer 72. Note that, in FIG. 15, the same step numbers are assigned for convenience to those corresponding to the processing shown in FIG. 12.

この一連の処理では、タイマT2が「(3・Tpref/4)−Th/2−Δ」となることで(ステップS70a:YES)、ステップS72に移行し、検波信号Rdを負から正に反転させる。また、タイマT2が「(5・Tpref/4)−Th/2−Δ」となることで(ステップS74a:YES)、ステップS76に移行し、検波信号Rdを正から負に反転させる。ここでは、2値化信号RSの立ち上がり時間と立ち下がり時間との差を補償する補償量Δを用いていることが、先の図12に示した処理と相違する。
<第7の実施形態>
以下、第7の実施形態について、先の第1の実施形態との相違点を中心に図面を参照しつつ説明する。
In this series of processing, when the timer T2 becomes “(3 · Tref / 4) −Th / 2−Δ” (step S70a: YES), the process proceeds to step S72, and the detection signal Rd is inverted from negative to positive. Let Further, when the timer T2 becomes “(5 · Tpref / 4) −Th / 2−Δ” (step S74a: YES), the process proceeds to step S76, and the detection signal Rd is inverted from positive to negative. Here, the use of the compensation amount Δ for compensating for the difference between the rise time and the fall time of the binarized signal RS is different from the process shown in FIG.
<Seventh Embodiment>
Hereinafter, the seventh embodiment will be described with reference to the drawings with a focus on differences from the first embodiment.

図16に、本実施形態にかかるシステム構成を示す。なお、図16において、先の図1に示した部材に対応するものについては、便宜上同一の符号を付している。   FIG. 16 shows a system configuration according to the present embodiment. In FIG. 16, the same reference numerals are assigned to the members corresponding to those shown in FIG.

本実施形態では、励磁信号Scの周期である励磁周期Tpが基準励磁周期Tprefから変動した場合にサンプリングタイミングを補正する手段を搭載する。すなわち、差動増幅回路32の出力電圧が、2値化信号算出手段(2値化回路70)に入力され、2値化された2値化信号RSに波形整形される。2値化信号RSは、マイコン40内のタイマ72に入力され、ここで、その立ち上がり時間Thが算出される。立ち上がり時間Thは、周期変更手段(周期補正部76)に入力される。周期補正部76では、図17に示すように、立ち上がり時間Thの2倍の時間を励磁周期Tp(n)とし、先の図2に示した設定において想定された基準サンプリング周期Tsrefに対し実際のサンプリング周期Ts(n)を以下の式(c3)に基づき補正する。   In the present embodiment, a means for correcting the sampling timing when the excitation period Tp, which is the period of the excitation signal Sc, fluctuates from the reference excitation period Tpref is mounted. That is, the output voltage of the differential amplifier circuit 32 is input to the binarized signal calculation means (binarization circuit 70), and is waveform-shaped into a binarized binarized signal RS. The binarized signal RS is input to a timer 72 in the microcomputer 40, where the rise time Th is calculated. The rise time Th is input to the cycle changing means (cycle correction unit 76). As shown in FIG. 17, the period correction unit 76 sets the excitation period Tp (n) as a time twice as long as the rise time Th, and the actual period relative to the reference sampling period Tsref assumed in the setting shown in FIG. The sampling period Ts (n) is corrected based on the following equation (c3).

Ts(n)=Tsref・Tp(n−1)/Tpref …(c3)
これにより、発振器42の温度特性等によって励磁信号Scの周期が変動したとしても、先の図3に示した処理の効果を好適に奏することができる。
<第8の実施形態>
以下、第8の実施形態について、先の第1の実施形態との相違点を中心に図面を参照しつつ説明する。
Ts (n) = Tsref · Tp (n−1) / Tpref (c3)
Thereby, even if the period of the excitation signal Sc fluctuates due to the temperature characteristics of the oscillator 42 or the like, the effect of the processing shown in FIG. 3 can be suitably achieved.
<Eighth Embodiment>
Hereinafter, the eighth embodiment will be described with reference to the drawings with a focus on differences from the first embodiment.

図18に、本実施形態にかかるシステム構成を示す。なお、図18において、先の図1に示した部材に対応するものについては、便宜上同一の符号を付している。   FIG. 18 shows a system configuration according to the present embodiment. In FIG. 18, the same reference numerals are assigned for convenience to the members corresponding to the members shown in FIG.

本実施形態では、差動増幅回路32,34,36を構成するオペアンプの電源電圧を共通とする。また、本実施形態では、入力側励磁信号SCがオフセットした場合に、上記オペアンプの電源電圧を変更することで、オフセットを解消(低減)する機能を搭載する。詳しくは、差動増幅回路32の出力電圧が、2値化信号算出手段(2値化回路70)に入力され、2値化された2値化信号RSに波形整形される。2値化信号RSは、マイコン40内のタイマ72に入力され、ここで、その立ち上がり時間Thが算出される。立ち上がり時間Thは、オフセット補正部78に入力される。オフセット補正部78では、図19に示すように、立ち上がり時間Thと基準励磁周期Tprefの2分の1との差がオフセット量に比例するとして、オフセット量Oを算出する。詳しくは、予め定められたゲインGを用いて、オフセット量Oを「G・{Th−(Tpref/2)}」とする。そして、オフセット量Oに基づき、上記オペアンプの電源電圧を操作する。   In the present embodiment, the power supply voltages of the operational amplifiers constituting the differential amplifier circuits 32, 34, and 36 are made common. Further, in the present embodiment, when the input-side excitation signal SC is offset, a function for eliminating (reducing) the offset is mounted by changing the power supply voltage of the operational amplifier. Specifically, the output voltage of the differential amplifier circuit 32 is input to a binarized signal calculation means (binarization circuit 70), and the waveform is shaped into a binarized binarized signal RS. The binarized signal RS is input to a timer 72 in the microcomputer 40, where the rise time Th is calculated. The rise time Th is input to the offset correction unit 78. As shown in FIG. 19, the offset correction unit 78 calculates the offset amount O on the assumption that the difference between the rise time Th and a half of the reference excitation period Tpref is proportional to the offset amount. Specifically, the offset amount O is set to “G · {Th− (Tpref / 2)}” using a predetermined gain G. Based on the offset amount O, the power supply voltage of the operational amplifier is manipulated.

こうした処理によれば、入力側励磁信号SCのオフセットを解消できるのみならず、被変調波Sin,Cosのオフセットをも解消することができる。これは、差動増幅回路32,34,36のオフセット誤差の要因としては上記電源電圧の誤差が主であるためである。すなわち、差動増幅回路32,34,36を構成するオペアンプの電源電圧が共通の場合、入力側励磁信号SCにオフセット誤差があると、被変調波Sin,Cosにもオフセット誤差が生じる傾向がある。   According to such processing, not only the offset of the input side excitation signal SC can be eliminated, but also the offset of the modulated waves Sin and Cos can be eliminated. This is because the error of the power supply voltage is the main factor of the offset error of the differential amplifier circuits 32, 34, and 36. That is, when the power supply voltages of the operational amplifiers constituting the differential amplifier circuits 32, 34, and 36 are common, if there is an offset error in the input side excitation signal SC, there is a tendency that an offset error also occurs in the modulated waves Sin and Cos. .

なお、このオフセット補正部78は、本実施形態において、オフセット量算出手段およびオフセット補正手段を構成する。
<第9の実施形態>
以下、第9の実施形態について、先の第1の実施形態との相違点を中心に図面を参照しつつ説明する。
In the present embodiment, the offset correction unit 78 constitutes an offset amount calculation unit and an offset correction unit.
<Ninth Embodiment>
Hereinafter, the ninth embodiment will be described with reference to the drawings with a focus on differences from the first embodiment.

図20に、本実施形態にかかるシステム構成を示す。なお、図20において、先の図1に示した部材に対応するものについては、便宜上同一の符号を付している。   FIG. 20 shows a system configuration according to the present embodiment. In FIG. 20, components corresponding to those shown in FIG. 1 are given the same reference numerals for convenience.

本実施形態では、レファレンスREFがバンドパスフィルタ80によってフィルタ処理されたものが、同期検波部60の入力とされる。ここで、バンドパスフィルタ80は、励磁信号Scの基準励磁周期Tprefの逆数の周波数帯域の信号を選択的に透過させるものである。これによっても、同期検波部60の入力信号のノイズに対する耐性を高めることができる。なお、バンドパスフィルタ80は、今回のサンプリング値(レファレンスREF)に加えて、過去のサンプリング値に基づき今回の出力値を算出する手段である。すなわち、本実施形態でも、同期検波部60の入力信号は、復調に用いる誤差相関量εに含まれる被変調波SIN,COSと比較して過去においてサンプリングされたレファレンスREFが用いられている。
<その他の実施形態>
なお、上記各実施形態は、以下のように変更して実施してもよい。
In the present embodiment, the reference REF filtered by the band pass filter 80 is input to the synchronous detection unit 60. Here, the band pass filter 80 selectively transmits a signal in a frequency band that is the reciprocal of the reference excitation cycle Tpref of the excitation signal Sc. Also by this, the tolerance with respect to the noise of the input signal of the synchronous detection part 60 can be improved. The bandpass filter 80 is a means for calculating the current output value based on the past sampling value in addition to the current sampling value (reference REF). That is, also in this embodiment, the reference signal REF sampled in the past as compared with the modulated waves SIN and COS included in the error correlation amount ε used for demodulation is used for the input signal of the synchronous detector 60.
<Other embodiments>
Each of the above embodiments may be modified as follows.

「計時手段(72)について」
上記第5の実施形態(図10)では、2値化信号RSの立ち上がり期間を計時したが、立ち下がり期間を計時してもよい。この場合、先の図12において、計時処理の完了後、まず第1に、検波信号Rdの立ち下がりエッジを設定する処理を行えばよい。また、2値化信号RSの立ち上がり期間と、立ち下がり期間との双方であってもよい。この場合、たとえば、立ち上がり期間に基づき、次回の検波信号Rdの立ち上がりエッジを設定して且つ、立ち下がり期間に基づき、次回の検波信号Rdの立ち下がりエッジを設定すればよい。
"About time measuring means (72)"
In the fifth embodiment (FIG. 10), the rising period of the binarized signal RS is measured, but the falling period may be measured. In this case, in FIG. 12, after the time measurement process is completed, first, a process of setting the falling edge of the detection signal Rd may be performed. Further, both the rising period and the falling period of the binarized signal RS may be used. In this case, for example, the rising edge of the next detection signal Rd may be set based on the rising period, and the falling edge of the next detection signal Rd may be set based on the falling period.

「2値化信号算出手段(70)について」
マイコン40の外に設けられた2値化回路に限らず、マイコン40内に搭載されるものであってもよい。
“About the binarized signal calculation means (70)”
The circuit is not limited to the binarization circuit provided outside the microcomputer 40, and may be mounted in the microcomputer 40.

「エッジ設定手段(74)について」
上記第5の実施形態(図12)では、立ち上がり時間T1の計時後、半周期後および1周期後に対応する検波信号Rdのエッジを設定したが、これに限らない。たとえば、1.5周期後および2周期後に対応する検波信号Rdのエッジを設定してもよい。
“Edge setting means (74)”
In the fifth embodiment (FIG. 12), the edge of the detection signal Rd corresponding to the half time and one cycle after the rise time T1 is measured, but not limited thereto. For example, the edges of the detection signal Rd corresponding to 1.5 cycles and 2 cycles later may be set.

「禁止手段(S65)について」
CPU50の外にあるタイマ72に搭載されるものに限らない。たとえば、タイマ72としてこの機能を備えないものを用いて且つ、CPU50によるソフトウェア処理として、禁止手段を構成してもよい。こうしたものにあっては、CPU50において、タイマ72によって計時された立ち上がり時間Thが短い場合、これを採用することなく、前回値を採用するなどすればよい。
"About prohibited means (S65)"
It is not restricted to what is mounted in the timer 72 outside CPU50. For example, the prohibiting means may be configured as a software process by the CPU 50 using a timer 72 that does not have this function. In such a case, when the rise time Th measured by the timer 72 is short in the CPU 50, the previous value may be adopted without adopting this.

「平均処理手段について」
指数移動平均処理を行なうものに限らない。たとえば、今回のサンプリング値ri(n)と、過去N(>1)回のサンプリング値ri(n−1),ri(n−2),…との単純移動平均処理を行なうものであってもよい。
"Average processing means"
It is not restricted to what performs an exponential moving average process. For example, a simple moving average process of the current sampling value ri (n) and the past N (> 1) sampling values ri (n−1), ri (n−2),... Good.

「回避手段について」
暫定オフセット量O0(n)の算出手法としては、上記第2の実施形態(図6)において例示したものに限らない。たとえば、上記第2の実施形態における暫定レファレンスRi0(n)の算出処理と同様の処理によって算出してもよい。
"Avoidance measures"
The method for calculating the provisional offset amount O0 (n) is not limited to the one exemplified in the second embodiment (FIG. 6). For example, the calculation may be performed by a process similar to the calculation process of the temporary reference Ri0 (n) in the second embodiment.

また、暫定レファレンスRi0(n)の算出手法としては、上記第2の実施形態(図6)において例示したものに限らない。たとえば、上記第2の実施形態における暫定オフセット量O0(n)の算出処理と同様の処理によって算出してもよい。   Further, the calculation method of the temporary reference Ri0 (n) is not limited to the one exemplified in the second embodiment (FIG. 6). For example, it may be calculated by a process similar to the process of calculating the provisional offset amount O0 (n) in the second embodiment.

「判断手段について」
暫定レファレンスRi0(n)と平均レファレンスRi(n)との差や、暫定オフセット量O0(n)と平均オフセット量O(n)との差に基づき判断を行なうものに限らない。たとえば、励磁信号Scの周期を計時するタイマを備え、タイマによって計時される時間の時系列データに基づき、それらに変化があることで変動が生じたと判断するものであってもよい。
About judgment means
The determination is not limited to the determination based on the difference between the temporary reference Ri0 (n) and the average reference Ri (n) or the difference between the temporary offset amount O0 (n) and the average offset amount O (n). For example, a timer that measures the period of the excitation signal Sc may be provided, and based on time-series data of time measured by the timer, it may be determined that a change has occurred due to the change.

「所定の位相について」
上記第1の実施形態(図3)等では、入力側励磁信号SCの位相PH1〜PH10の全てについて、これを所定の位相として、平均レファレンスR1(n)〜R10(n)を算出したが、これに限らない。たとえば、先の図2に示した位相PH1〜PH10でサンプリングを行いつつも、平均レファレンスRi(n)については、位相PH1,PH5,PH6,PH10に限って算出してもよい。これは、励磁信号Scが変動中心に近い値となるタイミングほど、ノイズに対する耐性が低下することに鑑みたものである。
"About the prescribed phase"
In the first embodiment (FIG. 3) and the like, the average references R1 (n) to R10 (n) are calculated with respect to all the phases PH1 to PH10 of the input side excitation signal SC as predetermined phases. Not limited to this. For example, while sampling is performed in the phases PH1 to PH10 shown in FIG. 2, the average reference Ri (n) may be calculated only for the phases PH1, PH5, PH6, and PH10. This is because the resistance to noise is reduced as the excitation signal Sc becomes a value closer to the fluctuation center.

「オフセット量算出用のサンプリングについて」
先の図2に示したように、励磁信号Scの一周期の整数分の1を、サンプリング周期とするものに限らない。要は、互いに逆位相となる一対のタイミング(位相がπだけずれた一対のタイミング)を、サンプリングタイミングとするものであるなら、それら一対のサンプリングタイミングの1または複数組におけるレファレンスREFの単純移動平均値として瞬時オフセット量offsetを算出することができる。
“Sampling for offset amount calculation”
As shown in FIG. 2 above, the sampling signal is not limited to 1 / integer of one cycle of the excitation signal Sc. In short, if the sampling timing is a pair of timings having opposite phases (a pair of timings whose phases are shifted by π), a simple moving average of the references REF at one or a plurality of the pair of sampling timings. The instantaneous offset amount offset can be calculated as a value.

もっとも、これに限らず、たとえば1周期の整数倍の期間におけるレファレンスREFの単純移動平均値をオフセットに応じた量として算出するものであってもよい。さらにこれに限らず、所定のサンプリングパターンにおけるレファレンスREFの合計値と、オフセットがない場合における上記合計値の基準値との差に基づき、オフセット量を算出するものであってもよい。   However, the present invention is not limited to this. For example, the simple moving average value of the reference REF in a period that is an integral multiple of one cycle may be calculated as an amount corresponding to the offset. Furthermore, the present invention is not limited to this, and the offset amount may be calculated based on the difference between the total value of the reference REF in a predetermined sampling pattern and the reference value of the total value when there is no offset.

「オフセット量算出手段について」
上記第1の実施形態(図3)において、たとえば「平均処理手段について」の欄に記載したものに準じた変更をしてもよい。
About offset amount calculation means
In the first embodiment (FIG. 3), for example, changes may be made in accordance with those described in the column “About average processing means”.

上記第8の実施形態(図18)では、タイマ72の立ち上がり時間T1の計時結果に基づき、オフセット量Oを算出したが、これに限らない。たとえば、立ち下がり期間の計時結果に基づき、オフセット量を算出してもよく、またこれら双方であってもよい。ちなみに、双方とする場合、たとえば、立ち上がり時間に基づくオフセット量の算出値と、立ち下がり時間に基づくオフセット量の算出値との単純移動平均値を最終的なオフセット量とすればよい。   In the eighth embodiment (FIG. 18), the offset amount O is calculated based on the time measurement result of the rise time T1 of the timer 72. However, the present invention is not limited to this. For example, the offset amount may be calculated based on the timing result of the falling period, or both of them may be calculated. Incidentally, when both are used, for example, a simple moving average value of the calculated value of the offset amount based on the rise time and the calculated value of the offset amount based on the fall time may be used as the final offset amount.

「オフセット補正手段について」
上記第1の実施形態(図3)において、平均オフセット量O(n)によって都度のレファレンスREF(サンプリング値ri(n))を補正する代わりに、上記第8の実施形態(図18)に例示されるように、入力側励磁信号SCを補正するようにしてもよい。
"Offset correction method"
In the first embodiment (FIG. 3), instead of correcting the reference REF (sampling value ri (n)) each time with the average offset amount O (n), it is exemplified in the eighth embodiment (FIG. 18). As described above, the input side excitation signal SC may be corrected.

上記第8の実施形態(図18)において、上記第1の実施形態(図3)のように、レファレンスREFを補正してもよい。   In the eighth embodiment (FIG. 18), the reference REF may be corrected as in the first embodiment (FIG. 3).

「被変調波Sin,Cos等のオフセット補正について」
上記第1の実施形態(図3)において、差動増幅回路32,34,36を構成するオペアンプの電源電圧を共通として且つ、上記第8の実施形態(図18)の要領で、被変調波SIN,COSのオフセット補正をしてもよい。もっとも、被変調波Sin,Cosのオフセットの要因が上記電源電圧の誤差に限らないことに鑑み、差動増幅回路32,34,36を構成するオペアンプの電源電圧を共通とする場合であっても、レファレンスREFのみをオフセット補正してもよい。すなわち、入力側励磁信号SCのオフセットが検出された場合であっても、被変調波SIN,COSのオフセット補正を行わないものであってもよい。
“Offset correction of modulated waves Sin, Cos, etc.”
In the first embodiment (FIG. 3), the power supply voltage of the operational amplifiers constituting the differential amplifier circuits 32, 34, and 36 is shared, and the modulated wave is the same as the eighth embodiment (FIG. 18). SIN and COS offset correction may be performed. However, in view of the fact that the factor of the offset of the modulated waves Sin and Cos is not limited to the error of the power supply voltage, even when the power supply voltages of the operational amplifiers constituting the differential amplifier circuits 32, 34 and 36 are made common. Only the reference REF may be offset corrected. That is, even when the offset of the input side excitation signal SC is detected, the offset of the modulated waves SIN and COS may not be corrected.

「周期計時手段(72)について」
上記第8の実施形態(図18)では、タイマ72によって立ち上がり時間T1を計時したが、これに限らず、立ち下がり時間を計時してもよく、立ち上がり時間および立ち下がり時間の合計値を計時してもよい。
"Periodic timekeeping means (72)"
In the eighth embodiment (FIG. 18), the rise time T1 is measured by the timer 72. However, the present invention is not limited to this, and the fall time may be measured, and the total value of the rise time and fall time is measured. May be.

ちなみに、2値化信号RSが先の図14に例示されるものである場合等にあっては、立ち上がり時間Thの2倍を励磁周期Tp(n)とすることは適切でない。このため、立ち上がり時間および立ち下がり時間の合計値を計時することが望ましい。また、これに代えて、先の図14に示した立ち上がり閾値Rthに基づき、立ち上がり時間Thを補正することで、励磁信号Scの半周期を算出する処理を加えてもよい。   Incidentally, in the case where the binarized signal RS is the one illustrated in FIG. 14 and the like, it is not appropriate to set the excitation period Tp (n) to twice the rise time Th. For this reason, it is desirable to measure the total value of the rise time and fall time. Alternatively, a process of calculating the half cycle of the excitation signal Sc by correcting the rising time Th based on the rising threshold value Rth shown in FIG. 14 may be added.

「周期変更手段(76)について」
周期変更手段としては、ハードウェア処理によってアナログデジタル変換器46のサンプリング周期を変更する手段に限らず、CPU50を用いたソフトウェア処理を含むものであってもよい。
"About the cycle change means (76)"
The period changing means is not limited to means for changing the sampling period of the analog-digital converter 46 by hardware processing, and may include software processing using the CPU 50.

なお、周期が変動する場合、サンプリング位相PHi自体も変動前のものからずれることとなる。このため、サンプリング位相を併せ変更することが望ましい。   When the period varies, the sampling phase PHi itself also deviates from that before the fluctuation. For this reason, it is desirable to change the sampling phase.

「推定手段について」
上記第4の実施形態(図9)では、振幅A、オフセット量O、角速度ω0および位相δを推定対象としたが、これに限らない。たとえば、先の図18等に例示されるように、励磁信号Scの周期を計時する機能を有する場合、それに基づき算出される角速度を用いることで、角速度については推定対象からはずしてもよい。また、振幅についてはこれを推定対象からはずすなどすることも可能である。
"About estimation means"
In the fourth embodiment (FIG. 9), the amplitude A, the offset amount O, the angular velocity ω0, and the phase δ are set as estimation targets. However, the present invention is not limited to this. For example, as exemplified in FIG. 18 and the like, when the function of measuring the period of the excitation signal Sc is used, the angular velocity calculated based on the function may be excluded from the estimation target. Also, the amplitude can be removed from the estimation target.

「フィルタについて」
上記第9の実施形態(図20)においては、バンドパスフィルタ80をソフトウェアによって構成したが、これに限らない。
About filters
In the ninth embodiment (FIG. 20), the bandpass filter 80 is configured by software, but is not limited thereto.

「2値検波信号算出手段(58)について」
励磁信号Sc(レファレンスREF)が0以上であるか否かに応じた2値の検波信号Rdを算出するものに限らない。たとえば、0よりも大きいか否かに応じた2値の検波信号Rdを算出するものであってもよい。
"Binary detection signal calculation means (58)"
The present invention is not limited to the calculation of the binary detection signal Rd according to whether the excitation signal Sc (reference REF) is 0 or more. For example, a binary detection signal Rd according to whether or not it is greater than 0 may be calculated.

「検波手段について」
上記実施形態において例示したものに限らない。たとえば、レファレンスREFを0と、正の値、および負の値の3つの値を有する3つの閾値で4段階に区分することで、4値化された検波信号Rdを生成するものであってもよい。
"About detection means"
It is not restricted to what was illustrated in the said embodiment. For example, even if the reference REF is divided into four stages by three threshold values having three values of 0, a positive value, and a negative value, a quaternary detection signal Rd is generated. Good.

「アナログデジタル変換器について」
被変調波Sin,Cosおよび入力側励磁信号SCをデジタルデータに変換する手段としては、単一のアナログデジタル変換器46に限らない。たとえば、被変調波Sin,Cosと、入力側励磁信号SCとで各別の変換器を備えてもよく、またたとえば、被変調波Sin,被変調波Cos、および入力側励磁信号SCのそれぞれで、各別の変換器を備えてもよい。
"Analog / Digital Converter"
Means for converting the modulated waves Sin, Cos and the input-side excitation signal SC into digital data is not limited to the single analog-digital converter 46. For example, each of the modulated waves Sin, Cos and the input-side excitation signal SC may be provided with a separate converter, and for example, each of the modulated wave Sin, the modulated wave Cos, and the input-side excitation signal SC. A separate converter may be provided.

「復調手段について」
a)誤差相関量εについて
励磁信号Scの符号の影響を除くことで、回転角度θに対する算出角度φのずれの方向に応じた符号を有する量としては、上記第1の実施形態(図1)において例示した誤差相関量εに限らない。たとえば、被変調波COSに「cos(φ−π/2)」を乗算したものと、被変調波SINに「sin(φ−π/2)」を乗算したものとの和であってもよい。この場合、誤差相関量εは、「sinωtcos(θ―φ+π/2)」に比例した量となり、励磁信号sinωtの符号の影響を除くことで、回転角度θに対して算出角度φが進角している場合に正、遅角している場合に負となる。
"Demodulation means"
a) Error correlation amount ε By excluding the influence of the sign of the excitation signal Sc, the amount having the sign corresponding to the direction of deviation of the calculated angle φ with respect to the rotation angle θ is the first embodiment (FIG. 1). The error correlation amount ε illustrated in FIG. For example, it may be the sum of the modulated wave COS multiplied by “cos (φ−π / 2)” and the modulated wave SIN multiplied by “sin (φ−π / 2)”. . In this case, the error correlation amount ε is proportional to “sinωtcos (θ−φ + π / 2)”, and the calculated angle φ is advanced with respect to the rotation angle θ by excluding the influence of the sign of the excitation signal sinωt. It is positive when it is, and negative when it is retarded.

もっとも、励磁信号Scの符号の影響を除くことで、誤差相関量ε自体が回転角度θに対する算出角度φのずれの方向に応じた符号を有する量であることは必須ではない。たとえば、被変調波COSに「cos(φ−π/4)」を乗算したものと、被変調波SINに「sin(φ−π/4)」を乗算したものとの和であってもよい。この場合、誤差相関量εは、「sinωtcos(θ―φ+π/4)」に比例した量となり、誤差相関量εから励磁信号Scの符号の影響を除いたとしても、回転角度θに対する算出角度φのずれの方向に応じた符号を有する量とはならない。しかし、励磁信号Scの符号の影響を除いた被検波量εcと「K/√2:Kは、差動増幅回路34等のゲインによって定まる被変調波の振幅」との差を制御誤差とするなら、制御誤差は、回転角度θに対する算出角度φのずれの方向に応じた符号を有する量となる。このため、これをゼロにフィードバック制御するための操作量として算出角度φを算出することができる。そしてこの場合であっても、ノイズに対する耐性を高める上では、本発明を適用することが有効である。   However, by removing the influence of the sign of the excitation signal Sc, it is not essential that the error correlation amount ε itself has a sign corresponding to the direction of deviation of the calculated angle φ with respect to the rotation angle θ. For example, the sum of a product obtained by multiplying the modulated wave COS by “cos (φ−π / 4)” and a product obtained by multiplying the modulated wave SIN by “sin (φ−π / 4)” may be used. . In this case, the error correlation amount ε is an amount proportional to “sinωtcos (θ−φ + π / 4)”, and even if the influence of the sign of the excitation signal Sc is removed from the error correlation amount ε, the calculated angle φ with respect to the rotation angle θ. The amount does not have a sign corresponding to the direction of the deviation. However, a control error is a difference between the detected wave amount εc excluding the influence of the sign of the excitation signal Sc and “K / √2: K is the amplitude of the modulated wave determined by the gain of the differential amplifier circuit 34”. Then, the control error is an amount having a sign corresponding to the direction of deviation of the calculated angle φ with respect to the rotation angle θ. Therefore, the calculation angle φ can be calculated as an operation amount for performing feedback control to zero. Even in this case, it is effective to apply the present invention in order to increase resistance to noise.

ただし、これは誤差相関量εの定義の仕方の問題に過ぎない。すなわち、「ε−Ksinωt/√2」を誤差相関量と定義するなら、これは、励磁信号Scの符号の影響を除くことで、回転角度θに対する算出角度φのずれの方向に応じた符号を有する量となる。ちなみに、「ε−Ksinωt/√2」から励磁信号Scの絶対値の影響を除いたものは、回転角度θと算出角度φとの差に応じた値を有するとはいえ、算出角度φのずれが進角側であるか遅角側であるかに応じて、上記差の絶対値が同一であっても絶対値が相違する。このため、進角側と遅角側とで算出角度φのフィードバック制御のゲインに差が生じるため、この差を許容できるシステムに適用することが望ましい。   However, this is only a problem of how to define the error correlation amount ε. That is, if “ε−K sin ωt / √2” is defined as the error correlation amount, this can be obtained by removing the influence of the sign of the excitation signal Sc, and by adding a sign corresponding to the direction of deviation of the calculated angle φ relative to the rotation angle θ. It will be the amount you have. Incidentally, what excluding the influence of the absolute value of the excitation signal Sc from “ε−Ksin ωt / √2” has a value corresponding to the difference between the rotation angle θ and the calculated angle φ, but the deviation of the calculated angle φ. Even if the absolute value of the difference is the same, the absolute value is different depending on whether is the advance side or the retard side. For this reason, a difference occurs in the gain of feedback control of the calculated angle φ between the advance angle side and the retard angle side, and it is desirable to apply to a system that can tolerate this difference.

b)算出角度φの算出処理
被検波量εcを入力とし、算出角度φを算出する処理としては、上記実施形態において例示したものに限らない。たとえば積分要素を3つ(3重積分)以上有するものであってもよい。
b) Calculation processing of the calculation angle φ The processing for calculating the calculation angle φ using the detected wave amount εc as an input is not limited to the one exemplified in the above embodiment. For example, it may have three or more integral elements (triple integral).

また、積分要素を1つのみ有するものであってもよい。この場合であっても、たとえば、励磁信号Scの値の絶対値が規定値ΔS以下となることで検波エラーが生じた際の算出角度φの算出精度は、サンプリング頻度が低いほど低下する。なぜなら、サンプリング頻度が低いほど積分間隔が長くなるため、ノイズが算出角度φに及ぼす影響の度合い(ノイズに対する算出角度φのゲイン)が大きくなるからである。   Moreover, you may have only one integral element. Even in this case, for example, the calculation accuracy of the calculation angle φ when the detection error occurs due to the absolute value of the excitation signal Sc being equal to or less than the specified value ΔS decreases as the sampling frequency decreases. This is because the integration interval becomes longer as the sampling frequency is lower, and the degree of influence of noise on the calculated angle φ (gain of the calculated angle φ with respect to noise) increases.

c)構成について
ソフトウェア処理手段として構成されるものに限らない。ハードウェア処理手段であっても、復調に用いられる入力側励磁信号SC等のサンプリング頻度が低くなるにつれて、ノイズに対する耐性を低下させる事情についてはなんら変わりがないと考えられる。
c) Configuration The configuration is not limited to software processing means. Even in the case of hardware processing means, it is considered that there is no change in the situation of reducing the resistance to noise as the sampling frequency of the input side excitation signal SC used for demodulation decreases.

「位置検出対象について」
回転機のロータに限らない。要は、位置情報に応じて励磁信号を振幅変調可能なものであるなら、本発明の適用は有効である。
About the position detection target
It is not limited to the rotor of a rotating machine. In short, the application of the present invention is effective if the excitation signal can be amplitude-modulated according to the position information.

10a…回転子(位置検出対象の一実施形態)、20…レゾルバ、40…マイコン、50…CPU。   DESCRIPTION OF SYMBOLS 10a ... Rotor (one embodiment of position detection object), 20 ... Resolver, 40 ... Microcomputer, 50 ... CPU.

Claims (15)

交流の励磁信号(Sc)が位置検出対象(10a)の位置情報に応じて振幅変調された被変調波(Sin,Cos)を入力とし、前記励磁信号の一周期の間に前記被変調波の複数のサンプリング値を用いて前記位置情報を復調する復調手段(40)を備え、
前記復調手段は、
前記入力された前記被変調波に基づき前記位置情報を復調するに際して、前記励磁信号を入力とし、前記位置情報から前記励磁信号の符号の影響を除去する除去処理を行なう検波手段を備えて且つ、
前記位置情報を、前記復調に用いる前記被変調波のサンプリング値よりも過去においてサンプリングされた前記励磁信号を用いて復調する
ことを特徴とする位置検出装置。
A modulated wave (Sin, Cos), in which an AC excitation signal (Sc) is amplitude-modulated in accordance with position information of the position detection target (10a), is input, and the modulated wave is transmitted during one cycle of the excitation signal. Demodulating means (40) for demodulating the position information using a plurality of sampling values;
The demodulating means includes
When demodulating the position information based on the inputted modulated wave, the excitation signal is input, and a detection means for performing a removal process for removing the influence of the sign of the excitation signal from the position information, and
The position information is demodulated using the excitation signal sampled in the past from the sampling value of the modulated wave used for the demodulation.
前記検波手段は、
前記励磁信号が正であるか負であるかに応じて2値化された2値化信号を算出する2値化信号算出手段(70)と、
前記2値化信号のエッジを基点として、前記励磁信号の周期情報に基づき定まる時間が経過したタイミングを前記励磁信号が変動中心となるタイミングとし、該タイミングを前記除去処理に用いる検波信号の反転タイミングとするエッジ設定手段(74)と、
を備えることを特徴とする請求項1記載の位置検出装置。
The detection means includes
Binarized signal calculation means (70) for calculating a binarized signal according to whether the excitation signal is positive or negative;
The timing at which the time determined based on the period information of the excitation signal has elapsed with the edge of the binarized signal as a base point is set as the timing at which the excitation signal becomes the fluctuation center, and this timing is the inversion timing of the detection signal used for the removal processing. Edge setting means (74),
The position detection device according to claim 1, further comprising:
前記2値化信号のいずれか一方の値の継続時間およびいずれか他方の値の継続時間の少なくとも一方を計時する計時手段を備え、
前記エッジ設定手段は、前記計時された時間を前記周期情報として用いることを特徴とする請求項2記載の位置検出装置。
A timing means for timing at least one of the duration of one of the binarized signals and the duration of the other value;
The position detection device according to claim 2, wherein the edge setting unit uses the measured time as the period information.
前記検波手段の入力となる現在の励磁信号を、過去の励磁信号によって補正する補正手段(50)を備えることを特徴とする請求項1記載の位置検出装置。   2. The position detecting device according to claim 1, further comprising correction means (50) for correcting a current excitation signal as an input of the detection means with a past excitation signal. 前記補正手段は、前記励磁信号の所定の位相における現在のサンプリング値を、該所定の位相における過去のサンプリング値によって補正するサンプリング値補正手段(S16)を備えることを特徴とする請求項4記載の位置検出装置。   The said correction | amendment means is provided with the sampling value correction | amendment means (S16) which correct | amends the present sampling value in the predetermined phase of the said excitation signal with the past sampling value in this predetermined phase. Position detection device. 前記サンプリング値補正手段は、前記現在のサンプリング値と、前記過去のサンプリング値との平均値を補正後のサンプリング値とする平均処理手段(S14)を備えることを特徴とする請求項5記載の位置検出装置。   6. The position according to claim 5, wherein the sampling value correction means includes an average processing means (S14) that uses an average value of the current sampling value and the past sampling value as a corrected sampling value. Detection device. 前記励磁信号に不定期の変動が生じたか否かを判断する判断手段(S30)と、
該判断手段によって前記不定期の変動が生じたと判断される場合、前記平均処理手段による平均値の採用を回避する回避手段(S32)を備えることを特徴とする請求項6記載の位置検出装置。
Determination means (S30) for determining whether or not irregular fluctuations have occurred in the excitation signal;
The position detecting device according to claim 6, further comprising an avoiding unit (S32) for avoiding adoption of an average value by the averaging processing unit when the determining unit determines that the irregular fluctuation has occurred.
前記回避手段は、前記判断手段によって前記不定期の変動が生じたと判断される場合、前記平均処理手段による過去のサンプリング値の寄与率を低下させた平均値を採用することで、前記変動があると判断されない場合において採用される平均値の採用を回避することを特徴とする請求項7記載の位置検出装置。   When it is determined by the determination means that the irregular fluctuation has occurred, the avoidance means employs an average value obtained by reducing a contribution rate of past sampling values by the average processing means, thereby causing the fluctuation. The position detection device according to claim 7, wherein the adoption of an average value employed when it is not determined to be avoided is avoided. 前記検波手段は、前記励磁信号が正であるか負であるかに応じて2値化された検波信号を算出する2値検波信号算出手段を備え、
前記所定の位相は、前記検波手段の入力となる励磁信号のサンプリング値のうち、前記励磁信号が小さいものに対応する位相を含むことを特徴とする請求項5〜8のいずれか1項に記載の位置検出装置。
The detection means includes binary detection signal calculation means for calculating a binarized detection signal according to whether the excitation signal is positive or negative,
The said predetermined phase contains the phase corresponding to the thing with a small said excitation signal among the sampling values of the excitation signal used as the input of the said detection means, The said any one of Claims 5-8 characterized by the above-mentioned. Position detector.
前記所定の位相は、前記励磁信号のN周期(N:自然数)の整数分の1の間隔の各位相であることを特徴とする請求項5〜9のいずれか1項に記載の位置検出装置。   10. The position detection device according to claim 5, wherein the predetermined phase is a phase having an interval of 1 / integer of an N period (N: natural number) of the excitation signal. . 前記補正手段は、
前記励磁信号のサンプリング結果に基づき、前記励磁信号の変動中心とゼロとの間の乖離量であるオフセット量を算出するオフセット量算出手段(S20)と、
該オフセット量算出手段によって算出されたオフセット量に基づき、前記検波手段の入力となる前記励磁信号を補正するオフセット補正手段(S16)と、
を備えることを特徴とする請求項4〜10のいずれか1項に記載の位置検出装置。
The correction means includes
An offset amount calculating means (S20) for calculating an offset amount which is a deviation amount between the fluctuation center of the excitation signal and zero based on a sampling result of the excitation signal;
Offset correcting means (S16) for correcting the excitation signal to be input to the detecting means based on the offset amount calculated by the offset amount calculating means;
The position detection device according to claim 4, comprising:
前記励磁信号の周期を計時する周期計時手段(S72)と、
該周期計時手段によって計時された周期に基づき、前記励磁信号のサンプリングの周期を変更する周期変更手段(S76)と、
を備えることを特徴とする請求項4〜11のいずれか1項に記載の位置検出装置。
Period measuring means (S72) for measuring the period of the excitation signal;
A period changing means (S76) for changing the sampling period of the excitation signal based on the period measured by the period measuring means;
The position detection device according to claim 4, comprising:
前記補正手段は、
前記励磁信号の変動中心とゼロとの間の乖離量であるオフセット量、前記励磁信号の振幅、前記励磁信号の角速度、および前記励磁信号の位相の少なくとも1つを推定対象とし、前記励磁信号の複数のサンプリング値に基づき、該推定対象の値を推定する推定手段(S46)を備え、
該推定手段による推定値に基づき、前記検波手段の入力となる前記励磁信号を補正することを特徴とする請求項4記載の位置検出装置。
The correction means includes
Estimating at least one of an offset amount, which is a deviation amount between the fluctuation center of the excitation signal and zero, an amplitude of the excitation signal, an angular velocity of the excitation signal, and a phase of the excitation signal, An estimation unit (S46) for estimating a value of the estimation target based on a plurality of sampling values;
5. The position detection apparatus according to claim 4, wherein the excitation signal that is an input to the detection means is corrected based on an estimated value by the estimation means.
前記励磁信号が正であるか負であるかに応じて2値化された2値化信号を生成する2値化信号算出手段を備え、
前記補正手段は、
前記2値化信号のいずれか一方の値の継続時間と前記励磁信号の半周期との差、および前記2値化信号のいずれか他方の値の継続時間と前記励磁信号の半周期との差の少なくとも一方に基づき、前記励磁信号の変動中心とゼロとの間の乖離量であるオフセット量を算出するオフセット量算出手段(78)と、
該オフセット量算出手段によって算出されたオフセット量に基づき、前記検波手段の入力となる前記励磁信号を補正するオフセット補正手段(78)と、
を備えることを特徴とする請求項4記載の位置検出装置。
A binarized signal calculating means for generating a binarized signal according to whether the excitation signal is positive or negative;
The correction means includes
The difference between the duration of one value of the binarized signal and the half cycle of the excitation signal, and the difference between the duration of the other value of the binarized signal and the half cycle of the excitation signal Offset amount calculating means (78) for calculating an offset amount which is a deviation amount between the fluctuation center of the excitation signal and zero based on at least one of the following:
An offset correction means (78) for correcting the excitation signal to be input to the detection means based on the offset amount calculated by the offset amount calculation means;
The position detection device according to claim 4, further comprising:
前記検波手段は、
前記励磁信号を入力とし、該励磁信号の周波数成分を透過させるフィルタ(80)を備え、
前記フィルタの出力値に基づき、前記除去処理を行なう
ことを特徴とする請求項1記載の位置検出装置。
The detection means includes
A filter (80) that receives the excitation signal and transmits the frequency component of the excitation signal;
The position detection apparatus according to claim 1, wherein the removal process is performed based on an output value of the filter.
JP2012092952A 2012-04-16 2012-04-16 Position detection device Active JP5821764B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012092952A JP5821764B2 (en) 2012-04-16 2012-04-16 Position detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012092952A JP5821764B2 (en) 2012-04-16 2012-04-16 Position detection device

Publications (2)

Publication Number Publication Date
JP2013221826A true JP2013221826A (en) 2013-10-28
JP5821764B2 JP5821764B2 (en) 2015-11-24

Family

ID=49592895

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012092952A Active JP5821764B2 (en) 2012-04-16 2012-04-16 Position detection device

Country Status (1)

Country Link
JP (1) JP5821764B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105391368A (en) * 2015-10-13 2016-03-09 沈阳东软医疗***有限公司 System for measuring position of treatment head diaphragm of linear accelerator
JP2017067517A (en) * 2015-09-29 2017-04-06 株式会社ミツトヨ Signal processing circuit for measurement apparatus
JP2018163000A (en) * 2017-03-24 2018-10-18 日立オートモティブシステムズ株式会社 Rotation angle detector

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007315856A (en) * 2006-05-24 2007-12-06 Toyota Motor Corp Compensation method in resolver angle detection, and angle detection device using the same
JP2011141207A (en) * 2010-01-07 2011-07-21 Kawasaki Heavy Ind Ltd Resolver signal conversion device and method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007315856A (en) * 2006-05-24 2007-12-06 Toyota Motor Corp Compensation method in resolver angle detection, and angle detection device using the same
JP2011141207A (en) * 2010-01-07 2011-07-21 Kawasaki Heavy Ind Ltd Resolver signal conversion device and method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017067517A (en) * 2015-09-29 2017-04-06 株式会社ミツトヨ Signal processing circuit for measurement apparatus
CN105391368A (en) * 2015-10-13 2016-03-09 沈阳东软医疗***有限公司 System for measuring position of treatment head diaphragm of linear accelerator
CN105391368B (en) * 2015-10-13 2018-03-20 沈阳东软医疗***有限公司 A kind of system for measuring linear accelerator treatment head stop position
JP2018163000A (en) * 2017-03-24 2018-10-18 日立オートモティブシステムズ株式会社 Rotation angle detector

Also Published As

Publication number Publication date
JP5821764B2 (en) 2015-11-24

Similar Documents

Publication Publication Date Title
JP5802588B2 (en) Angle detection device and motor drive control device
JP5895442B2 (en) Abnormality judgment device for angle detection device
JP5173962B2 (en) Resolver / digital conversion apparatus and resolver / digital conversion method
CN107179095B (en) The angle correction method of rotary encoder and rotary encoder
US10367521B2 (en) Signal processor and control apparatus
JP5733250B2 (en) Position detection device
JP5821764B2 (en) Position detection device
US20170317682A1 (en) Control apparatus
JP5733251B2 (en) Position detection device
JP5281126B2 (en) Angle detection method by resolver
JP2010145149A (en) Electromagnetic induction type position detection device and method
KR101834526B1 (en) Apparatus for compensating output signal of magnetic encoder
JP2013224865A (en) Signal processing device
JP5895680B2 (en) Signal processing device
CN109238117B (en) Signal processing circuit and device for non-contact position sensor
JP2010164450A (en) Resolver digital converter
Banerjee et al. A novel FPGA-based LVDT signal conditioner
US20120209562A1 (en) Assembly and method for determining an angular position
JPH08101045A (en) Position detector
JP5573758B2 (en) Position detection device
JP2007024556A (en) Rotation sensor
JP4989919B2 (en) Inductive position detector
JP5251997B2 (en) Motor control device
JPH0215889B2 (en)
RU2193794C2 (en) Parameter-to-code converter

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140623

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150324

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150407

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150513

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150921

R151 Written notification of patent or utility model registration

Ref document number: 5821764

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250