JPH11337372A - Abnormality detecting equipment for ic chip - Google Patents

Abnormality detecting equipment for ic chip

Info

Publication number
JPH11337372A
JPH11337372A JP14641198A JP14641198A JPH11337372A JP H11337372 A JPH11337372 A JP H11337372A JP 14641198 A JP14641198 A JP 14641198A JP 14641198 A JP14641198 A JP 14641198A JP H11337372 A JPH11337372 A JP H11337372A
Authority
JP
Japan
Prior art keywords
rotation angle
data
abnormality
value
converter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP14641198A
Other languages
Japanese (ja)
Other versions
JP3491526B2 (en
Inventor
Tadaichi Matsumoto
只一 松本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toyota Motor Corp
Original Assignee
Toyota Motor Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to 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

Abstract

PROBLEM TO BE SOLVED: To detect generation of deviation between a calculated rotation angle and a real rotation angle, in the control on the basis of the rotation angle of a rotary machine which is calculated from information on the change of rotation angle. SOLUTION: An R/D(resolver/digital) converter 14 outputs an A-phase signal showing normal rotation of a rotary machine and a B-phase signal showing inverse rotation. The R/D converter 14 outputs data ϕ showing the rotation angle itself (absolute value). On the basis of the A-phase signal and the B-phase signal, a CPU 40 calculates a rotation angle as data ψ. When the data ψ are compared with the data ϕ and does not coincide with the data ϕ, a judging part 48 of rotation angle abnormality judges an abnormality.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、一つの物理量を測
定して2種類の出力を得る測定装置の異常を検出する装
置に関し、特に前記2種類の出力が一つのICチップか
ら出力される装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a device for detecting an abnormality in a measuring device which measures one physical quantity and obtains two types of outputs, and in particular, a device in which the two types of outputs are output from one IC chip. About.

【0002】[0002]

【従来の技術】電動機などの回転機のロータの回転角を
検出するレゾルバが知られている。レゾルバで検出され
た回転角は、当該回転機の電流の制御などに用いられ
る。レゾルバの1次巻線に正弦波sinωtの信号を入力
すると、90°の位相差をもって配置された二つの2次
巻線には、それぞれモータ回転角θに応じて変調された
信号sinωtsinθ,sinωtcosθが得られる。R/Dコ
ンバータ(レゾルバ/デジタルコンバータ)は、前記の
レゾルバ出力に基づき回転角θを算出し、これを出力す
る。特に、ある種のR/Dコンバータにおいては、回転
角θが増加中(正転中)であるのか、減少中(逆転中)
であるのかを示す信号と、回転角θそのものを示す信号
の双方を出力するものが知られている。前者の出力を用
いる場合は、所定角度回転するごとに回転角θを前記所
定角度だけ増加もしくは減少させて、回転角θの算出を
行っている。後者の出力を用いる場合は、出力の示す値
そのものが絶対的な回転角θの値を示しているので、こ
の出力の値をそのまま回転角θとして用いればよい。
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 the rotation angle θ based on the output of the resolver, and outputs this. 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 the rotation angle θ itself is known. In the case of using the former output, the rotation angle θ is calculated by increasing or decreasing the rotation angle θ by the predetermined angle every 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 θ, the value of this output may be used as it is as the rotation angle θ.

【0003】[0003]

【発明が解決しようとする課題】回転機の制御に用いる
回転角として、後者、すなわち回転角そのものの値(以
下、絶対値と記す)を示す信号を用いる場合、回転機制
御用のCPU(中央処理装置)の負担が大きくなる。C
PUの負担を軽減するために、前者、すなわち回転角の
増減の情報を示す信号により、基準値からの回転角変化
を累積して推定した回転角θを用いる場合がある。しか
し、この方法においては、単に回転角の変化のみの情報
を用いているので、R/Dコンバータの異常などによ
り、算出された回転角と実際の回転角がずれても、算出
された回転角に基づき制御が実行される。実際には、制
御に用いる回転角が現実の回転角とずれているので制御
が成立しなくなるという問題があった。
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 (central processing unit) for controlling the rotation machine is used. Device). 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 on the change of the rotation angle is used, even if the calculated rotation angle and the actual rotation angle are shifted 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 is not established because the rotation angle used for the control is deviated from the actual rotation angle.

【0004】本発明は、前述の問題点を解決するために
なされたものであり、前回検出値からの変化を累積して
得られたある物理量と、当該物理量の現実の値とが一致
しなくなるような異常を検出することができる装置を提
供することを目的とする。
The present invention has been made to solve the above-mentioned problem, and a physical quantity obtained by accumulating a change from a previously detected 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.

【0005】また、本発明は、回転角の増減情報によっ
て算出した回転機の回転角と、現実の回転角が一致しな
くなるような、R/Dコンバータの異常を検出する装置
を提供することを目的とする。
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 a rotating machine calculated from rotation angle increase / decrease information does not match the actual rotation angle. Aim.

【0006】[0006]

【課題を解決するための手段】前述の課題を解決するた
めに、本発明に係るICチップの異常検出装置は、一つ
の物理量を、前回検出値からの変化である相対変化値
と、前記物理量の絶対的な値である絶対値との2種類の
値を出力する一つのICチップの異常を検出する装置で
あって、前記相対変化値を累積した累積値を算出する手
段と、前記累積値と前記絶対値を比較し、これらが実質
的に一致しないときに、前記ICチップに異常が発生し
たことを判定する手段と、を有している。
In order to solve the above-mentioned problem, an abnormality detection device for an IC chip according to the present invention comprises a physical quantity, a relative change value which is a change from a previous detection value, and the physical quantity. A device for detecting an abnormality of one IC chip which outputs two kinds of values, an absolute value which is an absolute value of the absolute value, a means for calculating a cumulative value obtained by accumulating the relative change values, Means for comparing the absolute value with the absolute value and determining that an abnormality has occurred in the IC chip when they do not substantially coincide with each other.

【0007】また、本発明に係るR/Dコンバータの異
常検出装置は、回転機の回転角に応じたレゾルバの出力
信号に基づき、回転角が所定角度増加したか、減少した
かを示す増減信号と、回転角の絶対値を示す信号とを出
力するR/Dコンバータの異常を検出する装置であっ
て、前記増減信号を累積して回転角を算出する手段と、
前記累積して得た回転角と前記回転角の絶対値とを比較
し、これらが実質的に一致しないときにR/Dコンバー
タに異常が発生したことを判定する手段と、を有してい
る。
The R / D converter abnormality detecting device according to the present invention is 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 rotation angle obtained by accumulation with the absolute value of the rotation angle, and determining that an abnormality has occurred in the R / D converter when the absolute values do not substantially coincide with each other. .

【0008】[0008]

【発明の実施の形態】以下、本発明の実施の形態(以下
実施形態という)を、図面に従って説明する。図1に
は、本実施形態の装置の概略構成が示されている。発振
器10は参照信号sinωtを出力し、これがレゾルバ1
2の1次コイルに印加される。レゾルバ12の90°の
位相差をもって配置された二つの2次コイルには、電動
機などの回転機の回転角θにより参照信号が変調された
電圧sinωtsinθ,sinωtcosθが発生し、これらがレ
ゾルバ信号として出力される。なお、レゾルバ信号の処
理において、位相のみが問題となるので、前記参照信号
およびレゾルバ信号は、振幅を1として説明する。
Embodiments of the present invention (hereinafter referred to as embodiments) will be described below with reference to the drawings. FIG. 1 shows a schematic configuration of the apparatus of the present embodiment. The oscillator 10 outputs a reference signal sinωt, which is
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.

【0009】レゾルバ信号は、R/Dコンバータ14に
送られ、掛算器16でそれぞれ cosφ,sinφを乗算
し、減算器18で減算し、sinωtsin(θ−φ)を得
る。位相差φについては後述する。この信号と参照信号
sinωtが検波器20に入力され、検波器20は変調成
分sin(θ−φ)のみ出力する。積分器22は、検波器
20の出力sin(θ−φ)を積分し、この値が正の所定
値を超えると、電圧制御発振器24は位相差φの値を増
加させる指示を行う。また、積分器22の出力が、前記
正の所定値と絶対値が等しい負の所定値未満であると、
電圧制御発振器24は位相差φの値を減少させる指示を
行う。
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 subtractor 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 the negative predetermined value whose absolute value is equal to the positive predetermined value,
The voltage control oscillator 24 issues an instruction to decrease the value of the phase difference φ.

【0010】電圧制御発振器24の増加、減少指示によ
り、12ビットアップ/ダウンカウンタ26の値が増
加、減少する。このカウンタ26に格納された値が位相
差φを表し、この位相差φがD/Aコンバータ(デジタ
ル/アナログコンバータ)28を介して、掛算器16に
入力され、前述の演算が行われる。
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.

【0011】以上の回路、すなわち掛算器16から減算
器18、検波器20、積分器22、電圧制御発振器2
4、カウンタ26、D/Aコンバータ28までは、フィ
ードバック回路を形成し、位相(θ−φ)が0となるま
で、すなわち回転角θとカウンタ26のカウント値φが
一致するまで、演算を繰り返す。したがって、フィード
バックが収束した後は、カウンタ26のカウント値φ
は、回転角θを表すものとなる。なお、このカウンタ値
φの収束に要する時間は、本実施形態の場合、約1ms
である。
The above circuits, ie, the multiplier 16 to the subtractor 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.

【0012】カウンタ26の下位の2ビットの出力に基
づき、エンコーダI/F(エンコーダインタフェイス)
は、回転機の回転方向を表すA相信号とB相信号を出力
する。これらの相信号は、互いに位相が90°ずれた方
形波信号であり、A相の位相が進んでいる場合は回転機
が正転していることを示し、逆にB相が進んでいる場合
は逆転していることを示す。カウンタ値φがカウントア
ップまたはダウンされるごとにA相、B相信号が出力さ
れる。
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 indicating 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.

【0013】カウンタ26の全ビットの出力はゼロ判定
部32に送られ、カウンタ26がゼロになったことがこ
こで判定されると、このゼロ判定部32からZ相を示す
信号が出力される。このZ相信号は、回転機の1回転に
つき1回出力される。
The outputs of all the bits of the counter 26 are sent to a zero judging section 32. When it is judged here that the counter 26 has become zero, a signal indicating the Z phase is output from the zero judging section 32. . This Z-phase signal is output once per rotation of the rotating machine.

【0014】一方、後述する回転機制御用のCPU40
からラッチ信号CSを受けると、ラッチ回路34がこの
ときのカウンタ26の値φをラッチし、シリアルI/F
(シリアルインタフェイス)36に格納する。そして、
CPU40からのクロック信号CLKに従ってシリアル
I/F36からデータを出力する。
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.

【0015】以上のR/Dコンバータ14は、R/Dコ
ンバータ用電源38からの電力により駆動される。
The above R / D converter 14 is driven by the power from the R / D converter power supply 38.

【0016】回転機制御用CPU40は、シリアルI/
F36からの出力を絶対値データ格納部42に格納す
る。格納されたデータは、ラッチ指示がなされたときの
カウンタ値φであり、またこれは回転角θを表してい
る。回転機の起動時にあっては、さらに絶対値データ格
納部42のデータφを制御用データ格納部44に転送
し、これが制御用回転角のデータψの初期値となる。シ
リアルI/F36からのデータの読み出しは、本実施形
態において2msごとに行われ、絶対値データ格納部4
2に格納されたデータはこのたびに更新される。
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 a 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 is performed in the absolute value data storage unit 4.
2 is updated each time.

【0017】一方、前述のA相、B相信号およびZ相信
号を受けたCPU40のエンコーダI/F46は、A
相、B相信号の位相に基づき制御用データ格納部44に
格納されたデータψの値を増加、減少させて更新する。
すなわち、A相がB相に対して進んでいればデータψを
増加させ、逆にB相が進んでいればデータψを減少させ
る。また、Z相信号が検出されると制御用データ格納部
44をクリアしデータψを0にする。各部が正常に機能
すれば、カウンタ26のカウント値φ、制御用回転角デ
ータψは、現実の回転角θに実質的に一致する。そし
て、CPU40は、このデータψに基づき回転機の相電
流の制御を行う。
On the other hand, the encoder I / F 46 of the CPU 40 that has received the above-mentioned A-phase, B-phase and Z-phase signals
The value of the 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 ψ.

【0018】このように、本実施形態においては、初期
値のみシリアルI/F36から読み出せば、以後エンコ
ーダI/F30とゼロ判定部32の出力のみで回転角θ
(=データψ)を算出することができる。しかし、一
旦、何らかの原因で制御用データ格納部44に格納され
たデータψが、現実の回転角θからずれると、Z相信号
が受信されるまで、このずれは修正されない。例えば、
エンコーダI/F30からのA相、B相信号線の一方が
断線すれば、それ以後Z相信号が受信されるまで、デー
タψは固着し、回転角θと一致しない。この様子が図2
に示されている。図2は、回転期が一定速度で回転中
に、時刻t1において、A相B相いずれかの信号線が断
線した場合を示している。時刻t1以後回転角θは増加
するが、データψは固着してしまい、これらにずれが生
じる。したがって、データψに基づいて回転機の相電流
を制御することができなくなる。
As described above, in the present 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, this 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 broken, 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 any one of the A-phase and B-phase signal lines is broken at time t1 during the rotation period during rotation at a constant speed. After the time t1, the rotation angle θ increases, but the data ψ is stuck, causing a shift between them. Therefore, it becomes impossible to control the phase current of the rotating machine based on the data ψ.

【0019】また、カウンタ26が正常なカウントアッ
プ、ダウンを行わなかったときもデータψが回転角θを
表さなくなる。例えば、カウントアップ中に、あるビッ
トのデータが桁上がりにより1になるべきところ0のま
まであったりすると、前述のフィードバック作用により
カウント値φは、回転角θに一致するようにと、増加ま
たは減少する。この増加または減少がエンコーダI/F
30に検出され、A相、B相信号が出力され、これに基
づきデータψも増加または減少される。この増減は、回
転角θが変化したため生じたのではなく、ずれの生じた
カウント値φを回転角θに一致させるためのR/Dコン
バータ14の内部処理により生じたものである。この処
理により、データφは回転角θを表すようになるが、一
方データψは回転角θからずれてしまう。このずれもZ
相信号が受信されるまで、解消されない。図3は、この
故障モードを示すものである。時刻t2において、「1
1111111」が「100000000」となるとこ
ろ最上位のビットが0から1とならず「0000000
00」となったときのデータφとデータψを示してい
る。データφは、一旦ゼロとなるが、フィードバック作
用により約1msで現実の回転角θを表すものとなる。
しかし、前記のフィードバック作用により、次々とデー
タφが増加することで回転機が正転していると判断され
るため、データψは、増加し回転角θからずれていく。
フィードバックが収束し、データφが回転角θを表すよ
うになると、データψのずれはこれ以上大きくならない
が、次にZ相信号が受信されるまでこのずれは解消され
ない。
Also, when the counter 26 does not perform normal counting up and counting down, the data ψ does not represent the rotation angle θ. For example, during the count-up, if a certain bit of data should remain at 0 where it should become 1 due to a carry, the count value φ increases or becomes equal to the rotation angle θ by the above-described feedback action. Decrease. This increase or decrease corresponds to the encoder I / F.
The A and B phase signals are detected at 30 and the data ψ is increased or decreased based on this. 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 φ with 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 data ψ when the data becomes“ 00 ”. The data φ temporarily 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 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.

【0020】以上のような故障が生じた場合、これを検
出するために、本実施形態には、回転角異常判定部48
が設けられている。すなわち、CPU40は、絶対値デ
ータ格納部42のデータφと、制御用データ格納部44
のデータψを比較し、これらの値が一致するかを監視
し、実質的に等しいときR/Dコンバータ14が正常に
機能し、データψが回転角θを適切に表していると判断
する。逆に、データψのデータφに対する偏差が所定値
以上となったとき、データψが回転角θを表していない
と判断する。異常判定がなされると、異常処理50が実
行され、回転機が停止される。
In order to detect the occurrence of a failure as described above, the present embodiment employs a rotation angle abnormality determination 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 ψ properly 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.

【0021】なお、R/Dコンバータ用電源38の電圧
が低下した場合、および絶対値データ格納部42のデー
タφが信頼できないと判断された場合は、前述のデータ
ψの異常判定は行わない。電源電圧が低下したときは、
R/Dコンバータ14が正常に作動していないと考えら
れるので、データφもデータψも回転角θを表していな
い可能性があり、これらの比較は意味がない。また、絶
対値データφが信頼できないときに、これと制御用デー
タψを比較しても意味がない。よって、このときの前記
の異常判定は行わないようにしている。
When the voltage of the power supply 38 for the R / D converter drops 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.

【0022】R/Dコンバータ用電源38の異常は、C
PU40の電源異常判定部52にて判定される。また、
絶対値データφの異常は、絶対値異常判定部54にて判
定される。CPU40は、シリアルI/F36のデータ
の読み出しを2回続けて行い、2回のデータが実質的に
一致する場合に、絶対値データφが正常であると判定す
る。実際には、2回のデータ読出しにはわずかではある
が時間差があるので、回転機が回転していれば、2回の
データは若干異なる。2回のデータが回転機の回転によ
ると考えられる以上に差がある場合、読み込まれた絶対
値データφが異常値であると判定される。
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 data from 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.

【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)。また、異常カウン
タが所定値未満であれば、異常判定を保留し、所定時間
経過後、再び本フローを実行する。
FIG. 4 shows a flowchart relating to abnormality detection of the R / D converter of the present embodiment. This process is performed periodically, that is, every 2 ms in the present embodiment. When the timing of the process comes, the absolute value data φ of the rotation angle of the motor is read from the serial I / F 36 into the CPU 40 (S100). This reading is performed twice in succession. If the two values are substantially equal, the reading of the absolute value, that is, the 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 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 more than a predetermined value (S116). If the abnormality counter is equal to or more than the predetermined value, it is determined that the R / D converter 14 or the 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.

【0024】以上のように、R/Dコンバータ14から
出力される回転角θの値を直接示すデータφと、R/D
コンバータ14から出力される正転か逆転かを示す信号
に基づき算出された回転角θを表すデータψを監視し
て、これらが不一致の場合、R/Dコンバータ14の故
障が判定される。故障が判定されたときは、回転機の制
御を中止する。ただし、初期設定が終了していれば、デ
ータφがなくても回転機の制御は可能であるので、デー
タφが異常であると判断された場合には、図4に示す制
御においては、直接回転機制御を中止しない。また、R
/Dコンバータ用電源38が異常である場合にも、R/
Dコンバータ14そのものの異常ではないので、これに
より直接回転機の制御を中止することはない。データφ
の異常、電源38の異常については、他の監視フローに
よって、回転機の制御を中止するか否かの判定が行われ
る。
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 there is no abnormality in the D converter 14 itself, the control of the rotating machine is not directly stopped. Data φ
With respect to the abnormality of the power supply 38 and the abnormality of the power supply 38, it is determined whether or not to stop the control of the rotating machine by another monitoring flow.

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

【図1】 本実施形態の概略構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing a schematic configuration of the present embodiment.

【図2】 回転機の正転、逆転の情報に基づき算出され
た回転角のデータψと、回転角の実際の値を示すデータ
φの、異常発生時の変化を示す図である。
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.

【図3】 回転機の正転、逆転の情報に基づき算出され
た回転角のデータψと、回転角の実際の値を示すデータ
φの、異常発生時の変化を示す図である。
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.

【図4】 本実施形態の制御フローを示すチャートであ
る。
FIG. 4 is a chart showing a control flow of the embodiment.

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

12 レゾルバ、14 R/Dコンバータ、26 アッ
プ/ダウンカウンタ(カウンタ)、40 CPU、42
絶対値データ格納部、44 制御用データ格納部、4
8 回転角異常判定部。
12 resolver, 14 R / D converter, 26 up / down counter (counter), 40 CPU, 42
Absolute value data storage, 44 Control data storage, 4
8 Abnormal rotation angle determination unit.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 一つの物理量を、前回検出値からの変化
である相対変化値と、前記物理量の絶対的な値である絶
対値との2種類の値を出力する一つのICチップの異常
を検出する装置であって、 前記相対変化値を累積した累積値を算出する手段と、 前記累積値と前記絶対値を比較し、これらが実質的に一
致しないときに、前記ICチップに異常が発生したこと
を判定する手段と、を有するICチップの異常検出装
置。
1. An abnormality of one IC chip which outputs one physical quantity as two kinds of values, a relative change value which is a change from a previous detection value and an absolute value which is an absolute value of the physical quantity. Means for calculating an accumulated value obtained by accumulating the relative change values, comparing the accumulated value with the absolute value, and when these do not substantially match, an abnormality occurs in the IC chip. Means for determining that an error has occurred in the IC chip.
【請求項2】 回転機の回転角に応じたレゾルバの出力
信号に基づき、回転角が所定角度増加したか、減少した
かを示す増減信号と、回転角の絶対値を示す信号とを出
力するR/Dコンバータの異常を検出する装置であっ
て、 前記増減信号を累積して回転角を算出する手段と、 前記累積して得た回転角と前記回転角の絶対値とを比較
し、これらが実質的に一致しないときにR/Dコンバー
タに異常が発生したことを判定する手段と、を有するR
/Dコンバータの異常検出装置。
2. An increase / decrease signal indicating whether the rotation angle has increased or decreased by a predetermined angle and a signal indicating the absolute value of the rotation angle based on an output signal of a resolver corresponding to the rotation angle of the rotating machine. An apparatus for detecting an abnormality of an R / D converter, comprising: means for accumulating the increase / decrease signal to calculate a rotation angle; and comparing the accumulated rotation angle with an absolute value of the rotation angle. Means for determining that an abnormality has occurred in the R / D converter when the values do not substantially coincide with each other.
/ D converter abnormality detection device.
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 true JPH11337372A (en) 1999-12-10
JP3491526B2 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)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005065362A (en) * 2003-08-12 2005-03-10 Aisin Aw Co Ltd Motor drive, motor drive controller and motor drive controlling method
WO2008053582A1 (en) * 2006-11-02 2008-05-08 Ntn Corporation Rotation detecting device, and bearing having rotation detecting device
WO2008053581A1 (en) * 2006-11-02 2008-05-08 Ntn Corporation Rotation detector and rotation detector-equipped bearing
JP2008116300A (en) * 2006-11-02 2008-05-22 Ntn Corp Rotation detector and bearing with the rotation detector
EP2063339A1 (en) * 2006-10-31 2009-05-27 Byd Company Limited Control method of electromotor
JP2018200262A (en) * 2017-05-29 2018-12-20 ファナック株式会社 Encoder system with abnormality detection function and abnormality detection method
JPWO2021240191A1 (en) * 2020-05-28 2021-12-02

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7372223B2 (en) 2003-08-12 2008-05-13 Aisin Aw Co., Ltd. Electric drive control apparatus and method
JP2005065362A (en) * 2003-08-12 2005-03-10 Aisin Aw Co Ltd Motor drive, motor drive controller and motor drive controlling method
EP2063339A4 (en) * 2006-10-31 2010-02-03 Byd Co Ltd Control method of electromotor
EP2063339A1 (en) * 2006-10-31 2009-05-27 Byd Company Limited Control method of electromotor
US8207701B2 (en) 2006-10-31 2012-06-26 Byd Company, Ltd. Control method of electromotor
WO2008053581A1 (en) * 2006-11-02 2008-05-08 Ntn Corporation Rotation detector and rotation detector-equipped bearing
JP2008116300A (en) * 2006-11-02 2008-05-22 Ntn Corp Rotation detector and bearing with the rotation detector
WO2008053582A1 (en) * 2006-11-02 2008-05-08 Ntn Corporation Rotation detecting device, and bearing having rotation detecting device
US8040129B2 (en) 2006-11-02 2011-10-18 Ntn Corporation Rotation detector and rotation detector-equipped bearing
JP2018200262A (en) * 2017-05-29 2018-12-20 ファナック株式会社 Encoder system with abnormality detection function and abnormality detection method
US10360784B2 (en) 2017-05-29 2019-07-23 Fanuc Corporation Encoder system having function of detecting abnormality, and method for detecting abnormality of the same
JPWO2021240191A1 (en) * 2020-05-28 2021-12-02
WO2021240191A1 (en) * 2020-05-28 2021-12-02 日産自動車株式会社 Monitoring control device and monitoring control method
US11781887B2 (en) 2020-05-28 2023-10-10 Nissan Motor Co., Ltd. Monitoring control device and monitoring control method

Also Published As

Publication number Publication date
JP3491526B2 (en) 2004-01-26

Similar Documents

Publication Publication Date Title
US5689170A (en) Fail-safe control apparatus for electric vehicle driving motor
JP3216491B2 (en) Resolver abnormality detection apparatus and method
JP4235145B2 (en) Motor control device
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
JP2004045286A (en) Method of correcting resolver
JP3630410B2 (en) Position detection apparatus and abnormality detection apparatus
JP6124112B2 (en) AC motor control device and control method
CN109073411B (en) Fault determination device and fault determination method for angle detector of rotating electrical machine
US11463033B2 (en) Apparatus, system, and method for controlling motor
WO2020145069A1 (en) Abnormality diagnostic device of rotation angle sensor of the motor, and motor control device
JP3460587B2 (en) Abnormality detector that detects abnormality of the rotation angle detector
CN109217758B (en) Online identification method for rotary transformer zero point, motor controller and storage medium
WO2023116626A1 (en) Position deviation calibration method, electric motor driving method and system, and device
JP3491526B2 (en) IC chip abnormality detection device
JP2007315994A (en) Method for detecting changes in temperature of a rotary electrical machine, and a device thereof
JP5141149B2 (en) Motor control device and vehicle equipped with the same
CN110601633A (en) Permanent magnet synchronous motor initial phase detection system
US7723940B2 (en) Non-redundant safety monitoring for an electric drive mechanism (with a sensor)
JP2001343253A (en) Method of detecting abnormality of resolver
US6922028B2 (en) Controller for permanent magnet motor
JP4051833B2 (en) Vector controller for permanent magnet synchronous motor
JPH11337371A (en) Rotation angle detecting equipment of rotary machine
JP2003319682A (en) Controller for permanent magnet synchronous motor
US11539318B2 (en) Method for determining a correction value which describes an angular difference between an assumed and an actual position of a d-axis, control device and inverter

Legal Events

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

Free format text: PAYMENT UNTIL: 20081114

Year of fee payment: 5

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

Year of fee payment: 5

Free format text: PAYMENT UNTIL: 20081114

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

Year of fee payment: 6

Free format text: PAYMENT UNTIL: 20091114

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

Free format text: PAYMENT UNTIL: 20101114

Year of fee payment: 7

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

Year of fee payment: 7

Free format text: PAYMENT UNTIL: 20101114

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

Year of fee payment: 8

Free format text: PAYMENT UNTIL: 20111114

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

Year of fee payment: 8

Free format text: PAYMENT UNTIL: 20111114

FPAY Renewal fee payment (prs 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