JP6740265B2 - Parameter determination support device and program - Google Patents
Parameter determination support device and program Download PDFInfo
- Publication number
- JP6740265B2 JP6740265B2 JP2018026167A JP2018026167A JP6740265B2 JP 6740265 B2 JP6740265 B2 JP 6740265B2 JP 2018026167 A JP2018026167 A JP 2018026167A JP 2018026167 A JP2018026167 A JP 2018026167A JP 6740265 B2 JP6740265 B2 JP 6740265B2
- Authority
- JP
- Japan
- Prior art keywords
- synchronous motor
- motor
- driving
- unit
- parameter determination
- 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.)
- Active
Links
- 230000001360 synchronised effect Effects 0.000 claims description 64
- 238000012360 testing method Methods 0.000 claims description 24
- 230000001133 acceleration Effects 0.000 claims description 11
- 238000005259 measurement Methods 0.000 description 16
- 238000001514 detection method Methods 0.000 description 10
- 238000000034 method Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000011017 operating method Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/34—Testing dynamo-electric machines
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
- G05B19/4093—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part programme, for the NC machine
- G05B19/40937—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part programme, for the NC machine concerning programming of machining or material parameters, pocket machining
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P23/00—Arrangements or methods for the control of AC motors characterised by a control method other than vector control
- H02P23/14—Estimation or adaptation of motor parameters, e.g. rotor time constant, flux, speed, current or voltage
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/32—Operator till task planning
- G05B2219/32161—Object oriented control, programming
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P2207/00—Indexing scheme relating to controlling arrangements characterised by the type of motor
- H02P2207/05—Synchronous machines, e.g. with permanent magnets or DC excitation
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Geometry (AREA)
- Human Computer Interaction (AREA)
- Manufacturing & Machinery (AREA)
- Power Engineering (AREA)
- Control Of Electric Motors In General (AREA)
- Control Of Ac Motors In General (AREA)
- Testing And Monitoring For Control Systems (AREA)
Description
本発明は、パラメータ決定支援装置及びプログラムに関する。 The present invention relates to a parameter determination support device and program.
工作機械、包装機械、産業用ロボット等に含まれるサーボ機構において用いられるサーボモータを制御するためには、サーボモータを駆動するための駆動パラメータを適切な値に設定する必要がある。この駆動パラメータの設定方法として、例えば、特許文献1は、駆動系のパラメータを取得し、取得したパラメータに応じて生成した試験動作プログラムで駆動系を運転し、運転の際に得られた運転データを解析した結果に基づいて、制御器のパラメータを調整する技術を開示している。 In order to control a servo motor used in a servo mechanism included in machine tools, packaging machines, industrial robots, etc., it is necessary to set drive parameters for driving the servo motor to appropriate values. As a method of setting the drive parameters, for example, Patent Document 1 acquires the parameters of the drive system, operates the drive system with a test operation program generated according to the acquired parameters, and obtains operation data obtained during the operation. Disclosed is a technique for adjusting the parameter of the controller based on the result of analysis of the above.
特許文献1においては、モータの抵抗値やインダクタンス等の回路定数が既知であることを前提としているが、回路定数が未知のモータや、回路定数として提示されている値の精度が不明なモータを駆動する場合には、モータの定格出力や基底回転数等の既知の情報から、試運転用の初期パラメータを決定し、特定の動作で試運転を行った際に測定した電流値や速度等のデータに基づいて、最適な駆動パラメータを決定する必要がある。
しかし、最適な駆動パラメータを決定する手順は複雑なため、作業者のスキルが必要であると共に、最適な駆動パラメータの決定には時間がかかる。
In Patent Document 1, it is premised that the circuit constants such as the resistance value and the inductance of the motor are known, but a motor whose circuit constant is unknown or a motor whose accuracy of the value presented as the circuit constant is unknown is known. When driving, determine the initial parameters for the trial run from known information such as the rated output of the motor and the base rotation speed, and use the data such as the current value and speed measured during the trial run in a specific operation. Based on this, it is necessary to determine the optimum drive parameters.
However, since the procedure for determining the optimum driving parameter is complicated, the skill of the operator is required and it takes time to determine the optimum driving parameter.
本発明は、回路定数が未知のモータを駆動する際の、駆動パラメータの決定を簡略化し、決定に要する時間を短縮することが可能な、パラメータ決定支援装置及びプログラムの提供を目的とする。 It is an object of the present invention to provide a parameter determination support device and a program capable of simplifying the determination of drive parameters when driving a motor with an unknown circuit constant and shortening the time required for the determination.
(1) 本発明に係るモータ駆動用のパラメータ決定支援装置(例えば、後述のパラメータ決定支援装置11)は、モータの駆動装置(例えば、後述のモータ駆動装置31)の仕様情報と同期モータ(例えば、後述の同期モータ41)の出力仕様情報とを取得する取得手段(例えば、後述の取得部114)と、前記仕様情報及び前記出力仕様情報に基づいて、試運転用の初期パラメータを決定する初期パラメータ決定手段(例えば、後述の初期パラメータ決定部115)と、前記出力仕様情報に基づいて、前記同期モータの出力を決定するパラメータの調整のために必要なデータを取得するための試運転に用いられる、試運転プログラムを作成するプログラム作成手段(例えば、後述のプログラム作成部116)と、前記初期パラメータを適用して、前記試運転プログラムにより、基底速度に基づいた第1条件、及び前記第1条件から前記モータ駆動装置のD相電流が変更された第2条件の各々の条件で前記同期モータを加速させながら駆動した際の運転情報として、前記同期モータの加速度、及び前記モータ駆動装置のD相電流を自動測定する自動測定手段(例えば、後述の自動測定部117)と、前記運転情報に基づいて、前記同期モータの回路定数として、インダクタンス比及びQ相インダクタンスを推定する推定手段(例えば、後述の推定部118)と、前記回路定数に基づいて、前記同期モータの出力仕様に合わせた最適パラメータの計算を行う計算手段(例えば、後述の計算部119)と、を備える。
(1) A parameter determination support device for driving a motor (for example, a parameter
(2) (1)に記載のパラメータ決定支援装置は、前記仕様情報を検知する検知手段(例えば、後述の検知部)と、前記出力仕様情報をオペレータが入力する入力手段(例えば、後述の入力部)と、を更に備え、前記取得手段は、前記検知手段から前記仕様情報を取得し、前記入力手段から前記出力仕様情報を取得してもよい。 (2) The parameter determination support device described in (1) is a detection unit (for example, a detection unit described later) that detects the specification information, and an input unit that an operator inputs the output specification information (for example, an input unit described below). Section), and the acquisition unit may acquire the specification information from the detection unit and the output specification information from the input unit.
(3) (1)又は(2)に記載のパラメータ決定支援装置は、測定した前記運転情報、推定した前記回路定数、及び計算した前記最適パラメータのうち少なくとも一つを表示する表示手段(例えば、後述の表示部120)を更に備えてもよい。 (3) The parameter determination assisting device according to (1) or (2) is a display unit that displays at least one of the measured operating information, the estimated circuit constant, and the calculated optimum parameter (for example, You may further provide the below-mentioned display part 120).
(4) 本発明に係るプログラムは、コンピュータを(1)〜(3)のいずれかに記載のパラメータ決定支援装置として動作させる。 (4) The program according to the present invention causes a computer to operate as the parameter determination support device according to any one of (1) to (3).
本発明によれば、回路定数が未知のモータを駆動する際の、駆動パラメータの決定を簡略化し、決定に要する時間を短縮することが可能となる。 According to the present invention, it becomes possible to simplify the determination of drive parameters when driving a motor whose circuit constant is unknown, and to shorten the time required for the determination.
以下、本発明の実施形態について、図1〜図8を参照しながら、詳述する。
図1は、本発明の実施形態に係るパラメータ決定支援装置を含むモータ駆動システム1の全体構成を示す。モータ駆動システム1は、パラメータ決定支援装置11に加えて、数値制御装置21、モータ駆動装置31、及び同期モータ41を備える。
Hereinafter, embodiments of the present invention will be described in detail with reference to FIGS. 1 to 8.
FIG. 1 shows an overall configuration of a motor drive system 1 including a parameter determination support device according to an embodiment of the present invention. The motor drive system 1 includes a
パラメータ決定支援装置11は、モータ駆動装置31から受信したモータ駆動装置31の仕様と、オペレータがパラメータ決定支援装置11に対して入力した、同期モータ41の出力仕様情報とに基づいて、同期モータ41の試運転用の初期パラメータを決定すると共に、仕様情報、出力仕様情報、及び初期パラメータに基づいて試運転を行うための試運転プログラムを作成する。
同期モータ41の回路定数を推定するためには、同期モータ41を略一定回転数(略一定速度)で回転させたり、加減速させたりした時の、駆動電流値、駆動電圧値、及び回転数等のデータ(運転情報)を確認する必要があるが、ここでの「試運転」とは、これらのデータの確認のために同期モータ41を駆動させる試運転のことである。
また、「駆動電圧値」とは、同期モータ41を、実際に、ある回転数で駆動するのに必要な電圧であって、大元の電源の電圧や、電圧の指令値を元に算出される。
また、ここでの「初期パラメータ」とは、例えば、同期モータ41を駆動する最大電流値や、D相電流値、同期モータ41の最高回転数、モータ駆動装置31から取り込んだ電流値のフィードバックを実際の物理量に換算する係数のうち少なくとも一つを含む。
また、ここでの「出力仕様情報」とは、例えば、同期モータ41の定格出力及び基底回転数のうち少なくとも一つを含む。
The parameter
In order to estimate the circuit constant of the
Further, the “driving voltage value” is a voltage required to actually drive the
Further, the “initial parameter” here is, for example, the maximum current value for driving the
Further, the “output specification information” here includes at least one of the rated output and the base rotation speed of the
更に、パラメータ決定支援装置11は、この初期パラメータと試運転プログラムとを、数値制御装置21に送信する。数値制御装置21は、初期パラメータを適用して試運転プログラムを実行することにより、位置指令値、速度指令値等の指令値を生成し、初期パラメータと共に、モータ駆動装置31に送信する。
Further, the parameter
モータ駆動装置31は、数値制御装置21から受信した初期パラメータと指令値とに基づいた駆動電流を、同期モータ41に供給する。
The
同期モータ41は、モータ駆動装置31に対し、速度情報、位置情報、回転数等のフィードバック値を送信する。
The
モータ駆動装置31は、同期モータ41から受信したフィードバック値、駆動電流値、同期モータ41への指令値等を含む運転情報を、パラメータ決定支援装置11に送信する。なお、ここでの「運転情報」とは、同期モータ41の回転数SPEED[rmp]及び加速度ACC[rpm/s]、並びにモータ駆動装置31のD相電流ID[A]を含み、モータ駆動装置31のDCリンク電圧VDC[V]及びQ相電圧指令VQCMD[%]を含めてもよい。
The
パラメータ決定支援装置11は、モータ駆動装置31から受信した運転情報、及び既知の値に基づいて、同期モータ41の回路定数を推定する。更に、パラメータ決定支援装置11は、この回路定数に基づいて、同期モータ41の出力仕様に合わせた最適パラメータの計算を行い、この最適パラメータを、数値制御装置21に送信する。なお、ここでの「回路定数」とは、インダクタンス比Lq/Ld[無次元]及びQ相インダクタンスLq[mH]を含む。また、「既知の値」とは、短絡電流Isc[Arms]及びD相インダクタンスLd[mH]を含み、同期モータ41の逆起電圧定数Ke[V/krpm]及び極対数Poles[無次元]を含めてもよい。
The parameter
図2は、パラメータ決定支援装置11の機能を示すブロック図である。パラメータ決定支援装置11は、制御部111、検知部112、及び入力部113を備え、更に、制御部111は、取得部114、初期パラメータ決定部115、プログラム作成部116、自動測定部117、推定部118、計算部119、及び表示部120を備える。
FIG. 2 is a block diagram showing the functions of the parameter
制御部111は、CPU、ROM、RAM、CMOSメモリ等を有し、これらはバスを介して相互に通信可能に構成される、当業者にとって公知のものである。
CPUはパラメータ決定支援装置11を全体的に制御するプロセッサである。該CPUは、ROMに格納されたシステムプログラム及びアプリケーションプログラムを、バスを介して読み出し、該システムプログラム及びアプリケーションプログラムに従ってパラメータ決定支援装置11全体を制御することで、図2に示すように、制御部111が、取得部114、初期パラメータ決定部115、プログラム作成部116、自動測定部117、推定部118、計算部119、及び表示部120の機能を実現するように構成される。RAMには一時的な計算データや表示データ等の各種データが格納される。CMOSメモリは図示しないバッテリでバックアップされ、パラメータ決定支援装置11の電源がオフされても記憶状態が保持される不揮発性メモリとして構成される。
The control unit 111 has a CPU, a ROM, a RAM, a CMOS memory, and the like, and these are known to those skilled in the art and configured to be communicable with each other via a bus.
The CPU is a processor that controls the parameter
取得部114は、モータ駆動装置31の仕様情報と同期モータ41の出力仕様情報とを取得する。とりわけ、取得部114は、後述の検知部112から、モータ駆動装置31の仕様情報を取得し、後述の入力部113から、同期モータ41の出力仕様情報を取得する。
The
初期パラメータ決定部115は、取得部114が取得した仕様情報及び出力仕様情報に基づいて、試運転用の初期パラメータを決定する。
The initial
プログラム作成部116は、取得部114が取得した出力仕様情報に基づいて、試運転プログラムを作成する。この試運転プログラムは、同期モータ41の出力を決定するパラメータの調整に必要なデータを取得するための試運転に用いられる。
The
自動測定部117は、上記の初期パラメータを適用して、上記の試運転プログラムにより、基底速度に基づいた第1条件、及び該第1条件からモータ駆動装置31のD相電流が変更された第2条件の各々の条件で同期モータ41を加速させながら駆動した際の運転情報を自動測定する。例えば、第1条件の最大加速時のD相電流をIDMAX1[A]とし、第1条件の最大加速時のQ相電流をIQMAX1[A]とし、第2条件の最大加速時のD相電流をIDMAX2[A]とし、第2条件の最大加速時のQ相電流をIQMAX2[A]とし、電流の最大値をImaxとした場合、(IDMAX1,IQMAX1)=Imax×(−sin(15deg),cos(15deg))及び(IDMAX2,IQMAX2)=(0,Imax×cos(15deg))で示される条件とする。ただし、Q相電流は変化させず、IQMAX1=IQMAX2とし、D相電流を変更する。
The
推定部118は、自動測定部117が測定した運転情報に基づいて、同期モータ41の回路定数として、インダクタンス比Lq/Ld[無次元]及びQ相インダクタンスLq[mH]を推定する。インダクタンス比Lq/Ld[無次元]は、運転情報を用いた計算式Lq/Ld=1+(ACCAVE1/ACCAVE2−1)×(Isc/|IDAVE2−IDAVE1|)で推定される。Q相インダクタンスLq[mH]は、運転情報を用いた計算式Lq=(Lq/Ld)×Ldで推定される。なお、各数値を表す記号に付された添え字「AVE1」は、第1条件における該数値の平均値を意味し、各数値を表す記号に付された添え字「AVE2」は、第2条件における該数値の平均値を意味する。なお、短絡電流Isc[Arms]は、ここでは既知の値としたが、運転情報を用いた計算式Isc=(IDAVE1−(VDCAVE1×VQCMDAVE1/(VDCAVE2×VQCMDAVE2))×IDAVE2)/((VDCAVE1×VQCMDAVE1/(VDCAVE2×VQCMDAVE2))−1)×(1/21/2)で推定してもよい。また、D相インダクタンスLd[mH]は、ここでは既知の値としたが、運転情報を用いた計算式Ld=(Ke/31/2)×(1/Poles)×(1/(1000×2π/60))×(1/Isc)×1000で推定してもよい。また、逆起電圧定数Ke[V/krpm]は、ここでは既知の値としたが、運転情報を用いた計算式Ke=(1000/SPEEDAVE)×(VDCAVE/(21/2))×(VQCMDAVE/100)で推定してもよい。なお、各数値を表す記号に付された添え字「AVE」は、該数値の平均値を意味する。
The estimating
計算部119は、推定部118が推定した回路定数に基づいて、同期モータ41の出力仕様に合わせた最適パラメータの計算を行う。
The
表示部120は、パラメータ決定支援装置11が備える表示器(不図示)に各種情報を表示する。ここでの「各種情報」とは、自動測定部117が測定した運転情報、推定部118が推定した回路定数、及び計算部119が計算した最適パラメータのうち少なくとも一つを含む。
なお、表示部120は、例えば、オペレータが後述の入力部113を用いて出力仕様情報を入力するためのガイドとなる、ナビゲーション情報を表示してもよい。なお、このナビゲーション情報は、出力仕様情報の入力方法に限らず、例えば、パラメータ決定支援装置11の操作方法等の情報を含んでもよい。
The
The
検知部112は、モータ駆動装置31の仕様情報を検知する装置であり、例えばセンサである。また、入力部113は、オペレータが同期モータ41の出力仕様情報を入力するために用いる装置であり、例えば、キーボードやタッチパネルである。
The
図3は、数値制御装置21の構成を示す。数値制御装置21は、主として、CPU211、ROM212、RAM213、CMOS214、インタフェース215,218,219、PMC(プログラマブル・マシン・コントローラ)216、I/Oユニット217、軸制御回路230〜234、及びスピンドル制御回路260を備える。
FIG. 3 shows the configuration of the
CPU211は、数値制御装置21を全体的に制御するプロセッサである。CPU211は、ROM212に格納されたシステムプログラムを、バス220を介して読み出し、該システムプログラムに従って数値制御装置21全体を制御する。
The
RAM213には、一時的な計算データや表示データ、及び表示器/MDIユニット270を介してオペレータが入力した各種データが格納される。
The RAM 213 stores temporary calculation data, display data, and various data input by the operator via the display/
CMOSメモリ214は、図示しないバッテリでバックアップされ、数値制御装置21の電源がオフされても記憶状態が保持される不揮発性メモリとして構成される。CMOSメモリ214中には、インタフェース215を介して読み込まれた加工プログラムや表示器/MDIユニット270を介して入力された加工プログラム等が記憶される。
The
ROM212には、加工プログラムの作成及び編集のために必要とされる編集モードの処理や自動運転のための処理を実施するための各種システムプログラムがあらかじめ書き込まれている。
In the
各種加工プログラムは、インタフェース215や表示器/MDIユニット270を介して入力し、COMSメモリ214に格納することができる。
Various processing programs can be input via the
インタフェース215は、数値制御装置21とアダプタ等の外部機器272との接続を可能とするものである。外部機器272側からは、加工プログラムや各種パラメータ等が読み込まれる。また、数値制御装置21内で編集した加工プログラムは、外部機器272を介して外部記憶手段に記憶させることができる。
The
PMC(プログラマブル・マシン・コントローラ)216は、数値制御装置21に内蔵されたシーケンスプログラムで工作機械の補助装置(例えば、工具交換用のロボットハンドといったアクチュエータ)にI/Oユニット217を介して信号を出力し制御する。また、工作機械の本体に配備された操作盤の各種スイッチ等の信号を受け、必要な信号処理をした後、CPU211に渡す。
A PMC (Programmable Machine Controller) 216 sends a signal to an auxiliary device (for example, an actuator such as a robot hand for tool change) of a machine tool via an I/
表示器/MDIユニット270は、ディスプレイやキーボード等を備えた手動データ入力装置であり、インタフェース218は、表示器/MDIユニット270のキーボードからの指令やデータを受けてCPU211に渡す。インタフェース219は、手動パルス発生器等を備えた操作盤271に接続されている。
The display/
各軸の軸制御回路230〜234は、CPU211からの各軸の移動指令量を受けて、各軸の指令をサーボアンプ240〜244に出力する。サーボアンプ240〜244は、この指令を受けて、各軸のサーボモータ250〜254を駆動する。各軸のサーボモータ250〜254は、位置・速度検出器を内蔵し、この位置・速度検出器からの位置・速度フィードバック信号を軸制御回路230〜234にフィードバックし、位置・速度のフィードバック制御を行う。なお、図3では、位置・速度のフィードバックについては省略している。
The axis control circuits 230 to 234 of the respective axes receive the movement command amounts of the respective axes from the
スピンドル制御回路260は、工作機械への主軸回転指令を受け、スピンドルアンプ261にスピンドル速度信号を出力する。スピンドルアンプ261は、このスピンドル速度信号を受けて、工作機械のスピンドルモータ262を指令された回転速度で回転させ、工具を駆動する。スピンドルモータ262には、歯車あるいはベルト等でパルスエンコーダ263が結合され、パルスエンコーダ263が主軸の回転に同期して帰還パルスを出力し、その帰還パルスは、バス220を経由してCPU211によって読み取られる。
The
なお、サーボアンプ240〜244、及びスピンドルアンプ261は、図1のモータ駆動装置31に対応し、サーボモータ250〜254、及びスピンドルモータ262は、図1の同期モータ41に対応する。
また、図3に示す数値制御装置21の構成は、あくまで一例であって、これには限定されず、数値制御装置21として、汎用の数値制御装置を用いることが可能である。
The
The configuration of the
図4は、モータ駆動装置31の構成を示す。モータ駆動装置31は、インバータ311、電流検出器312、制御部313、及び速度検出部314を備える。
FIG. 4 shows the configuration of the
インバータ311は、同期モータ41に駆動電流を供給する。電流検出器312は、同期モータ41に供給している駆動電流を検出する。制御部313は、モータの速度指令と同期モータ41の速度フィードバックと電流検出器312で検出された電流値を使い、インバータ311をPWM制御する。速度検出部314は、同期モータ41のフィードバック制御のため、速度を検出し、検出した速度を制御部313に送信する。
The
図4に示すモータ駆動装置31の構成は、あくまで一例であって、これには限定されず、モータ駆動装置31として、汎用のモータ駆動装置を用いることが可能である。
The configuration of the
図5は、パラメータ決定支援装置11の動作を説明するフローチャートである。
ステップS1において、検知部112は、モータ駆動装置31の仕様情報を検知し、取得部114は、検知部112から仕様情報を取得する。
FIG. 5 is a flowchart illustrating the operation of the parameter
In step S1, the
ステップS2において、オペレータは、入力部113から同期モータ41の出力仕様情報を入力し、取得部114は、入力部113から出力仕様情報を取得する。
In step S2, the operator inputs the output specification information of the
ステップS3において、初期パラメータ決定部115は、取得部114が取得した仕様情報及び出力仕様情報に基づいて、試運転用の初期パラメータを決定する。
In step S3, the initial
ステップS4において、プログラム作成部116は、同期モータ41の回路定数の推定、及び同期モータ41の出力を決定するパラメータの調整に必要なデータを取得する試運転のための試運転プログラムを、取得部114が取得した出力仕様情報に基づいて作成する。
In step S4, the
ステップS5において、試運転プログラムにより、第1条件又は第2条件で同期モータ41を加速しながら駆動した際の運転情報として、同期モータ41の加速度ACC[rpm/s]及びモータ駆動装置31のD相電流ID[A]を、自動測定部117が自動測定する。
In step S5, according to the test operation program, the acceleration ACC [rpm/s] of the
ステップS6において、ステップS5の処理が2回繰り返されたか、判断する。 In step S6, it is determined whether the process of step S5 has been repeated twice.
ステップS6においてNOの場合(ステップS5の処理が2回繰り返されていない場合)、ステップS7において、同期モータ41を駆動する際の条件を変更する。
If NO in step S6 (if the process of step S5 is not repeated twice), the condition for driving the
ステップS6においてYESの場合(ステップS5の処理が2回繰り返された場合)、ステップS8において、自動測定部117が自動測定した一定動作中の各データを自動的に切り出して、そのデータを平均化する。これにより、ノイズや速度変動等での局所的な値での誤差をなくすことができ、ひいては、測定データの統計的な信頼性を上げることができる。
If YES in step S6 (when the process of step S5 is repeated twice), in step S8, the
ステップS9において、推定部118は、自動測定部117が自動測定した運転情報に基づいて、同期モータ41の回路定数として、インダクタンス比Lq/Ld[無次元]を自動計算して推定する。
In step S9, the
ステップS10において、推定部118は、自動測定部117が自動測定した運転情報に基づいて、同期モータ41の回路定数として、Q相インダクタンスLq[mH]を自動計算して推定する。具体的に、ステップS10において、自動測定部117が自動測定した運転情報に基づいて推定したインダクタンス比Lq/Ld[無次元]を用いて、推定部118は、Q相インダクタンスLd[mH]を自動計算して推定する。
In step S10, the
ステップS11において、計算部119は、推定部118が推定した回路定数に基づいて、同期モータ41の出力仕様に合わせた最適パラメータを計算し、決定する。
In step S11, the
ステップS12において、自動測定部117が自動測定した運転情報、推定部118が推定した回路定数、及び計算部119が計算した最適パラメータを、表示部120が表示器(不図示)に切替え可能に表示する。これにより、オペレータは、測定データを直接確認しながら、ステップS11で決定されたパラメータが適切か否か、判断することが可能となる。以上により、パラメータ決定支援装置11の動作フローは終了する。
In step S12, the
なお、図5に記載のフローチャートにおいて、ステップS12の処理を実行した後、それ以前のステップに遡って、改めて遡ったステップ以降の処理を実行してもよい。例えば、パラメータ決定支援装置11が、ステップS12においてパラメータを表示した後、改めてステップS5以降の処理を実行することにより、パラメータを修正してもよい。
In addition, in the flowchart shown in FIG. 5, after performing the process of step S12, it is possible to go back to the previous step and to perform the process of the step that is traced back. For example, the parameter
図6は、測定した運転情報を表示器(不図示)に表示させた画面を示す。図7は、推定した回路定数を表示器(不図示)に表示させた画面を示す。図8は、計算した最適パラメータを表示器(不図示)に表示させた画面を示す。
図6に示すように、図5に記載のフローチャートのステップS10では、表示器(不図示)に、自動測定部117が自動測定した運転情報として、同期モータ41の回転数SPEED[rmp]及び加速度ACC[rmp/s]、並びにモータ駆動装置31のD相電流ID[A]の各々の時刻歴波形が表示される。
また、図7に示すように、表示器(不図示)には、表示を切り替えることで、推定部118が推定した回路定数として、インダクタンス比Lq/Ld[無次元]及びQ相インダクタンスLq[mH]の各々が表示される。このとき、表示器には、図6に示した各波形において、加速度が最大となる領域(破線で囲まれた領域)と、該領域内において上記インダクタンス比Lq/Ld及びQ相インダクタンスLqの計算が行われた計算範囲(矢印の範囲)があわせて表示される。
また、図8に示すように、表示器(不図示)には、表示を切り替えることで、計算部119が計算した各種最適パラメータが表示される。
FIG. 6 shows a screen in which the measured operation information is displayed on a display (not shown). FIG. 7 shows a screen in which the estimated circuit constant is displayed on a display (not shown). FIG. 8 shows a screen in which the calculated optimum parameters are displayed on a display (not shown).
As shown in FIG. 6, in step S10 of the flowchart shown in FIG. 5, the rotational speed SPEED [rmp] and the acceleration of the
Further, as shown in FIG. 7, by switching the display on the display (not shown), the inductance ratio Lq/Ld [dimensionless] and the Q-phase inductance Lq [mH] are set as the circuit constants estimated by the estimation unit 118. ] Are displayed. At this time, on the display, in each waveform shown in FIG. 6, a region in which the acceleration is maximum (region surrounded by a broken line) and calculation of the inductance ratio Lq/Ld and the Q-phase inductance Lq in the region are calculated. The calculation range (the range of the arrow) for which is performed is also displayed.
Further, as shown in FIG. 8, various optimum parameters calculated by the
上記のパラメータ決定支援装置11は、初期パラメータを適用して、試運転プログラムにより、基底速度に基づいた第1条件、及び該第1条件からモータ駆動装置31のD相電流ID[A]が変更された第2条件の各々の条件で同期モータ41を加速させながら駆動した際の運転情報として、同期モータ41の加速度ACC[rpm/s]及びモータ駆動装置31のD相電流ID[A]を自動測定し、この運転情報に基づいて、同期モータ41の回路定数として、インダクタンス比Lq/Ld[無次元]及びQ相インダクタンスLq[mH]を推定し、この回路定数に基づいて、同期モータ41の出力仕様に合わせた最適パラメータを計算する。
The above-described parameter
これにより、回路定数が未知の同期モータ41を駆動する際の、駆動パラメータの決定を簡略化し、決定に要する時間を短縮することが可能となる。
As a result, it becomes possible to simplify the determination of the drive parameters when driving the
また、上記のパラメータ決定支援装置11は、測定した運転情報、推定した回路定数、及び計算した最適パラメータのうち少なくとも一つを表示する表示部120を更に備える。
The parameter
これにより、オペレータは、どのようなロジックでパラメータが決定され、その結果どのような出力になるかを確認することにより、パラメータの妥当性を判断した上で、最適パラメータを決定できる。 Thereby, the operator can determine the optimum parameter after determining the validity of the parameter by confirming what logic determines the parameter and what kind of output is obtained as a result.
なお、上記のパラメータ決定支援装置11に含まれる各装置は、ハードウェア、ソフトウェア又はこれらの組合せによりそれぞれ実現することができる。また、上記のパラメータ決定支援装置11に含まれる各装置により行われるパラメータ決定方法も、ハードウェア、ソフトウェア又はこれらの組合せにより実現することができる。ここで、ソフトウェアによって実現されるとは、コンピュータがプログラムを読み込んで実行することにより実現されることを意味する。
Each device included in the parameter
プログラムは、様々なタイプの非一時的なコンピュータ可読媒体(non-transitory computer readable medium)を用いて格納され、コンピュータに供給することができる。非一時的なコンピュータ可読媒体は、様々なタイプの実体のある記録媒体(tangible storage medium)を含む。非一時的なコンピュータ可読媒体の例は、磁気記録媒体(例えば、フレキシブルディスク、磁気テープ、ハードディスクドライブ)、光磁気記録媒体(例えば、光磁気ディスク)、CD−ROM(Read Only Memory)、CD−R、CD−R/W、半導体メモリ(例えば、マスクROM、PROM(Programmable ROM)、EPROM(Erasable PROM)、フラッシュROM、RAM(random access memory))を含む。また、プログラムは、様々なタイプの一時的なコンピュータ可読媒体(transitory computer readable medium)によってコンピュータに供給されてもよい。一時的なコンピュータ可読媒体の例は、電気信号、光信号、及び電磁波を含む。一時的なコンピュータ可読媒体は、電線及び光ファイバ等の有線通信路、又は、無線通信路を介して、プログラムをコンピュータに供給できる。 The program can be stored using various types of non-transitory computer readable media, and can be supplied to a computer. Non-transitory computer readable media include various types of tangible storage media. Examples of the non-transitory computer readable medium include a magnetic recording medium (eg, flexible disk, magnetic tape, hard disk drive), magneto-optical recording medium (eg, magneto-optical disk), CD-ROM (Read Only Memory), CD- R, CD-R/W, and semiconductor memory (for example, mask ROM, PROM (Programmable ROM), EPROM (Erasable PROM), flash ROM, RAM (random access memory)) are included. In addition, the program may be supplied to the computer by various types of transitory computer readable media. Examples of transitory computer-readable media include electrical signals, optical signals, and electromagnetic waves. The temporary computer-readable medium can supply the program to the computer via a wired communication path such as an electric wire and an optical fiber, or a wireless communication path.
なお、上記実施形態において、自動測定部117が運転情報を2回自動測定した場合を例に説明したが、本発明はこれに限定されるものではなく、3回以上自動測定して平均値を用いるようにしてもよい。自動測定部117が自動測定する回数を増やして平均値を用いることで、ノイズや速度変動等での局所的な値での誤差をなくすことができ、ひいては、測定データの統計的な信頼性を上げることができる。
In addition, in the said embodiment, although the
1 モータ駆動システム
11 パラメータ決定支援装置
21 数値制御装置
31 モータ駆動装置
41 同期モータ
111 制御部
112 検知部
113 入力部
114 取得部
115 初期パラメータ決定部
116 プログラム作成部
117 自動測定部
118 推定部
119 計算部
120 表示部
DESCRIPTION OF SYMBOLS 1
Claims (3)
前記仕様情報及び前記出力仕様情報に基づいて、試運転用の初期パラメータを決定する初期パラメータ決定手段と、
前記出力仕様情報に基づいて、前記同期モータの出力を決定するパラメータの調整のために必要なデータを取得するための試運転であって、前記同期モータを略一定回転数で回転させたり、加減速させたりした時の、駆動電流値、駆動電圧値、及び回転数のデータを確認するために前記同期モータを駆動する試運転に用いられる、試運転プログラムを作成するプログラム作成手段と、
前記初期パラメータを適用して、前記試運転プログラムにより、基底速度に基づいた第1条件、及び前記第1条件から前記モータ駆動装置のD相電流が変更された第2条件の各々の条件で前記同期モータを加速させながら駆動した際の運転情報として、前記同期モータの加速度、及び前記モータ駆動装置のD相電流を自動測定する自動測定手段と、
前記運転情報に基づいて、前記同期モータの回路定数として、インダクタンス比及びQ相インダクタンスを推定する推定手段と、
前記回路定数に基づいて、前記同期モータの出力仕様に合わせた最適パラメータの計算を行う計算手段と、を備え、
前記初期パラメータは、前記同期モータを駆動する最大電流値、D相電流値、前記同期モータの最高回転数、前記モータ駆動装置から取り込んだ電流値のフィードバックを実際の物理量に換算する係数のうち少なくとも一つを含み、
前記出力仕様情報は、前記同期モータの定格出力及び基底回転数のうち少なくとも一つを含む、モータ駆動用のパラメータ決定支援装置。 Acquisition means for acquiring the specification information of the motor drive device and the output specification information of the synchronous motor,
Based on the specification information and the output specification information, initial parameter determination means for determining the initial parameters for the trial run,
It is a test operation for acquiring data necessary for adjusting the parameter that determines the output of the synchronous motor based on the output specification information, and rotates the synchronous motor at a substantially constant rotation speed or accelerates/decelerates. And a driving current value, a driving voltage value, and a program creating means for creating a test operation program used for a test operation for driving the synchronous motor to confirm the data of the number of revolutions ,
By applying the initial parameters, the test operation program performs the synchronization under each of the first condition based on the base speed and the second condition in which the D-phase current of the motor drive device is changed from the first condition. Automatic driving means for automatically measuring the acceleration of the synchronous motor and the D-phase current of the motor driving device as the driving information when the motor is driven while being accelerated;
Estimating means for estimating an inductance ratio and a Q-phase inductance as a circuit constant of the synchronous motor based on the operation information;
Based on the circuit constant, the calculation means for calculating the optimum parameters in accordance with the output specifications of the synchronous motor,
The initial parameter is at least one of a maximum current value for driving the synchronous motor, a D-phase current value, a maximum rotation speed of the synchronous motor, and a coefficient for converting feedback of a current value fetched from the motor driving device into an actual physical quantity. Including one,
The output specification information is a parameter determination support device for driving a motor , which includes at least one of a rated output and a base rotation speed of the synchronous motor .
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018026167A JP6740265B2 (en) | 2018-02-16 | 2018-02-16 | Parameter determination support device and program |
DE102019000830.8A DE102019000830A1 (en) | 2018-02-16 | 2019-02-05 | PARAMETER DETERMINATION DEVICE AND PROGRAM |
US16/271,595 US10928452B2 (en) | 2018-02-16 | 2019-02-08 | Parameter determination support device, and non-transitory computer-readable medium encoded with program |
CN201910112910.1A CN110161971B (en) | 2018-02-16 | 2019-02-13 | Parameter determination support device and computer-readable medium having program recorded thereon |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018026167A JP6740265B2 (en) | 2018-02-16 | 2018-02-16 | Parameter determination support device and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2019144677A JP2019144677A (en) | 2019-08-29 |
JP6740265B2 true JP6740265B2 (en) | 2020-08-12 |
Family
ID=67482174
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018026167A Active JP6740265B2 (en) | 2018-02-16 | 2018-02-16 | Parameter determination support device and program |
Country Status (4)
Country | Link |
---|---|
US (1) | US10928452B2 (en) |
JP (1) | JP6740265B2 (en) |
CN (1) | CN110161971B (en) |
DE (1) | DE102019000830A1 (en) |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6252367B1 (en) * | 1999-01-11 | 2001-06-26 | Fanuc Ltd. | Servo controller |
JP3695342B2 (en) * | 2001-04-11 | 2005-09-14 | 株式会社日立製作所 | Electric motor control device |
JP2003316422A (en) * | 2002-04-25 | 2003-11-07 | Mitsubishi Electric Corp | Device for automatically adjusting control parameter |
JP3832443B2 (en) * | 2003-03-28 | 2006-10-11 | 株式会社日立製作所 | AC motor control device |
JP4730073B2 (en) * | 2005-12-02 | 2011-07-20 | 株式会社日立製作所 | Permanent magnet synchronous motor vector controller, inverter module, and permanent magnet synchronous motor motor constant display system |
JP5178350B2 (en) * | 2008-06-27 | 2013-04-10 | 日立アプライアンス株式会社 | Motor drive apparatus and refrigeration apparatus using the same |
WO2012133220A1 (en) * | 2011-03-25 | 2012-10-04 | アイシン・エィ・ダブリュ株式会社 | Control device |
JP5916342B2 (en) * | 2011-10-21 | 2016-05-11 | 三菱重工業株式会社 | Motor control device and motor control method |
KR101451053B1 (en) * | 2012-12-10 | 2014-10-15 | 미쓰비시덴키 가부시키가이샤 | Multi-axis control system setting/adjustment function supporting apparatus |
JP6197655B2 (en) * | 2014-01-09 | 2017-09-20 | スズキ株式会社 | Control device for permanent magnet synchronous motor |
CN105978428B (en) * | 2015-03-13 | 2019-07-26 | 光宝科技股份有限公司 | servo motor system and control method thereof |
-
2018
- 2018-02-16 JP JP2018026167A patent/JP6740265B2/en active Active
-
2019
- 2019-02-05 DE DE102019000830.8A patent/DE102019000830A1/en active Pending
- 2019-02-08 US US16/271,595 patent/US10928452B2/en active Active
- 2019-02-13 CN CN201910112910.1A patent/CN110161971B/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2019144677A (en) | 2019-08-29 |
US10928452B2 (en) | 2021-02-23 |
CN110161971A (en) | 2019-08-23 |
CN110161971B (en) | 2021-05-04 |
DE102019000830A1 (en) | 2019-08-22 |
US20190257883A1 (en) | 2019-08-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4805329B2 (en) | Control device for calculating power consumption of industrial machinery | |
US9257923B2 (en) | Control system for synchronous motor including abnormality detection and diagnosis function | |
JP5277787B2 (en) | Synchronous motor drive control device | |
JP6721628B2 (en) | Parameter determination support device and program | |
JP6717791B2 (en) | Parameter decision support device | |
JP6740265B2 (en) | Parameter determination support device and program | |
JP6730339B2 (en) | Parameter determination support device and program | |
JP6730338B2 (en) | Parameter determination support device and program | |
JP6949813B2 (en) | Parameter determination support device, parameter determination support method, and program | |
JP6949814B2 (en) | Parameter determination support device, parameter determination support method, and program | |
WO2020255584A1 (en) | Electric tool | |
JP2002073176A (en) | Rotary axis fixed position stop control device | |
CN114884285A (en) | Positioning method of motor encoder |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190612 |
|
A871 | Explanation of circumstances concerning accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A871 Effective date: 20190913 |
|
A975 | Report on accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A971005 Effective date: 20191011 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20200110 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20200121 |
|
A601 | Written request for extension of time |
Free format text: JAPANESE INTERMEDIATE CODE: A601 Effective date: 20200319 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200511 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20200623 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20200722 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6740265 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |