JPH06261593A - Motor control device - Google Patents

Motor control device

Info

Publication number
JPH06261593A
JPH06261593A JP5044131A JP4413193A JPH06261593A JP H06261593 A JPH06261593 A JP H06261593A JP 5044131 A JP5044131 A JP 5044131A JP 4413193 A JP4413193 A JP 4413193A JP H06261593 A JPH06261593 A JP H06261593A
Authority
JP
Japan
Prior art keywords
control
data
control board
power
power supply
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
JP5044131A
Other languages
Japanese (ja)
Inventor
Masanori Miyazaki
雅徳 宮崎
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 JP5044131A priority Critical patent/JPH06261593A/en
Publication of JPH06261593A publication Critical patent/JPH06261593A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Electric Motors In General (AREA)

Abstract

PURPOSE:To automatically set data when a control board is replaced by a method wherein data in a nonvolatile memory inside the control board is compared with data in an external memory and, when there exists a difference, the data in the nonvolatile memory is replaced by the data in the external memory. CONSTITUTION:When a control power supply 7 is turned on, data in a nonvolatile memory 42 inside a control board is compared with data in an external memory 8. When there exists a difference, the data in the external memory 8 is transferred to the control board 4 and it is replaced by the data in the nonvolatile memory 42. When the control power supply 7 is turned off, the present time of a clock 44 is recorded in the nonvolatile memory 42. The service-interruption time is judged from the time when a service interruption is restored. When the service-interruption time is a prescribed time or higher, the same processing is performed. When the service-interruption time is within the prescribed time, an operation is restarted immediately by using the data in the nonvolatile memory 42 inside the control board 4 under a condition that an operating signal is input. Thereby, when the control board is replaced, the data can be set automatically.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、電力を任意の電圧、周
波数の電力に変換して、電動機を可変速制御する電力変
換回路と、この電力変換回路を制御する制御回路とから
構成され、制御をデジタル化した電動機制御装置に係
り、特に制御電源のバックアップをすることなく、通常
の制御電源オンオフと瞬時停電とを識別して瞬時停電後
直ちに制御回路を再始動でき、また制御基板を交換する
時に基板交換を自動的に識別して設定定数を人間の手を
介することなく写し替えることを可能とした電動機制御
装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention comprises a power conversion circuit for converting electric power into electric power of arbitrary voltage and frequency to control the electric motor at a variable speed, and a control circuit for controlling the electric power conversion circuit. Related to the electric motor control unit that digitized the control, it is possible to restart the control circuit immediately after the momentary power failure by distinguishing between normal control power on / off and momentary power failure without backing up the control power source. The present invention relates to an electric motor control device capable of automatically identifying the exchange of substrates when copying, and transferring the set constant without human intervention.

【0002】[0002]

【従来の技術】最近の電動機制御装置は、制御のデジタ
ル化が進み、性能が向上する一方、デジタル制御装置固
有の問題点も生じている。
2. Description of the Related Art In recent motor control devices, digitalization of control has progressed and performance has been improved, but problems specific to digital control devices have also arisen.

【0003】すなわち、その問題点の第一は、制御回路
に必要な制御電源の重要さが増し、装置内に占める制御
電源のコストが大きくなっている点、また第二は、瞬時
停電等に対して、高速のデジタル制御が極端に弱く、電
動機制御装置がダウンしないように制御電源のバックア
ップが必要となっている点、さらに第三は、もし上記バ
ックアップをしなかった場合、瞬時停電の復帰後デジタ
ル制御回路にリセットがかかり、再び正常動作が可能と
なるまでに長時間の初期化(イニシャライズ)を必要と
し、その間に電動機の回転数が大きく低下してしまう点
である。
That is, the first problem is that the control power supply required for the control circuit is more important, and the cost of the control power supply in the device is higher, and the second is the momentary power failure. On the other hand, high-speed digital control is extremely weak and it is necessary to back up the control power supply so that the motor control device does not go down. Third, if the above backup is not done, recovery from an instantaneous power failure This is because the subsequent digital control circuit is reset and requires a long period of initialization (initialization) before the normal operation can be performed again, during which the rotation speed of the electric motor is greatly reduced.

【0004】また、アナログ制御装置のような調整を必
要としなくなった反面、一般的にデジタル制御のための
データをメモリ内に設定する必要があり、制御基板を交
換する場合に、再ローディングする手間がかかり、ユー
ザの負担となっていることも問題点の一つになってきて
いる。以下、これらの問題点について、具体的な例を挙
げて説明する。
Further, although adjustment like an analog control device is no longer required, it is generally necessary to set data for digital control in a memory, and when the control board is replaced, it is troublesome to reload it. One of the problems is that it is costly and burdens the user. Hereinafter, these problems will be described with reference to specific examples.

【0005】図3は、この種の従来の電動機制御装置の
構成例を示すブロック図である。図3において、1は交
流電源、2は制御対象である電動機、3は半導体やコン
デンサ、リアクトル等で構成され、電力を任意の電圧、
周波数の電力に変換して、電動機を可変速制御する電力
変換回路、4は電力変換回路3を制御するための制御基
板、5は電動機2の回転数を検知する電動機回転セン
サ、6は電動機2の電流電圧等を検知するセンサ、7は
制御基板4に電力を供給する制御電源である。
FIG. 3 is a block diagram showing a configuration example of a conventional electric motor control device of this type. In FIG. 3, 1 is an AC power source, 2 is a motor to be controlled, 3 is a semiconductor, a capacitor, a reactor, etc.
A power conversion circuit for converting the electric power of a frequency into variable speed control of the electric motor, 4 a control board for controlling the electric power conversion circuit 3, 5 an electric motor rotation sensor for detecting the rotational speed of the electric motor 2, and 6 an electric motor 2 Is a sensor for detecting the current voltage and the like, and 7 is a control power supply for supplying power to the control board 4.

【0006】また、上記制御回路4において、41は制
御用のCPU、42は制御プログラムや設定定数を記録
しておく不揮発メモリ、43は制御変数を一時的に記録
しておくRAM、44は時計、45は時計44をバック
アップするためのバッテリー、46は電力変換回路3を
直接制御するパワー制御回路、47は電動機2や電力変
換回路3の電圧電流等を検知するセンサインターフェイ
ス、48は人間が上記設定定数を書き込んだり、変更し
たりするマンマシンインターフェイスであり、これらが
一般的な構成要素である。
In the control circuit 4, 41 is a control CPU, 42 is a non-volatile memory for recording control programs and setting constants, 43 is RAM for temporarily storing control variables, and 44 is a clock. , 45 is a battery for backing up the clock 44, 46 is a power control circuit for directly controlling the power conversion circuit 3, 47 is a sensor interface for detecting the voltage and current of the electric motor 2 and the power conversion circuit 3, and 48 is a human being as described above. It is a man-machine interface that writes and modifies configuration constants, and these are common components.

【0007】なお、不揮発メモリ42としては、バッテ
リーバックアップされたCMOSのスタティックRA
M,EEPROM,マスクROM等が一般的である。ま
た、パワー制御回路46、センサインターフェイス4
7、マンマシンインターフェイス48により、入出力装
置が構成されている。
As the non-volatile memory 42, a battery-backed CMOS static RA is used.
M, EEPROM, mask ROM, etc. are common. In addition, the power control circuit 46, the sensor interface 4
7. The man-machine interface 48 constitutes an input / output device.

【0008】さて、このような電動機制御装置において
は、もし短時間の停電(瞬時停電)が発生しても、装置
が停止することなく、運転を継続しようとしたら、制御
電源7を停電期間中もバックアップしておくのが一般的
である。交流電源1までバックアップするのは非現実的
であり、制御電源7をバッテリーにより無停電電源化す
るか、図3にあるように、コンデンサにより瞬時停電期
間電源バックアップするのが一般的である。しかし、い
ずれの方法も、制御電源7のコストを増加させることに
なる。
In such an electric motor control device, even if a short-time power failure (instantaneous power failure) occurs, if the device is not stopped and the operation is to be continued, the control power supply 7 is in the power failure period. It is common to back up. It is unrealistic to back up to the AC power supply 1, and it is common to make the control power supply 7 an uninterruptible power supply by a battery or, as shown in FIG. However, either method will increase the cost of the control power supply 7.

【0009】一方、もし制御電源7をバックアップしな
い場合には、停電の発生とほとんど同時にCPU41が
停止し、復電後に制御基板4全体を初期化する必要が生
ずる。一般に、デジタル制御回路の初期化には、かなり
の時間(0.1秒〜数秒)が必要であり、停電していた
期間よりも長い間(停電期間+初期化時間)電動機制御
装置は制御不能となる。このため、電動機2の回転数が
必要以上に低下するという不都合がある。さらに、制御
電源7をバックアップしないで電源がオンした場合、通
常操作による電源オンなのか、停電による電源断後のオ
ンなのかを識別するのが、技術的に困難である。
On the other hand, if the control power supply 7 is not backed up, the CPU 41 stops almost at the same time as the occurrence of the power failure, and it becomes necessary to initialize the entire control board 4 after the power is restored. Generally, it takes a considerable time (0.1 seconds to several seconds) to initialize the digital control circuit, and the motor control device cannot be controlled for a period longer than the power failure period (power failure period + initialization time). Becomes Therefore, there is an inconvenience that the rotation speed of the electric motor 2 is reduced more than necessary. Furthermore, when the power supply is turned on without backing up the control power supply 7, it is technically difficult to identify whether the power supply is on by normal operation or after power off due to a power failure.

【0010】また、故障等の何らかの理由で制御基板4
を交換する場合には、おらかじめ設定定数をインプット
した予備基板を全ての制御装置毎に準備しておくか、上
記設定定数を予備基板に写し替える必要があり、ユーザ
がキーボードやディスプレイ等のマンマシンインターフ
ェイス48を用いてデータをインプットしたり、補助的
にパーソナルコンピュータやメモリカード等を用いてデ
ータをインプットしたりする手間が必要である。いずれ
の方法を用いても、制御基板4を交換した時に、基板自
体がそれを識別することが困難で、人間が何らかの操作
を行なう必要があり、時間と手間がかかっている。
Also, the control board 4 may be damaged for some reason.
When replacing the above, it is necessary to prepare a spare board to which the set constants are input for all control devices, or to copy the above set constants to the spare board. It is necessary to input the data by using the man-machine interface 48 or auxiliaryly input the data by using a personal computer or a memory card. Whichever method is used, when the control board 4 is replaced, it is difficult for the board itself to identify it, and a human needs to perform some operation, which takes time and effort.

【0011】[0011]

【発明が解決しようとする課題】以上のように、デジタ
ル制御を採用した電動機制御装置においては、瞬時停電
に対して制御電源をバックアップしようとすると、制御
電源のコストが高くなるという問題、また制御電源をバ
ックアップしないと、復電時に直ちに制御回路を再始動
することができず、電動機の回転数が必要以上に低下す
るという問題、さらに通常の制御電源オンオフと瞬時停
電とを識別できないという問題、さらにまた故障等の何
らかの理由で制御基板を交換する場合には、データをイ
ンプットするために人間が何らかの操作をする必要があ
り、時間と手間がかかるという問題があった。
As described above, in the motor control device adopting the digital control, if the control power supply is backed up against an instantaneous power failure, the cost of the control power supply increases, and the control If the power supply is not backed up, the control circuit cannot be restarted immediately when the power is restored, and the problem that the number of rotations of the motor decreases more than necessary, and the problem that normal control power on / off and instantaneous power failure cannot be distinguished, Furthermore, when the control board is replaced for some reason such as a failure, it is necessary for a person to perform some operation in order to input data, which takes time and labor.

【0012】本発明の目的は、制御電源のバックアップ
をすることなく、通常の制御電源オンオフと瞬時停電と
を識別して瞬時停電後直ちに制御回路を再始動でき、ま
た制御基板を交換する時に基板交換を自動的に識別して
設定定数を人間の手を介することなく写し替えることが
可能な極めて信頼性の高い電動機制御装置を提供するこ
とにある。
An object of the present invention is to distinguish between normal control power on / off and momentary power failure without backing up the control power source, to restart the control circuit immediately after the momentary power failure, and to replace the control board when replacing the board. An object of the present invention is to provide an extremely reliable electric motor control device capable of automatically identifying exchanges and transferring the set constants without human intervention.

【0013】[0013]

【課題を解決するための手段】上記の目的を達成するた
めに、電力を任意の電圧、周波数の電力に変換して、電
動機を可変速制御する電力変換回路と、電力変換回路を
制御する制御回路とから構成された電動機制御装置にお
いて、
In order to achieve the above object, an electric power conversion circuit for converting electric power into electric power of an arbitrary voltage and frequency to control an electric motor at a variable speed, and a control for controlling the electric power conversion circuit. In a motor control device composed of a circuit,

【0014】まず、請求項1に記載された発明では、制
御用のCPUと、設定定数等のデータを記録しておく不
揮発メモリ,制御変数を一時的に記録しておくRAM,
時計,その他の入出力装置よりなり、CPUに接続され
た少なくとも一つの制御基板と、制御基板とは独立して
任意に切り離し/接続が可能な不揮発メモリよりなり、
設定定数等のデータを記録しておく外部メモリとから、
上記制御回路を構成し、制御回路に電力を供給する制御
電源のオン時に、制御基板内の不揮発メモリのデータと
外部メモリのデータとを比較して両者に差異がないか否
かを判定し、差異がある場合には外部メモリのデータを
制御基板内に転送して制御基板内の不揮発メモリ内のデ
ータと置き換える手段を備えている。
First, in the invention described in claim 1, a control CPU, a non-volatile memory in which data such as setting constants are recorded, a RAM in which control variables are temporarily recorded,
A clock and other input / output devices, at least one control board connected to the CPU, and a non-volatile memory that can be disconnected / connected independently of the control board.
From an external memory that records data such as setting constants,
The above control circuit is configured, and when the control power supply for supplying power to the control circuit is turned on, it is determined whether or not there is a difference between the data in the non-volatile memory in the control board and the data in the external memory, If there is a difference, a means for transferring the data in the external memory into the control board and replacing the data in the non-volatile memory in the control board is provided.

【0015】また、請求項2に記載された発明では、制
御用のCPUと、設定定数等のデータを記録しておく不
揮発メモリ,制御変数を一時的に記録しておくRAM,
時計,その他の入出力装置よりなり、CPUに接続され
た少なくとも一つの制御基板と、制御基板とは独立して
任意に切り離し/接続が可能な不揮発メモリよりなり、
設定定数等のデータを記録しておく外部メモリとから、
上記制御回路を構成し、制御回路に電力を供給する制御
電源のオフ時に、制御基板内の時計の現在時刻を不揮発
メモリ内に記録して、次に制御電源がオンした時の時刻
から停電時間を判定し、その結果当該停電時間が所定時
間以上の場合には、制御電源のオン時に、制御基板内の
不揮発メモリのデータと外部メモリのデータとを比較し
て両者に差異がないか否かを判定し、差異がある場合に
は外部メモリのデータを制御基板内に転送して制御基板
内の不揮発メモリ内のデータと置き換え、また停電時間
が所定時間以内の場合には、制御基板内の不揮発メモリ
のデータを用いて運転信号の入力を条件に直ちに運転を
再開する手段を備えている。
Further, in the invention described in claim 2, a control CPU, a non-volatile memory in which data such as setting constants are recorded, a RAM in which control variables are temporarily recorded,
A clock and other input / output devices, at least one control board connected to the CPU, and a non-volatile memory that can be disconnected / connected independently of the control board.
From an external memory that records data such as setting constants,
When the control power supply that configures the control circuit and supplies power to the control circuit is turned off, the current time of the clock in the control board is recorded in the non-volatile memory, and the power failure time starts from the time when the control power supply is turned on next time. If, as a result, the power failure time is longer than the predetermined time, when the control power is turned on, the data in the nonvolatile memory in the control board and the data in the external memory are compared to see if there is a difference between them. If there is a difference, transfer the data in the external memory to the control board and replace it with the data in the non-volatile memory in the control board.If the power failure time is within the predetermined time, A means for immediately restarting the operation is provided on condition that the operation signal is input by using the data in the nonvolatile memory.

【0016】[0016]

【作用】従って、本発明の電動機制御装置においては、
制御基板とは独立して設けた外部メモリに、設定定数等
のデータをあらかじめ入力しておく。
Therefore, in the motor controller of the present invention,
Data such as setting constants are input in advance to an external memory provided independently of the control board.

【0017】制御電源のオン時には、制御基板内の不揮
発メモリのデータと外部メモリのデータとを比較して、
両者に差異がないか否かが判定され、差異がある場合に
は、制御基板が交換されたことを識別して、制御基板内
の不揮発メモリ内のデータが、外部メモリのデータと置
き換えられる。これにより、制御基板を交換する時に、
基板交換を自動的に識別して、設定定数を人間の手を介
することなく写し替えることができる。
When the control power supply is turned on, the data in the nonvolatile memory in the control board is compared with the data in the external memory,
It is determined whether or not there is a difference between the two, and if there is a difference, it is identified that the control board has been replaced, and the data in the non-volatile memory in the control board is replaced with the data in the external memory. As a result, when replacing the control board,
Substrate replacement can be automatically identified and the set constant can be transferred without human intervention.

【0018】また、制御電源のオン時に、停電時間を時
計により確認して、瞬時停電と判断された場合には、設
定定数等のデータの比較が行なわれず、また初期化動作
を最小限にして、直ちに再始動される。
Also, when the control power supply is turned on, the power failure time is confirmed by a clock, and if it is judged that there is an instantaneous power failure, data such as setting constants are not compared, and the initialization operation is minimized. , Is immediately restarted.

【0019】これにより、制御電源のバックアップをす
ることなく、通常の制御電源オンオフと瞬時停電とを識
別して、瞬時停電後直ちに制御回路を再始動することが
できる。
Thus, it is possible to distinguish between the normal control power on / off and the momentary power failure and to restart the control circuit immediately after the momentary power failure without backing up the control power source.

【0020】[0020]

【実施例】以下、本発明の一実施例について図面を参照
して詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the drawings.

【0021】図1は、本発明による電動機制御装置の構
成例を示すブロック図であり、図3と同一部分には同一
符号を付してその説明を省略し、ここでは異なる部分に
ついてのみ述べる。すなわち、図1において、制御電源
7は、図3にて説明したものと同じであるが、バックア
ップ等は不要である。
FIG. 1 is a block diagram showing a configuration example of an electric motor control device according to the present invention. The same parts as those in FIG. 3 are designated by the same reference numerals, and the description thereof will be omitted. Only different parts will be described here. That is, in FIG. 1, the control power supply 7 is the same as that described in FIG. 3, but no backup or the like is necessary.

【0022】また、制御基板4とは独立して、任意に接
続と切り離しが可能な外部メモリ8を設けている。この
外部メモリ8としては、不揮発メモリ81を用いること
が必要である。この不揮発メモリ81は、制御基板4内
の不揮発メモリ42と同様に、バッテリーバックアップ
されたCMOSのスタティックRAM,EEPROM,
マスクROM等が一般的である。さらに、制御基板4内
の不揮発メモリ42には、前述した制御プログラム以外
に、以下の制御プログラムも記録している。
Further, an external memory 8 which can be arbitrarily connected and disconnected is provided independently of the control board 4. It is necessary to use a non-volatile memory 81 as the external memory 8. This non-volatile memory 81, like the non-volatile memory 42 in the control board 4, is a battery-backed CMOS static RAM, EEPROM,
A mask ROM or the like is common. Further, in the non-volatile memory 42 in the control board 4, the following control programs are recorded in addition to the control programs described above.

【0023】すなわち、制御電源7のオン時に、制御基
板4内の不揮発メモリ42のデータと、外部メモリ8の
データとを比較して両者に差異がないか否かを判定し、
差異がある場合には外部メモリ8のデータを制御基板4
内に転送して制御基板4内の不揮発メモリ42内のデー
タと置き換える制御プログラムと、制御電源7のオフ時
に、制御基板4内の時計44の現在時刻を不揮発メモリ
42内に記録して、次に制御電源7がオンした時の時刻
から停電時間を判定し、その結果この停電時間が所定時
間以上の場合には、制御電源7のオン時に、制御基板4
内の不揮発メモリ42のデータと外部メモリ8のデータ
とを比較して両者に差異がないか否かを判定し、差異が
ある場合には外部メモリ8のデータを制御基板4内に転
送して制御基板4内の不揮発メモリ42内のデータと置
き換え、また停電時間が所定時間以内の場合には、制御
基板4内の不揮発メモリ42のデータを用いて運転信号
の入力を条件に直ちに運転を再開する制御プログラムと
記録している。次に、以上のように構成した本実施例の
電動機制御装置の動作について説明する。
That is, when the control power supply 7 is turned on, the data in the non-volatile memory 42 in the control board 4 and the data in the external memory 8 are compared to determine whether there is a difference between them.
If there is a difference, the data in the external memory 8 is transferred to the control board 4
The control program which is transferred to the inside and is replaced with the data in the non-volatile memory 42 in the control board 4, and the current time of the clock 44 in the control board 4 is recorded in the non-volatile memory 42 when the control power supply 7 is turned off. When the control power supply 7 is turned on, the power outage time is determined from the time when the control power supply 7 is turned on.
The data in the non-volatile memory 42 inside is compared with the data in the external memory 8 to determine whether there is a difference between them, and if there is a difference, the data in the external memory 8 is transferred to the control board 4. The data is replaced with the data in the nonvolatile memory 42 in the control board 4, and when the power failure time is within a predetermined time, the operation is immediately restarted using the data in the nonvolatile memory 42 in the control board 4 as a condition for inputting the operation signal. It is recorded as a control program that does. Next, the operation of the electric motor control device of the present embodiment configured as described above will be described.

【0024】外部メモリ8には、前記設定定数をあらか
じめ入力しておく。すなわち、一般に、設定定数には、
電動機2や電力変換回路3を他の電動機や電力変換回路
と区別するための情報が含まれている。具体的には、電
動機2の定格容量(KW)、定格電流や電力変換回路の
定格容量、電流や回転数の制御応答を決定する制御ゲイ
ン等である。外部メモリ8中のデータは、必ず電力変換
回路3と1:1に対応し、もし電動機制御装置が複数あ
る場合には、外部メモリ8も同数だけ準備する。
The setting constants are previously input to the external memory 8. That is, in general, the setting constant is
Information for distinguishing the electric motor 2 and the power conversion circuit 3 from other electric motors and the power conversion circuit is included. Specifically, the rated capacity (KW) of the electric motor 2, the rated current and the rated capacity of the power conversion circuit, the control gain that determines the control response of the current and the rotational speed, and the like. The data in the external memory 8 always corresponds to 1: 1 with the power conversion circuit 3, and if there are a plurality of motor control devices, prepare the same number of external memories 8.

【0025】さて、制御基板4を交換する時には、外部
メモリ8は交換せずに新しい制御基板4に取り付けた
後、制御電源7をオンする。すると、新しい制御基板4
のCPU41では、制御電源7のオンにより、まず制御
基板4内の不揮発メモリ42に記録された設定定数と、
外部メモリ8内の不揮発メモリ81に記録された設定定
数とが比較される。その結果、両者の間に差異があった
場合には、制御基板4が交換されたと識別して、外部メ
モリ8側の設定定数を正として制御基板4内の不揮発メ
モリ42の設定定数が修正される。この操作は、制御電
源7のオン時に、人の手を介さずに自動的に行なわれ
る。
When the control board 4 is replaced, the external memory 8 is not replaced and is attached to a new control board 4, and then the control power supply 7 is turned on. Then, the new control board 4
In the CPU 41, when the control power supply 7 is turned on, first, the setting constants recorded in the nonvolatile memory 42 in the control board 4 and
The set constant recorded in the nonvolatile memory 81 in the external memory 8 is compared. As a result, if there is a difference between the two, it is identified that the control board 4 has been replaced, and the setting constant of the non-volatile memory 42 in the control board 4 is corrected with the setting constant on the external memory 8 side being positive. It This operation is automatically performed when the control power supply 7 is turned on, without human intervention.

【0026】一方、ここで問題となるのは、通常の制御
電源7のオンと、瞬時停電後の復電に伴う制御電源7の
オンとの区別である。通常、瞬時停電が発生した場合、
電動機制御装置には、復電後直ちに運転を再開すること
が要求される。上記のような外部メモリ8とのデータ比
較等を行なって運転再開が遅れると、その間に電動機2
の回転数が低下してしまい、問題となることがある。こ
のために、制御電源7がオフしている期間、すなわち停
電時間が時計44により計時される。
On the other hand, the problem here is to distinguish between the normal control power supply 7 being turned on and the control power supply 7 being turned on with the restoration of power after the momentary power failure. Usually, when an instantaneous power failure occurs,
The electric motor control device is required to restart the operation immediately after the power is restored. If the restart of the operation is delayed due to the data comparison with the external memory 8 as described above, the electric motor 2
The number of rotations of will decrease, which may cause a problem. Therefore, the time period during which the control power supply 7 is off, that is, the power failure time is measured by the clock 44.

【0027】すなわち、制御電源7がオフした時には、
直ちに現在時刻が不揮発メモリ42に記録され、次に制
御電源7がオンした時の時刻から停電時間が判断され
る。一般に、瞬時停電は10msから1s程度であり、
この時間以内であれば、運転を直ちに再開するため必要
な最小限の初期化動作が行なわれる。具体的には、制御
基板4内のパワー制御回路46やセンサインターフェイ
ス47のリセット等である。なお、このような短時間の
間に制御基板4の交換を行なうことはあり得ないため、
上述した外部メモリ8とのデータ比較は行なわれない。
That is, when the control power supply 7 is turned off,
The current time is immediately recorded in the nonvolatile memory 42, and the power failure time is determined from the time when the control power supply 7 is turned on next time. Generally, the momentary power failure is about 10ms to 1s,
Within this time, the minimum necessary initialization operation is performed to restart the operation immediately. Specifically, it includes resetting the power control circuit 46 and the sensor interface 47 in the control board 4. Since the control board 4 cannot be replaced in such a short time,
Data comparison with the external memory 8 described above is not performed.

【0028】図2は、上記動作内容を示すフロー図であ
る。すなわち、図2に示すように、制御電源7がオンし
た後すぐに、現在時刻を調べて停電時間が所定の時間以
内かどうかが判定される。この所定の時間とは、瞬時停
電時間と判断する時間の最大値とすることが一般的であ
る。
FIG. 2 is a flow chart showing the operation contents. That is, as shown in FIG. 2, immediately after the control power supply 7 is turned on, the current time is checked to determine whether the power failure time is within a predetermined time. This predetermined time is generally the maximum value of the time determined to be the momentary power failure time.

【0029】その結果、もし停電時間が所定の時間以内
であれば、瞬時停電が発生したと判断し、制御基板4が
正常に動作し得る上記最低限の初期化が行なわれ、運転
信号が入力されたことを条件に、直ちに制御回路が始動
されて運転が再開される。
As a result, if the power failure time is within a predetermined time, it is determined that an instantaneous power failure has occurred, the control board 4 is initialized as described above so that it can operate normally, and the operation signal is input. The control circuit is immediately started and the operation is restarted on the condition that the operation is performed.

【0030】また、もし停電時間が所定の時間以上経過
していれば、通常の制御電源7のオンと判断して、外部
メモリ8の設定定数と制御基板4内の不揮発メモリ42
の設定定数とが比較される。この比較の結果、もし両者
のデータに差異があれば、制御基板4が交換されたと判
断して、まず正しい制御基板4が実装されているかチェ
ックされ、次に外部メモリ8の設定定数が制御基板4内
の不揮発メモリ42に転送された後、制御基板4の初期
化動作が行なわれる。ここで、一般に初期化動作には、
ハードウエアとソフトウエアの両方が含まれ、特にハー
ドウエアの初期化には、電力変換回路3に合わせて一度
だけ設定すれば済むような初期化(例えば、電流検出セ
ンサ6のゲインを電力変換回路3の定格電流にあわせて
調整をする初期化動作)が含まれる。また、もし両者の
データに差異がなければ、制御基板4の交換がない通常
の制御電源7のオンと判断して、制御基板4の通常の初
期化動作が行なわれる。
If the power failure time exceeds a predetermined time, it is judged that the normal control power supply 7 is turned on, and the setting constant of the external memory 8 and the nonvolatile memory 42 in the control board 4 are determined.
The setting constant of is compared. As a result of this comparison, if there is a difference between the two data, it is determined that the control board 4 has been replaced, and it is first checked whether the correct control board 4 is mounted, and then the setting constant of the external memory 8 is set to the control board. After being transferred to the non-volatile memory 42 in the control circuit 4, the control board 4 is initialized. Here, in general, the initialization operation is
Both the hardware and the software are included, and particularly, the initialization of the hardware is such that the setting is performed only once according to the power conversion circuit 3 (for example, the gain of the current detection sensor 6 is set to the power conversion circuit). The initialization operation of adjusting according to the rated current of 3) is included. If there is no difference between the two data, it is determined that the normal control power supply 7 without the replacement of the control board 4 is turned on, and the normal initialization operation of the control board 4 is performed.

【0031】上述したように、本実施例では、電力を任
意の電圧、周波数の電力に変換して、電動機2を可変速
制御する電力変換回路3と、電力変換回路3を制御する
制御回路とから構成された電動機制御装置において、制
御用のCPU41と、設定定数等のデータを記録してお
く不揮発メモリ42,制御変数を一時的に記録しておく
RAM43,時計44,バッテリー45,その他の入出
力装置46,47,48よりなり、CPU41に接続さ
れた少なくとも一つの制御基板4と、制御基板4とは独
立して任意に切り離し/接続が可能な不揮発メモリ81
よりなり、設定定数等のデータを記録しておく外部メモ
リ8とから、上記制御回路を構成し、制御回路に電力を
供給する制御電源7のオン時に、制御基板4内の不揮発
メモリ42のデータと外部メモリ8のデータとを比較し
て両者に差異がないか否かを判定し、差異がある場合に
は外部メモリ8のデータを制御基板4内に転送して制御
基板4内の不揮発メモリ42内のデータと置き換え、ま
た、制御電源7のオフ時に、制御基板4内の時計の現在
時刻を不揮発メモリ42内に記録して、次に制御電源7
がオンした時の時刻から停電時間を判定し、その結果当
該停電時間が所定時間以上の場合には、制御電源7のオ
ン時に、制御基板4内の不揮発メモリ42のデータと外
部メモリ8のデータとを比較して両者に差異がないか否
かを判定し、差異がある場合には外部メモリ8のデータ
を制御基板4内に転送して制御基板4内の不揮発メモリ
42内のデータと置き換え、停電時間が所定時間以内の
場合には、制御基板4内の不揮発メモリ42のデータを
用いて運転信号の入力を条件に直ちに運転を再開するよ
うにしたものである。
As described above, in this embodiment, the electric power is converted into electric power of arbitrary voltage and frequency to control the electric motor 2 at a variable speed, and the control circuit for controlling the electric power conversion circuit 3. In the electric motor control device composed of, a control CPU 41, a non-volatile memory 42 for recording data such as setting constants, a RAM 43 for temporarily recording control variables, a clock 44, a battery 45, and other input devices. At least one control board 4 including output devices 46, 47, 48 connected to the CPU 41, and a non-volatile memory 81 that can be arbitrarily disconnected / connected independently of the control board 4.
The external memory 8 for storing data such as setting constants constitutes the above control circuit, and when the control power supply 7 for supplying electric power to the control circuit is turned on, the data in the non-volatile memory 42 in the control board 4 is turned on. And the data in the external memory 8 are compared to determine whether or not there is a difference between them, and if there is a difference, the data in the external memory 8 is transferred to the control board 4 and the nonvolatile memory in the control board 4 is transferred. 42, and when the control power supply 7 is turned off, the current time of the clock in the control board 4 is recorded in the non-volatile memory 42, and then the control power supply 7
The power failure time is determined from the time when the power is turned on, and if the power failure time is more than the predetermined time as a result, when the control power supply 7 is turned on, the data in the nonvolatile memory 42 in the control board 4 and the data in the external memory 8 are turned on. Is compared to determine whether or not there is a difference between them, and if there is a difference, the data in the external memory 8 is transferred to the control board 4 and replaced with the data in the non-volatile memory 42 in the control board 4. When the power failure time is within a predetermined time, the data is stored in the non-volatile memory 42 in the control board 4 and the operation is immediately restarted on condition that the operation signal is input.

【0032】従って、制御基板4とは独立して設けた外
部メモリ8に、設定定数等のデータをあらかじめ入力し
ておき、制御電源7のオン時には、制御基板4内の不揮
発メモリ42のデータと外部メモリ8のデータとを比較
して、両者に差異がないか否かが判定され、差異がある
場合には、制御基板4が交換されたことを識別して、制
御基板4内の不揮発メモリ42内のデータが、外部メモ
リ8のデータと置き換えられる。これにより、制御基板
4を交換する時に、基板交換を自動的に識別して、設定
定数を人間の手を介することなく写し替えることが可能
となる。
Therefore, data such as setting constants are input in advance to the external memory 8 provided independently of the control board 4, and when the control power supply 7 is turned on, the data of the nonvolatile memory 42 in the control board 4 is stored. The data in the external memory 8 is compared to determine whether there is a difference between the two. If there is a difference, it is identified that the control board 4 has been replaced, and the nonvolatile memory in the control board 4 is identified. The data in 42 is replaced with the data in the external memory 8. Thus, when the control board 4 is replaced, it is possible to automatically identify the replacement of the board and transfer the set constant without human intervention.

【0033】また、制御電源7のオン時に、停電時間を
時計44により確認して、瞬時停電と判断された場合に
は、設定定数等のデータの比較が行なわれず、また初期
化動作を最小限にして、直ちに再始動される。
Also, when the control power supply 7 is turned on, the power outage time is confirmed by the clock 44, and if it is determined that there is an instantaneous power outage, data such as setting constants are not compared, and the initialization operation is minimized. And it is restarted immediately.

【0034】これにより、制御電源7のバックアップを
することなく、通常の制御電源オンオフと瞬時停電とを
識別して、瞬時停電後直ちに制御回路を再始動すること
が可能となる。尚、本発明は上記実施例に限定されるも
のではなく、次のようにしても同様に実施できるもので
ある。
This makes it possible to distinguish between normal control power on / off and momentary power failure and to restart the control circuit immediately after the momentary power failure without backing up the control power source 7. The present invention is not limited to the above embodiment, but can be implemented in the same manner as described below.

【0035】(a)上記実施例では、制御基板4内の不
揮発メモリ42に、本来の制御プログラムの他に、さら
に2つの制御プログラムを記録する場合について説明し
たが、この2つの制御プログラムのうちのいずれか一方
の制御プログラムを記録するようにしてもよい。
(A) In the above embodiment, the case where two control programs are recorded in addition to the original control program in the non-volatile memory 42 in the control board 4 has been described. Of these two control programs, Either one of the control programs may be recorded.

【0036】(b)上記実施例では、制御基板4内の時
計44をバッテリー45でバックアップする場合につい
て説明したが、必ずしも常時時計44が計時している必
要はなく、コンデンサ等により制御電源断後、数秒以上
計時できれば、本発明を同様に適用することが可能であ
る。
(B) In the above embodiment, the case where the clock 44 in the control board 4 is backed up by the battery 45 has been described. However, the clock 44 does not always have to keep time, and after the control power is cut off by a capacitor or the like. If the time can be measured for several seconds or more, the present invention can be similarly applied.

【0037】[0037]

【発明の効果】以上説明したように本発明によれば、制
御基板とは独立して任意に切り離し/接続が可能な不揮
発メモリよりなり、設定定数等のデータを記録しておく
外部メモリを設け、制御回路に電力を供給する制御電源
のオン時に、制御基板内の不揮発メモリのデータと外部
メモリのデータとを比較して両者に差異がないか否かを
判定し、差異がある場合には外部メモリのデータを制御
基板内に転送して制御基板内の不揮発メモリ内のデータ
と置き換える手段を備え、また制御回路に電力を供給す
る制御電源のオフ時に、制御基板内の時計の現在時刻を
不揮発メモリ内に記録して、次に制御電源がオンした時
の時刻から停電時間を判定し、その結果当該停電時間が
所定時間以上の場合には、制御電源のオン時に、制御基
板内の不揮発メモリのデータと外部メモリのデータとを
比較して両者に差異がないか否かを判定し、差異がある
場合には外部メモリのデータを制御基板内に転送して制
御基板内の不揮発メモリ内のデータと置き換え、停電時
間が所定時間以内の場合には、制御基板内の不揮発メモ
リのデータを用いて運転信号の入力を条件に直ちに運転
を再開する手段を備えるようにしたので、制御電源のバ
ックアップをすることなく、通常の制御電源オンオフと
瞬時停電とを識別して瞬時停電後直ちに制御回路を再始
動でき、また制御基板を交換する時に基板交換を自動的
に識別して設定定数を人間の手を介することなく写し替
えることが可能な極めて信頼性の高い電動機制御装置が
提供できる。
As described above, according to the present invention, a non-volatile memory which can be arbitrarily disconnected / connected independently of the control board is provided, and an external memory for recording data such as setting constants is provided. When the control power supply that supplies power to the control circuit is turned on, the data in the non-volatile memory in the control board is compared with the data in the external memory to determine whether there is a difference between them, and if there is a difference, A means for transferring the data in the external memory into the control board to replace the data in the non-volatile memory in the control board is provided, and when the control power supply for supplying power to the control circuit is turned off, the current time of the clock in the control board is set. It is recorded in the non-volatile memory, and the power failure time is judged from the time when the control power supply is turned on next time. As a result, if the power failure time is more than a predetermined time, the nonvolatile power in the control board is stored when the control power supply is turned on. Note And the data in the external memory are compared to determine whether there is a difference between them, and if there is a difference, the data in the external memory is transferred to the control board and stored in the non-volatile memory in the control board. When the power failure time is within a predetermined time by replacing with the data, it is equipped with a means to restart the operation immediately by using the data of the non-volatile memory in the control board on condition of the input of the operation signal. The normal control power on / off and the momentary power failure can be identified without restarting, and the control circuit can be restarted immediately after the momentary power failure.When the control board is replaced, the board replacement is automatically identified and the setting constant is set by the human. It is possible to provide an extremely reliable electric motor control device that can be copied without using hands.

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

【図1】本発明による電動機制御装置の一実施例を示す
ブロック図。
FIG. 1 is a block diagram showing an embodiment of an electric motor control device according to the present invention.

【図2】同実施例における動作を説明するためのフロー
図。
FIG. 2 is a flowchart for explaining the operation in the same embodiment.

【図3】従来の電動機制御装置の構成例を示すブロック
図。
FIG. 3 is a block diagram showing a configuration example of a conventional electric motor control device.

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

1…交流電源、2…電動機、3…電力変換回路、4…制
御基板、41…CPU、42…不揮発メモリ、43…R
AM、44…時計、45…バッテリー、46…パワー制
御回路、47…センサインターフェイス、48…マンマ
シンインターフェイス、5…電動機回転センサ、6…セ
ンサ、7…制御電源、8…外部メモリ、81…不揮発メ
モリ。
DESCRIPTION OF SYMBOLS 1 ... AC power supply, 2 ... Electric motor, 3 ... Power conversion circuit, 4 ... Control board, 41 ... CPU, 42 ... Non-volatile memory, 43 ... R
AM, 44 ... Clock, 45 ... Battery, 46 ... Power control circuit, 47 ... Sensor interface, 48 ... Man-machine interface, 5 ... Motor rotation sensor, 6 ... Sensor, 7 ... Control power supply, 8 ... External memory, 81 ... Nonvolatile memory.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 電力を任意の電圧、周波数の電力に変換
して、電動機を可変速制御する電力変換回路と、前記電
力変換回路を制御する制御回路とから構成された電動機
制御装置において、 制御用のCPUと、設定定数等のデータを記録しておく
不揮発メモリ,制御変数を一時的に記録しておくRA
M,時計,その他の入出力装置よりなり、前記CPUに
接続された少なくとも一つの制御基板と、前記制御基板
とは独立して任意に切り離し/接続が可能な不揮発メモ
リよりなり、設定定数等のデータを記録しておく外部メ
モリとから、前記制御回路を構成し、 前記制御回路に電力を供給する制御電源のオン時に、前
記制御基板内の不揮発メモリのデータと前記外部メモリ
のデータとを比較して両者に差異がないか否かを判定
し、差異がある場合には前記外部メモリのデータを前記
制御基板内に転送して前記制御基板内の不揮発メモリ内
のデータと置き換える手段を備えて成ることを特徴とす
る電動機制御装置。
1. A motor control device comprising a power conversion circuit for converting electric power into electric power of an arbitrary voltage and frequency to control the electric motor at a variable speed, and a control circuit for controlling the power conversion circuit. CPU, non-volatile memory for recording data such as setting constants, RA for temporarily recording control variables
M, a clock, and other input / output devices, at least one control board connected to the CPU, and a non-volatile memory that can be arbitrarily disconnected / connected independently of the control board. The control circuit is configured from an external memory that records data, and when the control power supply that supplies power to the control circuit is turned on, the data in the nonvolatile memory in the control board and the data in the external memory are compared. Then, it is determined whether or not there is a difference between the two, and if there is a difference, means for transferring the data in the external memory into the control board and replacing the data in the non-volatile memory in the control board is provided. An electric motor control device characterized by comprising:
【請求項2】 電力を任意の電圧、周波数の電力に変換
して、電動機を可変速制御する電力変換回路と、前記電
力変換回路を制御する制御回路とから構成された電動機
制御装置において、 制御用のCPUと、設定定数等のデータを記録しておく
不揮発メモリ,制御変数を一時的に記録しておくRA
M,時計,その他の入出力装置よりなり、前記CPUに
接続された少なくとも一つの制御基板と、前記制御基板
とは独立して任意に切り離し/接続が可能な不揮発メモ
リよりなり、設定定数等のデータを記録しておく外部メ
モリとから、前記制御回路を構成し、 前記制御回路に電力を供給する制御電源のオフ時に、前
記制御基板内の時計の現在時刻を前記不揮発メモリ内に
記録して、次に前記制御電源がオンした時の時刻から停
電時間を判定し、その結果当該停電時間が所定時間以上
の場合には、前記制御電源のオン時に、前記制御基板内
の不揮発メモリのデータと前記外部メモリのデータとを
比較して両者に差異がないか否かを判定し、差異がある
場合には前記外部メモリのデータを前記制御基板内に転
送して前記制御基板内の不揮発メモリ内のデータと置き
換え、また停電時間が所定時間以内の場合には、前記制
御基板内の不揮発メモリのデータを用いて運転信号の入
力を条件に直ちに運転を再開する手段を備えて成ること
を特徴とする電動機制御装置。
2. A motor control device comprising a power conversion circuit for converting electric power into electric power of an arbitrary voltage and frequency to control the electric motor at a variable speed, and a control circuit for controlling the power conversion circuit, wherein: CPU, non-volatile memory for recording data such as setting constants, RA for temporarily recording control variables
M, a clock, and other input / output devices, at least one control board connected to the CPU, and a non-volatile memory that can be arbitrarily disconnected / connected independently of the control board. The control circuit is configured from an external memory that records data, and when the control power supply that supplies power to the control circuit is turned off, the current time of the clock in the control board is recorded in the nonvolatile memory. Then, the power failure time is determined from the time when the control power supply is turned on, and if the power failure time is equal to or longer than a predetermined time as a result, when the control power supply is turned on, the data of the nonvolatile memory in the control board is stored. The data in the external memory is compared to determine whether or not there is a difference, and if there is a difference, the data in the external memory is transferred to the control board and the nonvolatile memory in the control board is transferred. When the power failure time is within a predetermined time, the device further comprises means for immediately restarting the operation on the condition that the operation signal is input using the data of the nonvolatile memory in the control board. A characteristic motor control device.
JP5044131A 1993-03-04 1993-03-04 Motor control device Pending JPH06261593A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5044131A JPH06261593A (en) 1993-03-04 1993-03-04 Motor control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5044131A JPH06261593A (en) 1993-03-04 1993-03-04 Motor control device

Publications (1)

Publication Number Publication Date
JPH06261593A true JPH06261593A (en) 1994-09-16

Family

ID=12683069

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5044131A Pending JPH06261593A (en) 1993-03-04 1993-03-04 Motor control device

Country Status (1)

Country Link
JP (1) JPH06261593A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5164306A (en) * 1987-01-23 1992-11-17 Ajinomoto Co., Inc. Process for producing 5'-inosinic acid by fermentation
JP2008236974A (en) * 2007-03-23 2008-10-02 Nec Fielding Ltd Uninterruptible power supply device, uninterruptible power supply system, and uninterruptible power supply method
JP2010011556A (en) * 2008-06-24 2010-01-14 Mitsubishi Motors Corp Motor system
JP2015107738A (en) * 2013-12-05 2015-06-11 日立オートモティブシステムズ株式会社 Control device for vehicle

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5164306A (en) * 1987-01-23 1992-11-17 Ajinomoto Co., Inc. Process for producing 5'-inosinic acid by fermentation
JP2008236974A (en) * 2007-03-23 2008-10-02 Nec Fielding Ltd Uninterruptible power supply device, uninterruptible power supply system, and uninterruptible power supply method
JP2010011556A (en) * 2008-06-24 2010-01-14 Mitsubishi Motors Corp Motor system
JP2015107738A (en) * 2013-12-05 2015-06-11 日立オートモティブシステムズ株式会社 Control device for vehicle

Similar Documents

Publication Publication Date Title
US5708820A (en) Network hibernation system for suspending and resuming operation of computer system operable in network environment in event of power failure or period of inactivity
US6336174B1 (en) Hardware assisted memory backup system and method
USRE41014E1 (en) System and method for preventing damage to media files within a digital camera device
US20040044890A1 (en) Apparatus and method for protecting failure of computer operating system
US5748971A (en) Option card hibernation system
JPH11155243A (en) Uninterruptible power equipment and computer system with the uninterruptible power equipment
JPS6159531A (en) Microprogram loader
JP2002007000A (en) Electronic equipment
JPH06261593A (en) Motor control device
JPS5936784B2 (en) Process control computer system
JPH1091296A (en) Information processing device and method
JPS58175198A (en) Data processing device
JP3087650B2 (en) Automatic power recovery method
JPH0628267A (en) Information processor
JP2980704B2 (en) Programmable controller
JPH03280117A (en) Power interruption processing system
JPH07146630A (en) Image forming device
JPS6073753A (en) Runaway processing system of microprocessor
JPH06161590A (en) Resuming control system
JPS61265613A (en) Data processing device
JPH0553932A (en) System and method for memory control for controller
JPH07129425A (en) Reboot processing method
JPH09274524A (en) Automatic power recovery system
JPH10289001A (en) Control system
JPH07244544A (en) Computer system