JP5208377B2 - Electric motor driving apparatus and electric motor driving method - Google Patents

Electric motor driving apparatus and electric motor driving method Download PDF

Info

Publication number
JP5208377B2
JP5208377B2 JP2006145118A JP2006145118A JP5208377B2 JP 5208377 B2 JP5208377 B2 JP 5208377B2 JP 2006145118 A JP2006145118 A JP 2006145118A JP 2006145118 A JP2006145118 A JP 2006145118A JP 5208377 B2 JP5208377 B2 JP 5208377B2
Authority
JP
Japan
Prior art keywords
trace
file
external memory
data
setting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2006145118A
Other languages
Japanese (ja)
Other versions
JP2007318899A (en
Inventor
伸治 米本
正樹 杉浦
哲男 梁田
裕理 高野
豊 松本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Industrial Equipment Systems Co Ltd
Original Assignee
Hitachi Industrial Equipment Systems 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 Hitachi Industrial Equipment Systems Co Ltd filed Critical Hitachi Industrial Equipment Systems Co Ltd
Priority to JP2006145118A priority Critical patent/JP5208377B2/en
Priority to DE102006056637A priority patent/DE102006056637A1/en
Priority to CNA200610168737XA priority patent/CN101079589A/en
Publication of JP2007318899A publication Critical patent/JP2007318899A/en
Application granted granted Critical
Publication of JP5208377B2 publication Critical patent/JP5208377B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P29/00Arrangements for regulating or controlling electric motors, appropriate for both AC and DC motors
    • H02P29/02Providing protection against overload without automatic interruption of supply
    • H02P29/032Preventing damage to the motor, e.g. setting individual current limits for different drive conditions

Description

本発明は、電動機駆動装置及び電動機駆動方法に関し、特に電動機を駆動する駆動装置の内部データトレース技術に関する。   The present invention relates to an electric motor drive device and an electric motor drive method, and more particularly to an internal data tracing technique of a drive device that drives an electric motor.

電動機を駆動するサーボアンプのような電動機起動装置は、近年その普及が目覚しく、半導体・液晶製造装置、ロボット、組み立て機械、プレス機械など、多肢にわたり使用されており、その需要は年々加速している。上記のような産業機械では、高タクトで製品を製造する要求があり、そのため、上記製造装置の核となるサーボアンプなどは、高性能・高機能が求められてきた。上記産業機器における、サーボアンプへの要求は、高性能・高機能とともに、初期調整が簡単に行えること・故障その他のトラブルにすばやく対応し、生産の停止状態を可能な限り少なくすることが求められている。   In recent years, motor starters such as servo amplifiers that drive motors have been widely used, and they are used in a wide range of applications, including semiconductor and liquid crystal manufacturing equipment, robots, assembly machines, and press machines. Yes. In the industrial machines as described above, there is a demand for manufacturing a product with a high tact time. For this reason, a servo amplifier or the like that is the core of the manufacturing apparatus has been required to have high performance and high function. The demand for servo amplifiers in the above industrial equipment requires high performance, high functionality, easy initial adjustment, quick response to failures and other troubles, and as few production halts as possible. ing.

従来、上記産業機械の性能を十分に引き出すための調整をする場合、または、何かしらのトラブルが発生しそのトラブルを調査する場合、サーボアンプなどでは、パソコンなどを用意し、サーボアンプとパソコンを接続し、実際に機械を動かしながら、サーボアンプ内部のデータをリアルタイムにモニタし解析していた。電動機駆動装置を管理する技術について、特許文献1〜3に開示されたものがある。
特開2002−272139号公報 特開平1−264586号公報 特開2002−223586号公報
Conventionally, when making adjustments to fully exploit the performance of the above industrial machines, or when investigating any troubles that occur, prepare a personal computer, etc. for the servo amplifier, and connect the servo amplifier to the personal computer. However, while actually moving the machine, the data inside the servo amplifier was monitored and analyzed in real time. Regarding techniques for managing an electric motor drive device, there are those disclosed in Patent Documents 1 to 3.
JP 2002-272139 A Japanese Patent Laid-Open No. 1-264586 JP 2002-223586 A

上記、従来技術の問題として、パソコンなどを製造機械の設置されている現場に持っていき、人がつきっきりで、調整やトラブル調査を行う必要がある。この場合、単純な故障などはすばやく対処できる可能性が高いが、再現性の少ないトラブル、特に、機械は正常に動いているが、例えば数日に1回、何らかの原因で機械が警告を発し停止するが、原因がわからないまま生産をつづけている場合や、特に警告は発生しないが、ごくまれに生産製品に不良が混在するが、その原因がつかめないなどの場合、その原因究明には多大な時間が費やされる場合がある。また、これらの作業は、サーボアンプなどに詳しいメーカのサポート要員などが行うことが殆どであり、要員不足などで、十分なサポートが出来ない場合も発生していた。   As a problem of the above-mentioned prior art, it is necessary to bring a personal computer etc. to the site where the manufacturing machine is installed, and to make adjustments and trouble investigations by people. In this case, there is a high possibility that simple faults can be quickly dealt with, but troubles with low reproducibility, in particular, the machine is operating normally. For example, once every few days, the machine issues a warning and stops for some reason. However, if the production is continued without knowing the cause, or if there is no particular warning, but there are rarely mixed defects in the production product, but the cause cannot be grasped, it is very difficult to investigate the cause. Time may be spent. In addition, these operations are mostly performed by support personnel from manufacturers who are familiar with servo amplifiers and the like, and there are cases where sufficient support cannot be achieved due to lack of personnel.

また、サーボアンプ単体には故障が見当たらないが、再現性が少ないトラブルの発生例としては、(1)ごくまれに瞬間的な停電が発生し、その結果で製品の品質を落とす。(2)電気的ノイズの発生により、機械が一時停止してしまう。(3)上流工程から想定外の被加工製品が流れてきて、当該機械においてサーボアンプが過剰トルクを出力するなどが挙げられる。   In addition, there is no failure in the servo amplifier alone, but examples of troubles with low reproducibility are as follows: (1) In rare cases, an instantaneous power failure occurs, resulting in a reduction in product quality. (2) The machine stops temporarily due to the generation of electrical noise. (3) An unexpected work product flows from the upstream process, and the servo amplifier outputs excessive torque in the machine.

従来でも、上記のようなトラブルの場合、サーボアンプ単体で異常を検出し、警告を発生させる機能はあるが、これらは、ある一定以上の過度な異常の場合であり、あくまでも機械あるいはサーボアンプ単体の保護を目的としたものである。   Conventionally, in the case of troubles as described above, there is a function to detect an abnormality with a servo amplifier alone and generate a warning, but these are cases of excessive abnormality over a certain level, and it is only a machine or servo amplifier alone The purpose is to protect the environment.

また、上記特許文献1ではインバータシステムについて説明しているが、サーボアンプ等の電動機駆動装置一般に適応できる技術が提案されている。特許文献1では、警告が発生した瞬間の各種データを解析する事を意図しており、またそのデータ転送方法として携帯電話を想定している。しかしながら、警告が発生した場合、その瞬時データと共に、警告発生時の前後数秒間の出力トルクや入出力接点状態などをトレースできればより正確な故障原因が解析できる場合がある。また、生産設備が設置される工場内部などのでは、携帯電話が圏外となる可能性もある。そして、特許文献2では、データを蓄積して故障等の診断を行う事が開示されており、特許文献3では、コンピュータを利用し、電動機駆動装置の動作状態の解析を行う事が示されているが、取外し可能な外部記憶装置との連携は考慮されていない。   Moreover, although the said patent document 1 has demonstrated the inverter system, the technique which can be applied to general motor drive devices, such as a servo amplifier, is proposed. In Patent Document 1, it is intended to analyze various data at the moment when a warning occurs, and a cellular phone is assumed as the data transfer method. However, when a warning occurs, it may be possible to analyze the cause of failure more accurately if the output data and the input / output contact state for several seconds before and after the warning can be traced together with the instantaneous data. In addition, mobile phones may be out of service area, such as in factories where production facilities are installed. Patent Document 2 discloses that data is accumulated to diagnose a failure or the like, and Patent Document 3 discloses that a computer is used to analyze the operating state of the motor drive device. However, cooperation with a removable external storage device is not considered.

本発明では、上記のような再現性の少ないトラブルに対し、生産機械の設置されている現場にパソコンなどの計測装置を持って行くことなく、また、可能な限り人が機械を監視し続けることなく、取外し可能な外部記憶装置と連携し、原因を早期発見対処し解決することができる電動機駆動装置及び電動機駆動方法を提供することを目的とする。   In the present invention, for troubles with low reproducibility as described above, it is necessary to keep a person monitoring the machine as much as possible without taking a measuring device such as a personal computer to the site where the production machine is installed. It is another object of the present invention to provide an electric motor driving apparatus and an electric motor driving method capable of cooperating with a removable external storage device and coping with and solving the cause early.

これらの問題と、上記本発明が解決しようとする課題を解決する為、本発明の電動機駆動装置は、以下の構成とする。上記課題は、外部メモリのインターフェイスと、その外部メモリにあらかじめ設定されたトレース設定ファイルを自動的に内部メモリに読み込み、そのトレース設定に従って、電動機駆動装置の任意のデータ(例えば、出力電流値や電動機駆動電圧など)をサンプリングトレースして内部のメモリに記憶していき、任意のタイミング(例えば、電源投入や指定の出力トルク以上など、発生するトラブルが、ごくまれに生産製品に微小な傷が検出されるような場合は、そのトリガを外部入力とて電動機駆動装置に入力してもよい)をトリガとして、そのトリガ発生の前後数秒間をトレースデータとして、外部メモリに出力する機能を有し、そのトレースデータを別途パソコンなどにて解析することにより達成される。   In order to solve these problems and the problems to be solved by the present invention, the electric motor drive device of the present invention has the following configuration. The above problem is that an external memory interface and a trace setting file set in advance in the external memory are automatically read into the internal memory, and arbitrary data of the motor drive device (for example, output current value and motor Sampling trace of drive voltage, etc. and storing it in the internal memory, and troubles that occur at any timing (for example, turning on the power or exceeding the specified output torque) are detected in very rare cases. In such a case, the trigger may be input to the motor drive device as an external input), and has a function of outputting several seconds before and after the occurrence of the trigger as trace data to an external memory, This is achieved by separately analyzing the trace data with a personal computer or the like.

すなわち、本発明は、電動機を駆動制御する電動機駆動処理部と、前記電動機の状態を把握する電動機状態把握部と、前記電動機の駆動データ及び前記電動機状態把握部が把握した状態データを内部データとして記憶する内部記憶部と、外部記憶装置を取外し可能に取付け、前記外部記憶装置の着脱状態を検知して前記電動機状態把握部に着脱状態を報知する外部記憶装置インターフェイスとを備え、該外部記憶装置インターフェイスによって前記外部記憶装置の接続が検出された際、前記外部記憶装置から、予め指定された複数のデータファイルを検索し、発見したデータファイルを読み込み、読み込んだ前記データファイルに、取得する内部データの種類と取得開始する条件とを記述したトレース設定ファイルが含まれるか否かを判別し、トレース設定ファイルを前記内部記憶部に展開し、トレース設定ファイルの内容に従って前記電動機状態把握部を作動させ、生成される状態データを内部データとして前記内部記憶部に記憶させ、前記内部記憶部が記憶する内部データを、前記外部記憶装置に転送するように構成し、前記外部記憶装置から、電動機駆動装置を動作させるための各種設定項目を記述したパラメータファイルを読み出して設定し、内容の相違するトレース設定ファイル及び内容の相違するパラメータファイルがそれぞれn個ある場合、第1のトレース設定ファイルと第1のパラメータファイルの設定に基づいて内部データを取得し、取得した内部データを外部記憶装置に転送した後、続いて、第2以降のトレース設定ファイルと第2以降のパラメータファイルに基づいて、それぞれ内部データの取得と外部記憶装置への転送する電動機駆動装置である。
That is, the present invention provides, as internal data, an electric motor drive processing unit that controls driving of an electric motor, an electric motor state grasping unit that grasps the state of the electric motor, drive data of the electric motor, and state data grasped by the electric motor state grasping unit. An external storage device that detachably attaches an external storage device, detects an attachment / detachment state of the external storage device, and notifies the motor state grasping unit of the attachment / detachment state; internal when the connection of the external storage device is detected by the interface, from the external storage device, it searches the pre-specified multiple data files, read the discovery data file, the data file loaded, to obtain Determine whether a trace setting file that describes the type of data and the conditions for starting acquisition is included The trace setting file is expanded in the internal storage unit, the motor state grasping unit is operated according to the contents of the trace setting file, and the generated state data is stored as internal data in the internal storage unit, and the internal storage unit stores The internal data to be transferred is transferred to the external storage device, and a parameter file in which various setting items for operating the motor drive device are read from the external storage device and set, and the traces having different contents When there are n setting files and parameter files with different contents, internal data is acquired based on the settings of the first trace setting file and the first parameter file, and the acquired internal data is transferred to the external storage device Then, the trace setting file after the second and the parameter file after the second Based on a motor drive device for transfer to retrieve the external storage device in the data.

そして、本発明は、検索した結果、予め指定されたデータファイルが存在しない場合、または、検出したデータファイルが予め指定した内容と異なるデータ構造の場合、警告を知らせるように構成した電動機駆動装置である。 The present invention is an electric motor driving device configured to notify a warning when a pre-designated data file does not exist as a result of the search or when the detected data file has a data structure different from the pre-designated content. is there.

更に、本発明は、電動機駆動処理部により電動機を駆動制御するとともに、電動機状態把握部により前記電動機の状態を把握し、前記電動機の駆動データ及び前記電動機状態把握部が把握した状態データを内部データとして内部記憶部に記憶し、前記外部記憶装置の着脱状態を検知して前記電動機状態把握部に着脱状態を報知する外部記憶装置インターフェイスにより外部記憶装置を取外し可能に取付け、該外部記憶装置インターフェイスによって前記外部記憶装置の接続が検出された際、前記外部記憶装置から、予め指定された複数のデータファイルを検索し、発見したデータファイルを読み込み、
読み込んだ前記データファイルに、取得する内部データの種類と取得開始する条件とを記述したトレース設定ファイルが含まれるか否かを判別し、
トレース設定ファイルを前記内部記憶部に展開し、トレース設定ファイルの内容に従って前記電動機状態把握部を作動させ、生成される状態データを内部データとして前記内部記憶部に記憶させ、前記内部記憶部が記憶する内部データを、前記外部記憶装置に転送させ、
前記外部記憶装置から、電動機駆動装置を動作させるための各種設定項目記述したパラメータファイルを読み出して設定させ、
内容の相違するトレース設定ファイル及び内容の相違するパラメータファイルがそれぞれn個ある場合、第1のトレース設定ファイルと第1のパラメータファイルの設定に基づいて内部データを取得し、取得した内部データを外部記憶装置に転送した後、つづいて、第2以降のトレース設定ファイルと第2以降のパラメータファイルに基づいて、それぞれ内部データの取得と外部記憶装置への転送する電動機駆動方法である。
Furthermore, the present invention controls the drive of the motor by the motor drive processing unit , grasps the state of the motor by the motor state grasping unit, and stores the drive data of the motor and the state data grasped by the motor state grasping unit as internal data. The external storage device is detachably attached by an external storage device interface that detects the attachment / detachment state of the external storage device and notifies the motor state grasping portion of the attachment / detachment state. wherein when the connection of the external storage device is detected, from said external storage device, searches the pre-specified multiple data files, read the discovery data file,
It is determined whether or not the read data file includes a trace setting file that describes the type of internal data to be acquired and the conditions for starting acquisition,
The trace setting file is expanded in the internal storage unit, the motor state grasping unit is operated according to the contents of the trace setting file, and the generated state data is stored as internal data in the internal storage unit, and the internal storage unit stores To transfer the internal data to the external storage device ,
From the external storage device, read and set a parameter file describing various setting items for operating the motor drive device,
When there are n trace setting files with different contents and n parameter files with different contents, internal data is acquired based on the settings of the first trace setting file and the first parameter file, and the acquired internal data is This is an electric motor driving method for acquiring internal data and transferring the data to an external storage device based on the second and subsequent trace setting files and the second and subsequent parameter files after transferring to the storage device .

そして、本発明は、検索した結果、予め指定されたデータファイルが存在しない場合、または、検出したデータファイルが予め指定した内容と異なるデータ構造の場合、警告を知らせる電動機駆動方法である。   The present invention is an electric motor driving method for notifying a warning when a data file designated in advance does not exist as a result of the search or when the detected data file has a data structure different from the content designated in advance.

本発明によれば、従来よりも、高機能化を図った電動機駆動装置及び電動機駆動方法が提供可能となる。   According to the present invention, it is possible to provide an electric motor drive device and an electric motor drive method that have higher functionality than conventional ones.

本発明を実施するための最良の形態を説明する。
以下、本発明の電動機駆動装置の実施例について、図1〜図4を用いて詳細に説明する。各図中において、共通する符号は同一物を示す。図1は本実施例として、サーボアンプのシステムブロック図を示すものである。図1のサーボアンプ1は、電動機2を駆動するための電動機駆動処理部11と、電動機駆動処理部11の任意データをトレースするトレース処理部12と、トレース処理部12がトレースするデータおよび条件等を保存するトレース設定メモリ13と、トレースしたデータを保存するトレースデータ保存メモリ15と、外部メモリ3が取り付けられると、外部メモリ取り付け信号を発生し、外部メモリ3とデータの入出力を行う外部メモリインターフェイス14と、トレース設定ファイル41の正常・異常判定やトレース終了を知らせるシグナルLED16と、で構成される。
The best mode for carrying out the present invention will be described.
Hereinafter, the Example of the electric motor drive device of this invention is described in detail using FIGS. In each figure, the common code | symbol shows the same thing. FIG. 1 shows a system block diagram of a servo amplifier as this embodiment. The servo amplifier 1 in FIG. 1 includes an electric motor drive processing unit 11 for driving the electric motor 2, a trace processing unit 12 that traces arbitrary data of the electric motor drive processing unit 11, data and conditions that the trace processing unit 12 traces, etc. When the trace setting memory 13 for saving the data, the trace data saving memory 15 for saving the traced data, and the external memory 3 are attached, an external memory attaching signal is generated and an external memo for inputting / outputting data to / from the external memory 3 is provided. and Rii interface 14, a signal LED16 notifying normal or abnormal determination and trace end trace configuration file 41, in constructed.

図2は、外部メモリ3がサーボアンプに取り付けられてから、トレースデータを外部メモリに出力するまでのフローチャートを示す。外部メモリ3は、例えば、USBメモリチップやSDメモリカードを想定する。近年ではこれらの外部メモリが市販でかつ安価に手に入れることが可能である。外部メモリ3を外部メモリインターフェイス14に取り付けることで、外部メモリインターフェイス14は、トレース処理部12に対し、外部メモリ取り付け信号を出力する。   FIG. 2 shows a flowchart from when the external memory 3 is attached to the servo amplifier until the trace data is output to the external memory. As the external memory 3, for example, a USB memory chip or an SD memory card is assumed. In recent years, these external memories are commercially available and can be obtained at low cost. By attaching the external memory 3 to the external memory interface 14, the external memory interface 14 outputs an external memory attachment signal to the trace processing unit 12.

外部メモリ取り付け信号を検出したトレース処置部12は、外部メモリ3が接続されたかを判断し(S101)、接続されると、トレース設定ファイルを検索し(S111)、トレース設定ファイル41が存在するかを判定する(S112)。トレース設定ファイル41が存在する場合はその内容を、トレース設定メモリ13に読み出す(S121)。次に、トレース設定ファイル41が、指定された正しい書式であるかどうかを確認し(S122)、間違った書式であればシグナルLED16に警告シグナルを出力する(S131)。正しいファイルがあるとき、「パラメータ設定」コマンドが有るかを判断し(S141)、無ければトレース処理を起動し(S152)、有ればパラメータを設定(S151)した後にトレース処理を起動し(S152)、トレース設定ファイル41に指定されたデータを、所定のサンプリング時間間隔にて、トレースデータ保存メモリ15に書き込む。トレースデータ保存メモリ15の最後までデータを書き込んだら、メモリの先頭から上書きをし、その動作を繰り返す。トレース処理部12は、トレース設定メモリ13にあるトリガ条件が成立(S153)したら、トレース設定メモリに指定された、トリガ条件成立後の所定時間だけサンプリングを実行し、その後、トレースデータ保存メモリ15の内容を、外部メモリ3にセーブし(S161)、サーボアンプの設定パラメータ一覧も外部メモリ3にセーブする(S162)。次に、シグナルLED16に終了シグナルを出力する(S163)。 The trace processing unit 12 that has detected the external memory attachment signal determines whether or not the external memory 3 is connected (S101). When the external memory 3 is connected, the trace processing unit 12 searches for the trace setting file (S111) and whether the trace setting file 41 exists. Is determined (S112). If the trace setting file 41 exists, the contents are read out to the trace setting memory 13 (S121). Next, it is confirmed whether or not the trace setting file 41 has the specified correct format (S122). If the format is incorrect, a warning signal is output to the signal LED 16 (S131). When there is a correct file, it is determined whether there is a “parameter setting” command (S141). If there is no command, trace processing is started (S152). If there is, a parameter is set (S151) and then trace processing is started (S152). The data specified in the trace setting file 41 is written into the trace data storage memory 15 at a predetermined sampling time interval. When data is written to the end of the trace data storage memory 15, it is overwritten from the top of the memory and the operation is repeated. When the trigger condition in the trace setting memory 13 is satisfied (S153), the trace processing unit 12 performs sampling for a predetermined time after the trigger condition specified in the trace setting memory, and then in the trace data storage memory 15 The contents are saved in the external memory 3 (S161), and the servo amplifier setting parameter list is also saved in the external memory 3 (S162). Next, an end signal is output to the signal LED 16 (S163).

また、トレース処理部12は、トレース設定ファイルを自動検索・読み出した時、トレース設定ファイル41に「パラメータ設定」コマンドが記述されていれば、外部メモリ3からパラメータファイルを読みだして、サーボアンプの各種パラメータの再設定も行う機能も提供する。   Also, when the trace processing unit 12 automatically searches and reads the trace setting file and the “parameter setting” command is described in the trace setting file 41, the trace processing unit 12 reads the parameter file from the external memory 3 and It also provides a function to reset various parameters.

次に、トレース設定ファイル41の内容について、その構成例を図3にて説明する。トレース設定ファイル41は、最低限、ファイル識別子・トレースに関連するデータ群で構成される。ファイル識別子は、このファイルがトレース設定ファイルかどうかを、トレース処理部12が判定するのに使用する。この判定でファイル異常を検出すれば、シグナルLED16に警告シグナルを出力する。トレースに関するデータ郡としては、サンプリング間隔、トリガ後サンプリング回数、トリガ条件、取得データ数、具体的な取得データ名等で構成される。   Next, a configuration example of the contents of the trace setting file 41 will be described with reference to FIG. The trace setting file 41 is composed of a data group related to a file identifier / trace at a minimum. The file identifier is used by the trace processing unit 12 to determine whether this file is a trace setting file. If a file abnormality is detected in this determination, a warning signal is output to the signal LED 16. The data group related to the trace includes a sampling interval, the number of times of sampling after triggering, a trigger condition, the number of acquired data, a specific acquired data name, and the like.

また、トレース設定ファイル41は、オプションとして、「トレースコマンド」、「設定パラメータファイル名」、「次に読み出すトレース設定ファイル」を持つ。トレースコマンドに「トレース実行」を有効または無効、「パラメータ設定」を有効または無効を設定できるようにすれば、(1)トレースのみ実行(2)パラメータ設定のみ実行(3)パラメータを設定した後、トレースを実行、などの設定が可能となる。「次に読み出すトレース設定ファイル」に、別のファイル名で、「パラメータ設定」コマンドが設定されたトレース設定ファイルを設定すれば、最初のトレース設定ファイルを読み出して、そのトレースが実行された後に、次のトレース設定ファイルを読み出して、パラメータを再度設定した後、再度トレース開始というシーケンスが実現可能となる。   Further, the trace setting file 41 has “trace command”, “setting parameter file name”, and “trace setting file to be read next” as options. If you can enable or disable "Trace execution" and enable or disable "Parameter setting" in the trace command, (1) Only execute trace (2) Only execute parameter setting (3) After setting parameters Trace execution can be set. If you set a trace setting file with a different parameter name and a "parameter setting" command to the "trace setting file to be read next", after reading the first trace setting file and executing the trace, After reading the next trace setting file and setting the parameters again, a sequence of starting trace again can be realized.

次に、ユーザ機械で警告が検出され、それを解消するまでの手順について、図4を用いて説明する。ユーザ機械でトラブルが発生した(S201)場合、ユーザはトラブル内容をメーカサポートに連絡する(S202)。ユーザから連絡を受けたメーカサポートは、大まかな警告内容を確認し(S301)、サーボアンプのデータをトレースするためのトレース設定ファイル41を作成し(S302)、電子メールなどでユーザに送る(S303)。ユーザは、受け取った電子メールに添付された、トレース設定ファイル41をUSBメモリチップなどにコピーし(S203)、それをサーボアンプに取り付け(S204)、再度機械を動作させる。サーボアンプは、外部メモリからトレース設定ファイルを自動読み出しし(S401)、トリガ条件が成立した後、トレースデータを外部メモリに書き込み(S402)、LEDへ終了シグナルを出力する。ユーザは、終了シグナルを確認したら、外部メモリを取り外し、その後、外部メモリに出力されたトレースデータを、パソコンなどを用いて、メーカサポートへ電子メールで送付する(S205)。トレースデータを受け取ったメーカサポートは、トレースデータを解析し(S304)、警告が発生した原因を推定し、その対処方法をユーザへ連絡する(S305)。パラメータの再設定や、再度トレースが必要な場合は、再び、トレース設定ファイルをユーザに送り、トラブルが解消されるまで、上記手順を繰り返す。ユーザ側は、対処方法により、トラブルシューティングを行う(S206)。   Next, a procedure from when a warning is detected at the user machine until it is resolved will be described with reference to FIG. If a trouble occurs in the user machine (S201), the user notifies the manufacturer support of the trouble content (S202). The manufacturer support who has received the notification confirms the rough warning contents (S301), creates the trace setting file 41 for tracing the servo amplifier data (S302), and sends it to the user by e-mail or the like (S303). ). The user copies the trace setting file 41 attached to the received e-mail to a USB memory chip or the like (S203), attaches it to the servo amplifier (S204), and operates the machine again. The servo amplifier automatically reads the trace setting file from the external memory (S401), and after the trigger condition is satisfied, writes the trace data to the external memory (S402) and outputs an end signal to the LED. After confirming the end signal, the user removes the external memory, and then sends the trace data output to the external memory to the manufacturer support by e-mail using a personal computer or the like (S205). Upon receiving the trace data, the manufacturer support analyzes the trace data (S304), estimates the cause of the warning, and informs the user of the coping method (S305). If you need to reset parameters or trace again, send the trace setting file to the user again and repeat the above steps until the trouble is resolved. The user side performs troubleshooting by a coping method (S206).

以上説明したように、本実施例によれば、電動機駆動装置において、再現が難しいトラブルに対し、電動機駆動装置の任意のデータをトレースすることで原因の発見をする場合において、そのトレース設定とトレース結果を、外部メモリを介して自動的に行うことで、ユーザにとってわずらわしい各種設定を行わなくてすむ。これは、電話連絡で電動機駆動装置の設定などを変えてもらう場合のように、トラブル解決プロセスの一部を電動機駆動装置にあまり詳しくないユーザに任せる場合の2次トラブルを防ぐ効果もある。   As described above, according to the present embodiment, in the case where trouble is difficult to reproduce in the motor drive device, in the case where the cause is found by tracing arbitrary data of the motor drive device, the trace setting and the trace are performed. By automatically performing the result via the external memory, various settings that are troublesome for the user can be omitted. This also has an effect of preventing secondary troubles when a part of the trouble solving process is left to a user who is not familiar with the motor drive device, such as when the setting of the motor drive device is changed by telephone contact.

また、それらの設定をメーカサポート側が行うことで、設定の間違いを少なくし、確実に原因を絞り込んでゆくことで、トラブル解消のスピードを速めることができ、ユーザにとっては、機械の停止時間の短縮、メーカサポートにとっては1つのトラブルに長時間拘束されることなく、他のユーザへのサポートなどのメリットがある。   In addition, by making these settings on the manufacturer support side, it is possible to speed up the resolution of troubles by reducing the mistakes of settings and narrowing down the cause, and for the user, shortening the machine stop time. For the manufacturer support, there is an advantage such as support to other users without being restricted by one trouble for a long time.

そして、再現性の少ないトラブルに対し、生産機械の設置されている現場にパソコンなどの計測装置を持って行くことなく、また、可能な限り人が機械を監視し続けることなく、原因を早期発見対処し解決することができる電動機駆動装置及び電動機駆動方法を提供することができる。   And, for troubles with low reproducibility, discover the cause early without having to take a measuring device such as a personal computer to the site where the production machine is installed and without monitoring the machine as much as possible. An electric motor drive device and an electric motor drive method that can be dealt with and solved can be provided.

実施例の電動機駆動装置の内部構成図。The internal block diagram of the electric motor drive device of an Example. 実施例におけるトレース実行手順のフローチャート図。The flowchart figure of the trace execution procedure in an Example. 実施例におけるトレース設定ファイルの内部構成例図。The internal structural example figure of the trace setting file in an Example. 実施例におけるトラブル対策時のワークフロー図。The workflow figure at the time of the trouble countermeasure in an Example.

符号の説明Explanation of symbols

1…電動機駆動装置、2…電動機、3…外部メモリ、11…電動機駆動処理部、12…トレース処理部、13…トレース設定メモリ、14…外部メモリインターフェイス、15…トレースデータ保存メモリ、16…シグナルLED、41…トレース設定ファイル DESCRIPTION OF SYMBOLS 1 ... Electric motor drive device, 2 ... Electric motor, 3 ... External memory, 11 ... Electric motor drive processing part, 12 ... Trace processing part, 13 ... Trace setting memory, 14 ... External memory interface, 15 ... Trace data storage memory, 16 ... Signal LED, 41 ... Trace setting file

Claims (4)

電動機を駆動制御する電動機駆動処理部と、
前記電動機の状態を把握する電動機状態把握部と、
前記電動機駆動処理部の任意データをトレースするトレース処理部と、
該トレース処理部がトレースするデータおよび条件を保存するトレース設定メモリと、
前記トレース処理部がトレースしたデータを保存するトレースデータ保存メモリと、
外部メモリを取外し可能に取付け、前記外部メモリが取り付けられると、外部メモリ取り付け信号を発生し、外部メモリとデータの入出力を行う外部メモリインターフェイスとを備えており
前記トレース処理部は、
前記外部メモリインターフェイスからの外部メモリ取り付け信号の受信によって前記外部メモリの接続が検出された際、前記外部メモリら予め指定されたトレース設定ファイルを検索し、取得するトレースデータの種類と取得開始する条件とを記述したトレース設定ファイルが含まれるか否かを判別し、トレース設定ファイルが含まれる場合に当該トレース設定ファイルを読み込み、
読み込んだトレース設定ファイルにパラメータ設定コマンドがある場合に、前記外部メモリからパラメータファイルを読み込み、当該読み込んだパラメータファイルに基づいて、電動機駆動装置を動作させるための各種設定項目を電動機駆動装置に設定し、
当該トレース設定ファイルを前記トレース設定メモリに展開し、前記トレース設定ファイルの内容に従って前記トレース処理部を作動させ、生成されるトレースデータを前記トレースデータ保存メモリに記憶させ、前記トレースデータ保存メモリが記憶するトレースデータを、前記外部メモリに転送させ、
内容の相違するトレース設定ファイル及び内容の相違するパラメータファイルがそれぞれn個ある場合、第1のトレース設定ファイルと第1のパラメータファイルの設定に基づいてトレースデータを取得し、取得したトレースデータを前記外部メモリに転送した後、続いて、第2以降のトレース設定ファイルと第2以降のパラメータファイルに基づいて、それぞれトレースデータの取得と前記外部メモリへの転送を行うように構成したことを特徴とする電動機駆動装置。
An electric motor drive processing unit for controlling the electric motor;
An electric motor state grasping unit for grasping the state of the electric motor;
A trace processing unit for tracing arbitrary data of the electric motor drive processing unit;
A trace setting memory for storing data and conditions to be traced by the trace processing unit;
A trace data storage memory for storing data traced by the trace processing unit;
Removably attached external memory, if the external memory is attached, and generating an external memory attached signal, and an external memory interface for input and output of the external memory and data,
The trace processing unit
Wherein when the connection of the external memory by the receipt of the external memory mounting signal from the external memory interface is detected, the searching from external memory pre Me specified trace configuration file, the type of trace data acquisition and start acquisition It is determined whether or not a trace setting file that describes the conditions to be included is included, and when the trace setting file is included , the trace setting file is read,
When there is a parameter setting command in the read trace setting file, the parameter file is read from the external memory , and various setting items for operating the motor driving device are set in the motor driving device based on the read parameter file. ,
The trace setting file is expanded in the trace setting memory, the trace processing unit is operated in accordance with the contents of the trace setting file, the generated trace data is stored in the trace data storage memory, and the trace data storage memory stores The trace data to be transferred to the external memory,
If the trace setting different contents file and contents different parameters file there are n respectively, based on the first trace configuration files and setting of the first parameter file acquiring trace data, wherein the acquired trace data after transferring to the external memory, subsequently, the characterized in that based on the second and subsequent trace configuration file and the second and subsequent parameter file, respectively configured to perform the transfer of the acquisition of the trace data to the external memory To drive the motor.
請求項1記載の電動機駆動装置において、
検索した結果、予め指定されたトレース設定ファイル及びパラメータファイルが存在しない場合、または、検出したトレース設定ファイル及びパラメータファイルが予め指定した内容と異なるデータ構造の場合、警告を知らせるように構成したことを特徴とする電動機駆動装置。
In the electric motor drive device according to claim 1,
If the trace setting file and parameter file specified in advance do not exist as a result of the search, or if the detected trace setting file and parameter file have a data structure different from the specified content, a warning is configured. An electric motor drive device.
電動機駆動処理部により電動機を駆動制御するとともに、
電動機状態把握部により前記電動機の状態を把握し、
トレース処理部により前記電動機駆動処理部の任意データをトレースし、
トレース設定メモリによって前記トレース処理部がトレースするデータおよび条件を保存し、
トレースデータ保存メモリにより前記トレース処理部がトレースしたデータを保存し
外部メモリが取り付けられると、外部メモリ取り付け信号を発生し、前記外部メモリとデータの入出力を行う外部メモリインターフェイスにより前記外部メモリを取外し可能に取付け、
前記トレース処理部によって、
前記外部メモリインターフェイスからの外部メモリ取り付け信号の受信によって前記外部メモリの接続が検出された際、前記外部メモリから、予め指定されたトレース設定ファイルを検索し、取得するトレースデータの種類と取得開始する条件とを記述したトレース設定ファイルが含まれるか否かを判別し、トレース設定ファイルが含まれる場合に当該トレース設定ファイルを読み込み、
読み込んだトレース設定ファイルにパラメータ設定コマンドがある場合に、前記外部メモリからパラメータファイルを読み込み、当該読み込んだパラメータファイルに基づいて、電動機駆動装置を動作させるための各種設定項目を電動機駆動装置に設定し、
当該トレース設定ファイルを前記トレース設定メモリに展開し、前記トレース設定ファイルの内容に従って前記トレース処理部を作動させ、生成されるトレースデータを前トレースデータ保存メモリに記憶させ、
前記トレースデータ保存メモリが記憶するトレースデータを、前記外部メモリに転送させ
容の相違するトレース設定ファイル及び内容の相違するパラメータファイルがそれぞれn個ある場合、第1のトレース設定ファイルと第1のパラメータファイルの設定に基づいてトレースデータを取得し、取得したトレースデータを前記外部メモリに転送した後、つづいて、第2以降のトレース設定ファイルと第2以降のパラメータファイルに基づいて、それぞれトレースデータの取得と前記外部メモリへの転送を行うことを特徴とする電動機駆動方法。
While controlling the drive of the motor by the motor drive processing unit,
By grasping the state of the motor by the motor state grasping unit,
Trace arbitrary data of the motor drive processing unit by the trace processing unit,
The trace setting memory stores data and conditions to be traced by the trace processing unit,
The trace data storage memory stores the data traced by the trace processing unit ,
When an external memory is mounted, and generates an external memory attached signal, mounted removably said external memory by an external memory interface for input and output of the external memory and data,
By the trace processing unit,
Wherein when the connection of the external memory by the receipt of the external memory mounting signal from the external memory interface is detected, from said external memory, retrieves the pre-specified trace configuration file starts acquiring the type of trace data acquisition It is determined whether or not a trace setting file that describes conditions is included, and if a trace setting file is included , the trace setting file is read,
When there is a parameter setting command in the read trace setting file, the parameter file is read from the external memory, and various setting items for operating the motor driving device are set in the motor driving device based on the read parameter file. ,
Expand the trace configuration file to the trace setting memory, said actuates the trace processing unit according to the content of the trace configuration file, stores the trace data generated before Symbol trace data storage memory,
Trace data which the trace data storage memory is stored, is transferred to the external memory,
If different parameters file trace configuration file and contents having different contents there are n respectively, based on the first trace configuration files and setting of the first parameter file acquiring trace data, the acquired trace data wherein after transferring to the external memory, followed, on the basis of the second and subsequent trace configuration file and the second and subsequent parameter file, respectively the motor and performing the transfer and acquisition of trace data to the external memory drive Method.
請求項3記載の電動機駆動方法において、
検索した結果、予め指定されたトレース設定ファイル及びパラメータファイルが存在しない場合、または、検出したトレース設定ファイル及びパラメータファイルが予め指定した内容と異なるデータ構造の場合、警告を知らせることを特徴とする電動機駆動方法。
In the electric motor drive method according to claim 3,
As a result of the search, if the previously specified trace setting file and parameter file do not exist, or if the detected trace setting file and parameter file have a data structure different from the previously specified content, a warning is notified. Driving method.
JP2006145118A 2006-05-25 2006-05-25 Electric motor driving apparatus and electric motor driving method Expired - Fee Related JP5208377B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2006145118A JP5208377B2 (en) 2006-05-25 2006-05-25 Electric motor driving apparatus and electric motor driving method
DE102006056637A DE102006056637A1 (en) 2006-05-25 2006-11-30 Electric motor control unit e.g. servo amplifier, for e.g. robot manufacturing system, has interface for attachment of external memory unit, where internal data stored in internal memory unit is transferred to attached external memory unit
CNA200610168737XA CN101079589A (en) 2006-05-25 2006-12-19 Electric motor drive device and electric motor drive method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006145118A JP5208377B2 (en) 2006-05-25 2006-05-25 Electric motor driving apparatus and electric motor driving method

Publications (2)

Publication Number Publication Date
JP2007318899A JP2007318899A (en) 2007-12-06
JP5208377B2 true JP5208377B2 (en) 2013-06-12

Family

ID=38622359

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006145118A Expired - Fee Related JP5208377B2 (en) 2006-05-25 2006-05-25 Electric motor driving apparatus and electric motor driving method

Country Status (3)

Country Link
JP (1) JP5208377B2 (en)
CN (1) CN101079589A (en)
DE (1) DE102006056637A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009253897A (en) * 2008-04-10 2009-10-29 Mitsubishi Electric Corp Data measuring instrument
JP5396806B2 (en) * 2008-10-09 2014-01-22 パナソニック株式会社 Servo system
JP5354463B2 (en) * 2009-06-25 2013-11-27 横河電機株式会社 Programmable controller
JP5512051B1 (en) * 2013-04-10 2014-06-04 三菱電機株式会社 Numerical control device, information linkage system, and information linkage program
EP3068038B1 (en) * 2013-11-05 2021-03-10 Kabushiki Kaisha Yaskawa Denki Trace data collection system, controller, motor control device, operation terminal, and trace data collection method
EP3082251B1 (en) * 2013-12-12 2023-06-28 Panasonic Intellectual Property Management Co., Ltd. Motor-driving apparatus
CN107615198B (en) * 2015-05-27 2019-11-08 三菱电机株式会社 Control device and data reproducing device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2853128B2 (en) * 1988-07-08 1999-02-03 オムロン株式会社 Control electronics
JP4688058B2 (en) * 2004-10-13 2011-05-25 株式会社安川電機 Electric motor control device

Also Published As

Publication number Publication date
CN101079589A (en) 2007-11-28
JP2007318899A (en) 2007-12-06
DE102006056637A1 (en) 2007-11-29

Similar Documents

Publication Publication Date Title
JP5208377B2 (en) Electric motor driving apparatus and electric motor driving method
JP6171386B2 (en) Controller, information processing apparatus and program
JP4356634B2 (en) Fault diagnosis circuit, information processing apparatus including the fault diagnosis circuit, fault diagnosis system, and fault diagnosis program
JP2018088177A (en) Information processing device, information processing system, information processing method, and information processing program
JP4973205B2 (en) Information processing apparatus, log acquisition method, and program
CN113672306B (en) Server component self-checking abnormity recovery method, device, system and medium
JP2018194336A (en) Abnormality detector and abnormality detection method
KR101555225B1 (en) Fault prediction and diagnosis apparatus of motor control centers
JP2009098706A (en) Device for supporting analysis of processing history, its system, and its program
JP2018180982A (en) Information processing device and log recording method
WO2023240944A1 (en) Data recovery method and apparatus, electronic device, and storage medium
JP2009135255A (en) Communication logging device and fault analyzing apparatus including the same
JP2008176703A (en) Failure diagnostic system and failure diagnostic program
JP2018010331A (en) Diagnosis device and diagnosis method
CN111865719A (en) Automatic testing method and device for fault injection of switch
KR20170103234A (en) Data logging apparatus
JP6169236B1 (en) Operation status monitoring device
JP6025696B2 (en) Electronics
JP2020197934A (en) Control system, programmable logic controller and information processing method
JP2007096005A (en) Surface mounter
CN114356617B (en) Error injection testing method, device, system and computing equipment
JP2010220302A (en) Protective relay
JP2004192158A (en) Production control system, work history file generating program, work reproducing program, and trouble diagnostic method
JP2006058983A (en) Process data collector
CN111309531A (en) PSU function test monitoring system and method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090213

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110523

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110531

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110720

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20111108

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120206

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20120213

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20120420

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130118

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130220

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160301

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5208377

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees