JPH0822151B2 - Failure information monitoring method - Google Patents

Failure information monitoring method

Info

Publication number
JPH0822151B2
JPH0822151B2 JP61122971A JP12297186A JPH0822151B2 JP H0822151 B2 JPH0822151 B2 JP H0822151B2 JP 61122971 A JP61122971 A JP 61122971A JP 12297186 A JP12297186 A JP 12297186A JP H0822151 B2 JPH0822151 B2 JP H0822151B2
Authority
JP
Japan
Prior art keywords
failure
reset
failure information
input voltage
memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP61122971A
Other languages
Japanese (ja)
Other versions
JPS62281781A (en
Inventor
昭次 溝口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP61122971A priority Critical patent/JPH0822151B2/en
Publication of JPS62281781A publication Critical patent/JPS62281781A/en
Publication of JPH0822151B2 publication Critical patent/JPH0822151B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Testing And Monitoring For Control Systems (AREA)
  • Control Of Electric Motors In General (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、電動機制御装置の故障診断に用いる故障
情報モニタリング方法に関するものである。
TECHNICAL FIELD The present invention relates to a failure information monitoring method used for failure diagnosis of an electric motor control device.

〔従来の技術〕[Conventional technology]

第3図は例えば電気学会誌、昭58年5月号、第40頁に
示された従来のマイコンシステムによる電動機制御装置
の構成を示すブロック図で、図において、1は制御用電
源、2はマイコンシステム、3はマイコンシステム2に
よって制御される整流器、或いはインバータ等の電力変
換器、4は電動機、5は前記電力変換器3及び電動機4
の諸量を検出し、ディジタル量に変換して取り込んだ
り、或いは、ある基準レベルと比較して故障判定を行な
う信号入力装置、6は例えばLED等の故障表示装置、7
は故障リセットスイッチ、10は制御用電源入力電圧であ
る。
FIG. 3 is a block diagram showing a configuration of a motor control device by a conventional microcomputer system shown in, for example, page 40 of May 58 issue of the Institute of Electrical Engineers of Japan, in which 1 is a control power supply and 2 is a control power supply. Microcomputer system, 3 is a power converter such as a rectifier or inverter controlled by the microcomputer system 2, 4 is an electric motor, 5 is the power converter 3 and electric motor 4.
, A signal input device for detecting the various quantities and converting them into a digital value and taking them in, or for making a failure judgment by comparing with a certain reference level, 6 is a failure display device such as an LED, 7
Is a failure reset switch, and 10 is a control power supply input voltage.

次に動作について説明する。まず、電動機の制御は、
マイコンシステム2のROM中に格納されたプログラムに
よって行なわれ電力変換器3を介して駆動パワーが電動
機4に伝達される。速度制御等のフィードバック制御時
には、電動機速度等のフィードバック信号が信号入力装
置5を介してマイコンシステム2に入力され予め設定さ
れた指令値とソフトウエア的につき合わされて速度制御
される。マイコンシステム2は制御用電源1より動作電
力を受けると、そのシステムの構成要素であるCPU,ROM,
RAM,I/Oポート等がROMに格納されたプログラムによって
相互にCPUを中心に動作する。ここで、例えばROMに格納
されているプログラムとは直流ワードレオナード制御を
するもので、第4図(a)に図示のフローチャートで動
作する。すなわち、ST−1で制御電源ON、又はCPUリセ
ットが行われると、ST−2ではメモリ(RAM等),I/Oポ
ート等の初期化が行われる。ST−3では制御定数等の計
算、ST−4で周辺ICの初期化が行われる。引続きST−5
ではローダのアクセス処理が行われた後、ST−6で始動
/停止のシーケンス処理が実行される。また、同図
(b)は割込処理等によるワードレオナード制御の例で
1例として、割込処理が1つ存在する場合のフローチャ
ートである。つまり、割込み処理は多種のレベルがあ
り、どのようにプログラムを構成するかはシステム構築
によって異る。次に電動機に故障が発生した時には、マ
イコンシステム2が故障内容の判定を自動的に行ない、
電力変換器3の出力を停止させる等の故障処理を行なっ
た後、故障内容を故障表示器6等を介して外部に出力す
る。また、故障発生前後の各部信号波形はマイコンシス
テム2の構成要素であるRAM上に格納しておき、波形再
生(以下トレースデータと略称)等の出力をマイコンシ
ステム2中に設けられているD/A出力ポートから外部に
対して出力し故障原因の診断等に用いる。故障復帰後は
故障リセットで全ての故障情報を消去し、正常運転を可
能とする。
Next, the operation will be described. First, the control of the electric motor is
The driving power is transmitted to the electric motor 4 via the power converter 3 by a program stored in the ROM of the microcomputer system 2. During feedback control such as speed control, a feedback signal such as the motor speed is input to the microcomputer system 2 via the signal input device 5 and matched with a preset command value in software for speed control. When the microcomputer system 2 receives the operating power from the control power supply 1, the CPU, ROM,
RAM, I / O ports, etc. operate centered on the CPU by programs stored in ROM. Here, for example, the program stored in the ROM is for performing the DC word Leonard control, and operates according to the flowchart shown in FIG. That is, when the control power supply is turned on or the CPU is reset in ST-1, the memory (RAM or the like), the I / O port and the like are initialized in ST-2. In ST-3, control constants are calculated, and in ST-4, peripheral ICs are initialized. Continued ST-5
Then, after the loader access process is performed, the start / stop sequence process is executed in ST-6. Further, FIG. 6B is a flow chart when there is one interrupt process as an example of the word Leonard control by the interrupt process or the like. That is, there are various levels of interrupt processing, and how a program is constructed depends on the system construction. Next, when a failure occurs in the motor, the microcomputer system 2 automatically determines the details of the failure,
After performing a failure process such as stopping the output of the power converter 3, the details of the failure are output to the outside via the failure indicator 6 or the like. In addition, the signal waveforms before and after the occurrence of a failure are stored in the RAM, which is a component of the microcomputer system 2, and the output of waveform reproduction (hereinafter abbreviated as trace data) etc. is provided in the microcomputer system 2. It is output from the A output port to the outside and used for diagnosis of the cause of failure. After failure recovery, failure reset erases all failure information and enables normal operation.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

従来の故障情報モニタリング方法における故障項目表
示及びトレースデータの再生は、以上の様に構成されて
いるので、制御電源電圧が確立していることがまず、前
提であり、揮発性メモリの使用とも相まって故障後の停
電或いは不注意な人為的ミスによる制御電源の遮断操
作、または、RAM等の揮発性メモリでは制御電源投入時
に値が不定になるためマイコンプログラム起動時にプロ
グラムの先頭で、ある値にリセットするのが一般的であ
るが、その時にRAMデータが失なわれることがあるとい
う問題点があった。また、多出力のトレースデータ払出
し用非常駐カードは制御用電源を一旦オフにする必要が
ありこの様な制御方法ではRAMは使用出来ないという問
題点があった。また、運転優先のため故障リセットを行
なうと故障情報,トレースデータ等が消去されるという
問題点もあった。
Since the display of failure items and the reproduction of trace data in the conventional failure information monitoring method are configured as described above, it is a prerequisite that the control power supply voltage is established first, and this is combined with the use of volatile memory. Reset the control power to a certain value at the beginning of the program when starting the microcomputer program because the value becomes undefined when the control power is turned on due to a power failure after a failure or inadvertent human error, or in a volatile memory such as RAM. However, there is a problem that RAM data may be lost at that time. Further, the non-resident card for multi-output trace data payout has a problem that the control power supply must be turned off once and the RAM cannot be used by such a control method. In addition, there is a problem in that failure information, trace data, and the like are erased when a failure reset is performed because operation is prioritized.

この発明は上記の様な問題点を解消するためになされ
たもので、停電又は制御電源遮断の場合にも、また運転
優先での故障リセット後でも故障項目表示とトレースデ
ータが常に保存され、停電復帰、或いは制御電源入、又
は、故障リセット後の運転再開後の全ての状態において
も故障診断作業が可能な故障情報モニタリング方法を得
ることを目的とする。
The present invention has been made to solve the above problems, and in the event of a power failure or control power interruption, or even after a failure reset with operation priority, the failure item display and trace data are always saved, and a power failure occurs. An object of the present invention is to obtain a failure information monitoring method capable of performing failure diagnosis work even in all states after restoration, control power-on, or operation restart after failure reset.

〔問題点を解決するための手段〕[Means for solving problems]

この発明に係る故障情報モニタリング方法は、不揮発
性メモリ、制御電源入力電圧監視器、故障リセットスイ
ッチ及び故障表示リセットスイッチ等を設けソフトウエ
アアルゴリズムによって故障情報をモニタする。
The failure information monitoring method according to the present invention is provided with a non-volatile memory, a control power source input voltage monitor, a failure reset switch, a failure display reset switch and the like, and monitors failure information by a software algorithm.

〔作 用〕[Work]

この発明におけるマイコンシステムは、故障発生時、
故障処理と前記故障情報の収集を中止して、前記不揮発
明メモリの故障情報格納エリアにイニシャル時メモリク
リア中止フラグをセットするとともに故障表示を行う第
1の処理手段と、前記入力電圧監視手段により検出され
た前記入力電圧の低下が前記制御対象の運転時に生じた
かを判断し、運転時に生じた場合は停止処理及び前記故
障情報の収集を中止して前記不揮発性メモリにイニシャ
ル時メモリクリア中止フラグをセットし、運転時以外に
生じた場合は前記故障リセットスイッチと前記故障表示
リセットスイッチがリセットしているかを判断し、リセ
ットしている場合は前記イニシャル時メモリクリア中止
フラグをリセットし、リセットしていない場合は前記イ
ニシャル時メモリクリア中止フラグをセットする割込処
理を実行する第2の処理手段と、前記入力電圧の立上り
時に割込禁止を行なって、前記故障情報格納エリアにイ
ニシャル時メモリクリア中止フラグがセットされている
かを判断し、セットされている場合は前記故障情報格納
エリア以外の前記不揮発性メモリの領域の初期化を行
い、セットされていない場合は前記不揮発性メモリの全
領域の初期化を行い、その後割込禁止を解除する初期化
処理を実行する第3の処理手段と、前記第3の処理手段
の書込み禁止解除後、第4の処理手段は前記故障リセッ
トスイッチ及び前記故障表示リセットスイッチのリセッ
ト信号を受けて、前記故障情報格納エリアの故障情報及
びイニシャル時メモリクリア中止フラグのリセットを行
なって、前記不揮発性メモリへの故障情報の書込みを開
始するものである。
The microcomputer system according to the present invention, when a failure occurs,
The first processing means for stopping the failure processing and collecting the failure information, setting the initial memory clear stop flag in the failure information storage area of the non-volatile memory and displaying the failure, and the input voltage monitoring means. It is determined whether the detected decrease in the input voltage occurs during the operation of the controlled object, and if it occurs during the operation, the stop processing and the collection of the failure information are stopped and the nonvolatile memory initial stop flag is written to the nonvolatile memory. If it occurs other than during operation, determine whether the failure reset switch and the failure display reset switch are reset, and if they are reset, reset and reset the initial memory clear stop flag. If not, execute the interrupt process to set the initial memory clear stop flag Processing means and an interrupt prohibition at the rise of the input voltage, and determines whether the memory clear stop flag at initial initialization is set in the failure information storage area. If it is set, other than the failure information storage area Third processing means for initializing the area of the non-volatile memory, initializing the whole area of the non-volatile memory if not set, and then performing initialization processing for releasing the interrupt prohibition After the write protection of the third processing means is released, the fourth processing means receives the reset signals of the failure reset switch and the failure display reset switch, and clears the failure information in the failure information storage area and the initial memory clear. The stop flag is reset, and the writing of the failure information to the nonvolatile memory is started.

〔実施例〕〔Example〕

以下、この発明の一実施例を図について説明する。図
中、第3図と同一の部分は同一の符号をもって図示した
第1図において、8はマイコンシステム2の故障表示リ
セットスイッチ、9は制御用電源1の入力電圧監視器、
10は該入力電圧監視器9によって監視される制御用電源
入力電圧、11は例えばEE(Electrically erasable)PRO
M又はバッテリーバックアップされたRAM等の不揮発性メ
モリである。また、第2図は前記第1図のマイコンシス
テム2における、本発明の故障情報モニタリングアルゴ
リズムを示す概略フローチャートである。
An embodiment of the present invention will be described below with reference to the drawings. In FIG. 1, parts that are the same as those in FIG. 3 are shown with the same reference numerals. In FIG. 1, 8 is a failure display reset switch of the microcomputer system 2, 9 is an input voltage monitor of the control power supply 1,
Reference numeral 10 is a control power supply input voltage monitored by the input voltage monitor 9, and 11 is, for example, EE (Electrically erasable) PRO.
It is a non-volatile memory such as M or battery-backed RAM. FIG. 2 is a schematic flowchart showing the fault information monitoring algorithm of the present invention in the microcomputer system 2 of FIG.

次に動作について説明する。まず、最初に説明の都合
上故障発生後の故障モニタリングアルゴリズムにつき説
明をする。故障発生で第2図(c)に示す故障処理プロ
グラムが実行される。この処理は、故障のレベルにより
第1図の電力変換器3の出力の停止等の故障処理と重故
障時のトレースデータの不揮発性メモリへの格納を中止
するタイミングをとり運転の中止を行うか否かの処理、
及び、第1図のシステムで発生した故障の内容を表示器
6へ出力開始するか否かの処理とから成る。次に第2図
(a)の処理Bは、メインルーチン待機ループ中の処理
の一つであり、故障リセットと故障表示リセットに関す
る処理のフローチャートとなっている。故障発生後、第
1図の故障リセットスイッチ7の故障リセットが行なわ
なければ、運転を再開できず、故障表示リセットも効か
ない。運転再開優先のため故障リセットした後、故障表
示リセットが第1図の故障表示リセットスイッチ8によ
ってリセットされるまで、トレース・データは再書込さ
れずデータ値群は保持され、外部へ払い出しが可能な状
態で、故障表示も継続して行なわれる。この動作によっ
て電動機4の速やかな運転再開後の故障原因の追求が可
能となる。次に故障リセット7による故障表示リセット
が実行されると、故障表示は直ちに消灯し、トレースデ
ータも再格納が開始される等故障情報が全て消去され
る。故障発生から故障リセット、更に、故障表示リセッ
トの処理アルゴリズム完了までは以上の処理で終了する
が、引続き制御電源電圧が低下した場合の処理手順につ
いて次に説明する。
Next, the operation will be described. First, for convenience of explanation, a fault monitoring algorithm after a fault has occurred will be described. When a failure occurs, the failure processing program shown in FIG. 2 (c) is executed. This process is performed depending on the level of the failure, and whether the operation is stopped at the timing of stopping the failure processing such as stopping the output of the power converter 3 in FIG. 1 and storing the trace data in the non-volatile memory at the time of the serious failure. Processing of whether or not,
And a process of whether or not to start outputting the content of the failure that occurred in the system of FIG. 1 to the display device 6. Next, the process B of FIG. 2A is one of the processes in the main routine standby loop, and is a flowchart of the process related to the failure reset and the failure display reset. After the occurrence of a failure, the operation cannot be resumed and the failure display reset does not work unless the failure reset switch 7 shown in FIG. 1 is reset. After the failure reset is given to give priority to restarting the operation, the trace data is not rewritten and the data value group is held until the failure display reset is reset by the failure display reset switch 8 in FIG. In such a state, the failure display is also continued. By this operation, the cause of the failure after the electric motor 4 is restarted quickly can be pursued. Next, when the failure display reset by the failure reset 7 is executed, the failure display is immediately extinguished, and the failure information is all erased such as the re-storing of the trace data is started. The process from the occurrence of a failure to the failure reset to the completion of the processing algorithm for the failure display reset ends with the above processing, but the processing procedure when the control power supply voltage continues to decrease will be described next.

第1図の入力電圧監視器9により制御電源入力電圧10
の低下を検知すると第2図(b)に示す、割込処理が実
行される。まず、制御用電源1の入力電圧10が電動機運
転中に低下したか否かの判定を行い電動機4の停止中の
電圧低下の発生なら、電圧低下を故障とせず、他の故障
が発生後の故障表示リセット処理完了後の電圧低下なら
不揮発性メモリ上の書込み中止フラグ(以下、フラグx
と略称する)をリセットする。またそうでないならばフ
ラグxをセットする。これらの処理は停止中の制御電源
低下は、停電によるものではなく人為的に制御電源入力
がオフされたものと見做すことを前提条件としている。
次に運転中の制御電源入力電圧低下時は、これが本来の
停電によって発生したもの、あるいは、人為的なミスに
よる制御電源オフであっても停電と見做し、システム特
有の停電処理を実行し、停電も一種の故障と見做して、
トレースデータの格納中止を行う。そして、次にフラグ
xをセットして処理を終わる。
With the input voltage monitor 9 of FIG.
When a decrease in the number of times is detected, an interrupt process shown in FIG. 2 (b) is executed. First, it is determined whether or not the input voltage 10 of the control power supply 1 has dropped during the operation of the motor, and if a voltage drop occurs while the motor 4 is stopped, the voltage drop is not regarded as a failure, but another failure occurs. If the voltage drops after the failure display reset process is completed, the write stop flag (hereinafter, flag x
Will be abbreviated). If not, the flag x is set. These processes are based on the premise that a control power supply drop during a stop is regarded as a control power supply input being turned off artificially, not due to a power failure.
Next, when the control power supply input voltage drops during operation, it is considered as a power failure even if it was caused by an original power failure, or even if the control power was turned off due to human error, and system-specific power failure processing is executed. , Consider power failure as a kind of failure,
Stops storing trace data. Then, the flag x is set next, and the process ends.

停電の回復後、或いは人為的な制御電源入力オンの
後、第1図のマイコンシステム2は電源電圧立ち上がり
時にリセットされて第2図(a)のメインプログラム先
頭から処理が再開される。メインプログラム先頭では、
割込処理が禁止され、CPU周辺回路のリセット初期化ル
ーチンが実行され、割込処理の開始を許可し、第2図
(a)の起動停止シーケンス処理等を行なう待機ループ
の処理となる。メインルーチンの割込処理禁止中にRAM
領域のベリファイ(データ処理のオペレーション完了チ
ェック)チェックと初期化(制御電源オン時はデータが
不定のため、通常0に設定される。)処理Aが存在する
が、ここで、前述の不揮発性メモリ領域にあるフラグx
をまず判定する。そして今まで述べたようにフラグxが
セットされているのは故障発生後故障表示リセットが実
行されていない状態で制御電源電圧が低下した場合と、
運転中に制御電源電圧が低下した(停電検出)場合の2
例である。よって不揮発性メモリ上の故障(停電も故障
と見做すことは前述の通り)情報をこの処理Aでリセッ
トさせないため、フラグxがセットされている場合には
不揮発性メモリ中の故障情報格納領域を除いたRAM等の
書込み読出し可能なメモリのベリファイ初期化を実行し
て、フラグxがリセットされている場合には全領域のベ
リファイ初期化を行う。
After the power failure is recovered or the control power input is artificially turned on, the microcomputer system 2 in FIG. 1 is reset when the power supply voltage rises, and the process is restarted from the beginning of the main program in FIG. 2 (a). At the beginning of the main program,
The interrupt process is prohibited, the reset initialization routine of the CPU peripheral circuit is executed, the start of the interrupt process is permitted, and the process becomes a standby loop for performing the start / stop sequence process of FIG. RAM when interrupt processing of main routine is prohibited
Area verification (data processing operation completion check) check and initialization (data is undefined when control power is on, so it is normally set to 0.) There is processing A, but here, the above-mentioned nonvolatile memory Flag x in the region
Is first determined. As described above, the flag x is set when the control power supply voltage drops in the state where the failure display reset is not executed after the failure occurs,
2 when the control power supply voltage drops during operation (power failure detection)
Here is an example. Therefore, since the failure information on the non-volatile memory (the power failure is also considered as a failure as described above) is not reset by this process A, if the flag x is set, the failure information storage area in the non-volatile memory Verify initialization of a writable and readable memory such as RAM is executed, and if the flag x is reset, verify initialization of all areas is performed.

次にメインルーチン処理Bが実行されると、不揮発性
メモリ領域中に故障情報が残されている場合には、その
中に故障リセット,故障表示リセットがなされているか
否かの情報も残されているので、あたかも、制御電源の
低下、即ち停電、或いは人為的の制御電源オフが存在し
なかったかの様に故障表示を再開する(停電の場合は停
電表示となる)。かくして不揮発性メモリ領域にはトレ
ースデータもその故障表示の意味する故障発生時の各部
信号波形データとして保持されていることになる。
Next, when the main routine process B is executed, if the failure information remains in the non-volatile memory area, the information indicating whether or not the failure reset and the failure display reset are performed is also left therein. Therefore, the failure display is restarted as if the control power supply was lowered, that is, there was no power failure or artificial control power-off (the power failure display is displayed in the case of a power failure). Thus, the trace data is also held in the non-volatile memory area as the signal waveform data of each part at the time of occurrence of a failure, which means the failure display.

上記実施例では、電動機制御装置の故障診断に用いる
停電時の処理を故障として処理する例について説明した
が、瞬停再起動時の様に故障にしなくとも前記と同様の
効果が得られる。
In the above-described embodiment, the example in which the process at the time of power failure used for the failure diagnosis of the electric motor control device is processed as a failure has been described, but the same effect as described above can be obtained without causing a failure like in the case of restarting after an instantaneous power failure.

更に、故障のレベルを重故障,軽故障等に区分しその
表示方式を分けるようにして良い。
Furthermore, the level of the failure may be classified into a major failure, a minor failure, etc., and the display method may be divided.

また、上記実施例は電動機制御装置の故障モニタリン
グについて説明したが、マイコンシステムを装備した制
御システムで故障モニタリングの必要な用途であれば特
に限定するものではない。
Further, although the above embodiment has described the failure monitoring of the electric motor control device, the invention is not particularly limited as long as it is an application requiring failure monitoring in a control system equipped with a microcomputer system.

〔発明の効果〕〔The invention's effect〕

以上のように、この発明によれば、電動機制御装置の
故障モニタリングにおける故障リセット手順を故障リセ
ットと故障表示リセットの2つに区分し、不揮発性メモ
リによる故障情報格納方式をとり、それらを巧妙に使用
するプログラム構成としたので、停電または人為的な誤
動作による制御電源遮断或いは故障リセット後の運転再
開後においても、不揮発性メモリの故障情報格納エリア
に制御対象のトレースデータを常に保存し、停電復帰或
いは制御電源投入または故障リセット後の運転再開後の
全ての状態において、故障診断作業が可能であるという
効果がある。
As described above, according to the present invention, the failure reset procedure in the failure monitoring of the electric motor control device is divided into two, that is, the failure reset and the failure display reset, and the failure information storage system by the non-volatile memory is adopted to skillfully manage them. Since the program configuration is used, the trace data of the control target is always saved in the failure information storage area of the non-volatile memory even after restarting operation after the control power supply is cut off or the fault is reset due to a power failure or artificial malfunction, and a power failure is restored. Alternatively, there is an effect that the failure diagnosis work can be performed in all the states after the control power supply is turned on or the operation is restarted after the failure reset.

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

第1図は、この発明の一実施例による故障情報モニタリ
ングシステムを含む電動機のマイコン制御装置の構成
図、第2図は第1図の故障情報モニタリングのアルゴリ
ズムを示すフローチャート、第3図は従来の故障情報モ
ニタリングシステムを含む電動機のマイコン制御装置の
構成図、第4図は従来装置でのROM格納プログラムのフ
ローチャートである。 1は制御用電源、2はマイコンシステム、3は電力変換
器、4は電動機、5は信号入力装置、6は故障表示器、
7は故障リセットスイッチ、8は故障表示リセットスイ
ッチ、9は入力電圧監視器、10は制御用電源入力電圧、
11は不揮発性メモリ。 なお、図中、同一符号は同一、又は相当部分を示す。
FIG. 1 is a block diagram of a microcomputer control device for an electric motor including a failure information monitoring system according to an embodiment of the present invention, FIG. 2 is a flowchart showing the failure information monitoring algorithm of FIG. 1, and FIG. FIG. 4 is a configuration diagram of a microcomputer control device for an electric motor including a failure information monitoring system, and FIG. 4 is a flowchart of a ROM storage program in a conventional device. 1 is a control power source, 2 is a microcomputer system, 3 is a power converter, 4 is an electric motor, 5 is a signal input device, 6 is a failure indicator,
7 is a failure reset switch, 8 is a failure display reset switch, 9 is an input voltage monitor, 10 is a power supply input voltage for control,
11 is a non-volatile memory. In the drawings, the same reference numerals indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】制御対象の各部より検出した故障情報を記
憶する不揮発性メモリと、前記制御対象に給電する入力
電圧の低下を監視する入力電圧監視手段と、故障発生後
に前記制御対象の運転起動条件の生成を指示する故障リ
セットスイッチと、故障表示をリセットする故障表示リ
セットスイッチとを接続したマイコンシステムを備え、
該マイコンシステムは、故障発生時、故障処理と前記故
障情報の収集を中止して、前記不揮発性メモリの故障情
報格納エリアにイニシャル時メモリクリア中止フラグを
セットするとともに故障表示を行う第1の処理手段と、
前記入力電圧監視手段により検出された前記入力電圧の
低下が前記制御対象の運転時に生じたかを判断し、運転
時に生じた場合は停止処理及び前記故障情報の収集を中
止して前記不揮発性メモリにイニシャル時メモリクリア
中止フラグをセットし、運転時以外に生じた場合は前記
故障リセットスイッチと前記故障表示リセットスイッチ
がリセットしているかを判断し、リセットしている場合
は前記イニシャル時メモリクリア中止フラグをリセット
し、リセットしていない場合は前記イニシャル時メモリ
クリア中止フラグをセットする割込処理を実行する第2
の処理手段と、前記入力電圧の立上り時に割込禁止を行
って、前記故障情報格納エリアにイニシャル時メモリク
リア中止フラグがセットされているかを判断し、セット
されている場合は前記故障情報格納エリア以外の前記不
揮発性メモリの領域の初期化を行い、セットされていな
い場合は前記不揮発性メモリの全領域の初期化を行い、
その後割込禁止を解除する初期化処理を実行する第3の
処理手段と、前記第3の処理手段の書込み禁止解除後、
前記故障リセットスイッチ及び前記故障表示リセットス
イッチのリセット信号を受けて、前記故障情報格納エリ
アの故障情報及びイニシャル時メモリクリア中止フラグ
のリセットを行なって、前記不揮発性メモリへの故障情
報の書込みを開始する第4の処理手段とから成ることを
特徴とする故障情報モニタリング方法。
1. A non-volatile memory for storing failure information detected from each part of a controlled object, an input voltage monitoring means for monitoring a decrease in an input voltage supplied to the controlled object, and an operation start of the controlled object after a failure occurs. Equipped with a microcomputer system that connects a failure reset switch that instructs the generation of conditions and a failure display reset switch that resets the failure display,
The microcomputer system, when a failure occurs, stops the failure processing and the collection of the failure information, sets a memory clear stop flag at initial time in the failure information storage area of the nonvolatile memory, and performs a failure display. Means and
It is determined whether the decrease in the input voltage detected by the input voltage monitoring means has occurred during the operation of the controlled object, and if it occurs during the operation, the stop processing and the collection of the failure information are stopped and the nonvolatile memory is stored. Set the memory clear stop flag at initial, and if it occurs other than during operation, determine whether the failure reset switch and the failure display reset switch are reset, and if reset, do the memory clear stop flag at initial. Second, and if not, execute an interrupt process to set the initial memory clear cancellation flag
And the processing means for prohibiting an interrupt at the rise of the input voltage to determine whether a memory clear stop flag at initial initialization is set in the failure information storage area, and if it is set, the failure information storage area Initialize all areas of the non-volatile memory other than, if not set, initialize all areas of the non-volatile memory,
After that, third processing means for executing an initialization process for canceling the interruption prohibition, and after canceling the write prohibition of the third processing means,
Upon receiving the reset signals of the failure reset switch and the failure display reset switch, the failure information in the failure information storage area and the initial memory clear stop flag are reset, and the writing of the failure information to the nonvolatile memory is started. And a fourth processing means for performing the failure information monitoring method.
JP61122971A 1986-05-28 1986-05-28 Failure information monitoring method Expired - Fee Related JPH0822151B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61122971A JPH0822151B2 (en) 1986-05-28 1986-05-28 Failure information monitoring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61122971A JPH0822151B2 (en) 1986-05-28 1986-05-28 Failure information monitoring method

Publications (2)

Publication Number Publication Date
JPS62281781A JPS62281781A (en) 1987-12-07
JPH0822151B2 true JPH0822151B2 (en) 1996-03-04

Family

ID=14849122

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61122971A Expired - Fee Related JPH0822151B2 (en) 1986-05-28 1986-05-28 Failure information monitoring method

Country Status (1)

Country Link
JP (1) JPH0822151B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63224697A (en) * 1987-03-14 1988-09-19 Matsushita Electric Works Ltd Controller for motor
JP5952535B2 (en) * 2011-06-29 2016-07-13 ミネベア株式会社 Failure information transmission device and motor device
WO2015068210A1 (en) * 2013-11-05 2015-05-14 株式会社安川電機 Trace-data recording system, trace-data recording server, trace-data recording method, program, and information storage medium
JP5770321B2 (en) 2014-02-04 2015-08-26 ファナック株式会社 Electronic equipment with fan motor

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53142842A (en) * 1977-05-18 1978-12-12 Nec Corp Reset unit for failure display register
JPS5764814A (en) * 1980-10-06 1982-04-20 Nissan Motor Co Ltd Diagnosing device of control system
JPH0646875B2 (en) * 1983-02-18 1994-06-15 株式会社日立製作所 Remote diagnostic device for speed controller
JPS59220819A (en) * 1983-05-30 1984-12-12 Fujitsu Ltd Resetting circuit

Also Published As

Publication number Publication date
JPS62281781A (en) 1987-12-07

Similar Documents

Publication Publication Date Title
EP0664029B1 (en) Computer failure recovery and alert system
KR100444537B1 (en) Data processor
JP3830867B2 (en) Single-chip microcomputer and its boot area switching method
JP3097580B2 (en) Electronic control unit
CN101206599B (en) Method for diagnosis and insulation of computer mainboard equipment
JPH0822151B2 (en) Failure information monitoring method
JPH1091289A (en) Memory initialization device and method
JPH08129495A (en) Computer system and self test method therefor
JP2000059981A (en) Digital protective relay device
JPS5991525A (en) Controlling method of backup power supply of volatile memory
JPS58175198A (en) Data processing device
CN110018929B (en) Data backup method, device, equipment and storage medium
JP6723400B1 (en) Information processing apparatus and information processing method
JPS59178552A (en) Self diagnosis controlling system
JPH0325813B2 (en)
JP3060376U (en) Memory device
JP2000020498A (en) Microcomputer and its restoring method
JP2574938B2 (en) System startup method
JPS59185170A (en) Control system for inverter
JPH0316656B2 (en)
JPH08179993A (en) Data processor and data processing system using the processor
JP2002149498A (en) Monitor diagnosing device
JPS60169953A (en) Abnormality detecting method of computer
JPH0822419A (en) Miswriting prevention system
JP2554117B2 (en) Vehicle data processor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees