JPS62201081A - Parameter setting device for motor controller - Google Patents

Parameter setting device for motor controller

Info

Publication number
JPS62201081A
JPS62201081A JP61042232A JP4223286A JPS62201081A JP S62201081 A JPS62201081 A JP S62201081A JP 61042232 A JP61042232 A JP 61042232A JP 4223286 A JP4223286 A JP 4223286A JP S62201081 A JPS62201081 A JP S62201081A
Authority
JP
Japan
Prior art keywords
parameter
storage means
motor control
control device
reset
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
JP61042232A
Other languages
Japanese (ja)
Other versions
JPH0767296B2 (en
Inventor
Taiji Morimoto
泰司 森本
Shuichi Morita
森田 修市
Yoshihiro Tokoroya
良裕 所谷
Tsutomu Sesato
瀬里 力
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP61042232A priority Critical patent/JPH0767296B2/en
Publication of JPS62201081A publication Critical patent/JPS62201081A/en
Publication of JPH0767296B2 publication Critical patent/JPH0767296B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Control Of Ac Motors In General (AREA)
  • Feedback Control In General (AREA)
  • Control Of Electric Motors In General (AREA)

Abstract

PURPOSE:To enable many parameters to be set with simple and economical composition, by arranging a parameter regulating means, a parameter selecting means for estimating the sorts of the parameters, and a parameter storing means. CONSTITUTION:A coincidence discriminating means 4 compares a parameter regulating means 1 for determining the action, the function, and the like of a motor controller with the present value of a parameter specified by the parameter selecting means 2 of a parameter storage means 6. The parameter storage means 6, composed of a nonvolatile storage means retaining the storage even if the main power source of the motor controller is cut off, and stores the value of the parameter regulating means 1 at a position specified by the parameter selecting means 2 when the state of a coincidence storage means 5 coincidence.

Description

【発明の詳細な説明】 産業上の利用分野 本発明はモータ制御装置の機能、動作を選択、変更ある
いは設定するパラメータの設定器に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a parameter setting device for selecting, changing or setting functions and operations of a motor control device.

従来の技術 近年、ハワーエレクトロニクス、マイクロエレクトロニ
クスの急速な発達により、サーボモータや、インバータ
によって可変速制御されるモータなどの用途が拡大し、
多様化してきている。これに伴って、モータ制御装置に
は多くの機能が要求され、しかも、ユーザ側で多岐にわ
たる機能のうち、自分に合った機能を簡単に選択できる
ことが求められている。これらの要求に対し、メーカー
側では例えばインバータ装置の場合であれば、出力周波
数であるとか、ソフトスタート、ソフトダウンの時間設
定であるとか、あるいは出力電圧の電圧/周波数パター
ン等々をパラメータとして選択できるように対応してい
る。
Conventional technology In recent years, with the rapid development of Hower electronics and microelectronics, applications such as servo motors and motors controlled at variable speed by inverters have expanded.
It is becoming more diverse. Along with this, motor control devices are required to have many functions, and moreover, users are required to be able to easily select functions that suit them from among a wide variety of functions. In response to these demands, manufacturers can select parameters such as the output frequency, soft start and soft down time settings, or the voltage/frequency pattern of the output voltage, for example in the case of inverter equipment. We are responding as follows.

以下図面を参照しながら従来のモータ制御装置のパラメ
ータ設定器の一例について説明する。
An example of a conventional parameter setting device for a motor control device will be described below with reference to the drawings.

第9図は従来のパラメータ設定器の構成を示すブロック
図である。第9図において、1はパラメータ調整手段で
あり、アナログ的なパラメータの場合には一般に可変抵
抗器を用いたアナログ電圧発生器が使われ、必要である
ならばA/Dコンバータが併用される。またディジタル
的なパラメータの場合には、切換スイッチや短絡ビンあ
るいはディップスイッチ等が一般に用いられている。ま
た時には、ディジタル的なパラメータの場合であっても
、インターフェースの都合などにより、前記アナログ的
なパラメータの場合と同様の構成を採ることもある。7
はパラメータ調整手段1とモータ制御装置8とのインタ
ーフェースであり、その構成は装置によって様々であり
、簡単なものでは、単に結線だけの場合もあれば、複雑
なものでは、パラメータの若干の加工や、伝送制御を司
る場合もある。
FIG. 9 is a block diagram showing the configuration of a conventional parameter setting device. In FIG. 9, reference numeral 1 denotes a parameter adjustment means, and in the case of analog parameters, an analog voltage generator using a variable resistor is generally used, and an A/D converter is also used if necessary. Further, in the case of digital parameters, a changeover switch, a short circuit bottle, a dip switch, etc. are generally used. Furthermore, even in the case of digital parameters, the same configuration as in the case of analog parameters may sometimes be adopted due to the convenience of the interface. 7
is an interface between the parameter adjustment means 1 and the motor control device 8, and its configuration varies depending on the device; a simple one may consist of just wiring, while a complicated one may involve slight modification of parameters or , may also control transmission control.

以上のように構成されたモータ制御装置のパラメータ設
定器の動作は簡単で、パラメータ調整手段1の設定値を
インターフェース7を通してモータ制御装置8が読み取
り、その値に相当する動作を行うものである。
The operation of the parameter setter of the motor control device configured as described above is simple; the motor control device 8 reads the set value of the parameter adjustment means 1 through the interface 7 and performs the operation corresponding to the read value.

発明が解決しようとする問題点 しかしながら前記のような構成では、パラメータ調整手
段自身がその値の記憶あるいは保持手段を兼ねているの
で、パラメータの種類の数だけ可変抵抗器なり切換スイ
ッチや1桁以上のディップスイッチなどが必要となり、
コスト的にも、パラメータ設定器の大きさ的にも限度が
あり、多様化、高度化する要求仕様に充分応えきれない
という問題点があった。
Problems to be Solved by the Invention However, in the above configuration, the parameter adjustment means itself also serves as a means for storing or holding the values, so there are as many variable resistors, changeover switches, or one or more digits as there are types of parameters. A dip switch etc. is required,
There are limits in terms of cost and size of the parameter setting device, and there is a problem that it cannot sufficiently meet the increasingly diverse and sophisticated required specifications.

本発明はかかる点に鑑みてなされたもので、簡易で安価
な構成で多(のパラメータを設定できるモータ制御装置
のパラメータ設定器を提供するものである。
The present invention has been made in view of this problem, and it is an object of the present invention to provide a parameter setting device for a motor control device that can set a large number of parameters with a simple and inexpensive configuration.

問題点を解決するための手段 本発明は上記問題点を解決するため、従来例におけるパ
ラメータ調整手段の持っていた記憶(保持)機能を別の
パラメータ記憶手段として独立させたものである。すな
わち、従来例における複数のパラメータ調整手段を、−
個のパラメータ調整手段とパラメータの種類を指定する
パラメータ選択手段およびパラメータの値をそれぞれ所
定の場所に記憶するパラメータ記憶手段との組合せで置
き換えたものである。
Means for Solving the Problems In order to solve the above-mentioned problems, the present invention separates the storage (retention) function of the parameter adjustment means in the conventional example into a separate parameter storage means. In other words, the multiple parameter adjustment means in the conventional example are -
This is replaced by a combination of parameter adjustment means, parameter selection means for specifying the type of parameter, and parameter storage means for storing the parameter values in respective predetermined locations.

さらに上記の基本構成に加え、パラメータの現在値と設
定あるいは調整したい値との一致判断手段およびその結
果を記憶する一致記憶手段とによって一致しない間はそ
の更新を禁止するように構成したものである。
Furthermore, in addition to the above-mentioned basic configuration, the current value of the parameter and the value to be set or adjusted are configured to be prohibited from being updated as long as they do not match by a means for determining whether the current value matches the value to be set or adjusted and a means for storing the result. .

作用 本発明は上記した構成により、−個のパラメータ調整手
段で、パラメータ記憶手段の記憶容量かパラメータ選択
手段の指定できる種類の数かどちらか小さい方の制限内
の種類のパラメータを設定することが可能であり、パラ
メータ記憶手段に電気的メモリを用いることにより小型
大容量化が簡単にできるので、パラメータの種類の数は
従来例と比べて飛躍的に増加できる。また、パラメータ
調整手段が全てのパラメータに共通であることから生じ
る不都合、すなわちパラメータの指定が変化した時に生
じる可能性のあるパラメータの現在値と設定あるいは調
整値とのずれに関しては、パラメータの更新が現在値と
調整値とが不一致の間は禁止され、その変更が常に現在
値を起点として行われることにより防止される。すなわ
ち、モータ制御装置にとって必要なパラメータのなめら
かな変更が実現できる。
Effect of the Invention With the above-described configuration, the present invention allows the - number of parameter adjustment means to set parameters of types within the limit of the storage capacity of the parameter storage means or the number of types that can be specified by the parameter selection means, whichever is smaller. This is possible, and by using an electric memory as the parameter storage means, it can be easily made smaller and larger in capacity, so the number of parameter types can be dramatically increased compared to the conventional example. Additionally, inconveniences arising from the fact that the parameter adjustment means is common to all parameters, that is, discrepancies between the current value of the parameter and the setting or adjustment value that may occur when the parameter specification changes, can be avoided by updating the parameter. This is prohibited while the current value and the adjusted value do not match, and this change is prevented by always starting from the current value. That is, it is possible to smoothly change parameters necessary for the motor control device.

実施例 以下、本発明の一実施例のモータ制御装置のパラメータ
設定器について、図面を参照しながら説明する。
Embodiment Hereinafter, a parameter setting device for a motor control device according to an embodiment of the present invention will be explained with reference to the drawings.

第1図は本発明の第1の実施例におけるパラメータ設定
器のブロック図である。第1図において、1はモータ制
御装置の動作、機能などを決めるパラメータ調整手段、
2は複数個のパラメータのうちの特定のパラメータを指
定するパラメータ選択手段、3はパラメータ選択手段2
の指定が変化したことを検出する選択変化検出手段、4
はパラメータ調整手段1と、後述のパラメータ記憶手段
6のうちのパラメータ選択手段2で指定されたパラメー
タの現在値とを比較し、一致しているか、またはその差
が所定の値以下であるか、あるいは前回に比較した時と
大小関係がかわっている(以後一致と呼ぶ)か否かを判
断する一致判断手段、5は一致判断手段5の一致状態を
記憶し、選択変化検出手段3により、パラメータ選択手
段2による指定が変更された時点で、不一致状態となる
一致記憶手段、6は一致記憶手段5の状態が一致の時、
パラメータ調整手段1の値を、パラメータ選択手段2で
指定された場所に記憶するパラメータ記憶手段である。
FIG. 1 is a block diagram of a parameter setting device in a first embodiment of the present invention. In FIG. 1, reference numeral 1 denotes parameter adjustment means for determining the operation, functions, etc. of the motor control device;
2 is a parameter selection means for specifying a specific parameter among a plurality of parameters; 3 is a parameter selection means 2;
selection change detection means for detecting a change in the designation of 4;
compares the parameter adjustment means 1 with the current value of the parameter specified by the parameter selection means 2 of the parameter storage means 6, which will be described later, and determines whether they match or the difference is less than a predetermined value. Alternatively, a match judgment means 5 stores the match state of the match judgment means 5 and determines whether the magnitude relationship has changed from the previous comparison (hereinafter referred to as a match). When the specification by the selection means 2 is changed, the coincidence storage means becomes in a mismatched state, 6 indicates when the state of the coincidence storage means 5 is a coincidence,
This is a parameter storage means that stores the value of the parameter adjustment means 1 in a location designated by the parameter selection means 2.

第5図は第1図のパラメータ選択変化検出手段3、一致
判断手段4、一致記憶手段5、パラメータ記憶手段6を
マイコンで実現した場合のプログラムの内容を示すフロ
ーチャートである。以下、このフローチャートに従って
本発明の詳細な説明する。
FIG. 5 is a flowchart showing the contents of a program when the parameter selection change detection means 3, coincidence determination means 4, coincidence storage means 5, and parameter storage means 6 of FIG. 1 are realized by a microcomputer. Hereinafter, the present invention will be explained in detail according to this flowchart.

プログラムがスタートすると、パラメータ設定処理(ス
テップ1)とその他のモータ制御装置の制御を繰り返し
ながら継続する。ただし、フローチャートにはパラメー
タ設定処理のみ記載している。次にパラメータ設定処理
を説明する。まず、パラメータ選択手段2の値を読み込
み(ステップ10)、変化したかどうかをチェックしく
ステップ11)、変化ありならば一致記憶手段5を不一
致状態にする(ステップ12)。続いてパラメータ調整
手段1の値を読み込み(ステップ13)、一致記憶手段
5の状態をチェックしくステップ14)、一致状態であ
ればパラメータ記憶手段6のパラメータ選択手段2で指
定されたパラメータに相当する部分の内容をパラメータ
調整手段1の値で更新する(ステップ18)。この場合
はここでサブルーチンから戻りプログラムの先頭に戻る
When the program starts, it continues while repeating the parameter setting process (step 1) and controlling other motor control devices. However, the flowchart only describes the parameter setting process. Next, the parameter setting process will be explained. First, the value of the parameter selection means 2 is read (step 10), and a check is made to see if it has changed (step 11). If there is a change, the coincidence storage means 5 is set to a mismatch state (step 12). Next, the value of the parameter adjustment means 1 is read (step 13), and the state of the coincidence storage means 5 is checked (step 14). If the value matches, the value corresponds to the parameter specified by the parameter selection means 2 of the parameter storage means 6. The contents of the portion are updated with the values of the parameter adjustment means 1 (step 18). In this case, return from the subroutine and return to the beginning of the program.

ステップ14の段階で不一致状態であれば、パラメータ
記憶手段6の更新は行わず、パラメータ記憶手段6のパ
ラメータ選択手段2で指定されたパラメータの部分を読
み込み(ステップ15)、ステップ10で読み込んだパ
ラメータ調整手段1の値と比較する(ステップ16)。
If there is a mismatch in step 14, the parameter storage means 6 is not updated, and the parameter portion specified by the parameter selection means 2 of the parameter storage means 6 is read (step 15), and the parameters read in step 10 are read. It is compared with the value of adjustment means 1 (step 16).

その結果、不一致であれば再度プログラムの先頭に戻る
。ステップ16で一致であれば、一致記憶手段5を一致
状態にしくステップ17)サブルーチンから戻り、再度
プログラムの先頭に戻る。
As a result, if there is a mismatch, the program returns to the beginning again. If there is a match in step 16, the match storage means 5 is brought into a match state and step 17) returns from the subroutine and returns to the beginning of the program again.

以上のように本実施例によれば、パラメータ記憶手段6
と選択手段2を設けることにより、パラメータ調整手段
を増設せずに、簡単にパラメータの種類を増加すること
ができる。また、パラメータ記憶手段6の内容とパラメ
ータ調整手段1の値との一致判断手段4を設けることに
より、パラメータの変更を常に現在値を起点にして行う
ことができ、なめらかな変更が可能になる。
As described above, according to this embodiment, the parameter storage means 6
By providing the selection means 2, it is possible to easily increase the types of parameters without adding parameter adjustment means. Further, by providing the means 4 for determining whether the content of the parameter storage means 6 matches the value of the parameter adjustment means 1, parameters can always be changed starting from the current value, and smooth changes can be made.

なお、パラメータ記憶手段6にバッテリーでバックアッ
プされたメモリや、電気的に消去可能なFROMあるい
は磁気バブル等の不揮発性メモリを用いれば、モータ制
御装置の主電源をオフする毎にパラメータの値を調整し
直す必要がな(なることは明らかである。
Note that if a battery-backed memory, an electrically erasable FROM, or a non-volatile memory such as a magnetic bubble is used as the parameter storage means 6, the parameter values can be adjusted every time the main power of the motor control device is turned off. There is no need to redo it (it is obvious that it will happen).

次に、本発明の第2の実施例について図面を参照しなが
ら説明する。第2図は本発明の第”2の実施例における
モータ制御装置のパラメータ設定器のブロック図である
。第2図において、パラメータ調整手段1、パラメータ
選択手段2、パラメータ選択変化検出手段3、一致判断
手段4、一致記憶手段5は第1図の構成と同様である。
Next, a second embodiment of the present invention will be described with reference to the drawings. FIG. 2 is a block diagram of a parameter setting device of a motor control device in a second embodiment of the present invention. In FIG. 2, parameter adjustment means 1, parameter selection means 2, parameter selection change detection means 3, The determining means 4 and the coincidence storing means 5 have the same structure as that shown in FIG.

第1図の構成と異なるのは、第1図におけるパラメータ
記憶手段6を以下のように構成した点である。
The difference from the configuration in FIG. 1 is that the parameter storage means 6 in FIG. 1 is configured as follows.

データ選択手段6eは第1の記憶手段6Cに記憶するデ
ータをモータ制御装置のリセット検出手段6aがリセッ
トを検出した時には不揮発性記憶手段を用いた第2の記
憶手段6dに保持されているデータとし、リセッ)・時
以外には、前記パラメータ調整手段lの値となるように
しており、パラメータ持避指令手段6bは、前記第1の
記憶手段6Cの内容を前記第2の記憶手段6dに保持す
るタイミングを指令する手段で、例えばモータ制御装置
の主電源の電圧が所定の電圧以下になった事を検出する
不足電圧検出手段などが考えられる。
The data selection means 6e selects the data to be stored in the first storage means 6C as the data held in the second storage means 6d using non-volatile storage means when the reset detection means 6a of the motor control device detects a reset. , reset), the value of the parameter adjustment means 1 is maintained, and the parameter save command means 6b retains the contents of the first storage means 6C in the second storage means 6d. For example, an undervoltage detection means for detecting that the voltage of the main power supply of the motor control device has become lower than a predetermined voltage can be considered.

以上のように構成された本発明の第2の実施例における
モータ制御装置のパラメータ設定器について、第6図に
示すフローチャートに従ってその動作を説明する。ここ
ではパラメータ持避指令手段6bが、不足電圧検出手段
である場合で説明する。
The operation of the parameter setting device of the motor control device according to the second embodiment of the present invention constructed as described above will be explained according to the flowchart shown in FIG. Here, a case will be explained in which the parameter hold command means 6b is an undervoltage detection means.

プログラムがスタートすると、まずパラメータの登録処
理(ステップ2)として第2記憶手段6dの内容を全て
第1記憶手段6cにコピーする。これでパラメータはモ
ータ制御装置の主電源がオフする前と同じ状態になる。
When the program starts, first, as a parameter registration process (step 2), all contents of the second storage means 6d are copied to the first storage means 6c. The parameters are now in the same state as before the main power to the motor control device was turned off.

続いて第1の実施例と同様のパラメータの設定処理を行
い(ステップ1)、不足電圧のチェックを行う(ステッ
プ3)。以降はステップ1と3を繰り返す。ステップ1
のパラメータ設定処理については第1の実施例を説明し
た第5b図と全(同じなので説明を省略し、ステップ2
のパラメータ登録とステップ3の不足電圧のチェックに
ついて第6b図、第6c図に従って説明する。
Subsequently, the same parameter setting process as in the first embodiment is performed (step 1), and an undervoltage check is performed (step 3). After that, repeat steps 1 and 3. Step 1
The parameter setting process in step 2 is the same as in FIG. 5b explaining the first embodiment, so the explanation is omitted, and
Parameter registration and checking of undervoltage in step 3 will be explained with reference to FIGS. 6b and 6c.

まず、パラメータの登録について第6b図に示すフロー
チャートに従って説明する。最初に第1記憶手段6 C
1第2記憶手段6dに記憶されているi番目のパラメー
タを指定するポインタiを1に初期化しくステップ20
)、第2記憶手段6dに記憶されているi番目のパラメ
ータの値を第1記憶手段6cのi番目のパラメータを記
憶する部分にコピーする(ステップ21)。続いてポイ
ンタiをインクリメントしくステップ22)、ポインタ
の値をパラメータの総数Nと比較して全てのパラメータ
のコピーが完了したか否かをチェックしくステップ23
)、完了していればリターンする。
First, parameter registration will be explained according to the flowchart shown in FIG. 6b. First, the first storage means 6C
1 Initialize to 1 the pointer i that specifies the i-th parameter stored in the second storage means 6d.Step 20
), the value of the i-th parameter stored in the second storage means 6d is copied to the portion of the first storage means 6c that stores the i-th parameter (step 21). Next, the pointer i is incremented (step 22), and the value of the pointer is compared with the total number of parameters N to check whether copying of all parameters is completed or not (step 23).
), returns if completed.

完了していなければステップ21,22.23を繰り返
す。
If not completed, repeat steps 21, 22 and 23.

なお、第6b図の中でML [ilは第1記憶手段6c
に記憶されているi番目のパラメータの値もしくは記憶
すべき部分を表しており、ここでポインタiは記憶の仕
方によっては必ずしもいわゆるメモリのアドレスと一致
しなくてもよい。M2[ilについても同様である。
In addition, in FIG. 6b, ML [il is the first storage means 6c
It represents the value of the i-th parameter stored in or the part to be stored, and the pointer i may not necessarily match the so-called memory address depending on the storage method. The same applies to M2[il.

次に、不足電圧のチェックについて第6c図に示すフロ
ーチャートで説明する。パラメータの待避指令信号であ
る不足電圧をチェックしくステップ30)、不足電圧で
なければそのままリターンする。もし不足電圧であれば
第1記憶手段6Cの内容を第2記憶手段6dに待避させ
(ステップ31)、不足電圧でなくなるまでループしく
ステップ32)、不足電圧より復帰した時にリターンす
る。もちろん、モータ制御装置の主電源が完全にオフさ
れた時には、前記ループを廻りなからプログラムは実行
を停止することになる。なお、パラメータの持避指令手
段6bが不足電圧検出手段以外の例えば一定時間毎に待
避を指令するタイマーであったり、モータの駆動と停止
の切り替わりを検出する手段であった場合にはステップ
32のループは不必要な場合もありうる。
Next, checking for undervoltage will be explained with reference to the flowchart shown in FIG. 6c. Check the undervoltage which is the parameter evacuation command signal (step 30), and if there is no undervoltage, return as is. If there is an undervoltage, the contents of the first storage means 6C are saved in the second storage means 6d (step 31), the process continues in a loop until the undervoltage is no longer present (step 32), and returns when the undervoltage is restored. Of course, when the main power of the motor control device is completely turned off, the program will stop executing after completing the loop. Note that if the parameter hold command means 6b is other than an undervoltage detection means, for example, a timer that commands a hold at fixed intervals, or a means for detecting switching between driving and stopping the motor, step 32 is performed. Loops may be unnecessary.

続いてパラメータの待避について第6d図に示すフロー
チャートに従って説明する。この処理はパラメータのコ
ピーの方向が異なるだけで前述したパラメータの登録と
全く同様の処理である。すなわちステップ310はステ
ップ20、ステップ312はステップ22、ステ・ツブ
313はステップ23と全く同じであり、ステップ31
1はステップ21と違って第1記憶手段6cの内容を第
2記憶手段6dにコピーしている。
Next, parameter saving will be explained according to the flowchart shown in FIG. 6d. This process is exactly the same as the above-mentioned parameter registration except that the direction of copying the parameters is different. That is, step 310 is exactly the same as step 20, step 312 is exactly the same as step 22, step 313 is exactly the same as step 23, and step 31 is exactly the same as step 23.
1, unlike step 21, the contents of the first storage means 6c are copied to the second storage means 6d.

以上のように、第2の実施例によれば、第2の記憶手段
6dとして不揮発性記憶手段を用いることにより、第1
の実施例に比べて、モータ制御装置の主電源をオフする
毎にパラメータの値を調整し直す必要がなくなる。また
、パラメータ持避指令手段6bを設ける事により、一般
に通常のメモリに比べて書き込み回数が制限されており
、書き込み時間も長くかかる不揮発性記憶手段への書き
込み動作を減らすことができる。
As described above, according to the second embodiment, by using the nonvolatile storage means as the second storage means 6d, the first
Compared to the embodiment, it is not necessary to readjust the parameter values every time the main power of the motor control device is turned off. Further, by providing the parameter save command means 6b, it is possible to reduce the number of write operations to non-volatile storage means, which generally has a limited number of write times and takes a long time to write compared to a normal memory.

次に、本発明の第3の実施例について図面を参照しなが
ら説明する。第3図は本発明の第3の実施例におけるモ
ータ制御装置のパラメータ設定器のブロック図である。
Next, a third embodiment of the present invention will be described with reference to the drawings. FIG. 3 is a block diagram of a parameter setting device of a motor control device in a third embodiment of the present invention.

第3図において、パラメータ調整手段1、パラメータ選
択手段2、パラメータ選択変化検出手段3、一致判断手
段4、一致記憶手段5、リセット検出手段6 a %パ
ラメータ持避指令手段6b、第1記憶手段6 c %第
2記憶手段6d、データ選択手段6eは第2図の構、成
と同様である。第2図の構成と異なるのは比較手段6f
を、第1記憶手段6cの内容を第2記憶手段6dにコピ
ーする際に、まずコピーする前にその内容を比較し、異
なるもののみコピーするように設けた点である。
In FIG. 3, parameter adjustment means 1, parameter selection means 2, parameter selection change detection means 3, coincidence judgment means 4, coincidence storage means 5, reset detection means 6a, % parameter retention command means 6b, first storage means 6 c % The second storage means 6d and data selection means 6e have the same structure as that shown in FIG. The difference from the configuration in Figure 2 is the comparison means 6f.
The second feature is that when the contents of the first storage means 6c are copied to the second storage means 6d, the contents are first compared before copying, and only the different contents are copied.

以上のように構成した本発明の第3の実施例におけるモ
ータ制御装置のパラメータ設定器について、第7図に示
すフローチャートに従ってその動作を説明する。第7図
においてパラメータの登録(ステップ2)とパラメータ
設定(ステップ1)およびステップ31とステップ32
とは第6図と全(同様である。第6図と異なるのはステ
ップ31の第1記憶手段6cの内容を第2記憶手段6d
に待避させる手順であり、第7c図のフローチャートに
従ってその動作を説明する。第7c図において、ステッ
プ310,311.312は第6d図と全く同様であり
、異なるのはステップ311の第1記憶手段6cの内容
を第2記憶手段6dにコピーする処理の前に、第1記憶
手段6cと第2記憶手段6dとに記憶されているi番目
のパラメータの値を比較しくステップ314)、等しけ
ればステップ311の処理を省略する点である。
The operation of the parameter setting device of the motor control device according to the third embodiment of the present invention constructed as described above will be explained according to the flowchart shown in FIG. In FIG. 7, parameter registration (step 2), parameter setting (step 1), step 31 and step 32
is the same as in FIG. 6. The difference from FIG. 6 is that the contents of the first storage means 6c in step 31 are
This is a procedure for evacuation, and its operation will be explained according to the flowchart in FIG. 7c. In FIG. 7c, steps 310, 311, and 312 are exactly the same as in FIG. The value of the i-th parameter stored in the storage means 6c and the second storage means 6d is compared (step 314), and if they are equal, the process of step 311 is omitted.

以上のように、第3の実施例によれば、第1記憶手段6
cと第2記憶手段6dとの内容の比較手段6fを設ける
ことにより、第2の実施例に比べて更に不揮発性記憶手
段である第2記憶手段6dへの書き込み動作の回数を減
らすことができる。
As described above, according to the third embodiment, the first storage means 6
By providing the means 6f for comparing the contents of the second storage means 6d and the second storage means 6d, the number of write operations to the second storage means 6d, which is a non-volatile storage means, can be further reduced compared to the second embodiment. .

次に、本発明の第4の実施例について図面を参照しなが
ら説明する。第4図は本発明の第4の実施例におけるモ
ータ制御装置のパラメータ設定器のブロック図である。
Next, a fourth embodiment of the present invention will be described with reference to the drawings. FIG. 4 is a block diagram of a parameter setting device of a motor control device in a fourth embodiment of the present invention.

第4図において、パラメータ調整手段1、パラメータ選
択手段2、パラメータ選択変化検出手段3、一致判断手
段4、一致記憶手段5、リセット検出手段6 a s第
1記憶手段6 C1第2記憶手段6d、データ選択手段
6eは第2図の構成と同様である。第2図の構成と異な
るのは第2図におけるパラメータ持避指令手段6bを前
記パラメータ選択変化検出手段3と前記一致記憶手段5
とで代用し、前記パラメータ選択手段2が変化した時点
で、前記一致記憶手段5が一致状態の時、その直前で選
択されていたパラメータの値を前記第1記憶手段6cか
ら前記第2記憶手段に待避するように構成した点である
In FIG. 4, parameter adjustment means 1, parameter selection means 2, parameter selection change detection means 3, coincidence judgment means 4, coincidence storage means 5, reset detection means 6 a s first storage means 6 C1 second storage means 6d, The data selection means 6e has the same structure as that shown in FIG. What is different from the configuration in FIG. 2 is that the parameter retention command means 6b in FIG.
When the coincidence storage means 5 is in the matching state at the time when the parameter selection means 2 changes, the value of the parameter selected immediately before is transferred from the first storage means 6c to the second storage means. The point is that the structure is designed so that it can be evacuated to

以上のように構成した本発明の第4の実施例におけるモ
ータ制御装置のパラメータ設定器について、第8図に示
すフローチャートに従ってその動作を説明する。第8図
においてパラメータの登録(ステップ2)は第6図と全
(同様で、パラメータ設定(ステップ1g)の処理の中
で、前記第1記憶手段6cから前記第2記憶手段6dに
パラメータの値を待避するようにしているため、第6図
における不足電圧のチェック(ステップ3)が不要とな
っている。第8b図に従ってパラメータ設定(ステップ
la)の手順を説明する。第8b図においてステップ1
0からステップ14、ステップ16からステップ17ま
では第5b図における(第1の実施例における)パラメ
ータ設定の手順と全く同様であり、次の2点のみ異なる
。すなわち第1点は第5b図においてはステップ15、
ステップ18の更新や読み込みの対象がパラメータ記憶
手段であったものが、第8b図では第1記憶手段となっ
ている点(ステップ15a、18a)である。第2点は
ステップ11で前記パラメータ選択手段2が変化したと
判断された場合、第8b図では、まず前記一致記憶手段
5が一致状態か否かを調べ(ステップ110)、一致状
態であれば前記パラメータ選択手段2によって直前に選
択されていたパラメータの値を前記第1記憶手段6cか
ら前記第2記憶手段6dに待避する(ステップ111)
点である。
The operation of the parameter setting device of the motor control device according to the fourth embodiment of the present invention constructed as described above will be explained according to the flowchart shown in FIG. In FIG. 8, parameter registration (step 2) is the same as in FIG. Since the undervoltage check (step 3) in Fig. 6 is avoided, the undervoltage check (step 3) in Fig. 6 is unnecessary.The procedure for parameter setting (step la) will be explained according to Fig. 8b.In Fig. 8b, the step 1
Steps 0 to 14 and steps 16 to 17 are exactly the same as the parameter setting procedure in FIG. 5b (in the first embodiment), with only the following two points different. That is, the first point is step 15 in FIG. 5b,
What is updated or read in step 18 is the parameter storage means, but in FIG. 8b, it is the first storage means (steps 15a, 18a). The second point is that when it is determined in step 11 that the parameter selection means 2 has changed, in FIG. The value of the parameter selected immediately before by the parameter selection means 2 is saved from the first storage means 6c to the second storage means 6d (step 111).
It is a point.

以上のように、第4の実施例によれば、前記パラメータ
選択変化手段3と前記一致記憶手段5とで前記第1記憶
手段6cから前記第2記憶手段6dへのパラメータの待
避のタイミングを作成しているため、不揮発性記憶手段
である前記第2記憶手段6dへの書き込み動作の回数を
最小限に抑えることができる。
As described above, according to the fourth embodiment, the parameter selection changing means 3 and the coincidence storage means 5 create the timing for saving parameters from the first storage means 6c to the second storage means 6d. Therefore, the number of write operations to the second storage means 6d, which is a nonvolatile storage means, can be minimized.

発明の効果 以上のように本発明は、−個のパラメータ調整手段、パ
ラメータの種類を指定するパラメータ選挟手段、パラメ
ータの値を記憶するパラメータ記憶手段、パラメータの
現在値とパラメータ調整手段との値を比較判断しその状
態を記憶する手段を設けることにより、簡単で安価な構
成で多くのモータ制御装置のパラメータを設定でき、多
様化、高度化する要求仕様に応え、ユーザにとってより
適したモータ制御装置を提供することができる。
Effects of the Invention As described above, the present invention provides - parameter adjustment means, parameter selection means for specifying the type of parameter, parameter storage means for storing parameter values, and values between the current value of the parameter and the parameter adjustment means. By providing a means to compare and judge and store the status, it is possible to set many motor control device parameters with a simple and inexpensive configuration, and to meet increasingly diverse and sophisticated required specifications, it is possible to achieve motor control that is more suitable for users. equipment can be provided.

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

第1図は本発明の第1の実施例におけるモータ制御装置
のパラメータ設定器のブロック図、第2図は本発明の第
2の実施例におけるモータ制御装置のパラメータ設定器
のブロック図、第3図は本発明の第3の実施例における
モータ制御装置のパラメータ設定器のブロック図、第4
図は本発明の第4の実施例におけるモータ制御装置のパ
ラメータ設定器のブロック図、第5図は第1の実施例の
動作を表すフローチャート、第6図は第2の実施例の動
作を表すフローチャート、第7図は第3の実施例の動作
を表すフローチャート、第8図は第4の実施例の動作を
表すフローチャート、第9図は従来のモータ制御装置の
パラメータ設定器のブロック図である。 1・・・・・・パラメータ調整手段、2・・・・・・パ
ラメータ選択手段、3・・・・・・選択変化検出手段、
4・旧・・一致判断手段、5・・・・・・一致記憶手段
、6・・・・・・パラメータ記憶手段、6a・・・・・
・リセット検出手段、6b・・・・・・パラメータ持避
指令手段、6c・・・・・・第1記憶手段、6d・・・
・・・第2記憶手段、6e・・・・・・データ選択手段
、7・・・・・・インターフェース、8・旧・・モータ
制御装置。 代理人の氏名 弁理士 中尾敏男 はが1名第1図 第2図 第 3 図 第4図 N 5 図 (a)         (b) 第6図 (a)          (b) 第6図 第7図
FIG. 1 is a block diagram of a parameter setter of a motor control device according to a first embodiment of the present invention, FIG. 2 is a block diagram of a parameter setter of a motor control device according to a second embodiment of the present invention, and FIG. The figure is a block diagram of a parameter setting device of a motor control device in a third embodiment of the present invention,
The figure is a block diagram of a parameter setting device of a motor control device according to a fourth embodiment of the present invention, FIG. 5 is a flowchart showing the operation of the first embodiment, and FIG. 6 is a flowchart showing the operation of the second embodiment. Flowchart, FIG. 7 is a flowchart showing the operation of the third embodiment, FIG. 8 is a flowchart showing the operation of the fourth embodiment, and FIG. 9 is a block diagram of a parameter setting device of a conventional motor control device. . 1... Parameter adjustment means, 2... Parameter selection means, 3... Selection change detection means,
4. Old... Matching judgment means, 5... Matching storage means, 6... Parameter storage means, 6a...
- Reset detection means, 6b...Parameter retention command means, 6c...First storage means, 6d...
. . . second storage means, 6e . . . data selection means, 7 . . . interface, 8. old . . . motor control device. Name of agent Patent attorney Toshio Nakao (1 person) Figure 1 Figure 2 Figure 3 Figure 4 Figure N 5 Figure (a) (b) Figure 6 (a) (b) Figure 6 Figure 7

Claims (7)

【特許請求の範囲】[Claims] (1)モータ制御装置の動作、機能を決めるパラメータ
調整手段と、複数個のパラメータのうちの特定のパラメ
ータを指定するパラメータ選択手段と、前記パラメータ
選択手段の指定が変化したことを検出する選択変化検出
手段と、パラメータの値を記憶するパラメータ記憶手段
と、前記パラメータ調整手段と、前記パラメータ記憶手
段のうちの前記パラメータ選択手段で指定されたパラメ
ータの現在値とを比較し、一致しているか、またはその
差が所定の値以下であるか、あるいは前回に比較した時
と大小関係がかわっているか否かを判断する一致判断手
段と、前記一致判断手段の一致状態を記憶し、前記選択
変化検出手段により、パラメータ選択手段による指定が
変更された時点で、不一致状態となる一致記憶手段と、
前記一致記憶手段の状態が一致の時、前記パラメータ調
整手段の値を、前記パラメータ選択手段で指定された場
所に記憶するパラメータ記憶手段とからなるモータ制御
装置のパラメータ設定器。
(1) Parameter adjustment means that determines the operation and function of the motor control device, parameter selection means that specifies a specific parameter among a plurality of parameters, and a selection change that detects a change in the designation of the parameter selection means. comparing the detection means, the parameter storage means for storing parameter values, the parameter adjustment means, and the current value of the parameter specified by the parameter selection means of the parameter storage means, and whether they match; or a match determining means for determining whether the difference is less than a predetermined value or whether the magnitude relationship has changed from the previous comparison; and a match state of the match determining means is stored, and the selection change is detected. a coincidence storage means which becomes a mismatch state when the specification by the parameter selection means is changed by the means;
A parameter setting device for a motor control device comprising: parameter storage means for storing the value of the parameter adjustment means in a location specified by the parameter selection means when the state of the coincidence storage means is a match.
(2)パラメータ記憶手段は、モータ制御装置の主電源
を切断されてもその記憶を保持する不揮発性記憶手段で
構成したことを特徴とする特許請求の範囲第1項記載の
モータ制御装置のパラメータ設定器。
(2) Parameters for a motor control device according to claim 1, characterized in that the parameter storage means is constituted by non-volatile storage means that retains the memory even if the main power supply of the motor control device is cut off. Setting device.
(3)パラメータ記憶手段は、モータ制御装置の主電源
の電圧が第1の所定電圧以上になり、モータ制御装置が
リセットされたことを検出するリセット検出手段と、リ
セット検出時と不足電圧検出時以外の通常の状態では、
パラメータ調整手段の値をパラメータ選択手段で指定さ
れた場所に記憶する第1の記憶手段と、不揮発性記憶手
段を用いた第2の記憶手段と、リセット時には前記第1
の記憶手段に記憶するデータを前記第2の記憶手段の内
容とし、他の場合は前記パラメータ調整手段の内容とす
るデータ選択手段と、前記第1の記憶手段のパラメータ
を前記第2の記憶手段に待避することを指令するパラメ
ータ待避指令手段とからなり、リセット時に前記第2の
記憶手段の内容を前記第1の記憶手段にコピーし、パラ
メータ待避指令がある時には前記第1の記憶手段の内容
を前記第2の記憶手段にコピーするように構成した特許
請求の範囲第1項記載のモータ制御装置のパラメータ設
定器。
(3) The parameter storage means includes a reset detection means for detecting that the main power supply voltage of the motor control device becomes equal to or higher than a first predetermined voltage and the motor control device is reset, and a reset detection means for detecting a reset and detecting an undervoltage. Under normal conditions other than
a first storage means for storing the value of the parameter adjustment means in a location specified by the parameter selection means; a second storage means using a non-volatile storage means;
data selection means for setting the data to be stored in the storage means as the content of the second storage means and, in other cases, as the content of the parameter adjustment means; a parameter save command means for instructing a parameter save to be saved, the contents of the second storage means are copied to the first storage means at the time of reset, and the contents of the first storage means are set when there is a parameter save command. 2. The parameter setting device for a motor control device according to claim 1, wherein the parameter setting device is configured to copy the parameter to the second storage means.
(4)パラメータ待避指令手段に、モータ制御装置の主
電源の電圧が、前記第1の所定の電圧より高い第2の所
定電圧以下になったことを検出する不足電圧検出手段を
用いたことを特徴とする特許請求の範囲第3項記載のモ
ータ制御装置のパラメータ設定器。
(4) Undervoltage detection means for detecting that the voltage of the main power supply of the motor control device has become equal to or lower than a second predetermined voltage higher than the first predetermined voltage is used as the parameter evacuation command means. A parameter setting device for a motor control device according to claim 3.
(5)パラメータ記憶手段は、モータ制御装置の主電源
の電圧が第1の所定電圧以上になり、モータ制御装置が
リセットされたことを検出するリセット検出手段と、リ
セット検出時と不足電圧検出時以外の通常の状態では、
パラメータ調整手段の値をパラメータ選択手段で指定さ
れた場所に記憶する第1の記憶手段と、不揮発性記憶手
段を用いた第2の記憶手段と、リセット時には前記第1
の記憶手段に記憶するデータを前記第2の記憶手段の内
容とし、他の場合は前記パラメータ調整手段の内容とす
るデータ選択手段と、前記第1の記憶手段のパラメータ
を、前記第2の記憶手段に待避することを指令するパラ
メータ持避指令手段と、前記第1の記憶手段の内容と、
前記第2の記憶手段の内容とを比較する比較手段とから
なり、リセット時に前記第2の記憶手段の内容を前記第
1の記憶手段にコピーし、パラメータ待避指令がある時
には前記第1の記憶手段の内容のうち前記第2の記憶手
段と異なるもののみコピーするように構成した特許請求
の範囲第1項記載のモータ制御装置のパラメータ設定器
(5) The parameter storage means includes a reset detection means for detecting that the voltage of the main power supply of the motor control device becomes equal to or higher than a first predetermined voltage and the motor control device is reset, and a reset detection means for detecting a reset and detecting an undervoltage. Under normal conditions other than
a first storage means for storing the value of the parameter adjustment means in a location specified by the parameter selection means; a second storage means using a non-volatile storage means;
data selection means for setting the data to be stored in the storage means as the contents of the second storage means, and in other cases as the contents of the parameter adjustment means; a parameter save command means for instructing the means to save; and contents of the first storage means;
a comparison means for comparing the contents of the second storage means with the contents of the second storage means, copies the contents of the second storage means to the first storage means at the time of reset, and copies the contents of the second storage means to the first storage means when there is a parameter save command. 2. A parameter setting device for a motor control device according to claim 1, wherein among the contents of said means, only those that are different from said second storage means are copied.
(6)パラメータ待避指令手段に、モータ制御装置の主
電源の電圧が、前記第1の所定の電圧より高い第2の所
定電圧以下になったことを検出する不足電圧検出手段を
用いたことを特徴とする特許請求の範囲第5項記載のモ
ータ制御装置のパラメータ設定器。
(6) Undervoltage detection means for detecting that the voltage of the main power supply of the motor control device has become equal to or lower than a second predetermined voltage higher than the first predetermined voltage is used as the parameter evacuation command means. A parameter setting device for a motor control device according to claim 5.
(7)パラメータ記憶手段は、モータ制御装置の主電源
の電圧が第1の所定電圧以上になり、モータ制御装置が
リセットされたことを検出するリセット検出手段と、リ
セット検出時以外の通常の状態では、パラメータ調整手
段の値をパラメータ選択手段で指定された場所に記憶す
る第1の記憶手段と、不揮発性記憶手段を用いた第2の
記憶手段と、リセット時には前記第1の記憶手段に記憶
するデータを前記第2の記憶手段の内容とし、他の場合
は前記パラメータ調整手段の内容とするデータ選択手段
とからなり、リセット時に前記第2の記憶手段の内容を
前記第1の記憶手段にコピーし、パラメータ選択変化検
出手段により、パラメータ選択の変更を検出した時点で
、一致記憶手段が一致状態であれば直前に前記パラメー
タ選択手段によって指定されていたパラメータに相当す
る前記第1の記憶手段の内容を前記第2の記憶手段にコ
ピーするように構成した特許請求の範囲第1項記載のモ
ータ制御装置のパラメータ設定器。
(7) The parameter storage means includes a reset detection means for detecting that the voltage of the main power supply of the motor control device becomes equal to or higher than a first predetermined voltage and the motor control device is reset, and a normal state other than when reset is detected. In this case, a first storage means stores the value of the parameter adjustment means in a location specified by the parameter selection means, a second storage means uses a non-volatile storage means, and at the time of reset, the value is stored in the first storage means. a data selection means for setting the data to be the content of the second storage means, and in other cases, the data selection means for setting the data to be the content of the parameter adjustment means; When the parameter selection change detecting means detects a change in parameter selection, if the matching storage means is in a matching state, the first storage means corresponds to the parameter that was specified by the parameter selection means immediately before. 2. The parameter setting device for a motor control device according to claim 1, wherein the parameter setting device is configured to copy the contents of the parameter setting device to the second storage means.
JP61042232A 1986-02-27 1986-02-27 Parameter setting device for motor control device Expired - Fee Related JPH0767296B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61042232A JPH0767296B2 (en) 1986-02-27 1986-02-27 Parameter setting device for motor control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61042232A JPH0767296B2 (en) 1986-02-27 1986-02-27 Parameter setting device for motor control device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP6172770A Division JPH07177776A (en) 1994-07-25 1994-07-25 Parameter setting apparatus of motor controller

Publications (2)

Publication Number Publication Date
JPS62201081A true JPS62201081A (en) 1987-09-04
JPH0767296B2 JPH0767296B2 (en) 1995-07-19

Family

ID=12630285

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61042232A Expired - Fee Related JPH0767296B2 (en) 1986-02-27 1986-02-27 Parameter setting device for motor control device

Country Status (1)

Country Link
JP (1) JPH0767296B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0284992A (en) * 1988-06-16 1990-03-26 Mitsubishi Electric Corp Control device for sewing machine
EP0501437A2 (en) * 1991-02-27 1992-09-02 Matsushita Electric Industrial Co., Ltd. Parameter setting apparatus for motor control unit
JPH04351484A (en) * 1991-05-27 1992-12-07 Honda Motor Co Ltd Servo motor driving system
JP2010226822A (en) * 2009-03-23 2010-10-07 Sinfonia Technology Co Ltd Control system for motor

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0284992A (en) * 1988-06-16 1990-03-26 Mitsubishi Electric Corp Control device for sewing machine
EP0501437A2 (en) * 1991-02-27 1992-09-02 Matsushita Electric Industrial Co., Ltd. Parameter setting apparatus for motor control unit
JPH04351484A (en) * 1991-05-27 1992-12-07 Honda Motor Co Ltd Servo motor driving system
JP2010226822A (en) * 2009-03-23 2010-10-07 Sinfonia Technology Co Ltd Control system for motor
TWI498700B (en) * 2009-03-23 2015-09-01 Sinfonia Technology Co Ltd Motor rotation control system

Also Published As

Publication number Publication date
JPH0767296B2 (en) 1995-07-19

Similar Documents

Publication Publication Date Title
JPS62201081A (en) Parameter setting device for motor controller
JPS62201080A (en) Parameter setting device for motor controller
JPH07177776A (en) Parameter setting apparatus of motor controller
US5749004A (en) Option setting device and method of operating same for use with a camera
JP2736060B2 (en) Automatic sequence controller
JPH03216669A (en) Copying machine provided with preceding state recording function
JP2634826B2 (en) Operation mode reset device for copier
JPS6052438A (en) Automatic selecting apparatus for form-sheet size
JPS5995651A (en) Altering method of memory data
JPH04330532A (en) Programmable controller
JPH07147789A (en) Parameter setter for motor control equipment
JP2504147B2 (en) Program controller
JPH07287660A (en) Interruption processing method for programmable controller
JPH0312198A (en) Automatic washing machine
JPH08237991A (en) Initial parameter setting method for inverter
JPH03259697A (en) Key telephone system
JPS5856106A (en) Self-diagnostic device for sequence control
JPH0573117A (en) Origin restoring method in numerical controller
JPH09128022A (en) Sequence controller and its control method
JPH05336777A (en) Starting system of motor on recovery from service interruption
JPH0446532A (en) Battery charging circuit
JPH0962317A (en) Programmable control device and method
JPH03255511A (en) Computer device
JPH03215235A (en) Controller for dish washer
JPH04309134A (en) Interruption control circuit

Legal Events

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