JPH07143604A - Electric motor vehicle controller - Google Patents

Electric motor vehicle controller

Info

Publication number
JPH07143604A
JPH07143604A JP5282903A JP28290393A JPH07143604A JP H07143604 A JPH07143604 A JP H07143604A JP 5282903 A JP5282903 A JP 5282903A JP 28290393 A JP28290393 A JP 28290393A JP H07143604 A JPH07143604 A JP H07143604A
Authority
JP
Japan
Prior art keywords
control
calculation
unit
failure
control means
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
JP5282903A
Other languages
Japanese (ja)
Inventor
Yusuke Takamoto
祐介 高本
Ryozo Masaki
良三 正木
Nobuyoshi Muto
信義 武藤
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP5282903A priority Critical patent/JPH07143604A/en
Publication of JPH07143604A publication Critical patent/JPH07143604A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P29/00Arrangements for regulating or controlling electric motors, appropriate for both AC and DC motors
    • H02P29/02Providing protection against overload without automatic interruption of supply
    • H02P29/032Preventing damage to the motor, e.g. setting individual current limits for different drive conditions

Abstract

PURPOSE:To provide an electric motor vehicle controller having high reliability by conducting double check of comparing executing cycle periods with calculated results of microprocessors, deciding the fault of the microprocessor if the period is normal but the calculated result is abnormal and outputting the normal calculated result of the microprocessor. CONSTITUTION:Faults of a first microprocessor 1 having a split calculator of a vehicle controller 11 and a sub-motor controller 12 and a second microprocessor 2 having a split calculator of a sub-vehicle controller 15 and a motor controller 18 are decided by a microprocessor fault deciding circuit 3 from the combination of a watch dot signal 24 and a microprocessor fault detection signal 25. Faults of various sensors are decided by a sensor fault detector 4, and a fault mode diagnosing circuit 5 switches a switching circuit 6, a switch 16 and a control pulse switching unit 23 to a normal control, a complementary control, a stop control, etc.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は電気車の制御装置に係
り、特に電気自動車に好適な制御装置に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control device for an electric vehicle, and more particularly to a control device suitable for an electric vehicle.

【0002】[0002]

【従来の技術】従来の電気自動車制御装置としては、特
開平1−164201号公報に開示されているものがある。こ
れによれば正から副へのコントローラの切り替え可能な
構成とし、電気自動車の走行制御中に正のコントローラ
が誤動作したとき副のコントローラに切り替えることに
より電気自動車の走行制御の信頼性を向上するものであ
る。
2. Description of the Related Art As a conventional electric vehicle control device, there is one disclosed in JP-A-1-164201. According to this, the configuration is such that the controller can be switched from the primary to the secondary, and when the positive controller malfunctions during the traveling control of the electric vehicle, the reliability of the traveling control of the electric vehicle is improved by switching to the secondary controller. Is.

【0003】また、自動車用制御装置として特開昭61−
49154号公報に開示されているものがある。これはお互
いに同等に構成された第1、第2の二つのマイクロコン
ピュータを備え、複数の制御項目を二つに分割して各分
割制御項目毎にそれぞれ正規の制御処理を行う主タスク
と簡略化された制御処理を行う副タスクとを用意して、
一方の分割制御項目を正規に実行する主タスクと他方の
分割制御項目を簡略化して実行する副タスクとを第1の
マイクロコンピュータに分担させ、一方の分割制御項目
を簡略化して実行する副タスクと他方の分割制御項目を
正規に実行する主タスクとを第二のマイクロコンピュー
タに分担させるようにし、いずれか一方のマイクロコン
ピュータの動作異常時にはその異常が生じたマイクロコ
ンピュータからの制御出力信号を禁止するとともに、異
常を生じていない方のマイクロコンピュータが主タスク
及び副タスクをそれぞれ実行することにより得られる主
制御出力信号及び副制御出力信号を被制御系に送ること
により、比較的小規模かつ低コストな構成でもって、マ
イクロコンピュータの動作に異常が生じた場合のバック
アップ機能を備えつつ、ハードウェア資源の利用効率を
高めることができるとともに処理能力、特に処理速度の
向上を可能にする。
Further, as an automobile control device, Japanese Patent Laid-Open No. 61-
Some are disclosed in Japanese Patent No. 49154. This is provided with two microcomputers, that is, a first microcomputer and a second microcomputer, which are configured in the same way as each other, and divides a plurality of control items into two and simplifies the main task of performing a regular control process for each divided control item. Prepare a sub-task that performs simplified control processing,
A subtask that causes the first microcomputer to share a main task that normally executes one division control item and a subtask that simplifies and executes the other division control item, and simplifies and executes one division control item. And the main task of executing the other division control item normally is shared by the second microcomputer, and when one of the microcomputers has an abnormal operation, the control output signal from the abnormal microcomputer is prohibited. In addition, by sending the main control output signal and the sub control output signal obtained by executing the main task and the sub task to the controlled system by the microcomputer in which no abnormality has occurred, a relatively small scale and low Equipped with a backup function in case of abnormal operation of the microcomputer due to its costly configuration One, together with the processing capability can improve the use efficiency of hardware resources, it is possible in particular to improve the processing speed.

【0004】[0004]

【発明が解決しようとする課題】上記従来技術(特開平
1−164201号公報)は信頼性向上のために、二個のコン
トローラを使用して正から副への切り換え可能としてい
るが、正のコントローラが故障とならない限り、副のコ
ントローラは待機状態にある。従って、正常であるとき
は電気自動車の制御性能は、正のコントローラの性能だ
けで定まってしまい、故障の発見が遅れる場合がある。
そして、副のコントローラの処理能力は生かされていな
いというもったいない面があり、また、余り長く待機状
態にあると、故障しても判らず、いざという場合に不安
な面もある。
DISCLOSURE OF THE INVENTION Problems to be Solved by the Invention
1-164201 gazette), it is possible to switch from primary to secondary by using two controllers to improve reliability, but the secondary controller is in standby state unless the primary controller fails. . Therefore, when it is normal, the control performance of the electric vehicle is determined only by the performance of the positive controller, which may delay the discovery of the failure.
Then, there is a waste that the processing capacity of the sub controller is not utilized, and if it is in a standby state for too long, it may not be possible to understand even if it breaks down, and there is also a concern when it is necessary.

【0005】また、上記従来技術(特開昭61−49154号
公報)は、複数種類の制御項目を二分割し、制御項目毎
に正副の処理を設け、二個のコントローラがそれぞれ単
独に、演算処理を行い、被制御系に制御信号を出力する
ものである。この方式は、二つのコントローラ間での故
障検出にプログラムのループ実行サイクルの周期を監視
しているだけであり、制御処理の結果の異常については
判断を行っていない。制御項目毎に正副の処理を設け
て、二個のコントローラに分担しているのであるから、
一個のコントローラのプログラムのループ実行サイクル
の周期が異常となった場合は、残りのコントローラの副
の制御処理によってエンジン制御が可能であるが、プロ
グラムのループ実行サイクルの周期は正常であっても、
正の制御処理の結果に異常がある場合には、異常な制御
信号が被制御系に出力されると言う問題がある。
Further, in the above-mentioned prior art (Japanese Patent Laid-Open No. 61-49154), a plurality of types of control items are divided into two, primary and secondary processing is provided for each control item, and the two controllers independently operate. It performs processing and outputs a control signal to the controlled system. This method only monitors the cycle of the loop execution cycle of the program for detecting the failure between the two controllers, and does not judge the abnormality of the result of the control processing. Since the primary and secondary processes are provided for each control item, and are shared by the two controllers,
If the cycle of the loop execution cycle of the program of one controller becomes abnormal, engine control is possible by the sub-control processing of the remaining controller, but even if the cycle of the loop execution cycle of the program is normal,
If the result of the positive control process is abnormal, there is a problem that an abnormal control signal is output to the controlled system.

【0006】そこで、本発明の目的は、正副二個のコン
トローラを、常時働かせ、正のコントローラにのみ依存
されない信頼性の高い走行制御を有する電気自動車制御
装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide an electric vehicle control device which has a reliable two-way controller in which two primary and secondary controllers are always operated and which has a highly reliable traveling control independent of the positive controller.

【0007】さらにまた、電気自動車の走行制御は、電
気自動車の走行状態を検知する検知手段である速度セン
サや電流センサを用いて、例えば、電動機の回転速度や
電流を検知し、これを帰還しコントローラにて制御処理
し行われている。従って、コントローラの故障以外に、
これらの速度センサまたは電流センサなどの故障も考え
られる。この場合の信頼性の確保についても、上記従来
技術に記述されていない。
Furthermore, the traveling control of an electric vehicle uses, for example, a speed sensor or a current sensor, which is a detection means for detecting the traveling state of the electric vehicle, to detect, for example, the rotation speed or current of the electric motor and feed back the detected result. It is controlled by the controller. Therefore, besides the controller failure,
Failure of these speed sensors or current sensors is also possible. The securing of reliability in this case is also not described in the above-mentioned prior art.

【0008】そして、本発明の第二の目的は、速度セン
サまたは電流センサなどの故障に対する補完制御を付加
し、更に信頼性が向上する電気自動車制御装置を提供す
ることにある。
A second object of the present invention is to provide an electric vehicle control device which is supplemented with a complementary control for a failure of a speed sensor or a current sensor and further improved in reliability.

【0009】[0009]

【課題を解決するための手段】上記第一の目的は、電気
自動車を駆動する電動機と、前記電動機に電力を供給す
る電力変換手段と、前記電気自動車の走行状態を検知す
る検知手段と、前記検知手段からの検知情報に基づいて
前記電力変換手段を制御する制御指令を演算する制御手
段とを備え、前記制御手段は、前記制御指令の演算を実
行する演算部を第一の演算部と第二の演算部との二つに
分割し、当該第一の演算部と当該第二の演算部毎にそれ
ぞれ正規の制御演算を実行する正演算部と簡略化した制
御演算を実行する副演算部とを用意したものであって、
当該第一正演算部と当該第二副演算部を含む第一制御手
段と、当該第一副演算部と当該第二正演算部を含む第二
制御手段とを有し、前記第一制御手段は、前記第二制御
手段が演算実行サイクル毎に発するウオッチドグ信号の
周期と、前記第一制御手段が実行する前記第一正演算部
の演算結果と前記第二制御手段が実行する前記第一副演
算部の演算結果の差および前記第一制御手段が実行する
前記第二副演算部の演算結果と前記第二制御手段が実行
する前記第二正演算部の演算結果の差とから、前記第二
制御手段の故障を検知し、第二制御手段故障検知信号を
出力する第二制御手段故障検知手段を有し、前記第二制
御手段は、前記第一制御手段が演算実行サイクル毎に発
するウオッチドグ信号の周期と、前記第一正演算部の演
算結果と前記第一副演算部の演算結果の差および前記第
二副演算部の演算結果と前記第二正演算部の演算結果の
差とから、前記第一制御手段の故障を検知し、第一制御
手段故障検知信号を出力する第一制御手段故障検知手段
を有し、前記第一制御手段の前記ウオッチドグ信号の周
期と、前記第二制御手段の前記ウオッチドグ信号の周期
と、前記第一制御手段故障検知信号と、前記第二制御手
段故障検知信号との組み合わせから、前記第一制御手段
または前記第二制御手段の故障を判定し、切替信号を出
力する制御手段故障判定手段と、前記切替信号に応じて
前記第一正演算部の演算結果と前記第一副演算部の演算
結果を切り替える第一切替手段と、前記切替信号に応じ
て前記第二正演算部の演算結果と前記第二副演算部の演
算結果を切り替える第二切替手段とを設けたことによっ
て達成される。
The first object is to provide an electric motor for driving an electric vehicle, an electric power converting means for supplying electric power to the electric motor, a detecting means for detecting a running state of the electric vehicle, A control unit that calculates a control command for controlling the power conversion unit based on detection information from the detection unit, wherein the control unit includes a first calculation unit that executes a calculation of the control command and a first calculation unit. A first arithmetic unit and a second arithmetic unit, and a sub arithmetic unit that executes a normal control arithmetic operation and a simplified arithmetic operation. And prepared,
A first control means including the first positive operation part and the second sub operation part; and a second control means including the first sub operation part and the second positive operation part, the first control means Is the period of the watchdog signal issued by the second control means for each operation execution cycle, the operation result of the first positive operation section executed by the first control means, and the first sub-operation executed by the second control means. From the difference in the calculation result of the calculation unit and the difference between the calculation result of the second sub-calculation unit executed by the first control unit and the calculation result of the second positive calculation unit executed by the second control unit, (2) a second control means failure detection means for detecting a failure of the second control means and outputting a second control means failure detection signal, wherein the second control means is a watchdog which the first control means emits in each operation execution cycle. The signal cycle, the calculation result of the first positive calculation unit, and the first A failure of the first control means is detected from the difference between the operation results of the operation section and the difference between the operation result of the second sub operation section and the operation result of the second correct operation section, and a first control means failure detection signal is detected. A first control means failure detection means for outputting, the cycle of the watchdog signal of the first control means, the cycle of the watchdog signal of the second control means, the first control means failure detection signal, From a combination with the second control means failure detection signal, a failure of the first control means or the second control means is determined, and a control means failure determination means for outputting a switching signal, and the first switching means in accordance with the switching signal. First switching means for switching the calculation result of the one-correction arithmetic unit and the calculation result of the first sub-calculation unit, and the calculation result of the second positive calculation unit and the calculation result of the second sub-calculation unit according to the switching signal. And the second switching means It is achieved by providing.

【0010】そして、第二の目的は、電気自動車を走行
駆動する電動機の回転速度または前記電動機に流れる電
流などを検出する検出センサと、前記検出センサの検出
信号に基づいて走行制御指令を正規に演算する制御演算
手段とを備える電気自動車制御装置において、前記検出
信号に代わりオープンループ電圧/周波数制御法または
すべり制御付き電圧/周波数制御法などの簡略制御法に
基づいて前記走行制御指令を演算し前記制御演算手段を
補完する補完演算手段と、前記検出センサの故障を検知
し故障信号を出力する故障検知手段と、前記故障信号に
応じて前記制御演算手段と前記補完演算手段とを切り替
える演算切替手段とを設けたことによって達成される。
A second object is to detect a rotation speed of an electric motor for driving an electric vehicle or a current flowing through the electric motor, and to normalize a traveling control command based on a detection signal of the detection sensor. In an electric vehicle control device including control calculation means for calculating, the traveling control command is calculated based on a simplified control method such as an open loop voltage / frequency control method or a voltage / frequency control method with slip control instead of the detection signal. Complementary calculation means for complementing the control calculation means, failure detection means for detecting a failure of the detection sensor and outputting a failure signal, and calculation switching for switching between the control calculation means and the complementary calculation means according to the failure signal. Means and means.

【0011】[0011]

【作用】走行制御のための制御項目を分割し、制御項目
毎に正副の演算部を設けた二つのコントローラの正常、
非正常に拘らず、当該正副演算部に、演算に用いる情報
を同時に入力し、必要な制御処理の演算を常時行わせ
る。従って、副のコントローラは、常に働いている。
[Operation] Normal of two controllers, which are divided into control items for traveling control, and are provided with a primary and secondary operation unit for each control item,
Regardless of the abnormal condition, the information used for the calculation is simultaneously input to the primary and secondary calculation units, and the necessary control processing is always performed. Therefore, the secondary controller is always working.

【0012】一方、二つのコントローラ間で、プログラ
ムのループ実行サイクルの周期を確認すると同時に、正
副演算部の演算結果の比較差を確認する。そして、正の
コントローラのプログラムのループ実行サイクルの周期
は正常であっても、当該演算結果の比較差が所定値の範
囲内になければ正のコントローラに故障ありとする。従
って、正のコントローラにのみ依存されない。
On the other hand, between the two controllers, the period of the loop execution cycle of the program is confirmed, and at the same time, the comparison difference between the calculation results of the primary and secondary operation units is confirmed. Then, even if the cycle of the loop execution cycle of the program of the positive controller is normal, if the comparison difference of the calculation results is not within the range of the predetermined value, it is determined that the positive controller has a failure. Therefore, it is not only dependent on the positive controller.

【0013】そして、実行サイクル周期の確認と演算結
果の比較差の確認との組合せより、一方のコントローラ
が故障で他方のコントローラは正常と判断された場合
は、正常なコントローラが補完する。万一、両コントロ
ーラが故障であれば制御を停止することもできる。これ
により、信頼性の高い走行制御を有する電気自動車制御
装置が得られる。
When it is determined that one controller has failed and the other controller is normal based on the combination of the confirmation of the execution cycle period and the comparison difference of the calculation results, the normal controller complements. If both controllers fail, control can be stopped. As a result, an electric vehicle control device having highly reliable traveling control can be obtained.

【0014】また、電動機の回転速度や電流などを検出
するセンサの故障を検知した場合、予め設けて置いた、
センサからの情報がなくても必要最小限の制御処理を代
替演算する補完演算部に切り替える。これにより、セン
サの故障時の補完制御が可能となり、更に信頼性が向上
する電気自動車制御装置が得られる。
Further, when a failure of the sensor for detecting the rotation speed or current of the electric motor is detected, it is provided in advance,
Even if there is no information from the sensor, the necessary minimum control processing is switched to the complementary calculation unit that performs alternative calculation. As a result, complementary control can be performed when the sensor malfunctions, and an electric vehicle control device with improved reliability can be obtained.

【0015】[0015]

【実施例】以下、本発明の実施例を図面を参照しながら
説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0016】図1は、二個のマイクロプロセッサを使用
して構成した電気自動車制御装置の一実施例である。第
一マイクロプロセッサ1、第二マイクロプロセッサ2、
マイクロプロセッサ故障判定回路3、センサ故障検知回
路4、故障モード診断回路5、第一切替部16、第二切替
回路6、電力変換装置7、モータ8、速度センサ9、電
流センサ10などからなる。
FIG. 1 shows an embodiment of an electric vehicle control device constructed by using two microprocessors. A first microprocessor 1, a second microprocessor 2,
The microprocessor failure determination circuit 3, the sensor failure detection circuit 4, the failure mode diagnostic circuit 5, the first switching unit 16, the second switching circuit 6, the power conversion device 7, the motor 8, the speed sensor 9, the current sensor 10, and the like.

【0017】第一マイクロプロセッサ1は、第一正演算
部である車両制御部11と、第二副演算部である副モータ
制御部12と、マイクロプロセッサ故障検知部60とからな
る。車両制御部11は、アクセル量・ブレーキ量などの入
力信号40に基づき、速度指令13の演算を行う正規の制御
部である。尚、補機類制御などの車両制御演算を行って
も可である。
The first microprocessor 1 comprises a vehicle control section 11 which is a first corrective operation section, an auxiliary motor control section 12 which is a second auxiliary operation section, and a microprocessor failure detection section 60. The vehicle control unit 11 is a regular control unit that calculates the speed command 13 based on the input signal 40 such as the accelerator amount and the brake amount. It should be noted that it is also possible to perform vehicle control calculation such as auxiliary equipment control.

【0018】副モータ制御部12は、速度指令13に基づ
き、常時、第二マイクロプロセッサ2のモータ制御部18
と同様の演算を行い、また必要に応じて制御パルス14を
第二切替回路6に対して出力する補完の制御部である。
The sub-motor control unit 12 constantly operates the motor control unit 18 of the second microprocessor 2 based on the speed command 13.
This is a complementary control unit that performs the same calculation as above and outputs the control pulse 14 to the second switching circuit 6 as necessary.

【0019】第二マイクロプロセッサ2は、第一副演算
部である副車両制御部15と、第二正演算部であるモータ
制御部18と、マイクロプロセッサ故障検知部61と、第一
切替部16とからなる。
The second microprocessor 2 includes a sub vehicle control unit 15 which is a first sub operation unit, a motor control unit 18 which is a second correct operation unit, a microprocessor failure detection unit 61, and a first switching unit 16. Consists of.

【0020】副車両制御部15は、アクセル量・ブレーキ
量などの入力信号40に基づき、常時、第一マイクロプロ
セッサ1の車両制御部11と同様の演算を行い、また必要
に応じて速度指令19を出力する補完の制御部である。
The sub-vehicle control unit 15 always performs the same calculation as the vehicle control unit 11 of the first microprocessor 1 based on the input signal 40 such as the accelerator amount and the brake amount, and the speed command 19 if necessary. Is a complementary control unit that outputs

【0021】第一切替部16は、第一マイクロプロセッサ
1からのデュアルポートラムなどを介して得られる速度
指令13と、副車両制御部15からの速度指令19との選択切
替を行うものである。通常は、車両制御部11とモータ制
御部18を接続している。尚、第一切替部16は、第二マイ
クロプロセッサ2に含まれないものでも可である。
The first switching unit 16 selectively switches the speed command 13 obtained from the first microprocessor 1 via a dual port ram and the speed command 19 from the sub vehicle control unit 15. Normally, the vehicle control unit 11 and the motor control unit 18 are connected. The first switching unit 16 may not be included in the second microprocessor 2.

【0022】モータ制御部18は、ベクトル制御演算部17
と、速度・電圧センサレス・ベクトル制御法(奥山・藤
本・松井・久保田:「誘導電動機の速度・電圧センサレ
ス・ベクトル制御法」電気学会論文誌D,107,191(昭62-
2)参照)を採用した速度センサレスベクトル制御演算
部20と、すべり制御付き電圧/周波数制御法(電気書
院,B.K.BOSE著,「パワーエレクトロニクス&ACドライ
ブ」7.4章参照)を採用したすべり周波数制御演算部21
と、オープンループ電圧/周波数制御法(同参照)を採
用した V/fオープン制御演算部22と、制御パルス切替部
23とからなる制御部である。
The motor controller 18 includes a vector control calculator 17
And speed / voltage sensorless vector control method (Okuyama, Fujimoto, Matsui, Kubota: “Speed / voltage sensorless vector control method for induction motors”, IEEJ Transactions D, 107, 191 (SHO 62-
2)), and a slip frequency control calculator 21 that employs a speed sensorless vector control calculator 20 and a voltage / frequency control method with slip control (Denki Shoin, BKBOSE, “Power Electronics & AC Drive”, Chapter 7.4).
And the V / f open control calculation unit 22 that adopts the open loop voltage / frequency control method (see the same), and the control pulse switching unit
23 is a control unit.

【0023】ベクトル制御演算部17は、第二正演算部で
ある。電気自動車の走行状態を検知する検知手段である
速度センサや電流センサを用いて、モータの回転速度や
モータに流れる電流をフィードバックし、常時、速度指
令13に基づいて速度制御を行い、さらに速度制御から得
られる電流指令に基づいて電流制御を行い、最終的に電
圧指令の演算を行っている正規の演算部である。通常
は、この電圧指令に相応する制御パルス33が、電力変換
装置7に出力されている。
The vector control calculator 17 is a second positive calculator. By using a speed sensor or a current sensor that is a detection means for detecting the running state of the electric vehicle, the rotation speed of the motor and the current flowing through the motor are fed back, and the speed control is always performed based on the speed command 13, and the speed control This is a regular calculation unit that performs current control based on the current command obtained from the above, and finally calculates the voltage command. Normally, the control pulse 33 corresponding to this voltage command is output to the power converter 7.

【0024】そして、上記の速度センサレスベクトル制
御演算部20またはすべり周波数制御演算部21または電圧
/周波数オープン制御演算部22が、簡略化した制御演算
を実行し、第二正演算部を補完するセンサレス演算手段
に相当する。
The speed sensorless vector control calculation unit 20, the slip frequency control calculation unit 21, or the voltage / frequency open control calculation unit 22 executes the simplified control calculation and complements the second positive calculation unit. It corresponds to a calculation means.

【0025】速度センサレスベクトル制御演算部20は、
速度センサ信号なしで速度制御、電流制御を行い制御パ
ルス34を演算出力する。すべり周波数制御演算部21は、
電流センサ信号なしで速度制御のみを行い、電圧指令を
演算して制御パルス35を出力する。電圧/周波数オープ
ン制御演算部22(以下、V/fオープン制御演算部22と言
う)は、速度センサ信号も電流センサ信号もなしで電圧
指令を演算して、制御パルス36を出力する。
The speed sensorless vector control calculation unit 20 is
Speed control and current control are performed without a speed sensor signal, and a control pulse 34 is calculated and output. The slip frequency control calculation unit 21
Only the speed control is performed without the current sensor signal, the voltage command is calculated, and the control pulse 35 is output. The voltage / frequency open control calculation unit 22 (hereinafter, referred to as V / f open control calculation unit 22) calculates the voltage command without any speed sensor signal or current sensor signal, and outputs the control pulse 36.

【0026】また、すべり周波数制御演算部 21や、V/f
オープン制御演算部22などと言った簡略制御法に基づく
制御演算が、第一マイクロプロセッサ1の副モータ制御
部12に、採用されている。
In addition, the slip frequency control calculation unit 21 and V / f
The control calculation based on the simplified control method such as the open control calculation unit 22 is adopted in the sub motor control unit 12 of the first microprocessor 1.

【0027】モータ制御部18のうち、速度センサレスベ
クトル制御演算部20、すべり周波数制御演算部21、V/f
オープン制御演算部22は、速度センサ9または電流セン
サ10が故障した時のための補完の制御演算部であり、こ
れらのセンサが正常な時は、使われない。
Of the motor control unit 18, a speed sensorless vector control calculation unit 20, a slip frequency control calculation unit 21, V / f
The open control calculation unit 22 is a complementary control calculation unit in case the speed sensor 9 or the current sensor 10 fails, and is not used when these sensors are normal.

【0028】制御パルス切替部23は、ベクトル制御演算
部17、速度センサレスベクトル制御演算部20、すべり周
波数制御演算部21、V/fオープン制御演算部22から出力
される制御パルスのうち、一つを選んで出力する。従っ
て、モータ制御部18は、制御パルス切替部23が選択した
制御パルス37を、第二切替回路6に出力する。
The control pulse switching unit 23 is one of the control pulses output from the vector control calculation unit 17, the speed sensorless vector control calculation unit 20, the slip frequency control calculation unit 21, and the V / f open control calculation unit 22. To output. Therefore, the motor control unit 18 outputs the control pulse 37 selected by the control pulse switching unit 23 to the second switching circuit 6.

【0029】マイクロプロセッサ故障判定回路3は、第
一マイクロプロセッサ1と第二マイクロプロセッサ2の
ソフトウェア処理によって一定周期毎に反転しているウ
オッチドグ信号24およびマイクロプロセッサ故障検知信
号25により、マイクロプロセッサの故障を判定し、故障
モード診断回路5に対して、マイクロプロセッサ故障信
号26を出力する。
The microprocessor failure determination circuit 3 causes a failure of the microprocessor based on a watchdog signal 24 and a microprocessor failure detection signal 25 which are inverted at regular intervals by the software processing of the first microprocessor 1 and the second microprocessor 2. Then, the microprocessor failure signal 26 is output to the failure mode diagnostic circuit 5.

【0030】センサ故障検知回路4は、速度センサ9か
らの速度信号27と電流センサ10からの電流信号28によ
り、速度センサ9や電流センサ10の故障を検知し、故障
モード診断回路5に対して、センサ故障信号29を出力す
る。
The sensor failure detection circuit 4 detects a failure of the speed sensor 9 or the current sensor 10 based on the speed signal 27 from the speed sensor 9 and the current signal 28 from the current sensor 10, and informs the failure mode diagnosis circuit 5 of the failure. , Sensor failure signal 29 is output.

【0031】故障モード診断回路5は、マイクロプロセ
ッサ故障信号26に基づいて、マイクロプロセッサ故障時
に、補完要否の切替選択を判断し、第一切替信号30を第
一切替部16に対して出力する。また、第二切替信号31を
第二切替回路6に対して出力する。そしてさらに、速度
センサ9または電流センサ10の故障時に、故障の状態に
応じたセンサ故障信号29に基づいて、モータ制御部18の
ベクトル制御演算部17、速度センサレスベクトル制御演
算部20、すべり周波数制御演算部21、V/fオープン制御
演算部22の選択切替を行うための演算切替信号32を、制
御パルス切替部23に対して出力する。
The failure mode diagnostic circuit 5 determines whether or not the complement is necessary, based on the microprocessor failure signal 26, and outputs a first switching signal 30 to the first switching section 16 when the microprocessor needs to be switched. . Further, the second switching signal 31 is output to the second switching circuit 6. Further, when the speed sensor 9 or the current sensor 10 fails, the vector control calculation unit 17, the speed sensorless vector control calculation unit 20, and the slip frequency control of the motor control unit 18 are based on the sensor failure signal 29 according to the failure state. A calculation switching signal 32 for selectively switching the calculation unit 21 and the V / f open control calculation unit 22 is output to the control pulse switching unit 23.

【0032】全てが正常の時は、第一切替部16は、第一
マイクロプロセッサ1の車両制御部11が演算した速度指
令13を第二マイクロプロセッサ2のモータ制御部18に伝
達し、制御パルス切替部23は、第二マイクロプロセッサ
2のベクトル制御演算部17が出力する制御パルス33を制
御パルス37として出力する。第二切替回路6は、第二マ
イクロプロセッサ2からの制御パルス37を電力変換装置
7に伝達する。
When all are normal, the first switching unit 16 transmits the speed command 13 calculated by the vehicle control unit 11 of the first microprocessor 1 to the motor control unit 18 of the second microprocessor 2 to control pulses. The switching unit 23 outputs the control pulse 33 output from the vector control calculation unit 17 of the second microprocessor 2 as the control pulse 37. The second switching circuit 6 transmits the control pulse 37 from the second microprocessor 2 to the power conversion device 7.

【0033】マイクロプロセッサ故障検知部60,61に於
けるマイクロプロセッサの故障検知は、それぞれのマイ
クロプロセッサが一定周期で行われるソフトウェアの処
理毎にウオッチドグ信号24を発信し、互いにその信号の
反転の有無および周期を監視し合うことによって行うも
のである。ウオッチドグ信号の反転周期が予め決められ
た設定値と異なる場合は、マイクロプロセッサの電源異
常や絶えず外部から入力されて来る割り込み信号などに
よる故障と判断される。
The microprocessor failure detection in the microprocessor failure detection units 60 and 61 detects the failure of the microprocessors by issuing a watchdog signal 24 each time software processing is performed in a constant cycle, and whether or not the signals are inverted. And the cycle is monitored. If the inversion cycle of the watchdog signal is different from the preset value, it is determined that the microprocessor is malfunctioning due to power failure or an interrupt signal constantly input from the outside.

【0034】さらに、マイクロプロセッサの故障検知
は、それぞれのマイクロプロセッサがデュアルポートラ
ムなどを介して、常に遣り取りしている車両制御部11と
副車両制御部15の演算結果または演算途中結果、およ
び、副モータ制御部12とモータ制御部18の演算結果また
は演算途中結果を比較し、互いに確認することによって
も行う。
Further, in detecting the failure of the microprocessor, the calculation result or the intermediate calculation result of the vehicle control unit 11 and the sub vehicle control unit 15 which each microprocessor constantly exchanges with each other via the dual port ram, and the sub operation. This is also performed by comparing the calculation results or intermediate calculation results of the motor control unit 12 and the motor control unit 18 and confirming each other.

【0035】この比較確認は、演算結果を比較した差が
所定値の範囲内に入っていることを確認するものであ
る。比較差が範囲内にない場合は、A/D変換器の故障や
入力信号にノイズが混入した故障などと判断できる。こ
の故障時、それぞれのマイクロプロセッサは、マイクロ
プロセッサ故障検知部60,61からマイクロプロセッサ故
障判定回路3に対して、マイクロプロセッサ故障検知信
号25を出力する。
This comparison confirmation confirms that the difference obtained by comparing the calculation results is within a predetermined value range. If the comparison difference is not within the range, it can be determined that the A / D converter has failed or the input signal has noise. At the time of this failure, each of the microprocessors outputs a microprocessor failure detection signal 25 from the microprocessor failure detection units 60 and 61 to the microprocessor failure determination circuit 3.

【0036】一方、マイクロプロセッサ故障検知部60,6
1は、それぞれのマイクロプロセッサ自身において、ア
クセル・ブレーキ量等のA/D変換値の大きさが一定範囲
を越えている時や、変化率の大きさが非常に大きい時
に、自らマイクロプロセッサのA/D変換器の故障である
と判断し、演算結果の比較によるマイクロプロセッサ故
障検知は行わないことにすることもできる。
On the other hand, the microprocessor failure detection units 60, 6
1 indicates that the A / D conversion value such as the amount of accelerator / brake exceeds the certain range in each microprocessor itself, or when the rate of change is very large, It is also possible to judge that the / D converter is in failure and not detect the microprocessor failure by comparing the operation results.

【0037】図2は、マイクロプロセッサ故障判定回路
3の構成を示すものである。
FIG. 2 shows the configuration of the microprocessor failure determination circuit 3.

【0038】マイクロプロセッサ故障判定回路3は、ウ
オッチドグ異常検知回路100,101、故障状態判定回路102
からなっている。第一マイクロプロセッサ1からのウオ
ッチドグ信号24aとマイクロプロセッサ故障検知信号25
a、第二マイクロプロセッサ2からのウオッチドグ信号2
4bとマイクロプロセッサ故障検知信号25bに基づいて、
第一マイクロプロセッサ故障信号26a、第二マイクロプ
ロセッサ故障信号26bを出力する。ウオッチドグ異常検
知回路100,101は、一定周期毎にその信号レベルが反転
しているウオッチドグ信号の周期を計測し、予め決めら
れた値よりも周期が長く、または、短くなったことを検
出してウオッチドグ異常信号103,104を出力する。故障
状態判定回路102は、ウオッチドグ異常信号103,104とマ
イクロプロセッサ故障検知信号25a,25bからマイクロプ
ロセッサの故障状態を判定する。
The microprocessor failure determination circuit 3 includes the watchdog abnormality detection circuits 100 and 101 and the failure state determination circuit 102.
It consists of Watchdog signal 24a from the first microprocessor 1 and microprocessor failure detection signal 25
a, Watchdog signal 2 from the second microprocessor 2
Based on 4b and microprocessor failure detection signal 25b,
The first microprocessor failure signal 26a and the second microprocessor failure signal 26b are output. The watchdog abnormality detection circuits 100 and 101 measure the period of the watchdog signal whose signal level is inverted at regular intervals and detect that the period is longer or shorter than a predetermined value to detect the watchdog abnormality. The signals 103 and 104 are output. The failure state determination circuit 102 determines the failure state of the microprocessor based on the watchdog abnormality signals 103 and 104 and the microprocessor failure detection signals 25a and 25b.

【0039】表1は、故障状態判定回路102での判定方
法の例を示すものである。
Table 1 shows an example of the determination method in the failure state determination circuit 102.

【0040】[0040]

【表1】 [Table 1]

【0041】例えば、ウオッチドグ信号に異常があった
場合、ウオッチドグ異常信号103または104は、HIGHと表
示する。同じく、マイクロプロセッサ1または2が故障
と判断された時、マイクロプロセッサ故障検知信号25a
または25bは、HIGHと表示する。両方のマイクロプロセ
ッサが正常である時は、図中のNo.216に示したよう
に、全て、LOWと表示する。従って、第一マイクロプロ
セッサ故障信号26aおよび第二マイクロプロセッサ故障
信号26bは、正常であるので、LOWと表示する。故障の判
断は、基本的にはウオッチドグ異常信号103または104で
判断される。
For example, when the watchdog signal is abnormal, the watchdog abnormal signal 103 or 104 is displayed as HIGH. Similarly, when it is judged that the microprocessor 1 or 2 has failed, the microprocessor failure detection signal 25a
Alternatively, 25b is displayed as HIGH. When both microprocessors are normal, No. in the figure. All are displayed as LOW, as shown at 216. Therefore, the first microprocessor failure signal 26a and the second microprocessor failure signal 26b are normal and are displayed as LOW. The judgment of the failure is basically made by the watchdog abnormality signal 103 or 104.

【0042】本発明の特徴は、次の点にある。図中のN
o.211,212,215は、ウオッチドグ故障信号103,104の両
方がLOWである。即ち両方のマイクロプロセッサは正常
であると一応判断される。しかし、マイクロプロセッサ
故障検知信号25a,25bの少なくとも一方がHIGHであり、
双方の演算結果に相違が見られる場合である。この場
合、マイクロプロセッサ故障検知信号25a,25bによって
示されるマイクロプロセッサ故障と判定する。マイクロ
プロセッサ故障検知信号25a,25bの両方がHIGHである
時、どちらの演算結果が正しいかは不明である。従っ
て、疑わしきは信じないと言うことで、信号26a,26b
は、共にHIGHと表示して、両マイクロプロセッサとも故
障であると判断する。図中のNo.201,202,205,206はま
さしく両マイクロプロセッサの故障であると言える場合
であるが、この場合と同一扱いとし信頼性を高めるもの
である。
The features of the present invention are as follows. N in the figure
o. In 211, 212, 215, both of the watchdog failure signals 103, 104 are LOW. That is, both microprocessors are temporarily determined to be normal. However, at least one of the microprocessor failure detection signals 25a and 25b is HIGH,
This is the case where there is a difference between the two calculation results. In this case, it is determined to be a microprocessor failure indicated by the microprocessor failure detection signals 25a and 25b. When both the microprocessor failure detection signals 25a and 25b are HIGH, it is unknown which operation result is correct. Therefore, by not believing in doubt, signals 26a, 26b
Both display HIGH and judge that both microprocessors have failed. No. in the figure. The cases 201, 202, 205, and 206 are exactly cases where it can be said that they are failures of both microprocessors, and they are treated the same as in this case to improve reliability.

【0043】図3は、センサ故障検知回路4の構成を示
すものである。センサ故障検知回路4は、A/D変換部30
1、電流センサ故障判定部302、速度センサ故障判定部30
3からなっている。電流信号28、速度信号27を入力とし
て、電流センサ故障信号29a、速度センサ故障信号29bを
出力する。
FIG. 3 shows the configuration of the sensor failure detection circuit 4. The sensor failure detection circuit 4 includes an A / D converter 30
1, current sensor failure determination unit 302, speed sensor failure determination unit 30
It consists of three. The current signal 28 and the speed signal 27 are input, and the current sensor failure signal 29a and the speed sensor failure signal 29b are output.

【0044】A/D変換部301は、電流信号28をA/D変換す
る。電流センサ故障判定部302は、A/D変換されたデータ
からオフセットの温度変化、三相電流の振幅の違い、波
形の乱れなどの波形の異常を検知して、電流センサ故障
信号29aを出力する。この処理は、第一マイクロプロセ
ッサ1または第二マイクロプロセッサ2のどちらにでも
実行させることができる。速度センサ故障判定部303
は、回転角速度信号27のA相、B相の順序で異常や信号
線の断線等を検知し、速度センサ故障信号29bを出力す
る。
The A / D converter 301 A / D converts the current signal 28. The current sensor failure determination unit 302 detects a waveform change such as an offset temperature change, a three-phase current amplitude difference, and a waveform disturbance from the A / D converted data, and outputs a current sensor failure signal 29a. . This processing can be executed by either the first microprocessor 1 or the second microprocessor 2. Speed sensor failure determination unit 303
Detects an abnormality or disconnection of the signal line in the order of the A phase and the B phase of the rotation angular velocity signal 27, and outputs the speed sensor failure signal 29b.

【0045】表2と表3は、故障モード診断回路5の診
断処理を示すものである。
Tables 2 and 3 show the diagnostic processing of the failure mode diagnostic circuit 5.

【0046】[0046]

【表2】 [Table 2]

【0047】表2において、第一マイクロプロセッサ故
障信号26aおよび第二マイクロプロセッサ故障信号26bの
HIGH表示は故障時を示す。信号26a,26bともにLOW(両マ
イクロプロセッサ正常)の時、第一切替部16は、故障モ
ード診断回路5の第一切替信号30により第一マイクロプ
ロセッサ1からの速度指令13を選択する。そして、第二
切替回路6は、第二切替信号31により第二マイクロプロ
セッサ2からの制御パルス37を選択する。更に、制御パ
ルス切替部23は、演算切替信号32によりモータ制御部18
の正規の演算であるベクトル制御演算部17による制御パ
ルス33を選択する。
In Table 2, the first microprocessor failure signal 26a and the second microprocessor failure signal 26b are
The HIGH display indicates a failure. When both signals 26a and 26b are LOW (both microprocessors are normal), the first switching unit 16 selects the speed command 13 from the first microprocessor 1 by the first switching signal 30 of the failure mode diagnostic circuit 5. Then, the second switching circuit 6 selects the control pulse 37 from the second microprocessor 2 by the second switching signal 31. Further, the control pulse switching unit 23 uses the calculation switching signal 32 to drive the motor control unit 18
The control pulse 33 by the vector control calculation unit 17, which is a normal calculation of, is selected.

【0048】信号26aがLOW、信号26bがHIGH(第二マイ
クロプロセッサ異常)の時、第二切替回路6は、故障モ
ード診断回路5の第二切替信号31により第一マイクロプ
ロセッサ1の電流指令14を選択する。この場合、第一マ
イクロプロセッサ1が第二マイクロプロセッサ2を補完
する。
When the signal 26a is LOW and the signal 26b is HIGH (second microprocessor abnormality), the second switching circuit 6 uses the second switching signal 31 of the failure mode diagnostic circuit 5 to output the current command 14 for the first microprocessor 1. Select. In this case, the first microprocessor 1 complements the second microprocessor 2.

【0049】信号26aがHIGH、信号26bがLOW(第一マイ
クロプロセッサ異常)の時、第一切替部16は、故障モー
ド診断回路5の第一切替信号30により第二マイクロプロ
セッサ2の速度指令19を選択する。この場合、第二マイ
クロプロセッサ2が第一マイクロプロセッサ1を補完す
る。
When the signal 26a is HIGH and the signal 26b is LOW (abnormality of the first microprocessor), the first switching section 16 causes the speed command 19 of the second microprocessor 2 by the first switching signal 30 of the failure mode diagnostic circuit 5. Select. In this case, the second microprocessor 2 complements the first microprocessor 1.

【0050】次に、制御パルス切替部23について述べ
る。第二マイクロプロセッサ2の演算演算処理性能がそ
れほど高いものでない場合、両マイクロプロセッサが正
常の時でも、副車両制御部15とモータ制御部18(即ちベ
クトル制御演算17)の演算を全て行うことができない場
合が考えられる。その時はモータ制御部18の演算を主と
して行い、副車両制御部15の演算は必要な制御演算のみ
とする。例えば、アクセル・ブレーキ量等のA/D変換値
だけを演算し、マイクロプロセッサ故障検知部61はこの
A/D変換値の比較で第一マイクロプロセッサ1の故障検
知をする。
Next, the control pulse switching section 23 will be described. If the calculation processing performance of the second microprocessor 2 is not so high, all calculations of the sub vehicle control unit 15 and the motor control unit 18 (that is, the vector control calculation 17) can be performed even when both microprocessors are normal. It is possible that you cannot. At that time, the calculation of the motor control unit 18 is mainly performed, and the calculation of the sub vehicle control unit 15 is only necessary control calculation. For example, only the A / D conversion value such as the accelerator / brake amount is calculated, and the microprocessor failure detection unit 61
The failure of the first microprocessor 1 is detected by comparing the A / D converted values.

【0051】さらに、第一マイクロプロセッサが故障の
時は、第二マイクロプロセッサ2が副車両制御部15とモ
ータ制御部18の演算の全てを行わなければならないの
で、モータ制御部18において、制御パルス切替部23が、
故障モード診断回路5の演算切替信号32により、正規の
演算であるベクトル制御演算部17から、例えば簡略化さ
れた演算であるV/fオープン制御演算部22に切り替え
る。この切り替えにより演算処理のバランスが取れ、第
二マイクロプロセッサ2だけでも、必要な車両制御とモ
ータ制御の演算を行うことが可能となる。
Further, when the first microprocessor fails, the second microprocessor 2 has to perform all the calculations of the sub vehicle control section 15 and the motor control section 18, so that the motor control section 18 is controlled by the control pulse. The switching unit 23
By the operation switching signal 32 of the failure mode diagnostic circuit 5, the vector control operation unit 17 which is a normal operation is switched to the V / f open control operation unit 22 which is a simplified operation. This switching balances the arithmetic processing, and the second microprocessor 2 alone can perform the necessary vehicle control and motor control arithmetic operations.

【0052】また、第二マイクロプロセッサ2の演算処
理性能が高く、両マイクロプロセッサが正常の時に、副
車両制御部15とモータ制御部18(この時ベクトル制御演
算17)の演算を全て行うことができる場合は、第一マイ
クロプロセッサ故障時においても第二マイクロプロセッ
サ2はモータ制御部18においてベクトル制御演算部17の
演算を行う。
Further, when the second microprocessor 2 has a high arithmetic processing performance and both microprocessors are normal, it is possible to perform all the arithmetic operations of the sub vehicle controller 15 and the motor controller 18 (the vector control arithmetic 17 at this time). If possible, the second microprocessor 2 causes the motor control unit 18 to perform the operation of the vector control operation unit 17 even when the first microprocessor fails.

【0053】信号26a,26bともにHIGH(両マイクロプロ
セッサ異常)の時、故障モード診断回路5の第二切替信
号31により、第二切替回路6からモータ8を停止させる
指令を出力させる。尚、この停止指令は故障モード診断
回路5から電力変換装置7に直接出力することも可能で
あり、いろいろな方法が考えられる。
When both the signals 26a and 26b are HIGH (both microprocessor abnormalities), the second switching signal 31 of the failure mode diagnostic circuit 5 causes the second switching circuit 6 to output a command to stop the motor 8. Note that this stop command can be directly output from the failure mode diagnosis circuit 5 to the power conversion device 7, and various methods can be considered.

【0054】マイクロプロセッサ故障時には、警告を発
するなどし、直ちに故障修理を行わせるようにすること
が望ましい。
When the microprocessor fails, it is desirable to issue a warning or the like so that the failure can be immediately repaired.

【0055】[0055]

【表3】 [Table 3]

【0056】表3は、両マイクロプロセッサが正常であ
って、速度センサ9または電流センサ10が故障した場合
の制御パルス切替部23の切替選択を示したものである。
Table 3 shows the switching selection of the control pulse switching unit 23 when both the microprocessors are normal and the speed sensor 9 or the current sensor 10 fails.

【0057】表3において、電流センサ故障信号29aお
よび速度センサ故障信号29bは、共にHIGHの時に故障を
示す。信号29a,29bともにLOWの時(各センサ正常)は、
制御パルス切替部23が、センサ故障時に発しられる演算
切替信号32によりベクトル制御演算部17による制御パル
ス33を選択する。信号29aがLOW、信号29bがHIGHの時
(速度センサ異常)は、制御パルス切替部23が、速度セ
ンサレスベクトル制御演算部20による制御パルス34を選
択する。信号29aがHIGH、信号29bがLOWの時(電流セン
サ異常)は、制御パルス切替部23が、すべり周波数制御
演算部21による制御パルス35を選択する。信号26a,26b
共にHIGH(速度・電流センサ共に異常)の時は、制御パ
ルス切替部23が、V/fオープン制御演算部22による制御
パルス36を選択する。
In Table 3, the current sensor failure signal 29a and the speed sensor failure signal 29b both indicate a failure when HIGH. When both signals 29a and 29b are LOW (each sensor is normal),
The control pulse switching unit 23 selects the control pulse 33 by the vector control calculation unit 17 according to the calculation switching signal 32 issued when the sensor fails. When the signal 29a is LOW and the signal 29b is HIGH (speed sensor abnormality), the control pulse switching unit 23 selects the control pulse 34 by the speed sensorless vector control calculation unit 20. When the signal 29a is HIGH and the signal 29b is LOW (current sensor abnormality), the control pulse switching unit 23 selects the control pulse 35 by the slip frequency control calculation unit 21. Signal 26a, 26b
When both are HIGH (both speed and current sensors are abnormal), the control pulse switching unit 23 selects the control pulse 36 by the V / f open control calculation unit 22.

【0058】ここまでの実施例では、電気自動車の制御
指令の演算を車両制御部11とモータ制御部18に分割し、
第一および第二マイクロプロセッサが正常な時は、ベク
トル制御演算部17が、第一切替部16で選択された速度指
令に基づいて、モータの速度をフィードバックし速度制
御を行い、さらに該速度制御から得られる電流指令をも
とに電流制御を行って電圧指令を演算し、この電圧指令
に相応する制御パルス33を電力変換装置7に出力してい
た。しかし、車両制御部11に、これまでベクトル制御演
算部17で行っていた速度指令に基づきモータの速度をフ
ィードバックし速度制御を行い電流指令を演算する処理
を含める。この場合ベクトル制御演算部17は車両制御部
11が演算した電流指令をもとに電流制御だけを行うこと
にする。これにより、第二マイクロプロセッサの負担を
軽くすることができる。
In the above embodiments, the calculation of the control command for the electric vehicle is divided into the vehicle control unit 11 and the motor control unit 18,
When the first and second microprocessors are normal, the vector control calculation unit 17 performs speed control by feeding back the speed of the motor based on the speed command selected by the first switching unit 16, and further controlling the speed. Based on the current command obtained from the above, the current control is performed to calculate the voltage command, and the control pulse 33 corresponding to this voltage command is output to the power converter 7. However, the vehicle control unit 11 includes a process of feeding back the speed of the motor based on the speed command that has been performed by the vector control calculation unit 17 so far to perform speed control and calculate a current command. In this case, the vector control calculation unit 17 is the vehicle control unit.
Only current control will be performed based on the current command calculated by 11. As a result, the load on the second microprocessor can be reduced.

【0059】この時、車両制御部11が演算する速度指令
13は、速度指令と電流指令の両方を含むものとし、モー
タ制御部18の各演算部と副モータ制御部12は必要な指令
により演算を行うとする。マイクロプロセッサの故障検
出方法、センサ故障時の処理はこれまでの実施例と同じ
である。第一マイクロプロセッサ故障時には、制御パル
ス切り替え部23はV/fオープン制御演算部22の制御パル
ス36を選択する。
At this time, the speed command calculated by the vehicle control unit 11
It is assumed that 13 includes both a speed command and a current command, and that each computing unit of the motor control unit 18 and the sub motor control unit 12 perform computation according to a necessary command. The microprocessor failure detection method and sensor failure processing are the same as in the previous embodiments. When the first microprocessor fails, the control pulse switching unit 23 selects the control pulse 36 of the V / f open control calculation unit 22.

【0060】本発明の別の実施例を図面をもとに説明す
る。図4は、3つのマイクロプロセッサを使用して構成
した電気自動車の制御装置である。主として、マイクロ
プロセッサ501、マイクロプロセッサ502、マイクロプロ
セッサ503、マイクロプロセッサ故障判定回路504、第三
切替回路505、インバータ 506、モータ540、速度センサ
541、電流センサ542 からなる。
Another embodiment of the present invention will be described with reference to the drawings. FIG. 4 shows a control device for an electric vehicle constructed by using three microprocessors. Mainly microprocessor 501, microprocessor 502, microprocessor 503, microprocessor failure determination circuit 504, third switching circuit 505, inverter 506, motor 540, speed sensor
541 and current sensor 542.

【0061】マイクロプロセッサ501は、演算処理507、
演算処理508、演算処理509、マイクロプロセッサ故障検
知処理510からなる。演算処理507は、マイクロプロセッ
サ501が行うメインの処理である。アクセル量・ブレー
キ量などの入力信号511に対して自動車の速度指令等を
算出する車両運動制御を演算するものである。その演算
結果512をマイクロプロセッサ502と演算処理508に対し
て出力する。
The microprocessor 501 includes an arithmetic processing unit 507,
The calculation processing 508, the calculation processing 509, and the microprocessor failure detection processing 510 are included. The arithmetic processing 507 is the main processing performed by the microprocessor 501. The vehicle motion control for calculating the speed command of the automobile is calculated with respect to the input signal 511 such as the accelerator amount and the brake amount. The calculation result 512 is output to the microprocessor 502 and the calculation processing 508.

【0062】演算処理508と演算処理509は、それぞれマ
イクロプロセッサ502とマイクロプロセッサ503が行うメ
イン処理を簡略化した、補完処理である。演算処理508
は演算結果513をマイクロプロセッサ503へ出力し、演算
処理509は演算結果514の制御パルスを外部出力として第
三切替回路505に対して出力する。
The arithmetic processing 508 and the arithmetic processing 509 are complementary processing in which the main processing performed by the microprocessor 502 and the microprocessor 503 is simplified. Arithmetic processing 508
Outputs the operation result 513 to the microprocessor 503, and the operation processing 509 outputs the control pulse of the operation result 514 to the third switching circuit 505 as an external output.

【0063】マイクロプロセッサ故障検知処理510は、
後述する方法でマイクロプロセッサ故障を検知し、マイ
クロプロセッサ故障検知信号515をマイクロプロセッサ
故障判定回路504に対して出力する。
The microprocessor failure detection process 510 is
A microprocessor failure is detected by a method described later, and a microprocessor failure detection signal 515 is output to the microprocessor failure determination circuit 504.

【0064】マイクロプロセッサ502は、演算処理516、
演算処理517、演算処理518、第一切替部519、マイクロ
プロセッサ故障検知処理520からなる。演算処理516は、
マイクロプロセッサ502が行うメインの処理である。速
度センサ541から得られるモータの速度をフィードバッ
クして速度制御を行う。
The microprocessor 502 has an arithmetic processing unit 516,
The calculation processing 517, the calculation processing 518, the first switching unit 519, and the microprocessor failure detection processing 520 are included. The arithmetic processing 516
This is the main processing performed by the microprocessor 502. The speed of the motor obtained from the speed sensor 541 is fed back for speed control.

【0065】演算処理517と演算処理518は、それぞれマ
イクロプロセッサ501とマイクロプロセッサ503が行うメ
イン処理を簡略化した、補完処理である。演算処理517
は入力信号511を入力として演算を行い、演算結果521を
第一切替部519に出力する。第一切替部519は、演算処理
517からの演算結果521と、マイクロプロセッサ503内の
マイクロプロセッサ501のメイン処理を補完する演算処
理522からの演算結果523と、マイクロプロセッサ501内
の演算処理507からの演算結果512との3つの演算結果か
ら1つの演算結果を選択する。
The arithmetic processing 517 and the arithmetic processing 518 are complementary processing in which the main processing performed by the microprocessor 501 and the microprocessor 503 is simplified. Arithmetic processing 517
Performs an operation using the input signal 511 as an input, and outputs an operation result 521 to the first switching unit 519. The first switching unit 519 performs arithmetic processing
Three operations: an operation result 521 from the 517, an operation result 523 from the operation process 522 that complements the main processing of the microprocessor 501 in the microprocessor 503, and an operation result 512 from the operation process 507 in the microprocessor 501. Select one operation result from the results.

【0066】この選択はマイクロプロセッサ故障判定回
路504からのマイクロプロセッサ故障時切り換え信号524
に基づいて行う。演算処理516は第一切替部519によって
選択された演算結果525を入力として演算を行い、演算
結果526を演算処理518とマイクロプロセッサ503に出力
する。演算処理518は演算結果526を入力として演算を行
い演算結果527の制御パルスを外部出力として、第三切
替回路505に出力する。
This selection is made by the microprocessor failure determination circuit 504, which is a switching signal 524 at the time of microprocessor failure.
Based on. The arithmetic processing 516 performs arithmetic operation with the arithmetic result 525 selected by the first switching unit 519 as an input, and outputs the arithmetic result 526 to the arithmetic processing 518 and the microprocessor 503. The arithmetic processing 518 performs an arithmetic operation with the arithmetic result 526 as an input, and outputs the control pulse of the arithmetic result 527 to the third switching circuit 505 as an external output.

【0067】マイクロプロセッサ故障検知処理520は、
後述する方法でマイクロプロセッサ故障を検知し、マイ
クロプロセッサ故障検知信号528をマイクロプロセッサ
故障判定回路504に対して出力する。
The microprocessor failure detection processing 520 is
A microprocessor failure is detected by a method described later, and a microprocessor failure detection signal 528 is output to the microprocessor failure determination circuit 504.

【0068】マイクロプロセッサ503は、演算処理522、
演算処理529、演算処理530、第二切替部531、マイクロ
プロセッサ故障検知処理532からなる。演算処理530は、
マイクロプロセッサ503が行うメインの処理である。速
度制御から得られる電流指令と電流センサ542から得ら
れる電流値をもとに電流制御し、電圧指令を与え、この
電圧指令になるように制御パルスをインバータに出力す
る。
The microprocessor 503 has an arithmetic processing unit 522,
The calculation processing 529, the calculation processing 530, the second switching unit 531 and the microprocessor failure detection processing 532. The arithmetic processing 530 is
This is the main processing performed by the microprocessor 503. Current control is performed based on the current command obtained from the speed control and the current value obtained from the current sensor 542, a voltage command is given, and a control pulse is output to the inverter so that this voltage command is achieved.

【0069】演算処理522と演算処理529は、それぞれマ
イクロプロセッサ501とマイクロプロセッサ502が行うメ
イン処理を簡略化した、補完処理である。演算処理522
は入力信号511を入力として演算を行い、演算結果523を
演算処理529とマイクロプロセッサ502に出力する。演算
処理529は演算結果523を入力として演算を行い、演算結
果533を第二切替部531に出力する。第二切替部531は、
演算処理529からの演算結果533と、演算処理516の演算
結果526と、演算処理516の演算結果526との3つの演算
結果から1つの演算結果を選択する。
The arithmetic process 522 and the arithmetic process 529 are complementary processes which simplify the main process performed by the microprocessor 501 and the microprocessor 502, respectively. Arithmetic processing 522
Performs an operation using the input signal 511 as an input, and outputs an operation result 523 to the operation processing 529 and the microprocessor 502. The arithmetic processing 529 performs the arithmetic operation by using the arithmetic result 523 as an input, and outputs the arithmetic result 533 to the second switching unit 531. The second switching unit 531 is
One calculation result is selected from the three calculation results of the calculation result 533 from the calculation process 529, the calculation result 526 of the calculation process 516, and the calculation result 526 of the calculation process 516.

【0070】この選択は、マイクロプロセッサ故障判定
回路504からのマイクロプロセッサ故障時切り換え信号5
34に基づいて行う。演算処理530は第二切替部531によっ
て選択された演算結果535を入力として演算を行い演算
結果536の制御パルスを外部出力として第三切替回路505
に出力する。
This selection is made by the switching signal 5 at the time of microprocessor failure from the microprocessor failure determination circuit 504.
Based on 34. The arithmetic processing 530 performs an arithmetic operation by using the arithmetic result 535 selected by the second switching unit 531 as an input, and outputs the control pulse of the arithmetic result 536 as an external output to the third switching circuit 505.
Output to.

【0071】マイクロプロセッサ故障検知処理532は後
述する方法でマイクロプロセッサ故障を検知し、マイク
ロプロセッサ故障検知信号537をマイクロプロセッサ故
障判定回路504に対して出力する。
The microprocessor failure detection processing 532 detects a microprocessor failure by a method described later and outputs a microprocessor failure detection signal 537 to the microprocessor failure determination circuit 504.

【0072】マイクロプロセッサ故障判定回路504は各
マイクロプロセッサからのウオッチドグ信号とマイクロ
プロセッサ故障検知信号 515,528,537を入力として、各
マイクロプロセッサの故障を判断しマイクロプロセッサ
故障時切り換え信号 524,534,539を出力する。
The microprocessor failure determination circuit 504 inputs the watchdog signal and the microprocessor failure detection signals 515, 528 and 537 from each microprocessor and determines the failure of each microprocessor and outputs the microprocessor failure switching signals 524, 534,539.

【0073】第三切替回路505は外部出力された3つの
演算結果(制御パルス)514,527,528から1つを選択し
て外部出力538としてインバータ506に対して出力する。
この選択はマイクロプロセッサ故障判定回路504からの
マイクロプロセッサ故障時切り換え信号539に基づいて
行う。
The third switching circuit 505 selects one from the three operation results (control pulses) 514, 527 and 528 output to the outside and outputs it to the inverter 506 as an external output 538.
This selection is made based on the microprocessor failure switching signal 539 from the microprocessor failure determination circuit 504.

【0074】インバータ506は、電気自動車のモータ540
の駆動を行う。
The inverter 506 is a motor 540 of an electric vehicle.
Drive.

【0075】3つマイクロプロセッサはそれぞれ次のよ
うにしてマイクロプロセッサの故障検知を行う。
Each of the three microprocessors detects the failure of the microprocessor as follows.

【0076】まず、それぞれ正常に動作していることを
他のマイクロプロセッサに示すため、一定周期毎に信号
レベルを反転するウオッチドグ信号を出力する。それら
の信号は各マイクロプロセッサ内のマイクロプロセッサ
故障検知処理510,520,532で常に監視し、所定の時間で
反転しているかを確認する。ウオッチドグ信号が所定の
時間で反転しない場合は、それぞれのマイクロプロセッ
サでマイクロプロセッサ故障検知信号515,528,537を出
力し、故障とみなしたことを出力する。
First, in order to indicate to other microprocessors that they are operating normally, a watchdog signal that inverts the signal level is output at regular intervals. These signals are constantly monitored by the microprocessor failure detection processing 510, 520, 532 in each microprocessor to confirm whether they are inverted at a predetermined time. When the watchdog signal is not inverted within a predetermined time, each microprocessor outputs the microprocessor failure detection signals 515, 528, 537, and outputs what is considered as a failure.

【0077】次に、それぞれ他のマイクロプロセッサを
補完するための補完処理の演算結果をそのメイン処理を
行っているマイクロプロセッサに対して出力する。それ
らの演算結果は各マイクロプロセッサ内のマイクロプロ
セッサ故障検知処理510,520,532で常にメイン処理によ
る演算結果と同じであるかを比較される。演算結果が異
なっている場合は、ウオッチドグ信号の場合と同様にそ
れぞれのマイクロプロセッサでマイクロプロセッサ故障
検知信号515,528,537を出力し、故障とみなしたことを
出力する。
Next, the calculation result of the complementary processing for complementing each other microprocessor is output to the microprocessor which is performing the main processing. The results of these calculations are compared in the microprocessor failure detection processes 510, 520, and 532 in each microprocessor to see whether they are always the same as the results of the main process. When the calculation results are different, the microprocessor failure detection signals 515, 528 and 537 are output by the respective microprocessors as in the case of the watchdog signal, and the fact that the failure is considered is output.

【0078】ここで、マイクロプロセッサ故障判定回路
504での処理について説明する。マイクロプロセッサ故
障判定回路504では、各マイクロプロセッサからのウオ
ッチドグ信号とマイクロプロセッサ故障信号515,528,53
7を入力として、各マイクロプロセッサの故障を判断す
る。そして、第一切替部519と第二切替部531と第三切替
回路505に対して切り換え信号を出力する。
Here, the microprocessor failure determination circuit
The processing in 504 will be described. In the microprocessor failure determination circuit 504, the watchdog signal from each microprocessor and the microprocessor failure signals 515, 528, 53
Determine the failure of each microprocessor by inputting 7. Then, the switching signal is output to the first switching unit 519, the second switching unit 531 and the third switching circuit 505.

【0079】マイクロプロセッサの故障診断はウオッチ
ドグ信号が正常に出力されているマイクロプロセッサが
出力する故障信号によって判断する。例えば、マイクロ
プロセッサ502が故障した場合の故障判定は、まず、マ
イクロプロセッサ502からのウオッチドグ信号が異常で
あればそこでマイクロプロセッサ502を故障と判定す
る。
The failure diagnosis of the microprocessor is judged by the failure signal output by the microprocessor which normally outputs the watchdog signal. For example, in the failure determination when the microprocessor 502 fails, first, if the watchdog signal from the microprocessor 502 is abnormal, then the microprocessor 502 is determined to be failed.

【0080】次に、マイクロプロセッサ502からのウオ
ッチドグ信号が正常であっても、マイクロプロセッサ間
の演算結果の通信によって、マイクロプロセッサ故障検
知処理510と532がマイクロプロセッサ502の故障を検知
し、それぞれマイクロプロセッサ故障信号 515と537を
出力すれば、マイクロプロセッサ故障判定回路504で
は、マイクロプロセッサ501と503からのウオッチドグ信
号が正常であることを確認し、さらに故障信号515と537
を検出したことからマイクロプロセッサ502が故障した
と判断する。
Next, even if the watchdog signal from the microprocessor 502 is normal, the microprocessor failure detection processes 510 and 532 detect the failure of the microprocessor 502 by the communication of the calculation result between the microprocessors, and the microprocessor 502 detects the failure. If the processor failure signals 515 and 537 are output, the microprocessor failure determination circuit 504 confirms that the watchdog signals from the microprocessors 501 and 503 are normal, and further the failure signals 515 and 537.
Is detected, it is determined that the microprocessor 502 has failed.

【0081】表4は、マイクロプロセッサ故障時切り換
え信号524,534,539の出力方法について示すものであ
る。
Table 4 shows a method of outputting the switching signals 524, 534,539 at the time of microprocessor failure.

【0082】[0082]

【表4】 [Table 4]

【0083】まず、いずれのマイクロプロセッサも正常
に動作していると判断した時は、第一切替部519に対す
る切り換え信号524は、演算結果512を選択させ、第二切
替部531に対する切り換え信号534は、演算結果526を選
択させ、第三切替回路505に対する切り換え信号539は、
演算結果536を選択させる。この結果、各マイクロプロ
セッサのメイン処理の演算結果が選択され、インバータ
506に対して出力される。
First, when it is determined that all the microprocessors are operating normally, the switching signal 524 for the first switching unit 519 causes the calculation result 512 to be selected, and the switching signal 534 for the second switching unit 531 is selected. , The calculation result 526 is selected, and the switching signal 539 to the third switching circuit 505 is
Select calculation result 536. As a result, the calculation result of the main processing of each microprocessor is selected and
Output to 506.

【0084】マイクロプロセッサの故障が判定された時
は、故障したマイクロプロセッサに応じて、表4に示す
演算結果を選択するようにそれぞれの切り換え信号を出
力する。この結果、故障したマイクロプロセッサに対応
した補完処理の演算結果が選択されるので、電気自動車
の走行性能が保障される。
When the failure of the microprocessor is judged, each switching signal is output so as to select the operation result shown in Table 4 according to the failed microprocessor. As a result, the calculation result of the complementary processing corresponding to the failed microprocessor is selected, so that the running performance of the electric vehicle is guaranteed.

【0085】全てのマイクロプロセッサが故障と判定さ
れた時は、第三切替回路505がインバータを停止信号を
インバータに出力し、電気自動車を停止させる。
When it is determined that all the microprocessors have failed, the third switching circuit 505 outputs a stop signal to the inverter to stop the electric vehicle.

【0086】このように本実施例を用いれば3つのマイ
クロプロセッサが相互に動作状態を監視するので、簡単
に故障の有無を検知でき、それにより正常なマイクロプ
ロセッサで安全に補完処理を行うことができる。従っ
て、2つのマイクロプロセッサが暴走した場合でも自動
車としては安全に走行できる。
As described above, according to the present embodiment, since the three microprocessors mutually monitor the operating states, it is possible to easily detect the presence / absence of a failure, so that a normal microprocessor can safely perform complementary processing. it can. Therefore, even if the two microprocessors run out of control, the vehicle can travel safely.

【0087】[0087]

【発明の効果】本発明によれば、正副二個のコントロー
ラを、常時働かせ、正のコントローラにのみ依存されな
い信頼性の高い走行制御を有する電気自動車制御装置を
提供することができる。
According to the present invention, it is possible to provide an electric vehicle control device having a highly reliable traveling control in which two primary and secondary controllers are always operated and which is not dependent only on the positive controller.

【0088】また、速度センサまたは電流センサなどの
故障に対する補完制御を付加し、更に信頼性が向上する
電気自動車制御装置を提供することができる。
Further, it is possible to provide an electric vehicle control device in which complementary control for a failure of the speed sensor or the current sensor is added to further improve the reliability.

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

【図1】本発明による一実施例の電気自動車制御装置を
示す図である。
FIG. 1 is a diagram showing an electric vehicle control device according to an embodiment of the present invention.

【図2】マイクロプロセッサ故障判定回路の構成を示す
図である。
FIG. 2 is a diagram showing a configuration of a microprocessor failure determination circuit.

【図3】センサ故障検知回路の構成を示す図である。FIG. 3 is a diagram showing a configuration of a sensor failure detection circuit.

【図4】本発明による他の実施例の電気自動車制御装置
を示す図である。
FIG. 4 is a diagram showing an electric vehicle control device of another embodiment according to the present invention.

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

1…第一マイクロプロセッサ、2…第二マイクロプロセ
ッサ、3…マイクロプロセッサ故障判定回路、4…セン
サ故障検知回路、5…故障モード診断回路、6…第二切
替回路、7…電力変換装置、8…モータ、9…速度セン
サ、10…電流センサ、11…車両制御部、12…副モータ制
御部、13、19…速度指令、14…制御パルス、15…副車両
制御部、16…第一切替部、17…ベクトル制御演算部、18
…モータ制御部、20…速度センサレスベクトル制御演算
部、21…すべり周波数制御演算部、22…v/fオープン制
御演算部、23…制御パルス切替部、24…ウオッチドグ信
号、25…マイクロプロセッサ故障検知信号、26…マイク
ロプロセッサ故障信号、29…センサ故障信号、30…第一
切替信号、31…第二切替信号、32…演算切替信号、33、
34、35、36、37…制御パルス60、61…マイクロプロセッ
サ故障検知部
DESCRIPTION OF SYMBOLS 1 ... 1st microprocessor, 2 ... 2nd microprocessor, 3 ... Microprocessor failure determination circuit, 4 ... Sensor failure detection circuit, 5 ... Failure mode diagnostic circuit, 6 ... Second switching circuit, 7 ... Power conversion device, 8 ... Motor, 9 ... Speed sensor, 10 ... Current sensor, 11 ... Vehicle control unit, 12 ... Sub motor control unit, 13, 19 ... Speed command, 14 ... Control pulse, 15 ... Sub vehicle control unit, 16 ... First switching Part, 17 ... Vector control calculation part, 18
... Motor control unit, 20 ... Speed sensorless vector control operation unit, 21 ... Slip frequency control operation unit, 22 ... v / f open control operation unit, 23 ... Control pulse switching unit, 24 ... Watchdog signal, 25 ... Microprocessor failure detection Signal, 26 ... Microprocessor failure signal, 29 ... Sensor failure signal, 30 ... First switching signal, 31 ... Second switching signal, 32 ... Operation switching signal, 33,
34, 35, 36, 37 ... Control pulse 60, 61 ... Microprocessor failure detector

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】電気自動車を駆動する電動機と、前記電動
機に電力を供給する電力変換手段と、前記電気自動車の
走行状態を検知する検知手段と、前記検知手段からの検
知情報に基づいて前記電力変換手段を制御する制御指令
を演算する制御手段とを備え、 前記制御手段は、前記制御指令の演算を実行する演算部
を第一の演算部と第二の演算部との二つに分割し、当該
第一の演算部と当該第二の演算部毎にそれぞれ正規の制
御演算を実行する正演算部と簡略化した制御演算を実行
する副演算部とを用意したものであって、当該第一正演
算部と当該第二副演算部を含む第一制御手段と、当該第
一副演算部と当該第二正演算部を含む第二制御手段とを
有し、 前記第一制御手段は、前記第二制御手段が演算実行サイ
クル毎に発するウオッチドグ信号の周期と、前記第一制
御手段が実行する前記第一正演算部の演算結果と前記第
二制御手段が実行する前記第一副演算部の演算結果の差
および前記第一制御手段が実行する前記第二副演算部の
演算結果と前記第二制御手段が実行する前記第二正演算
部の演算結果の差とから、前記第二制御手段の故障を検
知し、第二制御手段故障検知信号を出力する第二制御手
段故障検知手段を有し、 前記第二制御手段は、前記第一制御手段が演算実行サイ
クル毎に発するウオッチドグ信号の周期と、前記第一正
演算部の演算結果と前記第一副演算部の演算結果の差お
よび前記第二副演算部の演算結果と前記第二正演算部の
演算結果の差とから、前記第一制御手段の故障を検知
し、第一制御手段故障検知信号を出力する第一制御手段
故障検知手段を有し、 前記第一制御手段の前記ウオッチドグ信号の周期と、前
記第二制御手段の前記ウオッチドグ信号の周期と、前記
第一制御手段故障検知信号と、前記第二制御手段故障検
知信号との組み合わせから、前記第一制御手段または前
記第二制御手段の故障を判定し、切替信号を出力する制
御手段故障判定手段と、 前記切替信号に応じて前記第一正演算部の演算結果と前
記第一副演算部の演算結果を切り替える第一切替手段
と、前記切替信号に応じて前記第二正演算部の演算結果
と前記第二副演算部の演算結果を切り替える第二切替手
段とを設けたことを特徴とする電気自動車制御装置。
1. An electric motor for driving an electric vehicle, a power converting means for supplying electric power to the electric motor, a detecting means for detecting a traveling state of the electric vehicle, and the electric power based on detection information from the detecting means. And a control unit that calculates a control command that controls the conversion unit, wherein the control unit divides the calculation unit that executes the calculation of the control command into two, a first calculation unit and a second calculation unit. A first operation unit and a second operation unit for executing a normal control operation for each second operation unit, and a sub-operation unit for executing a simplified control operation. A first control unit including a one-correction arithmetic unit and the second sub-calculation unit, and a second control unit including the first sub-calculation unit and the second positive calculation unit, the first control unit, Watchdog signal issued by the second control means in each operation execution cycle A cycle, a difference between the calculation result of the first positive calculation unit executed by the first control unit and the calculation result of the first sub-calculation unit executed by the second control unit, and the difference executed by the first control unit From the difference between the calculation result of the second sub-calculation section and the calculation result of the second positive calculation section executed by the second control means, a failure of the second control means is detected, and a second control means failure detection signal is sent. It has a second control means failure detection means for outputting, the second control means, the period of the watchdog signal issued by the first control means for each operation execution cycle, the operation result of the first positive operation unit and the first A failure of the first control means is detected from the difference between the calculation results of the one sub-calculation section and the difference between the calculation result of the second sub-calculation section and the calculation result of the second positive calculation section, and the first control means malfunctions. A first control means for outputting a detection signal, failure detection means, From the combination of the cycle of the watchdog signal of the control means, the cycle of the watchdog signal of the second control means, the first control means failure detection signal, and the second control means failure detection signal, the first control Means or the second control means for determining the failure, the control means failure determination means for outputting a switching signal, the operation result of the first correct operation unit and the operation result of the first sub-operation unit according to the switching signal An electric vehicle, comprising: a first switching unit for switching between a calculation result of the second positive calculation unit and a calculation result of the second sub calculation unit according to the switching signal. Control device.
【請求項2】請求項1において、前記第一正演算部の演
算結果と前記第一副演算部の演算結果とに差がある場合
または前記第二副演算部の演算結果と前記第二正演算部
の演算結果とに差がある場合のうち少なくとも一方の場
合は、前記第一制御手段故障検知手段は前記第一制御手
段故障検知信号を出力し、前記第二制御手段故障検知手
段は前記第二制御手段故障検知信号を出力するものであ
ること特徴とする電気自動車制御装置。
2. The method according to claim 1, wherein there is a difference between the calculation result of the first positive calculation unit and the calculation result of the first sub calculation unit, or the calculation result of the second sub calculation unit and the second positive calculation unit. In the case of at least one of the cases where there is a difference between the calculation result of the calculation unit, the first control means failure detection means outputs the first control means failure detection signal, and the second control means failure detection means Second control means An electric vehicle control device which outputs a failure detection signal.
【請求項3】請求項1において、前記制御手段故障判定
手段は、前記第一制御手段および前記第二制御手段の両
方が正常であると判定した場合は、前記第一正演算部と
前記第二正演算部とで前記制御指令を演算する前記切替
信号を出力し、 前記第一制御手段は正常であり前記第二制御手段が故障
であると判定した場合は、前記第一正演算部と前記第二
副演算部とで前記制御指令を演算する前記切替信号を出
力し、 前記第一制御手段が故障であり前記第二制御手段は正常
であると判定した場合は、前記第一副演算部と前記第二
正演算部とで前記制御指令を演算する前記切替信号を出
力するものであることを特徴とする電気自動車制御装
置。
3. The control means failure determination means according to claim 1, when both the first control means and the second control means are determined to be normal, the first correct operation unit and the second When outputting the switching signal for calculating the control command with the second positive operation unit, and determining that the first control unit is normal and the second control unit is in failure, the first positive operation unit and The first sub-calculation is performed when the switching signal for calculating the control command is output by the second sub-calculation section and the first control means is in failure and the second control means is normal. An electric vehicle control device, wherein the switching signal for calculating the control command is output by the control unit and the second positive calculation unit.
【請求項4】請求項1において、前記制御手段故障判定
手段は、前記ウオッチドグ信号の周期が異常であるとこ
ろの前記第一制御手段を故障と判定し、前記ウオッチド
グ信号の周期が異常であるところの前記第二制御手段を
故障と判定するものであることを特徴とする電気自動車
制御装置。
4. The control means failure determination means according to claim 1, wherein the first control means where the period of the watchdog signal is abnormal is determined to be faulty, and the cycle of the watchdog signal is abnormal. 2. An electric vehicle control device, wherein the second control means is determined to be a failure.
【請求項5】請求項1において、前記制御手段故障判定
手段は、前記第一制御手段の前記ウオッチドグ信号と前
記第二制御手段の前記ウオッチドグ信号の両方が正常で
ある場合は、前記第二制御手段故障検知信号の有無によ
り前記第一制御手段の故障を判定し、前記第一制御手段
故障検知信号の有無により前記第二制御手段の故障を判
定するものであることを特徴とする電気自動車制御装
置。
5. The control means failure determination means according to claim 1, wherein both of the watchdog signal of the first control means and the watchdog signal of the second control means are normal. An electric vehicle control, wherein a failure of the first control means is determined by the presence or absence of a means failure detection signal, and a failure of the second control means is determined by the presence or absence of the first control means failure detection signal. apparatus.
【請求項6】請求項1において、前記制御手段故障判定
手段が前記第一制御手段と前記第二制御手段の両方が故
障であると判定した場合に、前記電力変換手段に対して
停止信号を出力する手段を設けたことを特徴とする電気
自動車制御装置。
6. The stop signal to the power conversion means according to claim 1, when the control means failure determination means determines that both the first control means and the second control means are in failure. An electric vehicle control device comprising means for outputting.
【請求項7】請求項1において、前記第一正演算部と前
記第一副演算部は、前記電気自動車の走行速度を設定す
る速度指令を演算し、前記第二副演算部と前記前記第二
正演算部は、前記速度指令に見合った電圧指令を演算す
ることを特徴とする電気自動車制御装置。
7. The first positive calculation unit and the first sub calculation unit calculate a speed command for setting a traveling speed of the electric vehicle, and the second sub calculation unit and the second sub calculation unit according to claim 1. An electric vehicle control device, wherein the second-order arithmetic unit calculates a voltage command corresponding to the speed command.
【請求項8】請求項1において、前記電気自動車の走行
状態を検知する前記検知手段の故障を判定し故障信号を
出力する検知手段故障判定手段と、前記検知手段からの
検知情報に代わりオープンループ電圧/周波数制御法ま
たはすべり制御付き電圧/周波数制御法などの代替制御
法を採用して簡略化した制御演算を実行し前記第二正演
算部を補完するセンサレス演算手段と、前記検知手段故
障判定手段の前記故障信号により前記第二正演算部の演
算結果と前記センサレス演算手段の演算結果を切り替え
る演算切替手段とを設け、前記検知手段故障判定手段に
より前記検知手段が故障と判定された場合に、前記第一
正演算部と前記センサレス演算手段とで前記制御指令を
演算することを特徴とする電気自動車制御装置。
8. The detection means failure determination means for determining a failure of the detection means for detecting a traveling state of the electric vehicle and outputting a failure signal according to claim 1, and an open loop instead of the detection information from the detection means. Sensorless calculation means for executing a simplified control calculation by employing an alternative control method such as a voltage / frequency control method or a voltage / frequency control method with slip control, and the detection means failure determination And a calculation switching means for switching the calculation result of the second positive calculation part and the calculation result of the sensorless calculation means according to the failure signal of the means, and when the detection means is judged to be defective by the detection means failure judgment means. An electric vehicle control device, wherein the control command is calculated by the first positive calculation unit and the sensorless calculation unit.
【請求項9】請求項1において、前記第二副演算部は、
オープンループ電圧/周波数制御法またはすべり制御付
き電圧/周波数制御法などの代替制御法を採用して簡略
化した制御演算を実行するものであることを特徴とする
電気自動車制御装置。
9. The second sub-calculation unit according to claim 1,
An electric vehicle control device, characterized in that an alternative control method such as an open loop voltage / frequency control method or a voltage / frequency control method with slip control is adopted to execute a simplified control calculation.
【請求項10】請求項8において、前記制御手段故障判
定手段により前記第一制御手段が故障であり前記第二制
御手段は正常であると判定された場合は、前記第一副演
算部と前記センサレス演算手段とで前記制御指令を演算
することを特徴とする電気自動車制御装置。
10. The method according to claim 8, wherein when the control means failure determination means determines that the first control means is in failure and the second control means is normal, the first sub-calculation unit and the An electric vehicle control device, wherein the control command is calculated by a sensorless calculation means.
【請求項11】電気自動車を駆動する電動機と、前記電
動機に電力を供給する電力変換手段と、前記電気自動車
の走行状態を検知する検知手段と、前記検知手段からの
検知情報に基づいて前記電力変換手段を制御する制御指
令を演算する制御手段を備え、 前記制御手段は、前記制御指令の演算を実行する演算部
を第一の演算部と第二の演算部と第三の演算部との三つ
に分割し、当該第一の演算部と当該第二の演算部と当該
第三の演算部毎にそれぞれ正規の制御演算を実行する主
演算部と簡略化した制御演算を実行する副演算部を用意
したものであって、 当該第一正演算部と当該第二副演算部と当該第三副演算
部を含む第一制御手段と、当該第一副演算部と当該第二
正演算部と当該第三副演算部を含む第二制御手段と、当
該第一副演算部と当該第二副演算部と当該第三正演算部
を含む第三制御手段とを有し、 前記第一制御手段と前記第二制御手段と前記第三制御手
段は、演算実行サイクル毎に発するそれぞれのウオッチ
ドグ信号の周期と、前記第一の演算部および前記第二の
演算部および前記第三の演算部毎のそれぞれの正副演算
結果の差とから、互いに各制御手段の故障検知を行い、
制御手段故障検知信号をそれぞれ出力する制御手段故障
検知手段を有し、 前記第一制御手段と前記第二制御手段と前記第三制御手
段の前記ウオッチドグ信号の周期と、各制御手段からの
それぞれの前記制御手段故障検知信号との組み合わせか
ら、前記第一制御手段または前記第二制御手段または前
記第三制御手段の故障を判定する制御手段故障判定手段
を設け、 前記制御手段故障判定手段の故障判定により、前記第一
正演算部の演算結果を前記第二または第三制御手段の前
記第一副演算部の演算結果に切り替える手段と、前記第
二正演算部の演算結果を前記第一または第三制御手段の
前記第二副演算部の演算結果に切り替える手段と、前記
第三正演算部の演算結果を前記第一または第二制御手段
の前記第三副演算部の演算結果に切り替える手段を設け
たことを特徴とする電気自動車制御装置。
11. An electric motor for driving an electric vehicle, a power converting means for supplying electric power to the electric motor, a detecting means for detecting a traveling state of the electric vehicle, and the electric power based on detection information from the detecting means. The control means calculates a control command for controlling the conversion means, and the control means includes a calculation part that executes a calculation of the control command, the first calculation part, the second calculation part, and the third calculation part. It is divided into three parts, a main operation part that executes a normal control operation for each of the first operation part, the second operation part, and the third operation part, and a sub operation that executes a simplified control operation. A first control unit including the first positive operation unit, the second sub operation unit, and the third sub operation unit, the first sub operation unit, and the second positive operation unit. And second control means including the third sub-calculation section, and the first sub-calculation section It has a second sub-operation unit and a third control unit including the third positive operation unit, the first control unit, the second control unit and the third control unit, each of which is issued in each operation execution cycle From the cycle of the watchdog signal and the difference between the primary and secondary operation results of each of the first arithmetic unit, the second arithmetic unit, and the third arithmetic unit, failure detection of each control unit is performed,
A control means failure detection means for outputting a control means failure detection signal, respectively, the period of the watchdog signal of the first control means, the second control means, and the third control means, and from each control means A control means failure determination means for determining a failure of the first control means, the second control means, or the third control means from a combination with the control means failure detection signal is provided, and a failure determination of the control means failure determination means The means for switching the calculation result of the first positive calculation unit to the calculation result of the first sub-calculation unit of the second or third control means, and the calculation result of the second positive calculation unit for the first or first And a means for switching to a calculation result of the second sub-calculation section of the three control means and a calculation result of the third positive calculation section for the calculation result of the third sub-calculation section of the first or second control means. Electric vehicle control apparatus is characterized by providing a step.
【請求項12】マイクロプロセッサのプログラムループ
実行サイクル毎に発するプログラムラン周期信号の確認
により前記マイクロプロセッサの異常を判別し、正規の
制御処理を行う正マイクロプロセッサから前記正マイク
ロプロセッサの補完制御処理を行う少なくとも一個の副
マイクロプロセッサへ切り替えて走行制御する電気自動
車の制御方法において、 前記プログラムラン周期信号の確認と、前記正マイクロ
プロセッサの制御処理結果ならびに前記副マイクロプロ
セッサの制御処理結果の比較差確認との組合せにより前
記正マイクロプロセッサまたは前記副マイクロプロセッ
サの異常を判別することを特徴とする電気自動車の制御
方法。
12. A microprocessor control unit executes a normal control process from a positive microprocessor which performs a normal control process by checking a program run cycle signal issued in each program loop execution cycle of the microprocessor to execute a complementary control process of the normal microprocessor. In a control method of an electric vehicle that switches to at least one sub-microprocessor to perform traveling control, confirmation of the program run period signal, comparison difference confirmation of the control processing result of the positive microprocessor and the control processing result of the sub-microprocessor A method for controlling an electric vehicle, characterized in that the abnormality of the primary microprocessor or the secondary microprocessor is determined by a combination with the above.
【請求項13】電気自動車を走行駆動する電動機の回転
速度または前記電動機に流れる電流などを検出する検出
センサと、前記検出センサの検出信号に基づいて走行制
御指令を正規に演算する制御演算手段とを備える電気自
動車制御装置において、 前記検出信号に代わりオープンループ電圧/周波数制御
法またはすべり制御付き電圧/周波数制御法などの簡略
制御法に基づいて前記走行制御指令を演算し前記制御演
算手段を補完する補完演算手段と、前記検出センサの故
障を検知し故障信号を出力する故障検知手段と、前記故
障信号に応じて前記制御演算手段と前記補完演算手段と
を切り替える演算切替手段とを設けたことを特徴とする
電気自動車制御装置。
13. A detection sensor for detecting a rotational speed of an electric motor for driving an electric vehicle or a current flowing through the electric motor, and a control calculation means for normally calculating a travel control command based on a detection signal of the detection sensor. In the electric vehicle control device including the above, the traveling control command is calculated based on a simplified control method such as an open loop voltage / frequency control method or a voltage / frequency control method with slip control instead of the detection signal, and the control calculation means is complemented. And a failure detection means for detecting a failure of the detection sensor and outputting a failure signal, and a calculation switching means for switching between the control calculation means and the complementary calculation means according to the failure signal. An electric vehicle control device characterized by:
JP5282903A 1993-11-12 1993-11-12 Electric motor vehicle controller Pending JPH07143604A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5282903A JPH07143604A (en) 1993-11-12 1993-11-12 Electric motor vehicle controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5282903A JPH07143604A (en) 1993-11-12 1993-11-12 Electric motor vehicle controller

Publications (1)

Publication Number Publication Date
JPH07143604A true JPH07143604A (en) 1995-06-02

Family

ID=17658607

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5282903A Pending JPH07143604A (en) 1993-11-12 1993-11-12 Electric motor vehicle controller

Country Status (1)

Country Link
JP (1) JPH07143604A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5832395A (en) * 1995-07-26 1998-11-03 Nippondenso Co. Ltd. Electric automotive vehicle control apparatus
JP2008250594A (en) * 2007-03-30 2008-10-16 Hitachi Ltd Device diagnostic method, device-diagnosing module and device with device-diagnosing module mounted thereon
WO2009119462A1 (en) 2008-03-25 2009-10-01 株式会社サンメディカル技術研究所 Auxiliary artificial heart pump drive and auxiliary artificial heart system
JP2012016205A (en) * 2010-07-02 2012-01-19 Mitsubishi Electric Corp Electric power conversion apparatus
JP2014018064A (en) * 2013-08-20 2014-01-30 Toshiba Corp Brake control method
JP2014166034A (en) * 2013-02-25 2014-09-08 Denso Corp Battery monitoring device
US8983727B2 (en) 2006-05-30 2015-03-17 Mitsubishi Electric Corporation Steering control apparatus
CN104753433A (en) * 2013-12-31 2015-07-01 现代摩比斯株式会社 Method and apparatus for controlling of 3-phase ac motor
EP2950444A4 (en) * 2013-01-28 2017-01-18 Hitachi Automotive Systems, Ltd. Motor control system

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5832395A (en) * 1995-07-26 1998-11-03 Nippondenso Co. Ltd. Electric automotive vehicle control apparatus
US8983727B2 (en) 2006-05-30 2015-03-17 Mitsubishi Electric Corporation Steering control apparatus
JP2008250594A (en) * 2007-03-30 2008-10-16 Hitachi Ltd Device diagnostic method, device-diagnosing module and device with device-diagnosing module mounted thereon
US8727960B2 (en) 2008-03-25 2014-05-20 Sun Medical Technology Research Corporation Auxiliary artificial heart pump drive device and auxiliary artificial heart system
WO2009119462A1 (en) 2008-03-25 2009-10-01 株式会社サンメディカル技術研究所 Auxiliary artificial heart pump drive and auxiliary artificial heart system
US8545381B2 (en) 2008-03-25 2013-10-01 Sun Medical Technology Research Corporation Auxiliary artificial heart pump drive device and auxiliary artificial heart system
JP2012016205A (en) * 2010-07-02 2012-01-19 Mitsubishi Electric Corp Electric power conversion apparatus
US8450983B2 (en) 2010-07-02 2013-05-28 Mitsubishi Electric Corporation Secondary control system for maintaining motor generator power generation during primary control failure
EP2403133A3 (en) * 2010-07-02 2015-05-06 Mitsubishi Electric Corporation Electric power converting apparatus
EP2950444A4 (en) * 2013-01-28 2017-01-18 Hitachi Automotive Systems, Ltd. Motor control system
JP2014166034A (en) * 2013-02-25 2014-09-08 Denso Corp Battery monitoring device
JP2014018064A (en) * 2013-08-20 2014-01-30 Toshiba Corp Brake control method
CN104753433A (en) * 2013-12-31 2015-07-01 现代摩比斯株式会社 Method and apparatus for controlling of 3-phase ac motor

Similar Documents

Publication Publication Date Title
US11305783B2 (en) Vehicle control device
JP5726265B2 (en) Electric power steering control device
US5677611A (en) Control apparatus for an electric vehicle
JP3527071B2 (en) Electric vehicle control device
JPH1153207A (en) Controller for vehicle
JPH0972758A (en) Abnormality detector and detection method for resolver
KR102555204B1 (en) Motor control device, electric brake device using the same, motor control method, and electric brake control method using this control method
US6745083B2 (en) Method and device for safely monitoring a speed of an electric machine
JPH07143604A (en) Electric motor vehicle controller
JP3541675B2 (en) Control device for electric motor for electric vehicle
JPH09107602A (en) Controller of electric vehicle
US10444288B2 (en) Abnormality diagnosing device and abnormality diagnosing method
CN108802611B (en) Abnormality diagnosis device and abnormality diagnosis method
JP5319499B2 (en) Multiplexing controller
JPH08317501A (en) Fail-safe device of control device for electric vehicle
KR100807095B1 (en) Structure of predictive hybrid redundancy using exponential smoothing method
JP3716520B2 (en) Electric vehicle motor drive control device
JPH01291682A (en) Fault diagnostic device for motor controller
JPH0217868A (en) Circuit for discriminating abnormality of inverter
JP2021166452A (en) Motor control device
JP4804290B2 (en) Method for determining abnormality of current detection means, control device for three-phase AC motor using the method, and electric vehicle control system using the device
JPH08292894A (en) Digital controller
JPS6211915A (en) Reactive power compensating device for electric power system
JPS60159901A (en) Multiplexing control device
JPS62229302A (en) Digital controller