[go: up one dir, main page]

JP3491526B2 - IC chip abnormality detection device - Google Patents

IC chip abnormality detection device

Info

Publication number
JP3491526B2
JP3491526B2 JP14641198A JP14641198A JP3491526B2 JP 3491526 B2 JP3491526 B2 JP 3491526B2 JP 14641198 A JP14641198 A JP 14641198A JP 14641198 A JP14641198 A JP 14641198A JP 3491526 B2 JP3491526 B2 JP 3491526B2
Authority
JP
Japan
Prior art keywords
rotation angle
data
abnormality
converter
value
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.)
Expired - Fee Related
Application number
JP14641198A
Other languages
Japanese (ja)
Other versions
JPH11337372A (en
Inventor
只一 松本
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 JP14641198A priority Critical patent/JP3491526B2/en
Publication of JPH11337372A publication Critical patent/JPH11337372A/en
Application granted granted Critical
Publication of JP3491526B2 publication Critical patent/JP3491526B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 【0001】 【発明の属する技術分野】本発明は、一つの物理量を測
定して2種類の出力を得る測定装置の異常を検出する装
置に関し、特に前記2種類の出力が一つのICチップか
ら出力される装置に関する。 【0002】 【従来の技術】電動機などの回転機のロータの回転角を
検出するレゾルバが知られている。レゾルバで検出され
た回転角は、当該回転機の電流の制御などに用いられ
る。レゾルバの1次巻線に正弦波sinωtの信号を入力
すると、90°の位相差をもって配置された二つの2次
巻線には、それぞれモータ回転角θに応じて変調された
信号sinωtsinθ,sinωtcosθが得られる。R/Dコ
ンバータ(レゾルバ/デジタルコンバータ)は、前記の
レゾルバ出力に基づき回転角θを算出し、これを出力す
る。特に、ある種のR/Dコンバータにおいては、回転
角θが増加中(正転中)であるのか、減少中(逆転中)
であるのかを示す信号と、回転角θそのものを示す信号
の双方を出力するものが知られている。前者の出力を用
いる場合は、所定角度回転するごとに回転角θを前記所
定角度だけ増加もしくは減少させて、回転角θの算出を
行っている。後者の出力を用いる場合は、出力の示す値
そのものが絶対的な回転角θの値を示しているので、こ
の出力の値をそのまま回転角θとして用いればよい。 【0003】 【発明が解決しようとする課題】回転機の制御に用いる
回転角として、後者、すなわち回転角そのものの値(以
下、絶対値と記す)を示す信号を用いる場合、回転機制
御用のCPU(中央処理装置)の負担が大きくなる。C
PUの負担を軽減するために、前者、すなわち回転角の
増減の情報を示す信号により、基準値からの回転角変化
を累積して推定した回転角θを用いる場合がある。しか
し、この方法においては、単に回転角の変化のみの情報
を用いているので、R/Dコンバータの異常などによ
り、算出された回転角と実際の回転角がずれても、算出
された回転角に基づき制御が実行される。実際には、制
御に用いる回転角が現実の回転角とずれているので制御
が成立しなくなるという問題があった。 【0004】本発明は、前述の問題点を解決するために
なされたものであり、前回検出値からの変化を累積して
得られたある物理量と、当該物理量の現実の値とが一致
しなくなるような異常を検出することができる装置を提
供することを目的とする。 【0005】また、本発明は、回転角の増減情報によっ
て算出した回転機の回転角と、現実の回転角が一致しな
くなるような、R/Dコンバータの異常を検出する装置
を提供することを目的とする。 【0006】 【課題を解決するための手段】前述の課題を解決するた
めに、本発明に係るICチップの異常検出装置は、一つ
の物理量を、前回検出値からの変化である相対変化値
と、前記物理量の絶対的な値である絶対値との2種類の
値を出力する一つのICチップの異常を検出する装置で
あって、前記相対変化値を累積した累積値を算出する手
段と、前記累積値と前記絶対値を比較し、これらが実質
的に一致しないときに、前記ICチップに異常が発生し
たことを判定する手段と、を有している。 【0007】 また、本発明に係るR/Dコンバータの
異常検出装置は、回転機の回転角に応じたレゾルバの出
力信号に基づき、回転角が所定角度増加したか、減少し
たかを示す増減信号と、回転角の絶対値を示す信号とを
出力するR/Dコンバータの異常を検出する装置であっ
て、前記増減信号を累積して回転角を算出する手段と、
前記累積して得た回転角と前記回転角の絶対値とを比較
し、これらが実質的に一致しないときにR/Dコンバー
タに異常が発生したことを判定する手段と、を有してい
る。さらに、R/Dコンバータの電源の電圧が所定時間
連続して低下した状態にあることを判定する電源状態判
定手段を有し、この手段により、電源電圧の低下が判定
された場合には、前記R/Dコンバータの異常判定を行
わないようにしている。 【0008】 【発明の実施の形態】以下、本発明の実施の形態(以下
実施形態という)を、図面に従って説明する。図1に
は、本実施形態の装置の概略構成が示されている。発振
器10は参照信号sinωtを出力し、これがレゾルバ1
2の1次コイルに印加される。レゾルバ12の90°の
位相差をもって配置された二つの2次コイルには、電動
機などの回転機の回転角θにより参照信号が変調された
電圧sinωtsinθ,sinωtcosθが発生し、これらがレ
ゾルバ信号として出力される。なお、レゾルバ信号の処
理において、位相のみが問題となるので、前記参照信号
およびレゾルバ信号は、振幅を1として説明する。 【0009】レゾルバ信号は、R/Dコンバータ14に
送られ、掛算器16でそれぞれ cosφ,sinφを乗算
し、減算器18で減算し、sinωtsin(θ−φ)を得
る。位相差φについては後述する。この信号と参照信号
sinωtが検波器20に入力され、検波器20は変調成
分sin(θ−φ)のみ出力する。積分器22は、検波器
20の出力sin(θ−φ)を積分し、この値が正の所定
値を超えると、電圧制御発振器24は位相差φの値を増
加させる指示を行う。また、積分器22の出力が、前記
正の所定値と絶対値が等しい負の所定値未満であると、
電圧制御発振器24は位相差φの値を減少させる指示を
行う。 【0010】電圧制御発振器24の増加、減少指示によ
り、12ビットアップ/ダウンカウンタ26の値が増
加、減少する。このカウンタ26に格納された値が位相
差φを表し、この位相差φがD/Aコンバータ(デジタ
ル/アナログコンバータ)28を介して、掛算器16に
入力され、前述の演算が行われる。 【0011】以上の回路、すなわち掛算器16から減算
器18、検波器20、積分器22、電圧制御発振器2
4、カウンタ26、D/Aコンバータ28までは、フィ
ードバック回路を形成し、位相(θ−φ)が0となるま
で、すなわち回転角θとカウンタ26のカウント値φが
一致するまで、演算を繰り返す。したがって、フィード
バックが収束した後は、カウンタ26のカウント値φ
は、回転角θを表すものとなる。なお、このカウンタ値
φの収束に要する時間は、本実施形態の場合、約1ms
である。 【0012】カウンタ26の下位の2ビットの出力に基
づき、エンコーダI/F(エンコーダインタフェイス)
は、回転機の回転方向を表すA相信号とB相信号を出力
する。これらの相信号は、互いに位相が90°ずれた方
形波信号であり、A相の位相が進んでいる場合は回転機
が正転していることを示し、逆にB相が進んでいる場合
は逆転していることを示す。カウンタ値φがカウントア
ップまたはダウンされるごとにA相、B相信号が出力さ
れる。 【0013】カウンタ26の全ビットの出力はゼロ判定
部32に送られ、カウンタ26がゼロになったことがこ
こで判定されると、このゼロ判定部32からZ相を示す
信号が出力される。このZ相信号は、回転機の1回転に
つき1回出力される。 【0014】一方、後述する回転機制御用のCPU40
からラッチ信号CSを受けると、ラッチ回路34がこの
ときのカウンタ26の値φをラッチし、シリアルI/F
(シリアルインタフェイス)36に格納する。そして、
CPU40からのクロック信号CLKに従ってシリアル
I/F36からデータを出力する。 【0015】以上のR/Dコンバータ14は、R/Dコ
ンバータ用電源38からの電力により駆動される。 【0016】回転機制御用CPU40は、シリアルI/
F36からの出力を絶対値データ格納部42に格納す
る。格納されたデータは、ラッチ指示がなされたときの
カウンタ値φであり、またこれは回転角θを表してい
る。回転機の起動時にあっては、さらに絶対値データ格
納部42のデータφを制御用データ格納部44に転送
し、これが制御用回転角のデータψの初期値となる。シ
リアルI/F36からのデータの読み出しは、本実施形
態において2msごとに行われ、絶対値データ格納部4
2に格納されたデータはこのたびに更新される。 【0017】一方、前述のA相、B相信号およびZ相信
号を受けたCPU40のエンコーダI/F46は、A
相、B相信号の位相に基づき制御用データ格納部44に
格納されたデータψの値を増加、減少させて更新する。
すなわち、A相がB相に対して進んでいればデータψを
増加させ、逆にB相が進んでいればデータψを減少させ
る。また、Z相信号が検出されると制御用データ格納部
44をクリアしデータψを0にする。各部が正常に機能
すれば、カウンタ26のカウント値φ、制御用回転角デ
ータψは、現実の回転角θに実質的に一致する。そし
て、CPU40は、このデータψに基づき回転機の相電
流の制御を行う。 【0018】このように、本実施形態においては、初期
値のみシリアルI/F36から読み出せば、以後エンコ
ーダI/F30とゼロ判定部32の出力のみで回転角θ
(=データψ)を算出することができる。しかし、一
旦、何らかの原因で制御用データ格納部44に格納され
たデータψが、現実の回転角θからずれると、Z相信号
が受信されるまで、このずれは修正されない。例えば、
エンコーダI/F30からのA相、B相信号線の一方が
断線すれば、それ以後Z相信号が受信されるまで、デー
タψは固着し、回転角θと一致しない。この様子が図2
に示されている。図2は、回転が一定速度で回転中
に、時刻t1において、A相B相いずれかの信号線が断
線した場合を示している。時刻t1以後回転角θは増加
するが、データψは固着してしまい、これらにずれが生
じる。したがって、データψに基づいて回転機の相電流
を制御することができなくなる。 【0019】また、カウンタ26が正常なカウントアッ
プ、ダウンを行わなかったときもデータψが回転角θを
表さなくなる。例えば、カウントアップ中に、あるビッ
トのデータが桁上がりにより1になるべきところ0のま
まであったりすると、前述のフィードバック作用により
カウント値φは、回転角θに一致するようにと、増加ま
たは減少する。この増加または減少がエンコーダI/F
30に検出され、A相、B相信号が出力され、これに基
づきデータψも増加または減少される。この増減は、回
転角θが変化したため生じたのではなく、ずれの生じた
カウント値φを回転角θに一致させるためのR/Dコン
バータ14の内部処理により生じたものである。この処
理により、データφは回転角θを表すようになるが、一
方データψは回転角θからずれてしまう。このずれもZ
相信号が受信されるまで、解消されない。図3は、この
故障モードを示すものである。時刻t2において、「1
1111111」が「100000000」となるとこ
ろ最上位のビットが0から1とならず「0000000
00」となったときのデータφとデータψを示してい
る。データφは、一旦ゼロとなるが、フィードバック作
用により約1msで現実の回転角θを表すものとなる。
しかし、前記のフィードバック作用により、次々とデー
タφが増加することで回転機が正転していると判断され
るため、データψは、増加し回転角θからずれていく。
フィードバックが収束し、データφが回転角θを表すよ
うになると、データψのずれはこれ以上大きくならない
が、次にZ相信号が受信されるまでこのずれは解消され
ない。 【0020】以上のような故障が生じた場合、これを検
出するために、本実施形態には、回転角異常判定部48
が設けられている。すなわち、CPU40は、絶対値デ
ータ格納部42のデータφと、制御用データ格納部44
のデータψを比較し、これらの値が一致するかを監視
し、実質的に等しいときR/Dコンバータ14が正常に
機能し、データψが回転角θを適切に表していると判断
する。逆に、データψのデータφに対する偏差が所定値
以上となったとき、データψが回転角θを表していない
と判断する。異常判定がなされると、異常処理50が実
行され、回転機が停止される。 【0021】なお、R/Dコンバータ用電源38の電圧
が低下した場合、および絶対値データ格納部42のデー
タφが信頼できないと判断された場合は、前述のデータ
ψの異常判定は行わない。電源電圧が低下したときは、
R/Dコンバータ14が正常に作動していないと考えら
れるので、データφもデータψも回転角θを表していな
い可能性があり、これらの比較は意味がない。また、絶
対値データφが信頼できないときに、これと制御用デー
タψを比較しても意味がない。よって、このときの前記
の異常判定は行わないようにしている。 【0022】R/Dコンバータ用電源38の異常は、C
PU40の電源異常判定部52にて判定される。また、
絶対値データφの異常は、絶対値異常判定部54にて判
定される。CPU40は、シリアルI/F36のデータ
の読み出しを2回続けて行い、2回のデータが実質的に
一致する場合に、絶対値データφが正常であると判定す
る。実際には、2回のデータ読出しにはわずかではある
が時間差があるので、回転機が回転していれば、2回の
データは若干異なる。2回のデータが回転機の回転によ
ると考えられる以上に差がある場合、読み込まれた絶対
値データφが異常値であると判定される。 【0023】図4には、本実施形態のR/Dコンバータ
の異常検出に関するフローチャートが示されている。こ
の処理は定期的、本実施形態においては2msごとに行
われ、処理のタイミングとなるとモータの回転角の絶対
値データφがシリアルI/F36からCPU40に読み
込まれる(S100)。この読込みは、2回続けて行わ
れ、2回の値が実質的に等しければ、絶対値の読み込
み、すなわちシリアル通信は正常と判断され、実質的に
等しくなければ異常と判断される(S102)。絶対値
データφに異常があった場合、異常カウンタをクリアし
(S104)、本処理による異常判定は行わない。デー
タφが正常に読み込まれていると判定されると、次にR
/Dコンバータ用電源38が所定時間以上連続して正常
状態であるかが判定される(S106)。電源38が正
常でない場合、異常カウンタをクリアして(S10
8)、本処理による異常判定は行わない。電源38が正
常である場合、次にデータφとデータψの差を算出し、
これが所定値以上であるかが判断される(S110)。
所定値未満であれば異常カウンタをクリアし(S11
2)、所定値以上であれば異常カウンタをインクリメン
トする(S114)。そして、異常カウンタが所定値以
上であるかが判定され(S116)、所定値以上であれ
ばR/Dコンバータ14またはその電源38に異常があ
るとの判定を確定する(S118)。また、異常カウン
タが所定値未満であれば、異常判定を保留し、所定時間
経過後、再び本フローを実行する。 【0024】以上のように、R/Dコンバータ14から
出力される回転角θの値を直接示すデータφと、R/D
コンバータ14から出力される正転か逆転かを示す信号
に基づき算出された回転角θを表すデータψを監視し
て、これらが不一致の場合、R/Dコンバータ14の故
障が判定される。故障が判定されたときは、回転機の制
御を中止する。ただし、初期設定が終了していれば、デ
ータφがなくても回転機の制御は可能であるので、デー
タφが異常であると判断された場合には、図4に示す制
御においては、直接回転機制御を中止しない。また、R
/Dコンバータ用電源38が異常である場合にも、R/
Dコンバータ14そのものの異常ではないので、これに
より直接回転機の制御を中止することはない。データφ
の異常、電源38の異常については、他の監視フローに
よって、回転機の制御を中止するか否かの判定が行われ
る。
Description: BACKGROUND OF THE INVENTION [0001] 1. Field of the Invention [0002] The present invention relates to a device for detecting an abnormality of a measuring device which measures one physical quantity and obtains two types of outputs, and more particularly to the two types of outputs. Is output from one IC chip. 2. Description of the Related Art A resolver for detecting a rotation angle of a rotor of a rotating machine such as an electric motor is known. The rotation angle detected by the resolver 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, signals sinωtsinθ and sinωtcosθ modulated according to the motor rotation angle θ are respectively applied to two secondary windings arranged with a phase difference of 90 °. can get. The R / D converter (resolver / digital converter) calculates a rotation angle θ based on the output of the resolver and outputs the calculated rotation angle θ. In particular, in a certain type of R / D converter, the rotation angle θ is increasing (forward rotation) or decreasing (reverse rotation).
A signal that outputs both a signal indicating whether the rotation angle θ and a signal indicating the rotation angle θ itself is known. When the former output is used, the rotation angle θ is calculated by increasing or decreasing the rotation angle θ by the predetermined angle each time the motor rotates by a predetermined angle. In the case of using the latter output, since the value indicated by the output itself indicates the absolute value of the rotation angle θ, this output value may be used as it is as the rotation angle θ. [0003] When the latter, that is, a signal indicating the value of the rotation angle itself (hereinafter, referred to as an absolute value) is used as the rotation angle used for controlling the rotation machine, a CPU for controlling the rotation machine is used. The load on the (central processing unit) increases. C
In order to reduce the load on the PU, the former, that is, the rotation angle θ estimated by accumulating the change in the rotation angle from the reference value based on the signal indicating the information of the increase or decrease of the rotation angle may be used. However, in this method, since only the information of the change of the rotation angle is used, even if the calculated rotation angle is deviated from the actual rotation angle due to an abnormality of the R / D converter, the calculated rotation angle is calculated. The control is executed based on. Actually, there is a problem that the control cannot be established because the rotation angle used for the control is deviated from the actual rotation angle. The present invention has been made to solve the above-described problem, and a physical quantity obtained by accumulating a change from a previous detection value does not match an actual value of the physical quantity. It is an object of the present invention to provide a device capable of detecting such an abnormality. Another object of the present invention is to provide an apparatus for detecting an abnormality of an R / D converter such that the rotation angle of the rotating machine calculated based on the increase / decrease information of the rotation angle does not match the actual rotation angle. Aim. [0006] In order to solve the above-mentioned problems, an IC chip abnormality detection apparatus according to the present invention is provided with one physical quantity and a relative change value which is a change from a previous detection value. A device for detecting an abnormality of one IC chip that outputs two kinds of values, an absolute value that is an absolute value of the physical quantity, and a means for calculating an accumulated value obtained by accumulating the relative change values; Means for comparing the accumulated value with the absolute value, and determining that an abnormality has occurred in the IC chip when they do not substantially match. Further, the abnormality detection device for an R / D converter according to the present invention provides an increase / decrease signal indicating whether the rotation angle has increased or decreased by a predetermined angle based on an output signal of a resolver corresponding to the rotation angle of the rotating machine. And a device for detecting an abnormality of the R / D converter that outputs a signal indicating an absolute value of the rotation angle, wherein a means for calculating the rotation angle by accumulating the increase / decrease signal
Means for comparing the cumulatively obtained rotation angle with the absolute value of the rotation angle, and determining that an abnormality has occurred in the R / D converter when they do not substantially match. . Further, the voltage of the power supply of the R / D converter is set for a predetermined time.
Power status judgment to judge that the status is continuously lowered
Means for determining the drop in power supply voltage
If it is determined that the R / D converter is abnormal,
I do not know. [0008] 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 the apparatus of the present embodiment. The oscillator 10 outputs a reference signal sinωt, which
2 is applied to the primary coil. Voltages sinωtsinθ 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 in two secondary coils arranged with a phase difference of 90 ° of the resolver 12, and these are output as resolver signals. Is done. 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. The resolver signal is sent to an R / D converter 14, where it is multiplied by cos φ and sin φ by a multiplier 16 and subtracted by a subtracter 18 to obtain sinωtsin (θ−φ). The phase difference φ will be described later. This signal and the reference signal
sinωt is input to the detector 20, and the detector 20 outputs only the modulation component sin (θ−φ). The integrator 22 integrates the output sin (θ−φ) of the detector 20, and when this value exceeds a predetermined positive value, the voltage controlled oscillator 24 instructs to increase the value of the phase difference φ. Further, when the output of the integrator 22 is less than a negative predetermined value whose absolute value is equal to the positive predetermined value,
The voltage controlled oscillator 24 issues an instruction to decrease the value of the phase difference φ. The value of the 12-bit up / down counter 26 increases or decreases in response to an increase or decrease instruction of the voltage controlled oscillator 24. The value stored in the counter 26 represents the phase difference φ, and the phase difference φ is input to the multiplier 16 via a D / A converter (digital / analog converter) 28, and the above-described calculation is performed. The above circuits, ie, the multiplier 16 to the subtracter 18, the detector 20, the integrator 22, and the voltage controlled oscillator 2
4, a feedback circuit is formed up to the counter 26 and the D / A converter 28, and the calculation is repeated until the phase (θ−φ) becomes 0, that is, until the rotation angle θ matches the count value φ of the counter 26. . Therefore, after the feedback has converged, the count value φ of the counter 26
Represents the rotation angle θ. In this embodiment, the time required for the convergence of the counter value φ is about 1 ms.
It is. An encoder I / F (encoder interface) based on the lower 2 bits output of the counter 26
Outputs an A-phase signal and a B-phase signal representing the rotation direction of the rotating machine. These phase signals are square wave signals whose phases are shifted from each other by 90 °. When the phase of the A phase is advanced, it indicates that the rotating machine is rotating forward, and when the B phase is advanced, Indicates that it is reversed. The A-phase and B-phase signals are output each time the counter value φ is counted up or down. The outputs of all the bits of the counter 26 are sent to a zero determination unit 32. When it is determined that the counter 26 has become zero, a signal indicating the Z phase is output from the zero determination unit 32. . This Z-phase signal is output once per rotation of the rotating machine. On the other hand, a CPU 40 for controlling a rotating machine described later
Receives latch signal CS from latch circuit 34, latches value φ of counter 26 at this time, and outputs serial I / F
(Serial interface) 36. And
Data is output from serial I / F 36 according to clock signal CLK from CPU 40. The above R / D converter 14 is driven by power from an R / D converter power supply 38. The rotating machine control CPU 40 has a serial I / O
The output from F36 is stored in the absolute value data storage unit 42. The stored data is a counter value φ when a latch instruction is issued, and represents the rotation angle θ. When the rotating machine is started, the data φ in the absolute value data storage unit 42 is further transferred to the control data storage unit 44, and this is the initial value of the control rotation angle data ψ. The reading of data from the serial I / F 36 is performed every 2 ms in the present embodiment, and the absolute value data storage unit 4
2 is updated each time. On the other hand, the encoder I / F 46 of the CPU 40 receiving the above-mentioned A-phase, B-phase and Z-phase signals
The value of data ψ stored in the control data storage unit 44 is updated by increasing or decreasing based on the phases of the phase and B-phase signals.
That is, if the phase A is advanced with respect to the phase B, the data ψ is increased, and if the phase B is advanced, the data ψ is decreased. When the Z-phase signal is detected, the control data storage section 44 is cleared and the data ψ is set to 0. If each section functions normally, the count value φ of the counter 26 and the control rotation angle data ψ substantially match the actual rotation angle θ. Then, the CPU 40 controls the phase current of the rotating machine based on the data ψ. As described above, in this embodiment, if only the initial value is read out from the serial I / F 36, the rotation angle θ can be obtained only from the outputs of the encoder I / F 30 and the zero determination unit 32.
(= Data ψ) can be calculated. However, once the data ψ stored in the control data storage unit 44 deviates from the actual rotation angle θ for some reason, the deviation is not corrected until the Z-phase signal is received. For example,
If one of the A-phase and B-phase signal lines from the encoder I / F 30 is disconnected, the data ψ is fixed and does not match the rotation angle θ until the Z-phase signal is received thereafter. This is shown in FIG.
Is shown in FIG. 2 shows a case where one of the A-phase and B-phase signal lines is disconnected at time t1 while the rotating machine is rotating at a constant speed. After the time t1, the rotation angle θ increases, but the data ψ is stuck and there is a shift between them. Therefore, it becomes impossible to control the phase current of the rotating machine based on data ψ. Also, when the counter 26 does not count up or down normally, the data ψ does not represent the rotation angle θ. For example, if the data of a certain bit should remain at 0 where it should become 1 due to a carry during the count-up, the count value φ increases or decreases to match the rotation angle θ by the above-described feedback action. Decrease. This increase or decrease depends on the encoder I / F.
30 and outputs the A-phase and B-phase signals, based on which the data ψ is increased or decreased. This increase / decrease is not caused by a change in the rotation angle θ, but is caused by an internal process of the R / D converter 14 for matching the shifted count value φ to the rotation angle θ. By this processing, the data φ represents the rotation angle θ, while the data ψ deviates from the rotation angle θ. This shift is also Z
It is not resolved until the phase signal is received. FIG. 3 shows this failure mode. At time t2, “1”
When “111111” becomes “10000000”, the most significant bit does not change from 0 to 1 but becomes “00000000”.
00 ”and the data φ and data ψ. The data φ once becomes zero, but represents the actual rotation angle θ in about 1 ms due to the feedback action.
However, since the data φ is successively increased by the above-mentioned feedback action, it is determined that the rotating machine is rotating forward. Therefore, the data ψ increases and deviates from the rotation angle θ.
When the feedback converges and the data φ indicates the rotation angle θ, the deviation of the data ψ does not increase any more, but this deviation is not eliminated until the next Z-phase signal is received. In order to detect the occurrence of a failure as described above, the present embodiment employs a rotation angle abnormality determining unit 48.
Is provided. That is, the CPU 40 stores the data φ in the absolute value data storage 42 and the control data storage 44
And it is monitored whether or not these values match, and when they are substantially equal, it is determined that the R / D converter 14 functions normally and the data ψ appropriately represents the rotation angle θ. Conversely, when the deviation of the data ψ from the data φ is equal to or larger than a predetermined value, it is determined that the data ψ does not represent the rotation angle θ. When the abnormality is determined, the abnormality processing 50 is executed, and the rotating machine is stopped. When the voltage of the power supply 38 for the R / D converter is lowered, and when it is determined that the data φ in the absolute value data storage section 42 is not reliable, the above-described abnormality determination of the data ψ is not performed. When the power supply voltage drops,
Since it is considered that the R / D converter 14 is not operating normally, there is a possibility that neither the data φ nor the data 表 indicates the rotation angle θ, and these comparisons are meaningless. When the absolute value data φ is not reliable, there is no point in comparing the absolute value data φ with the control data ψ. Therefore, the abnormality determination at this time is not performed. The abnormality of the R / D converter power supply 38
The determination is made by the power supply abnormality determination unit 52 of the PU 40. Also,
Abnormality of the absolute value data φ is determined by the absolute value abnormality determining unit 54. The CPU 40 reads the data of the serial I / F 36 twice in succession, and determines that the absolute value data φ is normal when the two data substantially match. Actually, there is a slight time difference between the two data readings, so the two data are slightly different if the rotating machine is rotating. If there is a difference between the two data that is considered to be due to the rotation of the rotating machine, the read absolute value data φ is determined to be an abnormal value. FIG. 4 shows a flowchart relating to abnormality detection of the R / D converter of the present embodiment. This processing is performed periodically, that is, every 2 ms in this embodiment, and when the processing timing comes, the absolute value data φ of the rotation angle of the motor is read into the CPU 40 from the serial I / F 36 (S100). This reading is performed twice in succession. If the two values are substantially equal, the reading of the absolute value, that is, serial communication is determined to be normal, and if not substantially equal, it is determined to be abnormal (S102). . If there is an abnormality in the absolute value data φ, the abnormality counter is cleared (S104), and the abnormality determination by this processing is not performed. If it is determined that the data φ has been read normally, then R
It is determined whether the / D converter power supply 38 is in a normal state continuously for a predetermined time or more (S106). If the power supply 38 is not normal, the abnormality counter is cleared (S10
8), the abnormality determination by this processing is not performed. If the power supply 38 is normal, then the difference between the data φ and the data ψ is calculated,
It is determined whether this is equal to or greater than a predetermined value (S110).
If less than the predetermined value, the abnormality counter is cleared (S11
2) If the value is equal to or more than the predetermined value, the abnormality counter is incremented (S114). Then, it is determined whether the abnormality counter is equal to or greater than a predetermined value (S116). If the abnormality counter is equal to or greater than the predetermined value, it is determined that the R / D converter 14 or its power supply 38 has an abnormality (S118). If the abnormality counter is less than the predetermined value, the abnormality determination is suspended, and after a predetermined time has elapsed, the present flow is executed again. As described above, the data φ directly indicating the value of the rotation angle θ output from the R / D converter 14 and the R / D
The data ψ representing the rotation angle θ calculated based on the signal indicating whether the rotation is forward or reverse output from the converter 14 is monitored, and if they do not match, the failure of the R / D converter 14 is determined. If a failure is determined, the control of the rotating machine is stopped. However, if the initial setting is completed, the rotating machine can be controlled without the data φ, and if the data φ is determined to be abnormal, the control shown in FIG. Do not cancel rotating machine control. Also, R
Even when the power supply 38 for the / D converter is abnormal, the R /
Since the D converter 14 itself is not abnormal, the control of the rotating machine is not directly stopped. Data φ
For the abnormality of the power supply 38 and the abnormality of the power supply 38, it is determined by another monitoring flow whether or not the control of the rotating machine is stopped.

【図面の簡単な説明】 【図1】 本実施形態の概略構成を示すブロック図であ
る。 【図2】 回転機の正転、逆転の情報に基づき算出され
た回転角のデータψと、回転角の実際の値を示すデータ
φの、異常発生時の変化を示す図である。 【図3】 回転機の正転、逆転の情報に基づき算出され
た回転角のデータψと、回転角の実際の値を示すデータ
φの、異常発生時の変化を示す図である。 【図4】 本実施形態の制御フローを示すチャートであ
る。 【符号の説明】 12 レゾルバ、14 R/Dコンバータ、26 アッ
プ/ダウンカウンタ(カウンタ)、40 CPU、42
絶対値データ格納部、44 制御用データ格納部、4
8 回転角異常判定部。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing a schematic configuration of the present embodiment. FIG. 2 is a diagram showing changes in rotation angle data ψ calculated based on information on normal rotation and reverse rotation of a rotating machine and data φ indicating an actual value of the rotation angle when an abnormality occurs. FIG. 3 is a diagram showing changes in rotation angle data ψ calculated based on information on normal rotation and reverse rotation of a rotating machine and data φ indicating an actual value of the rotation angle when an abnormality occurs. FIG. 4 is a chart showing a control flow of the embodiment. [Description of References] 12 resolver, 14 R / D converter, 26 up / down counter (counter), 40 CPU, 42
Absolute value data storage unit, 44 control data storage unit, 4
8 Abnormal rotation angle determination unit.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G01D 5/00 - 5/62 H02K 24/00 G01D 18/00 - 21/02 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int. Cl. 7 , DB name) G01D 5/00-5/62 H02K 24/00 G01D 18/00-21/02

Claims (1)

(57)【特許請求の範囲】 【請求項1】回転機の回転角に応じた一つのレゾルバの
出力信号に基づき、回転角が所定角度増加したか、減少
したかを示す増減信号と、回転角の絶対値を示す信号と
を出力するR/Dコンバータの異常を検出する装置であ
って、 前記増減信号を累積して回転角を算出する手段と、 前記累積して得た回転角と前記回転角の絶対値とを比較
し、これらが実質的に一致しないときにR/Dコンバー
タに異常が発生したことを判定する手段と、R/Dコンバータの電源の電圧が所定時間連続して低下
した状態にあることを判定する電源状態判定手段と、を
有し、 前記R/Dコンバータの異常発生を判定する手段は、前
記電源状態判定手段により電源電圧の低下が判定された
場合、異常判定を行わない、 R/Dコンバータの異常検
出装置。
(57) [Claim 1] An increase / decrease signal indicating whether the rotation angle has increased or decreased by a predetermined angle, based on an output signal of one resolver corresponding to the rotation angle of the rotating machine, and a rotation signal. An apparatus for detecting an abnormality of an R / D converter that outputs a signal indicating an absolute value of an angle, a unit that calculates a rotation angle by accumulating the increase / decrease signal, Means for comparing the absolute value of the rotation angle with the absolute value of the rotation angle to determine that an abnormality has occurred in the R / D converter when they do not substantially coincide with each other;
Power state determining means for determining that the
A, means for determining abnormality of the R / D converter, before
The power supply state determining means determines that the power supply voltage has dropped.
In the case, the abnormality determination is not performed . The abnormality detection device of the R / D converter.
JP14641198A 1998-05-27 1998-05-27 IC chip abnormality detection device Expired - Fee Related JP3491526B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14641198A JP3491526B2 (en) 1998-05-27 1998-05-27 IC chip abnormality detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14641198A JP3491526B2 (en) 1998-05-27 1998-05-27 IC chip abnormality detection device

Publications (2)

Publication Number Publication Date
JPH11337372A JPH11337372A (en) 1999-12-10
JP3491526B2 true JP3491526B2 (en) 2004-01-26

Family

ID=15407096

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14641198A Expired - Fee Related JP3491526B2 (en) 1998-05-27 1998-05-27 IC chip abnormality detection device

Country Status (1)

Country Link
JP (1) JP3491526B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4225150B2 (en) * 2003-08-12 2009-02-18 アイシン・エィ・ダブリュ株式会社 Electric drive control device and electric drive control method
US8207701B2 (en) 2006-10-31 2012-06-26 Byd Company, Ltd. Control method of electromotor
WO2008053582A1 (en) * 2006-11-02 2008-05-08 Ntn Corporation Rotation detecting device, and bearing having rotation detecting device
JP2008116291A (en) 2006-11-02 2008-05-22 Ntn Corp Rotation detector and bearing with the rotation detector
JP4823021B2 (en) * 2006-11-02 2011-11-24 Ntn株式会社 Rotation detection device and bearing with rotation detection device
JP6549637B2 (en) * 2017-05-29 2019-07-24 ファナック株式会社 Encoder system having abnormality detection function and abnormality detection method
BR112022024150A2 (en) 2020-05-28 2022-12-27 Nissan Motor MONITORING CONTROL DEVICE AND MONITORING CONTROL METHOD

Also Published As

Publication number Publication date
JPH11337372A (en) 1999-12-10

Similar Documents

Publication Publication Date Title
US5689170A (en) Fail-safe control apparatus for electric vehicle driving motor
US6694287B2 (en) Phase angle diagnostics for sinusoidal controlled electric machine
CN108322103B (en) Permanent magnet synchronous motor phase sequence correction method and device
JP3216491B2 (en) Resolver abnormality detection apparatus and method
EP0883234B1 (en) Drive circuit for brushless motor
US8791715B2 (en) Method for monitoring a controller of a three-phase electric motor and/or the electric motor
JP2002310727A (en) Abnormality detecting device for position detecting system and method thereof
CN103986387B (en) The control device and control method of ac motor
JPH0763829A (en) Load measuring apparatus
JP3491526B2 (en) IC chip abnormality detection device
JP3460587B2 (en) Abnormality detector that detects abnormality of the rotation angle detector
US6822416B1 (en) Device for monitoring the measuring system of an electric drive
JP2007315994A (en) Method and apparatus for detecting temperature change of rotating electrical machine
WO2023116626A1 (en) Position deviation calibration method, electric motor driving method and system, and device
CN109217758A (en) Rotation becomes zero point on-line identification method, electric machine controller and storage medium
US6922028B2 (en) Controller for permanent magnet motor
KR102146496B1 (en) Synchronous Generator
JPH11337371A (en) Rotation angle detecting equipment of rotary machine
JP2021044938A (en) Motor control device and control method thereof
JP2001078486A (en) Vector controller of permanent magnet system of synchronous motor
JP2648231B2 (en) Motor control device
CN110663168A (en) Rotation angle detection device and AC rotating machine control device
JPH1114691A (en) Disconnection detector for sensor
JP2002350184A (en) Failure detection method for encoder for ac servo
JPH06269191A (en) Controller for servo motor

Legal Events

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

Free format text: PAYMENT UNTIL: 20081114

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20081114

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20091114

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20101114

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20101114

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20111114

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20111114

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20121114

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees