JPH1160102A - Elevator controller - Google Patents

Elevator controller

Info

Publication number
JPH1160102A
JPH1160102A JP9240238A JP24023897A JPH1160102A JP H1160102 A JPH1160102 A JP H1160102A JP 9240238 A JP9240238 A JP 9240238A JP 24023897 A JP24023897 A JP 24023897A JP H1160102 A JPH1160102 A JP H1160102A
Authority
JP
Japan
Prior art keywords
task
execution
elevator control
control device
watchdog timer
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
JP9240238A
Other languages
Japanese (ja)
Other versions
JP3493287B2 (en
Inventor
Yutaka Nakajima
豊 中島
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP24023897A priority Critical patent/JP3493287B2/en
Publication of JPH1160102A publication Critical patent/JPH1160102A/en
Application granted granted Critical
Publication of JP3493287B2 publication Critical patent/JP3493287B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Alarm Systems (AREA)
  • Maintenance And Inspection Apparatuses For Elevators (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an elevator controller in which reliability of a microcomputer circuit is improved. SOLUTION: An abnormality informing means 16 is operated at the time before the specified time set in a watch dog timer 6 and outputs an abnormality informing signal. A normal execution confirming means 17 traces the executive state of a task in a data storage section 4, checks the executive state of the task traced in the data storage section 4 when it receives an abnormality informing signal from the abnormality informing means 16, and clears the watch dog timer 6 by outputting a watch dog timer clearing signal when the executive state of the task is normal.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、マイクロコンピュ
ータを用いて構成されたエレベータ制御装置に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an elevator control device constructed using a microcomputer.

【0002】[0002]

【従来の技術】エレベータは建物内の縦の交通機関とし
て中高層ビルだけでなく小規模ビル、個人住宅にも設置
されるようになっている。近年では設置台数も飛躍的に
増加し、日本国内だけでも数十万台を超えるようになっ
てきている。
2. Description of the Related Art Elevators are installed not only in middle and high-rise buildings but also in small buildings and private houses as vertical transportation in buildings. In recent years, the number of installations has dramatically increased, and the number of installations in Japan alone has exceeded hundreds of thousands.

【0003】また、半導体技術の進歩により大多数のエ
レベータは、複数個のマイクロコンピュータを使用した
制御装置で制御されるように構成されており、性能向上
と共に制御装置の小型化が進められている。
[0003] Further, with the advance of semiconductor technology, most elevators are configured to be controlled by a control device using a plurality of microcomputers, and the miniaturization of the control device is being promoted along with the improvement of performance. .

【0004】エレベータ制御装置を構成するマイクロコ
ンピュータは、エレベータの運行制御、モータ制御、エ
レベータかごの処理、エレベータ乗り場の処理、データ
伝送、エレベータかごの位置検出等の処理を行うために
設けられ、また、エレベータかご及び乗り場に設置する
表示装置やエレベータの監視装置にもマイクロコンピュ
ータが使用されている。このように、多様化する構成に
合わせて複数個のマイクロコンピュータが使用されてい
る。
[0004] A microcomputer constituting the elevator control device is provided to perform processes such as elevator operation control, motor control, elevator car processing, elevator landing processing, data transmission, and elevator car position detection. Microcomputers are also used in display devices installed in elevator cars and landings and in elevator monitoring devices. As described above, a plurality of microcomputers are used according to diversified configurations.

【0005】エレベータ制御装置における各々の処理内
容は高性能化を続けており、それに伴ってマイクロコン
ピュータも複数の処理毎に分散処理を行う構成となって
きている。例えば、エレベータ機械室に設置される制御
装置に限っても、モータ制御用、運行制御用、データ伝
送制御用、位置検出用等にそれぞれ独立したマイクロコ
ンピュータが採用され各々の処理を行っている。
[0005] Each processing content in the elevator control device continues to improve in performance, and accordingly, a microcomputer is also configured to perform distributed processing for each of a plurality of processes. For example, even for a control device installed in an elevator machine room, independent microcomputers are employed for motor control, operation control, data transmission control, position detection, and the like, and perform respective processes.

【0006】これらの処理を行うにあたって採用された
マイクロコンピュータ回路は決められた処理を独立して
行っているが、当然のことながら運行制御を行うマイク
ロコンピュータが中心となって動作しており、他のマイ
クロコンピュータは運行制御用マイクロコンピュータと
データの交信を行ってエレベータとしての制御が行われ
ている。この様に、現在ではマイクロコンピュータ回路
が複雑化する方向になってきている。
[0006] The microcomputer circuit employed in performing these processes independently performs predetermined processes. However, it is a matter of course that the microcomputer which performs operation control is mainly operated. The microcomputer described above communicates data with an operation control microcomputer to control the elevator. As described above, microcomputer circuits are becoming more complicated at present.

【0007】図8に、エレベータ制御装置における運行
制御用マイクロコンピュータ回路の構成を示す。この運
行制御用マイクロコンピュータ回路は、演算の中心とな
るCPU1と、そのCPU1が制御するアドレスやデー
タラインで構成されたバス2に接続される周辺のプログ
ラム記憶部3、データの記憶部4、設定データ記憶部8
とから構成されている。
FIG. 8 shows a configuration of an operation control microcomputer circuit in the elevator control device. The operation control microcomputer circuit includes a CPU 1 serving as a center of calculation, a peripheral program storage unit 3 connected to a bus 2 composed of addresses and data lines controlled by the CPU 1, a data storage unit 4, Data storage unit 8
It is composed of

【0008】プログラム記憶部3は、不揮発性の読み出
し専用の記憶装置EPROMで構成され、CPU1が演
算処理するプログラムが予め記憶されている。データ記
憶部4は、揮発性の読み書き記憶装置RAMで構成さ
れ、入力したデータや演算処理した結果のデータを記憶
するようになっている。また、設定データ記憶部8は、
電気的消去可能なROMであるEEROMで構成され、
CPU1での演算処理に必要な設定データが記憶されて
いる。
[0008] The program storage section 3 is constituted by a nonvolatile read-only storage device EPROM, in which a program to be processed by the CPU 1 is stored in advance. The data storage unit 4 is configured by a volatile read / write storage device RAM, and stores input data and data resulting from arithmetic processing. In addition, the setting data storage unit 8
It is composed of an electrically erasable ROM EEROM,
Setting data required for the arithmetic processing in the CPU 1 is stored.

【0009】これらの装置は、CPU1が出力するアド
レスやデータ及びそれらの制御信号等の約30本程度の
信号によるバス2に接続されて制御されている。また、
運行制御用マイクロコンピュータ回路に接続される呼び
制御部やかご位置制御部も同様にローカルバス2に接続
されるており、CPU1にて制御されている。図8で
は、これらを総称として入出力装置5(I/O5)で示
している。
These devices are connected to and controlled by a bus 2 using about 30 signals such as addresses and data output from the CPU 1 and their control signals. Also,
A call control unit and a car position control unit connected to the operation control microcomputer circuit are similarly connected to the local bus 2 and controlled by the CPU 1. In FIG. 8, these are collectively indicated by an input / output device 5 (I / O5).

【0010】一方、CPU1が異常な動作を行ったこと
を検出する装置としては、ウオッチドックタイマ6(W
DTC6)および電圧低下検出部7が設けられている。
ウオッチドックタイマ6は、CPU1が正常に動作して
いるか否かをCPU1からのウオッチドックタイマクリ
ア信号(WDTL)に基づいて判定するものであり、電
圧低下検出部7はマイクロコンピュータ回路の電圧が低
下したことを検出したときは警報信号をCPU1に出力
するものである。
On the other hand, as a device for detecting that the CPU 1 has performed an abnormal operation, a watch dock timer 6 (W
DTC 6) and a voltage drop detection unit 7 are provided.
The watchdog timer 6 determines whether or not the CPU 1 is operating normally on the basis of a watchdog timer clear signal (WDTL) from the CPU 1. When it is detected that an error has occurred, an alarm signal is output to the CPU 1.

【0011】すなわち、CPU1はプログラム実行時に
一定間隔でウオッチドックタイマ6に対しウオッチドッ
クタイマクリア信号(以下WDTCLという)を出力す
る。これを受けてウオッチドックタイマ6は自己のカウ
ンタを0に設定する。一定時間が経過してもWDTCL
の入力がない場合には、ウオッチドックタイマ6からC
PU1に対してRESET信号が出力され、CPU1は
動作停止をする。これをWDTトリップと呼んでおり、
プログラムの異常を示した意味で一般的に使用される。
That is, the CPU 1 outputs a watchdog timer clear signal (hereinafter referred to as WDTCL) to the watchdog timer 6 at regular intervals during execution of a program. In response, the watchdog timer 6 sets its own counter to zero. WDTCL even after a certain time
If there is no input, watchdog timer 6
A RESET signal is output to PU1, and CPU 1 stops operating. This is called a WDT trip,
Commonly used to indicate a program error.

【0012】一方、電圧低下検出部7は、マイクロコン
ピュータ回路の電源電圧低下時にはCPU1に対して警
告信号を出力している。図8では、この警告信号はCP
U1のNMI(ノンマスカブル割り込み)として入力さ
れ、ソフトウエアにてエレベータ制御を停止させてい
る。この結果、異常な処理が実行されることなく停止に
移れるわけである。ここで、ノンマスカブル割り込みN
MIは、ソフトウエアで禁止できない割り込み信号であ
る。
On the other hand, the voltage drop detector 7 outputs a warning signal to the CPU 1 when the power supply voltage of the microcomputer circuit drops. In FIG. 8, the warning signal is CP
U1 is input as NMI (non-maskable interrupt), and the elevator control is stopped by software. As a result, the operation can be stopped without executing abnormal processing. Here, non-maskable interrupt N
MI is an interrupt signal that cannot be prohibited by software.

【0013】また、エレベータ制御装置には遠隔監視装
置が接続されることがあり、そのようなシステムでは、
図9に示すように、エレベータ制御装置11とは別に設
置した遠隔監視装置12からエレベータ制御装置11に
対してRESET信号を出力するようになっている。こ
の遠隔監視装置12は16ビット程度のマイクロコンピ
ュータを使用し、エレベータの運行状況を監視し、通信
回線交換網13を介してエレベータ保守会社14に逐一
その状況を報知する。
Further, a remote monitoring device may be connected to the elevator control device. In such a system,
As shown in FIG. 9, a RESET signal is output from the remote monitoring device 12 installed separately from the elevator control device 11 to the elevator control device 11. The remote monitoring device 12 uses a microcomputer of about 16 bits to monitor the operation status of the elevator, and notifies the elevator maintenance company 14 of the status one by one via the communication line switching network 13.

【0014】このようなシステムの機能の1つとして、
エレベータ制御装置11をリセットする機能がある。こ
れは図8のCPU1へのRESET信号と同一であり、
CPU1を一旦停止させた後に再起動させるものであ
る。
As one of the functions of such a system,
There is a function to reset the elevator control device 11. This is the same as the RESET signal to the CPU 1 in FIG.
The CPU 1 is temporarily stopped and then restarted.

【0015】[0015]

【発明が解決しようとする課題】ところが、エレベータ
に代表されるモータ駆動を含んだ機器では、自装置内に
数KHzで数百Aに及ぶ電流をスイッチングするインバ
ータ回路を含むため、インバータから発生するノイズが
マイクロコンピュータ回路に異常を与えることがある。
当然、マイクロコンピュータ回路自体は信頼性を向上さ
せるための対策が実施されており、マイクロコンピュー
タ回路自体の信頼性は確保されているが、その動作を確
認するためのウオッチドックタイマ6や電圧低下検出部
7が誤動作すると、CPU1を停止させてしまう。その
ために他の回路と比べて異なる対策を実施する必要性が
ある。
However, in a device including a motor drive typified by an elevator, an inverter circuit for switching a current of several hundred A at several kHz is included in the device itself. Noise may cause an abnormality in the microcomputer circuit.
Naturally, the microcomputer circuit itself has been implemented with measures to improve its reliability. Although the reliability of the microcomputer circuit itself has been ensured, a watchdog timer 6 for confirming its operation and a voltage drop detection If the unit 7 malfunctions, the CPU 1 is stopped. Therefore, it is necessary to take different measures as compared with other circuits.

【0016】また、図9に示すようなシステム構成で
は、インバータ装置以外に通信回線上のデータ誤りによ
る誤作動の可能性があり、エレベータ制御装置11をリ
セットする機能が誤って動作すると、走行中のエレベー
タが停止してしまう事故になってしまうことがある。
Further, in the system configuration shown in FIG. 9, there is a possibility of malfunction due to data error on the communication line other than the inverter device. There is a possibility that an elevator will stop.

【0017】本発明の目的は、マイクロコンピュータ回
路の信頼性を向上させたエレベータ制御装置を提供する
ものである。
An object of the present invention is to provide an elevator control device having improved microcomputer circuit reliability.

【0018】[0018]

【課題を解決するための手段】請求項1の発明に係わる
エレベータ制御装置は、マイクロコンピュータの動作状
態が正常か異常かの判定をウオッチドックタイマが所定
時間をカウントしたか否かで判定し、ウオッチドックタ
イマがマイクロコンピュータからウオッチドックタイマ
クリア信号を受信してから所定時間をカウントするとマ
イクロコンピュータの動作状態が異常であると判定しマ
イクロコンピュータを停止させるようにしたエレベータ
制御装置であり、ウオッチドックタイマに設定された所
定時間より早い時間に動作し異常通報信号を出力する異
常通報手段と、タスクの実行状態をトレースすると共に
異常通報信号を受信したときはトレースしたタスクの実
行状態をチェックしタスクの実行状態が正常であるとき
はウオッチドックタイマクリア信号を出力する実行正常
確認手段とを備えたものである。
An elevator control apparatus according to the first aspect of the present invention determines whether the operation state of a microcomputer is normal or abnormal based on whether a watchdog timer has counted a predetermined time, An elevator control device in which when the watchdog timer counts a predetermined time after receiving a watchdog timer clear signal from the microcomputer, the microcomputer determines that the operation state of the microcomputer is abnormal and stops the microcomputer. An abnormality notification unit that operates earlier than a predetermined time set in the timer and outputs an abnormality notification signal, and traces the execution state of the task and checks the execution state of the traced task when an abnormality notification signal is received. Watchdog when the execution status is normal It is obtained by a successfully executed confirmation means for outputting a Imakuria signal.

【0019】請求項1の発明に係わるエレベータ制御装
置では、異常通報手段は、ウオッチドックタイマに設定
された所定時間より早い時間に動作し異常通報信号を出
力する。実行正常確認手段は、タスクの実行状態をデー
タ記憶部にトレースしており、異常通報手段から異常通
報信号を受信したときは、データ記憶部にトレースした
タスクの実行状態をチェックし、タスクの実行状態が正
常であるときはウオッチドックタイマクリア信号を出力
してウオッチドックタイマをクリアする。
In the elevator control apparatus according to the first aspect of the present invention, the abnormality notification means operates earlier than a predetermined time set in the watchdog timer and outputs an abnormality notification signal. The execution normality checking means traces the execution state of the task to the data storage unit, and upon receiving an abnormality notification signal from the abnormality notification means, checks the execution state of the task traced to the data storage unit and executes the task. When the status is normal, a watchdog timer clear signal is output to clear the watchdog timer.

【0020】請求項2の発明に係わるエレベータ制御装
置は、請求項1の発明において、異常通報信号を装置の
エラー情報として、その発生時間と共にデータ記憶部に
格納するようにしたものである。
According to a second aspect of the present invention, in the elevator control apparatus according to the first aspect of the present invention, the abnormality notification signal is stored as error information of the apparatus in the data storage together with the time of occurrence thereof.

【0021】請求項2の発明に係わるエレベータ制御装
置では、請求項1の発明の作用に加え、データ記憶部に
異常通報信号を装置のエラー情報として記憶する。ま
た、そのエラー情報はその発生時間と共に記憶し保守点
検時のデータベースとして使用する。
In the elevator control apparatus according to the second aspect of the present invention, in addition to the operation of the first aspect of the present invention, an abnormality notification signal is stored in the data storage section as error information of the apparatus. The error information is stored together with the time of occurrence and used as a database at the time of maintenance and inspection.

【0022】請求項3の発明に係わるエレベータ制御装
置は、請求項2の発明において、異常通報信号を装置の
エラー情報として、通信回線を経由してエレベータ保守
会社に連絡するようにしたものである。
According to a third aspect of the present invention, in the elevator control apparatus according to the second aspect of the present invention, an abnormality notification signal is notified as error information of the apparatus to an elevator maintenance company via a communication line. .

【0023】請求項3の発明に係わるエレベータ制御装
置では、請求項2の発明の作用に加え、異常通報信号
は、装置のエラー情報として、データ記憶部に記憶する
と共に通信回線を経由してエレベータ保守会社に連絡す
る。
In the elevator control apparatus according to the third aspect of the present invention, in addition to the operation of the second aspect of the present invention, the abnormality notification signal is stored as error information of the apparatus in the data storage unit and the elevator via the communication line. Contact the maintenance company.

【0024】請求項4の発明に係わるエレベータ制御装
置は、請求項1の発明において、実行正常確認手段は、
ウオッチドックタイマクリア信号を受信した後のウオッ
チドックタイマのカウンタ値を読み込み、そのカウント
値が所定の基準値以下か否かを判定し所定の基準値以下
のときはウオッチドックタイマは正常であると判定する
ようにしたものである。
According to a fourth aspect of the present invention, in the elevator control apparatus according to the first aspect of the present invention, the execution normality checking means includes:
Reads the counter value of the watchdog timer after receiving the watchdog timer clear signal, determines whether or not the count value is equal to or less than a predetermined reference value.If the count value is equal to or less than the predetermined reference value, the watchdog timer is determined to be normal. This is to determine.

【0025】請求項4の発明に係わるエレベータ制御装
置では、請求項1の発明の作用に加え、実行正常確認手
段は、ウオッチドックタイマクリア信号でクリアされカ
ウントを開始したときのウオッチドックタイマのカウン
タ値を読み込む。そして、そのカウント値が所定の基準
値以下か否かを判定し、所定の基準値以下のときはウオ
ッチドックタイマは正常であると判定する。
In the elevator control apparatus according to a fourth aspect of the present invention, in addition to the operation of the first aspect of the present invention, the execution normality check means includes a counter of the watchdog timer when the watchdog timer clear signal is cleared and the counting is started. Read the value. Then, it is determined whether or not the count value is equal to or less than a predetermined reference value. When the count value is equal to or less than the predetermined reference value, it is determined that the watchdog timer is normal.

【0026】請求項5の発明に係わるエレベータ制御装
置は、請求項1の発明において、異常通報信号の実行正
常確認手段への入力は、マイクロコンピュータ自身がソ
フトウエアによる設定で無視することのできないノンマ
スカブル割り込みを使用するようにしたものである。
According to a fifth aspect of the present invention, in the elevator control device according to the first aspect of the present invention, the input of the abnormality notification signal to the execution normality check means is a non-maskable which cannot be ignored by the microcomputer itself by setting by software. In this case, an interrupt is used.

【0027】請求項5の発明に係わるエレベータ制御装
置では、請求項1の発明の作用に加え、異常通報信号の
実行正常確認手段への入力として、ノンマスカブル割り
込みを使用しているので、マイクロコンピュータ自身は
ソフトウエアによる設定により、異常通報信号の入力を
無視できない。従って、異常通報信号は誤りなく実行正
常確認手段に入力される。
In the elevator control apparatus according to the fifth aspect of the present invention, in addition to the operation of the first aspect of the invention, the microcomputer itself uses a non-maskable interrupt as an input to the execution normality confirmation means for the abnormality notification signal. Cannot ignore the error notification signal input by software setting. Therefore, the abnormality notification signal is input to the execution normality checking means without error.

【0028】請求項6の発明に係わるエレベータ制御装
置は、請求項1の発明において、実行正常確認手段は、
タスク内のサブルーチンの動作をトレースし、タスクの
実行状態が正常であることを各々のサブルーチンの動作
完了で判定するようにしたものである。
In the elevator control apparatus according to the sixth aspect of the present invention, in the first aspect of the invention, the execution normality checking means comprises:
The operation of the subroutine in the task is traced, and it is determined that the execution state of the task is normal by the completion of the operation of each subroutine.

【0029】請求項6の発明に係わるエレベータ制御装
置では、請求項1の発明の作用に加え、実行正常確認手
段は、タスクの実行状態のトレースを行うにあたって、
タスク内のサブルーチンの動作をトレースする。そし
て、タスクの実行状態が正常であることの判定は、各々
のサブルーチンの動作完了で判定する。従って、卓巣の
実行状態の正常性の判定の精度が向上する。
In the elevator control apparatus according to the sixth aspect of the present invention, in addition to the function of the first aspect of the present invention, the execution normality checking means performs the tracing of the execution state of the task.
Trace the operation of a subroutine in a task. Then, it is determined that the execution state of the task is normal when the operation of each subroutine is completed. Therefore, the accuracy of determining the normality of the execution state of the table is improved.

【0030】請求項7の発明に係わるエレベータ制御装
置は、請求項1の発明において、タスクの実行状態が正
常であるか否かの判定を、実行正常確認手段に代えて、
タスク実行状態確認用のウオッチドックタイマで行うよ
うにしたものである。
According to a seventh aspect of the present invention, in the elevator control device according to the first aspect of the present invention, the determination as to whether the task execution state is normal is performed by performing the execution normality checking means instead of the execution normality checking means.
This is performed by a watchdog timer for checking the task execution state.

【0031】請求項7の発明に係わるエレベータ制御装
置では、請求項1の発明の作用に加え、タスクの実行状
態が正常であるか否かの判定は、ソフトウェアとしての
実行正常確認手段でなく、ハードウェアとしてのタスク
実行状態確認用のウオッチドックタイマで行われる。従
ってタスクの実行状態の正常性判定の信頼性が向上す
る。
In the elevator control apparatus according to the seventh aspect of the present invention, in addition to the operation of the first aspect of the present invention, the determination as to whether the task execution state is normal is not made by software execution normality confirmation means but by software. This is performed by a watchdog timer for checking the task execution state as hardware. Therefore, the reliability of the normality determination of the execution state of the task is improved.

【0032】請求項8の発明に係わるエレベータ制御装
置は、請求項1の発明において、実行正常確認手段は、
タスク毎の処理実行時間を測定し、各々のタスク実行時
間が基準値以内であるときは、タスクの実行状態が正常
であると判定するようにしたものである。
The elevator control device according to the invention of claim 8 is the elevator control device according to claim 1, wherein the execution normality checking means comprises:
The processing execution time for each task is measured, and when the task execution time is within the reference value, it is determined that the task execution state is normal.

【0033】請求項8の発明に係わるエレベータ制御装
置では、請求項1の発明の作用に加え、タスクの実行状
態が正常であるか否かの判定は、タスク毎の処理実行時
間を測定して、各々のタスク実行時間が基準値以内にあ
るか否かを判定する。そして、基準値以内にあるとき
は、タスクの実行状態が正常であると判定する。
In the elevator control apparatus according to the eighth aspect of the present invention, in addition to the effect of the first aspect of the present invention, whether the task execution state is normal is determined by measuring the processing execution time for each task. It is determined whether each task execution time is within the reference value. If it is within the reference value, it is determined that the execution state of the task is normal.

【0034】請求項9の発明に係わるエレベータ制御装
置は、請求項1の発明において、実行正常確認手段は、
タスクの実行状態が正常であるときはウオッチドックタ
イマのカウントを停止させるようにしたものである。
The elevator control apparatus according to the ninth aspect of the present invention is the elevator control apparatus according to the first aspect of the present invention,
When the execution state of the task is normal, the count of the watchdog timer is stopped.

【0035】請求項9の発明に係わるエレベータ制御装
置では、請求項1の発明の作用に加え、実行正常確認手
段によりタスクの実行状態が正常であると判定したとき
は、ウオッチドックタイマクリア信号に代えて、ウオッ
チドックタイマのカウントを停止させる。その後にマイ
クロコンピュータからウオッチドックタイマクリア信号
が出力され、ウオッチドックタイマはカウントを開始す
る。
In the elevator control apparatus according to the ninth aspect of the present invention, in addition to the operation of the first aspect of the present invention, when the execution normality check means determines that the task execution state is normal, the watchdog timer clear signal is output. Instead, the count of the watchdog timer is stopped. Thereafter, the microcomputer outputs a watchdog timer clear signal, and the watchdog timer starts counting.

【0036】請求項10の発明に係わるエレベータの制
御装置は、請求項1の発明において、遠隔監視装置から
異常通報信号が入力されたときには、実行正常確認手段
はトレースしたタスクの実行状態をチェックし、タスク
の実行状態が正常であるときは遠隔監視装置にその通報
を行うようにしたものである。
According to a tenth aspect of the present invention, in the elevator control device according to the first aspect, when an abnormality notification signal is input from the remote monitoring device, the execution normality checking means checks the execution state of the traced task. When the execution state of the task is normal, the notification is sent to the remote monitoring device.

【0037】請求項10の発明に係わるエレベータの制
御装置では、請求項1の発明の作用に加え、エレベータ
制御装置を監視する遠隔監視装置から異常通報信号が入
力されたときには、エレベータ制御装置の実行正常確認
手段はデータ記憶部にトレースしたタスクの実行状態を
チェックし、タスクの実行状態が正常であるときは遠隔
監視装置にその通報を行う。
In the elevator control apparatus according to the tenth aspect of the present invention, in addition to the operation of the first aspect, when an abnormality notification signal is input from a remote monitoring apparatus for monitoring the elevator control apparatus, the operation of the elevator control apparatus is executed. The normality check means checks the execution state of the task traced in the data storage unit, and when the execution state of the task is normal, notifies the remote monitoring device of the execution state.

【0038】[0038]

【発明の実施の形態】以下、本発明の実施の形態を説明
する。図1は本発明の第1の実施の形態に係わるエレベ
ータ制御装置のブロック構成図である。この第1の実施
の形態は、図8に示した従来例に対しウオッチドックタ
イマ6に設定された所定時間より早い時間に動作し異常
通報信号を出力する異常通報手段16と、タスクの実行
状態をトレースすると共に異常通報信号を受信したとき
はトレースしたタスクの実行状態をチェックしタスクの
実行状態が正常であるときはウオッチドックタイマクリ
ア信号WDTCLを出力する実行正常確認手段17とを
追加して設け、異常通報手段16の出力信号は電圧低下
検出部7の出力信号と共にOR回路9を介してCPU1
に出力されるようになっている。
Embodiments of the present invention will be described below. FIG. 1 is a block diagram of an elevator control device according to a first embodiment of the present invention. The first embodiment is different from the conventional example shown in FIG. 8 in that abnormality notification means 16 which operates earlier than a predetermined time set in the watchdog timer 6 and outputs an abnormality notification signal, And the execution normality check means 17 for outputting the watchdog timer clear signal WDTCL when the execution state of the traced task is checked and the execution state of the task is normal when the abnormality notification signal is received and when the execution state of the task is normal. The output signal of the abnormality notification means 16 is output to the CPU 1 via the OR circuit 9 together with the output signal of the voltage drop detection unit 7.
Is output to

【0039】すなわち、ウオッチドックタイマ6の出力
がリセット手段(OUT1)18のみでなく、異常通報
手段16(OUT2)が付加されて2点になっているこ
とである。また、異常通報手段16は電圧低下検出部7
からの出力とOR回路9にて合成されてCPU1のNM
Iポートに入力されている。これを異常通報と呼ぶこと
とする。また、プログラム記憶部(ROM)3において
は、実行正常確認手段17を実現するためのプログラム
が格納され、さらに、データ記憶部(ROM)4におい
ては、実行正常確認手段17により演算処理されたタス
クの実行状態のデータが格納される。
That is, the output of the watchdog timer 6 is not only the reset means (OUT1) 18 but also the abnormality notification means 16 (OUT2), so that the output becomes two points. Further, the abnormality notification means 16 is connected to the voltage drop detection
And the output from the OR circuit 9 and the NM of the CPU 1
Input to I port. This is called an abnormality report. In the program storage unit (ROM) 3, a program for realizing the normal execution confirmation means 17 is stored, and in the data storage unit (ROM) 4, a task calculated by the normal execution confirmation means 17 is executed. Is stored.

【0040】図2は、本発明の第1の実施の形態におけ
るウオッチドックタイマ6の構成図である。通常、ウオ
ッチドックタイマ6は、静電容量Cと抵抗Rとの発振に
よるワンショットパルス発生回路で構成されているが、
ここではカウンタ回路15を用いたものを示している。
FIG. 2 is a configuration diagram of the watchdog timer 6 according to the first embodiment of the present invention. Normally, the watchdog timer 6 is constituted by a one-shot pulse generation circuit by oscillation of the capacitance C and the resistance R,
Here, the one using the counter circuit 15 is shown.

【0041】カウンタ回路15に接続される発振子10
は、通常200KHz程度のものが用いられる。この発
振子10からのパルスを基準としたカウント値が予め設
定された値以上となると、端子QNからの出力信号がH
になり、リセット手段18の出力信号がHになる。この
ことから、CPU1に対してRESETがかかる。さら
に、カウンタ回路15には端子QMが設けられており、
端子QNの出力信号がHになる前に端子QMの出力信号
がHになるように設定されている。これにより、異常通
報手段16からCPU1に対してNMIをかけるように
している。
Oscillator 10 connected to counter circuit 15
Is usually about 200 KHz. When the count value based on the pulse from the oscillator 10 becomes equal to or greater than a preset value, the output signal from the terminal QN becomes H level.
, And the output signal of the reset means 18 becomes H. For this reason, RESET is applied to the CPU 1. Further, the counter circuit 15 is provided with a terminal QM,
It is set so that the output signal of the terminal QM becomes H before the output signal of the terminal QN becomes H. Thereby, NMI is applied to the CPU 1 from the abnormality notification means 16.

【0042】図3は、CPU1のタスクの実行状態を検
出する説明図である。図3では、タスクが4個でエレベ
ータの運行制御処理を行っているものを示している。つ
まり、タスク1から順にタスク2、タスク3、タスク
4、その後にタスク1が再び開始される構成となってい
る。ここで、各タスクの実行完了をデータ記憶部4に保
存する。この処理を1回のプログラムサイクル(タスク
1から次のタスク1が実行されるまで)のタスク実行結
果として残す。このようにすることにより、タスクが正
常に動作した場合には、タスクの実行状態がデータ記憶
部4に記録として残されることになる。
FIG. 3 is an explanatory diagram for detecting the execution state of the task of the CPU 1. FIG. 3 shows an example in which four tasks perform elevator operation control processing. In other words, the configuration is such that task 2, task 3, task 4, and then task 1 are started again after task 1. Here, the completion of execution of each task is stored in the data storage unit 4. This process is left as a task execution result of one program cycle (from task 1 to execution of the next task 1). By doing so, when the task operates normally, the execution state of the task is recorded in the data storage unit 4.

【0043】次に、図4は実行正常確認手段17の処理
内容を示すフローチャートである。このルーチンは1サ
イクル毎に呼び出される構成となっている。ステップS
1は図3に示したタスクの実行状態をデータ記憶部4に
保存する処理である。ステップS2ではウオッチドック
タイマ6からの異常通報信号があったか否かを判定し、
異常通報信号が検出されなかった場合、つまりNMI入
力が検出されなかった場合には、ルーチンを完了する。
一方、NMI入力があった場合にはステップS3に移
る。
Next, FIG. 4 is a flowchart showing the processing contents of the normal execution confirmation means 17. This routine is called every cycle. Step S
Reference numeral 1 denotes processing for saving the execution state of the task shown in FIG. In step S2, it is determined whether or not there is an abnormality notification signal from the watchdog timer 6.
If no abnormality notification signal is detected, that is, if no NMI input is detected, the routine is completed.
On the other hand, if there is an NMI input, the process proceeds to step S3.

【0044】ステップS3では、ステップS1にてデー
タ記憶部4に保存されている各サイクルのタスク実行状
態を確認し、異常通報信号が入力されるまでのタスクの
実行状態をチェックする。そして、ステップS4ではス
テップS3の結果に基づいて、タスクの実行状態に異常
処理がなかったか否かを判定し、タスクの実行状態に異
常がありプログラムに異常の可能性があった場合にはル
ーチンを完了する。ルーチンを完了した場合には、しば
らくの時間の経過後にRISET信号が成立しWDTト
リップ状態となる可能性がある。
In step S3, the task execution status of each cycle stored in the data storage unit 4 in step S1 is confirmed, and the task execution status until an abnormality notification signal is input is checked. In step S4, based on the result of step S3, it is determined whether or not the execution state of the task is abnormal. If the execution state of the task is abnormal and the program is likely to be abnormal, the routine is executed. Complete. When the routine is completed, there is a possibility that after a while, the RISET signal is established and the WDT trip state is set.

【0045】一方、ステップS4でタスクの実行状態が
正常であると判定された場合には、ステップS5におい
て、ウオッチドックタイマクリア信号(WDTCL信
号)をウオッチドックタイマ6に出力する。これによ
り、ウオッチドックタイマ6をクリアする。
On the other hand, if it is determined in step S4 that the task execution state is normal, a watchdog timer clear signal (WDTCL signal) is output to the watchdog timer 6 in step S5. As a result, the watchdog timer 6 is cleared.

【0046】ここで、第1の実施の形態では、CPU1
は16ビットのマイクロコンピュータを使用し、プログ
ラム記憶部3は128Kバイト、データ記憶部4は32
Kバイト程度のものを使用する。この程度でエレベータ
の運行制御が可能である。このときのWDT時間は1秒
程度に設定する。
Here, in the first embodiment, the CPU 1
Uses a 16-bit microcomputer, the program storage unit 3 has 128 Kbytes, and the data storage unit 4 has 32 bytes.
Use about K bytes. Elevator operation control is possible with this degree. The WDT time at this time is set to about one second.

【0047】ウオッチドックタイマ6には発振子10と
して250KHzのセラミック発振子を取り付け、カウ
ンタ回路15としては2の20乗程度までカウント可能
なバイナリカウンタを使用する。このとき、WDT時間
を満足する端子QNは18乗の出力ポートを使用すれば
よい。また、端子QMはWDT時間の50%程度である
ことが望ましく、QN/2として9乗の出力ポートを使
用すればよい。
A 250 KHz ceramic oscillator is attached to the watchdog timer 6 as the oscillator 10, and a binary counter capable of counting up to about 2 to the power of 20 is used as the counter circuit 15. At this time, the terminal QN satisfying the WDT time may use an 18th power output port. The terminal QM is preferably about 50% of the WDT time, and a ninth power output port may be used as QN / 2.

【0048】一般に、タスクの実行時間は100ms程
度であるため、WDTCL信号をプログラムの1実行毎
に出力すると、WDTCLのインターバルは100ms
となる。そのため、最悪でも5回のプログラム実行にお
けるエラーの検出が可能となる。また、データ記憶部4
におけるタスクの実行状態を記憶するエリアは、20バ
イト×20=400バイト程度あればよい。これは、1
サイクル当たりのタスク数を4とすると、20バイトあ
ればトレース可能であり、1サイクルの時間を100m
sとすれば20サイクルあれば2sec分のタスクを保
存でき、異常開始のタスクを含めることができるためで
ある。
Generally, the execution time of a task is about 100 ms. Therefore, if the WDTCL signal is output each time the program is executed, the WDTCL interval is 100 ms.
Becomes Therefore, at the worst, an error can be detected in five program executions. The data storage unit 4
The area for storing the execution state of the task in the above may be about 20 bytes × 20 = 400 bytes. This is 1
Assuming that the number of tasks per cycle is 4, tracing is possible with 20 bytes, and the time for one cycle is 100 m
This is because if s is 20 cycles, a task for 2 seconds can be saved if there are 20 cycles, and an abnormally started task can be included.

【0049】このタスクの実行状態データは、タスク1
の実行完了時にbit0に1をセットし、タスク2の実
行完了時にbit1に1をセットすることで、タスクの
実行状態を保存している。また、このデータはリングカ
ウンタ状に処理されるので、WDTトリップに関係ない
時間のデータ(この場合2sec以上前)は上書きされ
るようになる。また、WDTCL信号はCPU1が持つ
I/Oポートから出力される構成となる。
The execution state data of this task includes task 1
The execution state of the task is saved by setting bit0 to 1 when the execution of the task is completed and setting 1 to bit1 when the execution of the task 2 is completed. In addition, since this data is processed in the form of a ring counter, data of a time irrelevant to the WDT trip (in this case, 2 seconds or more before) is overwritten. The WDTCL signal is output from an I / O port of the CPU 1.

【0050】次に、異常通報手段16または電圧低下検
出部7からの異常通報信号がCPU1のNMI入力とし
て入力されたときは、そのNMI入力を装置のエラー情
報として、その発生時間と共にデータ記憶部4に格納す
る。すなわち、実行正常確認手段17でのタスク実行状
態データに、エレベータ制御装置11のエラー情報とし
て追加する。このようにして、エラー情報の履歴を保存
しエレベータの保守点検時に、このエラー情報の履歴を
参照する。
Next, when an abnormality notification signal from the abnormality notification means 16 or the voltage drop detecting section 7 is input as an NMI input of the CPU 1, the NMI input is used as error information of the apparatus, and the data storage section is displayed together with the time of occurrence. 4 is stored. That is, the error information of the elevator control device 11 is added to the task execution state data in the normal execution confirmation means 17. In this way, the history of the error information is stored, and the history of the error information is referred to at the time of maintenance and inspection of the elevator.

【0051】また、本発明のエレベータ制御装置11が
図9に示すような遠隔監視装置12に接続されるエレベ
ータ制御システムとして構成される場合には、異常通報
信号を装置のエラー情報としてデータ記憶部4に格納す
ると共に、遠隔監視装置12および通信回線を経由して
エレベータ保守会社14に連絡する。
When the elevator control device 11 of the present invention is configured as an elevator control system connected to the remote monitoring device 12 as shown in FIG. 9, the abnormality notification signal is used as error information of the device and stored in the data storage unit. 4 and communicate with the elevator maintenance company 14 via the remote monitoring device 12 and the communication line.

【0052】次に、実行正常確認手段17にて、ウオッ
チドックタイマ6の健全性を確認できるようにする。図
5は、その場合のウオッチドックタイマ6の構成図であ
る。図5のウオッチドックタイマ6では、カウンタ回路
15のカウント値をCPU1のバス2に直結できる形と
し、そのカウント値をCPU1が読み取る構成になって
いる。実行正常確認手段17はこのカウント値に基づい
てウオッチドックタイマ6の健全性を判定する。すなわ
ち、WDTCL信号の入力直後にはカウンタ値が0に近
い値になっているか否かを実行正常確認手段17で判定
し、0に近い値になっている場合には正常であると判定
することになる。
Next, the soundness of the watchdog timer 6 can be confirmed by the execution normality confirmation means 17. FIG. 5 is a configuration diagram of the watchdog timer 6 in that case. The watchdog timer 6 in FIG. 5 is configured so that the count value of the counter circuit 15 can be directly connected to the bus 2 of the CPU 1 and the count value is read by the CPU 1. The execution normality checking means 17 determines the soundness of the watchdog timer 6 based on the count value. That is, immediately after the input of the WDTCL signal, the execution normality check means 17 determines whether or not the counter value is close to 0, and determines that the counter value is normal if the counter value is close to 0. become.

【0053】図6は、その場合の実行正常確認手段17
の処理内容を示すフローチャートである。ステップS1
1にて本来のタスクの実行を行い、また、ステップS1
2にてタスク実行完了時にはWDTCL信号を出力す
る。この処理は本来のエレベータ制御装置に含まれるも
のである。タスクが実行完了しWDTCL信号を出力す
ると、ステップS13に進み、ウオッチドックタイマ6
のカウント値を読み込む。そして、ステップS14にて
ステップS13で得られたカウント値が0に近い値(基
準値)となっているか否かを判定する。この基準値は発
振子10の周波数と時間割り込み等の処理時間で決定さ
れる。
FIG. 6 shows an execution normality check means 17 in that case.
5 is a flowchart showing the processing contents of FIG. Step S1
1 performs the original task, and executes step S1.
When the task execution is completed in step 2, a WDTCL signal is output. This processing is included in the original elevator control device. When the task is completed and the WDTCL signal is output, the process proceeds to step S13, where the watchdog timer 6
Read the count value of Then, in step S14, it is determined whether or not the count value obtained in step S13 is a value close to 0 (reference value). This reference value is determined by the frequency of the oscillator 10 and the processing time of a time interrupt or the like.

【0054】そして、ステップS14での判定の結果、
カウント値が基準値以下であればステップS15に進み
ウオッチドックタイマ6は正常であると判定する。一
方、カウント値が基準値以上であればステップS16に
てウオッチドックタイマ6は異常であると判定する。こ
の結果、ウオッチドックタイマ6が異常であれば異常通
報信号は無視すればよい。
Then, as a result of the determination in step S14,
If the count value is equal to or smaller than the reference value, the process proceeds to step S15, and it is determined that the watchdog timer 6 is normal. On the other hand, if the count value is equal to or greater than the reference value, it is determined in step S16 that the watchdog timer 6 is abnormal. As a result, if the watchdog timer 6 is abnormal, the abnormality notification signal may be ignored.

【0055】以上の説明では、異常情報信号をCPU1
のNMIポートを使用し、そのNMIポートに入力する
ようにしているが、NMIポートは全てのCPU1の機
能にあるわけではないので、一般の入力もしくは割り込
み信号を使用するようにしても良い。この場合は、NM
Iポートを使用しないので、プログラムが完全に異常で
あった場合に対応できないという欠点があるが、このと
きには、WDTトリップによるRESET信号が発生す
るので、軽微な異常に対して効果のあるものになる。
In the above description, the abnormality information signal is transmitted to the CPU 1
The NMI port is used for inputting to the NMI port. However, since the NMI port does not have all the functions of the CPU 1, a general input or an interrupt signal may be used. In this case, NM
Since the I port is not used, there is a drawback that it is impossible to cope with a case where the program is completely abnormal. However, at this time, since a RESET signal is generated due to a WDT trip, it is effective for minor abnormalities. .

【0056】ここで、実行正常確認手段17でのタスク
の実行状態が正常であるか否かの判定は、各タスクの完
了をもってタスク正常を判断するようにしているが、タ
スク内の各サブルーチンの動作のトレースを行い、詳細
動作を確認するようにしても良い。その場合、データ記
憶部4のタスクの実行状態の保存エリアが10倍程度の
容量になるが、正確な判定が可能になる。
Here, whether or not the execution state of the task is normal in the execution normality checking means 17 is such that the task is determined to be normal upon completion of each task. The operation may be traced to check the detailed operation. In this case, the storage area of the task execution state in the data storage unit 4 has a capacity of about 10 times, but accurate determination is possible.

【0057】また、タスクの実行状態をソフトウエアで
ある実行正常確認手段17で確認するようにしている
が、この確認判断にそれ専用のウオッチドックタイマW
DTCを設けるようにしても良い。この場合、プログラ
ムの正常/異常はハードウエアのみで検出できるように
なる。
The execution status of the task is confirmed by the execution normality confirmation means 17 which is software, but a dedicated watchdog timer W is used for this confirmation.
DTC may be provided. In this case, the normal / abnormal state of the program can be detected only by hardware.

【0058】また、実行正常確認手段17でのタスクの
実行状態が正常であるか否かの判定は、各タスクの完了
をもってタスク正常を判断するようにしているが、それ
に代えて、タスクの実行時間を測定し、その実行時間が
適正かどうかを判断するようにしても良い。
In the execution normality checking means 17, whether or not the execution state of the task is normal is determined by the completion of each task, and the task is determined to be normal. The time may be measured to determine whether the execution time is appropriate.

【0059】以上の説明では、異常通報信号入力に対し
て、実行正常確認手段17は、ウオッチドックタイマク
リア信号WDTCLを通常ルーチンと同様に出力して対
策を行っているが、ウオッチドックタイマ6に対して以
降のカウントを停止させるようにしても良い。すなわ
ち、実行正常確認手段17によりタスクの実行状態が正
常であると判定したときは、ウオッチドックタイマクリ
ア信号WDTCLを出力することに代えて、ウオッチド
ックタイマ6のカウントを停止させるようにしても良
い。この場合には、その後にマイクロコンピュータから
ウオッチドックタイマクリア信号WDCLが出力され、
ウオッチドックタイマ6は再度カウントを開始すること
になる。
In the above description, in response to the input of the abnormality notification signal, the execution normality checking means 17 performs a countermeasure by outputting the watchdog timer clear signal WDTCL as in the normal routine. On the other hand, the subsequent counting may be stopped. In other words, when the execution normality checking unit 17 determines that the task execution state is normal, the count of the watchdog timer 6 may be stopped instead of outputting the watchdog timer clear signal WDTCL. . In this case, the microcomputer outputs a watchdog timer clear signal WDCL after that,
The watchdog timer 6 starts counting again.

【0060】また、本発明のエレベータ制御装置11が
図7に示すような遠隔監視装置12に接続されるエレベ
ータ制御システムとして構成される場合には、エレベー
タ制御装置11が遠隔監視装置12からのRESET信
号を受ける前に異常通報信号を先に入力し、その判断を
行うようにすることも可能である。
When the elevator control device 11 of the present invention is configured as an elevator control system connected to the remote monitoring device 12 as shown in FIG. It is also possible to input the abnormality notification signal first before receiving the signal and make the determination.

【0061】図7において、図8に示した従来例に対し
遠隔監視装置12からの異常通報信号が付加されてお
り、エレベータ制御装置11へのRESET信号よりも
早い時間に、一旦CPU1に対して通報を行うものであ
る。
In FIG. 7, an abnormality notification signal from the remote monitoring device 12 is added to the conventional example shown in FIG. 8, and the CPU 1 is once sent to the CPU 1 at a time earlier than the RESET signal to the elevator control device 11. It is to report.

【0062】エレベータ制御装置11は図1に相当する
構成となり、異常通報信号はCPU1へのNMI信号に
変換されてCPU1に入力し、プログラムが正常であれ
ばデータ通信処理により遠隔監視装置12へ通報する。
もちろん、エレベータ制御装置11に対するRESET
信号はプログラムが異常の時だけではないので、この判
定は遠隔監視装置12が再度チェックの上、RESET
信号を出力することになる。
The elevator control device 11 has a configuration corresponding to FIG. 1. The abnormality notification signal is converted into an NMI signal to the CPU 1 and input to the CPU 1, and if the program is normal, a notification is sent to the remote monitoring device 12 by data communication processing. I do.
Of course, RESET for the elevator control device 11
Since the signal is not only when the program is abnormal, this determination is made by the remote monitoring device 12 to check again and RESET.
It will output a signal.

【0063】以上の説明では、ウオッチドックタイマ6
や電圧低下検出部7の異常に対して適用したもの示した
が、タスクの実行時の記憶装置のパリティエラー等にも
同様に応用可能である。また、ウオッチドックタイマ6
に発振子10を用いた構成を示したが、静電容量Cや抵
抗Rによる構成やプログラムタイマ等にも容易に応用で
きる。
In the above description, the watch dock timer 6
Although the description has been given of the case where the present invention is applied to an abnormality of the voltage drop detection unit 7, the present invention can be similarly applied to a parity error of a storage device at the time of executing a task. In addition, watch dock timer 6
Although the configuration using the oscillator 10 has been described above, the present invention can be easily applied to a configuration using the capacitance C and the resistance R, a program timer, and the like.

【0064】また、エレベータ制御装置11が遠隔監視
装置12に接続されたエレベータ制御システムとして構
成される場合、遠隔監視装置12からのRESET信号
について述べたが、エレベータ保守員が操作するCPU
1のリセットボタンにも応用が可能である。これは、保
守時に操作誤りによってリセットボタンを触ってしまい
エレベータを停止させてしまうことを防ぐものである。
また、運行制御部について例を述べたが、モータ制御等
の他の制御についても同様に適用が可能であることはい
うまでもない。
When the elevator control device 11 is configured as an elevator control system connected to the remote monitoring device 12, the RESET signal from the remote monitoring device 12 has been described.
Application is also possible to the 1 reset button. This is to prevent the elevator from being stopped by touching the reset button due to an operation error during maintenance.
In addition, although the operation control unit has been described as an example, it goes without saying that other control such as motor control can be similarly applied.

【0065】[0065]

【発明の効果】以上述べたように、請求項1の発明によ
ると、ウオッチドックタイマがノイズ等の外乱により誤
動作した時においてもCPUが動作停止に陥る前に検出
できるので、エレベータの故障要因を減らして安定した
性能を得ることができる。
As described above, according to the first aspect of the present invention, even when the watchdog timer malfunctions due to disturbance such as noise, it can be detected before the CPU stops operating. It is possible to obtain stable performance by reducing it.

【0066】請求項2の発明によると、ウオッチドック
タイマの誤動作の発生を保存するので、エレベータ保守
時に異常の有無から対策をとることができ、重大故障発
生前の予防保全を実施できる。
According to the second aspect of the present invention, the occurrence of a malfunction of the watchdog timer is preserved, so that a countermeasure can be taken from the presence or absence of an abnormality at the time of elevator maintenance, and preventive maintenance before a serious failure occurs can be performed.

【0067】請求項3の発明によると、ウオッチドック
タイマの誤動作の発生をエレベータ保守会社にリアルタ
イムで通報できるので、重大故障発生前の予防保全を実
施できる。
According to the third aspect of the invention, the occurrence of a malfunction of the watchdog timer can be reported to the elevator maintenance company in real time, so that preventive maintenance can be performed before a serious failure occurs.

【0068】請求項4の発明によると、ウオッチドック
タイマの異常を早い時間で検出できるので、異常発生時
以降の対応が容易になる利点があり、請求項5の発明に
よると、ノンマスカブル割り込みを使用しているので、
異常通報信号は誤りなく実行正常確認手段に入力され
る。
According to the fourth aspect of the present invention, the abnormality of the watchdog timer can be detected in a short time, so that there is an advantage that the response after the occurrence of the abnormality becomes easy. According to the fifth aspect of the present invention, the non-maskable interrupt is used. So
The abnormality notification signal is input to the execution normality check means without error.

【0069】請求項6の発明によると、プログラムの動
作検出をより詳細にチェックでき、請求項7の発明によ
ると、プログラムの動作検出を別のハードウェアにより
実現できるので、CPU負荷を増大させることなく実現
可能である。
According to the invention of claim 6, the detection of the operation of the program can be checked in more detail, and according to the invention of claim 7, the detection of the operation of the program can be realized by another hardware, so that the CPU load is increased. Is feasible.

【0070】請求項8の発明によると、タスクの実行時
間を測定することでタスクの実行状態の異常を検出する
ことができ、請求項9の発明によると、異常のあったウ
オッチドックタイマを無効にできるので連続的なノイズ
発生に対しても効果のある保護を図れる。また、請求項
10の発明によると、遠隔操作によるエレベータ制御装
置のRESET信号を信頼性あるものにできる。
According to the invention of claim 8, an abnormality in the execution state of the task can be detected by measuring the execution time of the task. According to the invention of claim 9, the watchdog timer having the abnormality is invalidated. Therefore, effective protection against continuous noise generation can be achieved. According to the tenth aspect of the present invention, the RESET signal of the elevator control device by remote operation can be made reliable.

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

【図1】図1は、本発明の第1の実施の形態に係わるエ
レベータ制御装置のブロック構成図である。
FIG. 1 is a block configuration diagram of an elevator control device according to a first embodiment of the present invention.

【図2】図2は、本発明の第1の実施の形態におけるウ
オッチドックタイマの構成図である。
FIG. 2 is a configuration diagram of a watchdog timer according to the first embodiment of the present invention.

【図3】図3は、本発明の第1の実施の形態におけるC
PUでのタスクの実行状態を検出する説明図である。
FIG. 3 is a diagram showing C in the first embodiment of the present invention.
FIG. 9 is an explanatory diagram for detecting an execution state of a task in a PU.

【図4】図4は、本発明の第1の実施の形態における実
行正常確認手段の処理内容を示すフローチャートであ
る。
FIG. 4 is a flowchart showing the processing contents of a normal execution confirmation unit according to the first embodiment of the present invention.

【図5】図5は、本発明の第1の実施の形態において実
行正常確認手段にてウオッチドックタイマの健全性を確
認できるようにした場合のウオッチドックタイマの構成
図である。
FIG. 5 is a configuration diagram of the watchdog timer in a case where the normality of the execution of the watchdog timer can be confirmed by the normal execution confirmation means in the first embodiment of the present invention.

【図6】図6は、図5に示したウオッチドックタイマの
健全性を確認する場合の実行正常確認手段の処理内容を
示すフローチャートである。
FIG. 6 is a flowchart illustrating the processing performed by a normal execution check unit when checking the soundness of the watchdog timer illustrated in FIG. 5;

【図7】図7は、本発明のエレベータ制御装置に遠隔監
視装置を接続した場合のエレベータ制御システムのブロ
ック構成図である。
FIG. 7 is a block diagram of an elevator control system when a remote monitoring device is connected to the elevator control device of the present invention.

【図8】図8は、従来のエレベータ制御装置のブロック
構成図である。
FIG. 8 is a block diagram of a conventional elevator control device.

【図9】図9は、従来のエレベータ制御装置に遠隔監視
装置を接続した場合の従来のエレベータ制御システムの
ブロック構成図である。
FIG. 9 is a block diagram of a conventional elevator control system when a remote monitoring device is connected to the conventional elevator control device.

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

1 CPU 2 バス 3 プログラム記憶部 4 データ記憶部 5 入出力装置(I/O) 6 ウオッチドックタイマ(WDTC) 7 電圧低下検出部 8 設定データ記憶部 9 OR回路 10 発振子 11 エレベータ制御装置 12 遠隔監視装置 13 通信回線 14 エレベータ保守会社 15 カウンタ回路 16 異常通報手段 17 実行正常確認手段 18 リセット手段 Reference Signs List 1 CPU 2 bus 3 program storage unit 4 data storage unit 5 input / output device (I / O) 6 watchdog timer (WDTC) 7 voltage drop detection unit 8 setting data storage unit 9 OR circuit 10 oscillator 11 elevator control device 12 remote Monitoring device 13 Communication line 14 Elevator maintenance company 15 Counter circuit 16 Abnormality reporting means 17 Normal execution confirmation means 18 Reset means

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 マイクロコンピュータの動作状態が正常
か異常かの判定をウオッチドックタイマが所定時間をカ
ウントしたか否かで判定し、前記ウオッチドックタイマ
が前記マイクロコンピュータからウオッチドックタイマ
クリア信号を受信してから所定時間をカウントすると前
記マイクロコンピュータの動作状態が異常であると判定
し前記マイクロコンピュータを停止させるようにしたエ
レベータ制御装置において、前記ウオッチドックタイマ
に設定された所定時間より早い時間に動作し異常通報信
号を出力する異常通報手段と、タスクの実行状態をトレ
ースすると共に前記異常通報信号を受信したときはトレ
ースした前記タスクの実行状態をチェックし前記タスク
の実行状態が正常であるときは前記ウオッチドックタイ
マクリア信号を出力する実行正常確認手段とを備えたこ
とを特徴とするエレベータ制御装置。
The microcomputer determines whether the operation state of the microcomputer is normal or abnormal based on whether a watchdog timer has counted a predetermined time, and the watchdog timer receives a watchdog timer clear signal from the microcomputer. After counting a predetermined time, the elevator control device determines that the operation state of the microcomputer is abnormal and stops the microcomputer, and operates at a time earlier than the predetermined time set in the watchdog timer. Abnormality notification means for outputting an abnormality notification signal, and tracing the execution state of the task and checking the execution state of the traced task when receiving the abnormality notification signal, and when the execution state of the task is normal, Outputs the watchdog timer clear signal An elevator control device comprising: an execution normality check unit for performing the operation.
【請求項2】 請求項1に記載のエレベータ制御装置に
おいて、前記異常通報信号を装置のエラー情報として、
その発生時間と共にデータ記憶部に格納するようにした
ことを特徴とするエレベータ制御装置。
2. The elevator control device according to claim 1, wherein the abnormality notification signal is used as error information of the device.
An elevator control device characterized in that it is stored in a data storage section together with the time of occurrence.
【請求項3】 請求項2に記載のエレベータ制御装置に
おいて、前記異常通報信号を装置のエラー情報として、
通信回線を経由してエレベータ保守会社に連絡するよう
にしたことを特徴とするエレベータ制御装置。
3. The elevator control device according to claim 2, wherein the abnormality notification signal is used as error information of the device.
An elevator control device, wherein an elevator maintenance company is contacted via a communication line.
【請求項4】 請求項1に記載のエレベータ制御装置に
おいて、前記実行正常確認手段は、ウオッチドックタイ
マクリア信号を受信した後のウオッチドックタイマのカ
ウンタ値を読み込み、そのカウント値が所定の基準値以
下か否かを判定し所定の基準値以下のときは前記ウオッ
チドックタイマは正常であると判定するようにしたこと
を特徴とするエレベータ制御装置。
4. The elevator control device according to claim 1, wherein the execution normality check means reads a counter value of the watchdog timer after receiving the watchdog timer clear signal, and the count value is set to a predetermined reference value. The elevator control device is characterized in that it is determined whether or not it is less than or equal to a predetermined reference value, and when it is less than a predetermined reference value, the watchdog timer is determined to be normal.
【請求項5】 請求項1に記載のエレベータ制御装置に
おいて、前記異常通報信号の前記実行正常確認手段への
入力は、マイクロコンピュータ自身がソフトウエアによ
る設定で無視することのできないノンマスカブル割り込
みを使用するようにしたことを特徴とするエレベータ制
御装置。
5. The elevator control device according to claim 1, wherein the input of the abnormality notification signal to the execution normality checking means uses a non-maskable interrupt that cannot be ignored by the microcomputer itself by software setting. An elevator control device characterized in that:
【請求項6】 請求項1に記載のエレベータ制御装置に
おいて、前記実行正常確認手段は、タスク内のサブルー
チンの動作をトレースし、前記タスクの実行状態が正常
であることを各々のサブルーチンの動作完了で判定する
ようにしたことを特徴とするエレベータ制御装置。
6. The elevator control device according to claim 1, wherein the execution normality checking means traces the operation of the subroutine in the task, and confirms that the execution state of the task is normal by completing the operation of each subroutine. An elevator control device characterized in that the determination is made by:
【請求項7】 請求項1に記載のエレベータ制御装置に
おいて、前記タスクの実行状態が正常であるか否かの判
定を、前記実行正常確認手段に代えて、タスク実行状態
確認用のウオッチドックタイマで行うようにしたことを
特徴とするエレベータ制御装置。
7. The elevator dock control apparatus according to claim 1, wherein the determination whether the execution state of the task is normal is made by a watchdog timer for task execution state confirmation instead of the execution normality confirmation unit. An elevator control device characterized in that the control is performed by:
【請求項8】 請求項1に記載のエレベータ制御装置に
おいて、前記実行正常確認手段は、前記タスク毎の処理
実行時間を測定し、各々のタスク実行時間が基準値以内
であるときは、前記タスクの実行状態が正常であると判
定するようにしたことを特徴とするエレベータ制御装
置。
8. The elevator control device according to claim 1, wherein the execution normality checking means measures a processing execution time for each task, and when each task execution time is within a reference value, the task execution time is determined. An elevator control apparatus characterized in that it is determined that the execution state of (i) is normal.
【請求項9】 請求項1に記載のエレベータ制御装置に
おいて、前記実行正常確認手段は、前記タスクの実行状
態が正常であるときは前記ウオッチドックタイマのカウ
ントを停止させるようにしたことを特徴とするエレベー
タ制御装置。
9. The elevator control device according to claim 1, wherein the execution normality checking means stops counting of the watchdog timer when the execution state of the task is normal. Elevator control device.
【請求項10】 請求項1に記載のエレベータ制御装置
において、遠隔監視装置から異常通報信号が入力された
ときには、前記実行正常確認手段はトレースした前記タ
スクの実行状態をチェックし、前記タスクの実行状態が
正常であるときは前記遠隔監視装置にその通報を行うよ
うにしたことを特徴とするエレベータ制御装置。
10. The elevator control device according to claim 1, wherein when an abnormality notification signal is input from a remote monitoring device, the execution normality checking means checks an execution state of the traced task, and executes the task. An elevator control device, wherein when the status is normal, the remote monitoring device is notified.
JP24023897A 1997-08-22 1997-08-22 Elevator control device Expired - Lifetime JP3493287B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24023897A JP3493287B2 (en) 1997-08-22 1997-08-22 Elevator control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24023897A JP3493287B2 (en) 1997-08-22 1997-08-22 Elevator control device

Publications (2)

Publication Number Publication Date
JPH1160102A true JPH1160102A (en) 1999-03-02
JP3493287B2 JP3493287B2 (en) 2004-02-03

Family

ID=17056518

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24023897A Expired - Lifetime JP3493287B2 (en) 1997-08-22 1997-08-22 Elevator control device

Country Status (1)

Country Link
JP (1) JP3493287B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005115898A1 (en) * 2004-05-25 2005-12-08 Mitsubishi Denki Kabushiki Kaisha Elevator controller
JP2008512331A (en) * 2004-10-20 2008-04-24 オーチス エレベータ カンパニー Elevator controller power-on reset

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005115898A1 (en) * 2004-05-25 2005-12-08 Mitsubishi Denki Kabushiki Kaisha Elevator controller
JPWO2005115898A1 (en) * 2004-05-25 2008-03-27 三菱電機株式会社 Elevator control device
US7729806B2 (en) 2004-05-25 2010-06-01 Mitsubishi Denki Kabushiki Kaisha Elevator controller
JP4745227B2 (en) * 2004-05-25 2011-08-10 三菱電機株式会社 Elevator control device
JP2008512331A (en) * 2004-10-20 2008-04-24 オーチス エレベータ カンパニー Elevator controller power-on reset
EP1819624B1 (en) 2004-10-20 2016-04-06 Otis Elevator Company Power-on-reset of elevator controllers

Also Published As

Publication number Publication date
JP3493287B2 (en) 2004-02-03

Similar Documents

Publication Publication Date Title
US6883123B2 (en) Microprocessor runaway monitoring control circuit
EP0056060A1 (en) Data processing system
CN112099412B (en) Safety redundancy architecture of micro control unit
JPH1160102A (en) Elevator controller
JPH05132256A (en) Elevator controller and remote supervisory system thereof
JPH10105422A (en) Control circuit of protecting device
JPH05207637A (en) Digital relay
JPH04245309A (en) Digital controller for control
JP2744113B2 (en) Computer system
JP2680473B2 (en) Watchdog mechanism
CN117743008A (en) Multi-core processor fault diagnosis and exception handling method, main control board card and equipment
JPH03192431A (en) Interruption processing system
JP2749994B2 (en) Numerical control unit
CN116489001A (en) Switch fault diagnosis and recovery method and device, switch and storage medium
JPH05250222A (en) Cpu monitoring device
JPH0552945U (en) Runaway monitoring device
JPS6330660B2 (en)
JPH03246638A (en) Program runaway detecting system
JPS5858662A (en) Device testing system
JPH0293738A (en) Interruption processing system
JPS62123531A (en) Cpu supervisory unit
JPH02198993A (en) Controller for elevator
JPS60195649A (en) Error reporting system of microprogram-controlled type data processor
JPH01205244A (en) System for collecting logging information
JPH0122650B2 (en)

Legal Events

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

Free format text: PAYMENT UNTIL: 20071114

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20081114

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20091114

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20091114

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20101114

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20101114

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20111114

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20121114

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20121114

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20131114

Year of fee payment: 10

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term