JP2008236949A - Control method in driving one motor with plural motor controllers, and motor control system - Google Patents
Control method in driving one motor with plural motor controllers, and motor control system Download PDFInfo
- Publication number
- JP2008236949A JP2008236949A JP2007075059A JP2007075059A JP2008236949A JP 2008236949 A JP2008236949 A JP 2008236949A JP 2007075059 A JP2007075059 A JP 2007075059A JP 2007075059 A JP2007075059 A JP 2007075059A JP 2008236949 A JP2008236949 A JP 2008236949A
- Authority
- JP
- Japan
- Prior art keywords
- motor
- encoder
- parameter
- motor control
- parameters
- 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
Links
Images
Landscapes
- Control Of Ac Motors In General (AREA)
Abstract
Description
本発明は、1台のモータを複数のモータ制御装置で駆動する場合の制御方法及びモータ制御システムに関し、特に1台のモータを複数のモータ制御装置で駆動する場合のエンコーダパラメータ及びモータパラメータの入力方法及びそれを実現させるモータ制御システムに関する。 The present invention relates to a control method and a motor control system in the case where one motor is driven by a plurality of motor control devices, and more particularly, to input encoder parameters and motor parameters when one motor is driven by a plurality of motor control devices. The present invention relates to a method and a motor control system for realizing the method.
従来から1台のモータを複数のモータ制御装置で駆動するモータ制御システムが提案されてきた(例えば、特許文献1、2参照)。
従来の1台のモータを複数のモータ制御装置で駆動する場合のエンコーダパラメータ及びモータパラメータの入力方法は、最初に設定器などで各モータ制御装置の不揮発メモリ等にエンコーダパラメータ及びモータパラメータを記憶させ、以後はその記憶されているパラメータで制御している。あるいは、各モータ制御装置がそれぞれエンコーダよりエンコーダパラメータ及びモータパラメータをシリアル通信で読込んでいる。
Conventionally, a motor control system that drives one motor by a plurality of motor control devices has been proposed (see, for example, Patent Documents 1 and 2).
The conventional method for inputting encoder parameters and motor parameters when a single motor is driven by a plurality of motor control devices is to first store the encoder parameters and motor parameters in a non-volatile memory of each motor control device using a setting device. Thereafter, control is performed using the stored parameters. Alternatively, each motor control device reads an encoder parameter and a motor parameter from the encoder by serial communication.
図7は、第1従来技術を示すモータ制御システムの構成図である。
図7において、71は3相2巻線モータ、72は位置検出器、73はマスタインバータ、74はスレーブインバータである。
以下、図7を用いて第1従来技術におけるモータ制御装置の動作について説明する。
最初に設定器などでマスタインバータとスレーブインバータに記憶させたエンコーダパラメータ及びモータパラメータにより、速度指令とマスタインバータ73のPG出力でスレーブインバータ74を制御して、3相2巻線モータ71を駆動する。
FIG. 7 is a configuration diagram of a motor control system showing the first prior art.
In FIG. 7, 71 is a three-phase two-winding motor, 72 is a position detector, 73 is a master inverter, and 74 is a slave inverter.
Hereinafter, the operation of the motor control apparatus according to the first prior art will be described with reference to FIG.
First, the
図8は、第2従来技術を示すモータ制御システムの構成図である。
図8において、81は2重巻線モータ、82、83は3相インバータ、84、85はサーボコントローラ、86はエンコーダである。
以下、図8を用いて第2従来技術におけるモータ制御装置の動作について説明する。
それぞれがエンコーダ86よりエンコーダパラメータ及びモータパラメータをシリアル通信で読込み、2つのサーボコントローラ84、85と3相インバータ82、83で2重巻線モータ81を制御して駆動する。
FIG. 8 is a configuration diagram of a motor control system showing the second prior art.
In FIG. 8, 81 is a double winding motor, 82 and 83 are three-phase inverters, 84 and 85 are servo controllers, and 86 is an encoder.
Hereinafter, the operation of the motor control device according to the second prior art will be described with reference to FIG.
Each reads the encoder parameter and the motor parameter from the
このように、従来の1台のモータを複数のモータ制御装置で駆動するモータ制御システムにおけるモータ制御装置は、最初に設定器などで設定し記憶されているエンコーダパラメータ及びモータパラメータで制御していた。或いは、各モータ制御装置それぞれがエンコーダよりエンコーダパラメータ及びモータパラメータをシリアル通信で読込んでいた。
しかしながら、従来の1台のモータを複数のモータ制御装置で駆動するモータ制御システムにおけるモータ制御装置は、最初に設定器などで設定し各モータ制御装置の不揮発メモリ等にエンコーダパラメータ及びモータパラメータを記憶させ、以後はその記憶されているパラメータで制御しているので、各モータ制御装置は最初に不揮発メモリ等に制御に必要なエンコーダパラメータ及びモータパラメータを必要なエンコーダ及びモータ分を記憶させる必要があった。その為、モータやエンコーダを交換すると、その都度選択する或いは、不揮発メモリ等にエンコーダパラメータ及びモータパラメータを記憶させる必要があるという問題があった。また、各モータ制御装置それぞれがエンコーダよりエンコーダパラメータ及びモータパラメータをシリアル通信で読込むようにした場合は、全てのモータ制御装置が同時に読込むことは難しいので各モータ制御装置が時間をおいて読込む必要があり時間がかかってしまうというような問題もあった。
本発明はこのような問題点に鑑みてなされたものであり、1台のモータを複数のモータ制御装置で駆動する場合、モータやエンコーダに合わせて自動的にパラメータを変更でき、パラメータの読込みに時間がかからず、早く立ち上がることができる、1台のモータを複数のモータ制御装置で駆動する場合の制御方法及びモータ制御システムを提供することを目的とする。
However, a motor control device in a motor control system that drives a single conventional motor with a plurality of motor control devices is first set with a setting device or the like, and encoder parameters and motor parameters are stored in a nonvolatile memory or the like of each motor control device. After that, since the control is performed using the stored parameters, each motor control device must first store the necessary encoder parameters and motor parameters in the nonvolatile memory or the like for the necessary encoder and motor parameters. It was. Therefore, when the motor or encoder is replaced, there is a problem that it is necessary to select each time or to store the encoder parameter and the motor parameter in a nonvolatile memory or the like. Also, if each motor control device reads the encoder parameters and motor parameters from the encoder via serial communication, it is difficult for all motor control devices to read at the same time, so each motor control device needs to read in time. There was also a problem that it took time.
The present invention has been made in view of such problems. When a single motor is driven by a plurality of motor control devices, parameters can be automatically changed according to the motor and encoder, and the parameters can be read. It is an object of the present invention to provide a control method and a motor control system for driving one motor with a plurality of motor control devices that can start up quickly without taking time.
上記問題を解決するため、本発明は、次のように構成したのである。
請求項1に記載の発明は、1台のモータを複数のモータ制御装置で駆動し、前記モータに取り付けられたエンコーダパラメータおよびモータパラメータを記憶している1つのシリアルエンコーダを前記複数のモータ制御装置に分岐して制御する場合の制御方法において、前記複数のモータ制御装置が、前記シリアルエンコーダから初期セットアップ時のみ前記エンコーダパラメータおよび前記モータパラメータを読込むステップと、前記複数のモータ制御装置が、読み込んだ前記エンコーダパラメータおよび前記モータパラメータを前記モータ制御装置が有する不揮発メモリに記憶するステップと、前記複数のモータ制御装置は、記憶した後は前記不揮発メモリに記憶した前記エンコーダパラメータおよび前記モータパラメータを使用してモータ制御するステップと、を備えたことを特徴としている。
In order to solve the above problem, the present invention is configured as follows.
According to the first aspect of the present invention, one motor is driven by a plurality of motor control devices, and one serial encoder storing an encoder parameter and a motor parameter attached to the motor is replaced with the plurality of motor control devices. In the control method in the case of branching to control, the plurality of motor control devices read the encoder parameters and the motor parameters from the serial encoder only during initial setup, and the plurality of motor control devices read The step of storing the encoder parameter and the motor parameter in a nonvolatile memory included in the motor control device, and the plurality of motor control devices use the encoder parameter and the motor parameter stored in the nonvolatile memory after being stored. Then It is characterized by comprising the steps of motor control, the.
また、請求項2に記載の発明は、請求項1に記載の1台のモータを複数のモータ制御装置で駆動する場合の制御方法において、前記複数のモータ制御装置は、前記初期セットアップを行った以降の電源投入時に、前記不揮発メモリに記憶した前記エンコーダパラメータおよび前記モータパラメータと、前記シリアルエンコーダに記憶している前記エンコーダパラメータおよび前記モータパラメータが、それぞれ一致しているか確認を行うステップと、異なっている場合のみ前記シリアルエンコーダから前記エンコーダパラメータおよび前記モータパラメータの再読込を行うステップと、を備えたことを特徴としている。
The invention according to
また、請求項3に記載の発明は、エンコーダパラメータおよびモータパラメータを記憶している1つのシリアルエンコーダを取り付けた1台のモータを駆動する複数のモータ制御装置と、前記1つのシリアルエンコーダを前記複数のモータ制御装置に分岐する構成と、を備えたモータ制御システムにおいて、前記複数のモータ制御装置は、前記シリアルエンコーダから初期セットアップ時のみ前記エンコーダパラメータおよび前記モータパラメータを読込み不揮発メモリに記憶するパラメータ記憶部を備え、前記複数のモータ制御装置は、記憶した後は前記不揮発メモリに記憶した前記エンコーダパラメータおよび前記モータパラメータを使用して前記モータを制御することを特徴としている。 According to a third aspect of the present invention, there are provided a plurality of motor control devices for driving one motor to which one serial encoder storing encoder parameters and motor parameters is attached, and the one serial encoder is provided with the plurality of serial encoders. A plurality of motor control devices that read the encoder parameters and the motor parameters from the serial encoder only during initial setup and store them in a non-volatile memory. And the plurality of motor control devices control the motor using the encoder parameters and the motor parameters stored in the non-volatile memory after being stored.
また、請求項4に記載の発明は、請求項3に記載の1台のモータを複数のモータ制御装置で駆動する場合のモータ制御システムにおいて、前記複数のモータ制御装置は、前記初期セットアップをおこなった以降の電源投入時に、前記不揮発メモリに記憶した前記エンコーダパラメータおよび前記モータパラメータと、前記シリアルエンコーダに記憶している前記エンコーダパラメータおよび前記モータパラメータが、それぞれ一致しているか確認を行うパラメータ変更検出部を備え、前記複数のモータ制御装置は、異なっている場合のみ前記シリアルエンコーダから前記エンコーダパラメータおよび前記モータパラメータの再読込を行うことを特徴としている。 According to a fourth aspect of the present invention, in the motor control system in which one motor according to the third aspect is driven by a plurality of motor control devices, the plurality of motor control devices perform the initial setup. Parameter change detection that confirms whether the encoder parameter and the motor parameter stored in the nonvolatile memory and the encoder parameter and the motor parameter stored in the serial encoder are the same when the power is turned on after that. And the plurality of motor control devices read the encoder parameters and the motor parameters from the serial encoder only when they are different.
また、請求項5に記載の発明は、請求項4に記載の1台のモータを複数のモータ制御装置で駆動する場合のモータ制御システムにおいて、前記シリアルエンコーダは、前記シリアルエンコーダのパラメータを特定するエンコーダコードおよび前記モータを特定するモータコードを備え、前記パラメータ記憶部は、前記エンコーダパラメータおよび前記モータパラメータを読込み記憶する際、前記エンコーダコードおよび前記モータコードも読込み前記不揮発メモリに記憶し、パラメータ変更検出部は、前記不揮発メモリに記憶した前記エンコーダコードおよび前記モータコードと前記シリアルエンコーダに記憶している前記エンコーダコードおよび前記モータコードを比較することにより、前記不揮発メモリに記憶した前記エンコーダパラメータおよび前記モータパラメータと、前記シリアルエンコーダに記憶している前記エンコーダパラメータおよび前記モータパラメータが、それぞれ一致しているか確認を行うことを特徴としている。 According to a fifth aspect of the present invention, in the motor control system in which one motor according to the fourth aspect is driven by a plurality of motor control devices, the serial encoder specifies parameters of the serial encoder. An encoder code and a motor code for specifying the motor are provided, and when the parameter storage unit reads and stores the encoder parameter and the motor parameter, the encoder code and the motor code are also read and stored in the nonvolatile memory, and the parameter is changed. The detection unit compares the encoder code and the motor code stored in the nonvolatile memory with the encoder parameter and the motor code stored in the serial encoder, thereby comparing the encoder parameter and the motor code stored in the nonvolatile memory. A motor and the motor parameter, wherein the encoder parameters and the motor parameters are stored in the serial encoder is characterized by performing a check whether they match, respectively.
また、請求項6に記載の発明は、エンコーダパラメータおよびモータパラメータを記憶している1つのシリアルエンコーダを取り付けた1台のモータを駆動する複数のモータ制御装置と、前記1つのシリアルエンコーダを前記複数のモータ制御装置に分岐する構成と、を備えたモータ制御システムにおいて、前記複数のモータ制御装置のうちの1台をマスタのモータ制御装置とし、残りをスレーブのモータ制御装置とし、前記スレーブのモータ制御装置は前記マスタのモータ制御装置の通信に同期して、前記マスタのモータ制御装置と前記シリアルエンコーダ間の通信をモニタして前記エンコーダパラメータおよび前記モータパラメータを読込むことを特徴としている。 According to a sixth aspect of the present invention, there are provided a plurality of motor control devices for driving one motor to which one serial encoder storing encoder parameters and motor parameters is attached, and the plurality of serial encoders. A motor control system having a structure branching to the motor control device, wherein one of the plurality of motor control devices is a master motor control device, the rest is a slave motor control device, and the slave motor The control device monitors the communication between the master motor control device and the serial encoder in synchronization with the communication of the master motor control device, and reads the encoder parameter and the motor parameter.
請求項1に記載の発明によると、シリアルエンコーダから初期セットアップ時のみ制御に必要なエンコーダパラメータおよびモータパラメータを読込み、不揮発メモリに記憶し、記憶した後は不揮発メモリに記憶されたエンコーダパラメータおよびモータパラメータを使用するようにしているので、以降の電源投入時に、シリアルエンコーダからエンコーダパラメータおよびモータパラメータの読込みや書込みの必要がないので早く立ち上がることができる制御方法を得ることができる。 According to the first aspect of the present invention, encoder parameters and motor parameters necessary for control are read from the serial encoder only during initial setup, stored in the nonvolatile memory, and then stored, the encoder parameters and motor parameters stored in the nonvolatile memory. Therefore, when the power is turned on thereafter, there is no need to read and write encoder parameters and motor parameters from the serial encoder, so that it is possible to obtain a control method that can start up quickly.
また、請求項2に記載の発明によると、制御に必要なエンコーダパラメータおよびモータパラメータの変更確認を行い、変更された時のみ初期セットアップを行うようにしているので、モータあるいはシリアルエンコーダを変更してもモータやシリアルエンコーダに合わせて自動的にパラメータを変更できる制御方法を得ることができる。
In addition, according to the invention described in
また、請求項3に記載の発明によると、シリアルエンコーダから初期セットアップ時のみ前記エンコーダパラメータおよび前記モータパラメータを読込み不揮発メモリに記憶するパラメータ記憶部を備え、記憶した後は不揮発メモリに記憶されたエンコーダパラメータおよびモータパラメータを使用するようにしているので、以降の電源投入時に、シリアルエンコーダからエンコーダパラメータおよびモータパラメータの読込みや書込みの必要がないので早く立ち上がることができるモータ制御システムを得ることができる。 According to a third aspect of the invention, there is provided a parameter storage unit that reads the encoder parameters and the motor parameters from a serial encoder only during initial setup and stores them in a nonvolatile memory, and after the storage, the encoder stored in the nonvolatile memory Since the parameters and the motor parameters are used, it is not necessary to read and write the encoder parameters and the motor parameters from the serial encoder when the power is turned on thereafter, so that a motor control system that can start up quickly can be obtained.
また、請求項4に記載の発明によると、制御に必要なエンコーダパラメータおよびモータパラメータの変更確認を行うパラメータ変更検出部を備え、変更された時のみ初期セットアップを行うようにしているので、モータあるいはシリアルエンコーダを変更してもモータやシリアルエンコーダに合わせて自動的にパラメータを変更できるモータ制御システムを得ることができる。 In addition, according to the invention described in claim 4, since the parameter change detection unit for confirming the change of the encoder parameter and the motor parameter necessary for the control is provided and the initial setup is performed only when the change is made, Even if the serial encoder is changed, a motor control system capable of automatically changing parameters according to the motor and the serial encoder can be obtained.
また、請求項5の発明は、シリアルエンコーダのパラメータを特定するエンコーダコードおよびモータを特定するモータコードを備え、これらのコードを用いて変更確認するようにしているので早く立ち上がることができるモータ制御システムを得ることができる。
The invention of
また、請求項6の発明は、スレーブのモータ制御装置はマスタのモータ制御装置の通信に同期して、マスタのモータ制御装置とシリアルエンコーダ間の通信をモニタしてエンコーダパラメータおよびモータパラメータを読み込むようにしているので、早く立ち上がることができるモータ制御システムを得ることができる。 In the invention of claim 6, the slave motor control device reads the encoder parameter and the motor parameter by monitoring the communication between the master motor control device and the serial encoder in synchronization with the communication of the master motor control device. Therefore, a motor control system that can start up quickly can be obtained.
以下、本発明の実施の形態について図を参照して説明する。尚、実際のモータ制御システムにおけるモータ制御装置には様々な機能や手段が内蔵されているが、図には本発明に関係する機能や手段のみを記載し説明することとする。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. Incidentally, although various functions and means are built in the motor control apparatus in the actual motor control system, only the functions and means related to the present invention will be described and described in the figure.
図1は、本発明を示す1台のモータを複数のモータ制御装置で駆動する場合のモータ制御システムの構成図である。
図1において、1、2はモータ制御装置、3はモータの制御部、4はエンコーダ入出力部、5はパワー変換部、9はシリアルエンコーダ、10は2重巻線のモータである。
以下、図1を用いて本発明の1台のモータを複数のモータ制御装置で駆動する場合のモータ制御システムの構成を説明する。
モータ制御装置1、2をマスタのモータ制御装置1とスレーブのモータ制御装置2に分け、シリアルエンコーダ9の入出力を図1に示すようにそれぞれのモータ制御装置1、2に分岐し、スレーブのモータ制御装置2はマスタのモータ制御装置1とシリアルエンコーダ9間の通信をモニタして読み込む。尚、スレーブのモータ制御装置2の同期はマスタのモータ制御装置1の通信に同期して行う。
FIG. 1 is a configuration diagram of a motor control system in the case where one motor according to the present invention is driven by a plurality of motor control devices.
In FIG. 1, 1 and 2 are motor control devices, 3 is a motor control unit, 4 is an encoder input / output unit, 5 is a power conversion unit, 9 is a serial encoder, and 10 is a double-winding motor.
Hereinafter, the configuration of a motor control system when one motor of the present invention is driven by a plurality of motor control devices will be described with reference to FIG.
The
図2は、本発明の第1実施例を示すモータ制御システムにおけるモータ制御装置の内部構成図、すなわち図1に示すモータ制御装置1、2の内部構成図である。
図2において、21は位置又は速度制御部、22は電流制御部、24は不揮発性メモリを備えたパラメータ記憶部である。尚、図1と同じ説明符号のものは図1と同じ構成要素を示すものとしその説明は省略する。
本実施例が従来技術と異なる点は、本実施例のモータ制御装置1、2はエンコーダ入出力部4と位置又は速度制御部21および電流制御部22の間に制御に必要なエンコーダパラメータおよびモータパラメータを記憶する不揮発性メモリを備えたパラメータ記憶部24を備えるようにしている点である。
2 is an internal configuration diagram of the motor control device in the motor control system according to the first embodiment of the present invention, that is, an internal configuration diagram of the
In FIG. 2, 21 is a position or speed control unit, 22 is a current control unit, and 24 is a parameter storage unit having a nonvolatile memory. The same reference numerals as those in FIG. 1 denote the same components as those in FIG.
The difference between this embodiment and the prior art is that the
以下、図2を用いて、本実施例のモータ制御装置の動作を説明する。
モータ制御装置1および2に、例えば位置指令が入力されると、位置又は速度制御部21は、シリアルエンコーダ9からの位置情報をエンコーダ入出力部4で受信し、位置フィードバックとして位置指令から差し引いて制御ゲインをかけて位置制御し、位置制御の出力である速度指令から位置フィードバックを微分して速度フィードバックとして差し引いたものに制御ゲインをかけて速度制御する。
電流制御部22では、その速度制御の出力を電流指令とし電流フィードバックを差し引いたものに制御ゲインをかけて電流制御する。
パワー変換部5では、電流制御部22の出力をパワー変換しモータ10を駆動する。
パラメータ記憶部24は、初期セットアップ時にシリアルエンコーダ9から送られてくるエンコーダパラメータおよびモータパラメータを不揮発性メモリに記憶し、位置又は速度制御部21および電流制御部22はこの記憶したエンコーダパラメータおよびモータパラメータで位置または速度制御及び電流制御等を行う。
Hereinafter, the operation of the motor control device of this embodiment will be described with reference to FIG.
For example, when a position command is input to the
The
The
The
図3は、本発明の第1実施例を示すモータ制御装置におけるエンコーダパラメータおよびモータパラメータの読込み処理のフローチャートである。
以下、図3を用いて、本実施例におけるエンコーダパラメータおよびモータパラメータの読込み処理を説明する。
予め、設定により複数のモータ制御装置のうちの1台をマスタのモータ制御装置1、他をスレーブのモータ制御装置2に設定しておく。
まず、ステップST1では初期セットアップかどうかを確認する。初期セットアップかどうかは、不揮発メモリのフラグ、例えば初期セットアップのフラグが1であればこの動作を行う、あるいは、初期セットアップの動作要求等で判断することができる。
初期セットアップが必要なときは、次のステップST2へ進む。ステップST2ではシリアルエンコーダ9からシリアルエンコーダ9に関するパラメータであるエンコーダパラメータおよびモータ10に関するパラメータであるモータパラメータをエンコーダ入出力部25を通して読込む。このとき、スレーブのモータ制御装置2はマスタのモータ制御装置1とシリアルエンコーダ9間の通信をモニタして読み込む。尚、スレーブのモータ制御装置2の同期はマスタのモータ制御装置1の通信に同期して行う。
次に、ステップST3では、ステップST2で読込んだエンコーダパラメータおよびモータパラメータを不揮発メモリ等を有するパラメータ記憶部24に記憶してステップST4へすすむ。
ステップST4では、例えば初期セットアップのフラグを0にして初期セットアップが完了したことを記憶して、次のステップST5にすすむ。
次にステップST5では、ステップST2で読込んだエンコーダパラメータおよびモータパラメータを使用して演算処理を行う。
そしてステップST6ではステップST5の演算結果を使用して通常運転の制御等を行う。
尚、ステップST1で初期セットアップでない場合は、ステップST7で不揮発メモリ等を有するパラメータ記憶部24に記憶しているエンコーダパラメータおよびモータパラメータを読込み、ステップST5へすすみ演算処理、ステップST6で通常運転の制御を行う。
各モータ制御装置1、2は同様に行う。
FIG. 3 is a flowchart of the encoder parameter and motor parameter reading process in the motor control apparatus according to the first embodiment of the present invention.
Hereinafter, the encoder parameter and motor parameter reading process in this embodiment will be described with reference to FIG.
In advance, one of a plurality of motor control devices is set as a master motor control device 1 and the other as a slave
First, in step ST1, it is confirmed whether it is initial setup. Whether or not it is the initial setup can be determined by performing this operation if the flag of the nonvolatile memory, for example, the initial setup flag is 1, or by an operation request for the initial setup.
When initial setup is required, the process proceeds to the next step ST2. In step ST <b> 2, encoder parameters that are parameters related to the
Next, in step ST3, the encoder parameters and motor parameters read in step ST2 are stored in the
In step ST4, for example, the initial setup flag is set to 0 to store the completion of the initial setup, and the process proceeds to the next step ST5.
Next, in step ST5, arithmetic processing is performed using the encoder parameters and motor parameters read in step ST2.
In step ST6, normal operation is controlled using the calculation result in step ST5.
If the initial setup is not performed in step ST1, the encoder parameter and the motor parameter stored in the
The
以上述べたように、本実施例に係る1台のモータを複数のモータ制御装置で駆動する場合の制御方法及びモータ制御システムにおけるモータ制御装置1、2は、最初にシリアルエンコーダ9からエンコーダパラメータおよびモータパラメータを不揮発メモリ等を有するパラメータ記憶部24に記憶するので、次回の電源投入以降シリアルエンコーダ9から読込むことなく、不揮発メモリ等を有するパラメータ記憶部24から読込み、制御することができる。従って、パラメータの読込みに時間がかからず、早く立ち上がることができる。
尚、本実施例ではモータ制御装置1、2の2台で説明したが3台以上でも同様に行うことができる。
As described above, the
In this embodiment, the two
図4は、本発明の第2実施例を示すモータ制御システムにおけるモータ制御装置の内部構成図であり、図1に示すモータ制御装置1、2の内部構成図である。
図4において、35はパラメータ変更検出部である。尚、図1、2と同じ説明符号のものは図1、2と同じ構成要素を示すものとし、その説明は省略する。
本実施例が第1実施例と異なる点は、本実施例のモータ制御装置1、2は、シリアルエンコーダ9から送信されるエンコーダパラメータおよびモータパラメータとパラメータ記憶部24に記憶しているエンコーダパラメータおよびモータパラメータが異なることを検出するパラメータ変更検出部35を備えるようにしている点である。
FIG. 4 is an internal configuration diagram of the motor control device in the motor control system according to the second embodiment of the present invention, and is an internal configuration diagram of the
In FIG. 4,
The difference between the present embodiment and the first embodiment is that the
図5は、本発明の第2実施例を示すモータ制御装置におけるエンコーダパラメータおよびモータパラメータの読込み処理のフローチャートである。
また、図6は、本発明におけるシリアルエンコーダ9のパラメータの構成例である。
図6において、61はエンコーダパラメータを特定するエンコーダコード、62はエンコーダパラメータ、63はモータパラメータを特定するモータコード、64はモータパラメータである。このパラメータはパラメータ記憶部24にも同様に記憶されている。
以下、図5、6を用いて、本実施例におけるエンコーダパラメータおよびモータパラメータの読込み処理を説明する。
まず、ステップST11では、電源投入時、パラメータ記憶部24よりエンコーダコードおよびモータコードを読込む。これらのコードはこのシリアルエンコーダ9のパラメータを特定できればよいので、例えば形式の一部でも良いが簡単なコードの方が良い。
次にステップST12では、シリアルエンコーダ9から同様にエンコーダコード61、およびモータコード63をエンコーダ入出力部4を通して読込む。
ステップST13では、ステップST11で読込んだエンコーダコードおよびモータコードとスッテプST12で読込んだエンコーダコードおよびモータコードがいずれも一致するか確認する。一致していない場合は初期セットアップが必要なので、ステップST14へ進む。
次にステップST14では、シリアルエンコーダ9からエンコーダパラメータ62、モータパラメータ64をエンコーダ入出力部4を通して読込む。
ステップST15では、ステップST14で読込んだエンコーダパラメータ62、モータパラメータ64を不揮発メモリ等を有するパラメータ記憶部24に記憶してステップST16へすすむ。
ステップST16では、ステップST12で読込んだエンコーダコード61、モータコード63を不揮発メモリ等を有するパラメータ記憶部24に記憶してステップST17へすすむ。
次にステップST17では、ステップST14で読込んだエンコーダパラメータ62、モータパラメータ64を使用して演算処理を行う。
そしてステップST18では、ステップST17の演算結果を使用して通常運転の制御等を行う。
尚、ステップST13でエンコーダコードおよびモータコードがいずれも一致している場合は、ステップST19で不揮発メモリ等を有するパラメータ記憶部24に記憶しているエンコーダパラメータおよびモータパラメータを読込み、ステップST17へすすみ演算処理し、ステップST18で通常運転の制御を行う。
FIG. 5 is a flowchart of an encoder parameter and motor parameter reading process in the motor control apparatus according to the second embodiment of the present invention.
FIG. 6 is a configuration example of parameters of the
In FIG. 6, 61 is an encoder code for specifying an encoder parameter, 62 is an encoder parameter, 63 is a motor code for specifying a motor parameter, and 64 is a motor parameter. This parameter is also stored in the
Hereinafter, the reading process of the encoder parameter and the motor parameter in the present embodiment will be described with reference to FIGS.
First, in step ST11, the encoder code and the motor code are read from the
Next, in step ST12, the
In step ST13, it is confirmed whether the encoder code and motor code read in step ST11 coincide with the encoder code and motor code read in step ST12. If they do not match, initial setup is required, so the process proceeds to step ST14.
Next, in step ST14, the
In step ST15, the
In step ST16, the
Next, in step ST17, arithmetic processing is performed using the
In step ST18, normal operation is controlled using the calculation result in step ST17.
If both the encoder code and the motor code match in step ST13, the encoder parameter and the motor parameter stored in the
以上述べたように、本実施例に係る1台のモータを複数のモータ制御装置で駆動する場合の制御方法及びモータ制御システムは、電源投入時に、エンコーダパラメータおよびモータパラメータの変更を確認し、シリアルエンコーダ9からエンコーダパラメータ62およびモータパラメータ64を読込むパラメータ変更検出部35を備えるようにしているので、次回以降の電源投入時にはシリアルエンコーダ9からエンコーダパラメータ62およびモータパラメータ64を読込むことなく不揮発メモリ等を有するパラメータ記憶部24から読込み、制御することができる。従って、モータあるいはシリアルエンコーダを変更してもモータやシリアルエンコーダに合わせて自動的にパラメータを変更できるとともに、次回以降の電源投入時にはパラメータの読込みに時間がかからず、早く立ち上がることができる。
尚、本実施例ではモータ制御装置1、2の2台で説明したが3台以上の複数台でも同様に行うことができる
As described above, the control method and motor control system in the case where one motor according to this embodiment is driven by a plurality of motor control devices confirms the change of the encoder parameter and the motor parameter at the time of power-on, and the serial Since the parameter
In this embodiment, the two
本発明は、例えば大容量の2重巻線モータの制御システムに好適である。 The present invention is suitable, for example, for a control system for a large capacity double winding motor.
1、2 モータ制御装置
3 制御部
4 エンコーダ入出力部
5 パワー変換部
9 シリアルエンコーダ
10 モータ
21 位置又は速度制御部
22 電流制御部
24 パラメータ記憶部
35 パラメータ変更検出部
61 エンコーダコード
62 エンコーダパラメータ
63 モータコード
64 モータパラメータ
71 3相2巻線モータ
72 位置検出器
73 マスタインバータ
74 スレーブインバータ
81 2重巻線モータ
82、83 3相インバータ
84、85 サーボコントローラ
86 エンコーダ
DESCRIPTION OF
Claims (6)
前記複数のモータ制御装置(1、2)が、前記シリアルエンコーダ(9)から初期セットアップ時のみ前記エンコーダパラメータ(62)および前記モータパラメータ(64)を読込むステップと、
前記複数のモータ制御装置(1、2)が、読み込んだ前記エンコーダパラメータ(62)および前記モータパラメータ(64)を前記モータ制御装置(1、2)が有する不揮発メモリに記憶するステップと、
前記複数のモータ制御装置(1、2)は、記憶した後は前記不揮発メモリに記憶した前記エンコーダパラメータ(62)および前記モータパラメータ(64)を使用してモータ制御するステップと、を備えたことを特徴とする1台のモータを複数のモータ制御装置で駆動する場合の制御方法。 One motor (10) is driven by a plurality of motor control devices (1, 2), and one serial storing an encoder parameter (62) and a motor parameter (64) attached to the motor (10) In the control method in the case of controlling the encoder (9) by branching to the plurality of motor control devices (1, 2),
The plurality of motor control devices (1, 2) read the encoder parameter (62) and the motor parameter (64) from the serial encoder (9) only during initial setup;
The plurality of motor control devices (1, 2) store the read encoder parameters (62) and the motor parameters (64) in a nonvolatile memory included in the motor control devices (1, 2);
The plurality of motor control devices (1, 2) include a step of performing motor control using the encoder parameter (62) and the motor parameter (64) stored in the nonvolatile memory after being stored. A control method when one motor is driven by a plurality of motor control devices.
異なっている場合のみ前記シリアルエンコーダ(9)から前記エンコーダパラメータ(62)および前記モータパラメータ(64)の再読込を行うステップと、を備えたことを特徴とする請求項1に記載の1台のモータを複数のモータ制御装置で駆動する場合の制御方法。 The plurality of motor control devices (1, 2), when the power is turned on after the initial setup, the encoder parameter (62) and the motor parameter (64) stored in the nonvolatile memory, and the serial encoder ( 9) confirming whether the encoder parameters (62) and the motor parameters (64) stored in (9) are the same;
Re-reading the encoder parameters (62) and the motor parameters (64) from the serial encoder (9) only if they differ from each other. A control method for driving a motor with a plurality of motor control devices.
前記複数のモータ制御装置(1、2)は、前記シリアルエンコーダ(9)から初期セットアップ時のみ前記エンコーダパラメータ(62)および前記モータパラメータ(64)を読込み不揮発メモリに記憶するパラメータ記憶部(24)を備え、
前記複数のモータ制御装置(1、2)は、記憶した後は前記不揮発メモリに記憶した前記エンコーダパラメータ(62)および前記モータパラメータ(64)を使用して前記モータ(10)を制御することを特徴とする1台のモータを複数のモータ制御装置で駆動する場合のモータ制御システム。 A plurality of motor control devices (1, 2) for driving one motor (10) to which one serial encoder (9) storing encoder parameters (62) and motor parameters (64) is attached; A motor control system comprising: a configuration in which two serial encoders (9) are branched to the plurality of motor control devices (1, 2);
The plurality of motor control devices (1, 2) read the encoder parameter (62) and the motor parameter (64) from the serial encoder (9) only during initial setup and store them in a nonvolatile memory (24) With
The plurality of motor control devices (1, 2), after storing, control the motor (10) using the encoder parameter (62) and the motor parameter (64) stored in the nonvolatile memory. A motor control system in which one motor is driven by a plurality of motor control devices.
前記複数のモータ制御装置(1、2)は、異なっている場合のみ前記シリアルエンコーダ(9)から前記エンコーダパラメータ(62)および前記モータパラメータ(64)の再読込を行うことを特徴とする請求項3に記載の1台のモータを複数のモータ制御装置で駆動する場合のモータ制御システム。 When the power is turned on after the initial setup, the plurality of motor control devices (1, 2) are configured to store the encoder parameter (62) and the motor parameter (64) stored in the nonvolatile memory, the serial encoder ( A parameter change detection unit (35) for confirming whether the encoder parameter (62) and the motor parameter (64) stored in 9) match,
The plurality of motor control devices (1, 2) read the encoder parameter (62) and the motor parameter (64) from the serial encoder (9) only when they are different. A motor control system in which one motor described in 3 is driven by a plurality of motor control devices.
前記パラメータ記憶部(24)は、前記エンコーダパラメータ(62)および前記モータパラメータ(64)を読込み記憶する際、前記エンコーダコード(61)および前記モータコード(63)も読込み前記不揮発メモリに記憶し、
パラメータ変更検出部(35)は、前記不揮発メモリに記憶した前記エンコーダコード(61)および前記モータコード(63)と前記シリアルエンコーダ(9)に記憶している前記エンコーダコード(61)および前記モータコード(63)を比較することにより、前記不揮発メモリに記憶した前記エンコーダパラメータ(62)および前記モータパラメータ(64)と、前記シリアルエンコーダ(9)に記憶している前記エンコーダパラメータ(62)および前記モータパラメータ(64)が、それぞれ一致しているか確認を行うことを特徴とする請求項4に記載の1台のモータを複数のモータ制御装置で駆動する場合のモータ制御システム。 The serial encoder (9) includes an encoder code (61) for specifying parameters of the serial encoder (9) and a motor code (63) for specifying the motor (10).
When reading and storing the encoder parameter (62) and the motor parameter (64), the parameter storage unit (24) also reads the encoder code (61) and the motor code (63) and stores them in the nonvolatile memory.
The parameter change detection unit (35) includes the encoder code (61) and the motor code (63) stored in the nonvolatile memory, and the encoder code (61) and the motor code stored in the serial encoder (9). By comparing (63), the encoder parameter (62) and the motor parameter (64) stored in the nonvolatile memory, and the encoder parameter (62) and the motor stored in the serial encoder (9) 5. The motor control system for driving one motor according to claim 4, wherein a plurality of motor control devices are used to check whether the parameters (64) match each other.
前記複数のモータ制御装置(1、2)のうちの1台をマスタのモータ制御装置(1)とし、残りをスレーブのモータ制御装置(2)とし、
前記スレーブのモータ制御装置(2)は前記マスタのモータ制御装置(1)の通信に同期して、前記マスタのモータ制御装置(1)と前記シリアルエンコーダ(9)間の通信をモニタして前記エンコーダパラメータ(62)および前記モータパラメータ(64)を読込むことを特徴とする1台のモータを複数のモータ制御装置で駆動する場合のモータ制御システム。 A plurality of motor control devices (1, 2) for driving one motor (10) to which one serial encoder (9) storing encoder parameters (62) and motor parameters (64) is attached; A motor control system comprising: a configuration in which two serial encoders (9) are branched to the plurality of motor control devices (1, 2);
One of the plurality of motor control devices (1, 2) is a master motor control device (1), the rest is a slave motor control device (2),
The slave motor control device (2) monitors communication between the master motor control device (1) and the serial encoder (9) in synchronization with the communication of the master motor control device (1). A motor control system for driving one motor by a plurality of motor control devices, wherein the encoder parameter (62) and the motor parameter (64) are read.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007075059A JP2008236949A (en) | 2007-03-22 | 2007-03-22 | Control method in driving one motor with plural motor controllers, and motor control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007075059A JP2008236949A (en) | 2007-03-22 | 2007-03-22 | Control method in driving one motor with plural motor controllers, and motor control system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008236949A true JP2008236949A (en) | 2008-10-02 |
Family
ID=39909059
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007075059A Pending JP2008236949A (en) | 2007-03-22 | 2007-03-22 | Control method in driving one motor with plural motor controllers, and motor control system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008236949A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112213636A (en) * | 2020-09-30 | 2021-01-12 | 喻立陶 | Motor parameter self-memory and self-calibration method |
-
2007
- 2007-03-22 JP JP2007075059A patent/JP2008236949A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112213636A (en) * | 2020-09-30 | 2021-01-12 | 喻立陶 | Motor parameter self-memory and self-calibration method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5890467B2 (en) | Machine tool with warm-up operation function | |
WO2012114435A1 (en) | Electric motor control system and communication method | |
WO2012172647A1 (en) | Multiaxial motor drive system and multiaxial motor drive device | |
WO2012164740A1 (en) | Multi-axis motor driving system and multi-axis motor driving apparatus | |
JP2006004275A (en) | Numerical control device | |
CN110376962B (en) | Setting device and computer readable medium | |
JP2008236949A (en) | Control method in driving one motor with plural motor controllers, and motor control system | |
EP3118991A1 (en) | Motor control device, motor control system, motor control method, and motor control program | |
JP5230644B2 (en) | Electric motor drive device and drive control device | |
KR101290563B1 (en) | Controller for motor | |
US10090789B2 (en) | Motor control device, motor control method, and non-transitory computer readable medium encoded with computer program | |
JP2005149226A (en) | Machining program transmission method and machining program transmission system | |
JP3551328B2 (en) | Synchronous control device | |
JP6331655B2 (en) | Inverter control device | |
JP2008269483A (en) | Numerical controller | |
JP4335124B2 (en) | Synchronous control device | |
EP1443637B1 (en) | Controller | |
WO2013153607A1 (en) | Positioning device | |
JP2008011672A (en) | Drive controller system and its operation method | |
JP2005117832A (en) | Method for emergency stop for motor controller | |
JP2009095165A (en) | Multi-axis motor controller and its control method | |
CN113168490A (en) | Design support device and design support program | |
JP2009294718A (en) | Numerical controller and method for correcting misalignment | |
JP2006187088A (en) | Apparatus and method of controlling motor | |
JP2005096470A (en) | Motor controller for injection molding machine |