JP2005024493A - Abnormality detector for resolver - Google Patents

Abnormality detector for resolver Download PDF

Info

Publication number
JP2005024493A
JP2005024493A JP2003270371A JP2003270371A JP2005024493A JP 2005024493 A JP2005024493 A JP 2005024493A JP 2003270371 A JP2003270371 A JP 2003270371A JP 2003270371 A JP2003270371 A JP 2003270371A JP 2005024493 A JP2005024493 A JP 2005024493A
Authority
JP
Japan
Prior art keywords
wave signal
abnormality
duty ratio
resolver
rectangular wave
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2003270371A
Other languages
Japanese (ja)
Inventor
Tetsuo Abe
哲郎 阿部
Tetsuya Kinoshita
哲也 木下
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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP2003270371A priority Critical patent/JP2005024493A/en
Publication of JP2005024493A publication Critical patent/JP2005024493A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Transmission And Conversion Of Sensor Element Output (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an abnormality detector for a resolver capable of detecting abnormality of the resolver, by simple circuit constitution. <P>SOLUTION: An excitation signal f(t) comprising a prescribed frequency is impressed from an excitation signal output circuit 9 to the resolver 1, two output signals (t)sinθ, (t)cosθ amplitude-modulated in response to an axial angle θ (electric angle) of the resolver 1 are output, and a sinθ and a cosθ are found by synchronization-detecting the two signals with the excitation signal f(t). The sinθ and the cosθ are input respectively in a comparator 15, and levels of the sinθ and the cosθ are determined with respect to a prescribed threshold value 16, so as to be converted respectively into a sinθ side rectangular wave signal and a cosθ side rectangular wave signal. The rectangular wave signals are input into a CPU 12, duty ratios and periods of the rectangular wave signals are measured by the CPU 12, and the abnormality is determined based thereon. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、レゾルバからの出力信号に基づいて異常を検出するレゾルバの異常検出装置に関する。   The present invention relates to a resolver abnormality detection device that detects an abnormality based on an output signal from a resolver.

下記特許文献1においては、レゾルバの出力信号を検波して得られる正弦波信号波形または余弦波信号波形の前半周期の積分値と後半周期の積分値の差を検出し、波形の上下対称性が崩れたことを検知し、レゾルバの異常検出を行っていた。   In the following Patent Document 1, the difference between the integrated value of the first half period and the integrated value of the second half period of the sine wave signal waveform or cosine wave signal waveform obtained by detecting the output signal of the resolver is detected, and the vertical symmetry of the waveform is determined. It was detected that the collapse occurred, and the resolver abnormality was detected.

特開2000−39336号公報JP 2000-39336 A

この従来例におけるレゾルバの異常検出では、レゾルバの出力信号を検波して得られる正弦波信号波形または余弦波信号波形を忠実に把握するために、高速の信号処理回路が必要である上に、積分演算処理が複雑となるため、回路の複雑化、大規模化が避けられないという問題があった。   In this conventional resolver abnormality detection, a high-speed signal processing circuit is required to accurately grasp the sine wave signal waveform or cosine wave signal waveform obtained by detecting the output signal of the resolver, as well as integration. Since the arithmetic processing is complicated, there is a problem that the circuit becomes complicated and large in size.

本発明は上述の課題を解決するためになされたもので、簡単な回路構成でレゾルバの異常検出が可能な、レゾルバの異常検出装置を提供することを目的としている。   The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a resolver abnormality detection device capable of detecting resolver abnormality with a simple circuit configuration.

この目的を達成するために、本発明においては、レゾルバの出力信号を検波して得られる正弦波信号または、余弦波信号のうちの少なくとも一方と、所定の閾値とを比較して矩形波信号を出力する比較器と、比較器から出力される矩形波信号のデューティ比もしくは矩形波信号の周期に基づいて、レゾルバの異常を判定する異常判定手段とを有する構成とした。   In order to achieve this object, in the present invention, a rectangular wave signal is obtained by comparing at least one of a sine wave signal or a cosine wave signal obtained by detecting an output signal of a resolver with a predetermined threshold value. The comparator includes an output comparator, and an abnormality determination unit that determines an abnormality of the resolver based on the duty ratio of the rectangular wave signal output from the comparator or the period of the rectangular wave signal.

本発明によれば、レゾルバの出力信号を検波して得られる正弦波信号または、余弦波信号のうちの少なくとも一方と、所定の閾値とを比較して矩形波信号を出力する比較器と、比較器から出力される矩形波信号のデューティ比もしくは矩形波信号の周期に基づいて、レゾルバの異常を判定する異常判定手段によって簡単にレゾルバの異常を検出できる。   According to the present invention, a comparator that outputs a rectangular wave signal by comparing at least one of a sine wave signal or a cosine wave signal obtained by detecting an output signal of a resolver with a predetermined threshold, and a comparison The abnormality of the resolver can be easily detected by the abnormality determining means for determining the abnormality of the resolver based on the duty ratio of the rectangular wave signal output from the detector or the period of the rectangular wave signal.

以下、図面を用いて本発明の実施の形態について説明する。なお、以下で説明する図面で、同一機能を有するものは同一符号を付け、その繰り返しの説明は省略する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the drawings described below, components having the same function are denoted by the same reference numerals, and repeated description thereof is omitted.

本発明の第1の実施の形態について、図1〜3を用いて説明する。図1は本発明の第1の実施の形態を示す構成図である。この図1を用いて第1の実施の形態の構成を説明する。   A first embodiment of the present invention will be described with reference to FIGS. FIG. 1 is a block diagram showing a first embodiment of the present invention. The configuration of the first embodiment will be described with reference to FIG.

レゾルバ1には所定の周波数からなる励磁信号f(t)が励磁信号出力回路9より印加され、レゾルバ1の軸角度θ(電気角)に応じて振幅変調された2つの出力信号f(t)sinθおよびf(t)cosθが出力され、これら2つの信号を同期検波回路2、3にて励磁信号f(t)で同期検波することでsinθおよびcosθを求める。   An excitation signal f (t) having a predetermined frequency is applied to the resolver 1 from the excitation signal output circuit 9, and two output signals f (t) that are amplitude-modulated according to the axial angle θ (electrical angle) of the resolver 1. sin θ and f (t) cos θ are output, and these two signals are synchronously detected by the synchronous detection circuits 2 and 3 with the excitation signal f (t) to obtain sin θ and cos θ.

一方、レゾルバ−デジタル変換結果を示すアップ/ダウンカウンタ10の値φにより求められるsinφおよびcosφをsinφ/cosφ生成回路6で発生し、sinθ、cosθとの間で積和演算(掛算器4、5および加算器7)をすることにより、偏差sin(θ−φ)を算出する。補償器8はこの偏差がゼロとなるようにアップ/ダウンカウンタ10をアップ/ダウンすることでφ=θとなり、レゾルバ−デジタル変換結果としてφが出力される。また、変換結果φがゼロを横切ったことを判定して、パルス信号出力回路11がZ信号を出力する。Z信号は1電気角1回転につき1パルスが出力される。なお、実際のレゾルバ1は、機械的な1回転に対して上記θが均一に複数回転するように構成されることが多く、機械的な1回転に対してθの回転する回数を、そのレゾルバの極数と表現する。   On the other hand, sin φ and cos φ obtained from the value φ of the up / down counter 10 indicating the resolver-digital conversion result are generated by the sin φ / cos φ generation circuit 6 and a product-sum operation (multipliers 4, 5) is performed between sin θ and cos θ. And the adder 7) calculates the deviation sin (θ−φ). The compensator 8 raises / lowers the up / down counter 10 so that this deviation becomes zero, so that φ = θ, and φ is output as a resolver-digital conversion result. Further, it is determined that the conversion result φ has crossed zero, and the pulse signal output circuit 11 outputs the Z signal. One pulse of the Z signal is output per one electrical angle rotation. In many cases, the actual resolver 1 is configured such that the angle θ is rotated uniformly multiple times for one mechanical rotation, and the number of rotations of θ for one mechanical rotation is determined by the resolver. It is expressed as the number of poles.

また、sinθおよびcosθはそれぞれコンパレータ14(第1の比較器)、15(第2の比較器)に入力されており、所定の閾値16(Vref1)に対してsinθおよびcosθの大小判定がなされ、それぞれsinθ側矩形波信号、cosθ側矩形波信号に変換されるように構成している。これらの矩形波信号はCPU12(異常判定手段)に入力され、CPU12によってこれら矩形波信号のデューティ比および周期が計測され、異常が判定される。   Further, sin θ and cos θ are respectively input to the comparators 14 (first comparator) and 15 (second comparator), and the magnitudes of sin θ and cos θ are determined with respect to a predetermined threshold 16 (Vref1). Each is configured to be converted into a sin θ side rectangular wave signal and a cos θ side rectangular wave signal. These rectangular wave signals are input to the CPU 12 (abnormality determination means), and the CPU 12 measures the duty ratio and period of these rectangular wave signals to determine the abnormality.

次に本第1の実施の形態の動作について、図1〜3を用いて説明する。図1において、所定の閾値16(Vref1)は、レゾルバ1が正常時のsinθおよびcosθの平均値(ave)に等しく設定してあるため、レゾルバ1が正常時には、コンパレータ14、15で所定の閾値16(Vref1)と比較されたsinθおよびcosθの出力であるsinθ側矩形波信号、cosθ側矩形波信号のデューティ比は図2(a)に示すように50%にほぼ等しくなる(図2ではsinθ側のみ記載しているがcosθ側も同様である)。ところが、レゾルバ1の変圧比に異常(ロータの偏心、部分的な変形・欠けなど)が発生すると、sinθおよびcosθに歪みが生じ(図2(b))、コンパレータ10の出力であるそれぞれの矩形波信号のデューティ比は変化する。本第1の実施の形態ではこのデューティ比の変化を異常状態として捉えようとするもので、例えばCPU12においてsinθ側矩形波信号のデューティ比Duty(sin)の50%からのずれ量の絶対値が、所定値TH(50%)を超えた場合に異常と判定することが出来るが、本第1実施の形態では雑音等での誤診断を防ぐために、この所定値TH(50%)を超えた状態が所定回数count(50%)連続した場合に異常と判定している。   Next, the operation of the first embodiment will be described with reference to FIGS. In FIG. 1, the predetermined threshold 16 (Vref1) is set equal to the average value (ave) of sin θ and cos θ when the resolver 1 is normal. Therefore, when the resolver 1 is normal, the predetermined thresholds 16 and 15 The duty ratio of the sin θ side rectangular wave signal and the cos θ side rectangular wave signal which are the outputs of sin θ and cos θ compared to 16 (Vref1) is substantially equal to 50% as shown in FIG. 2A (sin θ in FIG. 2). This is the same for the cos θ side. However, if an abnormality occurs in the transformation ratio of the resolver 1 (rotor eccentricity, partial deformation, chipping, etc.), sin θ and cos θ are distorted (FIG. 2B), and the respective outputs of the comparator 10 are rectangular. The duty ratio of the wave signal changes. In the first embodiment, the change in the duty ratio is to be regarded as an abnormal state. For example, the absolute value of the deviation amount from 50% of the duty ratio Duty (sin) of the sin θ side rectangular wave signal in the CPU 12 is calculated. When the predetermined value TH (50%) is exceeded, it can be determined that there is an abnormality. However, in the first embodiment, this predetermined value TH (50%) is exceeded in order to prevent erroneous diagnosis due to noise or the like. When the state continues for a predetermined number of counts (50%), it is determined as abnormal.

なおレゾルバ1が正常で回転数が一定の場合は、sinθ側矩形波信号、cosθ側矩形波信号のデューティ比はほぼ50%に等しくなるが、回転数が変化している場合にはこれら矩形波信号のデューティ比は変動するので、所定値TH(50%)はこれらの変動分や、直流オフセットなどの回路的なばらつき要因を考慮して決める。しかしながらあらゆる場合の回転数の変化率においても異常を誤検知しないように所定値TH(50%)を設定してしまうと、ずれの許容量が大きくなってしまい、本来検知しようとしている異常の検出感度が低下するため、本第1の実施の形態においては、回転数の変化率が大きい場合(例えば回転機が電機自動車の駆動モータである場合には、ブレーキを踏んでいる時や、アクセル開度が所定値を超えた場合)には診断を中断するように構成している。   When the resolver 1 is normal and the rotational speed is constant, the duty ratio of the sin θ side rectangular wave signal and the cos θ side rectangular wave signal is substantially equal to 50%. However, when the rotational speed changes, these rectangular waves Since the duty ratio of the signal fluctuates, the predetermined value TH (50%) is determined in consideration of these fluctuations and circuit variation factors such as DC offset. However, if the predetermined value TH (50%) is set so that an abnormality is not erroneously detected even in the change rate of the rotational speed in all cases, the allowable amount of deviation becomes large, and detection of the abnormality that is originally detected is detected. Since the sensitivity is reduced, in the first embodiment, when the rate of change of the rotation speed is large (for example, when the rotating machine is a drive motor of an electric vehicle, when the brake is depressed or the accelerator is opened) When the degree exceeds a predetermined value), the diagnosis is interrupted.

また、本第1の実施の形態においては誤診断を避けるために、デューティ比のずれが所定回数連続した場合に異常と判定するように構成しているが、例えばレゾルバ1のロータの一部が変形している場合に発生する周期的な波形異常に対しては、デューティ比のずれが連続して発生しないため(図2(b))、異常検知できない。この問題に対応するべく、本第1の実施の形態においては、デューティ比のずれが連続しない場合であっても周期的にデューティ比のずれが検出され、その周期がレゾルバ1の極数を構成する極位置と一致する状態が所定回数count(C50%)を超えた場合には、異常処理を行なうように構成している。これによりレゾノレバ1のロータの部分的な変形・欠けなど、異常状態が周期的に発生する異常診断の検出感度を向上している。   Further, in the first embodiment, in order to avoid misdiagnosis, it is determined that an abnormality occurs when the deviation of the duty ratio continues a predetermined number of times. For example, a part of the rotor of the resolver 1 is For a periodic waveform abnormality that occurs when it is deformed, the deviation of the duty ratio does not occur continuously (FIG. 2B), so the abnormality cannot be detected. In order to cope with this problem, in the first embodiment, even when the duty ratio deviation is not continuous, the duty ratio deviation is periodically detected, and the period constitutes the number of poles of the resolver 1. When the state coincident with the pole position to be exceeded exceeds a predetermined number of counts (C50%), an abnormality process is performed. As a result, the detection sensitivity of abnormality diagnosis in which abnormal states occur periodically, such as partial deformation or chipping of the rotor of the resonance lever 1, is improved.

次に図3のフローチャートを用いて、本第1の実施の形態の動作の詳細について述べる。図3はsinθ側のみについて説明するが、cosθ側についても同様に扱えるので、cosθ側についての説明は省略する。   Next, details of the operation of the first embodiment will be described with reference to the flowchart of FIG. Although only the sin θ side will be described with reference to FIG. 3, the cos θ side can be handled in the same manner, and thus the description of the cos θ side is omitted.

まず、レゾルバ1の異常診断を開始し、S101で演算に使用する変数i、i(*)、j、kを初期化し、異常診断ロジックを開始する。ここで変数iは異常判定の連続回数を示し、変数j、kはレゾルバ1の極位置を示し、変数i(*)の*はワイルドカードを示す記号で、*には1からレゾルバ1の極位置が入る。例えばレゾルバ極数が4の場合は、変数i(*)はi(1)、i(2)、i(3)、i(4)を示し、本S101の処理ではこれら変数i(1)、i(2)、i(3)、i(4)すべてを0に初期化することを示している。次に、sinθ側矩形波信号のデューティ比の計測(図2(b))をCPU12で行い、デューティ比の計測完了(S102)に伴い計測されたデューティ比を、変数Duty(sin)(j)(jは1〜レゾルバ極数の値をとる)に転送(S103)する。次に、現在車両が加速中、または減速中であるか否かを判定する。ここでは、アクセル開度が所定値以上であれば加速中、ブレーキ踏力が所定値以上であれば減速中であると判断する。ここで加速中、または減速中であると判定された場合は、診断ロジックを中断して変数i、i(*)、j、kを初期化し、デューティ比計測完了割込み待ちの状態へ戻る。ここで加速中、または減速中ではない(すなわち定速走行中である)と判断された場合は、次のS105ヘと進む。S105において、計測されたデューティ比Duty(sin)(j)とレゾルバ1が正常な場合に得られるデューティ比50%との差がデューティ比の異常判定闘値である所定値TH(50%)を超えているか否かを判定する。ここで所定値TH(50%)を超えていない場合は、異常判定の連続回数を示す変数iを初期化(S107)し、次のS108ヘ進む。また、ここで所定値TH(50%)を超えた場合は、異常判定の連続回数を示す変数iを1増加(S106)し、次のS108ヘ進む。   First, abnormality diagnosis of the resolver 1 is started, variables i, i (*), j, and k used for calculation are initialized in S101, and abnormality diagnosis logic is started. Here, the variable i indicates the number of consecutive abnormality determinations, the variables j and k indicate the pole position of the resolver 1, the * of the variable i (*) is a symbol indicating a wild card, and the * indicates the pole of the resolver 1 from 1. Enter the position. For example, when the number of resolver poles is 4, the variable i (*) indicates i (1), i (2), i (3), i (4). In the process of S101, these variables i (1), It shows that i (2), i (3), and i (4) are all initialized to 0. Next, measurement of the duty ratio of the sin θ side rectangular wave signal (FIG. 2B) is performed by the CPU 12, and the duty ratio measured upon completion of the measurement of the duty ratio (S102) is represented by a variable Duty (sin) (j). (J takes the value of 1 to the number of resolver poles) (S103). Next, it is determined whether or not the vehicle is currently accelerating or decelerating. Here, it is determined that the vehicle is accelerating if the accelerator opening is greater than or equal to a predetermined value, and is decelerating if the brake pedal force is greater than or equal to the predetermined value. If it is determined that the vehicle is accelerating or decelerating, the diagnostic logic is interrupted to initialize the variables i, i (*), j, and k, and the process returns to the duty ratio measurement completion interrupt waiting state. If it is determined that the vehicle is not accelerating or decelerating (that is, traveling at a constant speed), the process proceeds to S105. In S105, the difference between the measured duty ratio Duty (sin) (j) and the duty ratio 50% obtained when the resolver 1 is normal is the predetermined value TH (50%), which is the abnormal determination threshold value of the duty ratio. Determine if it has exceeded. If the predetermined value TH (50%) is not exceeded, a variable i indicating the number of consecutive abnormality determinations is initialized (S107), and the process proceeds to the next S108. If the predetermined value TH (50%) is exceeded, the variable i indicating the number of consecutive abnormality determinations is incremented by 1 (S106), and the process proceeds to the next S108.

このS108において変数iが、連続異常の場合の異常判定回数の閾値である所定回数count(50%)を超えているか否かを判定する。ここで超えている場合、本異常診断ロジックによる連続異常を検出したと判定される。ここで超えていない場合、さらに次のS109ヘと進む。次に計測されたデューティ比の極位置を示す変数jが、レゾルバ1の極数以上であるが否かを判定する。ここで極数以上でない場合は、変数jを1増加(S110)し、デューティ比計測完了割込み待ちの状態へ戻る。また極数以上である場合は、次のS111で変数jを1に初期化する。以上が連続的に異常が発生した場合の連続異常発生検出ロジックである。ここから先は、レゾノレバ1のロータの部分的な変形・欠けなど、周期的に発生する異常を検出する周期異常検出ロジックである。   In S108, it is determined whether or not the variable i exceeds a predetermined number count (50%) that is a threshold value of the number of abnormality determinations in the case of continuous abnormality. When it exceeds here, it determines with having detected the continuous abnormality by this abnormality diagnosis logic. If not, the process proceeds to the next S109. Next, it is determined whether or not the variable j indicating the pole position of the measured duty ratio is greater than or equal to the number of poles of the resolver 1. If the number is not greater than the number of poles, the variable j is incremented by 1 (S110), and the process returns to the duty ratio measurement completion interrupt wait state. If the number is greater than or equal to the number of poles, the variable j is initialized to 1 in the next S111. The above is the continuous abnormality occurrence detection logic when abnormality occurs continuously. From here onwards, there is a periodic abnormality detection logic for detecting abnormalities that occur periodically, such as partial deformation and chipping of the rotor of the resonance lever 1.

周期異常検出ロジックではまず、S111で変数jを1に初期化するのを受けて、S103で蓄えられている連続異常判定の際に計測されたデューティ比Duty(sin)(k)(kは1〜レゾルバ極数の値をとり、jと同じ値、但し時間的には機械的1周期jが進んでいる)とレゾルバ1が正常な場合に得られるデューティ比50%との差が所定値TH(50%)を超えているか否かを再度判定する(S112)。ここで所定値TH(50%)を超えていない場合は、周期異常判定の各極位置ごとの連続回数を示す変数i(k)を0に初期化(S114)して、次のS115ヘ進む。この変数i(k)を0に初期化するのは、周期異常が連続して発生する場合に異常と判定し、雑音等で異常が連続的に発生しない場合は異常と判定しないためである。   In the cycle abnormality detection logic, first, the variable j is initialized to 1 in S111, and the duty ratio Duty (sin) (k) (k is 1) measured in the continuous abnormality determination stored in S103. Takes the value of the number of resolver poles, and is the same value as j (however, a mechanical period j advances in time) and the duty ratio 50% obtained when the resolver 1 is normal is a predetermined value TH It is determined again whether or not (50%) is exceeded (S112). If the predetermined value TH (50%) is not exceeded, a variable i (k) indicating the number of consecutive times for each pole position in the cycle abnormality determination is initialized to 0 (S114), and the process proceeds to the next S115. . The reason why the variable i (k) is initialized to 0 is that an abnormality is determined when periodic abnormalities occur continuously, and an abnormal condition is not determined when abnormalities do not occur continuously due to noise or the like.

また所定値TH(50%)を超えている場合は、変数i(k)を1増加(S113)して、次のS115ヘ進む。次に変数i(k)が、周期異常の場合の異常判定回数の閾値である所定回数count(C50%)を超えているか否かを判定する。ここで超えている場合は、本周期異常検出ロジックによる周期異常を検出したと判定される。ここで超えていない場合は、さらに次のS116ヘと進む。S116において周期異常を判定している極位置を示す変数kが、レゾルバ1の極数以上であるか否かを判定する。ここで極数以上でない場合は、変数kを1増加(S117)し、周期異常検出ロジックの冒頭へ戻る。また、極数以上である場合は、変数kを初期化し、デューティ比計測完了割込み待ちの状態へ戻る。   If it exceeds the predetermined value TH (50%), the variable i (k) is increased by 1 (S113), and the process proceeds to the next S115. Next, it is determined whether or not the variable i (k) exceeds a predetermined number count (C50%) that is a threshold value of the number of abnormality determinations in the case of a cycle abnormality. When it exceeds here, it determines with having detected the period abnormality by this period abnormality detection logic. If not, the process proceeds to the next S116. In S116, it is determined whether or not the variable k indicating the pole position at which the periodic abnormality is determined is equal to or greater than the number of poles of the resolver 1. If the number is not greater than the number of poles, the variable k is incremented by 1 (S117), and the process returns to the beginning of the cycle abnormality detection logic. If the number is greater than or equal to the number of poles, the variable k is initialized and the process returns to the duty ratio measurement completion interrupt wait state.

例えば、図2(b)に示すようにレゾルバの極数が4で極位置2が異常の場合はS105での判定でDuty(sin)(2)のみが所定値TH(50%)を超えるが他の極位置1、3、4のデューティ比は所定値TH(50%)を超ないため、これらの極位置でS107により、変数iが0に初期化されるため、S108では連続異常と判定されない。しかしDuty(sin)(2)は機械的1周期ごとにS112で所定値TH(50%)を超えるため、各極位置ごとの変数i(2)が増加(S113)し、変数i(2)が所定値(count(C50%))を超え、異常と判定される。一方、他の極位置のDuty(sin)(1)、Duty(sin)(3)、Duty(sin)(4)はS112での判定で所定値TH(50%)を超えないごとに、S114で変数i(1)、i(3)、i(4)が0に初期化されるため、所定値count(C50%)を超える(S115)事は無い。   For example, as shown in FIG. 2B, when the number of poles of the resolver is 4 and the pole position 2 is abnormal, only Duty (sin) (2) exceeds the predetermined value TH (50%) in the determination in S105. Since the duty ratios of the other pole positions 1, 3, and 4 do not exceed the predetermined value TH (50%), the variable i is initialized to 0 by S107 at these pole positions. Not. However, since Duty (sin) (2) exceeds a predetermined value TH (50%) in S112 every mechanical cycle, the variable i (2) for each pole position increases (S113), and the variable i (2) Exceeds a predetermined value (count (C50%)) and is determined to be abnormal. On the other hand, Duty (sin) (1), Duty (sin) (3), and Duty (sin) (4) at other pole positions do not exceed the predetermined value TH (50%) as determined in S112. Since the variables i (1), i (3), and i (4) are initialized to 0, the predetermined value count (C50%) is not exceeded (S115).

本第1の実施の形態によれば比較器14、15でsinθおよびcosθをsinθ側矩形波信号、cosθ側矩形波信号に変換し、それら矩形波信号のデューティ比を正常時のデューティ比と比較する簡単な回路構成で、レゾルバ1の変圧比異常の検出および周期的に発生する異常を検出でき、レゾルバ−デジタル変換結果の信頼性の向上を図ることができる。   According to the first embodiment, the comparators 14 and 15 convert sin θ and cos θ into sin θ-side rectangular wave signals and cos θ-side rectangular wave signals, and compare the duty ratios of these rectangular wave signals with the normal duty ratios. With this simple circuit configuration, it is possible to detect the abnormality of the transformation ratio of the resolver 1 and the periodically occurring abnormality, and to improve the reliability of the resolver-digital conversion result.

次に第2の実施の形態について説明する。なお本第2の実施の形態を示す構成図と、想定する異常が発生した時の各部の波形例は、第1の実施の形態の説明に使用した図1、図2と同様である。第2の実施の形態においては、レゾルバ1の変圧比に異常(ロータの偏心、部分的な変形・欠けなど)があった場合に、計測されるデューティ比の連続性が崩れることに着目したもので、例えば、任意の周期に対応するsinθ側矩形波信号のデューティ比Duty(sin)(T1)と次回の1周期に対応するsinθ側矩形波信号のデューティ比Duty(sin)(T2)の差が所定値TH(cont)を超えた場合に異常と判定することが出来るが、本第2実施の形態では雑音等での誤診断を防ぐために、この所定値TH(cont)を超えた状態が所定時間time(cont)内に所定回数count(cont)発生した場合に、異常と判定する。また本第2の実施形態においては、併せてコンパレータ10から出力されるそれぞれの矩形波信号の周期連続性についても診断を実施しており、例えば、任意のタイミングのsinθの周期長Prod(sin)(T1)と、次回計測されたsinθの周期長Prod(sin)(T2)の差が所定値TH(prod)を超えた場合に異常と判定することが出来るが、本第2実施の形態では雑音等での誤診断を防ぐために、この所定値TH(prod)を超えた状態が所定時間time(prod)内に所定回数count(prod)発生した場合に、異常と判定する。   Next, a second embodiment will be described. The configuration diagram illustrating the second embodiment and the waveform example of each part when an assumed abnormality occurs are the same as those in FIGS. 1 and 2 used in the description of the first embodiment. In the second embodiment, attention is paid to the fact that the continuity of the measured duty ratio is lost when there is an abnormality in the transformation ratio of the resolver 1 (rotor eccentricity, partial deformation, chipping, etc.). For example, the difference between the duty ratio Duty (sin) (T1) of the sin θ side rectangular wave signal corresponding to an arbitrary period and the duty ratio Duty (sin) (T2) of the sin θ side rectangular wave signal corresponding to the next one period Can be determined as abnormal when the value exceeds a predetermined value TH (cont), but in the second embodiment, in order to prevent erroneous diagnosis due to noise or the like, a state exceeding the predetermined value TH (cont) When a predetermined number of counts (cont) occurs within a predetermined time time (cont), it is determined that there is an abnormality. In the second embodiment, diagnosis is also performed on the periodic continuity of each rectangular wave signal output from the comparator 10 together. For example, the period length Prod (sin) of sin θ at an arbitrary timing. When the difference between (T1) and the period length Prod (sin) (T2) of sin θ measured next time exceeds a predetermined value TH (prod), it can be determined that there is an abnormality. In the second embodiment, In order to prevent erroneous diagnosis due to noise or the like, an abnormality is determined when a state exceeding the predetermined value TH (prod) occurs count (prod) a predetermined number of times within a predetermined time time (prod).

なお、診断の中断条件、それぞれの所定値TH(cont)、TH(prod)については、第1の実施の形態と同様に、回転数の変化率による変動分や、直流オフセットなどの回路的なばらつきを考慮して決めており、回転数の変化率が大きい場合には、診断を中断するように構成している。また、それぞれの所定時間time(count)、time(prod)は、このレゾノレバ1を用いたシステムが許容する異常継続時間以内に設定している。   Note that the diagnosis interruption conditions and the respective predetermined values TH (cont) and TH (prod) are similar to those of the first embodiment in the circuit-like manner such as the variation due to the rate of change of the rotational speed and the DC offset. The determination is made in consideration of the variation, and the diagnosis is interrupted when the rate of change in the rotational speed is large. Further, the predetermined times time (count) and time (prod) are set within an abnormal continuation time allowed by the system using the resonance lever 1.

更に、コンパレータ14、15の所定の閾値16(Vref1)については、sinθおよびcosθの取る電圧範囲内であれば、原理的に異常検出可能であるが、ここでは第1の実施の形態における診断も同時に実施できるという理由から、第1の実施の形態と同様に、正常時におけるsinθおよびcosθの平均値(ave)に等しく設定している。   Furthermore, the predetermined threshold value 16 (Vref1) of the comparators 14 and 15 can be detected in principle as long as it is within the voltage range taken by sin θ and cos θ, but here the diagnosis in the first embodiment is also performed. For the reason that it can be performed at the same time, it is set equal to the average value (ave) of sin θ and cos θ in the normal state as in the first embodiment.

この第2の実施の形態の詳細な動作について、図4のフローチャートを用いて説明する。なお、本フローチャートについても図3のフローチャートと同じくsinθのみに付いて説明するが、cosθ側についても同様に扱えるので、cosθ側についての説明は省略する。   The detailed operation of the second embodiment will be described with reference to the flowchart of FIG. Note that this flowchart will be described only for sin θ as in the flowchart of FIG. 3, but since the cos θ side can be handled in the same manner, description on the cos θ side is omitted.

本第2の実施の形態における異常診断には周期割込みを2種類用意する。1つはコンパレータ14から出力される矩形波信号のデューティ比計測値の連続性を判定する所定時間time(cont)ごとに発生する割り込みであり、本割込み処理内でデューティ比の連続性が損なわれた回数を示す変数mを初期化(図4(b))する。もうひとつはコンパレータ10から出力される矩形波信号の周期連続性を判定する所定時間time(prod)ごとに発生する割り込みであり、本割込み処理内で周期連続性が損なわれた回数を示す変数nを初期化(図4(c))する。   Two types of periodic interrupts are prepared for abnormality diagnosis in the second embodiment. One is an interrupt that occurs every predetermined time time (cont) for determining the continuity of the duty ratio measurement value of the rectangular wave signal output from the comparator 14, and the continuity of the duty ratio is impaired in this interrupt processing. A variable m indicating the number of times is initialized (FIG. 4B). The other is an interrupt that occurs every predetermined time time (prod) for determining the periodic continuity of the rectangular wave signal output from the comparator 10, and is a variable n that indicates the number of times that the periodic continuity is impaired in this interrupt process. Is initialized (FIG. 4C).

異常診断開始後、最初にS201において、演算に使用する変数m、nを初期化し、上述した2種類の割込みを許可する。次に、sinθ側矩形波信号のデューティ比の計測の終了(S203)に伴い、計測されたデューティ比を、変数Duty(sin)(T2)に転送(S205)する。また、上述のデューティ比の計測時刻T2とし、現在の時刻を表すフリーランタイマ(free(t))の値を、変数Prod(T2)に転送するとともに、計測時刻T1とT2間の時間Prod(T2)−Prod(T1)を変数Prod(sin)(T2)に転送(S205)する。次のS206にて現在車両が加速中、または減速中であるか否かを判定する(判定方法は図3の場合と同等なので、説明は省略)。ここで加速中、または減速中であると判定された場合は、診断ロジックを中断し、変数m、nを初期化(S207)するとともに、計測時刻T2における各計測値をそれぞれ計測時刻T1における計測値の変数へ転送(S204)し、デューティ比計測完了割込み待ちの状態へ戻る。   After the abnormality diagnosis is started, first, in S201, variables m and n used for calculation are initialized, and the above-described two types of interrupts are permitted. Next, with the end of the measurement of the duty ratio of the sin θ side rectangular wave signal (S203), the measured duty ratio is transferred to the variable Duty (sin) (T2) (S205). Further, the above-described duty ratio measurement time T2 is transferred, and the value of the free-run timer (free (t)) representing the current time is transferred to the variable Prod (T2), and the time Prod ( T2) -Prod (T1) is transferred to variable Prod (sin) (T2) (S205). In next S206, it is determined whether or not the vehicle is currently accelerating or decelerating (the determination method is the same as that in FIG. 3 and the description is omitted). If it is determined that the vehicle is accelerating or decelerating, the diagnosis logic is interrupted, the variables m and n are initialized (S207), and the measured values at the measurement time T2 are measured at the measurement time T1. Transfer to the value variable (S204), and return to the state of waiting for the duty ratio measurement completion interrupt.

ここで加速中、または減速中ではないと判断された場合は、S208ヘと進む。S208にて計測時刻T2におけるデューティ比Duty(sin)(T2)と、前回計測された計測時刻T1におけるデューティ比Duty(sin)(Tl)の差の絶対値が、デューティ比の連続性を判定する所定値TH(cont)を超えたか否かを判定する。ここで超えていないと判定された場合は、デューティ比の連続性が損なわれた連続回数を示す変数mを初期化(S209)するとともに、計測時刻T2における各計測値をそれぞれ計測時刻Tlにおける計測値の変数へ転送(S204)し、デューティ比計測完了割込み待ちの状態へ戻る。ここで超えたと判定された場合は、計測されたデューティ比に連続性がないと判定され、デューティ比の連続性が損なわれた連続回数を示す変数mを1増加(S210)し、次のS211ヘ進む。   If it is determined that the vehicle is not accelerating or decelerating, the process proceeds to S208. In S208, the absolute value of the difference between the duty ratio Duty (sin) (T2) at the measurement time T2 and the duty ratio Duty (sin) (Tl) measured at the previous measurement time T1 determines the continuity of the duty ratio. It is determined whether or not a predetermined value TH (cont) has been exceeded. If it is determined that the duty ratio is not exceeded, a variable m indicating the number of consecutive times that the continuity of the duty ratio is impaired is initialized (S209), and each measurement value at the measurement time T2 is measured at the measurement time Tl. Transfer to the value variable (S204), and return to the state of waiting for the duty ratio measurement completion interrupt. If it is determined that the duty ratio has been exceeded, it is determined that the measured duty ratio is not continuous, and a variable m indicating the number of consecutive times that the duty ratio continuity is impaired is increased by 1 (S210), and the next S211 is performed. Go ahead.

次に、変数mがデューティ比の連続性判定をする所定回数count(cont)を超えたか否かを判定(S211)する。S211で超えたと判定された場合、本異常診断ロジックによる、デューティ比の連続性異常を検出したと判定される。超えていない場合、さらに次のS212ヘと進む。S212において計測時刻T2における周期長Prod(sin)(T2)と、前回計測された計測時刻T1における周期長Prod(sin)(T1)の差が、周期の連続性を判定する所定値TH(prod)を超えたか否かを判定する。ここで超えていないと判定された場合は、周期の連続性が損なわれた連続回数を示す変数nを初期化(S213)するとともに、計測時刻T2における各計測値をそれぞれ計測時刻Tlにおける計測値の変数へ転送(S204)し、デューティ比計測完了割込み待ちの状態へ戻る。ここで超えたと判定された場合は、計測された周期に連続性がないと判定され、周期の連続性が損なわれた連続回数を示す変数nに1加算(S214)し、次のS215ヘ進む。S215にて変数nが周期の連続性判定をする連続回数の所定値count(prod)を超えたか否かを判定する。ここで超えたと判定された場合、本異常診断ロジックによる、周期の連続性異常を検出したと判定される。超えていない場合、計測時刻T2における各計測値をそれぞれ計測時刻Tlにおける計測値の変数へ転送(S204)し、デューティ比計測完了割込み待ちの状態へ戻る。   Next, it is determined whether or not the variable m has exceeded a predetermined number of counts (cont) for determining the continuity of the duty ratio (S211). If it is determined in S211 that it has been exceeded, it is determined that a duty ratio continuity abnormality is detected by the abnormality diagnosis logic. If not, the process proceeds to the next S212. In S212, the difference between the cycle length Prod (sin) (T2) at the measurement time T2 and the cycle length Prod (sin) (T1) at the measurement time T1 measured last time is a predetermined value TH (prod) for determining the continuity of the cycle. ) Is exceeded. If it is determined that the value does not exceed, the variable n indicating the number of consecutive times in which the continuity of the cycle is impaired is initialized (S213), and each measured value at the measurement time T2 is measured at the measurement time Tl. (S204) and return to the duty ratio measurement completion interrupt wait state. If it is determined here that the measured period has been exceeded, it is determined that there is no continuity in the measured period, 1 is added to the variable n indicating the number of continuations in which the continuity of the period is impaired (S214), and the process proceeds to the next S215 . In S215, it is determined whether or not the variable n has exceeded a predetermined value count (prod) of the number of consecutive times for determining the continuity of the cycle. If it is determined that the value has exceeded, it is determined that a periodic continuity abnormality is detected by the abnormality diagnosis logic. If not exceeded, each measurement value at the measurement time T2 is transferred to the variable of the measurement value at the measurement time Tl (S204), and the process returns to the duty ratio measurement completion interrupt wait state.

なお本第2の実施の形態においても第1の実施の形態と同じく周期性の異常についても検出可能である。   In the second embodiment, it is also possible to detect a periodic abnormality as in the first embodiment.

本第2の実施の形態によれば、sinθ側矩形波信号、cosθ側矩形波信号のデューティ比の連続性と周期連続性とを診断する簡単な回路構成で、レゾルバ1の変圧比異常の検出および周期的に発生する異常を検出でき、レゾルバ−デジタル変換結果の信頼性の向上を図ることができる。   According to the second embodiment, the transformer ratio abnormality of the resolver 1 is detected with a simple circuit configuration for diagnosing continuity and periodic continuity of the duty ratio of the sin θ side rectangular wave signal and the cos θ side rectangular wave signal. In addition, it is possible to detect periodically occurring abnormalities, and to improve the reliability of the resolver-digital conversion result.

続いて図5および図6を用いて、第3の実施の形態について説明する。図5は第3の実施の形態において想定する異常が発生した時の各部の波形の例を示すタイムチャート、図6は第3の実施の形態における異常診断手順を説明するためのフローチャートである。なお実施の形態の構成図は第1の実施の形態の構成図である図1と同様であるので説明は省略するが、所定の閾値16(Vref2)のみ異なっているので、所定の閾値16(Vref2)については後述する。   Next, a third embodiment will be described with reference to FIGS. FIG. 5 is a time chart showing an example of the waveform of each part when an abnormality assumed in the third embodiment occurs, and FIG. 6 is a flowchart for explaining the abnormality diagnosis procedure in the third embodiment. The configuration diagram of the embodiment is the same as that of FIG. 1 showing the configuration diagram of the first embodiment, and a description thereof will be omitted. However, since only the predetermined threshold value 16 (Vref2) is different, the predetermined threshold value 16 ( Vref2) will be described later.

本第3の実施の形態において、レゾルバ1の変圧比異常(ロータの偏心、部分的な変形・欠けなど)や、sinθまたはcosθの直流オフセット異常が発生した場合に、sinθ側矩形波信号のデューティ比(第1のデューティ比)計測値とcosθ側矩形波信号のデューティ比(第2のデューティ比)計測値に差異が生じることに着目したもので、例えば任意の1周期に対応するcosθ側矩形波信号のデューティ比Duty(cos)(T1)と、cosθに対して90゜位相が遅れているsinθ側で計測されたsinθ側矩形波信号のデューティ比Duty(cos)(T1)の差が所定値TH(diff)を超えた場合に異常と判定することが出来るが、本第3実施の形態では雑音等での誤診断を防ぐために、この所定値TH(diff)を超えた状態が所定回数count(diff)連続して発生した場合に、異常と判定する。なお、所定の閾値16(Vref2)は第1および第2の実施の形態と異なり、正常時におけるsinθおよびcosθの平均値(ave)とは異なる値に設定する。本第3の実施の形態においては、検出感度を上げるため所定の閾値16(Vref2)をsinθおよびcosθの最大振幅の70%程度に設定している。なお診断の中断条件、所定の所定値TH(diff)については、第1の実施の形態と同様に、回転数の変化率による変動分や、直流オフセットなどの回路的なばらつきを考慮して決めており、回転数の変化率が大きい場合には、診断を中断するように構成している。   In the third embodiment, when a transformer ratio abnormality (rotor eccentricity, partial deformation, chipping, etc.) of the resolver 1 or a DC offset abnormality of sin θ or cos θ occurs, the duty of the sin θ side rectangular wave signal The focus is on the difference between the measured value of the ratio (first duty ratio) and the measured value of the duty ratio (second duty ratio) of the cos θ side rectangular wave signal. For example, the cos θ side rectangle corresponding to one arbitrary period The difference between the duty ratio Duty (cos) (T1) of the wave signal and the duty ratio Duty (cos) (T1) of the sin θ side rectangular wave signal measured on the sin θ side whose phase is delayed by 90 ° with respect to cos θ is predetermined. When the value TH (diff) is exceeded, it can be determined that there is an abnormality. In the third embodiment, in order to prevent erroneous diagnosis due to noise or the like, this predetermined value TH (dif) When a state exceeding f) occurs continuously count (diff) a predetermined number of times, it is determined that there is an abnormality. Unlike the first and second embodiments, the predetermined threshold 16 (Vref2) is set to a value different from the average value (ave) of sin θ and cos θ during normal operation. In the third embodiment, the predetermined threshold 16 (Vref2) is set to about 70% of the maximum amplitude of sin θ and cos θ in order to increase detection sensitivity. The diagnosis interruption condition and the predetermined predetermined value TH (diff) are determined in consideration of fluctuations due to the change rate of the rotation speed and circuit variations such as a DC offset, as in the first embodiment. When the rate of change of the rotational speed is large, the diagnosis is interrupted.

この第3の実施の形態の詳細な動作について、図6のフローチャートを用いて説明する。異常診断開始後、最初にsinθ側矩形波信号とcosθ側矩形波信号のデューティ比相対ずれの連続回数を示す変数pを初期化(S301)する。次にcosθ側矩形波信号のデューティ比の計測の終了(S302)に伴い、計測されたデューティ比を、変数Duty(cos)(T1)に転送(S303)する。次に、現在車両が加速中、または減速中であるか否かを判定(S304)する(判定方法は図3の場合と同等なので、説明は省略)。ここで加速中、または減速中であると判定された場合は、診断ロジックを中断し、変数pを初期化(S301)し、デューティ比計測完了割込み待ちの状態へ戻る。ここで加速中、または減速中ではないと判断された場合は、次のS305ヘと進む。S305にてsinθ側矩形波信号のデューティ比の計測の完了(S305)に伴い、計測されたデューティ比を、変数Duty(sin)(T1)に転送(S306)する。次に、現在車両が加速中、または減速中であるか否かを判定(S307)する(判定方法は図3の場合と同等なので、説明は省略)。ここで加速中、または減速中であると判定された場合は、診断ロジックを中断し、変数pを初期化(S301)し、デューティ比計測完了割込み待ちの状態へ戻る。ここで加速中、または減速中ではないと判断された場合は、次のS308ヘと進む。S308にて計測されたデューティ比Duty(sin)(Tl)およびDuty(cos)(Tl)の差の絶対値が、sinθ側矩形波信号とcosθ側矩形波信号のデューティ比相対ずれを検出する所定値TH(diff)を超えたか否かを判定する。ここで超えていないと判定された場合は、変数pを初期化(S301)し、デューティ比計測完了割込み待ちの状態へ戻る。超えたと判定された場合は、変数pに1加算(S309)し、次のS310ヘ進む。S310にて変数pが、sinθ側矩形波信号とcosθ側矩形波信号のデューティ比相対ずれの判定をする連続回数の所定回数count(diff)を超えたか否かを判定する。ここで超えていないと判定された場合は、デューティ比計測完了割込み待ちの状態へ戻る。超えたと判定された場合は、本異常診断ロジックによる、sinθ側矩形波信号とcosθ側矩形波信号のデューティ比相対ずれ異常を検出したと判定される。   The detailed operation of the third embodiment will be described with reference to the flowchart of FIG. After the abnormality diagnosis is started, first, a variable p indicating the continuous number of duty ratio relative deviations of the sin θ side rectangular wave signal and the cos θ side rectangular wave signal is initialized (S301). Next, when the measurement of the duty ratio of the cos θ side rectangular wave signal is completed (S302), the measured duty ratio is transferred to the variable Duty (cos) (T1) (S303). Next, it is determined whether or not the vehicle is currently accelerating or decelerating (S304) (the determination method is the same as in FIG. 3 and the description is omitted). If it is determined that the vehicle is accelerating or decelerating, the diagnostic logic is interrupted, the variable p is initialized (S301), and the process returns to the duty ratio measurement completion interrupt wait state. If it is determined that the vehicle is not accelerating or decelerating, the process proceeds to the next S305. When the measurement of the duty ratio of the sin θ-side rectangular wave signal is completed in S305 (S305), the measured duty ratio is transferred to the variable Duty (sin) (T1) (S306). Next, it is determined whether or not the vehicle is currently accelerating or decelerating (S307) (the determination method is the same as in FIG. 3 and the description is omitted). If it is determined that the vehicle is accelerating or decelerating, the diagnostic logic is interrupted, the variable p is initialized (S301), and the process returns to the duty ratio measurement completion interrupt wait state. If it is determined that the vehicle is not accelerating or decelerating, the process proceeds to S308. The absolute value of the difference between the duty ratios Duty (sin) (Tl) and Duty (cos) (Tl) measured in S308 is a predetermined value for detecting the relative deviation of the duty ratio between the sin θ side rectangular wave signal and the cos θ side rectangular wave signal. It is determined whether or not the value TH (diff) has been exceeded. If it is determined that the value does not exceed, the variable p is initialized (S301), and the process returns to the state of waiting for a duty ratio measurement completion interrupt. If it is determined that the value has been exceeded, 1 is added to the variable p (S309), and the process proceeds to the next S310. In S310, it is determined whether or not the variable p has exceeded a predetermined number count (diff) of consecutive times for determining the relative deviation of the duty ratio between the sin θ side rectangular wave signal and the cos θ side rectangular wave signal. If it is determined that it has not exceeded, the process returns to the duty ratio measurement completion interrupt wait state. If it is determined that it has exceeded, it is determined that an abnormality in the relative deviation of the duty ratio between the sin θ side rectangular wave signal and the cos θ side rectangular wave signal is detected by the abnormality diagnosis logic.

なお本第3の実施の形態においても第1の実施の形態と同じく周期性の異常についても検出可能である。   In the third embodiment as well, it is possible to detect a periodic abnormality as in the first embodiment.

本第3の実施の形態によれば、レゾルバ1の変圧比異常やsinθまたはcosθの直流オフセット異常が発生した場合に、sinθ側矩形波信号のデューティ比計測値とcosθ側矩形波信号のデューティ比計測値に差異が生じることで異常と判定する簡単な回路構成で、レゾルバ1の変圧比異常やsinθまたはcosθの直流オフセット異常を検出でき、レゾルバ−デジタル変換結果の信頼性の向上を図ることができる。   According to the third embodiment, when the transformer ratio abnormality of the resolver 1 or the DC offset abnormality of sin θ or cos θ occurs, the measured duty ratio of the sin θ side rectangular wave signal and the duty ratio of the cos θ side rectangular wave signal It is possible to detect a transformer ratio abnormality of the resolver 1 and a DC offset abnormality of sin θ or cos θ with a simple circuit configuration that determines that an abnormality occurs due to a difference in measurement values, and to improve the reliability of the resolver-digital conversion result. it can.

続いて図7、図8および図9を用いて、第4の実施の形態を説明する。図7は本第4の実施の形態を示す構成図、図8は第4の実施の形態において想定する異常が発生した時の各部の波形の例を示すタイムチャート、図9は第4の実施の形態における異常診断手順を説明するためのフローチャートである。   Subsequently, the fourth embodiment will be described with reference to FIGS. 7, 8 and 9. FIG. 7 is a block diagram showing the fourth embodiment, FIG. 8 is a time chart showing an example of the waveform of each part when an abnormality assumed in the fourth embodiment occurs, and FIG. 9 shows the fourth embodiment. It is a flowchart for demonstrating the abnormality diagnosis procedure in this form.

本第4の実施の形態において、通常のレゾルバーデジタル変換過程で得られるsinθおよびcosθをそれぞれ2系統のコンパレータ17に入力しており、それぞれ第1の閾値22(Vref(+))、第2の閾値21(Vref(−))に対して大小判定がなされ、sinθ(+)側矩形波信号、sinθ(−)側矩形波信号、cosθ(+)側矩形波信号、cosθ(−)側矩形波信号に変換されるように構成している。これらsinθ(+)側矩形波信号、sinθ(−)側矩形波信号、cosθ(+)側矩形波信号、cosθ(−)側矩形波信号はCPU12に入力され、CPU12にてそれぞれの矩形波信号のデューティ比を計測する。ここで第1の閾値22(Vref(+))は、正常時におけるsinθおよびcosθの平均値(ave)に所定値(ΔVref)を加えた値とし、第2の閾値21(Vref(−))は正常時におけるsinθおよびcosθの平均値(ave)に所定値(ΔVref)を減じた値とし等しく設定してある。
Vref(+)=ave+ΔVref
Vref(−)=ave−ΔVref
なお第1の閾値22(Vref(+))、第2の閾値21(Vref(−))は、sinθおよびcosθの振幅が最小のときも必ず第1の閾値22(Vref(+))、第2の閾値21(Vref(−))を横切るように設定する必要があり、その条件の範囲内で極力大きく設定することにより、異常の検出感度を向上することができる。
In the fourth embodiment, sin θ and cos θ obtained in a normal resolver digital conversion process are respectively input to the two systems of comparators 17, and the first threshold 22 (Vref (+)), second The threshold value 21 (Vref (−)) is determined to be a magnitude, and a sin θ (+) side rectangular wave signal, a sin θ (−) side rectangular wave signal, a cos θ (+) side rectangular wave signal, and a cos θ (−) side rectangular. It is configured to be converted into a wave signal. The sin θ (+) side rectangular wave signal, the sin θ (−) side rectangular wave signal, the cos θ (+) side rectangular wave signal, and the cos θ (−) side rectangular wave signal are input to the CPU 12, and the CPU 12 receives the respective rectangular wave signals. Measure the duty ratio. Here, the first threshold 22 (Vref (+)) is a value obtained by adding a predetermined value (ΔVref) to the average value (ave) of sin θ and cos θ in a normal state, and the second threshold 21 (Vref (−)). Is set equal to a value obtained by subtracting a predetermined value (ΔVref) from the average value (ave) of sin θ and cos θ in a normal state.
Vref (+) = ave + ΔVref
Vref (−) = ave−ΔVref
The first threshold value 22 (Vref (+)) and the second threshold value 21 (Vref (−)) are always the first threshold value 22 (Vref (+)) and the second threshold value 21 (Vref (−)) even when the amplitudes of sin θ and cos θ are minimum. 2 must be set so as to cross the threshold value 21 (Vref (−)), and by setting it as large as possible within the range of the condition, the detection sensitivity of the abnormality can be improved.

本第4の実施の形態においては。sinθおよびcosθの振幅標準値の70%程度に位置するよう、所定値ΔVrefを設定している。以上のように構成した場合、正常時に、続けて計測される2つのデューティ比計測値の和、例えばsinθの第1の閾値22(Vref(+))側のコンパレータ17(第3の比較器)により出力されるsinθ(+)側矩形波信号のデューティ比(第3のデューティ比)Duty(sin)(+)と、第2の閾値21(Vref(−))側のコンパレータ18(第4の比較器)により出力されるsinθ(−)側矩形波信号のデューティ比(第4のデューティ比)Duty(sin)(−)の和は、ほぼ100%となる。ところが、レゾルバ1の変圧比異常(ロータの偏心、部分的な変形・欠けなど)や、sinθまたはcosθの直流オフセット異常が発生すると、sinθまたはcosθの上下対称性が崩れるため、デューティ比Duty(sin)(+)とデューティ比Duty(sin)(−)の2つのデューティ比の和は100%にならない。   In the fourth embodiment. The predetermined value ΔVref is set so as to be located at about 70% of the amplitude standard value of sin θ and cos θ. When configured as described above, the comparator 17 (third comparator) on the side of the first threshold value 22 (Vref (+)) of sin θ, for example, the sum of two measured duty ratio values that are continuously measured in the normal state. And the duty ratio (third duty ratio) Duty (sin) (+) of the sin θ (+) side rectangular wave signal output by the second threshold value 21 (Vref (−)) side comparator 18 (the fourth duty ratio). The sum of the duty ratio (fourth duty ratio) Duty (sin) (−) of the sin θ (−) side rectangular wave signal output by the comparator) is almost 100%. However, when a transformation ratio abnormality (rotor eccentricity, partial deformation, chipping, etc.) of the resolver 1 or a direct current offset abnormality of sin θ or cos θ occurs, the vertical symmetry of sin θ or cos θ is lost, so the duty ratio Duty (sin ) (+) And duty ratio Duty (sin) (−), the sum of the two duty ratios does not become 100%.

本第4の実施形態ではこの現象を異常状態として捉えようとするもので、デューティ比Duty(sin)(+)とデューティ比Duty(sin)(−)の2つのデューティ比の和の100%からのずれ量の絶対値が、所定値TH(100%)を超えた場合に異常と判定することが出来るが、本第4の実施の形態では雑音等での誤診断を防ぐために、この所定値TH(100%)を超えた状態(合計異常)が、所定時間time(100%)内に所定回数count(100%)発生した場合に、異常と判定する。   In the fourth embodiment, this phenomenon is regarded as an abnormal state. From 100% of the sum of the two duty ratios of the duty ratio Duty (sin) (+) and the duty ratio Duty (sin) (−). When the absolute value of the deviation amount exceeds a predetermined value TH (100%), it can be determined that there is an abnormality. In the fourth embodiment, this predetermined value is used to prevent erroneous diagnosis due to noise or the like. When a state exceeding TH (100%) (total abnormality) occurs for a predetermined number of counts (100%) within a predetermined time time (100%), it is determined as abnormal.

なお、診断の中断条件、所定値TH(100%)については、第1の実施の形態と同様に、回転数の変化率による変動分や、直流オフセットなどの回路的なばらつきを考慮して決めており、回転数の変化率が大きい場合には、診断を中断するように構成している。   The diagnosis interruption condition and the predetermined value TH (100%) are determined in consideration of fluctuations due to the change rate of the rotation speed and circuit variations such as DC offset, as in the first embodiment. When the rate of change of the rotational speed is large, the diagnosis is interrupted.

この第4の実施の形態の詳細な動作について、図9のフローチャートを用いて説明する。図9のフローチャートは、sinθ側のみについて説明するが、cosθ側についてもsinθ側と同様に扱えるので説明は省略する。本異常診断には異常判定を行なう時間間隔time(100%)ごとに発生する割り込み(図9(b))があり、本割込み処理内で、第1の閾値22(Vref(+))、第2の閾値21(Vref(−))によりコンパレータ17から出力されるsinθ(+)側矩形波信号とsinθ(−)側矩形波信号のデューティ比の合計異常を検出した回数を示す変数qを初期化する。   The detailed operation of the fourth embodiment will be described with reference to the flowchart of FIG. In the flowchart of FIG. 9, only the sin θ side will be described, but the cos θ side can be handled in the same manner as the sin θ side, and thus the description thereof will be omitted. In this abnormality diagnosis, there is an interrupt (FIG. 9B) that occurs every time interval time (100%) for performing abnormality determination. In this interrupt process, the first threshold 22 (Vref (+)), the first The variable q indicating the number of times of detecting the total abnormality of the duty ratio of the sin θ (+) side rectangular wave signal and the sin θ (−) side rectangular wave signal output from the comparator 17 by the threshold value 21 (Vref (−)) of 2 is initially set. Turn into.

異常診断開始後、最初に変数qを初期化(S401)し、上述のtime(100%)割込みを許可(S402)する。次に、sinθ(+)側矩形波信号のデューティ比の計測の終了(S403)に伴い、計測されたデューティ比を、変数Duty(sin)(+)に転送(S404)する。次に、現在車両が加速中、または減速中であるか否かを判定する(判定方法は図3の場合と同様なので説明は省略)。ここで加速中、または減速中であると判定された場合は、診断ロジックを中断し、デューティ比計測完了割込み待ちの状態へ戻る。ここで加速中、または減速中ではないと判断された場合は、次のS406ヘと進む。S406にてsinθ(−)側矩形波信号のデューティ比の計測の完了に伴い、計測されたデューティ比を、変数Duty(sin)(−)に転送(S407)する。   After the abnormality diagnosis is started, the variable q is first initialized (S401), and the above-mentioned time (100%) interrupt is permitted (S402). Next, with the end of the measurement of the duty ratio of the sin θ (+) side rectangular wave signal (S403), the measured duty ratio is transferred to the variable Duty (sin) (+) (S404). Next, it is determined whether or not the vehicle is currently accelerating or decelerating (the determination method is the same as in FIG. 3 and description thereof is omitted). If it is determined that the vehicle is accelerating or decelerating, the diagnostic logic is interrupted and the process returns to the state of waiting for a duty ratio measurement completion interrupt. If it is determined that the vehicle is not accelerating or decelerating, the process proceeds to the next S406. When the measurement of the duty ratio of the sin θ (−) side rectangular wave signal is completed in S406, the measured duty ratio is transferred to the variable Duty (sin) (−) (S407).

次に、現在車両が加速中、または減速中であるか否かを判定(S408)する(判定方法は図3の場合と同等なので、説明は省略)。ここで加速中、または減速中であると判定された場合は、診断ロジックを中断し、デューティ比計測完了割込み待ちの状態へ戻る。ここで加速中、または減速中ではないと判断された場合は、次のS409ヘと進む。S409にて計測されたデューティ比Duty(sin)(+)およびDuty(sin)(−)の和から100%を減じた値の絶対値が、デューティ比の合計異常を判定する所定値TH(100%)を超えたか否かを判定する。ここで超えていないと判定された場合は、デューティ比計測完了割込み待ちの状態へ戻る。超えたと判定された場合は、変数qに1加算(S410)し、次のS411ヘ進む。S411にて変数qが、所定回数count(100%)を超えたか否かを判定する。ここで超えていないと判定された場合は、デューティ比計測完了割込み待ちの状態へ戻る。超えたと判定された場合は、本異常診断ロジックによる、デューティ比の合計異常状態を検出したと判定される。   Next, it is determined whether or not the vehicle is currently accelerating or decelerating (S408) (the determination method is the same as in FIG. 3 and the description is omitted). If it is determined that the vehicle is accelerating or decelerating, the diagnostic logic is interrupted and the process returns to the state of waiting for a duty ratio measurement completion interrupt. If it is determined that the vehicle is not accelerating or decelerating, the process proceeds to the next S409. The absolute value of a value obtained by subtracting 100% from the sum of the duty ratios Duty (sin) (+) and Duty (sin) (−) measured in S409 is a predetermined value TH (100 %) Is exceeded. If it is determined that it has not exceeded, the process returns to the duty ratio measurement completion interrupt wait state. If it is determined that the value has been exceeded, 1 is added to the variable q (S410), and the process proceeds to the next S411. In S411, it is determined whether or not the variable q has exceeded a predetermined number of counts (100%). If it is determined that it has not exceeded, the process returns to the duty ratio measurement completion interrupt wait state. If it is determined that the duty ratio has been exceeded, it is determined that the total abnormality state of the duty ratio is detected by the abnormality diagnosis logic.

なお本第4の実施の形態においても第1の実施の形態と同じく周期性の異常についても検出可能である。   In the fourth embodiment, it is also possible to detect a periodic abnormality as in the first embodiment.

本第4の実施の形態によればレゾルバ1の変圧比異常や、sinθまたはcosθの直流オフセット異常が発生した場合に、例えばsinθ側矩形波信号の続けて計測されるデューティ比Duty(sin)(+)とデューティ比Duty(sin)(−)の2つのデューティ比の和は100%にならないと異常と判定する簡単な回路構成で、レゾルバ1の変圧比異常やsinθまたはcosθの直流オフセット異常を検出でき、レゾルバ−デジタル変換結果の信頼性の向上を図ることができる。   According to the fourth embodiment, when a transformer ratio abnormality of the resolver 1 or a direct current offset abnormality of sin θ or cos θ occurs, for example, the duty ratio Duty (sin) ( +) And duty ratio Duty (sin) (-) is a simple circuit configuration that determines that the sum of the two duty ratios does not reach 100%, and resolves the transformer 1 transformer ratio abnormality and sinθ or cosθ DC offset abnormality. And the reliability of the resolver-digital conversion result can be improved.

次に図10、図11、図12を用いて、第5の実施の形態を説明する。図10は本第5の実施の形態を示す構成図、図11は第5の実施の形態において想定する異常が発生した時の各部の波形の例を示すタイムチャート、図12は第5の実施の形態における診断手順を説明するためのフローチヤートである。   Next, a fifth embodiment will be described with reference to FIGS. 10, 11, and 12. FIG. 10 is a block diagram showing the fifth embodiment, FIG. 11 is a time chart showing examples of waveforms at various parts when an abnormality assumed in the fifth embodiment occurs, and FIG. 12 shows the fifth embodiment. It is a flowchart for demonstrating the diagnostic procedure in form of this.

本第5の実施の形態において、図10に示すように同期検波する前の2種類のレゾルバ出力信号f(t)sinθ、f(t)cosθをコンパレータ25(第5の比較器)、26(第6の比較器)に入力しており、それぞれの信号が所定の閾値27(Vref3)に対して大小判定がなされ、f(t)sinθレゾルバ出力矩形波信号、f(t)cosθレゾルバ出力矩形波信号に変換されるように構成している。なお、同期検波2はsinφおよびcosφをsinφ/cosφ生成6で発生し、f(t)sinθ、f(t)cosθとの間で積和演算(掛算器4、5および加算器7)した後に行っている。   In the fifth embodiment, as shown in FIG. 10, two types of resolver output signals f (t) sinθ and f (t) cosθ before synchronous detection are converted into comparators 25 (fifth comparators), 26 ( (Sixth comparator), and each signal is judged to be large or small with respect to a predetermined threshold 27 (Vref3), f (t) sin θ resolver output rectangular wave signal, f (t) cos θ resolver output rectangle It is configured to be converted into a wave signal. Synchronous detection 2 is generated after sin φ and cos φ are generated by sin φ / cos φ generation 6, and product-sum operation (multipliers 4, 5 and adder 7) is performed between f (t) sinθ and f (t) cosθ. Is going.

コンパレータ25、26から出力されたf(t)sinθレゾルバ出力矩形波信号、f(t)cosθレゾルバ出力矩形波信号は、立下りエッジの遅延回路28(第1の除去手段)、29(第2の除去手段)に入力され、励磁信号f(t)の周波数成分を取り除きsinθ側矩形波信号(第3の矩形波信号)、cosθ側矩形波信号(第4の矩形波信号)に変換され、CPU12にてそれぞれのデューティ比を計測する。なお、立下りエッジの遅延回路28、29の代わりにローパスフィルタを用いてもよい。ここで所定の閾値27(Vref3)は、レゾルバ1の出力信号の振幅が最小のときでも、必ず所定の閾値27(Vref3)を横切るように設定する必要がある。また、立下りエッジの遅延回路28、29の遅延時間(Td)は、励磁信号f(t)の1周期以上に設定する。   The f (t) sinθ resolver output rectangular wave signal and the f (t) cosθ resolver output rectangular wave signal output from the comparators 25 and 26 are the falling edge delay circuits 28 (first removal means), 29 (second Is removed, and the frequency component of the excitation signal f (t) is removed and converted into a sin θ side rectangular wave signal (third rectangular wave signal) and a cos θ side rectangular wave signal (fourth rectangular wave signal). The CPU 12 measures each duty ratio. A low-pass filter may be used in place of the falling edge delay circuits 28 and 29. Here, the predetermined threshold 27 (Vref3) must be set so as to cross the predetermined threshold 27 (Vref3) without fail even when the amplitude of the output signal of the resolver 1 is minimum. The delay time (Td) of the delay circuits 28 and 29 at the falling edge is set to one period or more of the excitation signal f (t).

以上のように構成した場合、レゾルバ1の出力信号f(t)sinθ、f(t)cosθがいずれも正常(両出力信号の変圧比が同一)である間は、例えばcos側矩形波信号のデューティ比Duty(cos)(half)と、それから90゜位相の遅れたsin側矩形波信号のデューティ比Duty(sin)(half)は、ほぼ同じ値をとる。ところが、レゾルバ1の変圧比異常(2つの出力に対応する変圧比の相対ずれ)や、レゾルバ1の出力信号の直流オフセソト異常によりレゾルバ1の出力信号波形の上下対称性が崩れた場合は、cos側矩形波信号のデューティ比Duty(cos)(half)とsin側矩形波信号のデューティ比Duty(sin)(half)の2つのデューティ比は一致しない。本第5の実施の形態ではこの現象を異常状態として捉えようとするもので、cos側矩形波信号のデューティ比Duty(cos)(half)とsin側矩形波信号のデューティ比Duty(sin)(half)の2つのデューティ比の差が、所定値TH(half)を超えた場合に異常と判定することが出来るが、本第5の実施の形態では雑音等での誤診断を防ぐために、この所定値TH(half)を超えた状態が所定回数count(half)継統した場合に異常と判定する。   When configured as described above, while both the output signals f (t) sinθ and f (t) cosθ of the resolver 1 are normal (the transformation ratio of both output signals is the same), for example, the cos side rectangular wave signal The duty ratio Duty (cos) (half) and the duty ratio Duty (sin) (half) of the sin-side rectangular wave signal delayed by 90 ° from it take substantially the same value. However, if the up / down symmetry of the output signal waveform of the resolver 1 is broken due to an abnormal transformation ratio of the resolver 1 (a relative deviation of the transformation ratio corresponding to the two outputs) or a DC offset abnormality of the output signal of the resolver 1, cos The two duty ratios of the duty ratio Duty (cos) (half) of the side rectangular wave signal and the duty ratio Duty (sin) (half) of the sin rectangular wave signal do not match. In the fifth embodiment, this phenomenon is regarded as an abnormal state. The duty ratio Duty (cos) (half) of the cos side rectangular wave signal and the duty ratio Duty (sin) (sin) of the sin side rectangular wave signal If the difference between the two duty ratios of half) exceeds a predetermined value TH (half), it can be determined that there is an abnormality. In the fifth embodiment, in order to prevent erroneous diagnosis due to noise or the like, When a state exceeding the predetermined value TH (half) is continued for a predetermined number of counts (half), it is determined that there is an abnormality.

なお図11において、励磁信号f(t)で変調された信号については、その変調信号を縦線で塗りつぶすことで表現している。これは変調信号である励磁信号f(t)の周波数が被変調信号であるsinθ、cosθの周波数に対し非常に高いためと、変調信号の変調位相や波形などは本第5の実施の形態と直接関係が薄いので、簡便に理解を促すことに重点を置き、表記を省略している。また、診断の中断条件、所定値TH(ha1f)については、第1の実施の形態と同様に、回転数の変化率による変動分や、直流オフセットなどの回路的なばらつきを考慮して決めており、回転数の変化率が大きい場合には、診断を中断するように構成している。   In FIG. 11, the signal modulated by the excitation signal f (t) is expressed by painting the modulated signal with a vertical line. This is because the frequency of the excitation signal f (t), which is the modulation signal, is very high compared to the frequencies of sin θ and cos θ, which are the modulated signals, and the modulation phase and waveform of the modulation signal are the same as in the fifth embodiment. Since the direct relationship is thin, the emphasis is on facilitating understanding, and notation is omitted. In addition, the diagnosis interruption condition and the predetermined value TH (ha1f) are determined in consideration of fluctuations due to the change rate of the rotation speed and circuit variations such as a direct current offset, as in the first embodiment. When the rate of change in the rotational speed is large, the diagnosis is interrupted.

この第5の実施の形態の詳細な動作について、図12のフローチャートを用いて説明する。異常診断開始後、最初に、sinθ側矩形波信号とcosθ側矩形波信号のデューティ比相対ずれの連続回数を示す変数rを初期化(S501)する。次に、cosθ側矩形波信号のデューティ比の計測の終了(S502)に伴い、計測されたデューティ比を、変数Duty(cos)(ha1f)に転送(S503)する。次に、現在車両が加速中、または減速中であるか否かを判定する(判定方法は図3の場合と同等なので、説明は省略)。ここで加速中、または減速中であると判定された場合は、診断ロジックを中断し、変数rを初期化(S501)し、デューティ比計測完了割込み待ちの状態へ戻る。ここで加速中、または減速中ではないと判断された場合は、次のS505ヘと進む。S505にてsinθ側矩形波信号のデューティ比の計測の終了に伴い、計測されたデューティ比を変数Duty(sin)(ha1f)に転送(S506)する。次に、現在車両が加速中、または減速中であるか否かを判定(S507)する(判定方法は図3の場合と同等なので、説明は省略)。ここで加速中、または減速中であると判定された場合は、診断ロジックを中断し、変数rを初期化(S501)し、デューティ比計測完了割込み待ちの状態へ戻る。ここで加速中、または減速中ではないと判断された場合は、次のS508へと進む。S508にて計測されたデューティ比Duty(sin)(ha1f)およびDuty(cos)(ha1f)の差の絶対値が、sinθ側矩形波信号とcosθ側矩形波信号のデューティ比相対ずれを検出する所定値TH(ha1f)を超えたか否かを判定する。ここで超えていないと判定された場合は、変数rを初期化(S501)し、デューティ比計測完了割込み待ちの状態へ戻る。超えたと判定された場合は、変数rを1増加(S509)し、次のS510ヘ進む。S510において変数rがsinθ側矩形波信号とcosθ側矩形波信号のデューティ比相対ずれの判定をする連続回数の所定値count(half)を超えたか否かを判定する。ここで超えていないと判定された場合は、デューティ比計測完了割込み待ちの状態へ戻る。超えたと判定された場合は、本異常診断ロジックによる、sinθ側矩形波信号とcosθ側矩形波信号のデューティ比相対ずれ異常を検出したと判定される。   The detailed operation of the fifth embodiment will be described with reference to the flowchart of FIG. After the abnormality diagnosis is started, first, a variable r indicating the continuous number of duty ratio relative deviations of the sin θ side rectangular wave signal and the cos θ side rectangular wave signal is initialized (S501). Next, with the end of the measurement of the duty ratio of the cos θ side rectangular wave signal (S502), the measured duty ratio is transferred to the variable Duty (cos) (ha1f) (S503). Next, it is determined whether or not the vehicle is currently accelerating or decelerating (the determination method is the same as in FIG. 3 and the description thereof is omitted). If it is determined that the vehicle is accelerating or decelerating, the diagnostic logic is interrupted, the variable r is initialized (S501), and the process returns to the duty ratio measurement completion interrupt waiting state. If it is determined that the vehicle is not accelerating or decelerating, the process proceeds to the next S505. When the measurement of the duty ratio of the sin θ-side rectangular wave signal ends in S505, the measured duty ratio is transferred to the variable Duty (sin) (ha1f) (S506). Next, it is determined whether or not the vehicle is currently accelerating or decelerating (S507) (the determination method is the same as in FIG. 3 and the description is omitted). If it is determined that the vehicle is accelerating or decelerating, the diagnostic logic is interrupted, the variable r is initialized (S501), and the process returns to the duty ratio measurement completion interrupt waiting state. If it is determined that the vehicle is not accelerating or decelerating, the process proceeds to the next S508. The absolute value of the difference between the duty ratios Duty (sin) (ha1f) and Duty (cos) (ha1f) measured in S508 is a predetermined value for detecting the duty ratio relative deviation between the sin θ side rectangular wave signal and the cos θ side rectangular wave signal. It is determined whether or not the value TH (ha1f) has been exceeded. If it is determined that the value does not exceed, the variable r is initialized (S501), and the process returns to the duty ratio measurement completion interrupt wait state. If it is determined that the variable has been exceeded, the variable r is increased by 1 (S509), and the process proceeds to the next S510. In S510, it is determined whether or not the variable r has exceeded a predetermined value count (half) of the continuous number of times for determining the relative deviation of the duty ratio between the sin θ side rectangular wave signal and the cos θ side rectangular wave signal. If it is determined that it has not exceeded, the process returns to the duty ratio measurement completion interrupt wait state. If it is determined that it has exceeded, it is determined that an abnormality in the relative deviation of the duty ratio between the sin θ side rectangular wave signal and the cos θ side rectangular wave signal is detected by the abnormality diagnosis logic.

本第5の実施の形態よれば、比較的簡単小規模な回路でレゾルバ1の変圧比異常、sinθ、cosθの直流オフセット異常が検出でき、レゾルバ−デジタル変換結果の信頼性向上を図ることが可能となる。   According to the fifth embodiment, the transformer ratio abnormality of the resolver 1 and the DC offset abnormality of sin θ and cos θ can be detected with a relatively simple and small circuit, and the reliability of the resolver-to-digital conversion result can be improved. It becomes.

なお、以上述べた実施の形態では、いずれも同一、もしくはその大部分を共通のハードウェア構成で実現できるため、同時に複数の診断を実施してもよい。また、異なる閾値で大小判定する複数の手段については、閾値をCPU12などから制御して時間的に変化させることにより、コンパレータを共用するように構成してもよい。   In the above-described embodiments, all of them can be implemented with the same or most of them with a common hardware configuration, and a plurality of diagnoses may be performed simultaneously. Further, the plurality of means for determining the size with different threshold values may be configured to share the comparator by controlling the threshold value from the CPU 12 or the like and changing it with time.

第1および第2の実施の形態を示す構成図。The block diagram which shows 1st and 2nd embodiment. 第1および第2の実施の形態において想定する異常が発生した時の各部の波形の例を示すタイムチャート。The time chart which shows the example of the waveform of each part when abnormality which assumes in 1st and 2nd embodiment has generate | occur | produced. 第1の実施の形態における異常診断手順を説明するためのフローチャート。The flowchart for demonstrating the abnormality diagnosis procedure in 1st Embodiment. 第2の実施の形態における異常診断手順を説明するためのフローチャート。The flowchart for demonstrating the abnormality diagnosis procedure in 2nd Embodiment. 第3の実施の形態において想定する異常が発生した時の各部の波形の例を示すタイムチャート。The time chart which shows the example of the waveform of each part when abnormality which assumes in 3rd Embodiment occurs. 第3の実施の形態における異常診断手順を説明するためのフローチャート。The flowchart for demonstrating the abnormality diagnosis procedure in 3rd Embodiment. 第4の実施の形態を示す構成図。The block diagram which shows 4th Embodiment. 第4の実施の形態において想定する異常が発生した時の各部の波形の例を示すタイムチャート。The time chart which shows the example of the waveform of each part when abnormality which assumes in 4th Embodiment occurs. 第4の実施の形態における異常診断手順を説明するためのフローチャート。The flowchart for demonstrating the abnormality diagnosis procedure in 4th Embodiment. 第5の実施の形態を示す構成図。The block diagram which shows 5th Embodiment. 第5の実施の形態において想定する異常が発生した時の各部の波形の例を示すタイムチャートThe time chart which shows the example of the waveform of each part when abnormality which assumed in 5th Embodiment generate | occur | produces 第5の実施の形態における異常診断手順を説明するためのフローチヤート。The flowchart for demonstrating the abnormality diagnosis procedure in 5th Embodiment.

符号の説明Explanation of symbols

1…レゾルバ
2、3…同期検波回路
12…CPU
14…第1の比較器
15…第2の比較器
16、27…所定の閾値
17、19…第3の比較器
18、20…第4の比較器
21…第2の閾値
22…第1の閾値
25…第5の比較器
26…第6の比較器
28、29…立下がり遅延回路
DESCRIPTION OF SYMBOLS 1 ... Resolver 2, 3 ... Synchronous detection circuit 12 ... CPU
DESCRIPTION OF SYMBOLS 14 ... 1st comparator 15 ... 2nd comparator 16, 27 ... Predetermined threshold value 17, 19 ... 3rd comparator 18, 20 ... 4th comparator 21 ... 2nd threshold value 22 ... 1st Threshold 25 ... Fifth comparator 26 ... Sixth comparator 28, 29 ... Falling delay circuit

Claims (14)

レゾルバからの出力信号を検波して得られる正弦波信号または、余弦波信号に基づいて、前記レゾルバの異常を検出するレゾルバの異常検出装置において、
前記正弦波信号または、前記余弦波信号のうちの少なくとも一方と、所定の閾値とを比較して矩形波信号を出力する比較器と、
前記比較器から出力される前記矩形波信号のデューティ比もしくは前記矩形波信号の周期に基づいて、前記レゾルバの異常を判定する異常判定手段と
、を有する事を特徴とするレゾルバの異常検出装置。
In the resolver abnormality detection device for detecting an abnormality of the resolver based on a sine wave signal obtained by detecting an output signal from the resolver or a cosine wave signal,
A comparator that compares at least one of the sine wave signal or the cosine wave signal with a predetermined threshold and outputs a rectangular wave signal;
An abnormality detection device for a resolver, comprising: abnormality determination means for determining abnormality of the resolver based on a duty ratio of the rectangular wave signal output from the comparator or a period of the rectangular wave signal.
前記所定の閾値は、前記レゾルバの正常時に出力される前記正弦波信号または前記余弦波信号の平均値であって、前記異常判定手段は、前記比較器から出力される前記矩形波信号の前記デューティ比が50%から所定値以上乖離している場合に異常と判定することを特徴とする請求項1記載のレゾルバの異常検出装置。   The predetermined threshold is an average value of the sine wave signal or the cosine wave signal output when the resolver is normal, and the abnormality determination unit is configured to output the duty of the rectangular wave signal output from the comparator. The resolver abnormality detection device according to claim 1, wherein the abnormality is determined when the ratio deviates from 50% by a predetermined value or more. 前記異常判定手段は、前記比較器から出力される前記矩形波信号の前記デューティ比が50%から前記所定値以上乖離している状態が所定回数以上連続した場合に異常と判定することを特徴とする請求項2記載のレゾルバの異常検出装置。   The abnormality determining means determines that an abnormality occurs when a state where the duty ratio of the rectangular wave signal output from the comparator deviates from 50% by a predetermined value or more continues for a predetermined number of times. The resolver abnormality detection device according to claim 2. 前記所定の閾値は、前記レゾルバの正常時に出力される前記正弦波信号または前記余弦波信号の最大値以下、かつ最小値以上の所定の値であって、前記異常判定手段は、前記比較器から出力される前記矩形波信号の毎周期の前記デューティ比を検出し、検出した前記矩形波信号の前記デューティ比と1周期前の前記矩形波信号の前記デューティ比との差が所定値以上である場合に異常と判定することを特徴とする請求項1記載のレゾルバの異常検出装置。   The predetermined threshold is a predetermined value equal to or less than a maximum value and a minimum value of the sine wave signal or the cosine wave signal that is output when the resolver is normal. The duty ratio of each period of the output rectangular wave signal is detected, and the difference between the detected duty ratio of the rectangular wave signal and the duty ratio of the rectangular wave signal one period before is greater than or equal to a predetermined value. The resolver abnormality detection device according to claim 1, wherein the abnormality is determined to be abnormal. 前記所定の閾値は、レゾルバの正常時に出力される前記正弦波信号または前記余弦波信号の最大値以下、かつ最小値以上の所定の値であって、前記異常判定手段は、前記比較器から出力される前記矩形波信号の1周期あたりの長さである周期長を毎周期検出し、検出した前記矩形波信号の前記周期長と1周期前の前記矩形波信号の周期長との差が所定値以上である場合に異常と判定することを特徴とする請求項1記載のレゾルバの異常検出装置。   The predetermined threshold is a predetermined value that is equal to or less than the maximum value of the sine wave signal or the cosine wave signal that is output when the resolver is normal and is equal to or greater than the minimum value, and the abnormality determination unit outputs from the comparator The period length, which is the length per period of the rectangular wave signal, is detected every period, and the difference between the detected period length of the rectangular wave signal and the period length of the rectangular wave signal one period before is predetermined. The resolver abnormality detection apparatus according to claim 1, wherein an abnormality is determined when the value is equal to or greater than a value. 前記異常判定手段は、検出した前記矩形波信号の前記デューティ比と1周期前の前記矩形波信号の前記デューティ比との差が前記所定値以上である状態が所定時間内に所定回数以上検出された場合に異常と判定することを特徴とする請求項4に記載のレゾルバの異常検出装置。   The abnormality determining means detects a state where a difference between the detected duty ratio of the rectangular wave signal and the duty ratio of the rectangular wave signal one period before is equal to or greater than the predetermined value within a predetermined time. 5. The resolver abnormality detection device according to claim 4, wherein the abnormality is determined to be abnormal in the case of failure. 前記異常判定手段は、検出した前記矩形波信号の前記周期長と1周期前の前記矩形波信号の前記周期長との差が前記所定値以上である状態が所定時間内に所定回数以上検出された場合に異常と判定することを特徴とする請求項5に記載のレゾルバの異常検出装置。   The abnormality determination means detects a state where a difference between the period length of the detected rectangular wave signal and the period length of the rectangular wave signal one period before is equal to or more than the predetermined value within a predetermined time. 6. The resolver abnormality detection device according to claim 5, wherein the abnormality is determined to be abnormal in the case of failure. 前記正弦波信号と所定の閾値と比較して前記矩形波信号を出力する第1の比較器と、前記余弦波信号と前記所定の閾値と比較して前記矩形波信号を出力する第2の比較器とを有し、前記異常判定手段は、前記第1の比較器から出力された矩形波信号のデューティ比である第1のデューティ比と前記第2の比較器から出力された矩形波信号のデューティ比である第2のデューティ比とを比較し、前記第1のデューティ比と前記第2のデューティ比との差が所定値以上である場合に異常と判定することを特徴とする請求項1記載のレゾルバの異常検出装置。   A first comparator that outputs the rectangular wave signal by comparing the sine wave signal with a predetermined threshold value, and a second comparison that outputs the rectangular wave signal by comparing the cosine wave signal with the predetermined threshold value The abnormality determining means includes a first duty ratio that is a duty ratio of the rectangular wave signal output from the first comparator and a rectangular wave signal output from the second comparator. 2. A second duty ratio, which is a duty ratio, is compared, and an abnormality is determined when a difference between the first duty ratio and the second duty ratio is equal to or greater than a predetermined value. The resolver abnormality detection device described. 前記異常判定手段は、前記第1の比較器から出力された矩形波信号のデューティ比である前記第1のデューティ比と前記第2の比較器から出力された矩形波信号のデューティ比である前記第2のデューティ比とを比較し、前記第1のデューティ比と前記第2のデューティ比との差が前記所定値以上乖離している状態が所定回数以上連続した場合に異常と判定することを特徴とする請求項8記載のレゾルバの異常検出装置。   The abnormality determining means is the first duty ratio which is the duty ratio of the rectangular wave signal output from the first comparator and the duty ratio of the rectangular wave signal output from the second comparator. Comparing with a second duty ratio, and determining that an abnormality occurs when a state where the difference between the first duty ratio and the second duty ratio is more than the predetermined value continues for a predetermined number of times. The resolver abnormality detection device according to claim 8, wherein: 前記レゾルバの出力信号を検波して得られる前記正弦波信号または前記余弦波信号のうちの少なくとも一方と、前記レゾルバの正常時に出力される前記正弦波信号または前記余弦波信号の平均値に所定値を加算した値である第1の閾値とを比較する第3の比較器と、前記正弦波信号または前記余弦波信号のうちの少なくとも一方と、前記レゾルバの正常時に出力される正弦波信号または余弦波信号の平均値から前記所定値を減算した値である第2の閾値とを比較する第4の比較器とを有し、前記異常判定手段は、前記第3の比較器から出力された矩形波信号のデューティ比である第3のデューティ比と前記第4の比較器から出力された矩形波信号のデューティ比である第4のデューティ比とを加算した値が100%から所定値以上乖離した場合に異常と判定することを特徴とする請求項1記載のレゾルバの異常検出装置。   At least one of the sine wave signal or the cosine wave signal obtained by detecting the output signal of the resolver, and a predetermined value to an average value of the sine wave signal or the cosine wave signal output when the resolver is normal A third comparator that compares a first threshold value that is a value obtained by adding together, at least one of the sine wave signal or the cosine wave signal, and a sine wave signal or cosine output when the resolver is normal A fourth comparator that compares a second threshold value that is a value obtained by subtracting the predetermined value from an average value of the wave signal, and the abnormality determination means is a rectangle output from the third comparator. The sum of the third duty ratio, which is the duty ratio of the wave signal, and the fourth duty ratio, which is the duty ratio of the rectangular wave signal output from the fourth comparator, deviates from 100% by a predetermined value or more. Place Abnormality detection device of the resolver according to claim 1, wherein determining that abnormality. 前記異常判定手段は、前記第3の比較器から出力された矩形波信号のデューティ比である前記第3のデューティ比と前記第4の比較器から出力された矩形波信号のデューティ比である前記第4のデューティ比とを加算した値が100%から前記所定値以上乖離している状態が所定回数以上連続した場合に異常と判定することを特徴とする請求項10記載のレゾルバの異常検出装置。   The abnormality determining means is the third duty ratio, which is the duty ratio of the rectangular wave signal output from the third comparator, and the duty ratio of the rectangular wave signal output from the fourth comparator. The resolver abnormality detection device according to claim 10, wherein an abnormality is determined when a state in which a value obtained by adding the fourth duty ratio deviates from 100% by the predetermined value or more continues for a predetermined number of times or more. . 前記異常判定手段は、前記矩形波信号のデューティ比または周期長の異常が、前記レゾルバの所定の極において連続して発生している場合に異常と判定することを特徴とする請求項1〜11のいずれかに記載のレゾルバの異常検出装置。   The abnormality determination means determines that an abnormality occurs when an abnormality in the duty ratio or period length of the rectangular wave signal is continuously generated at a predetermined pole of the resolver. The resolver abnormality detection device according to any one of the above. レゾルバからの出力信号に基づいて、前記レゾルバの異常を検出するレゾルバの異常検出装置において、
前記レゾルバの出力信号の変調された正弦波信号と所定の閾値とを比較して矩形波信号を出力する第5の比較器と前記レゾルバの出力信号の変調された余弦波信号と前記所定の閾値とを比較して矩形波信号を出力する第6の比較器とを有し、
前記第5の比較器から出力される第1の矩形波信号から変調信号を除去する第1の除去手段と、前記第6の比較器から出力される第2の矩形波信号から変調信号を除去する第2の除去手段を有し、
前記第1の除去手段により変調信号が除去された第3の矩形波信号のデューティ比と、前記第2の除去手段により変調信号が除去された第4の矩形波信号のデューティ比とを比較し、前記第3の矩形波信号のデューティ比と前記第4の矩形波信号のデューティ比の差が所定値以上である場合に異常と判定する異常判定手段と
、を有する事を特徴とするレゾルバの異常検出装置。
In the resolver abnormality detection device for detecting an abnormality of the resolver based on an output signal from the resolver,
A fifth comparator for outputting a rectangular wave signal by comparing a modulated sine wave signal of the output signal of the resolver with a predetermined threshold, a modulated cosine wave signal of the output signal of the resolver, and the predetermined threshold And a sixth comparator that outputs a rectangular wave signal.
A first removing means for removing the modulation signal from the first rectangular wave signal output from the fifth comparator; and a modulation signal from the second rectangular wave signal output from the sixth comparator. Second removal means to
The duty ratio of the third rectangular wave signal from which the modulation signal has been removed by the first removal means is compared with the duty ratio of the fourth rectangular wave signal from which the modulation signal has been removed by the second removal means. And an abnormality determining means for determining an abnormality when a difference between the duty ratio of the third rectangular wave signal and the duty ratio of the fourth rectangular wave signal is equal to or greater than a predetermined value. Anomaly detection device.
前記異常判定手段は、前記第3の矩形波信号のデューティ比と前記第4の矩形波信号のデューティ比の差が前記所定値以上乖離している状態が所定回数以上連続した場合に、異常と判定することを特徴とする請求項13記載のレゾルバの異常検出装置。   The abnormality determination means determines that an abnormality is detected when a state where the difference between the duty ratio of the third rectangular wave signal and the duty ratio of the fourth rectangular wave signal is more than the predetermined value continues for a predetermined number of times. The resolver abnormality detection device according to claim 13, wherein the determination is performed.
JP2003270371A 2003-07-02 2003-07-02 Abnormality detector for resolver Pending JP2005024493A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003270371A JP2005024493A (en) 2003-07-02 2003-07-02 Abnormality detector for resolver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003270371A JP2005024493A (en) 2003-07-02 2003-07-02 Abnormality detector for resolver

Publications (1)

Publication Number Publication Date
JP2005024493A true JP2005024493A (en) 2005-01-27

Family

ID=34190337

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003270371A Pending JP2005024493A (en) 2003-07-02 2003-07-02 Abnormality detector for resolver

Country Status (1)

Country Link
JP (1) JP2005024493A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006349544A (en) * 2005-06-17 2006-12-28 Bosch Corp Device for detecting abnormality in wheel speed sensor
JP2007292697A (en) * 2006-04-27 2007-11-08 Jtekt Corp Device for measuring rotational position
JP2007322197A (en) * 2006-05-31 2007-12-13 Jtekt Corp Abnormality determining apparatus
EP1942315A2 (en) 2007-01-04 2008-07-09 Japan Aviation Electronics Industry, Limited Short-circuit detection circuit, resolver-digital converter, and digital angle detection apparatus
JP2009168546A (en) * 2008-01-15 2009-07-30 Tamagawa Seiki Co Ltd Method of converting analog signal into digital signal
JP2016033476A (en) * 2014-07-31 2016-03-10 旭化成エレクトロニクス株式会社 Non-contact rotation angle sensor
US9297672B2 (en) 2013-09-16 2016-03-29 Hyundai Motor Company Interface circuit for detecting fault of resolver and method thereof
CN107735651A (en) * 2015-06-18 2018-02-23 罗伯特·博世有限公司 For identifying the method and circuit of open circuit decomposer excitation wire
JP2018205166A (en) * 2017-06-06 2018-12-27 多摩川精機株式会社 Digital conversion method of analog signal
EP3812709A1 (en) * 2019-10-21 2021-04-28 Sick Ag Position measuring device
KR20220084545A (en) * 2020-12-14 2022-06-21 현대모비스 주식회사 Method and apparatus for detecting resolver error

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006349544A (en) * 2005-06-17 2006-12-28 Bosch Corp Device for detecting abnormality in wheel speed sensor
JP2007292697A (en) * 2006-04-27 2007-11-08 Jtekt Corp Device for measuring rotational position
JP2007322197A (en) * 2006-05-31 2007-12-13 Jtekt Corp Abnormality determining apparatus
US7840364B2 (en) 2007-01-04 2010-11-23 Japan Aviation Electronics Industry Limited Short-circuit detection circuit, resolver-digital converter, and digital angle detection apparatus
EP1942315A3 (en) * 2007-01-04 2009-10-28 Japan Aviation Electronics Industry, Limited Short-circuit detection circuit, resolver-digital converter, and digital angle detection apparatus
EP1942315A2 (en) 2007-01-04 2008-07-09 Japan Aviation Electronics Industry, Limited Short-circuit detection circuit, resolver-digital converter, and digital angle detection apparatus
JP2009168546A (en) * 2008-01-15 2009-07-30 Tamagawa Seiki Co Ltd Method of converting analog signal into digital signal
US9297672B2 (en) 2013-09-16 2016-03-29 Hyundai Motor Company Interface circuit for detecting fault of resolver and method thereof
JP2016033476A (en) * 2014-07-31 2016-03-10 旭化成エレクトロニクス株式会社 Non-contact rotation angle sensor
CN107735651A (en) * 2015-06-18 2018-02-23 罗伯特·博世有限公司 For identifying the method and circuit of open circuit decomposer excitation wire
JP2018205166A (en) * 2017-06-06 2018-12-27 多摩川精機株式会社 Digital conversion method of analog signal
EP3812709A1 (en) * 2019-10-21 2021-04-28 Sick Ag Position measuring device
KR20220084545A (en) * 2020-12-14 2022-06-21 현대모비스 주식회사 Method and apparatus for detecting resolver error
KR102492602B1 (en) * 2020-12-14 2023-01-27 현대모비스 주식회사 Method and apparatus for detecting resolver error

Similar Documents

Publication Publication Date Title
EP0978947B1 (en) Resolver signal processing system
JP4835606B2 (en) Rotating body phase / speed detector
US7859254B2 (en) Clock generation circuit, analog-digital angle converter using the same, and angle detection apparatus
US6522097B2 (en) Position detecting apparatus and abnormality detecting apparatus
JP2005049278A (en) Power source phase interruption sensing method of three-phase circuit converter
JP5569465B2 (en) Abnormality diagnosis device for amplitude modulation device
JP2005024493A (en) Abnormality detector for resolver
US20070043528A1 (en) Speed measurement system for speed control of high-speed motors
JP2010022150A (en) Microcomputer, motor control system, and method for converting resolver signal into digital signal
JP3460587B2 (en) Abnormality detector that detects abnormality of the rotation angle detector
CN109269804B (en) Wiring detection method and system
KR20080041111A (en) Apparatus and method for detecting rotation angle of rotating body
JP3136937B2 (en) Method and apparatus for detecting disconnection of resolver
JP2000039337A (en) Abnormality detection device detecting abnormality of rotation angle detection device
JP2008175660A (en) Abnormality detecting device and position detector equipped with abnormality detecting part
JP4662516B2 (en) Position detection device
JP6405512B2 (en) Apparatus and method for detecting abnormality of resolver excitation signal
US11555715B2 (en) Resolver signal processing device, drive apparatus, resolver signal processing method, and program
JPH11142448A (en) Phase difference detection circuit
JP4329916B2 (en) Train detector
KR19990043005A (en) Motor speed detection device using incremental encoder
JP2005017000A (en) Encoder
CN116859081A (en) Gear rotation direction detection device, method and sensor
JPH0466288B2 (en)
KR101773334B1 (en) Apparatus for detecting signal wire open