JP2000039337A - Abnormality detection device detecting abnormality of rotation angle detection device - Google Patents

Abnormality detection device detecting abnormality of rotation angle detection device

Info

Publication number
JP2000039337A
JP2000039337A JP20563898A JP20563898A JP2000039337A JP 2000039337 A JP2000039337 A JP 2000039337A JP 20563898 A JP20563898 A JP 20563898A JP 20563898 A JP20563898 A JP 20563898A JP 2000039337 A JP2000039337 A JP 2000039337A
Authority
JP
Japan
Prior art keywords
resolver
signal
reference signal
detection device
abnormality
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
JP20563898A
Other languages
Japanese (ja)
Other versions
JP3402207B2 (en
Inventor
Tadaichi Matsumoto
只一 松本
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.)
Toyota Motor Corp
Original Assignee
Toyota Motor 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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP20563898A priority Critical patent/JP3402207B2/en
Publication of JP2000039337A publication Critical patent/JP2000039337A/en
Application granted granted Critical
Publication of JP3402207B2 publication Critical patent/JP3402207B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Transmission And Conversion Of Sensor Element Output (AREA)

Abstract

PROBLEM TO BE SOLVED: To accurately detect abnormality of a rotation angle detection device of rotating machine based on the modulation signal obtained by detecting resolver output. SOLUTION: The zero points of a reference signal supplied from an oscillator 10 to the primary coil 16 of resolvers 12 and 14 are obtained by a comparator 30. A CPU 34 obtains the period TREF of the reference signal from the interval of the zero points and calculates the TREF/4 point from the zero point as a peak point of the reference signal. At the positions with the same distance at the front and back of the peak P+1 after rising of the zero point signal of the output of the comparator 30, the output S1 and C1 of the resolver 12 are sampled, and at the front and back of the peak P-1 after falling, the output S2 and C2 of the resolver 14 are sampled. By this, 4 resolver signals are sampled in the vicinity of the peak of the reference signal in a channel of A/D converter circuit 40 and so modulated signals sinθ and cosθ with small error are obtained.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、レゾルバからの出
力信号に含まれる、回転機の回転角に応じた変調成分で
ある変調信号に基づいて回転角検出装置の異常を検出す
る装置に関し、特に変調信号の高精度の検出と、それに
よる異常検出精度の向上に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a device for detecting an abnormality of a rotation angle detecting device based on a modulation signal contained in an output signal from a resolver, which is a modulation component corresponding to a rotation angle of a rotating machine. The present invention relates to high-precision detection of a modulation signal and improvement in abnormality detection accuracy.

【0002】[0002]

【従来の技術】回転機のロータの回転角を検出するレゾ
ルバが知られている。レゾルバで検出された回転角は、
当該回転機の電流の制御などに用いられる。レゾルバの
1次巻線に参照信号として正弦波sinωtの信号を入力
すると、90°の位相差をもって配置された二つの2次
巻線には、それぞれロータ回転角θに応じて変調された
出力信号sinωtsinθ,sinωtcosθが得られる。例え
ば、R/Dコンバータ(レゾルバ/デジタルコンバー
タ)は、電圧制御発振器により制御される基準回転角φ
に応じた信号sinφ,cosφとロータ回転角θを含んだレ
ゾルバ出力信号とから、sin(θ−φ)を算出し、その
位相差(θ−φ)をゼロとするようにφに相当するカウ
ント値を増減するPLL(Phase Locked Loop)制御を
行う。そして、PLL制御が収束している状態、すなわ
ち(θ−φ)=0の状態でのφを、ロータ回転角θの値
として検出、出力する。
2. Description of the Related Art A resolver for detecting a rotation angle of a rotor of a rotating machine is known. The rotation angle detected by the resolver is
It is used for controlling the current of the rotating machine. When a signal of a sine wave sinωt is input to the primary winding of the resolver as a reference signal, output signals modulated according to the rotor rotation angle θ are respectively applied to two secondary windings arranged with a phase difference of 90 °. sinωtsinθ and sinωtcosθ are obtained. For example, an R / D converter (resolver / digital converter) has a reference rotation angle φ controlled by a voltage controlled oscillator.
Is calculated from the signals sinφ, cosφ according to the above and the resolver output signal including the rotor rotation angle θ, and the count corresponding to φ is set so that the phase difference (θ−φ) becomes zero. A PLL (Phase Locked Loop) control for increasing or decreasing the value is performed. Then, φ in a state where the PLL control is converged, that is, in a state of (θ−φ) = 0, is detected and output as a value of the rotor rotation angle θ.

【0003】上述のR/Dコンバータにより回転角θを
検出する回転角検出装置における異常を検出するため
に、レゾルバの出力信号を別途処理する異常検出装置が
設けられる。
In order to detect an abnormality in the rotation angle detection device for detecting the rotation angle θ by the R / D converter, an abnormality detection device for separately processing the output signal of the resolver is provided.

【0004】この異常検出装置では、レゾルバの出力信
号に含まれるθの情報を取り出すために、参照信号成分
を除去し、参照信号を振幅変調している変調信号sin
θ,cosθを取り出す検波が行われる。これら2つの変
調信号の間には、正常時において基本的にsin2θ+cos2
θ=1なる関係が成立する。従来は、検波により取り出
したsinθ,cosθの二乗和を計算し、当該二乗和が所定
の閾値を下回るような変動が生じることにより、レゾル
バ出力信号のハーネスが断線しているといった異常を検
知していた。
In this abnormality detecting device, in order to extract information on θ contained in the output signal of the resolver, a reference signal component is removed and a modulated signal sin which amplitude-modulates the reference signal is obtained.
Detection for extracting θ and cos θ is performed. Basically, between these two modulated signals, sin 2 θ + cos 2
The relationship of θ = 1 holds. Conventionally, the sum of squares of sin θ and cos θ extracted by detection is calculated, and a fluctuation such that the sum of squares falls below a predetermined threshold occurs, thereby detecting an abnormality such as a break in the harness of the resolver output signal. Was.

【0005】また、二乗和一定の関係を近似的に利用す
る方法として次の方法があった。その方法では二乗和の
代わりに、各変調信号を全波整流してそれぞれの絶対値
を求め、それらを加算した後、ローパスフィルタリング
した信号を用いる。この絶対値を加算した信号(|sin
θ|+|cosθ|)を平滑化したものが、所定の閾値を
下回ることにより、上述のような異常が検出される。
Further, there is the following method as a method of approximately utilizing the constant sum of squares relation. In this method, instead of the sum of squares, each modulated signal is subjected to full-wave rectification to obtain an absolute value of each, added together, and then a low-pass filtered signal is used. The signal obtained by adding this absolute value (| sin
θ | + | cos θ |) falls below a predetermined threshold, whereby the above-described abnormality is detected.

【0006】ここで、変調信号sinθ,cosθは、参照信
号のピークの位置に対応する出力信号の値を順次、サン
プリングすることにより取り出される。
Here, the modulation signals sin θ and cos θ are extracted by sequentially sampling the values of the output signal corresponding to the peak position of the reference signal.

【0007】従来は、参照信号のピーク位置での出力信
号の値をサンプリングするために、絶対値が参照信号の
振幅より幾分小さいレベルに閾値を設定し、参照信号が
その閾値を超えた点(負側のピークを捉える場合には、
閾値は負に設定され、参照信号が当該閾値を下回った
点)を近似的にピーク位置としていた。そして、そのタ
イミングでA/Dコンバータ(アナログ−デジタルコン
バータ)のサンプリング動作を開始させ、出力信号をサ
ンプリングしてデジタル値に変換し、これをピーク位置
における値としていた。
Conventionally, in order to sample the value of the output signal at the peak position of the reference signal, a threshold value is set at a level whose absolute value is somewhat smaller than the amplitude of the reference signal, and the point at which the reference signal exceeds the threshold value is set. (When catching the negative peak,
The threshold value is set to a negative value, and the point where the reference signal falls below the threshold value) is approximately set as the peak position. Then, at that timing, the sampling operation of the A / D converter (analog-digital converter) is started, the output signal is sampled and converted into a digital value, and this is used as the value at the peak position.

【0008】[0008]

【発明が解決しようとする課題】閾値はなるべく、参照
信号のピークの値に近い方が、高い精度でピーク位置を
定めることができる。しかし、参照信号の振幅は較差の
範囲内で変動しうる。つまり、閾値を充分にピークの値
に近づけることができないため、従来の方法で求めたピ
ーク位置は誤差を含んでおり、それが変調信号の正確
さ、ひいては異常検出の精度・信頼性を劣化させるおそ
れがあるという問題があった。
The closer the threshold value is to the peak value of the reference signal, the more accurately the peak position can be determined. However, the amplitude of the reference signal can fluctuate within the range. That is, since the threshold value cannot be sufficiently close to the peak value, the peak position obtained by the conventional method includes an error, which degrades the accuracy of the modulation signal and, consequently, the accuracy and reliability of abnormality detection. There was a problem that there was a possibility.

【0009】本発明は、参照信号のピーク位置をより正
確に検出することによって、回転機の回転角検出装置に
おける異常の検出精度を向上することができる異常検出
装置を提供することを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide an abnormality detecting device capable of improving the accuracy of detecting an abnormality in a rotation angle detecting device of a rotating machine by detecting a peak position of a reference signal more accurately. .

【0010】[0010]

【課題を解決するための手段】本発明に係る異常検出装
置は、参照信号の零点を検出する零点検出手段と、前記
零点の間隔に基づいて前記ピーク位置を定め、前記サン
プリングのタイミングを決定するタイミング決定手段と
を有することを特徴とする。
According to the present invention, there is provided an abnormality detecting apparatus for detecting a zero point of a reference signal, determining the peak position based on an interval between the zero points, and determining the sampling timing. And timing determining means.

【0011】参照信号は、中立点(零点)を中心として
電圧値が対称に変動し、その零点は参照信号の半周期毎
(位相180°毎)に現れる。そして参照信号のピーク
は、隣接する零点同士の間隔内の所定位置に現れる。そ
の所定位置は、参照信号の信号波形によるが、一般に用
いられる正弦波形では、零点の間隔の中点である。本発
明によれば、零点検出手段が、参照信号の零点を検出
し、タイミング決定手段は、参照信号波形に応じて零点
の間隔を配分して、参照信号の零点と参照信号のピーク
位置との時間間隔を求める。サンプリング手段は、この
ようにして定められた時間間隔だけ零点から遅延したタ
イミングにおける参照信号の電圧値をサンプリングする
ことにより、参照信号のピークを精度よくサンプリング
することができる。
The voltage of the reference signal fluctuates symmetrically around a neutral point (zero point), and the zero point appears every half cycle of the reference signal (every 180 degrees in phase). The peak of the reference signal appears at a predetermined position within the interval between adjacent zeros. The predetermined position depends on the signal waveform of the reference signal, but is a middle point between zero points in a generally used sine waveform. According to the present invention, the zero point detecting means detects a zero point of the reference signal, and the timing determining means allocates an interval between the zero points according to the reference signal waveform, and determines a difference between the zero point of the reference signal and the peak position of the reference signal. Find the time interval. The sampling means can accurately sample the peak of the reference signal by sampling the voltage value of the reference signal at a timing delayed from the zero point by the time interval determined in this way.

【0012】本発明に係る異常検出装置においては、前
記タイミング決定手段は前記零点の間隔を定期的に計
測、更新することを特徴とする。本発明によれば、零点
の間隔が計測し直され更新されるので、参照信号の発生
回路が不安定性を有していても、ピーク位置を精度よく
定めることができる。
In the abnormality detecting device according to the present invention, the timing determining means periodically measures and updates the interval between the zero points. According to the present invention, the interval between the zero points is re-measured and updated, so that the peak position can be accurately determined even if the reference signal generation circuit has instability.

【0013】他の本発明に係る異常検出装置は、前記タ
イミング決定手段が、前記レゾルバから同時出力される
2種類の前記出力信号それぞれに対する前記サンプリン
グのタイミングを、前記ピーク位置を中心として前後対
称の位置である一対のタイミングに応じて定めることを
特徴とする。
In another abnormality detecting apparatus according to the present invention, the timing determining means may adjust the sampling timing for each of the two types of output signals simultaneously output from the resolver in a longitudinally symmetric manner with respect to the peak position. It is characterized in that it is determined according to a pair of timings that are positions.

【0014】レゾルバが2種類の出力信号、例えば正弦
信号sinθと余弦信号cosθそれぞれにより変調された出
力信号を出力する場合には、それらの出力信号は基本的
には同時にサンプリングすることが望ましい。しかし、
サンプリング手段等の信号処理系が一つしかない場合な
ど、同時サンプリングを行えない場合がある。本発明に
よれば、このような場合、2種類の出力信号は参照信号
のピーク位置近傍で時分割にて処理される。しかも、一
方の出力信号の電圧値のサンプリングをピーク位置より
所定時間だけ前で行い、他方の出力信号の電圧値のサン
プリングをピーク位置より同程度の時間だけ後で行う。
このように2種類の出力信号を、ピークの前か後のいず
れか一方側でサンプリングするのではなく、ピークを挟
んだタイミングで、しかもピークの両側に均等に離れた
タイミングでサンプリングすることにより、双方の出力
信号が共にピーク位置に近いタイミングでサンプリング
され、またサンプリング値のピーク位置における電圧値
からの誤差が均等化され、かつ抑制される。
When the resolver outputs two types of output signals, for example, an output signal modulated by a sine signal sinθ and an output signal modulated by a cosine signal cosθ, it is desirable that the output signals be sampled basically simultaneously. But,
In some cases, such as when there is only one signal processing system such as sampling means, simultaneous sampling cannot be performed. According to the present invention, in such a case, the two types of output signals are processed in a time division manner near the peak position of the reference signal. In addition, the sampling of the voltage value of one output signal is performed a predetermined time before the peak position, and the sampling of the voltage value of the other output signal is performed approximately the same time after the peak position.
By sampling the two types of output signals at the timing sandwiching the peak and equally spaced apart on both sides of the peak, instead of sampling the output signal on either side before or after the peak, Both output signals are sampled at a timing close to the peak position, and the error of the sampling value from the voltage value at the peak position is equalized and suppressed.

【0015】本発明に係る異常検出装置は、前記タイミ
ング決定手段が、前記参照信号の1周期中の正逆2つの
ピークにそれぞれ別個のレゾルバを対応させて、2つの
前記レゾルバそれぞれに対する前記サンプリングのタイ
ミングを定めることを特徴とする。
In the abnormality detection apparatus according to the present invention, the timing determination means may associate two different peaks in the one cycle of the reference signal with different resolvers, and perform the sampling of the two resolvers. It is characterized in that timing is determined.

【0016】参照信号の1周期にはピークは零点より電
圧値が大きくなるピークと反対に小さくなるピークとい
う正逆2つのピークが現れる。また一つの参照信号を共
通に用いるレゾルバが2つある場合に、それら互いの出
力信号のサンプリングは別個のタイミングで行うことが
できる。本発明によれば、零点の間隔から求めた正側の
ピーク位置に対応して、一のレゾルバの出力信号のサン
プリングが行われ、逆側のピーク位置に対応して、他の
レゾルバの出力信号のサンプリングが行われる。それぞ
れのピーク位置に対応してサンプリングされる出力信号
は、1種類であっても2種類であってもよい。異なるピ
ーク位置でのサンプリングを行うことにより、2つのレ
ゾルバに対する処理を一つの信号処理系で行うことがで
きる。
In one cycle of the reference signal, two peaks, normal and reverse, appear: a peak whose voltage value is larger than the zero point and a peak whose voltage value is smaller than the zero point. Further, when there are two resolvers that commonly use one reference signal, the sampling of their output signals can be performed at different timings. According to the present invention, the sampling of the output signal of one resolver is performed corresponding to the peak position on the positive side obtained from the interval of the zero point, and the output signal of the other resolver is sampled corresponding to the peak position on the opposite side. Is sampled. The output signal sampled corresponding to each peak position may be one type or two types. By performing sampling at different peak positions, processing for two resolvers can be performed by one signal processing system.

【0017】本発明に係る異常検出装置においては、前
記零点検出手段は、前記参照信号の1周期中の第1の零
点にて立ち上がり、前記第1の零点と位相が180°ず
れた第2の零点にて立ち下がる矩形波を発生し、前記タ
イミング決定手段は、前記矩形波の立ち上がりと立ち下
がりを判別し、その判別結果に基づいて前記サンプリン
グ対象となる前記レゾルバを選択することを特徴とす
る。
In the abnormality detecting device according to the present invention, the zero point detecting means rises at a first zero point in one cycle of the reference signal and has a second phase shifted by 180 ° from the first zero point. A rectangular wave falling at a zero point is generated, and the timing determining means determines rising and falling of the rectangular wave, and selects the resolver to be sampled based on the determination result. .

【0018】本発明によれば、タイミング決定手段は、
第1の零点と第2の零点の識別、つまり正逆の2つのピ
ークの識別を、零点検出手段が出力する矩形波のエッジ
の向きを観察するだけで行うことができる。すなわち、
タイミング決定手段自体は、第1、第2の零点を識別す
るために特別な処理を行わなくてよく、第1、第2の零
点に対して行われる処理の共通化を図ることができる。
According to the present invention, the timing determining means comprises:
The identification of the first zero point and the second zero point, that is, the identification of the two peaks of normal and reverse, can be performed only by observing the direction of the edge of the rectangular wave output by the zero point detecting means. That is,
The timing determination means itself does not need to perform special processing to identify the first and second zeros, and can share the processing performed on the first and second zeros.

【0019】また、本発明に係る異常検出装置は、前記
零点の間隔を監視し、当該間隔の変動に基づいて参照信
号発生回路の異常を判定する異常判定手段を有すること
を特徴とする。
Further, the abnormality detecting device according to the present invention is characterized in that it has an abnormality determining means for monitoring the interval between the zero points and judging an abnormality in the reference signal generating circuit based on a change in the interval.

【0020】参照信号発生回路は正常状態ではある範囲
内に周波数が保たれた参照信号を出力する。その周波数
の逆数は参照信号の周期であり、それは零点の間隔(正
確には零点の間隔は参照信号の1/2周期に相当する)
に対応する。本発明によれば、零点の間隔が正常時の周
波数に対応する値より許容限度以上ずれたときには、参
照信号発生回路の異常が判定される。
The reference signal generating circuit outputs a reference signal whose frequency is kept within a certain range in a normal state. The reciprocal of that frequency is the period of the reference signal, which is the interval between zeros (accurately, the interval between zeros corresponds to a half period of the reference signal).
Corresponding to According to the present invention, when the interval between the zeros deviates from the value corresponding to the normal frequency by an allowable limit or more, it is determined that the reference signal generation circuit is abnormal.

【0021】[0021]

【発明の実施の形態】以下、本発明の実施の形態(以下
実施形態という)を、図面に従って説明する。図1に
は、本実施形態に係る回転機の回転角検出装置の概略構
成が示されている。ここでは、本発明に係る異常検出装
置はこの回転角検出装置内に異常検出回路として構成さ
れている。発振器10は参照信号sinωtを出力し、こ
れがレゾルバ12,14それぞれの1次コイル16に印
加される。レゾルバ12,14それぞれの互いに90°
の位相差をもって配置された二つの2次コイル18,2
0には、電動機などの回転機の回転角θにより参照信号
が変調された電圧sinωtsinθ,sinωtcosθが発生
し、これらがレゾルバからの出力信号(レゾルバ信号)
として出力される。なお、レゾルバ信号の処理におい
て、位相のみが問題となるので、前記参照信号およびレ
ゾルバ信号は、振幅を1として説明する。
Embodiments of the present invention (hereinafter referred to as embodiments) will be described below with reference to the drawings. FIG. 1 shows a schematic configuration of a rotation angle detection device for a rotating machine according to the present embodiment. Here, the abnormality detection device according to the present invention is configured as an abnormality detection circuit in the rotation angle detection device. The oscillator 10 outputs a reference signal sinωt, which is applied to the primary coil 16 of each of the resolvers 12 and 14. 90 ° between resolvers 12 and 14
Secondary coils 18, 2 arranged with a phase difference of
0, voltages sinωt sinθ and sinωtcosθ in which the reference signal is modulated by the rotation angle θ of a rotating machine such as an electric motor are generated, and these are output signals (resolver signals) from the resolver.
Is output as In the processing of the resolver signal, only the phase poses a problem. Therefore, the reference signal and the resolver signal will be described with an amplitude of 1.

【0022】レゾルバ12からの各レゾルバ信号は、異
常検出回路22に送られる。また、レゾルバ14からの
各レゾルバ信号は、異常検出回路22及びR/Dコンバ
ータ24に送られる。
Each resolver signal from the resolver 12 is sent to an abnormality detection circuit 22. Each resolver signal from the resolver 14 is sent to the abnormality detection circuit 22 and the R / D converter 24.

【0023】R/Dコンバータ24内では、従来技術に
て述べた処理が行われる。すなわち、レゾルバ信号sin
ωtsinθ,sinωtcosθにそれぞれcosφ,sinφが乗
算され、それらを減算してsinωtsin(θ−φ)が生成
される。これを参照信号sinωtに基づいて検波して変
調成分sin(θ−φ)が取り出される。R/Dコンバー
タ24は、位相(θ−φ)が0となるようにデジタルカ
ウント値φを増減するフィードバック制御を行い、それ
が完了するとカウント値φを回転角θを表すデジタル値
として、例えばモータ制御装置等へ出力する。
In the R / D converter 24, the processing described in the prior art is performed. That is, the resolver signal sin
ωt sin θ and sin ωt cos θ are multiplied by cos φ and sin φ, respectively, and subtracted to generate sin ωt sin (θ−φ). This is detected based on the reference signal sinωt, and a modulation component sin (θ−φ) is extracted. The R / D converter 24 performs feedback control to increase or decrease the digital count value φ so that the phase (θ−φ) becomes 0. When the feedback control is completed, the count value φ is set as a digital value representing the rotation angle θ, for example, Output to control device.

【0024】一方、異常検出回路22は、零点検出手段
であるコンパレータ30、レゾルバ信号をサンプリング
する手段であるA/D変換部32及びタイミング決定等
の各種演算処理を行うCPU(Central Processing Uni
t)34を含んで構成される。
On the other hand, the abnormality detecting circuit 22 includes a comparator 30 serving as a zero point detecting means, an A / D converter 32 serving as a means for sampling a resolver signal, and a CPU (Central Processing Uniform) for performing various arithmetic processing such as timing determination.
t) 34.

【0025】A/D変換部32は、1チャンネルのA/
D変換回路40と、それへの入力を切り替えるスイッチ
回路42とで構成される。スイッチ回路42の4つの入
力端子ch1〜ch4には、レゾルバ12,14のそれ
ぞれ2種類のレゾルバ信号が各々供給される。具体的に
は、ch1,ch2にはそれぞれレゾルバ12のレゾル
バ信号sinωtsinθ,sinωtcosθ(これらをそれぞれ
S1,C1とする)が、そしてch3,ch4にはそれ
ぞれレゾルバ14のレゾルバ信号sinωtsinθ,sinω
tcosθ(これらをそれぞれS2,C2とする)が入力
される。スイッチ回路42はこれらのいずれかをA/D
変換回路40に接続する。つまり、A/D変換部32
は、4つのレゾルバ信号を時分割で処理する。
The A / D converter 32 has a function of A / D conversion for one channel.
It comprises a D conversion circuit 40 and a switch circuit 42 for switching an input to the D conversion circuit. Two types of resolver signals of the resolvers 12 and 14 are supplied to four input terminals ch1 to ch4 of the switch circuit 42, respectively. Specifically, the resolver signals sinωtsinθ and sinωtcosθ of the resolver 12 (these signals are S1 and C1) for ch1 and ch2, respectively, and the resolver signals sinωtsinθ and sinω of the resolver 14 for ch3 and ch4, respectively.
tcos θ (these are S2 and C2, respectively) are input. The switch circuit 42 selects one of these A / D
Connect to the conversion circuit 40. That is, the A / D converter 32
Processes the four resolver signals in a time-division manner.

【0026】コンパレータ30の2つの入力端子の一方
には、発振器10が出力する参照信号が入力され、他端
は接地される。コンパレータ30は、0Vを中心として
正負に対称に変動する参照信号と基準電位である接地電
位(0V)とを比較し、比較結果に応じてH(High)レ
ベル、L(Low)レベルの電位のいずれかとる矩形波を
出力する。例えば、その矩形波は、参照信号が負から正
へ変化する零点においてLレベルからHレベルへ立ち上
がり、参照信号が正の期間中、Hレベルを維持し、参照
信号が正から負へ変化する零点においてHレベルからL
レベルへ立ち下がり、参照信号が負の期間中、Lレベル
を維持するというものであり、ここでは当該矩形波を零
点信号と称する。
The reference signal output from the oscillator 10 is input to one of two input terminals of the comparator 30, and the other end is grounded. The comparator 30 compares a reference signal that fluctuates positively and negatively about 0 V with a ground potential (0 V), which is a reference potential, and outputs a H (High) level and L (Low) level potential according to the comparison result. Output any rectangular wave. For example, the rectangular wave rises from the L level to the H level at a zero point where the reference signal changes from negative to positive, maintains the H level during the positive period of the reference signal, and the zero point at which the reference signal changes from positive to negative. From H level to L
Level, and the reference signal is maintained at the L level during the negative period, and the rectangular wave is referred to as a zero point signal.

【0027】零点信号はCPU34へ入力される。CP
U34は、零点信号に基づいてA/D変換部32を制御
し、またA/D変換部32からのA/D変換値に基づい
て、レゾルバ信号から変調信号を検波し、その変調信号
をさらに演算処理し回転角検出装置の異常を検出する監
視処理を行う。
The zero point signal is input to the CPU 34. CP
U34 controls the A / D converter 32 based on the zero point signal, detects a modulated signal from the resolver signal based on the A / D converted value from the A / D converter 32, and further converts the modulated signal. A monitoring process is performed to calculate and detect an abnormality of the rotation angle detecting device.

【0028】本装置の大きな特徴は、変調信号の検波方
法にある。図2は、異常検出回路22における検波処理
の原理を説明する説明図であり、各信号の波形を表して
いる。図2(a)は、参照信号sinωtを表しており、
当該信号は基本的に一定の周期、振幅を有している。同
図(b)は、コンパレータ30の出力である零点信号で
あり、同図(a)の参照信号が正の期間においてHレベ
ル、負の期間においてLレベルとなる矩形波であり、そ
の立ち上がり、立ち下がりのタイミングが参照信号の零
点のタイミングに対応している。CPU34は、零点信
号の立ち上がりエッジ、立ち下がりエッジを検出し、零
点の間隔をクロックによりカウントし計時することがで
きる。これによりCPU34は零点の間隔から、参照信
号の周期TREFを取得することができる。ちなみに、零
点信号の立ち上がりから立ち下がりまでの時間がTREF
/2であり、零点信号の立ち上がりから次の立ち上がり
までの時間がTREFである。例えばTREFは100〜20
0μS程度である。
A major feature of this apparatus lies in a method of detecting a modulated signal. FIG. 2 is an explanatory diagram for explaining the principle of the detection processing in the abnormality detection circuit 22, and shows the waveform of each signal. FIG. 2A shows the reference signal sinωt,
The signal basically has a constant period and amplitude. FIG. 4B shows a zero-point signal output from the comparator 30. The reference signal shown in FIG. 4A is a rectangular wave having an H level during a positive period and an L level during a negative period. The falling timing corresponds to the zero point timing of the reference signal. The CPU 34 can detect the rising edge and the falling edge of the zero signal, count the interval between the zero points by a clock, and measure the time. Thereby, the CPU 34 can obtain the period T REF of the reference signal from the interval between the zero points. By the way, the time from the rise of the zero point signal to the fall is T REF
/ 2, and the time from the rise of the zero point signal to the next rise is T REF . For example, T REF is 100 to 20
It is about 0 μS.

【0029】原理的には、或る零点とそれに隣接する零
点との間隔(TREF/2)の中点が参照信号のピーク位
置となる。本発明ではこのことを利用し、CPU34
は、各零点からTREF/4だけ経過したタイミングを参
照信号のピーク位置とし、これに基づいてレゾルバ信号
のサンプリングを行う。検波は、参照信号のピーク位置
(すなわちsinωt=±1)におけるレゾルバ信号の電
圧値を各周期毎にサンプリングすることにより行われ
る。例えば、図2(c)に示すレゾルバ信号sinωtsin
θを1周期毎の零点(すなわち1つおきの零点)からT
REF/4だけ経過したタイミングでサンプリングすれ
ば、各サンプリング時刻におけるsinθ(又は(−sin
θ))が得られる。つまり、サンプリングにより得られ
たデータ列は、sinθ(又は(−sinθ))の時間変化を
表す信号である。このようにして、レゾルバ信号sinω
tsinθから変調信号sinθが検波、抽出される。図示し
ないが、同様にしてレゾルバ信号sinωtcosθから変調
信号cosθを検波することができる。
In principle, the midpoint of the interval (T REF / 2) between a certain zero and its adjacent zero is the peak position of the reference signal. The present invention takes advantage of this fact, and
Sets the timing at which T REF / 4 has elapsed from each zero point as the peak position of the reference signal, and performs sampling of the resolver signal based on the peak position. The detection is performed by sampling the voltage value of the resolver signal at the peak position of the reference signal (that is, sinωt = ± 1) in each cycle. For example, the resolver signal sinωtsin shown in FIG.
θ is calculated from the zero point of each cycle (ie, every other zero point) by T
If sampling is performed at a timing after REF / 4, sin θ (or (−sin
θ)) is obtained. That is, the data sequence obtained by sampling is a signal representing a time change of sin θ (or (−sin θ)). Thus, the resolver signal sinω
A modulated signal sinθ is detected and extracted from tsinθ. Although not shown, the modulation signal cosθ can be detected from the resolver signal sinωtcosθ in the same manner.

【0030】ここで、参照信号の1周期には、sinωt
=1となるピークP+1とsinωt=−1となるピークP
-1とがあり、図2(c)は、例えばレゾルバ12の2次
コイル18からのレゾルバ信号sinωtsinθをピークP
+1においてサンプリングする場合を示している。また、
同図(c)には、レゾルバの回転子の回転角度θが時間
に比例して増加する例が示されている。
Here, one cycle of the reference signal includes sinωt
= 1 and becomes a peak P +1 and sin .omega.t = -1 to become peaks P
There is a -1, FIG. 2 (c), for example, the peak resolver signal sinωtsinθ from the secondary coil 18 of the resolver 12 P
The case of sampling at +1 is shown. Also,
FIG. 4C shows an example in which the rotation angle θ of the rotor of the resolver increases in proportion to time.

【0031】従来技術で述べたように、異常検出におい
ては、二乗和(sin2θ+cos2θ)や(|sinθ|+|cos
θ|)を平滑化した値が用いられため、変調信号sinθ
だけでなく、もう一つの2次コイル20からのレゾルバ
信号sinωtcosθからその変調信号cosθを抽出する必
要がある。ここでA/D変換部32が2チャンネルのA
/D変換回路を有している場合には、それぞれのA/D
変換回路によりピークP+1でのsinθ,cosθを同時にサ
ンプリングすることができる。
As described in the prior art, in abnormality detection, the sum of squares (sin 2 θ + cos 2 θ) and (| sin θ | + | cos
θ |) is used, the modulated signal sin θ
In addition, it is necessary to extract the modulation signal cosθ from the resolver signal sinωtcosθ from another secondary coil 20. Here, the A / D conversion unit 32 is a 2-channel A
/ D conversion circuit, each A / D converter
The conversion circuit can simultaneously sample sin θ and cos θ at the peak P + 1 .

【0032】また、A/D変換部32が4チャンネルの
A/D変換回路を有している場合には、2つのレゾルバ
12,14それぞれのsinθ,cosθをピークP+1にて同
時にサンプリングすることができる。しかし、レゾルバ
12に関するレゾルバ信号S1,C1のサンプリングと
レゾルバ14に関するレゾルバ信号S2,C2のサンプ
リングとは、必ずしも同時に行う必要はない。つまり、
上述したように、参照信号の1周期には、2つのピーク
+1,P-1があるので、それぞれのピークにレゾルバ1
2に関するサンプリングとレゾルバ14のサンプリング
とを割り振ることができる。例えば、S1,C1の同時
サンプリングをP+1にて行い、S2,C2の同時サンプ
リングをP-1にて行うようにすることができる。このよ
うな構成によれば、2チャンネルのA/D変換回路だけ
で、2つのレゾルバ12,14に対するサンプリング処
理を行い、各レゾルバに関わる系の異常を検出すること
ができる。
When the A / D converter 32 has a four-channel A / D converter, the sin θ and cos θ of the two resolvers 12 and 14 are simultaneously sampled at the peak P + 1 . be able to. However, the sampling of the resolver signals S1 and C1 for the resolver 12 and the sampling of the resolver signals S2 and C2 for the resolver 14 need not always be performed simultaneously. That is,
As described above, since one peak of the reference signal has two peaks P +1 and P -1 , the resolver 1
2 and the sampling of the resolver 14 can be allocated. For example, simultaneous sampling of S1 and C1 may be performed at P + 1, and simultaneous sampling of S2 and C2 may be performed at P- 1 . According to such a configuration, the sampling process for the two resolvers 12 and 14 can be performed only by the two-channel A / D conversion circuit, and the abnormality of the system related to each resolver can be detected.

【0033】さて、図1に示す実施形態に係る異常検出
回路22は、既に述べたように1チャンネルのA/D変
換回路40で、4つのレゾルバ信号を時分割でサンプリ
ングするように構成されている。これにより、異常検出
回路22を構成するコンパレータ30、A/D変換部3
2、CPU34を各チャネル共通とすることができ、構
成が簡単となる。図3は、1チャンネルのA/D変換回
路40を用いた異常検出回路22における検波処理を説
明する説明図である。図3(a)(b)はそれぞれ、図
2(a)(b)と同じく参照信号sinωt、零点信号を
表す図であり、そのほぼ1周期が示されている。
The abnormality detection circuit 22 according to the embodiment shown in FIG. 1 is configured to sample the four resolver signals in a time-division manner with the one-channel A / D conversion circuit 40 as described above. I have. As a result, the comparator 30 and the A / D converter 3 that constitute the abnormality detection circuit 22
2. The CPU 34 can be common to each channel, and the configuration is simplified. FIG. 3 is an explanatory diagram illustrating a detection process in the abnormality detection circuit 22 using the one-channel A / D conversion circuit 40. FIGS. 3 (a) and 3 (b) are diagrams showing the reference signal sinωt and the zero point signal, respectively, as in FIGS. 2 (a) and 2 (b), and almost one cycle is shown.

【0034】CPU34は、零点信号の立ち上がりエッ
ジ、立ち下がりエッジを検出すると、ディレイタイマで
所定の遅延時間Tdを計時する。具体的には、このディ
レイタイマは、例えばカウンタに遅延時間に相当するカ
ウント値をセットし、それをデクリメントし、値が零と
なったタイミングで、所定の動作を起動させるように構
成される。図3(c)にディレイタイマを構成するカウ
ンタのカウント値の変化の様子が示されている。本装置
では、参照信号の零点からTd経過したタイミングで、
CPU34がA/D変換部32に対しチャネル選択信号
及びA/D起動信号を出力し、A/D変換部32はチャ
ネル選択信号に基づいてスイッチ回路42を制御し、1
つのレゾルバ信号(例えばS1又はS2)がA/D変換
回路40に供給され、A/D起動信号により当該レゾル
バ信号に対するサンプリング処理(所要時間TAD)が開
始される。それが終了するとA/D変換部32は変換結
果であるデジタル値をCPU34へ出力する。CPU3
4はその変換結果を得ると、チャネル選択信号を出力し
てスイッチ回路42を切り替えさせ、それに応じて引き
続き同一のレゾルバからのもう1つのレゾルバ信号(例
えばC1又はC2)に対するサンプリング処理(所要時
間TAD)が開始される(図3(c)参照)。
When the CPU 34 detects the rising edge and the falling edge of the zero point signal, it counts a predetermined delay time Td with a delay timer. Specifically, the delay timer is configured to set a count value corresponding to a delay time in a counter, decrement the count value, and activate a predetermined operation at a timing when the value becomes zero. FIG. 3C shows how the count value of the counter constituting the delay timer changes. In this device, at the timing when Td has elapsed from the zero point of the reference signal,
The CPU 34 outputs a channel selection signal and an A / D activation signal to the A / D conversion unit 32. The A / D conversion unit 32 controls the switch circuit 42 based on the channel selection signal.
The two resolver signals (for example, S1 or S2) are supplied to the A / D conversion circuit 40, and the sampling process (required time T AD ) for the resolver signal is started by the A / D start signal. When the conversion is completed, the A / D converter 32 outputs a digital value as a conversion result to the CPU 34. CPU3
4 obtains the conversion result, outputs a channel selection signal to switch the switch circuit 42, and subsequently performs a sampling process (required time T) for another resolver signal (for example, C1 or C2) from the same resolver. AD ) is started (see FIG. 3C).

【0035】図3(d)〜(g)は、2つのレゾルバ1
2,14からの合計4つのレゾルバ信号S1,C1,S
2,C2の波形とその電圧のサンプリングのタイミング
とを示す図である。遅延時間Tdは以下の条件に基づい
て決定される。なお、以下、レゾルバ信号S1,C1に
対する電圧のサンプリングタイミングをそれぞれtS1
C1、レゾルバ信号S2,C2に対する電圧のサンプリ
ングタイミングをそれぞれtS2,tC2とする。
FIGS. 3D to 3G show two resolvers 1.
4 resolver signals S1, C1, S
FIG. 2 is a diagram showing waveforms of C2 and C2 and sampling timing of the voltage. The delay time Td is determined based on the following conditions. Hereinafter, the sampling timings of the voltages for the resolver signals S1 and C1 are represented by t S1 and t S1 , respectively.
The sampling timings of the voltages for t C1 and the resolver signals S2 and C2 are set to t S2 and t C2 , respectively.

【0036】(1)tS1,tC1が零点信号の立ち上がり
からTREF/4後に位置するピークP+1の前後に振り分
けられること、同様にtS2,tC2が零点信号の立ち下が
りからTREF/4後に位置するピークP-1の前後に振り
分けられること、(2)tS1,tC1とピークP+1の位置
との時間的距離が互いにできるだけ等しくなること、同
様にtS2,tC2とピークP-1の位置との時間的距離が互
いにできるだけ等しくなること。
(1) t S1 and t C1 are distributed before and after the peak P +1 located T REF / 4 after the rise of the zero point signal. Similarly, t S2 and t C2 are divided by T from the fall of the zero point signal. it is distributed before and after the peak P -1 located after REF / 4, (2) t S1, the temporal distance between the position of t C1 and the peak P +1 that is as equal as possible to each other, similarly t S2, t The temporal distance between C2 and the position of the peak P- 1 should be as equal to each other as possible.

【0037】A/D変換回路40はサンプリング処理期
間TAD内においては、その初期の比較的短い期間におい
て例えば信号をコンデンサに受けることにより、当該初
期期間に含まれる信号の電圧平均値が取得され、TAD
比較的長い残り期間でその電圧平均値をA/D変換する
処理が行われる。例えば、サンプリングが行われる時刻
S1,tC1,tS2,tC2を大まかにそれぞれ各サンプリ
ング処理期間の開始と同時とみなせば、本装置では、レ
ゾルバ信号S1,S2(同図(d),(f))に対する
サンプリング処理期間がピーク位置よりTAD/2だけ先
行するタイミングで開始され、レゾルバ信号C1,C2
(同図(e),(g))に対するサンプリング処理期間
がピーク位置よりTAD/2だけ遅れたタイミングで開始
されるように、Td=(TREF/4)−(TAD/2)と定
められる。これにより、零点信号の立ち上がりのタイミ
ングを時刻tの原点に設定すると、 tS1=(TREF/4)−(TAD/2) tC1=(TREF/4)+(TAD/2) tS2=(3TREF/4)−(TAD/2) tC2=(3TREF/4)+(TAD/2) となる。
The A / D converter circuit 40 in the sampling period T AD, by receiving, for example, signals in a relatively short period of the initial capacitor voltage average value of the signal included in the initial period is obtained , TAD are subjected to A / D conversion in the relatively long remaining period. For example, if the times t S1 , t C1 , t S2 , and t C2 at which sampling is performed are roughly considered to be simultaneously with the start of each sampling processing period, the present apparatus will use the resolver signals S1, S2 ((d) in FIG. The sampling processing period for (f)) is started at a timing preceding by T AD / 2 from the peak position, and the resolver signals C1, C2
T d = (T REF / 4)-(T AD / 2) so that the sampling processing period for (e) and (g) in FIG. 14 is started at a timing delayed by T AD / 2 from the peak position. It is determined. Thus, when the rising timing of the zero point signal is set to the origin of time t, t S1 = (T REF / 4)-(T AD / 2) t C1 = (T REF / 4) + (T AD / 2) t S2 = (3T REF / 4)-(T AD / 2) t C2 = (3T REF / 4) + (T AD / 2)

【0038】本装置では、例えばtS1,tC1はピークP
+1の位置t=(TREF/4)の前後(±TAD/2)とな
り、サンプリングタイミングがピーク位置からずれるこ
とによる変調信号sinθ、cosθそれぞれの誤差は均等化
される。具体的には、sinθ,cosθの上記誤差をそれぞ
れ記号δS,δCで表すと、 δS= sinθ{sin(π/2−ωTAD/2)−1} ≒ −sinθ・(ωTAD/2)2/2 δC= sinθ{sin(π/2+ωTAD/2)−1} ≒ −sinθ・(ωTAD/2)2/2 となり、δS=δCである。
In the present apparatus, for example, t S1 and t C1 are peaks P
The position of +1 is before and after t = (T REF / 4) (± T AD / 2), and the errors of the modulation signals sin θ and cos θ due to the shift of the sampling timing from the peak position are equalized. Specifically, sin [theta, respectively symbols the error of cos [theta] [delta] S, expressed in δ C, δ S = sinθ { sin (π / 2-ωT AD / 2) -1} ≒ -sinθ · (ωT AD / 2) 2/2 δ C = sinθ {sin (π / 2 + ωT AD / 2) -1} ≒ -sinθ · (ωT AD / 2) 2/2 becomes a δ S = δ C.

【0039】もし、例えばレゾルバ信号のサンプリング
タイミングについて上に述べた本装置のような配慮を行
わない場合には誤差の均等化が図られず、θの誤差が大
きくなる。本装置の効果が得られない場合の例として、
S1をピーク位置t=(TRE F/4)にてサンプリング
し、そのS1についてのA/D変換処理が終了したt=
(TREF/4)+TADにてC1をサンプリングすること
とした場合を説明する。
If, for example, no consideration is given to the sampling timing of the resolver signal as in the above-described apparatus, the error cannot be equalized, and the error of θ becomes large. As an example where the effect of this device cannot be obtained,
S1 is the peak position t = (T RE F / 4 ) samples at, A / D conversion processing for that S1 is completed t =
A case where C1 is sampled by (T REF / 4) + T AD will be described.

【0040】この場合のsinθ,cosθの誤差δ'S,δ'C
は、 δ'S= 0 δ'C= sinθ{sin(π/2+ωTAD)−1} ≒ −sinθ・(ωTAD2/2=4δC となる。つまり、誤差はsinθに関してはδSだけ減少す
るが、cosθに関してはその3倍分増加する。それに応
じて、(sin2θ+cos2θ)や(|sinθ|+|cosθ|)
といった異常判定に用いられる評価式の値の誤差も大き
くなり、異常判定精度が劣化する。
In this case, the errors δ ′ S , δ ′ C of sin θ and cos θ
Is a δ 'S = 0 δ' C = sinθ {sin (π / 2 + ωT AD) -1} ≒ -sinθ · (ωT AD) 2/2 = 4δ C. That is, the error is decreased by [delta] S with respect to sin [theta, with respect to cosθ increased three times min. Accordingly, (sin 2 θ + cos 2 θ) or (| sin θ | + | cos θ |)
The error of the value of the evaluation formula used for the abnormality determination also increases, and the abnormality determination accuracy deteriorates.

【0041】また、異常判定処理においては、変調信号
sinθ,cosθからθを求め、その値と、R/Dコンバー
タで求めたθの値とを比較して、それらが所定精度で一
致しない場合には、例えばR/Dコンバータの異常可能
性を指摘するといった処理も可能である。この場合、θ
は例えばsinθ,cosθの値からtanθを算出し、そのtan
θの値に対応するθを求めることにより決定される。こ
のようにθを求める場合において、ピークの前後等距離
にてサンプリングを行わない場合には、まず、sinθの
誤差とcosθの誤差とがバランスしないことによりtanθ
の誤差が大きくなり、θの誤差も大きくなる。また、si
nθ,cosθの誤差がピーク位置近傍においては、ピーク
位置からの距離の二乗に比例して増大するということ
も、サンプリングタイミングにおいて本装置のような配
慮が行われない場合に、θの誤差が顕著となる原因とな
る。
In the abnormality determination processing, the modulation signal
θ is determined from sin θ and cos θ, and the value is compared with the value of θ determined by the R / D converter. If they do not match with a predetermined accuracy, for example, the possibility of abnormality of the R / D converter is pointed out. It is also possible to perform such processing. In this case, θ
Calculates tan θ from the values of sin θ and cos θ,
It is determined by finding θ corresponding to the value of θ. When sampling is not performed at the same distance before and after the peak when obtaining θ in this manner, first, since the error of sin θ and the error of cos θ are not balanced, tan θ
And the error of θ also increases. Also si
The fact that the error of nθ and cos θ increases in proportion to the square of the distance from the peak position in the vicinity of the peak position also indicates that the error of θ is remarkable when the sampling timing is not considered as in the present apparatus. Cause

【0042】ちなみに、例えば、参照信号の周波数を7
kHz程度であり、その場合TREFは約144μSとな
る。一方、TADは、現状の高速のA/D変換回路40で
あっても数μS、例えば2〜3μSを要し、これは、上
記誤差の評価において無視し難い大きさである。
For example, when the frequency of the reference signal is 7
kHz, in which case T REF is about 144 μS. On the other hand, T AD, the number even in high-speed A / D converter circuit current 40 [mu] S, for example, requires 2~3Myuesu, which is sized to hardly ignored in the evaluation of the error.

【0043】一方、本装置は、サンプリングを上記
(1)(2)の条件の下に行うことにより、sinθ,cos
θの誤差のバランス及び抑制が図られ、異常判定に用い
る評価式やθの誤差を抑制することができ、異常判定を
精度よく行うことができる。
On the other hand, the present apparatus performs the sampling under the conditions (1) and (2) to obtain sin θ, cos
The error of θ can be balanced and suppressed, the evaluation formula used for abnormality determination and the error of θ can be suppressed, and the abnormality determination can be performed with high accuracy.

【0044】図4は、信号電圧のサンプリングタイミン
グとサンプリング処理期間との一層詳細な関係の一例を
示した模式図である。図には、S1に対するサンプリン
グ処理期間TS1(=TAD)とそれに続くC1に対するサ
ンプリング処理期間TC1(=TAD)とが示されている。
A/D変換回路40によるサンプリング処理期間T
ADは、信号に応じてコンデンサが充電されるサンプリン
グ期間TSMPと、充電されたコンデンサの電圧をデジタ
ル値に変換する期間TCNVとに分けることができる。例
えば、TSMP=TAD/3の場合、サンプリング期間TSMP
経過後にコンデンサに保持される電圧値は当該期間T
SMPにおける平均電圧であり、これはおよそ当該期間T
SMPの中点における電圧である。よってS1,C1に対
する実質的なサンプリング時刻tS1,tC1は、TS1の先
頭を基準として、それぞれtS1=TAD/6,tC1=7T
AD/6となる。CPU34は、参照信号の零点に基づき
ピーク位置を定め、そのピークP+1の位置が時刻tS1
C1の中点となるように(すなわち、tS1がP+1から前
にTAD/2の距離に位置するように)、零点信号の立ち
上がりタイミングからサンプリング処理期間TS1の先頭
までの遅延時間Tdを設定する。ここで示す例では、T
S1の先頭はtS1よりさらに前にTAD/6の距離に位置す
るので、 Td=(TREF/4)−(TAD/2)−(TAD/6) =(TREF/4)−(2TAD/3) となる。
FIG. 4 is a schematic diagram showing an example of a more detailed relationship between the sampling timing of the signal voltage and the sampling processing period. The drawing shows a sampling processing period T S1 (= T AD ) for S1 and a subsequent sampling processing period T C1 (= T AD ) for C1 .
Sampling processing period T by A / D conversion circuit 40
AD can be divided into a sampling period T SMP in which a capacitor is charged according to a signal and a period T CNV in which the voltage of the charged capacitor is converted into a digital value. For example, when T SMP = T AD / 3, the sampling period T SMP
After the elapse, the voltage value held in the capacitor is equal to the period T
The average voltage in SMP , which is approximately T
This is the voltage at the midpoint of SMP . Therefore, the actual sampling times t S1 and t C1 for S1 and C1 are respectively t S1 = T AD / 6 and t C1 = 7T with reference to the top of T S1 .
AD / 6. The CPU 34 determines a peak position based on the zero point of the reference signal, and determines the position of the peak P + 1 as the time t S1 ,
The delay from the rising edge of the zero signal to the beginning of the sampling period T S1 so that it is at the midpoint of t C1 (ie, t S1 is located a distance of T AD / 2 before P +1 ). Set the time Td . In the example shown here, T
Since the beginning of S1 is located at a distance of TAD / 6 before tS1, Td = ( TREF / 4)-( TAD / 2)-( TAD / 6) = ( TREF / 4). ) − (2T AD / 3).

【0045】このようにして、CPU34がコンパレー
タ30からの零点信号の立ち上がりを検出すると、ディ
レイタイマを構成するカウンタにP+1までの時間に応じ
た遅延量Tdが設定され、デクリメントの結果、カウン
ト値が0となった時点でレゾルバ12の2つのレゾルバ
信号S1,C1に対する検波処理が行われる。そして、
CPU34は、コンパレータ30からの零点信号の立ち
下がりを検出すると、ディレイタイマを構成するカウン
タにP-1までの時間に応じた遅延量として、P+1までの
時間に応じた遅延量と同じTdが再び設定され、そのデ
クリメントの結果、カウント値が0となった時点でレゾ
ルバ14の2つのレゾルバ信号S2,C2に対する検波
処理が行われる。このように、CPU34が零点信号の
立ち上がり、立ち下がりをそれぞれ検出し、それぞれに
応じてレゾルバ12,14に対する検波処理の起動を判
別するように構成すると、ディレイタイマの使い方に係
るCPU34での処理が共通化され構成が簡単となる。
As described above, when the CPU 34 detects the rise of the zero point signal from the comparator 30, the delay amount Td according to the time until P + 1 is set in the counter constituting the delay timer, and as a result of the decrement, When the count value becomes 0, detection processing of the two resolver signals S1 and C1 of the resolver 12 is performed. And
When detecting the falling of the zero point signal from the comparator 30, the CPU 34 sets the counter constituting the delay timer as a delay amount corresponding to the time to P −1 , the same as the delay amount corresponding to the time to P + 1. d is set again, and as a result of the decrement, when the count value becomes 0, detection processing of the two resolver signals S2 and C2 of the resolver 14 is performed. As described above, when the CPU 34 is configured to detect the rise and fall of the zero point signal and determine the activation of the detection processing for the resolvers 12 and 14 in accordance with each, the processing in the CPU 34 relating to the use of the delay timer is performed. It becomes common and the configuration becomes simple.

【0046】もちろん、このようなメリットを除けば、
零点信号の立ち上がりにおいて、ディレイタイマを構成
するカウンタにP-1までの時間に応じた遅延量(上述の
例におけるTdにTREF/2を加算した量)を設定し、レ
ゾルバ12に対する検波処理の起動とレゾルバ14に対
する検波処理の起動とを、連続した1回のカウントで制
御するように構成することもできる。この場合、例え
ば、P+1の時刻に応じたデータ値(TREF/2に相当す
るカウント値)を設定したコンペアレジスタが用いられ
る。そしてカウンタがデクリメントを開始し、カウント
値がTdに相当する値だけ減少し当該コンペアレジスタ
の値に到達した時点でレゾルバ12に対する検波処理を
起動し、さらにカウンタがデクリメントを継続しカウン
ト値が0となった時点でレゾルバ14に対する検波処理
を起動するように、CPU34の処理が構成される。こ
のような構成は処理構成が上述の例よりもやや複雑とな
るが、参照信号の零点の間隔に基づいてピーク位置を定
め変調信号を検波するという本発明の実施形態の一つで
あり、よって上述の例同様、参照信号の振幅が変動して
も変調信号を精度よく検出し、異常検出を高精度に実行
することができる。
Of course, excluding these advantages,
At the rise of the zero point signal, a delay amount (the amount obtained by adding T REF / 2 to T d in the above example) corresponding to the time until P −1 is set in the counter constituting the delay timer, and the detection processing for the resolver 12 is performed. And the detection processing for the resolver 14 may be controlled by one continuous count. In this case, for example, a compare register in which a data value (a count value corresponding to T REF / 2) corresponding to the time of P + 1 is used. Then, the counter starts decrementing, and when the count value decreases by a value corresponding to Td and reaches the value of the compare register, the detection process for the resolver 12 is started, and the counter continues to decrement and the count value becomes 0. The processing of the CPU 34 is configured to start the detection processing for the resolver 14 at the point in time. Such a configuration is one of the embodiments of the present invention in which the processing configuration is slightly more complicated than the above-described example, but the peak position is determined based on the interval between the zeros of the reference signal and the modulation signal is detected. As in the above example, even if the amplitude of the reference signal fluctuates, the modulation signal can be detected with high accuracy, and abnormality detection can be performed with high accuracy.

【0047】さらに、本装置は、参照信号を発生する発
振器の発振周波数が変動しても高精度、高信頼度に変調
信号を検出し異常検出を良好に行うことが可能であると
いう特徴を有している。発振器10に、構成が簡単なC
R回路を用いる場合には発振周波数が変動しやすいた
め、本装置のこの特徴は非常に有効である。これを実現
するためにCPU34は、参照信号の零点の間隔を常時
又は定期的に計測して、発振器10の周波数変動を監視
している。そして、その計測結果の零点間隔が、発振器
10に許される周波数較差に応じた範囲内であるとき
は、当該零点間隔に基づいて、例えば上述のレゾルバ信
号の検波処理に用いる参照信号周期TREFを更新する。
これにより高精度のθ計測が可能となる。一方、計測さ
れた零点間隔が、較差以上に変動した場合は、CPU3
4は発振器10の異常を判定し、例えば警告する。さら
にシステム、制御を停止させるといった処置をとる。こ
れにより信頼度の高い異常検出処理が実現される。
Further, the present apparatus has a feature that even if the oscillation frequency of the oscillator for generating the reference signal fluctuates, the modulation signal can be detected with high accuracy and high reliability, and the abnormality can be detected satisfactorily. are doing. The oscillator 10 has a simple C
When the R circuit is used, the oscillation frequency tends to fluctuate, so this feature of the present device is very effective. To realize this, the CPU 34 constantly or periodically measures the interval between the zero points of the reference signal, and monitors the frequency fluctuation of the oscillator 10. Then, when the zero interval of the measurement result is within a range corresponding to the frequency difference allowed for the oscillator 10, for example, the reference signal period T REF used for the above-described resolver signal detection processing is determined based on the zero interval. Update.
This enables highly accurate θ measurement. On the other hand, if the measured zero point interval fluctuates more than the difference, the CPU 3
4 determines an abnormality of the oscillator 10 and gives a warning, for example. Further, measures such as stopping the system and control are taken. This realizes highly reliable abnormality detection processing.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明の実施形態である回転機の回転角検出
装置の概略構成を示す模式図である。
FIG. 1 is a schematic diagram illustrating a schematic configuration of a rotation angle detection device for a rotating machine according to an embodiment of the present invention.

【図2】 異常検出回路における検波処理の原理を説明
する説明図である。
FIG. 2 is an explanatory diagram illustrating the principle of detection processing in the abnormality detection circuit.

【図3】 1チャンネルのA/D変換回路を用いて4つ
のレゾルバ信号を時分割処理する異常検出回路における
検波処理を説明する説明図である。
FIG. 3 is an explanatory diagram illustrating detection processing in an abnormality detection circuit that performs time-division processing on four resolver signals using a one-channel A / D conversion circuit.

【図4】 信号電圧のサンプリングタイミングとサンプ
リング処理期間との詳細な関係の一例を示した模式図で
ある。
FIG. 4 is a schematic diagram showing an example of a detailed relationship between a sampling timing of a signal voltage and a sampling processing period.

【符号の説明】[Explanation of symbols]

10 発振器、12,14 レゾルバ、16 1次コイ
ル、18,20 2次コイル、22 異常検出回路、2
4 R/Dコンバータ、30 コンパレータ、32 A
/D変換部、34 CPU、40 A/D変換回路、4
2 スイッチ回路。
Reference Signs List 10 oscillator, 12, 14 resolver, 16 primary coil, 18, 20 secondary coil, 22 abnormality detection circuit, 2
4 R / D converter, 30 comparators, 32 A
/ D conversion unit, 34 CPU, 40 A / D conversion circuit, 4
2 Switch circuit.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 回転機の回転角に応じて参照信号が振幅
変調された信号を出力するレゾルバを含む回転角検出装
置の異常を検出する装置であって、前記出力信号を前記
参照信号のピーク位置に応じたタイミングでサンプリン
グして、前記振幅変調の変調信号を検波し、当該変調信
号に基づいて前記異常を検出する異常検出装置におい
て、 前記参照信号の零点を検出する零点検出手段と、 前記零点の間隔に基づいて前記ピーク位置を定め、前記
サンプリングのタイミングを決定するタイミング決定手
段と、 を有することを特徴とする異常検出装置。
1. A device for detecting an abnormality of a rotation angle detecting device including a resolver that outputs a signal whose reference signal is amplitude-modulated in accordance with the rotation angle of a rotating machine, wherein the output signal is a peak of the reference signal. Sampling at a timing according to a position, detecting a modulation signal of the amplitude modulation, and detecting an abnormality based on the modulation signal; an abnormality detection device, wherein: a zero point detection unit that detects a zero point of the reference signal; An abnormality detection device, comprising: timing determination means for determining the peak position based on the interval between zero points and determining the timing of the sampling.
【請求項2】 請求項1記載の異常検出装置において、 前記タイミング決定手段は、前記零点の間隔を定期的に
計測、更新すること、 を特徴とする異常検出装置。
2. The abnormality detection device according to claim 1, wherein the timing determination unit periodically measures and updates the interval between the zero points.
【請求項3】 請求項1記載の異常検出装置において、 前記タイミング決定手段は、前記レゾルバから同時出力
される2種類の前記出力信号それぞれに対する前記サン
プリングのタイミングを、前記ピーク位置を中心として
前後対称の位置である一対のタイミングに応じて定める
こと、 を特徴とする異常検出装置。
3. The abnormality detection device according to claim 1, wherein the timing determination means symmetrically sets the sampling timing for each of the two types of output signals simultaneously output from the resolver with respect to the peak position. The abnormality detection device is determined in accordance with a pair of timings, which are positions of the abnormality detection device.
【請求項4】 請求項1から請求項3のいずれかに記載
の異常検出装置において、 前記タイミング決定手段は、前記参照信号の1周期中の
正逆2つのピークにそれぞれ別個のレゾルバを対応させ
て、2つの前記レゾルバそれぞれに対する前記サンプリ
ングのタイミングを定めること、 を特徴とする異常検出装置。
4. The abnormality detection device according to claim 1, wherein the timing determination unit associates two resolver peaks in one cycle of the reference signal with different resolvers. And determining the sampling timing for each of the two resolvers.
【請求項5】 請求項4記載の異常検出装置において、 前記零点検出手段は、前記参照信号の1周期中の第1の
零点にて立ち上がり、前記第1の零点と位相が180°
ずれた第2の零点にて立ち下がる矩形波を発生し、 前記タイミング決定手段は、 前記矩形波の立ち上がりと立ち下がりを判別し、その判
別結果に基づいて前記サンプリング対象となる前記レゾ
ルバを選択すること、 を特徴とする異常検出装置。
5. The abnormality detection device according to claim 4, wherein the zero point detection means rises at a first zero point in one cycle of the reference signal, and has a phase of 180 ° with the first zero point.
A rectangular wave falling at the shifted second zero point is generated, and the timing determining means determines rising and falling of the rectangular wave, and selects the resolver to be sampled based on the determination result. An abnormality detection device characterized by the above-mentioned.
【請求項6】 請求項1から請求項5のいずれかに記載
の異常検出装置において、 前記零点の間隔を監視し、当該間隔の変動に基づいて参
照信号発生回路の異常を判定する異常判定手段を有する
ことを特徴とする異常検出装置。
6. The abnormality detection device according to claim 1, wherein an interval between the zero points is monitored, and an abnormality of the reference signal generation circuit is determined based on a change in the interval. An abnormality detection device comprising:
JP20563898A 1998-07-21 1998-07-21 Abnormality detector that detects abnormality of the rotation angle detector Expired - Lifetime JP3402207B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20563898A JP3402207B2 (en) 1998-07-21 1998-07-21 Abnormality detector that detects abnormality of the rotation angle detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20563898A JP3402207B2 (en) 1998-07-21 1998-07-21 Abnormality detector that detects abnormality of the rotation angle detector

Publications (2)

Publication Number Publication Date
JP2000039337A true JP2000039337A (en) 2000-02-08
JP3402207B2 JP3402207B2 (en) 2003-05-06

Family

ID=16510216

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20563898A Expired - Lifetime JP3402207B2 (en) 1998-07-21 1998-07-21 Abnormality detector that detects abnormality of the rotation angle detector

Country Status (1)

Country Link
JP (1) JP3402207B2 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007057412A (en) * 2005-08-25 2007-03-08 Matsushita Electric Ind Co Ltd Resolver disconnection detecting circuit
JP2007206018A (en) * 2006-02-06 2007-08-16 Hitachi Ltd Rotation angle detector, abnormality detector therefor, and motor-driven power steering unit
JP2007315856A (en) * 2006-05-24 2007-12-06 Toyota Motor Corp Compensation method in resolver angle detection, and angle detection device using the same
JP2008116350A (en) * 2006-11-06 2008-05-22 Denso Corp Rotational angle detector and rotational angle detecting method
JP2011223826A (en) * 2010-04-14 2011-11-04 Mitsubishi Electric Corp Rotation position detection device for brushless motor
JP2012132895A (en) * 2010-12-01 2012-07-12 Denso Corp Abnormality determination apparatus for angle detecting device
JP2013127409A (en) * 2011-12-19 2013-06-27 Yokogawa Electric Corp Waveform measuring instrument
CN105122010A (en) * 2013-03-29 2015-12-02 日立汽车系统株式会社 Diagnostic device
JP2021018136A (en) * 2019-07-19 2021-02-15 ファナック株式会社 Rotation detector for detecting rotation information of rotor and motor drive device
CN114578125A (en) * 2022-03-08 2022-06-03 广汽埃安新能源汽车有限公司 System and method for detecting rotary transformer zero crossing point and vehicle

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007057412A (en) * 2005-08-25 2007-03-08 Matsushita Electric Ind Co Ltd Resolver disconnection detecting circuit
JP4645363B2 (en) * 2005-08-25 2011-03-09 パナソニック株式会社 Resolver disconnection detection circuit
JP2007206018A (en) * 2006-02-06 2007-08-16 Hitachi Ltd Rotation angle detector, abnormality detector therefor, and motor-driven power steering unit
JP4676348B2 (en) * 2006-02-06 2011-04-27 日立オートモティブシステムズ株式会社 Rotation angle detection device, abnormality detection device, and electric power steering device
JP2007315856A (en) * 2006-05-24 2007-12-06 Toyota Motor Corp Compensation method in resolver angle detection, and angle detection device using the same
JP2008116350A (en) * 2006-11-06 2008-05-22 Denso Corp Rotational angle detector and rotational angle detecting method
JP2011223826A (en) * 2010-04-14 2011-11-04 Mitsubishi Electric Corp Rotation position detection device for brushless motor
US8541964B2 (en) 2010-04-14 2013-09-24 Mitsubishi Electric Corporation Brushless motor rotation-position detection system
JP2012132895A (en) * 2010-12-01 2012-07-12 Denso Corp Abnormality determination apparatus for angle detecting device
JP2013127409A (en) * 2011-12-19 2013-06-27 Yokogawa Electric Corp Waveform measuring instrument
CN105122010A (en) * 2013-03-29 2015-12-02 日立汽车系统株式会社 Diagnostic device
JP2021018136A (en) * 2019-07-19 2021-02-15 ファナック株式会社 Rotation detector for detecting rotation information of rotor and motor drive device
CN114578125A (en) * 2022-03-08 2022-06-03 广汽埃安新能源汽车有限公司 System and method for detecting rotary transformer zero crossing point and vehicle

Also Published As

Publication number Publication date
JP3402207B2 (en) 2003-05-06

Similar Documents

Publication Publication Date Title
EP0978947B1 (en) Resolver signal processing system
US5514978A (en) Stator turn fault detector for AC motor
KR100936290B1 (en) Apparatus and method for detecting rotation angle of rotating body
US7541951B2 (en) Tracking loop type digital angle converter and angle/digital converting apparatus
US20160276969A1 (en) Electric motor driver with current sensor error correction
KR102019384B1 (en) Resolver management device, resolver system having the same, and operating method thereof
JP3460587B2 (en) Abnormality detector that detects abnormality of the rotation angle detector
US20100066347A1 (en) Position sensor
JP2000039337A (en) Abnormality detection device detecting abnormality of rotation angle detection device
JP2011033602A (en) Resolver/digital converter, and resolver/digital conversion method
US10837808B2 (en) Device and method for testing the plausibility of signals of a rotary encoder
US20060207347A1 (en) Arrangement for measuring the torque of rotating machine parts
US9016123B2 (en) Angle detection method with resolver
US8924179B2 (en) Assembly and method for determining an angular position
JP2005024493A (en) Abnormality detector for resolver
US11566919B2 (en) Resolver excitation using threshold band of voltages
US10101396B2 (en) Detection of current sensor malfunction
JP2000039335A (en) Rotation angle measuring device of rotor
JPS59153184A (en) Magnetic field sensor
KR20150108133A (en) Digital logic signal generating circuit for frequency measurement
US5353019A (en) Process for monitoring the output signals from a transmitting device
SU1246014A1 (en) Device for indicating deviation of voltage (current) from given value
JPH0419512A (en) Rotational angle detector
SU1035543A1 (en) Method and device for three-component magnetometer remote checking
SU1394440A1 (en) Phase-frequency characteristics controller for communication channels

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080229

Year of fee payment: 5

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 6

Free format text: PAYMENT UNTIL: 20090228

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 7

Free format text: PAYMENT UNTIL: 20100228

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110228

Year of fee payment: 8

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 8

Free format text: PAYMENT UNTIL: 20110228

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120229

Year of fee payment: 9

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 9

Free format text: PAYMENT UNTIL: 20120229

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130228

Year of fee payment: 10